[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: automake/44: conditional redefinitions (Was: Re: Automake 1.6.3 issu
Re: automake/44: conditional redefinitions (Was: Re: Automake 1.6.3 issue)
Thu, 31 Oct 2002 18:13:18 +0100
Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i386-debian-linux-gnu)
>>> "Akim" == Akim Demaille <address@hidden> writes:
Akim> Nevertheless, I agree a means to install defaults would
Akim> be most welcome.
Akim> I suggest introducing
Akim> foo ?= bar
Akim> Which is always valid, but with a clear semantics.
Assuming your semantic is that of BSD make: "assign unless set" [*],
I can see how this help in
foo = mumble
foo = blurgle
foo ?= else
But I fail to see how you'd use this to override a default
value whose definition has been included from elsewhere.
(Unless inclusions of fragments defining default variables are
done at the end of Makefile.am -- but this raises a few other
[*] IIRC someone once sent a patch against Automake to introduce
`?=' as "assign and allow future redefinitions".