summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-12-04 20:20:32 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-12-04 20:20:32 +0000
commit84c2a2c9271c2577b77aaa191f5e2f951a1b42da (patch)
tree8d96b2f12e90f5dbf95b4232b89b50d748a232cd /configure
parentdcd4fd96ed7747905036bf4f3436cc7bce64529d (diff)
downloadmpv-84c2a2c9271c2577b77aaa191f5e2f951a1b42da.tar.bz2
mpv-84c2a2c9271c2577b77aaa191f5e2f951a1b42da.tar.xz
Add full support for en-/disabling cddb support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21495 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure16
1 files changed, 15 insertions, 1 deletions
diff --git a/configure b/configure
index 0afb96164e..adc6a45d7f 100755
--- a/configure
+++ b/configure
@@ -248,6 +248,7 @@ Optional features:
--disable-dvdread-internal disable internal libdvdread [autodetect]
--disable-libdvdcss-internal disable internal libdvdcss [autodetect]
--disable-cdparanoia disable cdparanoia [autodetect]
+ --disable-cddb disable cddb [autodetect]
--disable-bitmap-font disable bitmap font support [enable]
--disable-freetype disable FreeType 2 font rendering [autodetect]
--disable-fontconfig disable fontconfig font lookup [autodetect]
@@ -1721,6 +1722,7 @@ _crash_debug=no
_sighandler=yes
_libdv=auto
_cdparanoia=auto
+_cddb=auto
_big_endian=auto
_bitmap_font=yes
_freetype=auto
@@ -2041,6 +2043,8 @@ for ac_option do
--disable-linux-devfs) _linux_devfs=no ;;
--enable-cdparanoia) _cdparanoia=yes ;;
--disable-cdparanoia) _cdparanoia=no ;;
+ --enable-cddb) _cddb=yes ;;
+ --disable-cddb) _cddb=no ;;
--enable-big-endian) _big_endian=yes ;;
--disable-big-endian) _big_endian=no ;;
--enable-bitmap-font) _bitmap_font=yes ;;
@@ -5246,7 +5250,7 @@ if test "$_cdparanoia" = yes ; then
_cdda='yes'
_ld_extra="$_ld_extra -lcdda_interface -lcdda_paranoia"
openbsd && _ld_extra="$_ld_extra -lutil"
- test $_network = yes && not darwin && _cddb=yes
+ test $_cddb = auto && test $_network = yes && not darwin && _cddb=yes
fi
echores "$_cdparanoia"
@@ -5300,6 +5304,15 @@ else
_noinputmodules="cdda $_noinputmodules"
fi
+if test "$_cddb" = yes ; then
+ _def_cddb='#define HAVE_CDDB'
+ _inputmodules="cddb $_inputmodules"
+else
+ _cddb=no
+ _def_cddb='#undef HAVE_CDDB'
+ _noinputmodules="cddb $_noinputmodules"
+fi
+
echocheck "bitmap font support"
if test "$_bitmap_font" = yes ; then
_def_bitmap_font="#define HAVE_BITMAP_FONT 1"
@@ -8130,6 +8143,7 @@ $_def_use_aton
/* enables / disables cdparanoia support */
$_def_cdparanoia
+$_def_cddb
/* enables / disables VIDIX usage */
$_def_vidix