From c67daf7bc95d3248e1f34fc9757981e483629888 Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Wed, 3 Jul 2019 21:41:48 -0700 Subject: [PATCH] configure: Rename enable alloc-libs -> malloc-libs. --- configure.ac | 10 +++++----- doc/BUILD.md | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/configure.ac b/configure.ac index ec175e72f..6d2dc9eb8 100644 --- a/configure.ac +++ b/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], [ diff --git a/doc/BUILD.md b/doc/BUILD.md index 2cc6632bb..13fea308a 100644 --- a/doc/BUILD.md +++ b/doc/BUILD.md @@ -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