1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

configure.in: add --with-jemalloc option

* configure.in: add --with-jemalloc option
  [ruby-core:62912]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46349 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
normal 2014-06-04 19:34:03 +00:00
parent 2f73dbd084
commit 22d8480e99
2 changed files with 12 additions and 0 deletions

View file

@ -1,3 +1,8 @@
Thu Jun 5 03:45:28 2014 Eric Wong <e@80x24.org>
* configure.in: add --with-jemalloc option
[ruby-core:62912]
Wed Jun 4 22:28:14 2014 Koichi Sasada <ko1@atdot.net>
* gc.c: introduce RZombie to manage zombie objects.

View file

@ -1173,6 +1173,13 @@ AS_IF([test "x$with_gmp" != xno],
with_gmp="$ac_cv_lib_gmp___gmpz_init"
AS_IF([test -z "$with_gmp"], [with_gmp=no])])
AC_ARG_WITH([jemalloc],
[AS_HELP_STRING([--with-jemalloc],[use jemalloc allocator])],
[with_jemalloc=yes], [with_jemalloc=no])
AS_IF([test "x$with_jemalloc" = xyes],[
AC_CHECK_LIB([jemalloc],[malloc_conf],[LIBS="-ljemalloc $LIBS"],
[AC_MSG_ERROR([jemalloc requested but not found])])])
dnl check for large file stuff
mv confdefs.h confdefs1.h
: > confdefs.h