Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 467852 - net-libs/libmicrohttpd-0.9.26 - configure.ac:26: error: 'AM_CONFIG_HEADER': this macro is obsolete.
Summary: net-libs/libmicrohttpd-0.9.26 - configure.ac:26: error: 'AM_CONFIG_HEADER': t...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Anthony Basile
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: automake-1.13
  Show dependency tree
 
Reported: 2013-04-29 11:18 UTC by Lubos Dolezel
Modified: 2013-05-06 11:56 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge-info,5.00 KB, text/plain)
2013-04-29 11:18 UTC, Lubos Dolezel
Details

Note You need to log in before you can comment on or make changes to this bug.
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.