configure.in
changeset 9657 fbc01731d914
parent 9625 6d686d166a9e
child 9718 d5955671f259
     1.1 --- a/configure.in	Wed May 27 19:00:56 2015 -0400
     1.2 +++ b/configure.in	Thu May 28 00:30:21 2015 -0400
     1.3 @@ -1552,6 +1552,20 @@
     1.4                  AC_DEFINE(SDL_VIDEO_DRIVER_X11_XCURSOR, 1, [ ])
     1.5                  SUMMARY_video_x11="${SUMMARY_video_x11} xcursor"
     1.6              fi
     1.7 +            AC_ARG_ENABLE(video-x11-xdbe,
     1.8 +AC_HELP_STRING([--enable-video-x11-xdbe], [enable X11 Xdbe support [[default=yes]]]),
     1.9 +                            , enable_video_x11_xdbe=yes)
    1.10 +            if test x$enable_video_x11_xdbe = xyes; then
    1.11 +                AC_CHECK_HEADER(X11/extensions/Xdbe.h,
    1.12 +                                have_dbe_h_hdr=yes,
    1.13 +                                have_dbe_h_hdr=no,
    1.14 +                                [#include <X11/Xlib.h>
    1.15 +                                ])
    1.16 +                if test x$have_dbe_h_hdr = xyes; then
    1.17 +                    AC_DEFINE(SDL_VIDEO_DRIVER_X11_XDBE, 1, [ ])
    1.18 +                    SUMMARY_video_x11="${SUMMARY_video_x11} xdbe"
    1.19 +                fi
    1.20 +            fi
    1.21              AC_ARG_ENABLE(video-x11-xinerama,
    1.22  AC_HELP_STRING([--enable-video-x11-xinerama], [enable X11 Xinerama support [[default=yes]]]),
    1.23                              , enable_video_x11_xinerama=yes)