mirror of
https://github.com/yawut/SDL.git
synced 2026-08-24 01:35:39 -05:00
Allow building from another top level directory
This commit is contained in:
@@ -548,7 +548,7 @@ CheckX11()
|
||||
AC_PATH_X
|
||||
AC_PATH_XTRA
|
||||
if test x$have_x = xyes; then
|
||||
CFLAGS="$CFLAGS $X_CFLAGS -DENABLE_X11 -Iinclude -Isrc/video"
|
||||
CFLAGS="$CFLAGS $X_CFLAGS -DENABLE_X11 -I\$(top_srcdir)/include -I\$(top_srcdir)/src/video"
|
||||
if test x$ac_cv_func_shmat != xyes; then
|
||||
CFLAGS="$CFLAGS -DNO_SHARED_MEMORY"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user