# HG changeset patch # User diego # Date 1154648495 0 # Node ID 74b228b3dcb1df4ca42f559f037d0bff7e061754 # Parent d9e836da50931771608afcfec772dd9d3582debf Run DVB (HEAD) test only when the corresponding variable is set to auto. diff -r d9e836da5093 -r 74b228b3dcb1 configure --- 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 @@ -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 '