0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-06-17 09:28:21 +02:00

configure: Improve defaulting by 1abbd7a2dc

This commit is contained in:
Jason Volk 2019-07-03 21:44:45 -07:00
parent c67daf7bc9
commit 9129be58eb

View file

@ -1687,19 +1687,16 @@ AC_CHECK_LIB(jemalloc, malloc,
])
AC_MSG_CHECKING(whether to enable use of jemalloc)
AC_ARG_ENABLE(jemalloc, AC_HELP_STRING([--enable-jemalloc], [Use jemalloc as third-party dynamic memory manager.]),
AC_ARG_ENABLE(jemalloc, AC_HELP_STRING([--disable-jemalloc], [Use jemalloc as third-party dynamic memory manager.]),
[
use_jemalloc="yes"
AC_MSG_RESULT([yes])
], [
use_jemalloc="no"
AC_MSG_RESULT([no])
], [
use_jemalloc="yes"
AC_MSG_RESULT([yes])
])
dnl jemalloc by default if available
dnl
AM_CONDITIONAL([JEMALLOC], [test "x$have_jemalloc" = "xyes"])
dnl AM_CONDITIONAL([JEMALLOC], [test "x$have_jemalloc" = "xyes" && test "x$use_jemalloc" = "xyes" ])
AM_CONDITIONAL([JEMALLOC], [test "x$have_jemalloc" = "xyes" && test "x$use_jemalloc" = "xyes" ])
dnl
dnl