changeset 419:3d8ad40ef561

Allow building from another top level directory
author Sam Lantinga <slouken@libsdl.org>
date Thu, 20 Jun 2002 17:47:18 +0000
parents 337f3ec4c385
children 93dcc7c0fafd
files configure.in
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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