bind9/m4
Ondřej Surý 2f0f531ee8 Use library constructor/destructor to initialize OpenSSL
Instead of calling isc_tls_initialize()/isc_tls_destroy() explicitly use
gcc/clang attributes on POSIX and DLLMain on Windows to initialize and
shutdown OpenSSL library.

This resolves the issue when isc_nm_create() / isc_nm_destroy() was
called multiple times and it would call OpenSSL library destructors from
isc_nm_destroy().

At the same time, since we now have introduced the ctor/dtor for libisc,
this commit moves the isc_mem API initialization (the list of the
contexts) and changes the isc_mem_checkdestroyed() to schedule the
checking of memory context on library unload instead of executing the
code immediately.
2021-02-26 17:18:06 +01:00
..
ax_check_compile_flag.m4 Use couple more autoconf convenience macros to cleanup configure.ac 2019-06-19 11:35:18 +02:00
ax_check_link_flag.m4 Use couple more autoconf convenience macros to cleanup configure.ac 2019-06-19 11:35:18 +02:00
ax_check_openssl.m4 Fix linking order for OpenSSL libraries 2021-02-17 10:38:25 +11:00
ax_check_preproc_flag.m4 Use couple more autoconf convenience macros to cleanup configure.ac 2019-06-19 11:35:18 +02:00
ax_gcc_func_attribute.m4 Use library constructor/destructor to initialize OpenSSL 2021-02-26 17:18:06 +01:00
ax_posix_shell.m4 Break out of loop when first POSIX-compatible shell is found 2018-12-18 13:02:00 +01:00
ax_pthread.m4 Improve autoconf pthread detection 2018-08-16 17:18:52 +02:00
ax_restore_flags.m4 Use couple more autoconf convenience macros to cleanup configure.ac 2019-06-19 11:35:18 +02:00
ax_save_flags.m4 Use couple more autoconf convenience macros to cleanup configure.ac 2019-06-19 11:35:18 +02:00
compat.m4 Add PKG_CHECK_VAR and AS_VAR_COPY compat macros (Courtesy of ycflash) 2019-08-08 14:46:31 +02:00
libtool.m4 Wait for test instance of named to exit before completing subtest. 2020-09-10 20:13:03 +10:00
ltoptions.m4 Make OpenSSL mandatory 2018-07-19 12:47:03 -04:00
ltsugar.m4 Make OpenSSL mandatory 2018-07-19 12:47:03 -04:00
ltversion.m4 Make OpenSSL mandatory 2018-07-19 12:47:03 -04:00
lt~obsolete.m4 Make OpenSSL mandatory 2018-07-19 12:47:03 -04:00