Project

General

Profile

Bug #15520 ยป 0001-configure-refuse-to-build-with-jemalloc-when-header-.patch

mistydemeo (Misty De Meo), 01/10/2019 03:55 AM

View differences:

configure.ac
1097 1097
    [test x$with_jemalloc = xyes && with_jemalloc=no])
1098 1098
  AC_CHECK_HEADER(jemalloc/jemalloc.h, [
1099 1099
    AC_DEFINE(RUBY_ALTERNATIVE_MALLOC_HEADER, [<jemalloc/jemalloc.h>])
1100
  ])
1100
  ], 
1101
  [test x$with_jemalloc = xyes && with_jemalloc=no])
1101 1102
  AS_IF([test "x$with_jemalloc" != xyes], [
1102 1103
    AC_CACHE_CHECK([for jemalloc with JEMALLOC_MANGLE], rb_cv_jemalloc_demangle,
1103 1104
      [AC_LINK_IFELSE([AC_LANG_PROGRAM([@%:@define JEMALLOC_MANGLE 1
1104
-