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
commit 9b9bfcec5a
No known key found for this signature in database
GPG key ID: 74810B012346C9A6

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