changeset 29218:6414b0a2965c

Allow disabling and enabling VCD support through command line parameters.
author diego
date Tue, 05 May 2009 17:15:54 +0000
parents a8c76e85b9e6
children 5c5ce3c8d587
files configure
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Tue May 05 09:08:53 2009 +0000
+++ b/configure	Tue May 05 17:15:54 2009 +0000
@@ -256,6 +256,7 @@
   --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 @@
 _ladspa=auto
 _libbs2b=auto
 _xmms=no
+_vcd=auto
 _dvdnav=auto
 _dvdnavconfig=dvdnav-config
 _dvdreadconfig=dvdread-config
@@ -1024,6 +1026,8 @@
   --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 @@
 
 
 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 @@
 EOF
   cc_check && _vcd=yes
 fi
+fi
 if test "$_vcd" = yes; then
   _inputmodules="vcd $_inputmodules"
   def_vcd='#define CONFIG_VCD 1'