-# IPCipher
-# Inputs: conf have_libcrypto
-
opt_ipcipher = get_option('ipcipher')
-if not have_libcrypto and opt_ipcipher.enabled()
+if not dep_libcrypto.found() and opt_ipcipher.enabled()
error('ipcipher support was requested but libcrypto is not available')
endif
-enable_ipcipher = have_libcrypto and not opt_ipcipher.disabled()
-conf.set10('HAVE_IPCIPHER', enable_ipcipher, description: 'Whether ipcipher support is enabled')
-show_colors = have_libcrypto or not opt_ipcipher.auto()
-summary('ipcipher', enable_ipcipher, bool_yn: show_colors, section: 'Configuration')
+enable_ipcipher = dep_libcrypto.found() and not opt_ipcipher.disabled()
+conf.set('HAVE_IPCIPHER', enable_ipcipher, description: 'ipcipher support')
+summary('ipcipher', enable_ipcipher, bool_yn: true, section: 'Configuration')
option('signers-libcrypto-path', type: 'string', value: '', description: 'Custom path to find OpenSSL libcrypto')
option('tls-gnutls', type: 'feature', value: 'auto', description: 'Enable GnuTLS-based TLS')
option('dns-over-tls', type: 'boolean', value: false, description: 'Enable DNS over TLS (requires GnuTLS or OpenSSL)')
-option('ipcipher', type: 'feature', value: 'auto', description: 'Enable ipcipher (requires libcrypto)')
option('tls-libssl', type: 'feature', value: 'auto', description: 'OpenSSL-based TLS')
+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')
option('reproducible', type: 'boolean', value: false, description: 'Create reproducible builds (for distribution maintainers, makes debugging more difficult)')