Fix test for Xext headers (bug 1498), now it should fail properly in systems with the old headers.

This commit is contained in:
Gabriel Jacobo
2012-06-01 19:42:15 -03:00
parent e387df94fc
commit 9b129179a4
2 changed files with 3 additions and 0 deletions

2
configure vendored
View File

@@ -22181,6 +22181,8 @@ cat >>conftest.$ac_ext <<_ACEOF
#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 ()
{

View File

@@ -1099,6 +1099,7 @@ AC_HELP_STRING([--enable-x11-shared], [dynamically load X11 support [[default=ma
#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)
{