diff options
author | Alexey Neyman <stilor@att.net> | 2018-04-29 22:04:23 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-29 22:04:23 (GMT) |
commit | 5c24106d3b6ddb5229874a74e3cfe0059fa8ce8d (patch) | |
tree | 6ae4685ef53ec2b10593fe19fc1397bc8619f311 /m4/ctng_prog_stat.m4 | |
parent | 51f0e7c649a84c66ce0111703498dc4466e35562 (diff) | |
parent | 74979fb19b2c7220dab4196c0d34e0c29b341b09 (diff) |
Merge pull request #953 from stilor/docker-testing2
Docker configuration for Gentoo + a bunch of fixes
Diffstat (limited to 'm4/ctng_prog_stat.m4')
-rw-r--r-- | m4/ctng_prog_stat.m4 | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/m4/ctng_prog_stat.m4 b/m4/ctng_prog_stat.m4 index 6bee076..8a0b26a 100644 --- a/m4/ctng_prog_stat.m4 +++ b/m4/ctng_prog_stat.m4 @@ -7,9 +7,13 @@ AC_DEFUN([CTNG_PROG_STAT_FORMAT], [ctng_cv_stat_flavor], [touch conftest chmod 642 conftest - attr_bsd=$(stat -f '%Lp' conftest 2>/dev/null) - attr_gnu=$(stat -c '%a' conftest 2>/dev/null) - rm -f conftest + attr_bsd=$(stat -f '%Lp' conftest 2>conftest.stderr.bsd) + CTNG_MSG_LOG_ENVVAR([attr_bsd], [stat -f output]) + CTNG_MSG_LOG_FILE([conftest.stderr.bsd]) + attr_gnu=$(stat -c '%a' conftest 2>conftest.stderr.gnu) + CTNG_MSG_LOG_ENVVAR([attr_gnu], [stat -c output]) + CTNG_MSG_LOG_FILE([conftest.stderr.gnu]) + rm -f conftest conftest.stderr.* AS_IF([test "$attr_bsd" = "642"], [ctng_cv_stat_flavor=BSD], [test "$attr_gnu" = "642"], |