Tizen 2.0 Release
[external/tizen-coreutils.git] / m4 / fts.m4
1 #serial 13
2 dnl Copyright (C) 2005-2007 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.
6
7 AC_DEFUN([gl_FUNC_FTS],
8 [
9   gl_FUNC_FTS_CORE
10 ])
11
12 AC_DEFUN([gl_FUNC_FTS_LGPL],
13 [
14   gl_FUNC_FTS_CORE
15 ])
16
17 AC_DEFUN([gl_FUNC_FTS_CORE],
18 [
19   dnl Use this version of fts unconditionally, since the GNU libc and
20   dnl NetBSD versions have bugs and/or unnecessary limitations.
21   AC_LIBOBJ([fts])
22
23   dnl Prerequisites of lib/fts.c.
24   gl_FUNC_OPENAT
25
26   # Checks for header files.
27   AC_CHECK_HEADERS_ONCE([sys/param.h])dnl
28 ])