]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
maint: require perl 5.6 throughout
authorStefano Lattarini <stefano.lattarini@gmail.com>
Sun, 4 Mar 2012 14:44:46 +0000 (15:44 +0100)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Sun, 4 Mar 2012 21:49:13 +0000 (22:49 +0100)
That version of perl is quite old already, so it should be OK to
require it.  More importantly, it is the older perl versions the
developers can currently use for testing, thus it's safer and more
honest to just require it throughout.  And anyway, we were already
requiring it in Automake::Getopt, which implied that both automake
and aclocal wouldn't have worked in practice with an older perl
version.

See also the discussion related to automake bug#10925.

* lib/Automake/ChannelDefs.pm: Adjusted to require perl 5.6.
* lib/Automake/Channels.pm: Likewise.
* lib/Automake/Condition.pm: Likewise.
* lib/Automake/Configure_ac.pm: Likewise.
* lib/Automake/DisjConditions.pm: Likewise.
* lib/Automake/FileUtils.pm: Likewise.
* lib/Automake/General.pm: Likewise.
* lib/Automake/Item.pm: Likewise.
* lib/Automake/ItemDef.pm: Likewise.
* lib/Automake/Location.pm: Likewise.
* lib/Automake/Options.pm: Likewise.
* lib/Automake/Rule.pm: Likewise.
* lib/Automake/RuleDef.pm: Likewise.
* lib/Automake/Struct.pm: Likewise.
* lib/Automake/VarDef.pm: Likewise.
* lib/Automake/Variable.pm: Likewise.
* lib/Automake/Version.pm: Likewise.
* lib/Automake/Wrap.pm: Likewise.
* lib/Automake/XFile.pm: Likewise.

20 files changed:
lib/Automake/ChannelDefs.pm
lib/Automake/Channels.pm
lib/Automake/Condition.pm
lib/Automake/Configure_ac.pm
lib/Automake/DisjConditions.pm
lib/Automake/FileUtils.pm
lib/Automake/General.pm
lib/Automake/Getopt.pm
lib/Automake/Item.pm
lib/Automake/ItemDef.pm
lib/Automake/Location.pm
lib/Automake/Options.pm
lib/Automake/Rule.pm
lib/Automake/RuleDef.pm
lib/Automake/Struct.pm
lib/Automake/VarDef.pm
lib/Automake/Variable.pm
lib/Automake/Version.pm
lib/Automake/Wrap.pm
lib/Automake/XFile.pm

index afafae5392ef7525e81cabc606a8c82f91573ff1..524b8f5bb631b7485911604716cbe75ed0fea73d 100644 (file)
@@ -55,7 +55,7 @@ shorthand function to output on specific channels.
 
 =cut
 
-use 5.005;
+use 5.006;
 use strict;
 use Exporter;
 
index 4b5c5e2d894d2d13f721666c4937b8749583dd44..724a11487cab172c0bd984b6108e756324af91eb 100644 (file)
@@ -66,7 +66,7 @@ etc.) that can also be overridden on a per-message basis.
 
 =cut
 
-use 5.005;
+use 5.006;
 use strict;
 use Exporter;
 use Carp;
index ee16f621b9d1dcbaf378ae85f22d576934574a2a..cc753d9e7a043b1dffe3d32ec150a310fdb63324 100644 (file)
@@ -14,6 +14,8 @@
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 package Automake::Condition;
+
+use 5.006;
 use strict;
 use Carp;
 
index d5c54da47b9e9f6f7463e32a7b1dad7874dd89fe..53e62a5723788a635aed4188b770324de5cad10d 100644 (file)
@@ -20,6 +20,7 @@
 
 package Automake::Configure_ac;
 
+use 5.006;
 use strict;
 use Exporter;
 use Automake::Channels;
index cb9849558d5b0144aa1e60db4432c3649ff2aadc..e44912103ce92a7e49a56bc6f8743ae5681968a8 100644 (file)
@@ -15,8 +15,9 @@
 
 package Automake::DisjConditions;
 
-use Carp;
+use 5.006;
 use strict;
+use Carp;
 use Automake::Condition qw/TRUE FALSE/;
 
 =head1 NAME
index d73cebff2c104322489c2b1a01212731940b9dc3..17d8a49905dc2b28229470cae0c1388562c254d8 100644 (file)
@@ -34,6 +34,7 @@ This perl module provides various general purpose file handling functions.
 
 =cut
 
+use 5.006;
 use strict;
 use Exporter;
 use File::stat;
index be5764899f415c205080af0b2424e413b9c2a6ac..2a4a527c6b648227731b2513f8116e9c738d5b4b 100644 (file)
@@ -15,7 +15,7 @@
 
 package Automake::General;
 
