Re: Updating top-level autoconf to 2.59

Maciej W. Rozycki
2007-02-13T09:25:42Z

On Fri, 9 Feb 2007, Tom Tromey wrote:

> Maciej> Indeed, though they are not fatal. Perhaps Makefile.in files
> Maciej> in the affected directories (Makefile.am are OK as
> Maciej> sufficiently new automake will deal with that) could get
> Maciej> updated beforehand? It should not hurt at all.
>
> I think automake 1.10 requires the new autoconf. So, Makefile.ins
> can't be updated first.

Well, adding a definition of the $(datarootdir) variable like this:

datarootdir = @datadir@
datadir = $(datarootdir)

should not require any updates for tools and can then be converted to the
final form of:

datarootdir = @datarootdir@
datadir = @datadir@

for Makefile.in or removed altogether for Makefile.am files once the tools
have been updated. At least it seems to work on my system. :-)

Maciej