diff options
author | James Youngman <jay@gnu.org> | 2011-06-11 01:15:39 +0100 |
---|---|---|
committer | James Youngman <jay@gnu.org> | 2011-06-11 12:52:22 +0100 |
commit | 9fc77bc59374e21e1174742df416af186a368e14 (patch) | |
tree | 85753a7dd655e49e7f98c8d832704cfd2212914b /m4/fileblocks.m4 | |
parent | f462d86108d41b1ca0f48b51caad6c696d67d8fd (diff) | |
download | gnulib-9fc77bc59374e21e1174742df416af186a368e14.tar.gz |
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.
Diffstat (limited to 'm4/fileblocks.m4')
-rw-r--r-- | m4/fileblocks.m4 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/m4/fileblocks.m4 b/m4/fileblocks.m4 index c8f99621b9..8700edaef1 100644 --- a/m4/fileblocks.m4 +++ b/m4/fileblocks.m4 @@ -8,6 +8,10 @@ AC_DEFUN([gl_FILEBLOCKS], [ 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 |