Commit 3c0c48a7 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(doug_lea_malloc): Make __after_morecore_hook a

prerequisite to the use of Doug Lea's malloc.
parent 5dfa3d35
......@@ -1321,6 +1321,11 @@ GNU_MALLOC=yes
doug_lea_malloc=yes
AC_CHECK_FUNC(malloc_get_state, ,doug_lea_malloc=no)
AC_CHECK_FUNC(malloc_set_state, ,doug_lea_malloc=no)
AC_MSG_CHECKING(whether __after_morecore_hook exists)
AC_TRY_LINK([extern void (* __after_morecore_hook)();],[__after_morecore_hook = 0],
[AC_MSG_RESULT(yes)],
[AC_MSG_RESULT(no)
doug_lea_malloc=no])
if test "${system_malloc}" = "yes"; then
GNU_MALLOC=no
GNU_MALLOC_reason="
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment