Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Fix test for Xext headers (bug 1498), now it should fail properly in …

…systems with the old headers.
  • Loading branch information
gabomdq committed Jun 1, 2012
1 parent 62f18a8 commit fc741e4cf6427605fd9884f74290e5daae98e442
Showing with 3 additions and 0 deletions.
  1. +2 −0 configure
  2. +1 −0 configure.in
#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 ()
{
@@ -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)
{

0 comments on commit fc741e4

Please sign in to comment.