diff configure @ 225:62ec84961b27

vo_fbdev added
author szabii
date Wed, 28 Mar 2001 12:08:44 +0000
parents 26d2d4d3331a
children f62ccacbe1e5
line wrap: on
line diff
--- a/configure	Wed Mar 28 11:44:49 2001 +0000
+++ b/configure	Wed Mar 28 12:08:44 2001 +0000
@@ -82,6 +82,7 @@
         --enable-xv             build with Xv render support for X 4.x [autodetect]
 	--enable-vm		build with XF86VidMode support for x11 driver
         --enable-x11            build with X11 render support [autodetect]
+	--enable-fbdev		build with FBDev render support [_not_ autodetected]
 	--enable-mlib		build with MLIB support ( only Solaris )
 
 	--enable-termcap	use termcap database for key codes
@@ -166,6 +167,7 @@
 _mpg123=no
 _xmga=no
 _dga=no
+_fbdev=no
 _lirc=no
 
 _x=1
@@ -457,6 +459,9 @@
   --enable-syncfb)
         _syncfb=yes
         ;;
+  --enable-fbdev)
+  	_fbdev=yes
+	;;
   --enable-mlib)
 	_mlib=yes
 	;;
@@ -508,6 +513,9 @@
   --disable-dga)
 	_dga=no
 	;;
+  --disable-fbdev)
+  	_fbdev=no
+	;;
   --disable-termcap)
 	_termcap=no
 	;;
@@ -548,6 +556,7 @@
 echo "Checking for X11 ... $_x11"
 echo "Checking for DGA ... $_dga"
 echo "Checking for Xf86VM ... $_vm"
+echo "Checking for FBDev ... $_fbdev"
 # write conf files.
 
 if [ $_gl = yes ]; then
@@ -718,6 +727,13 @@
  _dga='#undef HAVE_DGA'
 fi
 
+if [ $_fbdev = yes ]; then
+ _fbdev='#define HAVE_FBDEV'
+ _vosrc=$_vosrc' vo_fbdev.c'
+else
+ _fbdev='#undef HAVE_FBDEV'
+fi
+
 if [ $_mpg123 = yes ]; then
  _mpg123='#define DEFAULT_MPG123'
 else
@@ -795,6 +811,7 @@
 $_3dfx
 $_mga
 $_syncfb
+$_fbdev
 
 #if defined(HAVE_GL)||defined(HAVE_X11)||defined(HAVE_XV)
 #define X11_FULLSCREEN