From 237f2da9d4190f448ac955c593cbd085ea0d0f04 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Thu, 15 Apr 2021 11:04:14 +0200 Subject: [PATCH] meson: output one "item" for DNS-over-TLS --- meson.build | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/meson.build b/meson.build index 8a11e09189..bf9b343090 100644 --- a/meson.build +++ b/meson.build @@ -3824,8 +3824,6 @@ foreach tuple : [ ['xdg-autostart'], # optional features - ['DNS-over-TLS(gnutls)', conf.get('DNS_OVER_TLS_USE_GNUTLS') == 1], - ['DNS-over-TLS(openssl)', conf.get('DNS_OVER_TLS_USE_OPENSSL') == 1], ['idn'], ['polkit'], ['nscd'], @@ -3884,6 +3882,14 @@ else found += 'static-libudev(@0@)'.format(static_libudev) endif +if conf.get('DNS_OVER_TLS_USE_GNUTLS') == 1 + found += 'DNS-over-TLS(gnutls)' +elif conf.get('DNS_OVER_TLS_USE_OPENSSL') == 1 + found += 'DNS-over-TLS(openssl)' +else + missing += 'DNS-over-TLS' +endif + status += [ '', 'enabled features: @0@'.format(', '.join(found)),