mirror of
https://github.com/isc-projects/bind9.git
synced 2026-03-17 16:18:06 -04:00
Don't enforce jemalloc on NetBSD
The NetBSD system allocator is in fact based on the jemalloc, but it doesn't export the extended interface, so we can't use that. Remove the jemalloc enforcement for the NetBSD.
This commit is contained in:
parent
07e2b57152
commit
feea72414b
1 changed files with 2 additions and 3 deletions
|
|
@ -1393,7 +1393,7 @@ AC_SUBST([CMOCKA_LIBS])
|
|||
AM_CONDITIONAL([HAVE_CMOCKA], [test "$with_cmocka" = "yes"])
|
||||
|
||||
#
|
||||
# Compile with jemalloc (either provided as package or wired in the system on FreeBSD and NetBSD)
|
||||
# Compile with jemalloc (either provided as package or wired in the system on FreeBSD)
|
||||
#
|
||||
# [pairwise: --with-jemalloc=detect, --with-jemalloc=yes, --without-jemalloc]
|
||||
AC_ARG_WITH([jemalloc],
|
||||
|
|
@ -1413,8 +1413,7 @@ AS_CASE([$with_jemalloc],
|
|||
|
||||
AS_IF([test "$with_jemalloc" = "no"],
|
||||
[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])])
|
||||
[*-freebsd*],[AC_MSG_ERROR([You cannot compile without jemalloc; jemalloc is the system allocator on FreeBSD])])
|
||||
AC_CHECK_FUNCS([malloc_size malloc_usable_size])])
|
||||
|
||||
AM_CONDITIONAL([HAVE_JEMALLOC], [test "$with_jemalloc" = "yes"])
|
||||
|
|
|
|||
Loading…
Reference in a new issue