diff --git a/configure.ac b/configure.ac index ac05f91ddb..4010e7b264 100644 --- a/configure.ac +++ b/configure.ac @@ -1095,7 +1095,8 @@ AS_IF([test "x$with_jemalloc" != xno],[ [test x$with_jemalloc = xyes && with_jemalloc=no]) AC_CHECK_HEADER(jemalloc/jemalloc.h, [ AC_DEFINE(RUBY_ALTERNATIVE_MALLOC_HEADER, []) - ]) + ], + [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