From ff7e7c2b3a2b4367e0a03a51b7d714dfe0837abb Mon Sep 17 00:00:00 2001 From: Frantisek Sumsal Date: Thu, 2 Dec 2021 18:42:31 +0100 Subject: [PATCH] meson: correctly display enabled features 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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meson.build b/meson.build index c80750c3b59..ce3b01e3422 100644 --- a/meson.build +++ b/meson.build @@ -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')], -- 2.47.3