configure
changeset 9657 fbc01731d914
parent 9638 a30b6998c1d8
child 9719 8e78db33b5de
     1.1 --- a/configure	Wed May 27 19:00:56 2015 -0400
     1.2 +++ b/configure	Thu May 28 00:30:21 2015 -0400
     1.3 @@ -826,6 +826,7 @@
     1.4  with_x
     1.5  enable_x11_shared
     1.6  enable_video_x11_xcursor
     1.7 +enable_video_x11_xdbe
     1.8  enable_video_x11_xinerama
     1.9  enable_video_x11_xinput
    1.10  enable_video_x11_xrandr
    1.11 @@ -1551,6 +1552,7 @@
    1.12    --enable-x11-shared     dynamically load X11 support [[default=maybe]]
    1.13    --enable-video-x11-xcursor
    1.14                            enable X11 Xcursor support [[default=yes]]
    1.15 +  --enable-video-x11-xdbe enable X11 Xdbe support [[default=yes]]
    1.16    --enable-video-x11-xinerama
    1.17                            enable X11 Xinerama support [[default=yes]]
    1.18    --enable-video-x11-xinput
    1.19 @@ -20123,6 +20125,31 @@
    1.20  
    1.21                  SUMMARY_video_x11="${SUMMARY_video_x11} xcursor"
    1.22              fi
    1.23 +            # Check whether --enable-video-x11-xdbe was given.
    1.24 +if test "${enable_video_x11_xdbe+set}" = set; then :
    1.25 +  enableval=$enable_video_x11_xdbe;
    1.26 +else
    1.27 +  enable_video_x11_xdbe=yes
    1.28 +fi
    1.29 +
    1.30 +            if test x$enable_video_x11_xdbe = xyes; then
    1.31 +                ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xdbe.h" "ac_cv_header_X11_extensions_Xdbe_h" "#include <X11/Xlib.h>
    1.32 +
    1.33 +"
    1.34 +if test "x$ac_cv_header_X11_extensions_Xdbe_h" = xyes; then :
    1.35 +  have_dbe_h_hdr=yes
    1.36 +else
    1.37 +  have_dbe_h_hdr=no
    1.38 +fi
    1.39 +
    1.40 +
    1.41 +                if test x$have_dbe_h_hdr = xyes; then
    1.42 +
    1.43 +$as_echo "#define SDL_VIDEO_DRIVER_X11_XDBE 1" >>confdefs.h
    1.44 +
    1.45 +                    SUMMARY_video_x11="${SUMMARY_video_x11} xdbe"
    1.46 +                fi
    1.47 +            fi
    1.48              # Check whether --enable-video-x11-xinerama was given.
    1.49  if test "${enable_video_x11_xinerama+set}" = set; then :
    1.50    enableval=$enable_video_x11_xinerama;