[Groonga-commit] groonga/groonga at 25e2b3a [master] Use malloc_conf() to detect jemalloc

Back to archive index

Kouhei Sutou null+****@clear*****
Sun Jan 25 21:24:14 JST 2015


Kouhei Sutou	2015-01-25 21:24:14 +0900 (Sun, 25 Jan 2015)

  New Revision: 25e2b3a7db2c4c5344252b97d297b988b43f9c31
  https://github.com/groonga/groonga/commit/25e2b3a7db2c4c5344252b97d297b988b43f9c31

  Message:
    Use malloc_conf() to detect jemalloc
    
    Because jemalloc 2.2.5 doesn't provide mallocx().

  Modified files:
    configure.ac

  Modified: configure.ac (+1 -1)
===================================================================
--- configure.ac    2015-01-25 18:58:42 +0900 (569f14b)
+++ configure.ac    2015-01-25 21:24:14 +0900 (98c1375)
@@ -925,7 +925,7 @@ if test "x$with_jemalloc" != "xno"; then
   if test "x$with_jemalloc" != "xyes"; then
     LDFLAGS="-L$with_jemalloc $LDFLAGS"
   fi
-  AC_SEARCH_LIBS(mallocx, jemalloc,
+  AC_SEARCH_LIBS(malloc_conf, jemalloc,
                  [jemalloc_available="yes"],
                  [AC_MSG_ERROR("No libjemalloc found")])
 fi
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index