2 dnl Copyright (C) 2005-2010 Free Software Foundation, Inc.
3 dnl This file is free software; the Free Software Foundation
4 dnl gives unlimited permission to copy and/or distribute it,
5 dnl with or without modifications, as long as this notice is preserved.
7 AC_DEFUN([gl_FUNC_FTS],
12 AC_DEFUN([gl_FUNC_FTS_CORE],
14 dnl Use this version of fts unconditionally, since the GNU libc and
15 dnl NetBSD versions have bugs and/or unnecessary limitations.
18 dnl Prerequisites of lib/fts.c.
19 AC_REQUIRE([AC_C_INLINE])
22 AC_CHECK_FUNCS_ONCE([fstatfs])
23 AC_CHECK_HEADERS_ONCE([sys/param.h sys/vfs.h])dnl
24 AC_CHECK_MEMBERS([struct statfs.f_type],,,
26 #include <sys/vfs.h>])