Commit 2eb4b375 authored by Christophe Mutricy's avatar Christophe Mutricy

bootstrap: test for the presence of contrib/share/aclocal before including it...

bootstrap: test for the presence of contrib/share/aclocal before including it because m4 react badly to missing directory
parent 2c8c766c
...@@ -36,7 +36,9 @@ ACLOCAL_ARGS="-I m4" ...@@ -36,7 +36,9 @@ ACLOCAL_ARGS="-I m4"
# Check for contrib directory # Check for contrib directory
if test -d extras/contrib/bin; then if test -d extras/contrib/bin; then
export PATH=./extras/contrib/bin:$PATH export PATH=./extras/contrib/bin:$PATH
if test -d extras/contrib/share/aclocal; then
ACLOCAL_ARGS="${ACLOCAL_ARGS} -I extras/contrib/share/aclocal" ACLOCAL_ARGS="${ACLOCAL_ARGS} -I extras/contrib/share/aclocal"
fi
if test ".`uname -s`" = ".Darwin"; then if test ".`uname -s`" = ".Darwin"; then
export LD_LIBRARY_PATH=./extras/contrib/lib:$LD_LIBRARY_PATH export LD_LIBRARY_PATH=./extras/contrib/lib:$LD_LIBRARY_PATH
export DYLD_LIBRARY_PATH=./extras/contrib/lib:$DYLD_LIBRARY_PATH export DYLD_LIBRARY_PATH=./extras/contrib/lib:$DYLD_LIBRARY_PATH
......
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