Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 467852

Summary: net-libs/libmicrohttpd-0.9.26 - configure.ac:26: error: 'AM_CONFIG_HEADER': this macro is obsolete.
Product: Gentoo Linux Reporter: Lubos Dolezel <lubos>
Component: New packagesAssignee: Anthony Basile <blueness>
Status: RESOLVED FIXED    
Severity: normal CC: datty.wtb
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 451744    
Attachments: emerge --info

Description Lubos Dolezel 2013-04-29 11:18:02 UTC
Created attachment 346878 [details]
emerge --info

libmicrohttpd-0.9.26 fails to build for me on multiple systems.

 * Running aclocal -I m4 ...                                                                                                                                                                                                                                           [ !! ]

 * Failed Running aclocal !

Where the contents of aclocal.out are:

============

***** aclocal *****
***** PWD: /var/tmp/portage/net-libs/libmicrohttpd-0.9.26/work/libmicrohttpd-0.9.26
***** aclocal -I m4

configure.ac:26: error: 'AM_CONFIG_HEADER': this macro is obsolete.
    You should use the 'AC_CONFIG_HEADERS' macro instead.
/usr/share/aclocal-1.13/obsolete-err.m4:12: AM_CONFIG_HEADER is expanded from...
configure.ac:26: the top level
autom4te-2.69: /usr/bin/m4 failed with exit status: 1
aclocal-1.13: error: echo failed with exit status: 1

============

emerge --info is attached. My version of autoconf is 2.69.
Comment 1 Oliver Smith 2013-05-05 07:58:50 UTC
Also seeing the same error on a fresh Gentoo build on ~amd64. Building with messages and ssl USE flags. Making the change to configure.ac as suggested allows the package to build.
Comment 2 Anthony Basile gentoo-dev 2013-05-06 11:56:40 UTC
I just added 0.9.27 to the tree which fixes the problem.  The patch in 0.9.26 which required autoreconf was accepted upstream and so we don't need to autoreconf locally.

Reopen if this is still an issue.