[prev in list] [next in list] [prev in thread] [next in thread] 

List:       autoconf-bug
Subject:    Re: Workaround for bug in QNX4
From:       Eric Blake <eblake () redhat ! com>
Date:       2010-05-12 14:32:26
Message-ID: 4BEABBFA.1020706 () redhat ! com
[Download RAW message or body]


[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   eblake@redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org


["signature.asc" (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic