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:
parent
46ce2ee737
commit
cd0fdbb7d5
@ -33,7 +33,7 @@ if test -z $AUTORECONF; then
|
|||||||
echo "*** No autoreconf found ***"
|
echo "*** No autoreconf found ***"
|
||||||
exit 1
|
exit 1
|
||||||
else
|
else
|
||||||
autoreconf -v --install || exit $?
|
ACLOCAL="${ACLOCAL-aclocal} $ACLOCAL_FLAGS" autoreconf -v --install || exit $?
|
||||||
fi
|
fi
|
||||||
|
|
||||||
./configure "$@" && echo "Now type 'make' to compile $PROJECT."
|
./configure "$@" && echo "Now type 'make' to compile $PROJECT."
|
||||||
|
Loading…
Reference in New Issue
Block a user