autoconf-patches
[Top][All Lists]
Advanced

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

Re: more efficient AS_EXIT


From: Paolo Bonzini
Subject: Re: more efficient AS_EXIT
Date: Fri, 21 Nov 2008 11:43:11 +0100
User-agent: Thunderbird 2.0.0.18 (Macintosh/20081105)

> Those are some good arguments.  But changing the default for AS_EXIT to allow 
> a 
> 0 status means that AS_ERROR also needs to be changed.

Yes, that's what I meant by

>>>> Our own m4sh.m4 is the only user of AS_EXIT without arguments.

(And actually autoconf.as too, but that's also part of Autoconf).

> So what do you think of 
> this, which moves the max($?,1) logic into AS_ERROR?

Very nice.

>         AS_ECHO(["$as_me: invalid option $[1]"])

As a follow up, these (and many other AS_ECHOs) could be changed to
AS_MESSAGE.

Paolo




reply via email to

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