Fix test for Xext headers (bug 1498), now it should fail properly in systems with the old headers.
authorGabriel Jacobo <gabomdq@gmail.com>
Fri, 01 Jun 2012 19:42:15 -0300
changeset 6319 698c98b83cbb
parent 6318 49b2cb56db6e
child 6320 6077a1310907
Fix test for Xext headers (bug 1498), now it should fail properly in systems with the old headers.
configure
configure.in
--- a/configure	Thu May 31 19:23:30 2012 +0300
+++ b/configure	Fri Jun 01 19:42:15 2012 -0300
@@ -22181,6 +22181,8 @@
               #include <X11/extensions/Xext.h>
               #include <X11/extensions/extutil.h>
 
+extern XExtDisplayInfo* XextAddDisplay(XExtensionInfo* a,Display* b,_Xconst char* c,XExtensionHooks* d,int e,XPointer f);
+
 int
 main ()
 {
--- a/configure.in	Thu May 31 19:23:30 2012 +0300
+++ b/configure.in	Fri Jun 01 19:42:15 2012 -0300
@@ -1099,6 +1099,7 @@
               #include <X11/extensions/Xext.h>
               #include <X11/extensions/extutil.h>
             ],[
+extern XExtDisplayInfo* XextAddDisplay(XExtensionInfo* a,Display* b,_Xconst char* c,XExtensionHooks* d,int e,XPointer f);
 XExtDisplayInfo*
 XextAddDisplay(XExtensionInfo* a,Display* b,_Xconst char* c,XExtensionHooks* d,int e,XPointer f)
 {