comparison configure @ 23785:593df57c3134

Do not test for the existence of device files during configuration, it fails for packagers, crosscompilers or other cases where the binaries are built on a machine different from the one they are run on.
author diego
date Tue, 17 Jul 2007 12:37:16 +0000
parents 27fc683b631c
children 66eb20267b81
comparison
equal deleted inserted replaced
23784:27fc683b631c 23785:593df57c3134
566 _libdvdcss_internal=auto 566 _libdvdcss_internal=auto
567 _xanim=auto 567 _xanim=auto
568 _real=auto 568 _real=auto
569 _live=auto 569 _live=auto
570 _xinerama=auto 570 _xinerama=auto
571 _mga=auto 571 _mga=yes
572 _xmga=auto 572 _xmga=auto
573 _vm=auto 573 _vm=auto
574 _xf86keysym=auto 574 _xf86keysym=auto
575 _mlib=no #broken, thus disabled 575 _mlib=no #broken, thus disabled
576 _sgiaudio=auto 576 _sgiaudio=auto
4132 _novomodules="xvidix $_novomodules" 4132 _novomodules="xvidix $_novomodules"
4133 fi 4133 fi
4134 4134
4135 4135
4136 echocheck "/dev/mga_vid" 4136 echocheck "/dev/mga_vid"
4137 if test "$_mga" = auto ; then
4138 _mga=no
4139 test -c /dev/mga_vid && _mga=yes
4140 fi
4141 if test "$_mga" = yes ; then 4137 if test "$_mga" = yes ; then
4142 _def_mga='#define HAVE_MGA 1' 4138 _def_mga='#define HAVE_MGA 1'
4143 _vosrc="$_vosrc vo_mga.c" 4139 _vosrc="$_vosrc vo_mga.c"
4144 _vomodules="mga $_vomodules" 4140 _vomodules="mga $_vomodules"
4145 else 4141 else
4302 4298
4303 4299
4304 echocheck "FBDev" 4300 echocheck "FBDev"
4305 if test "$_fbdev" = auto ; then 4301 if test "$_fbdev" = auto ; then
4306 _fbdev=no 4302 _fbdev=no
4307 linux && test -c /dev/fb0 && _fbdev=yes 4303 linux && _fbdev=yes
4308 fi 4304 fi
4309 if test "$_fbdev" = yes ; then 4305 if test "$_fbdev" = yes ; then
4310 _def_fbdev='#define HAVE_FBDEV 1' 4306 _def_fbdev='#define HAVE_FBDEV 1'
4311 _vosrc="$_vosrc vo_fbdev.c vo_fbdev2.c" 4307 _vosrc="$_vosrc vo_fbdev.c vo_fbdev2.c"
4312 _vomodules="fbdev $_vomodules" 4308 _vomodules="fbdev $_vomodules"