diff options
author | zack <zack@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-01-12 04:54:42 +0000 |
---|---|---|
committer | zack <zack@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-01-12 04:54:42 +0000 |
commit | 901dfcc7f6e0550e46d865befe0f4da4ccc60988 (patch) | |
tree | 9381534d80452c32494066d2511c5ca33135ba29 /gcc/configure.in | |
parent | 3b853ab87d4a626bf5229082903fd2bb891f1ecf (diff) | |
download | gcc-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/configure.in')
-rw-r--r-- | gcc/configure.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/configure.in b/gcc/configure.in index b0dd69777d1..e318236bdea 100644 --- a/gcc/configure.in +++ b/gcc/configure.in @@ -1565,7 +1565,8 @@ AC_ARG_WITH(gc, AC_MSG_ERROR([$withval is an invalid option to --with-gc]) ;; esac], -[if test $ac_cv_func_mmap_anywhere = yes \ +[if test $ac_cv_func_mmap_dev_zero = yes \ + || test $ac_cv_func_mmap_anon = yes \ || test $ac_cv_func_valloc = yes; then GGC=ggc-page else |