Allow building from another top level directory
authorSam Lantinga <slouken@libsdl.org>
Thu, 20 Jun 2002 17:47:18 +0000
changeset 419 3d8ad40ef561
parent 418 337f3ec4c385
child 420 93dcc7c0fafd
Allow building from another top level directory
configure.in
--- a/configure.in	Sun Jun 16 04:17:57 2002 +0000
+++ b/configure.in	Thu Jun 20 17:47:18 2002 +0000
@@ -548,7 +548,7 @@
         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