aboutsummaryrefslogtreecommitdiff
path: root/boehm-gc/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'boehm-gc/configure.in')
-rw-r--r--boehm-gc/configure.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/boehm-gc/configure.in b/boehm-gc/configure.in
index f109c9003ed..69c50ae6a4f 100644
--- a/boehm-gc/configure.in
+++ b/boehm-gc/configure.in
@@ -419,6 +419,10 @@ AC_ARG_ENABLE(full-debug,
esac ]
fi)
+if test "${gc_use_mmap}" = "yes"; then
+ AC_DEFINE(USE_MMAP, 1, [use MMAP instead of sbrk to get new memory])
+fi
+
if test -n "$with_cross_host" &&
test x"$with_cross_host" != x"no"; then
toolexecdir='$(exec_prefix)/$(target_alias)'