From 8942368456af8cd867371e80f3197ef601d4e6ae Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Thu, 20 Jun 2002 17:47:18 +0000 Subject: [PATCH] Allow building from another top level directory --- configure.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.in b/configure.in index 68f4964ff..1f680db7c 100644 --- a/configure.in +++ b/configure.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