]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
cosmetics: improve error message when dependency tracking fails
authorLibor Bukata <libor.bukata@oracle.com>
Sat, 15 Feb 2020 02:36:49 +0000 (18:36 -0800)
committerKarl Berry <karl@freefriends.org>
Sat, 15 Feb 2020 02:36:49 +0000 (18:36 -0800)
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

m4/depout.m4

index b3cadcb901c8a092f9bffc2eecd4c8110e3db9fb..d612876f1561f5a8165367bf5e469a4f606c5bb1 100644 (file)
@@ -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