Commit 142ce168 authored by Jean-Paul Saman's avatar Jean-Paul Saman

Always test in decending order of version numbers. Fixes detection of older...

Always test in decending order of version numbers. Fixes detection of older versions even when newer are available.
parent a63ce8d7
...@@ -33,7 +33,7 @@ set -x ...@@ -33,7 +33,7 @@ set -x
AUTOMAKESUCKS=no AUTOMAKESUCKS=no
INSTALLSUCKS=no INSTALLSUCKS=no
ACLOCAL_ARGS="-I m4" ACLOCAL_ARGS="-I m4 ${ACLOCAL_ARGS}"
# Check for contrib directory # Check for contrib directory
if test -d extras/contrib/bin; then if test -d extras/contrib/bin; then
...@@ -52,7 +52,7 @@ fi ...@@ -52,7 +52,7 @@ fi
# Check for automake # Check for automake
amvers="no" amvers="no"
for v in "-1.7" "-1.9" "19" "-1.8" "18" "-1.7" "17" ""; do for v in "-1.9" "19" "-1.8" "18" "-1.7" "17" ""; do
if automake${v} --version >/dev/null 2>&1; then if automake${v} --version >/dev/null 2>&1; then
amsuff="${v}" amsuff="${v}"
amvers="${v}" amvers="${v}"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment