mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-17 18:02:09 +03:00
(gl_FUNC_FTS): New file and macro.
This commit is contained in:
1 parent
59b1c8cfd0
commit
fbd6608072
1 file changed
+38
@@ -0,0 +1,38 @@
|
||||
# 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])
|
||||
])
|
||||
Reference in new issue
Block a user