summaryrefslogtreecommitdiffstats
path: root/jemalloc/configure.ac
diff options
context:
space:
mode:
authorJason Evans <je@facebook.com>2010-08-13 22:42:29 (GMT)
committerJason Evans <je@facebook.com>2010-08-14 00:36:00 (GMT)
commitb267d0f86aff15a0edb2929f09060c118ed98ec4 (patch)
tree04753d90582013a2afd1da1918a9439e6b7358c5 /jemalloc/configure.ac
parentdcd15098a8adfa6e44d7d1d041df968fb5fe9d82 (diff)
downloadjemalloc-b267d0f86aff15a0edb2929f09060c118ed98ec4.zip
jemalloc-b267d0f86aff15a0edb2929f09060c118ed98ec4.tar.gz
jemalloc-b267d0f86aff15a0edb2929f09060c118ed98ec4.tar.bz2
Add the thread.arena mallctl.
Make it possible for each thread to manage which arena it is associated with. Implement the 'tests' and 'check' build targets.
Diffstat (limited to 'jemalloc/configure.ac')
-rw-r--r--jemalloc/configure.ac5
1 files changed, 5 insertions, 0 deletions
diff --git a/jemalloc/configure.ac b/jemalloc/configure.ac
index ce6e679..bf16596 100644
--- a/jemalloc/configure.ac
+++ b/jemalloc/configure.ac
@@ -647,9 +647,14 @@ AC_RUN_IFELSE([AC_LANG_PROGRAM(
AC_MSG_RESULT([no])
enable_tls="0")
fi
+AC_SUBST([enable_tls])
if test "x${enable_tls}" = "x0" ; then
AC_DEFINE_UNQUOTED([NO_TLS], [ ])
+ roff_tls=".\\\" "
+else
+ roff_tls=""
fi
+AC_SUBST([roff_tls])
dnl Finish tcache-related definitions, now that TLS configuration is done.
if test "x$enable_tls" = "x0" ; then