summaryrefslogtreecommitdiff
path: root/boehm-gc/configure
diff options
context:
space:
mode:
authorbryce <bryce@138bc75d-0d04-0410-961f-82ee72b054a4>2005-02-16 04:10:42 +0000
committerbryce <bryce@138bc75d-0d04-0410-961f-82ee72b054a4>2005-02-16 04:10:42 +0000
commit735cc3dd9476a9058e71fc04e4d87f60b5a89b59 (patch)
tree314f8a11ca03d334447c50d10982b23142d3c8de /boehm-gc/configure
parent2e53aef54d8a8913c011eb1567d3b82921628ba3 (diff)
downloadgcc-735cc3dd9476a9058e71fc04e4d87f60b5a89b59.tar.gz
2005-02-15 Bryce McKinlay <mckinlay@redhat.com>
PR libgcj/19823 * configure.host: Set gc_use_mmap on *-linux*. * configure.ac: Define USE_MMAP if gc_use_mmap is set. * include/private/gc_priv.h: Include gc_config.h. * configure, include/gc_config.h.in: Rebuilt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95094 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'boehm-gc/configure')
-rwxr-xr-xboehm-gc/configure8
1 files changed, 8 insertions, 0 deletions
diff --git a/boehm-gc/configure b/boehm-gc/configure
index 36243d4c58b..b205d328c03 100755
--- a/boehm-gc/configure
+++ b/boehm-gc/configure
@@ -6558,6 +6558,14 @@ _ACEOF
fi
fi;
+if test "${gc_use_mmap}" = "yes"; then
+
+cat >>confdefs.h <<\_ACEOF
+#define USE_MMAP 1
+_ACEOF
+
+fi
+
if test -n "$with_cross_host" &&
test x"$with_cross_host" != x"no"; then
toolexecdir='$(exec_prefix)/$(target_noncanonical)'