[tor-commits] [tor/master] Remove -v flag from autoreconf by default

nickm at torproject.org nickm at torproject.org
Fri Jan 18 23:02:20 UTC 2013


commit ee421e68d5231e3962b45f8bbfc6505c8e6f3315
Author: Nick Mathewson <nickm at torproject.org>
Date:   Fri Jan 18 18:00:51 2013 -0500

    Remove -v flag from autoreconf by default
    
    You can get it back by saying ./autogen.sh -v
    
    Patch from onizuka; for bug 4664.
    
    This isn't a complete fix, since starting from a clean checkout still
    reports that it's installing stuff
---
 autogen.sh   |   12 +++++++++++-
 changes/4664 |    4 ++++
 2 files changed, 15 insertions(+), 1 deletions(-)

diff --git a/autogen.sh b/autogen.sh
index 0592f16..efa2251 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -1,7 +1,17 @@
 #!/bin/sh
 
 if [ -x "`which autoreconf 2>/dev/null`" ] ; then
-  exec autoreconf -ivf
+  opt="-if"
+
+  for i in $@; do
+    case "$i" in
+      -v)
+        opt=$opt"v"
+        ;;
+    esac
+  done
+
+  exec autoreconf $opt
 fi
 
 set -e
diff --git a/changes/4664 b/changes/4664
new file mode 100644
index 0000000..eb81da9
--- /dev/null
+++ b/changes/4664
@@ -0,0 +1,4 @@
+  o Minor features (build):
+    - Do not report status verbosely from autogen.sh unless the -v flag
+      is specified. Fixes issue 4664. Patch from Onizuka.
+



More information about the tor-commits mailing list