diff options
author | Jason Evans <jasone@canonware.com> | 2012-10-16 17:40:57 (GMT) |
---|---|---|
committer | Jason Evans <jasone@canonware.com> | 2012-10-16 17:40:57 (GMT) |
commit | 3b1f3aca54fede23299cde9034f7b909c3d290d7 (patch) | |
tree | 9915372dbfc04d5c086143570d74ac704a2eb736 /configure.ac | |
parent | fc9b1dbf69f59d7ecfc4ac68da9847e017e1d046 (diff) | |
parent | 2b592b0f0bd043c0d14f8923f3c16009e5e312d5 (diff) | |
download | jemalloc-3b1f3aca54fede23299cde9034f7b909c3d290d7.zip jemalloc-3b1f3aca54fede23299cde9034f7b909c3d290d7.tar.gz jemalloc-3b1f3aca54fede23299cde9034f7b909c3d290d7.tar.bz2 |
Merge branch 'dev'3.1.0
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index a72019e..1c52439 100644 --- a/configure.ac +++ b/configure.ac @@ -237,6 +237,7 @@ dnl Define cpp macros in CPPFLAGS, rather than doing AC_DEFINE(macro), since the dnl definitions need to be seen before any headers are included, which is a pain dnl to make happen otherwise. default_munmap="1" +JEMALLOC_USABLE_SIZE_CONST="const" case "${host}" in *-*-darwin*) CFLAGS="$CFLAGS" @@ -262,6 +263,7 @@ case "${host}" in abi="elf" AC_DEFINE([JEMALLOC_PURGE_MADVISE_DONTNEED], [ ]) AC_DEFINE([JEMALLOC_THREADED_INIT], [ ]) + JEMALLOC_USABLE_SIZE_CONST="" default_munmap="0" ;; *-*-netbsd*) @@ -323,6 +325,7 @@ case "${host}" in abi="elf" ;; esac +AC_DEFINE_UNQUOTED([JEMALLOC_USABLE_SIZE_CONST], [$JEMALLOC_USABLE_SIZE_CONST]) AC_SUBST([abi]) AC_SUBST([RPATH]) AC_SUBST([LD_PRELOAD_VAR]) |