2 dnl Copyright (C) 2005, 2006 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],
9 AC_REQUIRE([gl_FUNC_FTS_CORE])
12 AC_DEFUN([gl_FUNC_FTS_LGPL],
14 AC_REQUIRE([gl_FUNC_FTS_CORE])
15 AC_DEFINE([_LGPL_PACKAGE], 1,
16 [Define to 1 if compiling for a package to be distributed under the
17 GNU Lesser Public License.])
20 AC_DEFUN([gl_FUNC_FTS_CORE],
22 dnl Use this version of fts unconditionally, since the GNU libc and
23 dnl NetBSD versions have bugs and/or unnecessary limitations.
26 dnl Prerequisites of lib/fts.c.
27 AC_REQUIRE([gl_FUNC_OPENAT])
29 # Checks for header files.
30 AC_CHECK_HEADERS_ONCE([sys/param.h])dnl