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.
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.
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.