-use 5.005;
+use 5.006;
 use strict;
 use Exporter;
 use File::Basename;
index ffbcc129a96fadfba1c227e8c3ef2016b3ee5385..ea1c7ca6b3b828605e2a805fe90331f7f0a1cd34 100644 (file)
@@ -30,7 +30,7 @@ line options in conformance to the GNU Coding standards.
 
 =cut
 
-use 5.006_002;
+use 5.006;
 use strict;
 use warnings FATAL => 'all';
 use Exporter ();
index 0066ac437247cbae5f612ffd5d39b2de9ec2a3ad..6da070e9afb72f080df2bfc28a726eff30c6caed 100644 (file)
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 package Automake::Item;
+
+use 5.006;
 use strict;
 use Carp;
-
 use Automake::ChannelDefs;
 use Automake::DisjConditions;
 
index 8148df885f17cea1bf76446ac7d8c87acc208b8e..8b64562202a012832c163bfd891dc93d73225a74 100644 (file)
@@ -14,6 +14,8 @@
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 package Automake::ItemDef;
+
+use 5.006;
 use strict;
 use Carp;
 
index ba24ca2f1d065202c426fff7293cd9e0cd3df936..290db73fefd05ccb570e9c39a51a59675215240d 100644 (file)
@@ -15,6 +15,8 @@
 
 package Automake::Location;
 
+use 5.006;
+
 =head1 NAME
 
 Automake::Location - a class for location tracking, with a stack of contexts
index 651430d92e9544c68bf9bbde5ed029698b1e14bc..2f977bd543e5f62a866e83f3f82f1c8943e69636 100644 (file)
@@ -15,6 +15,7 @@
 
 package Automake::Options;
 
+use 5.006;
 use strict;
 use Exporter;
 use Automake::Config;
index 0b8d867ad4c738fb60ec5e4917d8685b5b0ca6c8..3db8c440a9e761d1c750add7d184c06ec2cf7932 100644 (file)
@@ -14,6 +14,8 @@
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 package Automake::Rule;
+
+use 5.006;
 use strict;
 use Carp;
 
index 738e377c5df26d5df08929a3112e5a8dd0af2f98..571111cfe43be5913a48590c226e0d14f5a2a1e6 100644 (file)
@@ -14,6 +14,8 @@
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 package Automake::RuleDef;
+
+use 5.006;
 use strict;
 use Carp;
 use Automake::ChannelDefs;
index cd9369117f9324dac9af9a4fd58871394d699ad8..bf7adebcde5c1d1c611ac20ff2b58c8a1f2ec189 100644 (file)
@@ -28,7 +28,7 @@ package Automake::Struct;
 
 ## See POD after __END__
 
-use 5.005_03;
+use 5.006;
 
 use strict;
 use vars qw(@ISA @EXPORT $VERSION);
index d5b3224caeebb24d7cb0f107bad244bf4aa8e971..dde99ac3896713bfc7eb2cfab191e1ff3dcd5708 100644 (file)
@@ -14,6 +14,8 @@
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 package Automake::VarDef;
+
+use 5.006;
 use strict;
 use Carp;
 use Automake::ChannelDefs;
index f9ed7dae4c22ab3abb234b6f305a794624b87073..4d346f056047e83393a2802040aae738a78d6a7e 100644 (file)
@@ -14,6 +14,8 @@
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 package Automake::Variable;
+
+use 5.006;
 use strict;
 use Carp;
 
index 35cfe8b43621e611b6c1907e7d2467be653799c3..423375b85a21a1fb06a556e9f99ea843e3f74daa 100644 (file)
@@ -14,6 +14,8 @@
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 package Automake::Version;
+
+use 5.006;
 use strict;
 use Automake::ChannelDefs;
 
index cd898dcdfb29e66e9e15337a0efee7ffb1ef2dc8..34b349ee296938b2cf2f60a1744c0454c0af5774 100644 (file)
@@ -15,6 +15,7 @@
 
 package Automake::Wrap;
 
+use 5.006;
 use strict;
 
 require Exporter;
index 1840f61caddf6de253aed18d6da488c9b2b206cd..82edb2358b74cef13586ad93cd859a06968dc1e0 100644 (file)
@@ -69,7 +69,7 @@ and C<getlines> methods to translate C<\r\n> to C<\n>.
 
 =cut
 
-require 5.000;
+use 5.006;
 use strict;
 use vars qw($VERSION @EXPORT @EXPORT_OK $AUTOLOAD @ISA);
 use Carp;