diff options
| author | Paul Eggert | 2015-01-11 01:18:15 -0800 |
|---|---|---|
| committer | Paul Eggert | 2015-01-11 01:18:48 -0800 |
| commit | b995b4ae8f9e08719a92bbe3bd6ac7e8ff091309 (patch) | |
| tree | c3f5213a2e51c5321d4a3fe6f90faa7b49706941 | |
| parent | 6cc9ad8d246774837b95b3f01d9007f10d89c9cc (diff) | |
| download | emacs-b995b4ae8f9e08719a92bbe3bd6ac7e8ff091309.tar.gz emacs-b995b4ae8f9e08719a92bbe3bd6ac7e8ff091309.zip | |
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.
* etc/NEWS: Document this.
Fixes: bug#19501
| -rw-r--r-- | ChangeLog | 13 | ||||
| -rw-r--r-- | INSTALL | 7 | ||||
| -rw-r--r-- | configure.ac | 4 | ||||
| -rw-r--r-- | etc/ChangeLog | 5 | ||||
| -rw-r--r-- | etc/NEWS | 6 |
5 files changed, 28 insertions, 7 deletions
| @@ -1,3 +1,16 @@ | |||
| 1 | 2015-01-11 Paul Eggert <eggert@cs.ucla.edu> | ||
| 2 | |||
| 3 | Default to 'configure --enable-silent-rules' | ||
| 4 | This greatly shortens the 'make' output, making it more readable | ||
| 5 | and useful. For example, on my platform it shortens a | ||
| 6 | 4125-character line "gcc -std=gnu99 -c -Demacs -I. -I. -I../lib | ||
| 7 | ... emacs.c" -- a line so long that it's hard to see what's going | ||
| 8 | on or where the diagnostics are -- to just "CC emacs.o". | ||
| 9 | * INSTALL: Document this. | ||
| 10 | * configure.ac: Add AM_SILENT_RULES([yes]). | ||
| 11 | (AM_DEFAULT_VERBOSITY): Remove now-unnecessary initialization. | ||
| 12 | Fixes: bug#19501 | ||
| 13 | |||
| 1 | 2015-01-06 Paul Eggert <eggert@cs.ucla.edu> | 14 | 2015-01-06 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 15 | ||
| 3 | Merge from gnulib | 16 | Merge from gnulib |
| @@ -316,10 +316,9 @@ generated warnings may still be useful, though you may prefer building | |||
| 316 | with 'make WERROR_CFLAGS=' so that the warnings are not treated as | 316 | with 'make WERROR_CFLAGS=' so that the warnings are not treated as |
| 317 | errors. | 317 | errors. |
| 318 | 318 | ||
| 319 | Use --enable-silent-rules to cause 'make' to chatter less. This is | 319 | Use --disable-silent-rules to cause 'make' to give more details about |
| 320 | helpful when combined with options like --enable-gcc-warnings that | 320 | the commands it executes. This can be helpful when debugging a build |
| 321 | generate long shell-command lines. 'make V=0' also suppresses the | 321 | that goes awry. 'make V=1' also enables the extra chatter. |
| 322 | chatter. | ||
| 323 | 322 | ||
| 324 | Use --enable-link-time-optimization to enable link-time optimizer. If | 323 | Use --enable-link-time-optimization to enable link-time optimizer. If |
| 325 | you're using GNU compiler, this feature is supported since version 4.5.0. | 324 | you're using GNU compiler, this feature is supported since version 4.5.0. |
diff --git a/configure.ac b/configure.ac index e09b2892269..4cad214e928 100644 --- a/configure.ac +++ b/configure.ac | |||
| @@ -1011,9 +1011,11 @@ if test "${enableval}" != "no"; then | |||
| 1011 | fi | 1011 | fi |
| 1012 | fi) | 1012 | fi) |
| 1013 | 1013 | ||
| 1014 | dnl Prefer silent make output. For verbose output, use | ||
| 1015 | dnl 'configure --disable-silent-rules' or 'make V=1' . | ||
| 1016 | AM_SILENT_RULES([yes]) | ||
| 1014 | dnl Port to Automake 1.11. | 1017 | dnl Port to Automake 1.11. |
| 1015 | dnl This section can be removed once we assume Automake 1.14 or later. | 1018 | dnl This section can be removed once we assume Automake 1.14 or later. |
| 1016 | : ${AM_DEFAULT_VERBOSITY=1} | ||
| 1017 | : ${AM_V=$AM_DEFAULT_VERBOSITY} | 1019 | : ${AM_V=$AM_DEFAULT_VERBOSITY} |
| 1018 | : ${AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY} | 1020 | : ${AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY} |
| 1019 | AC_SUBST([AM_V]) | 1021 | AC_SUBST([AM_V]) |
diff --git a/etc/ChangeLog b/etc/ChangeLog index 7a27312db85..20f88bdecc3 100644 --- a/etc/ChangeLog +++ b/etc/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2015-01-11 Paul Eggert <eggert@cs.ucla.edu> | ||
| 2 | |||
| 3 | Default to 'configure --enable-silent-rules' | ||
| 4 | * NEWS: Document this. | ||
| 5 | |||
| 1 | 2015-01-10 Daniel Colascione <dancol@dancol.org> | 6 | 2015-01-10 Daniel Colascione <dancol@dancol.org> |
| 2 | 7 | ||
| 3 | * NEWS: Fix typo | 8 | * NEWS: Fix typo |
| @@ -40,8 +40,10 @@ or by sticking with Emacs 24.4. | |||
| 40 | ** The configure option `--with-pkg-config-prog' has been removed. | 40 | ** The configure option `--with-pkg-config-prog' has been removed. |
| 41 | Use './configure PKG_CONFIG=/full/name/of/pkg-config' if you need to. | 41 | Use './configure PKG_CONFIG=/full/name/of/pkg-config' if you need to. |
| 42 | 42 | ||
| 43 | ** The configure option '--enable-silent-rules' and the command | 43 | ** The configure option '--enable-silent-rules' is now the default, |
| 44 | 'make V=0' now do a better job of suppressing chatter. | 44 | and silent rules are now quieter. To get the old behavior where |
| 45 | 'make' chatters a lot, configure with '--disable-silent-rules' or | ||
| 46 | build with 'make V=1'. | ||
| 45 | 47 | ||
| 46 | --- | 48 | --- |
| 47 | ** The `grep-changelog' script (and its manual page) are no longer included. | 49 | ** The `grep-changelog' script (and its manual page) are no longer included. |