+2011-07-24 Bruno Haible <bruno@clisp.org>
+
+ fsusage: Support large volumes on glibc/Hurd, HP-UX, Solaris, MacOS X.
+ * m4/fsusage.m4 (gl_FILE_SYSTEM_USAGE): Require AC_SYS_LARGEFILE.
+ * modules/fsusage (Depends-on): Add largefile.
+
2011-07-24 Paul Eggert <eggert@cs.ucla.edu>
* README: Modernize discussion of signed integers.
-# serial 28
+# serial 29
# Obtaining file system usage information.
# Copyright (C) 1997-1998, 2000-2001, 2003-2011 Free Software Foundation, Inc.
AC_DEFUN([gl_FILE_SYSTEM_USAGE],
[
+dnl Enable large-file support. This has the effect of changing the size
+dnl of field f_blocks in 'struct statvfs' from 32 bit to 64 bit on
+dnl glibc/Hurd, HP-UX 11, Solaris (32-bit mode). It also changes the size
+dnl of field f_blocks in 'struct statfs' from 32 bit to 64 bit on
+dnl MacOS X >= 10.5 (32-bit mode).
+AC_REQUIRE([AC_SYS_LARGEFILE])
AC_MSG_NOTICE([checking how to get file system space usage])
ac_fsusage_space=no