Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
Make sure that srcdir has a full pathname so source indexing works.
  • Loading branch information
slouken committed Jul 8, 2013
1 parent 3c19ce0 commit d80044c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions configure
Expand Up @@ -15791,6 +15791,8 @@ else
fi


srcdir=`cd $srcdir && pwd`

INCLUDE="-I$srcdir/include"
if test x$srcdir != x.; then
INCLUDE="-Iinclude $INCLUDE"
Expand Down
3 changes: 3 additions & 0 deletions configure.in
Expand Up @@ -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
Expand Down

0 comments on commit d80044c

Please sign in to comment.