autoconf-patches
[Top][All Lists]
Advanced

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

Re: [PATCH] Yet another shell function prerequisite!


From: Paolo Bonzini
Subject: Re: [PATCH] Yet another shell function prerequisite!
Date: Mon, 13 Oct 2008 19:37:09 +0200
User-agent: Thunderbird 2.0.0.17 (Macintosh/20080914)

Paolo Bonzini wrote:
> Eric Blake wrote:
>> Paolo Bonzini <bonzini <at> gnu.org> writes:
>>
>>> -_AS_ECHO([$as_me:$LINENO: $1], [AS_MESSAGE_LOG_FD])])
>>> +_AS_ECHO([$as_me:${as_lineno:-$LINENO}: $1], [AS_MESSAGE_LOG_FD])])
>> Actually, the manual states that ${as_lineno:-$LINENO} is not portable; we 
>> have 
>> to stick with ${as_lineno-$LINENO} or with a more complex expression.
> 
> I'd okay with -, but what if unset does not work?  I planned to do
> something like
> 
>   as_lineno=; AS_UNSET([as_lineno])
> 
> but that could expand to
> 
>   as_lineno=; false as_lineno
> 
> Do we still care about "old BSD shells, including the Ultrix sh"?  How
> old are these?

For the record, Ultrix = 4.2BSD descendent.  If OSF/1 is not in the list
and is 4.3BSD, and SunOS 4 is also 4.3BSD...

Paolo




reply via email to

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