]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Cosmetic workaround for autoconf not inheriting --silent when running
authorhno <>
Tue, 28 Dec 2004 20:51:49 +0000 (20:51 +0000)
committerhno <>
Tue, 28 Dec 2004 20:51:49 +0000 (20:51 +0000)
configure in subdirectories

bootstrap.sh

index 8d967d4fe956db6f0146ca0e6fccda2c53220694..af5fd6dce675fc92a5f93a0be44c3ed088c5a17d 100755 (executable)
@@ -90,4 +90,18 @@ do
     fi
 done
 
+# Fixup autoconf recursion using --silent/--quiet option
+# autoconf should inherit this option whe recursing into subdirectories
+# but it currently doesn't for some reason.
+ed -s configure <<'EOS' >/dev/null || true
+/ac_sub_configure_args=/
++1
+i
+  # Add --quiet option if used
+  test "$silent" = yes &&
+    ac_sub_configure_args="$ac_sub_configure_args --quiet"
+.
+w
+EOS
+
 echo "Autotool bootstrapping complete."