[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Conditional append

From: J.T. Conklin
Subject: Re: Conditional append
Date: Mon, 10 Jan 2005 12:03:21 -0800
User-agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Security Through Obscurity, berkeley-unix)

Shaun Jackman <address@hidden> writes:
> Thanks Stepan. I'm going to go with your latter suggestion, since it
> doesn't require modifying all the other This seems like a
> rather arbitrary limitation of automake though. Is there any reason
> why the append operator shouldn't treat an undefined variable as
> empty?

I wish it would.  IMO, the current behavior violates the principal of
least surprise.

ACE & TAO use MPC (Make Project Creator) to generate Makefile's,'s, MSVC++ project files, etc. from a common set of *.mpc
files.  MPC's automake module has a lot of otherwise unecessary code
to track whether a given automake principal has been output in order
to use "=" or "+=".  

All that cruft could be removed if automake interpreted "+=" of a
previously unseen variable as an assignment.


J.T. Conklin

reply via email to

[Prev in Thread] Current Thread [Next in Thread]