* autogen.sh: Recognize autoconf 2.60.
authortwisti <none@none>
Tue, 1 Aug 2006 20:38:10 +0000 (20:38 +0000)
committertwisti <none@none>
Tue, 1 Aug 2006 20:38:10 +0000 (20:38 +0000)
autogen.sh

index 9fd46bd460c520a4f4c467b72fe13439ca2734a9..21e7bc51760e3c65fdef7e88b70f30e37526bf7b 100755 (executable)
@@ -57,7 +57,7 @@ for CACAO_AUTOHEADER in autoheader autoheader259; do
         CACAO_AUTOHEADER_VERSION=`${CACAO_AUTOHEADER} --version | sed 's/^[^0-9]*\([0-9.][0-9.]*\).*/\1/'`
 #        echo ${CACAO_AUTOHEADER_VERSION}
         case ${CACAO_AUTOHEADER_VERSION} in
-            2.59* )
+            2.59* | 2.6* )
                 CACAO_HAVE_AUTOHEADER=true
                 break;
                 ;;
@@ -67,7 +67,7 @@ done
 
 if test ${CACAO_HAVE_AUTOHEADER} = false; then
     echo "No proper autoheader was found."
-    echo "You must have autoconf 2.59 installed."
+    echo "You must have autoconf 2.59 or later installed."
     exit 1
 fi
 
@@ -105,7 +105,7 @@ for CACAO_AUTOCONF in autoconf autoconf259; do
         CACAO_AUTOCONF_VERSION=`${CACAO_AUTOCONF} --version | sed 's/^[^0-9]*\([0-9.][0-9.]*\).*/\1/'`
 #        echo ${CACAO_AUTOCONF_VERSION}
         case ${CACAO_AUTOCONF_VERSION} in
-            2.59* )
+            2.59* | 2.6* )
                 CACAO_HAVE_AUTOCONF=true
                 break;
                 ;;
@@ -115,7 +115,7 @@ done
 
 if test ${CACAO_HAVE_AUTOCONF} = false; then
     echo "No proper autoconf was found."
-    echo "You must have autoconf 2.59 installed."
+    echo "You must have autoconf 2.59 or later installed."
     exit 1
 fi