mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-11 03:59:59 -04:00
Merge branch '3548-without-system-jemalloc' into 'main'
A more helpful error when --without-jemalloc is impossible Closes #3548 See merge request isc-projects/bind9!6796
This commit is contained in:
commit
ea57da8717
1 changed files with 4 additions and 1 deletions
|
|
@ -1400,7 +1400,10 @@ AS_CASE([$with_jemalloc],
|
|||
with_jemalloc=no])])
|
||||
|
||||
AS_IF([test "$with_jemalloc" = "no"],
|
||||
[AC_CHECK_FUNCS([malloc_size malloc_usable_size])])
|
||||
[AS_CASE([$host],
|
||||
[*-freebsd*],[AC_MSG_ERROR([You cannot compile without jemalloc; jemalloc is the system allocator on FreeBSD])],
|
||||
[*-netbsd*],[AC_MSG_ERROR([You cannot compile without jemalloc; jemalloc is the system allocator on NetBSD])])
|
||||
AC_CHECK_FUNCS([malloc_size malloc_usable_size])])
|
||||
|
||||
AM_CONDITIONAL([HAVE_JEMALLOC], [test "$with_jemalloc" = "yes"])
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue