changeset 24655:a5ff078d7471

revert changes r23805, r23819 and r23866 to restore the mga_vid check to the "autodetection" from r2944
author attila
date Sun, 30 Sep 2007 12:07:00 +0000
parents effaeb5f7fde
children ed5edb202ec2
files configure
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Sun Sep 30 11:11:54 2007 +0000
+++ b/configure	Sun Sep 30 12:07:00 2007 +0000
@@ -364,7 +364,7 @@
   --enable-v4l2            enable V4L2 Decoder audio/video output [autodetect]
   --enable-dvb             enable DVB video output [autodetect]
   --enable-dvbhead         enable DVB video output (HEAD version) [autodetect]
-  --enable-mga             enable mga_vid video output [disable]
+  --enable-mga             enable mga_vid video output [autodetect]
   --enable-xmga            enable mga_vid X11 video output [autodetect]
   --enable-xv              enable Xv video output [autodetect]
   --enable-xvmc            enable XvMC acceleration [disable]
@@ -591,7 +591,7 @@
 _nemesi=auto
 _native_rtsp=yes
 _xinerama=auto
-_mga=no
+_mga=auto
 _xmga=auto
 _vm=auto
 _xf86keysym=auto
@@ -4252,10 +4252,10 @@
 fi
 
 
-echocheck "mga_vid"
+echocheck "/dev/mga_vid"
 if test "$_mga" = auto ; then
   _mga=no
-  linux && _mga=yes
+  test -c /dev/mga_vid && _mga=yes
 fi
 if test "$_mga" = yes ; then
   _def_mga='#define HAVE_MGA 1'