summaryrefslogtreecommitdiff
path: root/gcc/config.in
diff options
context:
space:
mode:
authorzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>2001-01-12 04:54:42 +0000
committerzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>2001-01-12 04:54:42 +0000
commit901dfcc7f6e0550e46d865befe0f4da4ccc60988 (patch)
tree9381534d80452c32494066d2511c5ca33135ba29 /gcc/config.in
parent3b853ab87d4a626bf5229082903fd2bb891f1ecf (diff)
downloadgcc-901dfcc7f6e0550e46d865befe0f4da4ccc60988.tar.gz
2001-01-11 Zack Weinberg <zack@wolery.stanford.edu>
* aclocal.m4 (AC_FUNC_MMAP_ANYWHERE): Completely rewritten. Now defines HAVE_MMAP_DEV_ZERO and/or HAVE_MMAP_ANON depending which you have. (AC_FUNC_MMAP_FILE): Don't AC_REQUIRE AC_FUNC_MMAP_ANYWHERE. * configure.in: Set GGC to ggc-page if any of mmap_dev_zero, mmap_anon, and valloc is available. * ggc-page.c: Restructure ifdef logic to match new autoconf spec. Don't throw away the test page in init_ggc. * configure, config.in: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38934 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config.in')
-rw-r--r--gcc/config.in7
1 files changed, 5 insertions, 2 deletions
diff --git a/gcc/config.in b/gcc/config.in
index 63af4048e4c..5056b42b387 100644
--- a/gcc/config.in
+++ b/gcc/config.in
@@ -330,8 +330,11 @@
/* Define if printf supports %p. */
#undef HAVE_PRINTF_PTR
-/* Define if mmap can get us zeroed pages without MAP_FIXED. */
-#undef HAVE_MMAP_ANYWHERE
+/* Define if mmap can get us zeroed pages from /dev/zero. */
+#undef HAVE_MMAP_DEV_ZERO
+
+/* Define if mmap can get us zeroed pages using MAP_ANON(YMOUS). */
+#undef HAVE_MMAP_ANON
/* Define if read-only mmap of a plain file works. */
#undef HAVE_MMAP_FILE