autoconf-patches
[Top][All Lists]
Advanced

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

Re: AS_EXIT and default value


From: Ralf Wildenhues
Subject: Re: AS_EXIT and default value
Date: Sat, 25 Jul 2009 09:41:32 +0200
User-agent: Mutt/1.5.20 (2009-06-15)

Hi Eric,

* Eric Blake wrote on Sat, Jul 25, 2009 at 03:02:50AM CEST:
> According to Ralf Wildenhues on 7/24/2009 2:39 PM:
> > Do you see any other way out except to undo the move to use a shell
> > function for AS_EXIT (740062eb42)?
> 
> Yep - by always passing an argument to the function (that is, doing the
> defaulting in m4sugar rather than in shell), as follows:

Thanks, that fixes this failure and makes the test group skip
(harmlessly) in the last AT_CHECK.

Cheers,
Ralf

> Subject: [PATCH] Fix AS_EXIT for FreeBSD sh.
> 
> * lib/m4sugar/m4sh.m4 (AS_EXIT): Always supply an argument to the
> shell function, since $? is not reliable on function entry.
> (_AS_EXIT_PREPARE): Simplify to assume argument.




reply via email to

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