summaryrefslogtreecommitdiff
path: root/meson_options.txt
diff options
context:
space:
mode:
authorSami Kerola <kerolasa@iki.fi>2017-12-28 21:59:18 +0000
committerSami Kerola <kerolasa@iki.fi>2018-10-03 20:17:01 +0100
commit9244bd0923405a7555e23de0581ff6944cf18733 (patch)
tree0bfc1ab142102e96dc83bdedc22c1e79410f06bd /meson_options.txt
parent2f565a573a34424d790224941f7cebd49edf50d0 (diff)
downloadiputils-9244bd0923405a7555e23de0581ff6944cf18733.tar.gz
build-sys: make meson to do everything needed
Perhaps not perfect meson code. This is my first try with this build system, so bear with me. For people who are unfamiliar with meson I added ./configure and Makefile to get going. These do bare minimum, as I think we should give hint how to get going when starting with zero meson knowledge. Perhaps within years these become unnecessary. Notice that idn1 support is removed from configuration options. It does not work, so there should not be need to keep it. Other than that everything should build as one could expect. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'meson_options.txt')
-rw-r--r--meson_options.txt29
1 files changed, 20 insertions, 9 deletions
diff --git a/meson_options.txt b/meson_options.txt
index daee6b6..b9bc71b 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -1,15 +1,26 @@
-option('USE_CAP', type : 'boolean', value : true,
+option('USE_CAP', type : 'boolean', value : true,
description : 'Capatiblity support (with libcap)')
-option('USE_IDN', type : 'combo', choices : ['0', '1', '2'], value : '1',
- description : 'IDN support')
+
+option('USE_IDN', type : 'boolean', value : true,
+ description : 'IDN support (with libidn2)')
+
option('USE_CRYPTO', type : 'combo', choices : ['none', 'nettle', 'gcrypt','openssl'], value : 'nettle',
- description: 'Crypto library support for ping 6. You can choose between none, Nettle, GCrypt or openssl/libressl')
+ description: 'Crypto library support for ping6')
+
+option('BUILD_RDISC', type : 'boolean', value : true,
+ description : 'Build rinfod')
+
+option('BUILD_NINFOD', type : 'boolean', value : false,
+ description : 'Build ninfod')
-#option('ARPING_DEFAULT_DEVICE', type : 'string', value : '',
-# description : 'default device for arping')
+option('BUILD_MANS', type : 'boolean', value : true,
+ description : 'Build manuals')
-#option('someoption', type : 'string', value : 'optval', description : 'An option')
-#option('other_one', type : 'boolean', value : false)
-#option('combo_opt', type : 'combo', choices : ['one', 'two', 'three'], value : 'three')
+option('ARPING_DEFAULT_DEVICE', type : 'string', value : '',
+ description : 'Default device for arping')
+option('USE_PING6_RTHDR', type : 'boolean', value : false,
+ description : 'Use ping6 deprecated source routing')
+option('USE_SYSFS', type : 'boolean', value : true,
+ description : 'Use /sys file system (arping)')