]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
build: require perl 5.6
authorEric Blake <eblake@redhat.com>
Wed, 7 Mar 2012 17:47:01 +0000 (10:47 -0700)
committerEric Blake <eblake@redhat.com>
Wed, 7 Mar 2012 17:50:09 +0000 (10:50 -0700)
This reduces the implicit requirement from 5.6.2 back to 5.6,
while raising the explicit requirement to match the actual code.

* configure.ac (PERL): Fail up front if perl is too old.
* NEWS: Document this.
* README: Likewise.
* README-hacking: Likewise.
* lib/Autom4te/ChannelDefs.pm: Bump requirement.
* lib/Autom4te/General.pm: Relax requirement.

NEWS
README
README-hacking
configure.ac
lib/Autom4te/ChannelDefs.pm
lib/Autom4te/General.pm

diff --git a/NEWS b/NEWS
index 74472291a76cbcad75fb69a694f5d81e0ea87070..dbc19dc820a8701cf9e85fedda21406568271cff 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -1,7 +1,9 @@
 GNU Autoconf NEWS - User visible changes.
 
-* Noteworthy changes in release ?.? (????-??-??) [?]
+* Noteworthy changes in release 2.69 (????-??-??) [?]
 
+** Autoconf now requires perl 5.6 or better (but generated configure
+   scripts continue to run without perl).
 
 * Noteworthy changes in release 2.68b (2012-03-01) [beta]
   Released by Eric Blake, based on git versions 2.68.*.
diff --git a/README b/README
index 8e5eb493d5c680f9911306c960e7b751036bb644..6fb53a986e49c360ddf8680c0f7df5c5243d5a73 100644 (file)
--- a/README
+++ b/README
@@ -12,7 +12,7 @@ macro calls.
 
 Producing configuration scripts using Autoconf requires GNU M4 and
 Perl.  You should install GNU M4 (version 1.4.6 or later is required;
-1.4.14 or later is recommended) and Perl (5.005_03 or later) before
+1.4.14 or later is recommended) and Perl (5.006 or later) before
 configuring Autoconf, so that Autoconf's configure script can find
 them.  The configuration scripts produced by Autoconf are
 self-contained, so their users do not need to have Autoconf (or GNU
index da57ac43e12cd02f63297b6df1f5d4e8f2270ea3..41d128dbe7ea03dada67be1a9b6b88f5a7a94aaa 100644 (file)
@@ -18,7 +18,7 @@ tools we depend upon, including:
 - Automake 1.10+ <http://www.gnu.org/software/automake/>
 - Help2man 1.29+ <http://www.gnu.org/software/help2man/>
 - M4 1.4.6+ <http://www.gnu.org/software/m4/>
-- Perl 5.005_03+ <http://www.cpan.org/>
+- Perl 5.006+ <http://www.cpan.org/>
 - Texinfo 4.8+ <http://www.gnu.org/software/texinfo/>
 
 The following are useful as well, if you want to be able to run commands
index 5bf7b9d062669900d57386b0cff8ce1e2bd69f8a..280cc0e5534f4f2b7c709c9e0111224c1a639f05 100644 (file)
@@ -135,8 +135,8 @@ AC_SUBST([PERL])dnl
 if test "$PERL" = no; then
   AC_MSG_ERROR([perl is not found])
 fi
-$PERL -e 'require 5.005_03;' || {
-   AC_MSG_ERROR([Perl 5.005_03 or better is required])
+$PERL -e 'require 5.006;' || {
+   AC_MSG_ERROR([Perl 5.006 or better is required])
 }
 
 # Find out whether the system supports flock
index 2a1ec4a0e56056ee6bc27d36950a05ae5dd354a6..0d5b5c4900fce07e9b15a243b9f658efcf6f3adc 100644 (file)
@@ -47,7 +47,7 @@ shorthand function to output on specific channels.
 
 =cut
 
-use 5.005;
+use 5.006;
 use strict;
 use Exporter;
 
index 02e3c87f78013271548acbf9354143c1cf3cc721..cc5875d4b7316d1be9ceeda1059db502e76ca814 100644 (file)
@@ -32,7 +32,7 @@ used in several executables of the Autoconf and Automake packages.
 
 =cut
 
-use 5.006_002;
+use 5.006;
 use Exporter;
 use Autom4te::ChannelDefs;
 use Autom4te::Channels;