diff options
author | Alexandre Duret-Lutz <adl@gnu.org> | 2004-09-26 21:11:34 +0000 |
---|---|---|
committer | Alexandre Duret-Lutz <adl@gnu.org> | 2004-09-26 21:11:34 +0000 |
commit | 8735b00ea5969824c84b128ba7eb95a660f2deaa (patch) | |
tree | 68ef3ec1d921fdceff3b55b5ae7feea0ce14b355 /lib/Automake/Config.in | |
parent | 4ae518d802d4a6bc5cadf531968ee812d7ed0319 (diff) | |
download | automake-8735b00ea5969824c84b128ba7eb95a660f2deaa.tar.gz |
* configure.ac: Require Perl 5.6.
* lib/Automake/Config.in: Require Perl 5.6 (not done in
lib/Automake/General.pm because it is shared with Autoconf),
and use `our' instead of `use vars'.
* aclocal.in (rel2abs): Remove.
(scan_configure_dep): Use File::Spec->rel2abs instead.
Diffstat (limited to 'lib/Automake/Config.in')
-rw-r--r-- | lib/Automake/Config.in | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/lib/Automake/Config.in b/lib/Automake/Config.in index 27df82c5a..b6d23da1a 100644 --- a/lib/Automake/Config.in +++ b/lib/Automake/Config.in @@ -1,4 +1,4 @@ -# Copyright (C) 2003 Free Software Foundation, Inc. -*- Perl -*- +# Copyright (C) 2003, 2004 Free Software Foundation, Inc. -*- Perl -*- # @configure_input@ # This program is free software; you can redistribute it and/or modify @@ -19,20 +19,18 @@ package Automake::Config; use strict; +use 5.006; require Exporter; -use vars qw (@ISA @EXPORT); -@ISA = qw (Exporter); -@EXPORT = qw ($APIVERSION $PACKAGE $VERSION $libdir); - -use vars qw ($APIVERSION $PACKAGE $VERSION $libdir); +our @ISA = qw (Exporter); +our @EXPORT = qw ($APIVERSION $PACKAGE $VERSION $libdir); # Parameters set by configure. Not to be changed. NOTE: assign # VERSION as string so that e.g. version 0.30 will print correctly. -$APIVERSION = '@APIVERSION@'; -$PACKAGE = '@PACKAGE@'; -$VERSION = '@VERSION@'; -$libdir = '@datadir@/@PACKAGE@-@APIVERSION@'; +our $APIVERSION = '@APIVERSION@'; +our $PACKAGE = '@PACKAGE@'; +our $VERSION = '@VERSION@'; +our $libdir = '@datadir@/@PACKAGE@-@APIVERSION@'; 1;; |