Commit ca7e34b3 authored by Christophe Massiot's avatar Christophe Massiot

* configure.ac: Fixed the contrib path in the general case.

parent 728dd91a
...@@ -73,7 +73,11 @@ AC_C_INLINE ...@@ -73,7 +73,11 @@ AC_C_INLINE
dnl dnl
dnl Check for the contrib directory dnl Check for the contrib directory
dnl dnl
topdir="`pwd`" topdir="`dirname $0`"
if test "`echo \"$topdir\" | cut -c 1`" != "/"; then
topdir="`pwd`/$topdir"
fi
if test -d ${topdir}/extras/contrib/lib; then if test -d ${topdir}/extras/contrib/lib; then
export PATH=${topdir}/extras/contrib/bin:$PATH export PATH=${topdir}/extras/contrib/bin:$PATH
CPPFLAGS="${CPPFLAGS} -I${topdir}/extras/contrib/include" CPPFLAGS="${CPPFLAGS} -I${topdir}/extras/contrib/include"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment