Make sure that srcdir has a full pathname so source indexing works.
This commit is contained in:
parent
435103b3d9
commit
c6348f33e7
2 changed files with 5 additions and 0 deletions
2
configure
vendored
2
configure
vendored
|
@ -15791,6 +15791,8 @@ else
|
|||
fi
|
||||
|
||||
|
||||
srcdir=`cd $srcdir && pwd`
|
||||
|
||||
INCLUDE="-I$srcdir/include"
|
||||
if test x$srcdir != x.; then
|
||||
INCLUDE="-Iinclude $INCLUDE"
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue