Bug 896442

Summary: AM_CONFIG_H missing from automake 1.13
Product: [Fedora] Fedora Reporter: Mattias Ellert <mattias.ellert>
Component: automakeAssignee: Pavel Raiskup <praiskup>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: praiskup
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-03-14 08:38:40 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Mattias Ellert 2013-01-17 10:17:22 UTC
Description of problem:

Running automake on Fedora 19 with automake 1,13 results in:

configure.in:24: error: 'AM_CONFIG_HEADER': this macro is obsolete.
    You should use the 'AC_CONFIG_HEADERS' macro instead.

Version-Release number of selected component (if applicable):
automake-1.13.1-1.fc19

How reproducible:
Always

Steps to Reproduce:
1. Build a package that uses the AM_CONFIG_HEADER macro. See e.g.

http://kojipkgs.fedoraproject.org//work/tasks/6797/4876797/build.log

Actual results:
Failed build

Expected results:
Successful build

Additional info:
I am aware there has been a discussion about this on the devel mailing list. I file this bugzilla report to make sure the issue is not lost.

Comment 1 Pavel Raiskup 2013-01-17 15:32:22 UTC
I commited folowing changes:

http://pkgs.fedoraproject.org/cgit/automake.git/commit/?id=ffe6bc392d7ba856ad046f04797ef75c6d719ad5

Now it is building.  Sorry for inconvenience — this should allow building
packages using legacy macros again.  HTH.

I'll try to make some effort to get rid of these old macros - if possible.
Probably some checker into rpmlint or fedora-review script.

Pavel

Comment 2 Pavel Raiskup 2013-03-14 08:38:40 UTC
Automake upstream will re-add these macros again in next minor automake release
so once the automake-1.13.2 will be in Fedora, I'll trash my patch from
comment #1.  Till that time - we have fixed in in f19 and rawhide.

I have tried to prepare plugin for fedora-review script, already posted to
fedora review mailing list.  I'll try to continue on its improvements if it
will be appreciated and if the time allows me to.

This bug does not need to be open now - so closing RAWHIDE.

Pavel