From d9d56477977c945f982936846bf2bf96a83ec05b Mon Sep 17 00:00:00 2001 From: alex Date: Sun, 11 Nov 2001 04:26:54 +0000 Subject: added --enable-tv and --disable-tv (default is disabled) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2822 b3059339-0415-0410-9bf9-f77b7e298cf2 --- configure | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/configure b/configure index 34fd579473..63c0761751 100755 --- a/configure +++ b/configure @@ -168,6 +168,7 @@ Optional features: --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 @@ _select='#define HAVE_AUDIO_SELECT' _gui=no +_tv=no + _alsa=yes _esd=yes _mad=yes @@ -1414,6 +1417,9 @@ for ac_option do --enable-gui) _gui=yes ;; + --enable-tv) + _tv=yes + ;; --enable-streaming) _streaming=yes ;; @@ -1536,6 +1542,9 @@ for ac_option do --disable-gui) _gui=no ;; + --disable-tv) + _tv=no + ;; --disable-alsa) _alsaver='notfound' _alsa=no @@ -1855,6 +1864,7 @@ echo "Checking for libavcodec ... $_libavcodec" 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 @@ else _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 @@ $_sgiaudio #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 -- cgit v1.2.3