mirror of
https://github.com/encounter/SDL.git
synced 2025-12-08 13:15:10 +00:00
x11: Don't include X11/extensions/extutil.h
We don't use it, it was a leftover from 1.2, I think, and it doesn't exist on Solaris, so this should hopefully fix the build there. This also means we don't need the configure/cmake checks for SDL_VIDEO_DRIVER_X11_CONST_PARAM_XEXTADDDISPLAY, so that was removed also. Fixes #1666.
This commit is contained in:
32
configure
vendored
32
configure
vendored
@@ -21087,38 +21087,6 @@ _ACEOF
|
||||
fi
|
||||
have_video=yes
|
||||
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for const parameter to XextAddDisplay" >&5
|
||||
$as_echo_n "checking for const parameter to XextAddDisplay... " >&6; }
|
||||
have_const_param_XextAddDisplay=no
|
||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||
/* end confdefs.h. */
|
||||
|
||||
#include <X11/Xlib.h>
|
||||
#include <X11/Xproto.h>
|
||||
#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 ()
|
||||
{
|
||||
|
||||
;
|
||||
return 0;
|
||||
}
|
||||
_ACEOF
|
||||
if ac_fn_c_try_compile "$LINENO"; then :
|
||||
|
||||
have_const_param_XextAddDisplay=yes
|
||||
|
||||
$as_echo "#define SDL_VIDEO_DRIVER_X11_CONST_PARAM_XEXTADDDISPLAY 1" >>confdefs.h
|
||||
|
||||
|
||||
fi
|
||||
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_const_param_XextAddDisplay" >&5
|
||||
$as_echo "$have_const_param_XextAddDisplay" >&6; }
|
||||
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XGenericEvent" >&5
|
||||
$as_echo_n "checking for XGenericEvent... " >&6; }
|
||||
have_XGenericEvent=no
|
||||
|
||||
Reference in New Issue
Block a user