Author: rmottola
Date: Wed Nov 25 00:46:20 2015
New Revision: 39197

URL: http://svn.gna.org/viewcvs/gnustep?rev=39197&view=rev
Log:
Specifically check for X11/extensions/sync.h

Modified:
    libs/back/trunk/config.h.in
    libs/back/trunk/configure
    libs/back/trunk/configure.ac

Modified: libs/back/trunk/config.h.in
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/back/trunk/config.h.in?rev=39197&r1=39196&r2=39197&view=diff
==============================================================================
--- libs/back/trunk/config.h.in (original)
+++ libs/back/trunk/config.h.in Wed Nov 25 00:46:20 2015
@@ -53,9 +53,6 @@
 /* Define to 1 if you have the `Xt' library (-lXt). */
 #undef HAVE_LIBXT
 
-/* Define to 1 if you have the `shape' extension. */
-#undef HAVE_XSHAPE
-
 /* Define to 1 if you have the <memory.h> header file. */
 #undef HAVE_MEMORY_H
 
@@ -98,6 +95,12 @@
 /* Define if you have the wgl library */
 #undef HAVE_WGL
 
+/* Define to 1 if you have the <X11/extensions/shape.h> header file. */
+#undef HAVE_X11_EXTENSIONS_SHAPE_H
+
+/* Define to 1 if you have the <X11/extensions/sync.h> header file. */
+#undef HAVE_X11_EXTENSIONS_SYNC_H
+
 /* Define to 1 if you have the <X11/extensions/XShm.h> header file. */
 #undef HAVE_X11_EXTENSIONS_XSHM_H
 
@@ -113,6 +116,9 @@
 
 /* Define to 1 if you have 'XInternAtoms' function. */
 #undef HAVE_XINTERNATOMS
+
+/* Define to enable Xshape support */
+#undef HAVE_XSHAPE
 
 /* Define to 1 if you have the `Xutf8LookupString' function. */
 #undef HAVE_XUTF8LOOKUPSTRING

Modified: libs/back/trunk/configure
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/back/trunk/configure?rev=39197&r1=39196&r2=39197&view=diff
==============================================================================
--- libs/back/trunk/configure   (original)
+++ libs/back/trunk/configure   Wed Nov 25 00:46:20 2015
@@ -4932,6 +4932,22 @@
 
   fi
 
+  for ac_header in X11/extensions/sync.h
+do :
+  ac_fn_c_check_header_compile "$LINENO" "X11/extensions/sync.h" 
"ac_cv_header_X11_extensions_sync_h" "#include <X11/X.h>
+   #include <X11/Xutil.h>
+
+"
+if test "x$ac_cv_header_X11_extensions_sync_h" = xyes; then :
+  cat >>confdefs.h <<_ACEOF
+#define HAVE_X11_EXTENSIONS_SYNC_H 1
+_ACEOF
+
+fi
+
+done
+
+
   LIBS="$X_LIBS $LIBS"
 fi
 

Modified: libs/back/trunk/configure.ac
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/back/trunk/configure.ac?rev=39197&r1=39196&r2=39197&view=diff
==============================================================================
--- libs/back/trunk/configure.ac        (original)
+++ libs/back/trunk/configure.ac        Wed Nov 25 00:46:20 2015
@@ -212,6 +212,11 @@
     ]
     ,)
   fi
+
+  AC_CHECK_HEADERS(X11/extensions/sync.h,,,
+  [#include <X11/X.h>
+   #include <X11/Xutil.h>
+  ])
 
   LIBS="$X_LIBS $LIBS"
 fi


_______________________________________________
Gnustep-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/gnustep-cvs

Reply via email to