]> git.ipfire.org Git - thirdparty/coreutils.git/commit
* m4/jm-macros.m4 (gl_MACROS): Call cu_PREREQ_STAT_PROG rather
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 1 Sep 2006 19:40:46 +0000 (19:40 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 1 Sep 2006 19:40:46 +0000 (19:40 +0000)
commit93c30a24c4fb8febda104090d5acec1f59a5a15f
tree51dc1c5b851de849723c5de1716e7e4c2e49dff9
parentddb97ab3b1a6477309f46f5b240fc5ddae8d340a
* m4/jm-macros.m4 (gl_MACROS): Call cu_PREREQ_STAT_PROG rather
than AC_REQUIREing, so that sys/mount.h isn't tested for after
the test result.  I'm not sure why this fix is needed, but it
works.
* m4/stat-prog.m4 (cu_PREREQ_STAT_PROG): Revamp to reflect better
what stat.c actually needs.
* src/stat.c: Include <stddef.h>
(alignof): New macro.
(HAVE_STRUCT_STATXFS_F_FSID___VAL, HAVE_STRUCT_STATXFS_F_FSID_VAL):
Remove.
(STRUCT_STATXFS_F_FSID_IS_INTEGER): New macro.
(FSID_VAL): Remove.
(print_statfs): If f_fsid isn't an integer, grab its words one
at a time in little-endian order.  This is a bit easier to configure
and should avoid a compilation failure on MacOS reported by Bruno
Haible.
ChangeLog
m4/ChangeLog
m4/jm-macros.m4
m4/stat-prog.m4
src/stat.c