mirror of
git://git.sv.gnu.org/coreutils.git
synced 2026-04-20 18:56:39 +02:00
39 lines
1.0 KiB
Plaintext
39 lines
1.0 KiB
Plaintext
# closeout.m4 serial 1
|
|
dnl Copyright (C) 2005 Free Software Foundation, Inc.
|
|
dnl This file is free software; the Free Software Foundation
|
|
dnl gives unlimited permission to copy and/or distribute it,
|
|
dnl with or without modifications, as long as this notice is preserved.
|
|
|
|
AC_DEFUN([gl_FUNC_FTS],
|
|
[
|
|
AC_LIBSOURCES([fts.c, fts_.h])
|
|
|
|
dnl Use this version of fts unconditionally, since the GNU libc and
|
|
dnl NetBSD versions have bugs and/or unnecessary limitations.
|
|
AC_LIBOBJ([fts])
|
|
|
|
dnl Prerequisites of lib/fts.c.
|
|
|
|
# Checks for header files.
|
|
AC_HEADER_DIRENT
|
|
AC_HEADER_STDC
|
|
AC_CHECK_HEADERS([fcntl.h inttypes.h stddef.h stdint.h
|
|
stdlib.h string.h sys/param.h unistd.h])
|
|
|
|
# Checks for typedefs, structures, and compiler characteristics.
|
|
AM_STDBOOL_H
|
|
AC_C_CONST
|
|
AC_TYPE_SIZE_T
|
|
AC_CHECK_TYPES([ptrdiff_t])
|
|
gt_INTTYPES_PRI
|
|
|
|
# Checks for library functions.
|
|
AC_FUNC_CLOSEDIR_VOID
|
|
AC_FUNC_LSTAT
|
|
AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK
|
|
AC_FUNC_MALLOC
|
|
AC_FUNC_REALLOC
|
|
AC_FUNC_STAT
|
|
AC_CHECK_FUNCS([fchdir memmove memset strrchr])
|
|
])
|