[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Broken makefile given Autoconf version mismatch

From: Noah Misch
Subject: Broken makefile given Autoconf version mismatch
Date: Tue, 11 Apr 2006 12:49:41 -0700
User-agent: Mutt/1.5.6i

`automake' can generate a that does not fit `configure' if the
version of Autoconf it uses to trace `' differs from the version
used to generate `configure'.

Suppose you'll unpack and configure a software distribution bootstrapped with
Autoconf 2.60 and Automake 1.9.6.  You have Autoconf 2.59 and Automake 1.9.6
installed.  You edit some `', and the Automake-supplied rule calls
`automake' and `config.status' to regenerate `' and then `Makefile'.
The Autoconf 2.59 used to trace `' will not recognize `datarootdir'
as a substituted variable, so `' will have no `datarootdir =
@datarootdir@'.  `configure', generated by a newer Autoconf, will substitute
`datadir = ${datarootdir}', yielding an empty `$(datadir)' in makefiles.

Is there something reasonable that we can do to prevent or diagnose this
situation?  Something like [1] is an option, though not too pleasing.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]