]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* tests/foreign.at (Libtool): Reject prehistoric versions.
authorAkim Demaille <akim@epita.fr>
Sat, 23 Jun 2001 14:01:29 +0000 (14:01 +0000)
committerAkim Demaille <akim@epita.fr>
Sat, 23 Jun 2001 14:01:29 +0000 (14:01 +0000)
ChangeLog
tests/foreign.at

index 19e69df6891f2ddb47e4e01e01499cb885336dbb..53b08b944efaf54a07b240e6206909e32c9ab59f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2001-06-23  Akim Demaille  <akim@epita.fr>
+
+       * tests/foreign.at (Libtool): Reject prehistoric versions.
+
 2001-06-23  Akim Demaille  <akim@epita.fr>
 
        * aclang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Try to be robust to
index 082b602d92d8cfb91d9e134eaf6170fba9dc5d1b..335946ac2e6e265cdb61cd7dd65d3d8669df738d 100644 (file)
@@ -12,7 +12,13 @@ AT_SETUP([[Libtool]])
 AT_CHECK([libtoolize --version || exit 77],
          ignore, ignore, ignore)
 # CVS Autoconf probably does not work with too old Libtools.
-AT_CHECK([[libtoolize --version | egrep '1\.3(\.[0-4])?$' && exit 77]],
+AT_CHECK([[
+case `libtoolize --version |
+      sed -n '/^.* \([0-9][0-9.a-z]*\)$/{s//\1/;p;q;}'` in
+  *" "0.*          ) exit 77;;
+  *" "1.[012]*     ) exit 77;;
+  *" "1.3.[01234]* ) exit 77;;
+esac]],
          ignore, ignore, ignore)
 
 # FIXME: Once Libtool `configure.ac' aware, change this.