1.1 --- a/configure.in Sat Jun 16 06:47:45 2001 +0000
1.2 +++ b/configure.in Tue Jun 19 13:33:54 2001 +0000
1.3 @@ -749,6 +749,37 @@
1.4 fi
1.5 }
1.6
1.7 +dnl Find the VGL includes and libraries
1.8 +CheckVGL()
1.9 +{
1.10 + AC_ARG_ENABLE(video-vgl,
1.11 +[ --enable-video-vgl use VGL video driver [default=no]],
1.12 + , enable_video_vgl=no)
1.13 + if test x$enable_video = xyes -a x$enable_video_vgl = xyes; then
1.14 + AC_MSG_CHECKING(for libVGL support)
1.15 + video_vgl=no
1.16 + AC_TRY_COMPILE([
1.17 + #include <sys/fbio.h>
1.18 + #include <sys/consio.h>
1.19 + #include <sys/kbio.h>
1.20 + #include <vgl.h>
1.21 + ],[
1.22 + VGLBitmap bitmap;
1.23 + exit(bitmap.PyxelBytes);
1.24 + ],[
1.25 + video_vgl=yes
1.26 + ])
1.27 + AC_MSG_RESULT($video_vgl)
1.28 + if test x$video_vgl = xyes; then
1.29 + CFLAGS="$CFLAGS -DENABLE_VGL"
1.30 + SYSTEM_LIBS="$SYSTEM_LIBS -lvgl"
1.31 +
1.32 + VIDEO_SUBDIRS="$VIDEO_SUBDIRS vgl"
1.33 + VIDEO_DRIVERS="$VIDEO_DRIVERS vgl/libvideo_vgl.la"
1.34 + fi
1.35 + fi
1.36 +}
1.37 +
1.38 dnl Find the AAlib includes
1.39 CheckAAlib()
1.40 {
1.41 @@ -1202,6 +1233,7 @@
1.42 CheckX11
1.43 CheckDGA
1.44 CheckSVGA
1.45 + CheckVGL
1.46 CheckAAlib
1.47 CheckOpenGL
1.48 CheckPTHREAD
1.49 @@ -2044,6 +2076,7 @@
1.50 src/video/macrom/Makefile
1.51 src/video/quartz/Makefile
1.52 src/video/svga/Makefile
1.53 +src/video/vgl/Makefile
1.54 src/video/aalib/Makefile
1.55 src/video/wincommon/Makefile
1.56 src/video/windib/Makefile