bug-autoconf
[Top][All Lists]
Advanced

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

Re: Workaround for bug in QNX4


From: Eric Blake
Subject: Re: Workaround for bug in QNX4
Date: Wed, 12 May 2010 08:32:26 -0600
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100430 Fedora/3.0.4-3.fc13 Lightning/1.0b1 Mnenhy/0.8.2 Thunderbird/3.0.4

[adding autoconf-patches]

On 05/11/2010 10:04 PM, Mark Hessling wrote:
> ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
> 
> grep -c '$' on QNX4 ALWAYS returns 0; this is the bug with grep on QNX4.
> As QNX4 is not fully supported, it is unlikely that this bug will be
> fixed, at least not in the short term.
> 
> However, grep -c '^' works fine on QNX4 (and other platforms I've
> tested).

Thanks for the report.

> Proposed "bug" fix is to replace line 2542
> of /usr/share/autoconf/autoconf/autoconf.m4f and line 406
> of /usr/share/autoconf/autoconf/status.m4 with the following line:
> 
> ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`

Yes, that workaround looks fine.  I'm preparing a followup patch to the
manual to document the bug, then I'll push your patch shortly.

-- 
Eric Blake   address@hidden    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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