configure.in
changeset 5047 edaf3e364a05
parent 5045 1cee937d9fcc
child 5048 187d7d446306
equal deleted inserted replaced
5046:4cb778067834 5047:edaf3e364a05
  1584     AC_MSG_CHECKING([for PlayStation 3 Cell support])
  1584     AC_MSG_CHECKING([for PlayStation 3 Cell support])
  1585     AC_MSG_RESULT([$video_ps3])
  1585     AC_MSG_RESULT([$video_ps3])
  1586   fi
  1586   fi
  1587 }
  1587 }
  1588 
  1588 
  1589 dnl Find the SVGAlib includes and libraries
       
  1590 CheckSVGA()
       
  1591 {
       
  1592     AC_ARG_ENABLE(video-svga,
       
  1593 AC_HELP_STRING([--enable-video-svga], [use SVGAlib video driver [[default=no]]]),
       
  1594                   , enable_video_svga=no)
       
  1595     if test x$enable_video = xyes -a x$enable_video_svga = xyes; then
       
  1596         AC_MSG_CHECKING(for SVGAlib (1.4.0+) support)
       
  1597         video_svga=no
       
  1598         AC_TRY_COMPILE([
       
  1599          #include <vga.h>
       
  1600          #include <vgamouse.h>
       
  1601          #include <vgakeyboard.h>
       
  1602         ],[
       
  1603          if ( SCANCODE_RIGHTWIN && SCANCODE_LEFTWIN ) {
       
  1604              exit(0);
       
  1605          }
       
  1606         ],[
       
  1607         video_svga=yes
       
  1608         ])
       
  1609         AC_MSG_RESULT($video_svga)
       
  1610         if test x$video_svga = xyes; then
       
  1611             AC_DEFINE(SDL_VIDEO_DRIVER_SVGALIB)
       
  1612             SOURCES="$SOURCES $srcdir/src/video/svga/*.c"
       
  1613             EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lvga"
       
  1614             have_video=yes
       
  1615         fi
       
  1616     fi
       
  1617 }
       
  1618 
       
  1619 dnl rcg04172001 Set up the Null video driver.
  1589 dnl rcg04172001 Set up the Null video driver.
  1620 CheckDummyVideo()
  1590 CheckDummyVideo()
  1621 {
  1591 {
  1622     AC_ARG_ENABLE(video-dummy,
  1592     AC_ARG_ENABLE(video-dummy,
  1623 AC_HELP_STRING([--enable-video-dummy], [use dummy video driver [[default=yes]]]),
  1593 AC_HELP_STRING([--enable-video-dummy], [use dummy video driver [[default=yes]]]),
  2274         CheckNAS
  2244         CheckNAS
  2275         CheckX11
  2245         CheckX11
  2276         CheckDirectFB
  2246         CheckDirectFB
  2277         CheckFusionSound
  2247         CheckFusionSound
  2278         CheckPS3
  2248         CheckPS3
  2279         CheckSVGA
       
  2280         CheckOpenGLX11
  2249         CheckOpenGLX11
  2281         CheckInputEvents
  2250         CheckInputEvents
  2282         CheckTslib
  2251         CheckTslib
  2283         CheckUSBHID
  2252         CheckUSBHID
  2284         CheckPTHREAD
  2253         CheckPTHREAD