aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--configure.in13
1 files changed, 8 insertions, 5 deletions
diff --git a/configure.in b/configure.in
index 0452c255271..381cb7128ce 100644
--- a/configure.in
+++ b/configure.in
@@ -1284,15 +1284,18 @@ GNU_MALLOC=yes
1284doug_lea_malloc=yes 1284doug_lea_malloc=yes
1285AC_CHECK_FUNC(malloc_get_state, ,doug_lea_malloc=no) 1285AC_CHECK_FUNC(malloc_get_state, ,doug_lea_malloc=no)
1286AC_CHECK_FUNC(malloc_set_state, ,doug_lea_malloc=no) 1286AC_CHECK_FUNC(malloc_set_state, ,doug_lea_malloc=no)
1287if test "$doug_lea_malloc" = "yes" ; then 1287if test "${system_malloc}" = "yes"; then
1288 GNU_MALLOC_reason="
1289 (Using new Doug Lea's new malloc from the GNU C Library.)"
1290 AC_DEFINE(DOUG_LEA_MALLOC)
1291elif test "${system_malloc}" = "yes"; then
1292 GNU_MALLOC=no 1288 GNU_MALLOC=no
1293 GNU_MALLOC_reason=" 1289 GNU_MALLOC_reason="
1294 (The GNU allocators don't work with this system configuration.)" 1290 (The GNU allocators don't work with this system configuration.)"
1295fi 1291fi
1292if test "$doug_lea_malloc" = "yes" ; then
1293 if test "$GNU_MALLOC" = yes ; then
1294 GNU_MALLOC_reason="
1295 (Using new Doug Lea's new malloc from the GNU C Library.)"
1296 fi
1297 AC_DEFINE(DOUG_LEA_MALLOC)
1298fi
1296 1299
1297if test x"${REL_ALLOC}" = x; then 1300if test x"${REL_ALLOC}" = x; then
1298 REL_ALLOC=${GNU_MALLOC} 1301 REL_ALLOC=${GNU_MALLOC}