Browse Source

* aclocal doesn't handle searching in non-existing dirs all that gracefully.

new method in which aclocal args first get stored in a variable.
pull/2/head
Derk-Jan Hartman 22 years ago
parent
commit
29f8c4b341
  1. 5
      bootstrap

5
bootstrap

@ -29,11 +29,14 @@ set -x
AUTOMAKESUCKS=no AUTOMAKESUCKS=no
INSTALLSUCKS=no INSTALLSUCKS=no
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
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
ACLOCAL_ARGS="${ACLOCAL_ARGS} -I extras/contrib/share/aclocal"
fi fi
# Check for automake # Check for automake
@ -360,7 +363,7 @@ fi
# Do the rest # Do the rest
${autopoint} -f ${autopoint} -f
${aclocal} -I m4 -I extras/contrib/share/aclocal ${aclocal} ${ACLOCAL_ARGS}
${autoconf} ${autoconf}
${autoheader} ${autoheader}
${automake} --add-missing --copy ${automake} --add-missing --copy

Loading…
Cancel
Save