* autogen.sh (ac_version): try automake 1.7 too.
authorGary Houston <ghouston@arglist.com>
Sun, 13 Oct 2002 22:20:46 +0000 (22:20 +0000)
committerGary Houston <ghouston@arglist.com>
Sun, 13 Oct 2002 22:20:46 +0000 (22:20 +0000)
ChangeLog
autogen.sh

index a3e8c32..807c9be 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2002-10-13  Gary Houston  <ghouston@arglist.com>
+
+       * autogen.sh (ac_version): try automake 1.7 too.
+
 2002-10-05  Marius Vollmer  <mvo@zagadka.ping.de>
 
        * autogen.sh: Make sure that $autoheader is always set.  When we
index 0025262..522e9d1 100755 (executable)
@@ -75,10 +75,10 @@ fi
 #detect automake version
 
 
-# configure.in reqs automake-1.6; try to find it
-for suf in "-1.6" "1.6" ""  false; do
+# configure.in requires particular automake; try to find it
+for suf in "-1.7" "1.7" "-1.6" "1.6" ""  false; do
   version=`automake$suf --version 2>/dev/null | head -1 | awk '{print $NF}' | awk -F. '{print $1 * 10 + $2}'`
-  if test "0$version" -eq 16; then
+  if test "0$version" -eq 17 -o "0$version" -eq 16; then
     automake=automake$suf
     break
   fi
@@ -89,7 +89,6 @@ if test -z "$automake"; then
     exit 1
 fi
 
-
 ################################################################
 $autoheader
 $autoconf