changeset 4560:aa349785b8d3

made vesa support optional at compiletime
author rfelker
date Thu, 07 Feb 2002 02:21:39 +0000
parents 5dc383bb1c82
children b3b2fc48b045
files configure
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Thu Feb 07 02:07:29 2002 +0000
+++ b/configure	Thu Feb 07 02:21:39 2002 +0000
@@ -139,6 +139,7 @@
 Video:
   --enable-gl            build with OpenGL render support [autodetect]
   --enable-dga[=n]       build with DGA [n in {1, 2} ] support [autodetect]
+  --enable-vesa          build with VESA support [autodetect]
   --enable-svga          build with SVGAlib support [autodetect]
   --enable-sdl           build with SDL render support [autodetect]
   --enable-aa            build with AAlib render support [autodetect]
@@ -719,6 +720,7 @@
 _ggi=auto
 _aa=auto
 _svga=auto
+_vesa=auto
 _fbdev=auto
 _fbdev_nocopy=no
 _dvb=auto
@@ -799,6 +801,8 @@
   --disable-aa)		_aa=no		;;
   --enable-svga)	_svga=yes	;;
   --disable-svga)	_svga=no	;;
+  --enable-vesa)	_vesa=yes	;;
+  --disable-vesa)	_vesa=no	;;
   --enable-fbdev)	_fbdev=yes	;;
   --enable-fbdev=nocopy) _fbdev=yes; _fbdev_nocopy=yes	;;
   --disable-fbdev)	_fbdev=no	;;
@@ -1921,6 +1925,7 @@
 fi
 
 
+if test "$_vesa" != no ; then
 echocheck "VESA support"
 if x86 && linux ; then
   _vosrc="$_vosrc vo_vesa.c vesa_lvo.c"
@@ -1929,6 +1934,7 @@
 else
   echores "no (not supported on this OS/architecture)"
 fi
+fi
 
 
 #################