mirror of
https://github.com/matrix-construct/construct
synced 2024-11-25 08:12:37 +01:00
configure: Fix ac result for jemalloc related.
This commit is contained in:
parent
9ffbd8be37
commit
1b380f39a8
1 changed files with 6 additions and 2 deletions
|
@ -2233,8 +2233,12 @@ PKG_CHECK_MODULES(jemalloc, [jemalloc],
|
|||
AC_MSG_CHECKING(whether to disable use of any found jemalloc)
|
||||
AC_ARG_ENABLE(jemalloc, RB_HELP_STRING([--disable-jemalloc], [Disable jemalloc as third-party dynamic memory manager]),
|
||||
[
|
||||
AC_MSG_RESULT([$enableval])
|
||||
enable_jemalloc=!$enableval
|
||||
enable_jemalloc=$enableval
|
||||
if test "$enable_jemalloc" = "no"; then
|
||||
AC_MSG_RESULT([yes])
|
||||
else
|
||||
AC_MSG_RESULT([no])
|
||||
fi
|
||||
], [
|
||||
AC_MSG_RESULT([no])
|
||||
enable_jemalloc="yes"
|
||||
|
|
Loading…
Reference in a new issue