autogen.sh: warn about needing autoconf if autoreconf is not found
Changes the error message from: ./autogen.sh: 9: ./autogen.sh: autoreconf: not found To: configuration failed, please install autoconf first
This commit is contained in:
parent
80d1f2e483
commit
889426d37e
1 changed files with 2 additions and 0 deletions
|
@ -6,4 +6,6 @@ if [ -z ${LIBTOOLIZE} ] && GLIBTOOLIZE="`which glibtoolize 2>/dev/null`"; then
|
||||||
LIBTOOLIZE="${GLIBTOOLIZE}"
|
LIBTOOLIZE="${GLIBTOOLIZE}"
|
||||||
export LIBTOOLIZE
|
export LIBTOOLIZE
|
||||||
fi
|
fi
|
||||||
|
which autoreconf >/dev/null || \
|
||||||
|
(echo "configuration failed, please install autoconf first" && exit 1)
|
||||||
autoreconf --install --force --warnings=all
|
autoreconf --install --force --warnings=all
|
||||||
|
|
Loading…
Reference in a new issue