From c6a0eeb4ff83b219c3e087c8457c8c73d8817d27 Mon Sep 17 00:00:00 2001 From: Pavel Roskin Date: Mon, 20 Aug 2001 08:11:21 +0000 Subject: [PATCH] * acinclude.m4 (AC_GET_FS_INFO): Specify includes when checking for sys/mount.h. --- ChangeLog | 5 +++++ acinclude.m4 | 6 +++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index b8440e6f1..940e3093e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2001-08-20 Pavel Roskin + + * acinclude.m4 (AC_GET_FS_INFO): Specify includes when checking + for sys/mount.h. + 2001-08-19 Andras Timar * lib/Makefile.am: Added Hungarian hints diff --git a/acinclude.m4 b/acinclude.m4 index 7ee803127..91999cc7d 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -44,7 +44,11 @@ dnl AC_DEFUN([AC_GET_FS_INFO], [ AC_CHECK_HEADERS(fcntl.h sys/dustat.h sys/param.h sys/statfs.h sys/fstyp.h) AC_CHECK_HEADERS(mnttab.h mntent.h utime.h sys/statvfs.h sys/vfs.h) - AC_CHECK_HEADERS(sys/mount.h sys/filsys.h sys/fs_types.h) + AC_CHECK_HEADERS(sys/filsys.h sys/fs_types.h) + AC_CHECK_HEADERS(sys/mount.h, , , [ +#include +#include + ]) AC_CHECK_FUNCS(getmntinfo) dnl This configure.in code has been stolen from GNU fileutils-3.12. Its