diff m4/fileblocks.m4 @ 14902:16c748720b01

New module 'stat-size'. * modules/stat-size: New module. Provides macros for accessing file size information in instances of struct stat. Depends on the fileblocks module because it calls st_blocks. * lib/stat-size.h: New file, adapted from coreutils' system.h. * doc/gnulib.texi: Include stat-size.texi. * doc/stat-size.texi: Documentation for this module. * m4/stat-size.m4: New file; defines gl_STAT_SIZE. * m4/fileblocks.m4: Mention that stat-size depends on the call to AC_STRUCT_ST_BLOCKS.
author James Youngman <jay@gnu.org>
date Sat, 11 Jun 2011 01:15:39 +0100 (2011-06-11)
parents 97fc9a21a8fb
children c400cbc2e1e5
line wrap: on
line diff
--- a/m4/fileblocks.m4
+++ b/m4/fileblocks.m4
@@ -8,6 +8,10 @@
 [
   AC_STRUCT_ST_BLOCKS
   dnl Note: AC_STRUCT_ST_BLOCKS does AC_LIBOBJ([fileblocks]).
+  dnl The stat-size module depends on this one and also assumes that
+  dnl HAVE_STRUCT_STAT_ST_BLOCKS is correctly defined.  So if you
+  dnl remove the call above, please make sure that this does not
+  dnl introduce a bug into lib/stat-size.h.
   if test $ac_cv_member_struct_stat_st_blocks = no; then
     gl_PREREQ_FILEBLOCKS
   fi