# HG changeset patch # User diego # Date 1184675836 0 # Node ID 593df57c31348051d11da623c02907a0bda0514e # Parent 27fc683b631cac9dc368a3a0b26afc71b42edff9 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. diff -r 27fc683b631c -r 593df57c3134 configure --- a/configure Tue Jul 17 11:16:15 2007 +0000 +++ b/configure Tue Jul 17 12:37:16 2007 +0000 @@ -568,7 +568,7 @@ _real=auto _live=auto _xinerama=auto -_mga=auto +_mga=yes _xmga=auto _vm=auto _xf86keysym=auto @@ -4134,10 +4134,6 @@ echocheck "/dev/mga_vid" -if test "$_mga" = auto ; then - _mga=no - test -c /dev/mga_vid && _mga=yes -fi if test "$_mga" = yes ; then _def_mga='#define HAVE_MGA 1' _vosrc="$_vosrc vo_mga.c" @@ -4304,7 +4300,7 @@ echocheck "FBDev" if test "$_fbdev" = auto ; then _fbdev=no - linux && test -c /dev/fb0 && _fbdev=yes + linux && _fbdev=yes fi if test "$_fbdev" = yes ; then _def_fbdev='#define HAVE_FBDEV 1'