From: Ralf Wildenhues Date: Sat, 15 Jan 2011 08:02:57 +0000 (+0100) Subject: Avoid configure warnings from wait about reused PIDs. X-Git-Tag: ng-0.5a~261^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=726ecfbcc3b0c3fd29790e351a407fc65190c826;p=thirdparty%2Fautomake.git Avoid configure warnings from wait about reused PIDs. * m4/sanity.m4 (AM_SANITY_CHECK): Hide wait stderr output. Fixes spurious failure of depcomp2.test. Signed-off-by: Ralf Wildenhues --- diff --git a/ChangeLog b/ChangeLog index d422c0b49..71ab48995 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2011-01-15 Ralf Wildenhues + + 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 More stable configure output from sanity check. diff --git a/m4/sanity.m4 b/m4/sanity.m4 index ba97076cb..a9cac5c9e 100644 --- a/m4/sanity.m4 +++ b/m4/sanity.m4 @@ -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