Mercurial > hg > octave-nkf > gnulib-hg
annotate m4/fts.m4 @ 13129:3a2049062a71
time_r: Fix C++ test error on mingw.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Sat, 03 Apr 2010 18:52:49 +0200 |
parents | 41c34f933d77 |
children | 97fc9a21a8fb |
rev | line source |
---|---|
12907
41c34f933d77
fts-lgpl: remove unused module
Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
parents:
12559
diff
changeset
|
1 #serial 18 |
12559
c2cbabec01dd
update nearly all FSF copyright year lists to include 2010
Jim Meyering <meyering@redhat.com>
parents:
12542
diff
changeset
|
2 dnl Copyright (C) 2005-2010 Free Software Foundation, Inc. |
5859 | 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 [ | |
7942
9b53e406b401
2007-01-24 Bruno Haible <bruno@clisp.org>
Bruno Haible <bruno@clisp.org>
parents:
7797
diff
changeset
|
9 gl_FUNC_FTS_CORE |
5872 | 10 ]) |
11 | |
12 AC_DEFUN([gl_FUNC_FTS_CORE], | |
13 [ | |
5859 | 14 dnl Use this version of fts unconditionally, since the GNU libc and |
15 dnl NetBSD versions have bugs and/or unnecessary limitations. | |
16 AC_LIBOBJ([fts]) | |
17 | |
18 dnl Prerequisites of lib/fts.c. | |
12542
ea823743f290
Use AC_C_INLINE where necessary.
Bruno Haible <bruno@clisp.org>
parents:
12518
diff
changeset
|
19 AC_REQUIRE([AC_C_INLINE]) |
7942
9b53e406b401
2007-01-24 Bruno Haible <bruno@clisp.org>
Bruno Haible <bruno@clisp.org>
parents:
7797
diff
changeset
|
20 gl_FUNC_OPENAT |
5859 | 21 |
10481
47fe4e48e158
fts: sort dirent entries on inode number before traversing
Jim Meyering <meyering@redhat.com>
parents:
7942
diff
changeset
|
22 AC_CHECK_FUNCS_ONCE([fstatfs]) |
10564 | 23 AC_CHECK_HEADERS_ONCE([sys/param.h sys/vfs.h])dnl |
10552
c063d4d0dd2f
fts.m4: correct the test for statfs.f_type
Jim Meyering <meyering@redhat.com>
parents:
10481
diff
changeset
|
24 AC_CHECK_MEMBERS([struct statfs.f_type],,, |
c063d4d0dd2f
fts.m4: correct the test for statfs.f_type
Jim Meyering <meyering@redhat.com>
parents:
10481
diff
changeset
|
25 [$ac_includes_default |
10564 | 26 #include <sys/vfs.h>]) |
5859 | 27 ]) |