stat: avoid compilation failure on AIX 7.x
commit5581bf28e364425046d7f793f02db8721ae98216
authorJim Meyering <meyering@redhat.com>
Thu, 8 Sep 2011 09:52:55 +0000 (8 11:52 +0200)
committerJim Meyering <meyering@redhat.com>
Thu, 8 Sep 2011 10:16:17 +0000 (8 12:16 +0200)
tree39cfd6f45948152430cc6092b35cef7f752d9c6a
parent5eeaca942ab8fc090cd6b0ae2fede698dc9a6f5d
stat: avoid compilation failure on AIX 7.x

* src/stat.c (USE_STATVFS): Adjust definition so that it is enabled
also on AIX 7.x systems that provide statvfs64 and no statvfs.
[USE_STATVFS && ! STAT_STATVFS && STAT_STATVFS64] (STATFS): Define
to statvfs64 in that precise case.
* m4/stat-prog.m4 (cu_PREREQ_STAT_PROG): Adjust the condition
here to match the new one in stat.c, to keep them in sync.
Reported by Bruno Haible.  For details, see
http://article.gmane.org/gmane.comp.gnu.coreutils.general/1668
m4/stat-prog.m4
src/stat.c