diff configure @ 19304:74b228b3dcb1

Run DVB (HEAD) test only when the corresponding variable is set to auto.
author diego
date Thu, 03 Aug 2006 23:41:35 +0000
parents 81d2524ae843
children ec0eb7a62cbd
line wrap: on
line diff
--- a/configure	Thu Aug 03 22:18:21 2006 +0000
+++ b/configure	Thu Aug 03 23:41:35 2006 +0000
@@ -4220,7 +4220,7 @@
 
 
 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 @@
   _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 @@
     _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 '