+2000-05-26 Akim Demaille <akim@epita.fr>
+
+ * acspecific.m4 (AC_FUNC_STRERROR_R): New, from `strerror_r.m4',
+ serial 2, by Jim Meyering.
+ (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK): New, from
+ `lstat-slash.m4', serial 1, by Jim Meyering.
+ * acfunctions: Adjust.
+
2000-05-26 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_CHECK_TOOLS): Don't require
first call @code{AC_CHECK_FUNC} for @code{getpgrp}.
@end defmac
+@defmac AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK
+@maindex FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK
+@cvindex LSTAT_FOLLOWS_SLASHED_SYMLINK
+According to @sc{posix}, if @file{link} is a symlink to an
+@file{entity}, then @code{lstat} must return information on the
+@file{entity} (not on @file{link}) when called on @file{"link/"}, i.e.,
+when the trailing slash is given.
+
+If @code{lstat} behaves properly, define
+@code{LSTAT_FOLLOWS_SLASHED_SYMLINK}, otherwise require an
+@code{AC_LIBOBJ} replacement of @code{lstat}.
+@end defmac
+
@defmac AC_FUNC_MALLOC
@maindex FUNC_MALLOC
If the @code{malloc} works correctly (@samp{malloc (0)} returns a valid
definitions of @code{strcoll}, which should not be used.
@end defmac
+@defmac AC_FUNC_STRERROR_R
+@maindex FUNC_STRERROR_R
+@cvindex HAVE_STRERROR_R
+@cvindex HAVE_WORKING_STRERROR_R
+If @code{strerror_r} is available, define @code{HAVE_STRERROR_R}. If
+its implementation correctly returns a @code{char *}, define
+@code{HAVE_WORKING_STRERROR_R}. On at least DEC UNIX 4.0[A-D] and HP-UX
+B.10.20, @code{strerror_r} returns @code{int}. Actually, this tests
+only whether it returns a scalar or an array, but that should be enough.
+This is used by the common @file{error.c}.
+@end defmac
+
@defmac AC_FUNC_STRFTIME
@maindex FUNC_STRFTIME
@cvindex HAVE_STRFTIME