Akim Demaille writes:
> This behavior is mandated by the GNU coding standards, so that when
> the user runs:
>
> `make'
> she can still specify a different prefix from the one specified to
> `configure', in which case, if needed, the package shall hard code
> dependencies to her late desires.
I fail to find the section of the GNU standards where this is mandated.
> A corollary is that you should not use these variables but in
> Makefiles. For instance, instead of trying to evaluate `datadir' in
> `configure' and hardcoding it in Makefiles using e.g.
> `AC_DEFINE_UNQUOTED(DATADIR, "$datadir")', you should add
> `-DDATADIR="$(datadir)"' to your `CFLAGS'.
That should be CPPFLAGS.
--
Peter Eisentraut [EMAIL PROTECTED] http://funkturm.homeip.net/~peter