From 9b129179a4d4e301a9f8afd34c064ef263efe3a2 Mon Sep 17 00:00:00 2001 From: Gabriel Jacobo Date: Fri, 1 Jun 2012 19:42:15 -0300 Subject: [PATCH] Fix test for Xext headers (bug 1498), now it should fail properly in systems with the old headers. --- configure | 2 ++ configure.in | 1 + 2 files changed, 3 insertions(+) diff --git a/configure b/configure index 315e1799c..fe95a8608 100755 --- a/configure +++ b/configure @@ -22181,6 +22181,8 @@ cat >>conftest.$ac_ext <<_ACEOF #include #include +extern XExtDisplayInfo* XextAddDisplay(XExtensionInfo* a,Display* b,_Xconst char* c,XExtensionHooks* d,int e,XPointer f); + int main () { diff --git a/configure.in b/configure.in index 0eb81e33b..b33e40c17 100644 --- a/configure.in +++ b/configure.in @@ -1099,6 +1099,7 @@ AC_HELP_STRING([--enable-x11-shared], [dynamically load X11 support [[default=ma #include #include ],[ +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) {