]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Meson: Cleanup DoT module
authorFred Morcos <fred.morcos@open-xchange.com>
Wed, 16 Aug 2023 12:32:26 +0000 (14:32 +0200)
committerFred Morcos <fred.morcos@open-xchange.com>
Wed, 20 Mar 2024 12:28:41 +0000 (13:28 +0100)
meson/dot/meson.build
meson_options.txt

index 904a74ed4e4eeff72d3794cae994f6d4ea627ace..e1166a181495c7f31639beade4705839c2746b35 100644 (file)
@@ -1,8 +1,5 @@
-# DNS over TLS
-# Inputs: conf dep_libssl dep_gnutls
-
 opt_dot = get_option('dns-over-tls')
-conf.set10('HAVE_DNS_OVER_TLS', opt_dot, description: 'Whether DNS over TLS is enabled')
+conf.set('HAVE_DNS_OVER_TLS', opt_dot, description: 'DNS over TLS (DoT)')
 
 if opt_dot and not dep_libssl.found() and not dep_gnutls.found()
   error('DNS over TLS support was requested but neither OpenSSL libssl nor GnuTLS support is enabled')
index 843b779b8acd3465a45d3866b01d261bbef14aea..cf8ca4aa111eb5131df6c9468749b37f4e3769c1 100644 (file)
@@ -6,9 +6,9 @@ option('signers-libsodium', type: 'feature', value: 'auto', description: 'Enable
 option('signers-libdecaf', type: 'feature', value: 'auto', description: 'Enable libdecaf-based signers')
 option('signers-libcrypto', type: 'feature', value: 'auto', description: 'Enable OpenSSL libcrypto-based signers)')
 option('signers-libcrypto-path', type: 'string', value: '', description: 'Custom path to find OpenSSL libcrypto')
-option('dns-over-tls', type: 'boolean', value: false, description: 'Enable DNS over TLS (requires GnuTLS or OpenSSL)')
 option('tls-libssl', type: 'feature', value: 'auto', description: 'OpenSSL-based TLS')
 option('tls-gnutls', type: 'feature', value: 'auto', description: 'GnuTLS-based TLS')
+option('dns-over-tls', type: 'boolean', value: false, description: 'DNS over TLS (requires GnuTLS or OpenSSL)')
 option('ipcipher', type: 'feature', value: 'auto', description: 'IPcipher (requires libcrypto)')
 option('unit-tests', type: 'boolean', value: false, description: 'Build and run unit tests')
 option('unit-tests-backends', type: 'boolean', value: false, description: 'Build and run backend unit tests')