Mercurial > sdl-ios-xcode
comparison configure.in @ 4793:cb31d2fdbe61
Add XShape test to configure scripts.
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Tue, 13 Jul 2010 02:43:10 -0400 |
parents | be387681d876 |
children | 7b1d35d98294 |
comparison
equal
deleted
inserted
replaced
4792:aece2b6fb985 | 4793:cb31d2fdbe61 |
---|---|
1114 , enable_video_x11_xinerama=yes) | 1114 , enable_video_x11_xinerama=yes) |
1115 if test x$enable_video_x11_xinerama = xyes; then | 1115 if test x$enable_video_x11_xinerama = xyes; then |
1116 AC_DEFINE(SDL_VIDEO_DRIVER_X11_XINERAMA) | 1116 AC_DEFINE(SDL_VIDEO_DRIVER_X11_XINERAMA) |
1117 SOURCES="$SOURCES $srcdir/src/video/Xext/Xinerama/*.c" | 1117 SOURCES="$SOURCES $srcdir/src/video/Xext/Xinerama/*.c" |
1118 fi | 1118 fi |
1119 AC_ARG_ENABLE(video-x11-xshape, | |
1120 AC_HELP_STRING([--enable-video-x11-xshape], [enable X11 XShape support [[default=yes]]]), | |
1121 , enable_video_x11_xshape=yes) | |
1122 if test x$enable_video_x11_xshape = xyes; then | |
1123 AC_CHECK_HEADER(X11/extensions/shape.h, | |
1124 have_shape_h_hdr=yes, | |
1125 have_shape_h_hdr=no, | |
1126 [#include <X11/Xlib.h> | |
1127 ]) | |
1128 if test x$have_shape_h_hdr = xyes; then | |
1129 AC_DEFINE(SDL_VIDEO_DRIVER_X11_XSHAPE) | |
1130 fi | |
1131 fi | |
1119 AC_ARG_ENABLE(video-x11-xrandr, | 1132 AC_ARG_ENABLE(video-x11-xrandr, |
1120 AC_HELP_STRING([--enable-video-x11-xrandr], [enable X11 Xrandr extension for fullscreen [[default=yes]]]), | 1133 AC_HELP_STRING([--enable-video-x11-xrandr], [enable X11 Xrandr extension for fullscreen [[default=yes]]]), |
1121 , enable_video_x11_xrandr=yes) | 1134 , enable_video_x11_xrandr=yes) |
1122 if test x$enable_video_x11_xrandr = xyes; then | 1135 if test x$enable_video_x11_xrandr = xyes; then |
1123 definitely_enable_video_x11_xrandr=no | 1136 definitely_enable_video_x11_xrandr=no |