Subject: Re: bug#7689: Fwd: Due for a new release?

From: Philip Prindeville <[email-masked]>
Date: Wed, 22 Dec 2010 16:15:32 -0800

On 12/22/10 3:24 PM, Stefano Lattarini wrote:
> tags 7689 notabug
> close 7689
> thanks
>
> On Monday 20 December 2010, Philip Prindeville wrote:
>> The odd thing is that even though it complains, it still generates the correct Makefile in the first case:
>>
>> SYMFILES = $(srcdir)/uni.h $(shell $(CC) $(CFLAGS) -E $(srcdir)/header.c | $(AWK) -f $(srcdir)/script.awk)
>>
>> Does automake need to be $(shell ...)-aware?
>>
> This is not a bug, as Nick has clearly explained here (BTW, thanks
> Nick for this!):
>   <http://lists.gnu.org/archive/html/automake/2010-12/msg00051.html>
>
> So I'm closing it.
>
> Philip, if you've been confused on this issue by the automake manual,
> and have specific complaints or suggestions for improvement, feel free
> to open a new bug report.  Thanks.
>
> Regards,
>    Stefano

No, not confused.  Just seems counter-intuitive that a GNU utility would have the default behavior of complaining when you use other GNU utilities... or syntax particular to them.

It might make more sense to have automake assume that it is being used with gmake, and then have a specific option to explicitly turn off that behavior.