This is the mail archive of the automake@gnu.org mailing list for the automake project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Automake 1.6.3 issue


>>>>> "adl" == Alexandre Duret-Lutz <duret_g@lrde.epita.fr> 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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]