mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
merge revision(s) 5fa6ba9568
: [Backport #20500]
[Bug #20500] Search non-default directories for jemalloc Co-Authored-by: lish82 (Hiroki Katagiri)
This commit is contained in:
parent
b2eb7f47b3
commit
a96233161a
3 changed files with 6 additions and 2 deletions
|
@ -1374,6 +1374,8 @@ AC_ARG_WITH([jemalloc],
|
|||
[with_jemalloc=$withval], [with_jemalloc=no])
|
||||
AS_IF([test "x$with_jemalloc" != xno],[
|
||||
# find jemalloc header first
|
||||
save_CPPFLAGS="${CPPFLAGS}"
|
||||
CPPFLAGS="${INCFLAGS} ${CPPFLAGS}"
|
||||
malloc_header=
|
||||
AC_CHECK_HEADER(jemalloc/jemalloc.h, [malloc_header=jemalloc/jemalloc.h], [
|
||||
AC_CHECK_HEADER(jemalloc.h, [malloc_header=jemalloc.h])
|
||||
|
@ -1405,6 +1407,8 @@ AS_IF([test "x$with_jemalloc" != xno],[
|
|||
done
|
||||
done
|
||||
])
|
||||
CPPFLAGS="${save_CPPFLAGS}"
|
||||
unset save_CPPFLAGS
|
||||
with_jemalloc=${rb_cv_jemalloc_library}
|
||||
AS_CASE(["$with_jemalloc"],
|
||||
[no],
|
||||
|
|
|
@ -51,7 +51,7 @@ optflags = @optflags@
|
|||
debugflags = @debugflags@
|
||||
warnflags = @warnflags@
|
||||
CCDLFLAGS = @CCDLFLAGS@
|
||||
INCFLAGS = -I. -I$(arch_hdrdir) -I$(hdrdir) -I$(top_srcdir)
|
||||
INCFLAGS = -I. -I$(arch_hdrdir) -I$(hdrdir) -I$(top_srcdir) @incflags@
|
||||
DEFS = @DEFS@
|
||||
CPPFLAGS = @CPPFLAGS@ -DONIG_ENC_REGISTER=rb_enc_register
|
||||
LDFLAGS = @LDFLAGS@
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
# define RUBY_VERSION_MINOR RUBY_API_VERSION_MINOR
|
||||
#define RUBY_VERSION_TEENY 1
|
||||
#define RUBY_RELEASE_DATE RUBY_RELEASE_YEAR_STR"-"RUBY_RELEASE_MONTH_STR"-"RUBY_RELEASE_DAY_STR
|
||||
#define RUBY_PATCHLEVEL 76
|
||||
#define RUBY_PATCHLEVEL 77
|
||||
|
||||
#include "ruby/version.h"
|
||||
#include "ruby/internal/abi.h"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue