summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-08-03 23:41:35 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-08-03 23:41:35 +0000
commitc01293b981fd50798b92ed78e9e38b8cba2f071c (patch)
tree1dc25835f3cd259276cfc6b6d506c21b5ca46349 /configure
parentab02002f0de5d5f823c51ac324fb969818c5d325 (diff)
downloadmpv-c01293b981fd50798b92ed78e9e38b8cba2f071c.tar.bz2
mpv-c01293b981fd50798b92ed78e9e38b8cba2f071c.tar.xz
Run DVB (HEAD) test only when the corresponding variable is set to auto.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19310 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure8
1 files changed, 4 insertions, 4 deletions
diff --git a/configure b/configure
index 9c38aaec57..3e6be82252 100755
--- a/configure
+++ b/configure
@@ -4220,7 +4220,7 @@ echores "$_fbdev"
echocheck "DVB"
-if test "$_dvb" != no ; then
+if test "$_dvb" = auto ; then
_dvb=no
cat >$TMPC << EOF
#include <sys/poll.h>
@@ -4257,9 +4257,9 @@ if test "$_dvb" = yes ; then
_aomodules="mpegpes(dvb) $_aomodules"
_vomodules="mpegpes(dvb) $_vomodules"
fi
-if test "$_dvbhead" != no ; then
+
echocheck "DVB HEAD"
- if test "$_dvbhead" != no ; then
+ if test "$_dvbhead" = auto ; then
_dvbhead=no
cat >$TMPC << EOF
@@ -4296,7 +4296,7 @@ EOF
_aomodules="mpegpes(dvb) $_aomodules"
_vomodules="mpegpes(dvb) $_vomodules"
fi
-fi
+
if test "$_dvbhead" = no && test "$_dvb" = no ; then
_def_dvb='#undef HAVE_DVB'
_def_dvb_in='#undef HAS_DVBIN_SUPPORT '