From 08b0ed8334fb32872f7a60e3b637db30ef9c50ef Mon Sep 17 00:00:00 2001 From: Tim Harder Date: Tue, 24 Jan 2017 13:33:23 -0500 Subject: 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. --- configure | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'configure') 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 <>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" -- cgit v1.2.3