Skip to content

Commit

Permalink
std-autogen: Add a few more autoconf and automake versions to search
Browse files Browse the repository at this point in the history
Autoconf 2.71 is the latest right now but wasn't included, so the
script was reporting a version different from what it was actually
executing in some cases.  Add a few more versions to be prepared for
the future.
  • Loading branch information
petere committed Feb 24, 2022
1 parent d9b5bb5 commit e088c9c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mk/std-autogen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ AUTOHEADER=${AUTOHEADER:-autoheader}

if test "$AUTOCONF_VERSION" = ""; then
if test "$AUTOCONF" = "autoconf"; then
for ac in 70 69 68 67 66 65 64 63 62 61 60 59; do
for ac in 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59; do
ac="2.$ac"
if which autoconf-$ac > /dev/null 2>&1; then
AUTOCONF_VERSION="$ac"
Expand All @@ -45,7 +45,7 @@ fi

if test "$AUTOMAKE_VERSION" = ""; then
if test "$ACLOCAL" = "aclocal"; then
for am in 1.16 1.15 1.14 1.13 1.12 1.11 1.10 1.9; do
for am in 1.19 1.18 1.17 1.16 1.15 1.14 1.13 1.12 1.11 1.10 1.9; do
if which aclocal-$am > /dev/null 2>&1; then
AUTOMAKE_VERSION="$am"
echo "Using aclocal: $AUTOMAKE_VERSION"
Expand Down

0 comments on commit e088c9c

Please sign in to comment.