Skip to content
Permalink
Browse files

Fixed the PS2 GS detection

  • Loading branch information
Sam Lantinga committed Jun 16, 2001
1 parent 5391b4d commit ccda8ed6877c9ed2192a710a1cb382f0169c047e

File 1 of 1 in ccda8ed

@@ -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"

0 comments on commit ccda8ed

Please sign in to comment.