view m4/fts.m4 @ 7185:90f5608d1c64

* stdint_h.m4 (gl_AC_HEADER_STDINT_H): Avoid compiler warning. * inttypes_h.m4 (gl_AC_HEADER_INTTYPES_H): Likewise. * longlong.m4 (AC_TYPE_LONG_LONG_INT): Likewise. * intmax_t.m4 (gt_AC_TYPE_INTMAX_T): Likewise.
author Paul Eggert <eggert@cs.ucla.edu>
date Tue, 22 Aug 2006 21:16:36 +0000
parents be9e01d008cb
children 10432bdf90d3
line wrap: on
line source

#serial 11
dnl Copyright (C) 2005, 2006 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_REQUIRE([gl_FUNC_FTS_CORE])
])

AC_DEFUN([gl_FUNC_FTS_LGPL],
[
  AC_REQUIRE([gl_FUNC_FTS_CORE])
  AC_DEFINE([_LGPL_PACKAGE], 1,
    [Define to 1 if compiling for a package to be distributed under the
     GNU Lesser Public License.])
])

AC_DEFUN([gl_FUNC_FTS_CORE],
[
  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.
  AC_REQUIRE([gl_FUNC_OPENAT])

  # Checks for header files.
  AC_CHECK_HEADERS_ONCE([sys/param.h])dnl
])