2010-09-17 Bruno Haible <bruno@clisp.org>
+ docs: mark several macros obsolete
+ * doc/autoconf.texi (Particular Functions): Mark AC_FUNC_ERROR_AT_LINE,
+ AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK, AC_FUNC_MKTIME, AC_FUNC_STRTOD
+ as obsolete and refer to Gnulib.
+ * NEWS: Mention the change.
+
AC_FUNC_STRNLEN: more realistic cross-compilation guess
* lib/autoconf/functions.m4 (AC_FUNC_STRNLEN): Require
AC_CANONICAL_HOST. When cross-compiling, guess it works everywhere
** AC_FC_LIBRARY_LDFLAGS now tolerates output from newer gfortran.
+** Newly obsolete macros
+ The following macros have been marked obsolete. New programs
+ should use the corresponding Gnulib modules. Gnulib not only
+ detects a larger set of portability problems with these functions,
+ but also provides complete workarounds.
+
+ AC_FUNC_ERROR_AT_LINE AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK
+ AC_FUNC_MKTIME AC_FUNC_STRTOD
+
* Major changes in Autoconf 2.67 (2010-07-21) [stable]
Released by Eric Blake, based on git versions 2.66.*.
The result of this macro is cached in the @code{ac_cv_lib_error_at_line}
variable.
+
+The @code{AC_FUNC_ERROR_AT_LINE} macro is obsolescent. New programs
+should use Gnulib's @code{error} module. @xref{Gnulib}.
@end defmac
@defmac AC_FUNC_FNMATCH
The result of this macro is cached in the
@code{ac_cv_func_lstat_dereferences_slashed_symlink} variable.
+
+The @code{AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK} macro is obsolescent.
+New programs should use Gnulib's @code{lstat} module. @xref{Gnulib}.
@end defmac
@defmac AC_FUNC_MALLOC
The result of this macro is cached in the
@code{ac_cv_func_working_mktime} variable.
+
+The @code{AC_FUNC_MKTIME} macro is obsolescent. New programs should
+use Gnulib's @code{mktime} module. @xref{Gnulib}.
@end defmac
@anchor{AC_FUNC_MMAP}
This macro caches its result in the @code{ac_cv_func_strtod} variable
and depends upon the result in the @code{ac_cv_func_pow} variable.
+
+The @code{AC_FUNC_STRTOD} macro is obsolescent. New programs should
+use Gnulib's @code{strtod} module. @xref{Gnulib}.
@end defmac
@defmac AC_FUNC_STRTOLD