>>>>> "Alexandre" == Alexandre Oliva <[EMAIL PROTECTED]> writes:

Alexandre> On Apr 18, 2001, Akim Demaille <[EMAIL PROTECTED]> wrote:
>> Unfortunately it is quite unrealistic wrt the implementation:
>> Automake values are read _after_ Makefile.am was.  Supporting this
>> would be hard, and I am not sure it would bring really bonus.

Alexandre> How about this: when you find FOO += bar but FOO is not
Alexandre> initialized, replace it with FOO = @FOO@ bar.  It would
Alexandre> probably cover the most interesting cases, no?  Hmm...  Not
Alexandre> the case of DEFS :-(

Alexandre> How about adding a mark, such as @+FOO@, that you'd replace
Alexandre> with the contents automake would set by default, when it
Alexandre> gets to the point of setting the defaults?

But then, what will you do when a variable is defined conditionally by
the user, and not by Automake?  And the converse?

It also means we will have to keep some form of compatibility with
*possibly modified* variables!


Really, not only would this be hard to implement, but the semantics in
itself is not clear.  I personally agree very much with the current
status of Automake: either you don't play with its variables and it
does the whole job, or you take the responsibility of maintaining
something by yourself, but then you take over the whole maintenance.
Anything in between is hair.

Reply via email to