summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schlemmer <azarah@gentoo.org>2003-03-09 16:46:20 +0000
committerMartin Schlemmer <azarah@gentoo.org>2003-03-09 16:46:20 +0000
commitaaecf8778f1b6e434aa5658e261970722f758fe5 (patch)
tree2372b896f272fd899649564a152fe975400caf13 /sys-devel/autoconf/files
parentupdate am-wrapper.pl to work with AC_PREREQ in [] (diff)
downloadhistorical-aaecf8778f1b6e434aa5658e261970722f758fe5.tar.gz
historical-aaecf8778f1b6e434aa5658e261970722f758fe5.tar.bz2
historical-aaecf8778f1b6e434aa5658e261970722f758fe5.zip
update ac-wrapper.pl to work with AC_PREREQ in []
Diffstat (limited to 'sys-devel/autoconf/files')
-rw-r--r--sys-devel/autoconf/files/ac-wrapper.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys-devel/autoconf/files/ac-wrapper.pl b/sys-devel/autoconf/files/ac-wrapper.pl
index 50858025b7e9..86797efbb912 100644
--- a/sys-devel/autoconf/files/ac-wrapper.pl
+++ b/sys-devel/autoconf/files/ac-wrapper.pl
@@ -43,10 +43,10 @@ if (!$ENV{WANT_AUTOCONF_2_1}) {
|| (-x $binary_new # user may have only 2.13
&& ($ENV{WANT_AUTOCONF_2_5}
|| -r 'configure.ac'
- || (cat_('configure.in') =~ /^\s*AC_PREREQ\(\[?([^\)]{3})[^\)]*\]?\)/m ? $1 : '') gt '2.1'
+ || (cat_('configure.in') =~ /^\s*\[?AC_PREREQ\(\[?([^\)]{3})[^\)]*\]?\)/m ? $1 : '') gt '2.1'
|| (cat_('configure') =~ /^# Generated by Autoconf (\S+)/m ? $1 : '') gt '2.1'
|| (cat_('Makefile.in') =~ /^# Makefile\.in generated by automake (\S+)/ ? $1 : '') ge '1.6'
- || (cat_('aclocal.m4') =~ /^\s*AC_PREREQ\(\[?([^\)]{3})[^\)]*\]?\)/m ? $1 : '') gt '2.1'))) {
+ || (cat_('aclocal.m4') =~ /^\s*\[?AC_PREREQ\(\[?([^\)]{3})[^\)]*\]?\)/m ? $1 : '') gt '2.1'))) {
$ENV{WANT_AUTOCONF_2_5} = 1; # to prevent further "cats" and to enhance consistency (possible cwd etc)
$binary = $binary_new;
} else {