On 06/14/2010 12:01 PM, Ben Pfaff wrote:
> Eric Blake <ebl...@redhat.com> writes:
> 
>> Or even better, why not push those two tests upstream into autoconf,
>> then have gnulib override AC_FUNC_STRTOD if it detects older autoconf,
>> so that everyone using upstream AC_FUNC_STRTOD can reliably detect these
>> same bugs?
> 
> The strtod() tests that are currently in gl_FUNC_STRTOD, but not
> in AC_FUNC_STRTOD, are tests for C99 features that are not in
> C90.  The Autoconf manual's description of AC_FUNC_STRTOD says
> only that it tests that strtod() works "correctly", but it does
> not say what standard it is testing against.  Is it appropriate
> for AC_FUNC_STRTOD to start requiring a C99-compliant strtod()?

Given that autoconf's AC_FUNC_STRTOLD checks for a C99-compliant
strtold, I'd say yes.

-- 
Eric Blake   ebl...@redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to