* m4/sanity.m4 (AM_SANITY_CHECK): Call AC_MSG_RESULT before erroring
out so that a complete line is printed to stdout before the error
message is written to stderr.
---
m4/sanity.m4 | 2 ++
1 file changed, 2 insertions(+)
diff --git a/m4/sanity.m4 b/m4/sanity.m4
index 53538a873..be4b16113 100644
--- a/m4/sanity.m4
+++ b/m4/sanity.m4
@@ -169,10 +169,12 @@ am_lf='
'
case `pwd` in
*[[\\\"\#\$\&\'\`$am_lf]]*)
+ AC_MSG_RESULT([no])
AC_MSG_ERROR([unsafe absolute working directory name]);;
esac
case $srcdir in
*[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
+ AC_MSG_RESULT([no])
AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);;
esac
--
2.48.1