[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: AC_FUNC_STRTOD
From: |
Eric Blake |
Subject: |
Re: AC_FUNC_STRTOD |
Date: |
Mon, 14 Jun 2010 14:30:38 -0600 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100430 Fedora/3.0.4-3.fc13 Lightning/1.0b2pre Mnenhy/0.8.2 Thunderbird/3.0.4 |
On 06/14/2010 01:56 PM, Bruno Haible wrote:
>> 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?
>
> I don't think this would be better. The gnulib development of the last 7 years
> has shown that the autoconf macro that detects bugs of a system function and
> the replacement code that contains the workarounds to these bugs belong
> together and are best maintained together. It makes no sense to me to put the
> two files into different projects - autoconf and gnulib.
>
> At this point, it would be a good idea to mark all AC_FUNC_* macros that
> request an AC_LIBOBJ replacement as obsolete and refer the user to Gnulib
> for both the macro and the workaround code (and the documentation).
> Except maybe AC_FUNC_MALLOC and AC_FUNC_REALLOC, because the replacement
> code for them is so trivial that anyone can make it up himself.
Good argument. Are you able to write that patch soon, or should I
tackle it?
> The affected macros are:
> - AC_FUNC_ERROR_AT_LINE
> - AC_FUNC_GETLOADAVG
> - AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK
> - AC_FUNC_MEMCMP
> - AC_FUNC_MKTIME
> - AC_FUNC_OBSTACK
> - AC_FUNC_STAT, AC_FUNC_LSTAT
> - AC_FUNC_STRTOD
> - AC_FUNC_STRNLEN
> - AC_REPLACE_FNMATCH
Looks like a reasonable list.
--
Eric Blake address@hidden +1-801-349-2682
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
- [PATCH] bypass broken inline strtod() definition in <stdlib.h> on Mingw, Ben Pfaff, 2010/06/11
- Re: [PATCH] bypass broken inline strtod() definition in <stdlib.h> on Mingw, Ben Pfaff, 2010/06/14
- Re: [PATCH] bypass broken inline strtod() definition in <stdlib.h> on Mingw, Bruno Haible, 2010/06/15
- Re: [PATCH] bypass broken inline strtod() definition in <stdlib.h> on Mingw, Ben Pfaff, 2010/06/15
- Re: [PATCH] bypass broken inline strtod() definition in <stdlib.h> on Mingw, Ben Pfaff, 2010/06/14