mirror of
https://github.com/yawut/SDL.git
synced 2026-08-22 16:55:29 -05:00
Fix test for Xext headers (bug 1498), now it should fail properly in systems with the old headers.
This commit is contained in:
2
configure
vendored
2
configure
vendored
@@ -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 ()
|
||||
{
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user