comparison 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
comparison
equal deleted inserted replaced
19303:d9e836da5093 19304:74b228b3dcb1
4218 echores "$_fbdev" 4218 echores "$_fbdev"
4219 4219
4220 4220
4221 4221
4222 echocheck "DVB" 4222 echocheck "DVB"
4223 if test "$_dvb" != no ; then 4223 if test "$_dvb" = auto ; then
4224 _dvb=no 4224 _dvb=no
4225 cat >$TMPC << EOF 4225 cat >$TMPC << EOF
4226 #include <sys/poll.h> 4226 #include <sys/poll.h>
4227 #include <sys/ioctl.h> 4227 #include <sys/ioctl.h>
4228 #include <stdio.h> 4228 #include <stdio.h>
4255 _def_dvb='#define HAVE_DVB 1' 4255 _def_dvb='#define HAVE_DVB 1'
4256 _def_dvb_in='#define HAS_DVBIN_SUPPORT 1' 4256 _def_dvb_in='#define HAS_DVBIN_SUPPORT 1'
4257 _aomodules="mpegpes(dvb) $_aomodules" 4257 _aomodules="mpegpes(dvb) $_aomodules"
4258 _vomodules="mpegpes(dvb) $_vomodules" 4258 _vomodules="mpegpes(dvb) $_vomodules"
4259 fi 4259 fi
4260 if test "$_dvbhead" != no ; then 4260
4261 echocheck "DVB HEAD" 4261 echocheck "DVB HEAD"
4262 if test "$_dvbhead" != no ; then 4262 if test "$_dvbhead" = auto ; then
4263 _dvbhead=no 4263 _dvbhead=no
4264 4264
4265 cat >$TMPC << EOF 4265 cat >$TMPC << EOF
4266 #include <sys/poll.h> 4266 #include <sys/poll.h>
4267 #include <sys/ioctl.h> 4267 #include <sys/ioctl.h>
4294 _def_dvb='#define HAVE_DVB_HEAD 1' 4294 _def_dvb='#define HAVE_DVB_HEAD 1'
4295 _def_dvb_in='#define HAS_DVBIN_SUPPORT 1' 4295 _def_dvb_in='#define HAS_DVBIN_SUPPORT 1'
4296 _aomodules="mpegpes(dvb) $_aomodules" 4296 _aomodules="mpegpes(dvb) $_aomodules"
4297 _vomodules="mpegpes(dvb) $_vomodules" 4297 _vomodules="mpegpes(dvb) $_vomodules"
4298 fi 4298 fi
4299 fi 4299
4300 if test "$_dvbhead" = no && test "$_dvb" = no ; then 4300 if test "$_dvbhead" = no && test "$_dvb" = no ; then
4301 _def_dvb='#undef HAVE_DVB' 4301 _def_dvb='#undef HAVE_DVB'
4302 _def_dvb_in='#undef HAS_DVBIN_SUPPORT ' 4302 _def_dvb_in='#undef HAS_DVBIN_SUPPORT '
4303 _aomodules="mpegpes(file) $_aomodules" 4303 _aomodules="mpegpes(file) $_aomodules"
4304 _vomodules="mpegpes(file) $_vomodules" 4304 _vomodules="mpegpes(file) $_vomodules"