[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Automake 1.6.3 issue
From: |
Tom Tromey |
Subject: |
Re: Automake 1.6.3 issue |
Date: |
10 Sep 2002 22:58:34 -0600 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 |
>>>>> "adl" == Alexandre Duret-Lutz <address@hidden> writes:
adl> You are alowed to overwrite the variable if you want, but only in
adl> the condition where it was initially defined. I.e., you can do
adl> pkgincludedir = something
adl> but you can't do
adl> if INSTALL_SNPRINTFV
adl> pkgincludedir = something
adl> endif
I've long thought that we should, eventually, support the latter use.
It seems to have a clearly defined meaning. And it is even useful in
some situations. For instance, suppose in a very large project you
want to `include' some boilerplate. Then you might conditionally
override some value or another in a particular Makefile.am.
Before Akim's rewrite of variable handling, we really couldn't do
this. We just didn't have the internal abstractions. Now it might be
possible, but I haven't looked.
Tom