Merge #7528: autogen.sh: warn about needing autoconf if autoreconf is not found

889426d autogen.sh: warn about needing autoconf if autoreconf is not found (Andrés G. Aragoneses)
This commit is contained in:
Wladimir J. van der Laan 2016-02-15 12:53:33 +01:00 committed by Alexander Block
parent de91ef95f0
commit 529e8ad63b

View File

@ -6,4 +6,6 @@ if [ -z ${LIBTOOLIZE} ] && GLIBTOOLIZE="`which glibtoolize 2>/dev/null`"; then
LIBTOOLIZE="${GLIBTOOLIZE}"
export LIBTOOLIZE
fi
which autoreconf >/dev/null || \
(echo "configuration failed, please install autoconf first" && exit 1)
autoreconf --install --force --warnings=all