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-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.
Fixed without a revision bump. Thanks for reporting!
Actually, I'll use your patch instead of the sed script.
I also renamed the older automake-1.12 patch to avoid confusion. Thanks for the patch! :)