Make sure that srcdir has a full pathname so source indexing works.
authorSam Lantinga <slouken@libsdl.org>
Mon, 08 Jul 2013 09:21:54 -0700
changeset 7379 b27c778a2bdb
parent 7378 3d5f62bac8e7
child 7380 e5830832d3f0
Make sure that srcdir has a full pathname so source indexing works.
configure
configure.in
--- a/configure	Sun Jul 07 18:23:04 2013 -0700
+++ b/configure	Mon Jul 08 09:21:54 2013 -0700
@@ -15791,6 +15791,8 @@
 fi
 
 
+srcdir=`cd $srcdir && pwd`
+
 INCLUDE="-I$srcdir/include"
 if test x$srcdir != x.; then
     INCLUDE="-Iinclude $INCLUDE"
--- a/configure.in	Sun Jul 07 18:23:04 2013 -0700
+++ b/configure.in	Mon Jul 08 09:21:54 2013 -0700
@@ -57,6 +57,9 @@
 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