Skip to content

Commit

Permalink
autogen: Add support for automake 1.17
Browse files Browse the repository at this point in the history
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]>
(cherry picked from commit 4d4c7f8)
  • Loading branch information
AesaraB authored and jtojnar committed Sep 11, 2024
1 parent b4cd759 commit 9d2b9ba
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions autogen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
# tools and you shouldn't use this script. Just call ./configure
# directly.

ACLOCAL=${ACLOCAL-aclocal-1.16}
ACLOCAL=${ACLOCAL-aclocal-1.17}
AUTOCONF=${AUTOCONF-autoconf}
AUTOHEADER=${AUTOHEADER-autoheader}
AUTOMAKE=${AUTOMAKE-automake-1.16}
AUTOMAKE=${AUTOMAKE-automake-1.17}
LIBTOOLIZE=${LIBTOOLIZE-libtoolize}
PYTHON=${PYTHON-python}

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

0 comments on commit 9d2b9ba

Please sign in to comment.