Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Fixed the PS2 GS detection
- Loading branch information
Showing
with
6 additions
and
7 deletions.
-
+6
−7
configure.in
|
@@ -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" |
|
|