configure.in
changeset 1944 91f41fc124a7
parent 1942 4371d679ee12
child 1945 3182150b470f
equal deleted inserted replaced
1943:7d642361ef0f 1944:91f41fc124a7
  1266             have_video=yes
  1266             have_video=yes
  1267         fi
  1267         fi
  1268     fi
  1268     fi
  1269 }
  1269 }
  1270 
  1270 
  1271 
       
  1272 dnl Find the AAlib includes
       
  1273 CheckAAlib()
       
  1274 {
       
  1275     AC_ARG_ENABLE(video-aalib,
       
  1276 AC_HELP_STRING([--enable-video-aalib], [use AAlib video driver [[default=no]]]),
       
  1277                   , enable_video_aalib=no)
       
  1278     if test x$enable_video = xyes -a x$enable_video_aalib = xyes; then
       
  1279         AC_MSG_CHECKING(for AAlib support)
       
  1280         video_aalib=no
       
  1281         AC_TRY_COMPILE([
       
  1282          #include <aalib.h>
       
  1283         ],[
       
  1284         ],[
       
  1285         video_aalib=yes
       
  1286         ])
       
  1287         AC_MSG_RESULT($video_aalib)
       
  1288         if test x$video_aalib = xyes; then
       
  1289             AC_DEFINE(SDL_VIDEO_DRIVER_AALIB)
       
  1290             SOURCES="$SOURCES $srcdir/src/video/aalib/*.c"
       
  1291             EXTRA_LDFLAGS="$EXTRA_LDFLAGS -laa"
       
  1292             have_video=yes
       
  1293         fi
       
  1294     fi
       
  1295 }
       
  1296 
       
  1297 dnl Set up the QTopia video driver if enabled
  1271 dnl Set up the QTopia video driver if enabled
  1298 CheckQtopia()
  1272 CheckQtopia()
  1299 {
  1273 {
  1300     AC_ARG_ENABLE(video-qtopia,
  1274     AC_ARG_ENABLE(video-qtopia,
  1301 AC_HELP_STRING([--enable-video-qtopia], [use Qtopia video driver [[default=no]]]),
  1275 AC_HELP_STRING([--enable-video-qtopia], [use Qtopia video driver [[default=no]]]),
  2086         CheckPS2GS
  2060         CheckPS2GS
  2087         CheckGGI
  2061         CheckGGI
  2088         CheckSVGA
  2062         CheckSVGA
  2089         CheckVGL
  2063         CheckVGL
  2090         CheckWscons
  2064         CheckWscons
  2091         CheckAAlib
       
  2092         CheckQtopia
  2065         CheckQtopia
  2093         CheckPicoGUI
  2066         CheckPicoGUI
  2094         CheckOpenGLX11
  2067         CheckOpenGLX11
  2095         CheckInputEvents
  2068         CheckInputEvents
  2096         CheckTslib
  2069         CheckTslib