ruby-changes:34268
From: normal <ko1@a...>
Date: Thu, 5 Jun 2014 04:34:18 +0900 (JST)
Subject: [ruby-changes:34268] normal:r46349 (trunk): configure.in: add --with-jemalloc option
normal 2014-06-05 04:34:03 +0900 (Thu, 05 Jun 2014) New Revision: 46349 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=46349 Log: configure.in: add --with-jemalloc option * configure.in: add --with-jemalloc option [ruby-core:62912] Modified files: trunk/ChangeLog trunk/configure.in Index: configure.in =================================================================== --- configure.in (revision 46348) +++ configure.in (revision 46349) @@ -1173,6 +1173,13 @@ AS_IF([test "x$with_gmp" != xno], https://github.com/ruby/ruby/blob/trunk/configure.in#L1173 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 Index: ChangeLog =================================================================== --- ChangeLog (revision 46348) +++ ChangeLog (revision 46349) @@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Thu Jun 5 03:45:28 2014 Eric Wong <e@8...> + + * configure.in: add --with-jemalloc option + [ruby-core:62912] + Wed Jun 4 22:28:14 2014 Koichi Sasada <ko1@a...> * gc.c: introduce RZombie to manage zombie objects. -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/