]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
meson: correctly display enabled features
authorFrantisek Sumsal <frantisek@sumsal.cz>
Thu, 2 Dec 2021 17:42:31 +0000 (18:42 +0100)
committerLuca Boccassi <luca.boccassi@gmail.com>
Thu, 2 Dec 2021 22:41:32 +0000 (22:41 +0000)
In 9cf75222f20 the conf.get() statements for `bpf-framework` and
`valgrind` were dropped, which causes the respective features to always
show as disabled (since they don't follow the "standard" naming scheme
with HAVE_/ENABLE_ prefixes).

meson.build

index c80750c3b591b68989273687efd5c64df54c1fb4..ce3b01e34227fec30f0a6870bc2233b8df7ad5fb 100644 (file)
@@ -3923,7 +3923,7 @@ foreach tuple : [
         # components
         ['backlight'],
         ['binfmt'],
-        ['bpf-framework'],
+        ['bpf-framework',         conf.get('BPF_FRAMEWORK') == 1],
         ['coredump'],
         ['environment.d'],
         ['efi'],
@@ -3984,7 +3984,7 @@ foreach tuple : [
         ['debug hashmap'],
         ['debug mmap cache'],
         ['debug siphash'],
-        ['valgrind'],
+        ['valgrind',              conf.get('VALGRIND') == 1],
         ['trace logging',         conf.get('LOG_TRACE') == 1],
         ['install tests',         install_tests],
         ['link-udev-shared',      get_option('link-udev-shared')],