]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
Avoid configure warnings from wait about reused PIDs.
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sat, 15 Jan 2011 08:02:57 +0000 (09:02 +0100)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sat, 15 Jan 2011 08:02:57 +0000 (09:02 +0100)
* m4/sanity.m4 (AM_SANITY_CHECK): Hide wait stderr output.
Fixes spurious failure of depcomp2.test.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
ChangeLog
m4/sanity.m4

index d422c0b491fdf62663178c2bd49c6c4cb91a0cb7..71ab4899540797abffcfe7bd56ae473d3ab6c67b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2011-01-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       Avoid configure warnings from wait about reused PIDs.
+       * m4/sanity.m4 (AM_SANITY_CHECK): Hide wait stderr output.
+       Fixes spurious failure of depcomp2.test.
+
 2010-11-14  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
        More stable configure output from sanity check.
index ba97076cb01382e475e6fdecc699f76755944d3b..a9cac5c9e731338f092caa28b7aab5df35cf05d5 100644 (file)
@@ -1,13 +1,13 @@
 # Check to make sure that the build environment is sane.    -*- Autoconf -*-
 
-# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008, 2009, 2010
-# Free Software Foundation, Inc.
+# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008, 2009, 2010,
+# 2011 Free Software Foundation, Inc.
 #
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
 
-# serial 7
+# serial 8
 
 # AM_SANITY_CHECK
 # ---------------
@@ -77,7 +77,8 @@ fi
 AC_CONFIG_COMMANDS_PRE(
   [AC_MSG_CHECKING([that generated files are newer than configure])
    if test -n "$am_sleep_pid"; then
-     wait $am_sleep_pid
+     # Hide warnings about reused PIDs.
+     wait $am_sleep_pid 2>/dev/null
    fi
    AC_MSG_RESULT([done])])
 rm -f conftest.file