diff options
| -rw-r--r-- | configure.in | 13 |
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 | |||
| 1284 | doug_lea_malloc=yes | 1284 | doug_lea_malloc=yes |
| 1285 | AC_CHECK_FUNC(malloc_get_state, ,doug_lea_malloc=no) | 1285 | AC_CHECK_FUNC(malloc_get_state, ,doug_lea_malloc=no) |
| 1286 | AC_CHECK_FUNC(malloc_set_state, ,doug_lea_malloc=no) | 1286 | AC_CHECK_FUNC(malloc_set_state, ,doug_lea_malloc=no) |
| 1287 | if test "$doug_lea_malloc" = "yes" ; then | 1287 | if 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) | ||
| 1291 | elif 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.)" |
| 1295 | fi | 1291 | fi |
| 1292 | if 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) | ||
| 1298 | fi | ||
| 1296 | 1299 | ||
| 1297 | if test x"${REL_ALLOC}" = x; then | 1300 | if test x"${REL_ALLOC}" = x; then |
| 1298 | REL_ALLOC=${GNU_MALLOC} | 1301 | REL_ALLOC=${GNU_MALLOC} |