* acinclude.m4 (AC_GET_FS_INFO): Specify includes when checking

for sys/mount.h.
This commit is contained in:
Pavel Roskin 2001-08-20 08:11:21 +00:00
parent 19437f2557
commit c6a0eeb4ff
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2001-08-20 Pavel Roskin <proski@gnu.org>
* acinclude.m4 (AC_GET_FS_INFO): Specify includes when checking
for sys/mount.h.
2001-08-19 Andras Timar <timar@gnome.hu> 2001-08-19 Andras Timar <timar@gnome.hu>
* lib/Makefile.am: Added Hungarian hints * lib/Makefile.am: Added Hungarian hints

View File

@ -44,7 +44,11 @@ dnl
AC_DEFUN([AC_GET_FS_INFO], [ 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(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(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 <sys/param.h>
#include <sys/stat.h>
])
AC_CHECK_FUNCS(getmntinfo) AC_CHECK_FUNCS(getmntinfo)
dnl This configure.in code has been stolen from GNU fileutils-3.12. Its dnl This configure.in code has been stolen from GNU fileutils-3.12. Its