Building tar this way on AIX 7.1 ... $ ac_cv_func_fstatat=no ./configure $ (cd gnu && make sys/stat.h && (echo '#undef fstatat'
&& echo '#define fstatat rpl_fstatat' && echo 'int
fstatat (int, char const *, struct stat *, int);') >>sys/stat.h) $ make $ make check
Resolves the issue with fstatat causing most of the tests to fail, but then causes three different tests to fail (that didn't originally) ...