bind9/m4
Ondřej Surý e20cc41e56 Use system allocator when jemalloc is unavailable
This commit adds support for systems where the jemalloc library is not
available as a package, here's the quick summary:

  * On Linux - the jemalloc is usually available as a package, if
    configured --without-jemalloc, the shim would be used around
    malloc(), free(), realloc() and malloc_usable_size()

  * On macOS - the jemalloc is available from homebrew or macports, if
    configured --without-jemalloc, the shim would be used around
    malloc(), free(), realloc() and malloc_size()

  * On FreeBSD - the jemalloc is *the* system allocator, we just need
    to check for <malloc_np.h> header to get access to non-standard API

  * On NetBSD - the jemalloc is *the* system allocator, we just need to
    check for <jemalloc/jemalloc.h> header to get access to non-standard
    API

  * On a system hostile to users and developers (read OpenBSD) - the
    jemalloc API is emulated by using ((size_t *)ptr)[-1] field to hold
    the size information.  The OpenBSD developers care only for
    themselves, so why should we care about speed on OpenBSD?
2021-07-09 15:58:02 +02:00
..
ax_cc_for_build.m4 lib/dns/gen should be built with CC_FOR_BUILD 2021-01-07 13:23:18 +11: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 Update the configure.ac for autoconf >= 2.71 compatibility 2021-04-22 13:52:40 +02: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 Update the configure.ac for autoconf >= 2.71 compatibility 2021-04-22 13:52:40 +02:00
ax_jemalloc.m4 Use system allocator when jemalloc is unavailable 2021-07-09 15:58:02 +02:00
ax_lib_lmdb.m4 Remove AC_SUBST() calls from AX_LIB_LMDB() 2020-11-24 14:51:51 +01:00
ax_perl_module.m4 Complete rewrite the BIND 9 build system 2020-04-21 14:19:48 +02: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 Update the configure.ac for autoconf >= 2.71 compatibility 2021-04-22 13:52:40 +02:00
ax_python_module.m4 Complete rewrite the BIND 9 build system 2020-04-21 14:19:48 +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
ax_tls.m4 Complete rewrite the BIND 9 build system 2020-04-21 14:19:48 +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