1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-22 17:35:35 +03:00

meson: output one "item" for DNS-over-TLS

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2021-04-15 11:04:14 +02:00
parent 56d68e715b
commit 237f2da9d4

View File

@ -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)),