configure.in
branchSDL-1.2
changeset 7291 91ad7b43317a
parent 6909 6cccc0beb880
child 9018 4a9c67d11c9f
     1.1 --- a/configure.in	Wed Apr 17 00:56:53 2013 -0700
     1.2 +++ b/configure.in	Sun Jun 02 20:48:53 2013 +0600
     1.3 @@ -1169,6 +1169,17 @@
     1.4              if test x$definitely_enable_video_x11_xrandr = xyes; then
     1.5                  AC_DEFINE(SDL_VIDEO_DRIVER_X11_XRANDR)
     1.6              fi
     1.7 +            AC_MSG_CHECKING(for const parameter to _XData32)
     1.8 +            have_const_param_xdata32=no
     1.9 +            AC_TRY_COMPILE([
    1.10 +              #include <X11/Xlibint.h>
    1.11 +              extern int _XData32(Display *dpy,register _Xconst long *data,unsigned len);
    1.12 +            ],[
    1.13 +            ],[
    1.14 +            have_const_param_xdata32=yes
    1.15 +            AC_DEFINE(SDL_VIDEO_DRIVER_X11_CONST_PARAM_XDATA32)
    1.16 +            ])
    1.17 +            AC_MSG_RESULT($have_const_param_xdata32)
    1.18          fi
    1.19      fi
    1.20  }