autogen: add support for recent automake 1.16.

This commit is contained in:
Jehan 2018-03-22 13:19:44 +01:00
parent f497287837
commit 848b89afc2
1 changed files with 3 additions and 0 deletions

View File

@ -157,6 +157,9 @@ printf "checking for automake >= $AUTOMAKE_REQUIRED_VERSION ... "
if ($AUTOMAKE --version) < /dev/null > /dev/null 2>&1; then if ($AUTOMAKE --version) < /dev/null > /dev/null 2>&1; then
AUTOMAKE=$AUTOMAKE AUTOMAKE=$AUTOMAKE
ACLOCAL=$ACLOCAL ACLOCAL=$ACLOCAL
elif (automake-1.16 --version) < /dev/null > /dev/null 2>&1; then
AUTOMAKE=automake-1.16
ACLOCAL=aclocal-1.16
elif (automake-1.15 --version) < /dev/null > /dev/null 2>&1; then elif (automake-1.15 --version) < /dev/null > /dev/null 2>&1; then
AUTOMAKE=automake-1.15 AUTOMAKE=automake-1.15
ACLOCAL=aclocal-1.15 ACLOCAL=aclocal-1.15