From d80044c50b81393f3b8e7f56e74067fc25e2501f Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Mon, 8 Jul 2013 09:21:54 -0700 Subject: [PATCH] Make sure that srcdir has a full pathname so source indexing works. --- configure | 2 ++ configure.in | 3 +++ 2 files changed, 5 insertions(+) diff --git a/configure b/configure index 7e9637c81..e60b62f5c 100755 --- a/configure +++ b/configure @@ -15791,6 +15791,8 @@ else fi +srcdir=`cd $srcdir && pwd` + INCLUDE="-I$srcdir/include" if test x$srcdir != x.; then INCLUDE="-Iinclude $INCLUDE" diff --git a/configure.in b/configure.in index f7a002440..9446838b9 100644 --- a/configure.in +++ b/configure.in @@ -57,6 +57,9 @@ AC_PROG_INSTALL AC_PROG_MAKE_SET AC_CHECK_TOOL(WINDRES, [windres], [:]) +dnl Make sure that srcdir is a full pathname +srcdir=`cd $srcdir && pwd` + dnl Set up the compiler and linker flags INCLUDE="-I$srcdir/include" if test x$srcdir != x.; then