James Youngman wrote:
> * 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
* 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.
On Thu, Jun 9, 2011 at 2:08 AM, Bruno Haible wrote:
> Actually AC_STRUCT_ST_BLOCKS is already invoked from the module 'fileblocks',
> and this module is among the dependencies of your new module. So, I think
> you can just drop this invocation here.
Thanks for the advice, I'll send an updated pat
Hi James,
> +AC_DEFUN([gl_STAT_SIZE],
> +[
> + # AC_STRUCT_ST_BLOCKS may add fileblocks to AC_LIBOBJ.
> + AC_STRUCT_ST_BLOCKS
> + AC_CHECK_HEADERS_ONCE([sys/param.h])
> +])
No more AC_LIBOBJ invocations from .m4 files, please! It causes bugs, see [1]
for details.
Actually AC_STRUCT_ST_BLOCKS
* modules/stat-size: New module. Provides macros for accessing
file size informaiton 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.