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

Bug 467330

Summary: net-dialup/lrzsz-0.12.20-r3 with automake 1.13 - configure.in:4: error: 'AM_CONFIG_HEADER': this macro is obsolete.
Product: Gentoo Linux Reporter: Shunsuke Shimizu <grafi>
Component: Current packagesAssignee: Gentoo Dialup Developers <net-dialup>
Status: RESOLVED FIXED    
Severity: normal CC: jer
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 451744    
Attachments: the patch to replace old macro

Description Shunsuke Shimizu 2013-04-26 11:07:57 UTC
Created attachment 346632 [details]
the patch to replace old macro

lrzsz-0.12.20 uses obsolete AM_CONFIG_HEADER macro, which is removed in automake 1.13.

Here is aclocal.out.
***** aclocal *****
***** PWD: /var/tmp/portage/net-dialup/lrzsz-0.12.20-r3/work/lrzsz-0.12.20
***** aclocal

aclocal-1.13: warning: autoconf input should be named 'configure.ac', not 'configure.in'
acinclude.m4:2: warning: underquoted definition of AC_REPLACE_GNU_GETOPT
acinclude.m4:2:   run info Automake 'Extending aclocal'
acinclude.m4:2:   or see http://www.gnu.org/software/automake/manual/automake.html#Extending-aclocal
configure.in:4: 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.in:4: the top level
autom4te-2.69: /usr/bin/m4 failed with exit status: 1
aclocal-1.13: error: echo failed with exit status: 1

Appling attached patch fixed problem. I suppose the patch can be merged with existing lrzsz-0.12.20-automake-2.12.patch. BTW, automake-2.12 is probably a typo of automake-1.12, I guess.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2013-04-26 15:30:46 UTC
Fixed without a revision bump. Thanks for reporting!
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2013-04-26 15:34:44 UTC
Actually, I'll use your patch instead of the sed script.
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2013-04-26 15:37:15 UTC
I also renamed the older automake-1.12 patch to avoid confusion. Thanks for the patch! :)