1
mirror of https://github.com/mpv-player/mpv synced 2024-08-04 14:59:58 +02:00

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
This commit is contained in:
diego 2006-08-03 23:41:35 +00:00
parent ab02002f0d
commit c01293b981

8
configure vendored
View File

@ -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 '