summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibor Bukata <libor.bukata@oracle.com>2020-02-14 18:36:49 -0800
committerKarl Berry <karl@freefriends.org>2020-02-14 18:36:49 -0800
commitc3ad6b0b757ae6859ed7ea95149567bd9b0c6054 (patch)
tree2743ed16da09a3d59aa6783307565ad564e3cc59
parent71dff5b2fd994d169cc4199d9cbc75c1756d32b7 (diff)
downloadautomake-c3ad6b0b757ae6859ed7ea95149567bd9b0c6054.tar.gz
cosmetics: improve error message when dependency tracking fails
This change fixes https://bugs.gnu.org/35848. * m4/depout.m4: Add suggestion to try GNU make to the error message. Original patch at https://lists.gnu.org/archive/html/automake-patches/2019-05/msg00000.html
-rw-r--r--m4/depout.m44
1 files changed, 3 insertions, 1 deletions
diff --git a/m4/depout.m4 b/m4/depout.m4
index b3cadcb90..d612876f1 100644
--- a/m4/depout.m4
+++ b/m4/depout.m4
@@ -39,7 +39,9 @@ AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
done
if test $am_rc -ne 0; then
AC_MSG_FAILURE([Something went wrong bootstrapping makefile fragments
- for automatic dependency tracking. Try re-running configure with the
+ for automatic dependency tracking. If GNU make was not used, consider
+ re-running the configure script with MAKE="gmake" (or whatever is
+ necessary). You can also try re-running configure with the
'--disable-dependency-tracking' option to at least be able to build
the package (albeit without support for automatic dependency tracking).])
fi