GNU bug report logs - #10237
AM_SILENT_RULES does not work with NonStop make

Previous Next

Package: automake;

Reported by: Paul Eggert <eggert <at> cs.ucla.edu>

Date: Tue, 6 Dec 2011 17:53:02 UTC

Severity: minor

Tags: patch

Done: Stefano Lattarini <stefano.lattarini <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #51 received at 10237 <at> debbugs.gnu.org (full text, mbox):

From: "Daniel Richard G." <skunk <at> iSKUNK.ORG>
To: "Paul Eggert" <eggert <at> cs.ucla.edu>
Cc: Stefano Lattarini <stefano.lattarini <at> gmail.com>,
	Eric Blake <eblake <at> redhat.com>, 10237 <at> debbugs.gnu.org
Subject: Re: bug#10237: AM_SILENT_RULES does not work with NonStop make
Date: Tue, 06 Dec 2011 22:20:11 -0500
On Tue, 2011 Dec  6 16:15-0800, Paul Eggert wrote:
> On 12/06/11 15:16, Daniel Richard G. wrote:
>
> > (Paul: Does $({}) work on NonStop?)
> 
> I don't know, sorry.
> 
> I wanted a solution that worked
> on any POSIX platform -- POSIX 2008 says that
> $(aaa${bbb}) is just as unspecified as
> $(aaa$(bbb)) is, and I wanted to play it safe.
> 
> Part of this is my experience with implementers who
> code from the spec, so that their implementations'
> quirks are not necessarily those of the historical
> code.

Unless an implementation forgets to allow curly-braces altogether,
however, I don't see why this wouldn't work. I've certainly seen
projects that use ${...} as the general convention. It would have to be
a pretty naive make implementation to not support that.

As I see it, the only real way to play it safe here, per POSIX, is to
forgo the use of nested variables altogether.


--Daniel


-- 
Daniel Richard G. || skunk <at> iSKUNK.ORG
My ASCII-art .sig got a bad case of Times New Roman.




This bug report was last modified 13 years and 145 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.