getcwd: on Solaris, work better if ancestors are inaccessible
[gnulib.git] / m4 / fts.m4
index 33209be..4a4a21e 100644 (file)
--- a/m4/fts.m4
+++ b/m4/fts.m4
@@ -1,5 +1,5 @@
-#serial 16
-dnl Copyright (C) 2005-2009 Free Software Foundation, Inc.
+#serial 18
+dnl Copyright (C) 2005-2010 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.
@@ -9,11 +9,6 @@ AC_DEFUN([gl_FUNC_FTS],
   gl_FUNC_FTS_CORE
 ])
 
-AC_DEFUN([gl_FUNC_FTS_LGPL],
-[
-  gl_FUNC_FTS_CORE
-])
-
 AC_DEFUN([gl_FUNC_FTS_CORE],
 [
   dnl Use this version of fts unconditionally, since the GNU libc and
@@ -21,6 +16,7 @@ AC_DEFUN([gl_FUNC_FTS_CORE],
   AC_LIBOBJ([fts])
 
   dnl Prerequisites of lib/fts.c.
+  AC_REQUIRE([AC_C_INLINE])
   gl_FUNC_OPENAT
 
   AC_CHECK_FUNCS_ONCE([fstatfs])