changeset 2821:7f2acef8a3b2

added --enable-tv and --disable-tv (default is disabled)
author alex
date Sun, 11 Nov 2001 04:26:54 +0000
parents 30756e47846a
children 7679d983c52f
files configure
diffstat 1 files changed, 19 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Sun Nov 11 03:58:46 2001 +0000
+++ b/configure	Sun Nov 11 04:26:54 2001 +0000
@@ -168,6 +168,7 @@
   --enable-xmmp          use XMMP audio drivers [disable]
   --enable-lirc          enable LIRC (remote control) support [disable]
   --enable-gui           enable GUI [disable]
+  --enable-tv            enable TV Interface (tv/dvb grabbers) [disable]
   --disable-win32        disable Win32 DLL support [autodetect]
   --disable-dshow        disable DirectShow support (if no C++ compiler and
                          libs are available or find the dshow codecs slower 
@@ -612,6 +613,8 @@
 
 _gui=no
 
+_tv=no
+
 _alsa=yes
 _esd=yes
 _mad=yes
@@ -1414,6 +1417,9 @@
   --enable-gui)
   	_gui=yes
 	;;
+  --enable-tv)
+	_tv=yes
+	;;
   --enable-streaming)
   	_streaming=yes
 	;;
@@ -1536,6 +1542,9 @@
   --disable-gui)
   	_gui=no
 	;;
+  --disable-tv)
+	_tv=no
+	;;
   --disable-alsa)
 	_alsaver='notfound'
         _alsa=no
@@ -1855,6 +1864,7 @@
 echo "Checking for libffmpeg.so ... $_libavcodec_so"
 echo "Checking for divx4linux ... $_divx4linux"
 echo "Checking for fastmemcpy ... $_fastmemcpy"
+echo "Checking for TV Interface ... $_tv"
 echo "Extra libs : $_extralibdir"
 echo "Extra headers : $_extraincdir"
 # write conf files.
@@ -2448,6 +2458,12 @@
  _have_dvb='#undef HAVE_DVB'
 fi
 
+if test "$_tv" = yes ; then
+ _tv='#define USE_TV'
+else
+ _tv='#undef USE_TV'
+fi
+
 if test "$_dxr3" = yes ; then
  _dxr3='#define HAVE_DXR3'
  _dxr3lib='-ldxr3'
@@ -2696,6 +2712,9 @@
 #undef FAST_OSD
 #undef FAST_OSD_TABLE
 
+/* Enable TV Interface support */
+$_tv
+
 /* Define if your processor stores words with the most significant
    byte first (like Motorola and SPARC, unlike Intel and VAX).  */
 $_words_endian