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]]]), |