[MPlayer-dev-eng] /dev/mga_vid detection in configure
Mohammad A. Haque
mhaque at haque.net
Wed Jul 18 03:05:59 CEST 2007
Hello all
Was it intentional to have the configure script force /dev/mga_vid
detection to be forced to yes? This breaks under Darwin/OS X at least.
--begin snippet--
[mhaque at batmobile mplayer-svn]$ svn diff -r 23804:23805
Index: configure
===================================================================
--- configure (revision 23804)
+++ configure (revision 23805)
@@ -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'
--end snippet--
--
=====================================================================
Mohammad A. Haque http://www.haque.net/
mhaque at haque.net
"Alcohol and calculus don't mix.
Don't drink and derive." --Unknown
=====================================================================
More information about the MPlayer-dev-eng
mailing list