# NOTE avoid using link_args for luajit due to a macOS issue
# https://github.com/Homebrew/homebrew-core/issues/37169
luajit_inc = luajit.partial_dependency(compile_args: true, includes: true)
+openssl = dependency('openssl', required: false)
message('------------------------------')
s_build_extra_tests = build_extra_tests ? 'enabled' : 'disabled'
s_install_kresd_conf = install_kresd_conf ? 'enabled' : 'disabled'
s_sendmmsg = sendmmsg ? 'enabled': 'disabled'
+s_openssl = openssl.found() ? 'present': 'missing'
message('''
======================= SUMMARY =======================
group: @0@'''.format(group) + '''
install_kresd_conf: @0@'''.format(s_install_kresd_conf) + '''
sendmmsg: @0@'''.format(s_sendmmsg) + '''
+ openssl debug: @0@'''.format(s_openssl) + '''
=======================================================
/*
+
+:q
+
* Dumps master keys for OpenSSL clients to file. The format is documented at
* https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/Key_Log_Format
* Supports TLS 1.3 when used with OpenSSL 1.1.1.
install_dir: join_paths(modules_dir, 'http'),
)
-openssl = dependency('openssl')
# auxiliary debug library for HTTP module
-debug_opensslkeylog_mod = shared_module(
- 'debug_opensslkeylog',
- ['debug_opensslkeylog.c'],
- # visibility=default == public is required for LD_PRELOAD trick
- c_args: '-fvisibility=default',
- name_prefix: '',
- install: true,
- install_dir: lib_dir,
- dependencies: [
- openssl,
- ],
-)
+if openssl.found()
+ debug_opensslkeylog_mod = shared_module(
+ 'debug_opensslkeylog',
+ ['debug_opensslkeylog.c'],
+ # visibility=default == public is required for LD_PRELOAD trick
+ c_args: '-fvisibility=default',
+ name_prefix: '',
+ install: true,
+ install_dir: lib_dir,
+ dependencies: [
+ openssl,
+ ],
+ )
+endif