aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authordequis <dx@dxzone.com.ar>2017-04-06 17:29:23 -0300
committerdequis <dx@dxzone.com.ar>2017-04-06 17:29:23 -0300
commit051506399e1455d88f6179010129308c754be936 (patch)
tree859329ebf6c7f662596a2cd85981b454ba1a1a6b /configure
parentb0979452e9d42896b8f6fdc0da76dc0c79651b62 (diff)
parentc9e9c9c501d1609c3dd5f95a25efa60c4f1be384 (diff)
Merge branch 'develop'
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure22
1 files changed, 22 insertions, 0 deletions
diff --git a/configure b/configure
index 1daaf26d..a5225890 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,25 @@ if [ "$asan" = "1" ]; then
debug=1
fi
+if [ "$verbose" = "0" ]; then
+ echo 'VERBOSE=@' >> Makefile.settings
+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"