aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Harder <radhermit@gmail.com>2017-01-24 13:33:23 -0500
committerdx <dx@dxzone.com.ar>2017-03-12 01:16:58 -0300
commit08b0ed8334fb32872f7a60e3b637db30ef9c50ef (patch)
treefd9f64c15870166b24d8f4bda46ac79f4482a038
parent65d0dfdefa1e7813a1cb14ce3ae6fae163d4caf5 (diff)
configure: respect autotools-like verbose flags for make
In other words, running $(make V=1) will force a verbose build while $(make V=0) will force a silent build regardless of the verbose option set by the configure script.
-rwxr-xr-xconfigure13
1 files changed, 13 insertions, 0 deletions
diff --git a/configure b/configure
index f52ce94c..a5225890 100755
--- a/configure
+++ b/configure
@@ -291,6 +291,19 @@ else
echo 'VERBOSE=' >> Makefile.settings
fi
+cat <<EOF >>Makefile.settings
+
+# Enable/disable output verbosity
+ifdef V
+ifeq (\$(V),1)
+ VERBOSE=
+else
+ VERBOSE=@
+endif
+endif
+
+EOF
+
if [ "$debug" = "1" ]; then
echo 'DEBUG=1' >> Makefile.settings
CFLAGS="$CFLAGS -g3 -DDEBUG -O0"