summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-10-29 11:38:14 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-10-29 11:38:14 +0000
commit7006b27bb854457187532b7e69d5a351aeb97176 (patch)
tree53cf868f08261cbf3c91f736464dd1b1589f045a /configure
parent3675d0466d76c34311d4a70f2ea584e496868199 (diff)
downloadmpv-7006b27bb854457187532b7e69d5a351aeb97176.tar.bz2
mpv-7006b27bb854457187532b7e69d5a351aeb97176.tar.xz
Factor out common cdda stuff from cdio and cdparanoia tests.
Also fixes configure showing cdda as both en- and disabled with libcdio. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20507 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure14
1 files changed, 7 insertions, 7 deletions
diff --git a/configure b/configure
index 98c5722d9b..dcabbb7b46 100755
--- a/configure
+++ b/configure
@@ -5286,13 +5286,8 @@ EOF
fi
if test "$_cdparanoia" = yes ; then
_cdda='yes'
- _def_cdparanoia='#define HAVE_CDDA'
- _inputmodules="cdda $_inputmodules"
_ld_cdparanoia="$_ld_cdparanoia -lcdda_interface -lcdda_paranoia"
openbsd && _ld_cdparanoia="$_ld_cdparanoia -lutil"
-else
- _def_cdparanoia='#undef HAVE_CDDA'
- _noinputmodules="cdda $_noinputmodules"
fi
echores "$_cdparanoia"
@@ -5324,9 +5319,7 @@ fi
if test "$_libcdio" = yes && test "$_cdparanoia" = no ; then
_cdda='yes'
_def_libcdio='#define HAVE_LIBCDIO'
- _def_cdparanoia='#define HAVE_CDDA'
_def_havelibcdio='yes'
- _inputmodules="cdda $_inputmodules"
_inc_extra="$_inc_extra `pkg-config --cflags libcdio`"
_ld_libcdio=`pkg-config --libs libcdio_paranoia`
else
@@ -5338,6 +5331,13 @@ else
fi
echores "$_libcdio"
+if test "$_cdda" = yes ; then
+ _def_cdparanoia='#define HAVE_CDDA'
+ _inputmodules="cdda $_inputmodules"
+else
+ _def_cdparanoia='#undef HAVE_CDDA'
+ _noinputmodules="cdda $_noinputmodules"
+fi
echocheck "bitmap font support"
if test "$_bitmap_font" = yes ; then