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

Bug 469106

Summary: net-libs/wvstream fails with automake-1.13 - error: 'AM_CONFIG_HEADER': this macro is obsolete
Product: Gentoo Linux Reporter: ablepharus <ablepharus>
Component: [OLD] LibraryAssignee: Gentoo Dialup Developers <net-dialup>
Status: RESOLVED FIXED    
Severity: normal CC: ablepharus, jer
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 451744    
Attachments: Patched ebuild

Description ablepharus 2013-05-08 20:02:01 UTC
Created attachment 347774 [details]
Patched ebuild

aclocal.out

***** aclocal *****
***** PWD: /var/tmp/portage/net-libs/wvstreams-4.6.1-r3/work/wvstreams-4.6.1
***** aclocal

configure.ac:121: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
configure.ac:121: the top level
configure.ac:445: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
configure.ac:445: the top level
***** aclocal *****
***** PWD: /var/tmp/portage/net-libs/wvstreams-4.6.1-r3/work/wvstreams-4.6.1/argp
***** aclocal

configure.ac:7: 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:7: the top level
autom4te-2.69: /usr/bin/m4 failed with exit status: 1
aclocal-1.13: error: echo failed with exit status: 1
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2013-05-08 20:19:44 UTC
Comment on attachment 347774 [details]
Patched ebuild

--- wvstreams-4.6.1-r3.ebuild   2013-03-05 14:34:34.000000000 +0100
+++ -   2013-05-08 22:19:36.682321159 +0200
@@ -49,6 +49,8 @@
                "${FILESDIR}"/${P}-openssl-1.0.0.patch \
                "${FILESDIR}"/${P}-glibc212.patch \
                "${FILESDIR}"/${P}-gcc47.patch
+
+       sed -i -e 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:;s:AM_PROG_CC_STDC:AC_PROG_CC:' configure.ac argp/configure.ac

        eautoreconf
        pushd argp >/dev/null
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2013-05-08 20:29:44 UTC
Fixed in CVS. Thanks for the patch!