summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schlemmer <azarah@gentoo.org>2004-02-15 09:07:07 +0000
committerMartin Schlemmer <azarah@gentoo.org>2004-02-15 09:07:07 +0000
commitfbacf54a2c35eed21800b7cdae9b8ed58ad6d37a (patch)
tree8cea833bb6851072357edfd9e0a9fefc609ff994 /sys-devel/autoconf/files
parentAdded to ~ppc (Manifest recommit) (diff)
downloadgentoo-2-fbacf54a2c35eed21800b7cdae9b8ed58ad6d37a.tar.gz
gentoo-2-fbacf54a2c35eed21800b7cdae9b8ed58ad6d37a.tar.bz2
gentoo-2-fbacf54a2c35eed21800b7cdae9b8ed58ad6d37a.zip
Fix ac-wrapper.pl to also work with AC_PREREQ(2.50) (note the 2.50 and not 2.5).
Diffstat (limited to 'sys-devel/autoconf/files')
-rw-r--r--sys-devel/autoconf/files/ac-wrapper-2.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys-devel/autoconf/files/ac-wrapper-2.pl b/sys-devel/autoconf/files/ac-wrapper-2.pl
index 561cea33a3e2..c720d9fefa10 100644
--- a/sys-devel/autoconf/files/ac-wrapper-2.pl
+++ b/sys-devel/autoconf/files/ac-wrapper-2.pl
@@ -54,10 +54,10 @@ if ($ENV{WANT_AUTOCONF} ne '2.1') {
|| (-x $binary_new # user may have only 2.13
&& (($ENV{WANT_AUTOCONF} eq '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}[0-9]?)[^\)]*\]?\)/m ? $1 : '') gt '2.1'))) {
$ENV{WANT_AUTOCONF} = '2.5'; # to prevent further "cats" and to enhance consistency (possible cwd etc)
$binary = $binary_new;
} else {