From c01293b981fd50798b92ed78e9e38b8cba2f071c Mon Sep 17 00:00:00 2001 From: diego Date: Thu, 3 Aug 2006 23:41:35 +0000 Subject: 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 --- configure | 8 ++++---- 1 file 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 @@ -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 ' -- cgit v1.2.3