>>>>> "adl" == Alexandre Duret-Lutz <[EMAIL PROTECTED]> 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


Reply via email to