about summary refs log tree commit diff
path: root/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in6
1 files changed, 5 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index 70d62b41c0..2c11732598 100644
--- a/configure.in
+++ b/configure.in
@@ -689,7 +689,11 @@ AC_MSG_RESULT($stdio)
 
 AC_MSG_CHECKING(malloc selection)
 AC_SUBST(malloc)
-test $malloc = default && malloc=malloc
+case $malloc in
+new-malloc) USE_NEW_MALLOC=-DUSE_NEW_MALLOC ;;
+default) malloc=malloc ;;
+esac
+AC_SUBST(USE_NEW_MALLOC)
 AC_MSG_RESULT($malloc)