summaryrefslogtreecommitdiff
path: root/meson_options.txt
diff options
context:
space:
mode:
authorSami Kerola <kerolasa@iki.fi>2018-10-25 21:35:10 +0100
committerSami Kerola <kerolasa@iki.fi>2018-10-25 21:35:10 +0100
commit8e5d8eb2bef95646fe5d1ca9894582fdde4c6bcc (patch)
tree74bb0d694b3437ea572c380b6843a0f220f0b69d /meson_options.txt
parentd52fa39545bfa8dd6656a5bfc6cf119c1d57381e (diff)
downloadiputils-8e5d8eb2bef95646fe5d1ca9894582fdde4c6bcc.tar.gz
ninfod: use build-sys to define if syslog messages are enabled
Despite the fact preprocessor variable name is ENABLE_DEBUG these are generally useful messages about what failed and how. In same go fix a warning added in 90d90f40f1f7fa72016e1dbaa5ea18d0dd175dc6. ninfod/ninfod_core.c:435:6: warning: explicitly assigning value of variable of type 'int' to itself [-Wself-assign] Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'meson_options.txt')
-rw-r--r--meson_options.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/meson_options.txt b/meson_options.txt
index c825156..a14a4d7 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -37,6 +37,9 @@ option('BUILD_TRACEROUTE6', type : 'boolean', value : true,
option('BUILD_NINFOD', type : 'boolean', value : true,
description : 'Build ninfod')
+option('NINFOD_MESSAGES', type : 'boolean', value : true,
+ description : 'Enable ninfod syslog messages')
+
option('BUILD_MANS', type : 'boolean', value : true,
description : 'Build manuals')