Commit 85b3f6b2 authored by Sam Lantinga's avatar Sam Lantinga

Fixed the PS2 GS detection

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%4073
parent 25998f01
......@@ -589,7 +589,7 @@ CheckX11()
CheckPHOTON()
{
AC_ARG_ENABLE(video-photon,
[ --enable-video-photon use QNX Photonvideo driver [default=yes]],
[ --enable-video-photon use QNX Photon video driver [default=yes]],
, enable_video_photon=yes)
if test x$enable_video = xyes -a x$enable_video_photon = xyes; then
AC_MSG_CHECKING(for QNX Photon support)
......@@ -669,12 +669,11 @@ CheckFBCON()
dnl See if we're running on PlayStation 2 hardware
CheckPS2GS()
{
dnl AC_ARG_ENABLE(video-ps2gs,
dnl[ --enable-video-ps2gs use PlayStation 2 GS video driver [default=yes]],
dnl , enable_video_ps2gs=yes)
enable_video_ps2gs=yes
AC_ARG_ENABLE(video-ps2gs,
[ --enable-video-ps2gs use PlayStation 2 GS video driver [default=yes]],
, enable_video_ps2gs=yes)
if test x$enable_video = xyes -a x$enable_video_ps2gs = xyes; then
dnl AC_MSG_CHECKING(for PlayStation 2 GS support)
AC_MSG_CHECKING(for PlayStation 2 GS support)
video_ps2gs=no
AC_TRY_COMPILE([
#include <linux/ps2/dev.h>
......@@ -683,7 +682,7 @@ enable_video_ps2gs=yes
],[
video_ps2gs=yes
])
dnl AC_MSG_RESULT($video_ps2gs)
AC_MSG_RESULT($video_ps2gs)
if test x$video_ps2gs = xyes; then
CFLAGS="$CFLAGS -DENABLE_PS2GS"
VIDEO_SUBDIRS="$VIDEO_SUBDIRS ps2gs"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment