aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorTim Harder <radhermit@gmail.com>2017-01-20 16:17:25 -0500
committerdx <dx@dxzone.com.ar>2017-03-12 01:16:58 -0300
commit65d0dfdefa1e7813a1cb14ce3ae6fae163d4caf5 (patch)
tree622e38f1b24b735ac314ca4ca9f0c728dbf34b7b /configure
parent262a82b875f2a05cdcf2258260c5e8a9e538f405 (diff)
Add --verbose configure option to control verbose build output
Defaults to disabled to maintain the status quo.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure9
1 files changed, 9 insertions, 0 deletions
diff --git a/configure b/configure
index 1daaf26d..f52ce94c 100755
--- a/configure
+++ b/configure
@@ -38,6 +38,7 @@ oscar="default-on"
twitter=1
purple=0
+verbose=0
doc=1
debug=0
strip=0
@@ -125,6 +126,8 @@ Option Description Default
--pidfile=... $pidfile
--config=... $config
+--verbose=0/1 Disable/enable verbose build $verbose
+
--msn=0/1 Disable/enable MSN part $msn
--jabber=0/1 Disable/enable Jabber part $jabber
--oscar=0/1 Disable/enable Oscar part (ICQ, AIM) $oscar
@@ -282,6 +285,12 @@ if [ "$asan" = "1" ]; then
debug=1
fi
+if [ "$verbose" = "0" ]; then
+ echo 'VERBOSE=@' >> Makefile.settings
+else
+ echo 'VERBOSE=' >> Makefile.settings
+fi
+
if [ "$debug" = "1" ]; then
echo 'DEBUG=1' >> Makefile.settings
CFLAGS="$CFLAGS -g3 -DDEBUG -O0"