This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: Automake 1.6.3 issue
- From: Tom Tromey <tromey at redhat dot com>
- To: Alexandre Duret-Lutz <duret_g at lrde dot epita dot fr>
- Cc: Bruce Korb <bkorb at pacbell dot net>, Akim Demaille <akim at epita dot fr>, automake at gnu dot org
- Date: 10 Sep 2002 22:58:34 -0600
- Subject: Re: Automake 1.6.3 issue
- References: <3D73D239.A9D5A86D@pacbell.net><mv4n0qvtqfw.fsf@nostromo.lrde.epita.fr><3D7A3BD5.B649DE1B@pacbell.net><mv4vg5fpmcm.fsf@nostromo.lrde.epita.fr><3D7D435B.7B2E3F3D@pacbell.net><mv4znuq87wi.fsf@nostromo.lrde.epita.fr><3D7DFD73.F88E9E37@pacbell.net><mv4admp7w5j.fsf@nostromo.lrde.epita.fr><3D7E1CC4.4A35883F@pacbell.net><2002-09-10-18-57-50+31582+duret_g@lrde.epita.fr>
- Reply-to: tromey at redhat dot com
>>>>> "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