configure
changeset 8146 bfff4df36f0b
parent 8124 5226058345bf
child 8147 9802c269104f
equal deleted inserted replaced
8145:663d7d9de9bf 8146:bfff4df36f0b
 20075 else
 20075 else
 20076   enable_video_x11_xrandr=yes
 20076   enable_video_x11_xrandr=yes
 20077 fi
 20077 fi
 20078 
 20078 
 20079             if test x$enable_video_x11_xrandr = xyes; then
 20079             if test x$enable_video_x11_xrandr = xyes; then
 20080                 definitely_enable_video_x11_xrandr=no
 20080                                 definitely_enable_video_x11_xrandr=no
 20081                 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "#include <X11/Xlib.h>
 20081                 have_xrandr_h_hdr=no
 20082 
 20082                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 20083 "
 20083 /* end confdefs.h.  */
 20084 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes; then :
 20084 
 20085   have_xrandr_h_hdr=yes
 20085                 #include <X11/Xlib.h>
 20086 else
 20086                 #include <X11/extensions/Xrandr.h>
 20087   have_xrandr_h_hdr=no
 20087 
 20088 fi
 20088 int
 20089 
 20089 main ()
 20090 
 20090 {
       
 20091 
       
 20092                 XRRScreenResources *res = NULL;
       
 20093 
       
 20094   ;
       
 20095   return 0;
       
 20096 }
       
 20097 _ACEOF
       
 20098 if ac_fn_c_try_compile "$LINENO"; then :
       
 20099 
       
 20100                 have_xrandr_h_hdr=yes
       
 20101                 $as_echo "#define SDL_VIDEO_DRIVER_X11_XINPUT2_SUPPORTS_MULTITOUCH 1" >>confdefs.h
       
 20102 
       
 20103                 SUMMARY_video_x11="${SUMMARY_video_x11} xinput2_multitouch"
       
 20104 
       
 20105 fi
       
 20106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 20091                 if test x$have_xrandr_h_hdr = xyes; then
 20107                 if test x$have_xrandr_h_hdr = xyes; then
 20092                     if test x$enable_x11_shared = xyes && test x$xrandr_lib != x ; then
 20108                     if test x$enable_x11_shared = xyes && test x$xrandr_lib != x ; then
 20093                         echo "-- dynamic libXrandr -> $xrandr_lib"
 20109                         echo "-- dynamic libXrandr -> $xrandr_lib"
 20094 
 20110 
 20095 cat >>confdefs.h <<_ACEOF
 20111 cat >>confdefs.h <<_ACEOF