Re: Updating top-level autoconf to 2.59

Andreas Schwab
2007-02-13T10:30:41Z

"Maciej W. Rozycki" <macro@linux-mips.org> writes:

> 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@

You don't need the intermediate form. The final form will work for both.

Andreas.

--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, MaxfeldstraÃŸe 5, 90409 NÃ¼rnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."