* 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.
This commit is contained in:
Akim Demaille 2000-05-26 15:59:19 +00:00
parent b2ec218aa8
commit 7ec26d2da4
2 changed files with 33 additions and 0 deletions

View File

@ -1,3 +1,11 @@
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

View File

@ -2786,6 +2786,19 @@ a process ID as an argument. This macro does not check whether
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
@ -2857,6 +2870,18 @@ If the @code{strcoll} function exists and works correctly, define
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