summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorAlexandre Duret-Lutz <adl@gnu.org>2004-09-26 21:11:34 +0000
committerAlexandre Duret-Lutz <adl@gnu.org>2004-09-26 21:11:34 +0000
commit8735b00ea5969824c84b128ba7eb95a660f2deaa (patch)
tree68ef3ec1d921fdceff3b55b5ae7feea0ce14b355 /configure
parent4ae518d802d4a6bc5cadf531968ee812d7ed0319 (diff)
downloadautomake-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 'configure')
-rwxr-xr-xconfigure10
1 files changed, 7 insertions, 3 deletions
diff --git a/configure b/configure
index de01fa08e..c50a066fd 100755
--- a/configure
+++ b/configure
@@ -2026,9 +2026,13 @@ if test -z "$PERL"; then
echo "$as_me: error: perl not found" >&2;}
{ (exit 1); exit 1; }; }
fi
-$PERL -e 'require 5.005;' || {
- { { echo "$as_me:$LINENO: error: perl 5.005 or better is required" >&5
-echo "$as_me: error: perl 5.005 or better is required" >&2;}
+$PERL -e 'require 5.006;' || {
+ { { echo "$as_me:$LINENO: error: perl 5.6 or better is required. If you have several perl
+versions installed, select the one Automake should use using
+ ./configure PERL=/path/to/perl" >&5
+echo "$as_me: error: perl 5.6 or better is required. If you have several perl
+versions installed, select the one Automake should use using
+ ./configure PERL=/path/to/perl" >&2;}
{ (exit 1); exit 1; }; }
}