Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Fix test for Xext headers (bug 1498), now it should fail properly in …
Browse files Browse the repository at this point in the history
…systems with the old headers.
  • Loading branch information
gabomdq committed Jun 1, 2012
1 parent 62f18a8 commit fc741e4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions configure
Expand Up @@ -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 ()
{
Expand Down
1 change: 1 addition & 0 deletions configure.in
Expand Up @@ -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)
{
Expand Down

0 comments on commit fc741e4

Please sign in to comment.