diff options
Diffstat (limited to 'sys-devel/automake/files/am-wrapper.pl-1.5')
-rw-r--r-- | sys-devel/automake/files/am-wrapper.pl-1.5 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys-devel/automake/files/am-wrapper.pl-1.5 b/sys-devel/automake/files/am-wrapper.pl-1.5 index c42858ee88c1..21a4d0d019c9 100644 --- a/sys-devel/automake/files/am-wrapper.pl-1.5 +++ b/sys-devel/automake/files/am-wrapper.pl-1.5 @@ -36,8 +36,8 @@ if (!$ENV{WANT_AUTOMAKE_1_4}) { if (-x $binary_new # user may have only 2.13 && ($ENV{WANT_AUTOMAKE_1_5} || -r 'configure.ac' - || (cat_('configure.in') =~ /^\s*AC_PREREQ\(([^\)]{3})[^\)]*\)/m ? $1 : '') gt '2.1' - || (cat_('aclocal.m4') =~ /^\s*AC_PREREQ\(([^\)]{3})[^\)]*\)/m ? $1 : '') gt '2.1')) { + || (cat_('configure.in') =~ /^\s*AC_PREREQ\(\[?([^\)]{3})[^\)]*\)/m ? $1 : '') gt '2.1' + || (cat_('aclocal.m4') =~ /^\s*AC_PREREQ\(\[?([^\)]{3})[^\)]*\)/m ? $1 : '') gt '2.1')) { $ENV{WANT_AUTOMAKE_1_5} = 1; # to prevent further "cats" and to enhance consistency (possible cwd etc) $binary = $binary_new; } else { |