Added X include path so SDL_syswm.h works correctly on systems with X11 in a non-standard directory.
authorSam Lantinga <slouken@libsdl.org>
Sun, 21 Jul 2013 12:37:43 -0700
changeset 749425575b2a188f
parent 7493 7bfda8f0bfdf
child 7495 c4ba5e5c2765
Added X include path so SDL_syswm.h works correctly on systems with X11 in a non-standard directory.
configure
configure.in
     1.1 --- a/configure	Sun Jul 21 12:21:22 2013 -0700
     1.2 +++ b/configure	Sun Jul 21 12:37:43 2013 -0700
     1.3 @@ -19562,6 +19562,9 @@
     1.4              SOURCES="$SOURCES $srcdir/src/video/x11/*.c"
     1.5              EXTRA_CFLAGS="$EXTRA_CFLAGS $X_CFLAGS"
     1.6  
     1.7 +            # Needed so SDL applications can include SDL_syswm.h
     1.8 +            SDL_CFLAGS="$SDL_CFLAGS $X_CFLAGS"
     1.9 +
    1.10              if test x$enable_x11_shared = xmaybe; then
    1.11                  enable_x11_shared=$x11_symbols_private
    1.12              fi
     2.1 --- a/configure.in	Sun Jul 21 12:21:22 2013 -0700
     2.2 +++ b/configure.in	Sun Jul 21 12:37:43 2013 -0700
     2.3 @@ -1173,6 +1173,9 @@
     2.4              SOURCES="$SOURCES $srcdir/src/video/x11/*.c"
     2.5              EXTRA_CFLAGS="$EXTRA_CFLAGS $X_CFLAGS"
     2.6  
     2.7 +            # Needed so SDL applications can include SDL_syswm.h
     2.8 +            SDL_CFLAGS="$SDL_CFLAGS $X_CFLAGS"
     2.9 +
    2.10              if test x$enable_x11_shared = xmaybe; then
    2.11                  enable_x11_shared=$x11_symbols_private
    2.12              fi