Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixed the PS2 GS detection
  • Loading branch information
Sam Lantinga committed Jun 16, 2001
1 parent 5391b4d commit ccda8ed
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions configure.in
Expand Up @@ -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)
Expand Down Expand Up @@ -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>
Expand All @@ -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"
Expand Down

0 comments on commit ccda8ed

Please sign in to comment.