Mercurial > hg > octave-kai > gnulib-hg
changeset 10552:c063d4d0dd2f
fts.m4: correct the test for statfs.f_type
* m4/fts.m4 (gl_FUNC_FTS_CORE): Include <sys/statfs.h>
when checking for statfs.f_type.
author | Jim Meyering <meyering@redhat.com> |
---|---|
date | Tue, 30 Sep 2008 17:56:01 +0200 |
parents | f8f860488e59 |
children | 0135016b7acd |
files | ChangeLog m4/fts.m4 |
diffstat | 2 files changed, 10 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-09-30 Jim Meyering <meyering@redhat.com> + + fts.m4: correct the test for statfs.f_type + * m4/fts.m4 (gl_FUNC_FTS_CORE): Include <sys/statfs.h> + when checking for statfs.f_type. + 2008-09-15 Simon Josefsson <simon@josefsson.org> tests: avoid some compiler warnings
--- a/m4/fts.m4 +++ b/m4/fts.m4 @@ -1,4 +1,4 @@ -#serial 14 +#serial 15 dnl Copyright (C) 2005-2008 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -25,5 +25,7 @@ AC_CHECK_FUNCS_ONCE([fstatfs]) AC_CHECK_HEADERS_ONCE([sys/param.h sys/vfs])dnl - AC_CHECK_MEMBERS([struct statfs.f_type]) + AC_CHECK_MEMBERS([struct statfs.f_type],,, + [$ac_includes_default + #include <sys/statfs.h>]) ])