| Summary: | autoconf incorrectly runs 2.58 if AC_PREREQ(2.12) is in aclocal.m4 | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Scott Smith <scott-gentoo> |
| Component: | [OLD] Core system | Assignee: | Gentoo's Team for Core System packages <base-system> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | caleb |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Scott Smith
2004-04-13 16:55:32 UTC
In addition, the automake wrapper does not correctly scan configure.ac as it does configure.in when trying to determine whether to run aclocal/automake 1.5 or 1.6, and thus misses the AC_PREREQ in configure.ac. So it looks to me like the fix for this is to change the ac-wrapper-3.pl to:
|| (cat_('configure.in') =~ /^\s*\[?AC_PREREQ\(\[?([^\)]{3})[^\)]*\]?\)/m ? $1 : '') gt '2.13'
|| (cat_('configure') =~ /^# Generated by Autoconf (\S+)/m ? $1 : '') gt '2.13'
|| (cat_('Makefile.in') =~ /^# Makefile\.in generated by automake (\S+)/ ? $1 : '') ge '1.6'
|| (cat_('aclocal.m4') =~ /^\s*\[?AC_PREREQ\(\[?([^\)]{3}[0-9]?)[^\)]*\]?\)/m ? $1 : '') gt '2.13'))) {
Whereas before it was "gt '2.1'" ?
The above change has been committed to ac-wrapper-4 which is used in autoconf-2.59-r4. |