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 7379b27c778a2bdb
parent 7378 3d5f62bac8e7
child 7380 e5830832d3f0
Make sure that srcdir has a full pathname so source indexing works.
configure
configure.in
     1.1 --- a/configure	Sun Jul 07 18:23:04 2013 -0700
     1.2 +++ b/configure	Mon Jul 08 09:21:54 2013 -0700
     1.3 @@ -15791,6 +15791,8 @@
     1.4  fi
     1.5  
     1.6  
     1.7 +srcdir=`cd $srcdir && pwd`
     1.8 +
     1.9  INCLUDE="-I$srcdir/include"
    1.10  if test x$srcdir != x.; then
    1.11      INCLUDE="-Iinclude $INCLUDE"
     2.1 --- a/configure.in	Sun Jul 07 18:23:04 2013 -0700
     2.2 +++ b/configure.in	Mon Jul 08 09:21:54 2013 -0700
     2.3 @@ -57,6 +57,9 @@
     2.4  AC_PROG_MAKE_SET
     2.5  AC_CHECK_TOOL(WINDRES, [windres], [:])
     2.6  
     2.7 +dnl Make sure that srcdir is a full pathname
     2.8 +srcdir=`cd $srcdir && pwd`
     2.9 +
    2.10  dnl Set up the compiler and linker flags
    2.11  INCLUDE="-I$srcdir/include"
    2.12  if test x$srcdir != x.; then