Skip to content

Commit 4d4c7f8

Browse files
AesaraBjtojnar
authored andcommitted
autogen: Add support for automake 1.17
autogen.sh manually checks acceptable versions of automake. Previously it wasn't aware of automake v1.17, but now it is. Fixes #199 Signed-off-by: Aesara Binder <[email protected]>
1 parent 0303431 commit 4d4c7f8

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

autogen.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@
99
# tools and you shouldn't use this script. Just call ./configure
1010
# directly.
1111

12-
ACLOCAL=${ACLOCAL-aclocal-1.16}
12+
ACLOCAL=${ACLOCAL-aclocal-1.17}
1313
AUTOCONF=${AUTOCONF-autoconf}
1414
AUTOHEADER=${AUTOHEADER-autoheader}
15-
AUTOMAKE=${AUTOMAKE-automake-1.16}
15+
AUTOMAKE=${AUTOMAKE-automake-1.17}
1616
LIBTOOLIZE=${LIBTOOLIZE-libtoolize}
1717
PYTHON=${PYTHON-python}
1818

@@ -128,6 +128,9 @@ printf "checking for automake >= $AUTOMAKE_REQUIRED_VERSION ... "
128128
if ($AUTOMAKE --version) < /dev/null > /dev/null 2>&1; then
129129
AUTOMAKE=$AUTOMAKE
130130
ACLOCAL=$ACLOCAL
131+
elif (automake-1.17 --version) < /dev/null > /dev/null 2>&1; then
132+
AUTOMAKE=automake-1.17
133+
ACLOCAL=aclocal-1.17
131134
elif (automake-1.16 --version) < /dev/null > /dev/null 2>&1; then
132135
AUTOMAKE=automake-1.16
133136
ACLOCAL=aclocal-1.16

0 commit comments

Comments
 (0)