configure.in
changeset 2793 b14f672b2857
parent 2775 6d7baec32718
child 2810 27cb878a278e
equal deleted inserted replaced
2792:c2d9b1aff59f 2793:b14f672b2857
  1321 
  1321 
  1322 dnl See if we're running on PlayStation 2 hardware
  1322 dnl See if we're running on PlayStation 2 hardware
  1323 CheckPS2GS()
  1323 CheckPS2GS()
  1324 {
  1324 {
  1325     AC_ARG_ENABLE(video-ps2gs,
  1325     AC_ARG_ENABLE(video-ps2gs,
  1326 AC_HELP_STRING([--enable-video-ps2gs], [use PlayStation 2 GS video driver [[default=yes]]]),
  1326 AC_HELP_STRING([--enable-video-ps2gs], [use PlayStation 2 GS video driver [[default=no]]]),
  1327                   , enable_video_ps2gs=yes)
  1327                   , enable_video_ps2gs=no)
  1328     if test x$enable_video = xyes -a x$enable_video_ps2gs = xyes; then
  1328     if test x$enable_video = xyes -a x$enable_video_ps2gs = xyes; then
  1329         AC_MSG_CHECKING(for PlayStation 2 GS support)
  1329         AC_MSG_CHECKING(for PlayStation 2 GS support)
  1330         video_ps2gs=no
  1330         video_ps2gs=no
  1331         AC_TRY_COMPILE([
  1331         AC_TRY_COMPILE([
  1332          #include <linux/ps2/dev.h>
  1332          #include <linux/ps2/dev.h>
  1346 
  1346 
  1347 dnl Find the SVGAlib includes and libraries
  1347 dnl Find the SVGAlib includes and libraries
  1348 CheckSVGA()
  1348 CheckSVGA()
  1349 {
  1349 {
  1350     AC_ARG_ENABLE(video-svga,
  1350     AC_ARG_ENABLE(video-svga,
  1351 AC_HELP_STRING([--enable-video-svga], [use SVGAlib video driver [[default=yes]]]),
  1351 AC_HELP_STRING([--enable-video-svga], [use SVGAlib video driver [[default=no]]]),
  1352                   , enable_video_svga=yes)
  1352                   , enable_video_svga=no)
  1353     if test x$enable_video = xyes -a x$enable_video_svga = xyes; then
  1353     if test x$enable_video = xyes -a x$enable_video_svga = xyes; then
  1354         AC_MSG_CHECKING(for SVGAlib (1.4.0+) support)
  1354         AC_MSG_CHECKING(for SVGAlib (1.4.0+) support)
  1355         video_svga=no
  1355         video_svga=no
  1356         AC_TRY_COMPILE([
  1356         AC_TRY_COMPILE([
  1357          #include <vga.h>
  1357          #include <vga.h>
  1376 
  1376 
  1377 dnl Find the VGL includes and libraries
  1377 dnl Find the VGL includes and libraries
  1378 CheckVGL()
  1378 CheckVGL()
  1379 {
  1379 {
  1380     AC_ARG_ENABLE(video-vgl,
  1380     AC_ARG_ENABLE(video-vgl,
  1381 AC_HELP_STRING([--enable-video-vgl], [use VGL video driver [[default=yes]]]),
  1381 AC_HELP_STRING([--enable-video-vgl], [use VGL video driver [[default=no]]]),
  1382                   , enable_video_vgl=yes)
  1382                   , enable_video_vgl=no)
  1383     if test x$enable_video = xyes -a x$enable_video_vgl = xyes; then
  1383     if test x$enable_video = xyes -a x$enable_video_vgl = xyes; then
  1384         AC_MSG_CHECKING(for libVGL support)
  1384         AC_MSG_CHECKING(for libVGL support)
  1385         video_vgl=no
  1385         video_vgl=no
  1386         AC_TRY_COMPILE([
  1386         AC_TRY_COMPILE([
  1387          #include <sys/fbio.h>
  1387          #include <sys/fbio.h>
  1408 
  1408 
  1409 dnl Set up the wscons video driver if enabled
  1409 dnl Set up the wscons video driver if enabled
  1410 CheckWscons()
  1410 CheckWscons()
  1411 {
  1411 {
  1412     AC_ARG_ENABLE(video-wscons,
  1412     AC_ARG_ENABLE(video-wscons,
  1413 AC_HELP_STRING([--enable-video-wscons], [use wscons video driver [[default=yes]]]),
  1413 AC_HELP_STRING([--enable-video-wscons], [use wscons video driver [[default=no]]]),
  1414                   , enable_video_wscons=yes)
  1414                   , enable_video_wscons=no)
  1415     if test x$enable_video = xyes -a x$enable_video_wscons = xyes; then
  1415     if test x$enable_video = xyes -a x$enable_video_wscons = xyes; then
  1416         AC_MSG_CHECKING(for wscons support)
  1416         AC_MSG_CHECKING(for wscons support)
  1417         video_wscons=no
  1417         video_wscons=no
  1418         AC_TRY_COMPILE([
  1418         AC_TRY_COMPILE([
  1419          #include <sys/time.h>
  1419          #include <sys/time.h>