]> git.ipfire.org Git - thirdparty/coreutils.git/commit
build: port to AIX
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 6 Jun 2015 00:33:54 +0000 (17:33 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 6 Jun 2015 07:46:13 +0000 (00:46 -0700)
commit079652ee6b5d3987525ce225518a15253fc9d319
treec2a88e9eb7e42aa802dd9312cb80c70872a9fbfc
parent95413f7dff7ccc0595c93c30850446b8ea4d2f49
build: port to AIX

Problems reported by Michael Felt, and and part of this fix taken
from code suggested by Pádraig Brady in:
http://bugs.gnu.org/20733#112
* configure.ac (stdbuf_supported): Check for warnings, and
for -fPIC and -shared, for AIX.
* src/stat.c (STRUCT_STATVFS): Define to struct statvfs64 if
STATFS is statvfs64.
* src/sync.c (sync_arg) [_AIX]: Open in write mode,
since AIX fsync doesn't work on read-only file descriptors.
* tests/misc/wc-parallel.sh: Skip test if xargs -P does not work.
configure.ac
src/stat.c
src/sync.c
tests/misc/wc-parallel.sh