bug-gnulib
[Top][All Lists]
Advanced

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

Re: AC_FUNC_STRTOD


From: Paolo Bonzini
Subject: Re: AC_FUNC_STRTOD
Date: Tue, 15 Jun 2010 20:54:35 +0200
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 Thunderbird/3.0.4

On 06/14/2010 09:56 PM, Bruno Haible wrote:
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.

Agreed.

The affected macros are:
   - AC_FUNC_ERROR_AT_LINE

If you're interested in this, you're likely using gnulib anyway nowadays.

>    - AC_FUNC_STRTOD
>    - AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK
>    - AC_FUNC_MKTIME
>    - AC_FUNC_STAT, AC_FUNC_LSTAT
>    - AC_FUNC_GETLOADAVG
>    - AC_REPLACE_FNMATCH

I don't think anyone knows even how to use these, i.e. where to get the replacement (I think it was meant to be taken from libit...). At this point using gnulib is better.

>    - AC_FUNC_MEMCMP

This one should have been made obsolescent already, shouldn't it? (Given the gnulib module is).

>    - AC_FUNC_STRNLEN

This maybe falls in the same group as AC_FUNC_MALLOC/AC_FUNC_REALLOC.

   - AC_FUNC_OBSTACK

This one I would leave in too, obstacks are pretty self contained and I think it is the most likely used in the wild.

Paolo



reply via email to

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