[tor-commits] [tor/master] Enable the automake silent rules.

nickm at torproject.org nickm at torproject.org
Thu Aug 2 14:08:19 UTC 2012


commit 9572bebcda4dcd96eaef69e2e512cf31e18c5815
Author: Stewart Smith <stewart at flamingspork.com>
Date:   Thu Aug 2 10:01:25 2012 -0400

    Enable the automake silent rules.
    
    $ make V=1 # will temporarily disable them
    
    otherwise you see:
    
       CC foo.c
    
    rather than the giant long bulid line.
    
    This makes it significantly easier to spot compiler warnings etc.
    
    Additionally, make them conditional, so we won't error on automake <
    1.11
    
    (commits squashed by nickm.)
---
 changes/tkt6522 |    5 +++++
 configure.in    |    1 +
 2 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/changes/tkt6522 b/changes/tkt6522
new file mode 100644
index 0000000..5a8295a
--- /dev/null
+++ b/changes/tkt6522
@@ -0,0 +1,5 @@
+  o Build changes:
+    - Where available, we now use automake's "silent" make rules by
+      default, so that warnings are easier to spot.  You can get the
+      old behavior with "make V=1". Patch by Stewart Smith for ticket
+      6522.
diff --git a/configure.in b/configure.in
index 148edd4..c107148 100644
--- a/configure.in
+++ b/configure.in
@@ -5,6 +5,7 @@ dnl See LICENSE for licensing information
 
 AC_INIT
 AM_INIT_AUTOMAKE(tor, 0.2.4.0-alpha-dev)
+m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
 AM_CONFIG_HEADER(orconfig.h)
 
 AC_CANONICAL_HOST





More information about the tor-commits mailing list