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