Honor ACLOCAL_FLAGS in autogen.sh

autoreconf doesn't pay attention to the ACLOCAL_FLAGS variable that
jhbuild (for example) sets. Pass those flags into autoreconf by
setting ACLOCAL appropriately.
This commit is contained in:
Owen W. Taylor 2009-02-13 14:14:43 -05:00 committed by Emmanuele Bassi
parent 46ce2ee737
commit cd0fdbb7d5

View File

@ -33,7 +33,7 @@ if test -z $AUTORECONF; then
echo "*** No autoreconf found ***"
exit 1
else
autoreconf -v --install || exit $?
ACLOCAL="${ACLOCAL-aclocal} $ACLOCAL_FLAGS" autoreconf -v --install || exit $?
fi
./configure "$@" && echo "Now type 'make' to compile $PROJECT."