summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2017-10-29 02:18:57 +0100
committerBruno Haible <bruno@clisp.org>2017-10-29 02:18:57 +0100
commit5571c4bbe434f22a01c442717d335af5e9abb50e (patch)
treefbd0500d711e60cc62d219687597f0ebd72fb7cc
parentef6323fe9a3b60177413bd541d7c76220296449f (diff)
downloadgnulib-5571c4bbe434f22a01c442717d335af5e9abb50e.tar.gz
posix_spawn: Avoid spurious message in configure output.
* m4/posix_spawn.m4 (gl_POSIX_SPAWN_WORKS): Discard stderr output from 'cmp' command.
-rw-r--r--ChangeLog6
-rw-r--r--m4/posix_spawn.m44
2 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 5db78ca036..7d014c5373 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2017-10-28 Bruno Haible <bruno@clisp.org>
+ posix_spawn: Avoid spurious message in configure output.
+ * m4/posix_spawn.m4 (gl_POSIX_SPAWN_WORKS): Discard stderr output from
+ 'cmp' command.
+
+2017-10-28 Bruno Haible <bruno@clisp.org>
+
inet_ntop, inet_pton: Determine needed library correctly on Haiku.
* m4/inet_ntop.m4 (gl_FUNC_INET_NTOP): Search also in libnetwork.
* m4/inet_pton.m4 (gl_FUNC_INET_PTON): Likewise.
diff --git a/m4/posix_spawn.m4 b/m4/posix_spawn.m4
index 47a6147cfe..d7d1c86d29 100644
--- a/m4/posix_spawn.m4
+++ b/m4/posix_spawn.m4
@@ -1,4 +1,4 @@
-# posix_spawn.m4 serial 13
+# posix_spawn.m4 serial 14
dnl Copyright (C) 2008-2017 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
@@ -224,7 +224,7 @@ main ()
[if test -s conftest$ac_exeext \
&& ./conftest$ac_exeext > conftest.out \
&& echo 'This should be seen only once.' > conftest.ok \
- && cmp conftest.out conftest.ok > /dev/null; then
+ && cmp conftest.out conftest.ok >/dev/null 2>&1; then
gl_cv_func_posix_spawn_works=yes
else
gl_cv_func_posix_spawn_works=no