configure.in
changeset 4862 7b1d35d98294
parent 4694 c24ba2cc9583
parent 4793 cb31d2fdbe61
child 4870 d275c95ddc05
     1.1 --- a/configure.in	Sun Aug 22 12:39:56 2010 -0700
     1.2 +++ b/configure.in	Sun Aug 22 13:45:56 2010 -0700
     1.3 @@ -1122,6 +1122,19 @@
     1.4                  AC_DEFINE(SDL_VIDEO_DRIVER_X11_XINERAMA)
     1.5                  SOURCES="$SOURCES $srcdir/src/video/Xext/Xinerama/*.c"
     1.6              fi
     1.7 +            AC_ARG_ENABLE(video-x11-xshape,
     1.8 +AC_HELP_STRING([--enable-video-x11-xshape], [enable X11 XShape support [[default=yes]]]),
     1.9 +                            , enable_video_x11_xshape=yes)
    1.10 +            if test x$enable_video_x11_xshape = xyes; then
    1.11 +                AC_CHECK_HEADER(X11/extensions/shape.h,
    1.12 +                                have_shape_h_hdr=yes,
    1.13 +                                have_shape_h_hdr=no,
    1.14 +                                [#include <X11/Xlib.h>
    1.15 +                                ])
    1.16 +                if test x$have_shape_h_hdr = xyes; then
    1.17 +                    AC_DEFINE(SDL_VIDEO_DRIVER_X11_XSHAPE)
    1.18 +                fi
    1.19 +            fi
    1.20              AC_ARG_ENABLE(video-x11-xrandr,
    1.21  AC_HELP_STRING([--enable-video-x11-xrandr], [enable X11 Xrandr extension for fullscreen [[default=yes]]]),
    1.22                              , enable_video_x11_xrandr=yes)