Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

This allows playbook to be recognized by autoconf.

  • Loading branch information...
commit cbf7da6a54cf4d73f35ea8f215c3ee113a51f959 1 parent c2d1c5a
Anthony Hu authored Anthony Hu committed
Showing with 15 additions and 0 deletions.
  1. +14 −0 configure.in
  2. +1 −0  include/SDL_config.h.in
View
14 configure.in
@@ -1137,6 +1137,19 @@ AC_HELP_STRING([--enable-video-photon], [use QNX Photon video driver [[default=y
fi
}
+dnl Set up the Playbook video driver if enabled
+CheckPLAYBOOK()
+{
+ AC_ARG_ENABLE(video-playbook,
+AC_HELP_STRING([--enable-video-playbook], [use playbook video driver [[default=yes]]]),
+ , enable_video_playbook=yes)
+ if test x$enable_video_playbook = xyes; then
+ AC_DEFINE(SDL_VIDEO_DRIVER_PLAYBOOK)
+ SOURCES="$SOURCES $srcdir/src/video/playbook/*.c"
+ have_video=yes
+ fi
+}
+
dnl Set up the BWindow video driver if enabled
CheckBWINDOW()
{
@@ -2430,6 +2443,7 @@ case "$host" in
CheckDLOPEN
CheckNAS
CheckPHOTON
+ CheckPLAYBOOK
CheckX11
CheckOpenGLX11
CheckPTHREAD
View
1  include/SDL_config.h.in
@@ -268,6 +268,7 @@
#undef SDL_VIDEO_DRIVER_NANOX
#undef SDL_VIDEO_DRIVER_OS2FS
#undef SDL_VIDEO_DRIVER_PHOTON
+#undef SDL_VIDEO_DRIVER_PLAYBOOK
#undef SDL_VIDEO_DRIVER_PICOGUI
#undef SDL_VIDEO_DRIVER_PS2GS
#undef SDL_VIDEO_DRIVER_PS3
Please sign in to comment.
Something went wrong with that request. Please try again.