Mercurial > emacs
comparison configure.in @ 18985:3fa26ad85f77
(doug_lea_malloc): Make __after_morecore_hook a
prerequisite to the use of Doug Lea's malloc.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Fri, 25 Jul 1997 17:57:47 +0000 |
parents | d03fae97ec4f |
children | fe86a22972fa |
comparison
equal
deleted
inserted
replaced
18984:d2c26a873eb4 | 18985:3fa26ad85f77 |
---|---|
1319 # Assume not, until told otherwise. | 1319 # Assume not, until told otherwise. |
1320 GNU_MALLOC=yes | 1320 GNU_MALLOC=yes |
1321 doug_lea_malloc=yes | 1321 doug_lea_malloc=yes |
1322 AC_CHECK_FUNC(malloc_get_state, ,doug_lea_malloc=no) | 1322 AC_CHECK_FUNC(malloc_get_state, ,doug_lea_malloc=no) |
1323 AC_CHECK_FUNC(malloc_set_state, ,doug_lea_malloc=no) | 1323 AC_CHECK_FUNC(malloc_set_state, ,doug_lea_malloc=no) |
1324 AC_MSG_CHECKING(whether __after_morecore_hook exists) | |
1325 AC_TRY_LINK([extern void (* __after_morecore_hook)();],[__after_morecore_hook = 0], | |
1326 [AC_MSG_RESULT(yes)], | |
1327 [AC_MSG_RESULT(no) | |
1328 doug_lea_malloc=no]) | |
1324 if test "${system_malloc}" = "yes"; then | 1329 if test "${system_malloc}" = "yes"; then |
1325 GNU_MALLOC=no | 1330 GNU_MALLOC=no |
1326 GNU_MALLOC_reason=" | 1331 GNU_MALLOC_reason=" |
1327 (The GNU allocators don't work with this system configuration.)" | 1332 (The GNU allocators don't work with this system configuration.)" |
1328 fi | 1333 fi |