diff options
author | Beniamino Galvani <bgalvani@redhat.com> | 2018-09-14 15:33:47 +0200 |
---|---|---|
committer | Beniamino Galvani <bgalvani@redhat.com> | 2018-09-19 16:03:32 +0200 |
commit | 37954c91bd1a9a44cf7e21ca5019c959b84a722a (patch) | |
tree | 9dcc2963aae6f82df4b9d4b42eb3f82cf45112db /meson_options.txt | |
parent | 98b4a19a536ddb9f75611deaa272ae5661c5df4d (diff) | |
download | NetworkManager-37954c91bd1a9a44cf7e21ca5019c959b84a722a.tar.gz |
build: meson: check vapi prerequisites and allow autodetection
Turn the vapi option into a combo that allows autodetection and check
whether all prerequisites are satisfied (including introspection
support) when vapi is explicitly enabled.
https://gitlab.freedesktop.org/NetworkManager/NetworkManager/issues/28
Diffstat (limited to 'meson_options.txt')
-rw-r--r-- | meson_options.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meson_options.txt b/meson_options.txt index ee205601c3..1e7f886d27 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -62,7 +62,7 @@ option('config_dhcp_default', type: 'combo', choices: ['dhcpcanon', 'dhclient', # miscellaneous option('introspection', type: 'boolean', value: true, description: 'Enable introspection for this build') -option('vapi', type: 'boolean', value: true, description: 'build Vala bindings') +option('vapi', type : 'combo', choices : ['auto', 'true', 'false'], description: 'build Vala bindings') option('docs', type: 'boolean', value: false, description: 'use to build documentation') option('tests', type: 'combo', choices: ['yes', 'no', 'root'], value: 'yes', description: 'Build NetworkManager tests') option('more_asserts', type: 'string', value: 'all', description: 'Enable more assertions for debugging (0 = none, 100 = all, default: all)') |