diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2018-06-25 15:40:40 +0200 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2018-06-25 17:30:29 +0200 |
commit | f02582f69fe1e7663a87ba80bd4f90d5d23ee75f (patch) | |
tree | 500a57e82e676d035e6b2ee0d2e354e048d869ed | |
parent | bls: allow firmware-supported file systems (diff) | |
download | systemd-f02582f69fe1e7663a87ba80bd4f90d5d23ee75f.tar.xz systemd-f02582f69fe1e7663a87ba80bd4f90d5d23ee75f.zip |
meson: check whether gnutls supports TCP fast open
Fixes #9403
-rw-r--r-- | README | 1 | ||||
-rw-r--r-- | meson.build | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -154,6 +154,7 @@ REQUIREMENTS: libmicrohttpd (optional) libpython (optional) libidn2 or libidn (optional) + gnutls >= 3.1.4 (optional, >= 3.5.3 is necessary to support DNS-over-TLS) elfutils >= 158 (optional) polkit (optional) pkg-config diff --git a/meson.build b/meson.build index 04331dd41a..80f59d77d8 100644 --- a/meson.build +++ b/meson.build @@ -1137,7 +1137,7 @@ substs.set('DEFAULT_DNSSEC_MODE', default_dnssec) dns_over_tls = get_option('dns-over-tls') if dns_over_tls != 'false' - have = conf.get('HAVE_GNUTLS') == 1 + have = libgnutls != [] and libgnutls.version().version_compare('>=3.5.3') if dns_over_tls == 'true' and not have error('DNS-over-TLS support was requested, but dependencies are not available') endif |