ruby-changes:54564
From: nobu <ko1@a...>
Date: Thu, 10 Jan 2019 23:44:17 +0900 (JST)
Subject: [ruby-changes:54564] nobu:r66779 (trunk): configuRe: refuse to build with jemalloc when header is missing
nobu 2019-01-10 23:44:11 +0900 (Thu, 10 Jan 2019) New Revision: 66779 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=66779 Log: configure: refuse to build with jemalloc when header is missing [ruby-core:90964] [Bug #15520] Freom: Misty De Meo <mistydemeo@g...> Modified files: trunk/configure.ac Index: configure.ac =================================================================== --- configure.ac (revision 66778) +++ configure.ac (revision 66779) @@ -1095,7 +1095,8 @@ AS_IF([test "x$with_jemalloc" != xno],[ https://github.com/ruby/ruby/blob/trunk/configure.ac#L1095 [test x$with_jemalloc = xyes && with_jemalloc=no]) AC_CHECK_HEADER(jemalloc/jemalloc.h, [ AC_DEFINE(RUBY_ALTERNATIVE_MALLOC_HEADER, [<jemalloc/jemalloc.h>]) - ]) + ], + [test x$with_jemalloc = xyes && with_jemalloc=no]) AS_IF([test "x$with_jemalloc" != xyes], [ AC_CACHE_CHECK([for jemalloc with JEMALLOC_MANGLE], rb_cv_jemalloc_demangle, [AC_LINK_IFELSE([AC_LANG_PROGRAM([@%:@define JEMALLOC_MANGLE 1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/