[MPlayer-cvslog] r29260 - trunk/configure

diego subversion at mplayerhq.hu
Tue May 5 19:15:54 CEST 2009


Author: diego
Date: Tue May  5 19:15:54 2009
New Revision: 29260

Log:
Allow disabling and enabling VCD support through command line parameters.

Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	Tue May  5 11:08:53 2009	(r29259)
+++ trunk/configure	Tue May  5 19:15:54 2009	(r29260)
@@ -256,6 +256,7 @@ Optional features:
   --enable-smb           enable Samba (SMB) input [autodetect]
   --enable-live          enable LIVE555 Streaming Media [autodetect]
   --enable-nemesi        enable Nemesi Streaming Media [autodetect]
+  --disable-vcd          disable VCD support [autodetect]
   --disable-dvdnav       disable libdvdnav [autodetect]
   --disable-dvdread      disable libdvdread [autodetect]
   --disable-dvdread-internal  disable internal libdvdread [autodetect]
@@ -622,6 +623,7 @@ _faac_lavc=auto
 _ladspa=auto
 _libbs2b=auto
 _xmms=no
+_vcd=auto
 _dvdnav=auto
 _dvdnavconfig=dvdnav-config
 _dvdreadconfig=dvdread-config
@@ -1024,6 +1026,8 @@ for ac_option do
   --disable-libbs2b)	_libbs2b=no	;;
   --enable-xmms)	_xmms=yes	;;
   --disable-xmms)	_xmms=no	;;
+  --enable-vcd)         _vcd=yes        ;;
+  --disable-vcd)        _vcd=no         ;;
   --enable-dvdread)	_dvdread=yes	;;
   --disable-dvdread)	_dvdread=no	;;
   --enable-dvdread-internal)	_dvdread_internal=yes	;;
@@ -5751,6 +5755,7 @@ fi
 
 
 echocheck "VCD support"
+if test "$_vcd" = auto; then
 _vcd=no
 if linux || freebsd || netbsd || openbsd || dragonfly || bsdos || darwin || sunos; then
   _vcd=yes
@@ -5761,6 +5766,7 @@ int main(void) { return 0; }
 EOF
   cc_check && _vcd=yes
 fi
+fi
 if test "$_vcd" = yes; then
   _inputmodules="vcd $_inputmodules"
   def_vcd='#define CONFIG_VCD 1'


More information about the MPlayer-cvslog mailing list