configure.in
changeset 75 b0ae59d0f3ee
parent 72 4210b3e74800
child 76 f28fa29a3a0c
equal deleted inserted replaced
74:6e28dae59e3b 75:b0ae59d0f3ee
   747             VIDEO_DRIVERS="$VIDEO_DRIVERS svga/libvideo_svga.la"
   747             VIDEO_DRIVERS="$VIDEO_DRIVERS svga/libvideo_svga.la"
   748         fi
   748         fi
   749     fi
   749     fi
   750 }
   750 }
   751 
   751 
       
   752 dnl Find the VGL includes and libraries
       
   753 CheckVGL()
       
   754 {
       
   755     AC_ARG_ENABLE(video-vgl,
       
   756 [  --enable-video-vgl     use VGL video driver [default=no]],
       
   757                   , enable_video_vgl=no)
       
   758     if test x$enable_video = xyes -a x$enable_video_vgl = xyes; then
       
   759         AC_MSG_CHECKING(for libVGL support)
       
   760         video_vgl=no
       
   761         AC_TRY_COMPILE([
       
   762          #include <sys/fbio.h>
       
   763          #include <sys/consio.h>
       
   764          #include <sys/kbio.h>
       
   765          #include <vgl.h>
       
   766         ],[
       
   767          VGLBitmap bitmap;
       
   768          exit(bitmap.PyxelBytes);
       
   769         ],[
       
   770         video_vgl=yes
       
   771         ])
       
   772         AC_MSG_RESULT($video_vgl)
       
   773         if test x$video_vgl = xyes; then
       
   774             CFLAGS="$CFLAGS -DENABLE_VGL"
       
   775             SYSTEM_LIBS="$SYSTEM_LIBS -lvgl"
       
   776 
       
   777             VIDEO_SUBDIRS="$VIDEO_SUBDIRS vgl"
       
   778             VIDEO_DRIVERS="$VIDEO_DRIVERS vgl/libvideo_vgl.la"
       
   779         fi
       
   780     fi
       
   781 }
       
   782 
   752 dnl Find the AAlib includes
   783 dnl Find the AAlib includes
   753 CheckAAlib()
   784 CheckAAlib()
   754 {
   785 {
   755     AC_ARG_ENABLE(video-aalib,
   786     AC_ARG_ENABLE(video-aalib,
   756 [  --enable-video-aalib    use AAlib video driver [default=no]],
   787 [  --enable-video-aalib    use AAlib video driver [default=no]],
  1200         CheckESD
  1231         CheckESD
  1201         CheckNAS
  1232         CheckNAS
  1202         CheckX11
  1233         CheckX11
  1203         CheckDGA
  1234         CheckDGA
  1204         CheckSVGA
  1235         CheckSVGA
       
  1236         CheckVGL
  1205         CheckAAlib
  1237         CheckAAlib
  1206         CheckOpenGL
  1238         CheckOpenGL
  1207         CheckPTHREAD
  1239         CheckPTHREAD
  1208         # Set up files for the main() stub
  1240         # Set up files for the main() stub
  1209         COPY_ARCH_SRC(src/main, linux, SDL_main.c)
  1241         COPY_ARCH_SRC(src/main, linux, SDL_main.c)
  2042 src/video/maccommon/Makefile
  2074 src/video/maccommon/Makefile
  2043 src/video/macdsp/Makefile
  2075 src/video/macdsp/Makefile
  2044 src/video/macrom/Makefile
  2076 src/video/macrom/Makefile
  2045 src/video/quartz/Makefile
  2077 src/video/quartz/Makefile
  2046 src/video/svga/Makefile
  2078 src/video/svga/Makefile
       
  2079 src/video/vgl/Makefile
  2047 src/video/aalib/Makefile
  2080 src/video/aalib/Makefile
  2048 src/video/wincommon/Makefile
  2081 src/video/wincommon/Makefile
  2049 src/video/windib/Makefile
  2082 src/video/windib/Makefile
  2050 src/video/windx5/Makefile
  2083 src/video/windx5/Makefile
  2051 src/video/bwindow/Makefile
  2084 src/video/bwindow/Makefile