-#serial 44 -*- autoconf -*-
+#serial 48 -*- autoconf -*-
dnl Misc type-related macros for fileutils, sh-utils, textutils.
AC_DEFUN([jm_MACROS],
[
- AC_PREREQ(2.52f)
+ AC_PREREQ(2.52g)
GNU_PACKAGE="GNU $PACKAGE"
AC_DEFINE_UNQUOTED(GNU_PACKAGE, "$GNU_PACKAGE",
AC_REQUIRE([jm_PREREQ])
AC_REQUIRE([UTILS_FUNC_DIRFD])
+ AC_REQUIRE([AC_FUNC_ACL])
AC_REQUIRE([jm_FUNC_LCHOWN])
AC_REQUIRE([fetish_FUNC_RMDIR_NOTEMPTY])
AC_REQUIRE([jm_FUNC_CHOWN])
AC_REPLACE_FUNCS(strcasecmp strncasecmp)
AC_REPLACE_FUNCS(dup2)
AC_REPLACE_FUNCS(gethostname getusershell)
- AC_REPLACE_FUNCS(stime strcspn stpcpy strstr strtol strtoul)
+ AC_REPLACE_FUNCS(sig2str)
+ AC_REPLACE_FUNCS(strcspn stpcpy strstr strtol strtoul)
AC_REPLACE_FUNCS(strpbrk)
AC_REPLACE_FUNCS(euidaccess memcmp rmdir rpmatch strndup strverscmp)
AC_REPLACE_FUNCS(atexit)
- AC_REPLACE_FUNCS(strnlen)
AC_REPLACE_FUNCS(getpass)
dnl used by e.g. intl/*domain.c and lib/canon-host.c
AC_SEARCH_LIBS(clock_gettime, [rt posix4],
[LIB_CLOCK_GETTIME=$ac_cv_search_clock_gettime])
AC_SUBST(LIB_CLOCK_GETTIME)
- AC_CHECK_FUNCS(clock_gettime)
+ AC_CHECK_FUNCS(clock_gettime clock_settime)
LIBS=$fetish_saved_libs
AC_CHECK_FUNCS(gettimeofday)
AC_FUNC_GETTIMEOFDAY_CLOBBER
AC_REQUIRE([jm_FUNC_UTIME])
AC_CHECK_FUNCS( \
- acl \
bcopy \
canonicalize_file_name \
endgrent \
AC_FUNC_OBSTACK
AC_FUNC_STRTOD
- AC_FUNC_STRNLEN
# See if linking `seq' requires -lm.
# It does on nearly every system. The single exception (so far) is
fcntl.h \
fenv.h \
float.h \
+ hurd.h \
limits.h \
memory.h \
mntent.h \
stddef.h \
stdint.h \
string.h \
- sys/acl.h \
sys/filsys.h \
sys/fs/s5param.h \
sys/fs_types.h \
dnl Checks for typedefs, structures, and compiler characteristics.
AC_REQUIRE([AC_C_BIGENDIAN])
- AC_REQUIRE([AC_PROG_CC_STDC])
AC_REQUIRE([AC_C_CONST])
AC_REQUIRE([AC_C_VOLATILE])
AC_REQUIRE([AC_C_INLINE])
AC_REQUIRE([jm_CHECK_ALL_HEADERS])
AC_REQUIRE([AC_HEADER_DIRENT])
AC_REQUIRE([AC_HEADER_STDC])
- AC_CHECK_MEMBERS([struct stat.st_blksize],,,[$ac_includes_default
+ AC_CHECK_MEMBERS(
+ [struct stat.st_author,
+ struct stat.st_blksize],,,
+ [$ac_includes_default
#include <sys/stat.h>
])
AC_REQUIRE([AC_STRUCT_ST_BLOCKS])