summaryrefslogtreecommitdiff
path: root/meson_options.txt
diff options
context:
space:
mode:
authorLuca Boccassi <bluca@debian.org>2022-04-09 18:38:06 +0100
committerYu Watanabe <watanabe.yu+github@gmail.com>2022-04-18 05:43:59 +0900
commitcd3c6322dbc6370448bafc216ee4e19e32a79d9e (patch)
treee9758764f8ea2d09f38b3217cfe2948cbd646549 /meson_options.txt
parentbd4297e76128bfbb5a96fe5cabf736f3df2520e3 (diff)
downloadsystemd-cd3c6322dbc6370448bafc216ee4e19e32a79d9e.tar.gz
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.txt2
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'],