source: trunk/essentials/sys-apps/findutils/gnulib/m4/fts.m4

Last change on this file was 3170, checked in by bird, 18 years ago

findutils 4.3.2

File size: 860 bytes
Line 
1#serial 11
2dnl Copyright (C) 2005, 2006 Free Software Foundation, Inc.
3dnl This file is free software; the Free Software Foundation
4dnl gives unlimited permission to copy and/or distribute it,
5dnl with or without modifications, as long as this notice is preserved.
6
7AC_DEFUN([gl_FUNC_FTS],
8[
9 AC_REQUIRE([gl_FUNC_FTS_CORE])
10])
11
12AC_DEFUN([gl_FUNC_FTS_LGPL],
13[
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.])
18])
19
20AC_DEFUN([gl_FUNC_FTS_CORE],
21[
22 dnl Use this version of fts unconditionally, since the GNU libc and
23 dnl NetBSD versions have bugs and/or unnecessary limitations.
24 AC_LIBOBJ([fts])
25
26 dnl Prerequisites of lib/fts.c.
27 AC_REQUIRE([gl_FUNC_OPENAT])
28
29 # Checks for header files.
30 AC_CHECK_HEADERS_ONCE([sys/param.h])dnl
31])
Note: See TracBrowser for help on using the repository browser.