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

Added X include path so SDL_syswm.h works correctly on systems with X…

…11 in a non-standard directory.
  • Loading branch information
slouken committed Jul 21, 2013
1 parent 8d909ff commit a18a9bb596025b4663e33831927ccd48ab1c0dcc
Showing with 6 additions and 0 deletions.
  1. +3 −0 configure
  2. +3 −0 configure.in
SOURCES="$SOURCES $srcdir/src/video/x11/*.c"
EXTRA_CFLAGS="$EXTRA_CFLAGS $X_CFLAGS"

# Needed so SDL applications can include SDL_syswm.h
SDL_CFLAGS="$SDL_CFLAGS $X_CFLAGS"

if test x$enable_x11_shared = xmaybe; then
enable_x11_shared=$x11_symbols_private
fi
@@ -1173,6 +1173,9 @@ AC_HELP_STRING([--enable-x11-shared], [dynamically load X11 support [[default=ma
SOURCES="$SOURCES $srcdir/src/video/x11/*.c"
EXTRA_CFLAGS="$EXTRA_CFLAGS $X_CFLAGS"

# Needed so SDL applications can include SDL_syswm.h
SDL_CFLAGS="$SDL_CFLAGS $X_CFLAGS"

if test x$enable_x11_shared = xmaybe; then
enable_x11_shared=$x11_symbols_private
fi

0 comments on commit a18a9bb

Please sign in to comment.