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 6319698c98b83cbb
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
     1.1 --- a/configure	Thu May 31 19:23:30 2012 +0300
     1.2 +++ b/configure	Fri Jun 01 19:42:15 2012 -0300
     1.3 @@ -22181,6 +22181,8 @@
     1.4                #include <X11/extensions/Xext.h>
     1.5                #include <X11/extensions/extutil.h>
     1.6  
     1.7 +extern XExtDisplayInfo* XextAddDisplay(XExtensionInfo* a,Display* b,_Xconst char* c,XExtensionHooks* d,int e,XPointer f);
     1.8 +
     1.9  int
    1.10  main ()
    1.11  {
     2.1 --- a/configure.in	Thu May 31 19:23:30 2012 +0300
     2.2 +++ b/configure.in	Fri Jun 01 19:42:15 2012 -0300
     2.3 @@ -1099,6 +1099,7 @@
     2.4                #include <X11/extensions/Xext.h>
     2.5                #include <X11/extensions/extutil.h>
     2.6              ],[
     2.7 +extern XExtDisplayInfo* XextAddDisplay(XExtensionInfo* a,Display* b,_Xconst char* c,XExtensionHooks* d,int e,XPointer f);
     2.8  XExtDisplayInfo*
     2.9  XextAddDisplay(XExtensionInfo* a,Display* b,_Xconst char* c,XExtensionHooks* d,int e,XPointer f)
    2.10  {