Browse Source

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
Nick Mathewson 7 years ago
parent
commit
ee421e68d5
2 changed files with 15 additions and 1 deletions
  1. 11 1
      autogen.sh
  2. 4 0
      changes/4664

+ 11 - 1
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

+ 4 - 0
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.
+