summaryrefslogtreecommitdiff
path: root/meson_options.txt
diff options
context:
space:
mode:
authorXavier Claessens <xavier.claessens@collabora.com>2019-07-24 12:32:54 -0400
committerXavier Claessens <xclaesse@gmail.com>2019-08-20 12:18:50 +0000
commitb41763354c9458d36d88e6757cc027dc6253717f (patch)
treed6f6b9930bd937c49dd676c0c605d4c0452af79d /meson_options.txt
parentbee437ce7f04ffbd9243d0c56d23f05d5995f301 (diff)
downloadlibsoup-b41763354c9458d36d88e6757cc027dc6253717f.tar.gz
Meson: Use feature options for optional dependencies
Auto features makes easier to build libsoup without having to check all the options that must be disabled. Distributors have a global option 'auto_features' to turn them all to enabled and not have surprises.
Diffstat (limited to 'meson_options.txt')
-rw-r--r--meson_options.txt21
1 files changed, 11 insertions, 10 deletions
diff --git a/meson_options.txt b/meson_options.txt
index fa033bf2..4f14e378 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -1,6 +1,6 @@
option('gssapi',
- type : 'boolean',
- value : true,
+ type : 'feature',
+ value : 'auto',
description : 'Build with GSSAPI support'
)
@@ -11,8 +11,8 @@ option('krb5_config',
)
option('ntlm',
- type : 'boolean',
- value : false,
+ type : 'feature',
+ value : 'auto',
description : 'Build with NTLM support'
)
@@ -23,8 +23,8 @@ option('ntlm_auth',
)
option('brotli',
- type : 'boolean',
- value : true,
+ type : 'feature',
+ value : 'auto',
description : 'Build with Brotli decompression support'
)
@@ -41,14 +41,15 @@ option('gnome',
)
option('introspection',
- type : 'boolean',
- value : true,
+ type : 'feature',
+ value : 'auto',
+ yield : true,
description : 'Build GObject Introspection data'
)
option('vapi',
- type : 'boolean',
- value : true,
+ type : 'feature',
+ value : 'auto',
description : 'Build Vala bindings'
)