]> sourceware.org Git - newlib-cygwin.git/commitdiff
newlib: Enable automake silent rules
authorJon Turney <jon.turney@dronecode.org.uk>
Fri, 23 Jul 2021 13:57:24 +0000 (14:57 +0100)
committerJon Turney <jon.turney@dronecode.org.uk>
Thu, 9 Dec 2021 21:41:05 +0000 (21:41 +0000)
Use AM_SILENT_RULES, to enable automake silent rules (by default), if we
are using a version of automake which supports it (>=1.11).

Silent rules can be disabled by configuring with '--disable-silent-rules',
or invoking 'make V=1'.

For ease of reviewing, this patch doesn't contain configure and
Makefile.in regeneration.

Future work: There are a few compilations which are not silenced by
this, as they use custom rules.

newlib/README
newlib/acinclude.m4

index c82bf8b8c94a3caa825fa65a4b4fcbf74880a4e5..1c0541284233be1a91ac98473d8670af62e0ba0b 100644 (file)
@@ -127,6 +127,9 @@ directories, you can run `make' on them in parallel (for example, if
 they are NFS-mounted on each of the hosts); they will not interfere
 with each other.
 
+   By default, the execution of build rules in `make' is less verbose.
+To disable, run `make V=1'; or use the `--disable-silent-rules’ option
+of `./configure'.
 
 Specifying names for hosts and targets
 ======================================
index 05e545c9fc9e31403b93c709a1aa0552e6cd0b8d..42af6b548de010682304fc635bbcc4dd1a593bc5 100644 (file)
@@ -121,6 +121,7 @@ AC_SUBST(newlib_basedir)
 AC_CANONICAL_HOST
 
 AM_INIT_AUTOMAKE([cygnus no-define 1.9.5])
+m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES(yes)])
 
 # FIXME: We temporarily define our own version of AC_PROG_CC.  This is
 # copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS.  We
This page took 0.035798 seconds and 5 git commands to generate.