diff options
author | Marius Halden <marius.h@lden.org> | 2017-04-07 10:24:13 +0200 |
---|---|---|
committer | Marius Halden <marius.h@lden.org> | 2017-04-07 10:24:13 +0200 |
commit | dd46ae5bef1c34773a3e7d3e2ef48fc013cef283 (patch) | |
tree | decbedfb7b847c01493dc95890f2169b4b0e31f3 /configure | |
parent | febcb6dca01bb17e0197770a0e6596aaa98bcdbd (diff) | |
parent | 051506399e1455d88f6179010129308c754be936 (diff) |
Merge branch 'master' into patched-master
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 22 |
1 files changed, 22 insertions, 0 deletions
@@ -38,6 +38,7 @@ oscar="default-on" twitter=1 purple=0 +verbose=0 doc=1 debug=0 strip=0 @@ -126,6 +127,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 @@ -284,6 +287,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" |