make-alpha
[Top][All Lists]
Advanced

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

Re: .ONESHELL enhancement?


From: Matt McCutchen
Subject: Re: .ONESHELL enhancement?
Date: Mon, 05 Oct 2009 03:00:08 -0400

On Mon, 2009-10-05 at 08:44 +0200, Ralf Wildenhues wrote:
> * Matt McCutchen wrote on Mon, Oct 05, 2009 at 08:06:10AM CEST:
> > Yes.  I suppose this is the real problem: if automake generates a
> > multiline command script that relies on shell state not being preserved,
> > it would have to add parentheses to work in .ONESHELL mode, but that
> > would be slow on Cygwin.  IMO, the solution is for automake to avoid
> > generating such scripts by splitting the lines into separate targets.
> > Code generated by automake is already subject to many portability
> > constraints; what's one more?  :D
> 
> We try to avoid portability constraints stemming from GNU tools (and
> other free software tools) by fixing these tools instead.

I don't see any way to avoid the problem on the make side without losing
the essential benefits of .ONESHELL.  Do you?  If not, then our options
are to change automake or leave it incompatible with .ONESHELL.

> Also, a split
> into separate targets has other implications beside avoiding this issue.

Specifics, please.

-- 
Matt





reply via email to

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