+2010-11-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+
+ 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.
+
2010-10-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
tests: avoid running into timing issues due to sanity change.
if grep 'slept: no' conftest.file >/dev/null 2>&1; then
( sleep 1 ) &
am_sleep_pid=$!
-
fi
+
rm -f conftest.file
test "$program_prefix" != NONE &&
LTLIBOBJS=$ac_ltlibobjs
-if test -n "$am_sleep_pid"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
$as_echo_n "checking that generated files are newer than configure... " >&6; }
- wait $am_sleep_pid
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
+ if test -n "$am_sleep_pid"; then
+ wait $am_sleep_pid
+ fi
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
$as_echo "done" >&6; }
- fi
: ${CONFIG_STATUS=./config.status}
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
])