aboutsummaryrefslogtreecommitdiff
path: root/boehm-gc/configure
diff options
context:
space:
mode:
Diffstat (limited to 'boehm-gc/configure')
-rwxr-xr-xboehm-gc/configure9
1 files changed, 8 insertions, 1 deletions
diff --git a/boehm-gc/configure b/boehm-gc/configure
index 20b334af74f..3ff5861be76 100755
--- a/boehm-gc/configure
+++ b/boehm-gc/configure
@@ -3076,7 +3076,7 @@ esac
#
# We don't set NO_EXECUTE_PERMISSION by default because gcj (and
# anything else that creates trampolines in gc-allocated memory)
-# always needs exec permission. The exception to this is IA-64 and
+# always needs exec permission. The exceptions to this are IA-64 and
# some variations of Power PC, where trampolines don't contain
# executable code.
#
@@ -3453,6 +3453,13 @@ EOF
fi
+if test "${gc_use_mmap}" = "yes"; then
+ cat >> confdefs.h <<\EOF
+#define USE_MMAP 1
+EOF
+
+fi
+
if test -n "$with_cross_host" &&
test x"$with_cross_host" != x"no"; then
toolexecdir='$(exec_prefix)/$(target_alias)'