+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
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.