diff options
author | Xavier Claessens <xavier.claessens@collabora.com> | 2019-07-24 12:32:54 -0400 |
---|---|---|
committer | Xavier Claessens <xclaesse@gmail.com> | 2019-08-20 12:18:50 +0000 |
commit | b41763354c9458d36d88e6757cc027dc6253717f (patch) | |
tree | d6f6b9930bd937c49dd676c0c605d4c0452af79d /meson_options.txt | |
parent | bee437ce7f04ffbd9243d0c56d23f05d5995f301 (diff) | |
download | libsoup-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.txt | 21 |
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' ) |