summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authoralex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-11-11 04:26:54 +0000
committeralex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-11-11 04:26:54 +0000
commitd9d56477977c945f982936846bf2bf96a83ec05b (patch)
treeacd02e92c23d749ea5be5e13193875c126283dfd /configure
parenta0682037fbaa5017667cd35db47d1ede77da72f9 (diff)
downloadmpv-d9d56477977c945f982936846bf2bf96a83ec05b.tar.bz2
mpv-d9d56477977c945f982936846bf2bf96a83ec05b.tar.xz
added --enable-tv and --disable-tv (default is disabled)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2822 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure19
1 files changed, 19 insertions, 0 deletions
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