* automake.in: Require 5.005.
2001-02-15 Tom Tromey <tromey@redhat.com>
+ * configure.in: Require Perl 5.005.
+ * automake.in: Require 5.005.
+
* automake.texi (Top): Conditionalize on `nottex', not `info'.
Fixes PR automake/122.
# Originally written by David Mackenzie <djm@gnu.ai.mit.edu>.
# Perl reimplementation by Tom Tromey <tromey@cygnus.com>.
-require 5;
+require 5.005;
# Parameters set by configure. Not to be changed. NOTE: assign
# VERSION as string so that eg version 0.30 will print correctly.
if test -z "$PERL"; then
{ echo "configure: error: perl not found" 1>&2; exit 1; }
fi
-if test -n "`$PERL -v | fgrep 'version 5.001' 2> /dev/null`"; then
- { echo "configure: error: perl 5.001 has bug which causes automake to fail" 1>&2; exit 1; }
-fi
+$PERL -e 'require 5.005;' || {
+ { echo "configure: error: perl 5.005 or better is required" 1>&2; exit 1; }
+}
trap '' 1 2 15
cat > confcache <<\EOF
if test -z "$PERL"; then
AC_MSG_ERROR([perl not found])
fi
-if test -n "`$PERL -v | fgrep 'version 5.001' 2> /dev/null`"; then
- AC_MSG_ERROR([perl 5.001 has bug which causes automake to fail])
-fi
+$PERL -e 'require 5.005;' || {
+ AC_MSG_ERROR([perl 5.005 or better is required])
+}
AC_OUTPUT([Makefile automake aclocal m4/Makefile tests/Makefile],
[chmod +x automake aclocal])
-@set UPDATED 14 February 2001
+@set UPDATED 15 February 2001
@set UPDATED-MONTH February 2001
@set EDITION 1.4e
@set VERSION 1.4e
-@set UPDATED 14 February 2001
+@set UPDATED 15 February 2001
@set UPDATED-MONTH February 2001
@set EDITION 1.4e
@set VERSION 1.4e