mirror of
https://github.com/matrix-construct/construct
synced 2024-12-25 15:04:10 +01:00
configure: Rename enable alloc-libs -> malloc-libs.
This commit is contained in:
parent
baf4cf2eaa
commit
c67daf7bc9
2 changed files with 6 additions and 6 deletions
10
configure.ac
10
configure.ac
|
@ -445,16 +445,16 @@ dnl Disable third-party allocators
|
|||
dnl
|
||||
|
||||
AC_MSG_CHECKING(whether to prevent available third-party allocator libraries from being used)
|
||||
AC_ARG_ENABLE(allocators, AC_HELP_STRING([--disable-alloc-libs], [Disable third-party dynamic memory libraries (jemalloc/tcmalloc/etc)]),
|
||||
AC_ARG_ENABLE(malloc-libs, AC_HELP_STRING([--disable-malloc-libs], [Disable third-party dynamic memory libraries (jemalloc/tcmalloc/etc)]),
|
||||
[
|
||||
use_alloc_libs="no"
|
||||
use_malloc_libs="no"
|
||||
AC_MSG_RESULT([yes])
|
||||
], [
|
||||
use_alloc_libs="yes"
|
||||
use_malloc_libs="yes"
|
||||
AC_MSG_RESULT([no])
|
||||
])
|
||||
|
||||
AM_CONDITIONAL([ALLOC_LIBS], [[[[ "$use_alloc_libs" = "yes" ]]]])
|
||||
AM_CONDITIONAL([MALLOC_LIBS], [[[[ "$use_malloc_libs" = "yes" ]]]])
|
||||
|
||||
dnl !!! Experimental !!!
|
||||
dnl
|
||||
|
@ -1714,7 +1714,7 @@ AC_SUBST(MALLOC_LIBS)
|
|||
alloc_lib="standard"
|
||||
|
||||
dnl ALLOC_LIBS true unless --disable-alloc-libs configured
|
||||
AM_COND_IF([ALLOC_LIBS],
|
||||
AM_COND_IF([MALLOC_LIBS],
|
||||
[
|
||||
AM_COND_IF([JEMALLOC],
|
||||
[
|
||||
|
|
|
@ -114,7 +114,7 @@ This manually applies full release-mode optimizations even when using
|
|||
##### Disable third-party dynamic allocator libraries
|
||||
|
||||
```
|
||||
--disable-alloc-libs
|
||||
--disable-malloc-libs
|
||||
```
|
||||
`./configure` will detect alternative `malloc()` implementations found in
|
||||
libraries installed on the system (jemalloc/tcmalloc/etc). Construct developers
|
||||
|
|
Loading…
Reference in a new issue