From: Akim Demaille Date: Tue, 13 Mar 2001 18:15:58 +0000 (+0000) Subject: * autoscan.pl, autoupdate.in: Use `use' instead of `require' to X-Git-Tag: autoconf-2.50~94 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=260929dc3876c5adf3ad6dbcef3eae07da3d3760;p=thirdparty%2Fautoconf.git * autoscan.pl, autoupdate.in: Use `use' instead of `require' to require some version of Perl, so that the test is performed at compile time, not run time. Suggested by Nicolas Joly. --- diff --git a/ChangeLog b/ChangeLog index d29a86ed6..b32c21916 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2001-03-13 Akim Demaille + + * autoscan.pl, autoupdate.in: Use `use' instead of `require' to + require some version of Perl, so that the test is performed at + compile time, not run time. + Suggested by Nicolas Joly. + 2001-03-13 Tim Van Holder * tests/aclocal.m4: Fix some typos. Also ignore $PATH_SEPARATOR. diff --git a/autoscan.in b/autoscan.in index b5279ad0e..38434287c 100644 --- a/autoscan.in +++ b/autoscan.in @@ -19,6 +19,7 @@ # Written by David MacKenzie . +use 5.005; require "find.pl"; use Getopt::Long; use strict; diff --git a/autoscan.pl b/autoscan.pl index b5279ad0e..38434287c 100644 --- a/autoscan.pl +++ b/autoscan.pl @@ -19,6 +19,7 @@ # Written by David MacKenzie . +use 5.005; require "find.pl"; use Getopt::Long; use strict; diff --git a/autoupdate.in b/autoupdate.in index 734306089..17d760777 100644 --- a/autoupdate.in +++ b/autoupdate.in @@ -20,7 +20,7 @@ # Originally written by David MacKenzie . # Rewritten by Akim Demaille . -require 5.005; +use 5.005; use Getopt::Long; use File::Basename; use strict; diff --git a/autoupdate.sh b/autoupdate.sh index 734306089..17d760777 100644 --- a/autoupdate.sh +++ b/autoupdate.sh @@ -20,7 +20,7 @@ # Originally written by David MacKenzie . # Rewritten by Akim Demaille . -require 5.005; +use 5.005; use Getopt::Long; use File::Basename; use strict; diff --git a/bin/autoscan.in b/bin/autoscan.in index b5279ad0e..38434287c 100644 --- a/bin/autoscan.in +++ b/bin/autoscan.in @@ -19,6 +19,7 @@ # Written by David MacKenzie . +use 5.005; require "find.pl"; use Getopt::Long; use strict; diff --git a/bin/autoupdate.in b/bin/autoupdate.in index 734306089..17d760777 100644 --- a/bin/autoupdate.in +++ b/bin/autoupdate.in @@ -20,7 +20,7 @@ # Originally written by David MacKenzie . # Rewritten by Akim Demaille . -require 5.005; +use 5.005; use Getopt::Long; use File::Basename; use strict; diff --git a/man/autoscan.1 b/man/autoscan.1 index f3eb6b51d..bc093f895 100644 --- a/man/autoscan.1 +++ b/man/autoscan.1 @@ -1,5 +1,5 @@ .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.24. -.TH AUTOSCAN "1" "February 2001" "GNU Autoconf 2.49d" FSF +.TH AUTOSCAN "1" "March 2001" "GNU Autoconf 2.49d" FSF .SH NAME autoscan \- Generate a preliminary configure.in .SH SYNOPSIS