configure.in
changeset 6313 d86efd889847
parent 6311 4e5e46f43438
child 6316 a89c79a3f0cd
     1.1 --- a/configure.in	Wed May 30 11:43:33 2012 -0400
     1.2 +++ b/configure.in	Wed May 30 11:44:57 2012 -0400
     1.3 @@ -1091,6 +1091,25 @@
     1.4              fi
     1.5              have_video=yes
     1.6  
     1.7 +            AC_MSG_CHECKING(for const parameter to XextAddDisplay)
     1.8 +            have_const_param_XextAddDisplay=no
     1.9 +            AC_TRY_COMPILE([
    1.10 +              #include <X11/Xlib.h>
    1.11 +              #include <X11/Xproto.h>
    1.12 +              #include <X11/extensions/Xext.h>
    1.13 +              #include <X11/extensions/extutil.h>
    1.14 +            ],[
    1.15 +XExtDisplayInfo*
    1.16 +XextAddDisplay(XExtensionInfo* a,Display* b,_Xconst char* c,XExtensionHooks* d,int e,XPointer f)
    1.17 +{
    1.18 +    return (XExtDisplayInfo*)0;
    1.19 +}
    1.20 +            ],[
    1.21 +            have_const_param_XextAddDisplay=yes
    1.22 +            AC_DEFINE(SDL_VIDEO_DRIVER_X11_CONST_PARAM_XEXTADDDISPLAY)
    1.23 +            ])
    1.24 +            AC_MSG_RESULT($have_const_param_XextAddDisplay)
    1.25 +
    1.26              AC_CHECK_LIB(X11, XGetEventData, AC_DEFINE(SDL_VIDEO_DRIVER_X11_SUPPORTS_GENERIC_EVENTS, 1, [Have XGenericEvent]))
    1.27  
    1.28              AC_ARG_ENABLE(video-x11-xcursor,