diff options
author | Luca Boccassi <bluca@debian.org> | 2022-04-09 19:38:06 +0200 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2022-04-17 22:43:59 +0200 |
commit | cd3c6322dbc6370448bafc216ee4e19e32a79d9e (patch) | |
tree | e9758764f8ea2d09f38b3217cfe2948cbd646549 /meson_options.txt | |
parent | udevadm: info: also show parent devices by --tree (diff) | |
download | systemd-cd3c6322dbc6370448bafc216ee4e19e32a79d9e.tar.xz systemd-cd3c6322dbc6370448bafc216ee4e19e32a79d9e.zip |
compression: add build-time option to select default
Compression and decompression are controlled by the same build flag,
so if one wants to use, say, LZ4 to compress, ZSTD has to be disabled,
which means one loses the ability to read zstd-compressed journals.
Add a default-compression meson option, that allows to select any of
the available compression algorithms as the default.
Diffstat (limited to 'meson_options.txt')
-rw-r--r-- | meson_options.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meson_options.txt b/meson_options.txt index a315ca47c5..2a030ac28e 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -411,6 +411,8 @@ option('lz4', type : 'combo', choices : ['auto', 'true', 'false'], description : 'lz4 compression support') option('zstd', type : 'combo', choices : ['auto', 'true', 'false'], description : 'zstd compression support') +option('default-compression', type : 'combo', choices : ['auto', 'zstd', 'lz4', 'xz'], value: 'auto', + description : 'default compression algorithm') option('xkbcommon', type : 'combo', choices : ['auto', 'true', 'false'], description : 'xkbcommon keymap support') option('pcre2', type : 'combo', choices : ['auto', 'true', 'false'], |