diff options
author | Jan Janssen <medhefgo@web.de> | 2023-08-09 19:52:57 +0200 |
---|---|---|
committer | Jan Janssen <medhefgo@web.de> | 2023-08-23 14:45:02 +0200 |
commit | a0c9ac9ae4f81501f72cea7706f4aeac2d227888 (patch) | |
tree | ebba835292d63b22fccabb06856512d9d168e3f2 /meson_options.txt | |
parent | meson: Convert fidsk to meson feature (diff) | |
download | systemd-a0c9ac9ae4f81501f72cea7706f4aeac2d227888.tar.xz systemd-a0c9ac9ae4f81501f72cea7706f4aeac2d227888.zip |
meson: Convert options to meson features (find_library fallback)
This uses a two-step approach to make sure we can fall back to
find_library(), while also skipping the detection if the features are
explicitly disabled.
Diffstat (limited to 'meson_options.txt')
-rw-r--r-- | meson_options.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/meson_options.txt b/meson_options.txt index 894116f750..9d73203da6 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -362,7 +362,7 @@ option('smack-run-label', type : 'string', description : 'run systemd --system itself with a specific SMACK label') option('smack-default-process-label', type : 'string', description : 'default SMACK label for executed processes') -option('polkit', type : 'combo', choices : ['auto', 'true', 'false'], +option('polkit', type : 'feature', deprecated : { 'true' : 'enabled', 'false' : 'disabled' }, description : 'polkit support') option('ima', type : 'boolean', description : 'IMA support') @@ -379,7 +379,7 @@ option('kmod', type : 'feature', deprecated : { 'true' : 'enabled', 'false' : 'd description : 'support for loadable modules') option('xenctrl', type : 'feature', deprecated : { 'true' : 'enabled', 'false' : 'disabled' }, description : 'support for Xen kexec') -option('pam', type : 'combo', choices : ['auto', 'true', 'false'], +option('pam', type : 'feature', deprecated : { 'true' : 'enabled', 'false' : 'disabled' }, description : 'PAM support') option('passwdqc', type : 'combo', choices : ['auto', 'true', 'false'], description : 'libpasswdqc support') @@ -403,7 +403,7 @@ option('libiptc', type : 'feature', deprecated : { 'true' : 'enabled', 'false' : description : 'libiptc support') option('qrencode', type : 'feature', deprecated : { 'true' : 'enabled', 'false' : 'disabled' }, description : 'libqrencode support') -option('gcrypt', type : 'combo', choices : ['auto', 'true', 'false'], +option('gcrypt', type : 'feature', deprecated : { 'true' : 'enabled', 'false' : 'disabled' }, description : 'gcrypt support') option('gnutls', type : 'feature', deprecated : { 'true' : 'enabled', 'false' : 'disabled' }, description : 'gnutls support') @@ -421,7 +421,7 @@ option('elfutils', type : 'feature', deprecated : { 'true' : 'enabled', 'false' description : 'elfutils support') option('zlib', type : 'feature', deprecated : { 'true' : 'enabled', 'false' : 'disabled' }, description : 'zlib compression support') -option('bzip2', type : 'combo', choices : ['auto', 'true', 'false'], +option('bzip2', type : 'feature', deprecated : { 'true' : 'enabled', 'false' : 'disabled' }, description : 'bzip2 compression support') option('xz', type : 'feature', deprecated : { 'true' : 'enabled', 'false' : 'disabled' }, description : 'xz compression support') |