]> code.delx.au - gnu-emacs/commitdiff
Default to 'configure --enable-silent-rules'
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 11 Jan 2015 09:18:15 +0000 (01:18 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 11 Jan 2015 09:18:48 +0000 (01:18 -0800)
This greatly shortens the 'make' output, making it more readable
and useful.  For example, on my platform it shortens a
4125-character line "gcc -std=gnu99 -c -Demacs -I. -I. -I../lib
... emacs.c" -- a line so long that it's hard to see what's going
on or where the diagnostics are -- to just "CC emacs.o".
* INSTALL: Document this.
* configure.ac: Add AM_SILENT_RULES([yes]).
(AM_DEFAULT_VERBOSITY): Remove now-unnecessary initialization.
* etc/NEWS: Document this.
Fixes: bug#19501
ChangeLog
INSTALL
configure.ac
etc/ChangeLog
etc/NEWS

index ceceb68e9dc0102c91467744234cfa9652d06bc2..cca9100ddf7c28fb70d97983d39680eca0853ec5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,16 @@
+2015-01-11  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Default to 'configure --enable-silent-rules'
+       This greatly shortens the 'make' output, making it more readable
+       and useful.  For example, on my platform it shortens a
+       4125-character line "gcc -std=gnu99 -c -Demacs -I. -I. -I../lib
+       ... emacs.c" -- a line so long that it's hard to see what's going
+       on or where the diagnostics are -- to just "CC emacs.o".
+       * INSTALL: Document this.
+       * configure.ac: Add AM_SILENT_RULES([yes]).
+       (AM_DEFAULT_VERBOSITY): Remove now-unnecessary initialization.
+       Fixes: bug#19501
+
 2015-01-06  Paul Eggert  <eggert@cs.ucla.edu>
 
        Merge from gnulib
diff --git a/INSTALL b/INSTALL
index 1ed269854776bde8c16ae05b2c9fa4f67059e26c..55320207fa303cbc4f0a353bf3db5da39b1ec500 100644 (file)
--- a/INSTALL
+++ b/INSTALL
@@ -316,10 +316,9 @@ generated warnings may still be useful, though you may prefer building
 with 'make WERROR_CFLAGS=' so that the warnings are not treated as
 errors.
 
-Use --enable-silent-rules to cause 'make' to chatter less.  This is
-helpful when combined with options like --enable-gcc-warnings that
-generate long shell-command lines.  'make V=0' also suppresses the
-chatter.
+Use --disable-silent-rules to cause 'make' to give more details about
+the commands it executes.  This can be helpful when debugging a build
+that goes awry.  'make V=1' also enables the extra chatter.
 
 Use --enable-link-time-optimization to enable link-time optimizer.  If
 you're using GNU compiler, this feature is supported since version 4.5.0.
index e09b28922695181dbe3980870108026f4d39d8fa..4cad214e92800fe30994bc98dfcb682e6d0dd266 100644 (file)
@@ -1011,9 +1011,11 @@ if test "${enableval}" != "no"; then
    fi
 fi)
 
+dnl Prefer silent make output.  For verbose output, use
+dnl 'configure --disable-silent-rules' or 'make V=1' .
+AM_SILENT_RULES([yes])
 dnl Port to Automake 1.11.
 dnl This section can be removed once we assume Automake 1.14 or later.
-: ${AM_DEFAULT_VERBOSITY=1}
 : ${AM_V=$AM_DEFAULT_VERBOSITY}
 : ${AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY}
 AC_SUBST([AM_V])
index 7a27312db8577dc5b14931ff6ecee477872fb74b..20f88bdecc35024411932757f554efb1b1e04a06 100644 (file)
@@ -1,3 +1,8 @@
+2015-01-11  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Default to 'configure --enable-silent-rules'
+       * NEWS: Document this.
+
 2015-01-10  Daniel Colascione  <dancol@dancol.org>
 
        * NEWS: Fix typo
index 59d90ababc828fb024b297fa9a4ccb1eb10c2ffe..b3267e1ce601dd90bfb7a233ca34a97efb088b63 100644 (file)
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -40,8 +40,10 @@ or by sticking with Emacs 24.4.
 ** The configure option `--with-pkg-config-prog' has been removed.
 Use './configure PKG_CONFIG=/full/name/of/pkg-config' if you need to.
 
-** The configure option '--enable-silent-rules' and the command
-'make V=0' now do a better job of suppressing chatter.
+** The configure option '--enable-silent-rules' is now the default,
+and silent rules are now quieter.  To get the old behavior where
+'make' chatters a lot, configure with '--disable-silent-rules' or
+build with 'make V=1'.
 
 ---
 ** The `grep-changelog' script (and its manual page) are no longer included.