0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2025-03-31 06:53:46 +02:00

configure: Rename enable alloc-libs -> malloc-libs.

This commit is contained in:
Jason Volk 2019-07-03 21:41:48 -07:00
parent baf4cf2eaa
commit c67daf7bc9
2 changed files with 6 additions and 6 deletions

View file

@ -445,16 +445,16 @@ dnl Disable third-party allocators
dnl dnl
AC_MSG_CHECKING(whether to prevent available third-party allocator libraries from being used) 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]) AC_MSG_RESULT([yes])
], [ ], [
use_alloc_libs="yes" use_malloc_libs="yes"
AC_MSG_RESULT([no]) AC_MSG_RESULT([no])
]) ])
AM_CONDITIONAL([ALLOC_LIBS], [[[[ "$use_alloc_libs" = "yes" ]]]]) AM_CONDITIONAL([MALLOC_LIBS], [[[[ "$use_malloc_libs" = "yes" ]]]])
dnl !!! Experimental !!! dnl !!! Experimental !!!
dnl dnl
@ -1714,7 +1714,7 @@ AC_SUBST(MALLOC_LIBS)
alloc_lib="standard" alloc_lib="standard"
dnl ALLOC_LIBS true unless --disable-alloc-libs configured dnl ALLOC_LIBS true unless --disable-alloc-libs configured
AM_COND_IF([ALLOC_LIBS], AM_COND_IF([MALLOC_LIBS],
[ [
AM_COND_IF([JEMALLOC], AM_COND_IF([JEMALLOC],
[ [

View file

@ -114,7 +114,7 @@ This manually applies full release-mode optimizations even when using
##### Disable third-party dynamic allocator libraries ##### Disable third-party dynamic allocator libraries
``` ```
--disable-alloc-libs --disable-malloc-libs
``` ```
`./configure` will detect alternative `malloc()` implementations found in `./configure` will detect alternative `malloc()` implementations found in
libraries installed on the system (jemalloc/tcmalloc/etc). Construct developers libraries installed on the system (jemalloc/tcmalloc/etc). Construct developers