summaryrefslogtreecommitdiff
path: root/m4/sanity.m4
diff options
context:
space:
mode:
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>2010-11-14 18:26:43 +0100
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>2010-11-14 18:26:43 +0100
commit8784d11e9d9675f2d430688165ae0617ed957bfa (patch)
treee05b5a32b712d6af7bd979a1d6e794160d5c46eb /m4/sanity.m4
parent973c5463aa0f8f1eb27cfdb0f358989b704618bb (diff)
downloadautomake-8784d11e9d9675f2d430688165ae0617ed957bfa.tar.gz
More stable configure output from sanity check.
* m4/sanity.m4 (AM_SANITY_CHECK): Always print check line about ensuring newer files, even if we don't actually need to wait any more. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Diffstat (limited to 'm4/sanity.m4')
-rw-r--r--m4/sanity.m412
1 files changed, 6 insertions, 6 deletions
diff --git a/m4/sanity.m4 b/m4/sanity.m4
index 94e1e51f6..ba97076cb 100644
--- a/m4/sanity.m4
+++ b/m4/sanity.m4
@@ -73,12 +73,12 @@ am_sleep_pid=
if grep 'slept: no' conftest.file >/dev/null 2>&1; then
( sleep 1 ) &
am_sleep_pid=$!
- AC_CONFIG_COMMANDS_PRE(
- [if test -n "$am_sleep_pid"; then
- AC_MSG_CHECKING([that generated files are newer than configure])
- wait $am_sleep_pid
- AC_MSG_RESULT([done])
- fi])
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
+ fi
+ AC_MSG_RESULT([done])])
rm -f conftest.file
])