automake-1.13 (and 1.14 planning)

Joshua Root jmr at macports.org
Thu Jan 3 14:34:41 PST 2013


On 2013-1-4 09:17 , Rainer Müller wrote:
> On 2013-01-03 19:20, Jeremy Huddleston Sequoia wrote:
>> There seem to be more ports than I realized failing due to automake-1.13.  If you encounter build failure in a port due to automake-1.13, give this post-patch block a try:
>>
>> post-patch {
>>         reinplace {s:AM_CONFIG_HEADER(\(.*\)):AC_CONFIG_HEADERS([\1]):} ${worksrcpath}/configure.ac
>>         reinplace {/AM_PROG_CC_STDC/d} ${worksrcpath}/configure.ac
>> }
> 
> Thank you for the warning and the short explanation on what needs to be
> changed.
> 
> What is the compatibility of this approach? Does it work with older
> versions of automake?

As per the release notes
<http://lists.gnu.org/archive/html/automake/2012-12/msg00038.html>:

"AM_PROG_CC_STDC:    superseded by AC_PROG_CC since October 2002"
"AM_CONFIG_HEADER:   superseded by AC_CONFIG_HEADERS since July 2002"

> Would it be recommended yet to ask upstream to include these changes?

Yes.

- Josh


More information about the macports-dev mailing list