From: Frantisek Sumsal Date: Thu, 2 Dec 2021 17:42:31 +0000 (+0100) Subject: meson: correctly display enabled features X-Git-Tag: v250-rc1~91 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ff7e7c2b3a2b4367e0a03a51b7d714dfe0837abb;p=thirdparty%2Fsystemd.git 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). --- 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')],