Re: [PATCH 1/2] Bump to autoconf 2.69 and automake 1.15.1

Simon Marchi
2018-06-18T03:05:17Z

On 2018-06-17 10:46 PM, Alan Modra wrote:
>> 1. About aclocal.m4's, there are a bunch more generated from other versions of
>> automake than 1.15.1:
> [snip]
>
>> Should I make sure to re-generate all of them?
>
> Yes, I think that should be done whenever updating the version of
> autotools.

Noted.

> I also just noticed these 1.11 version specifiers that probably should
> be updated to 1.15:
> ./bfd/Makefile.am:AUTOMAKE_OPTIONS = 1.11 no-dist foreign
> ./gas/Makefile.am:AUTOMAKE_OPTIONS = 1.11 dejagnu foreign no-dist subdir-objects
> ./gprof/Makefile.am:AUTOMAKE_OPTIONS = 1.11 foreign no-dist no-texinfo.tex info-in-builddir
> ./opcodes/Makefile.am:AUTOMAKE_OPTIONS = 1.11 foreign no-dist

I simply removed them in my latest version of the patch. I think it is only useful
to put it if you let the user of you Makefile.am use the version of automake they want,
but want to put a lower bound on the version of automake that will work. In our case we
force people to use a specific version anyway...

>> 2. How do I update those */doc/Makefile.in?
>
> Andreas has already given the canonical answer, but something like the
> following should work too.
>
> cd ~/src/binutils-gdb/bfd && automake-1.15 --foreign doc/Makefile
> cd ~/src/binutils-gdb/binutils && automake-1.15 --foreign doc/Makefile
> cd ~/src/binutils-gdb/gas && automake-1.15 --foreign doc/Makefile

Ok, thanks. Maintainer mode does update them, but I was wondering how to
do it by hand.

I'll post a new version once the sync-with-gcc patches are merged.

Simon