aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoroliva <oliva@138bc75d-0d04-0410-961f-82ee72b054a4>2000-01-16 18:49:31 +0000
committeroliva <oliva@138bc75d-0d04-0410-961f-82ee72b054a4>2000-01-16 18:49:31 +0000
commit5206488dc3c710128733007f08bdb54535bea62d (patch)
tree2a92c74fcd29fac3e2c0730c3a6caed3d53023c9
parent8ee6d486b7847592c74a196d67b249009132819d (diff)
Oops, a reference to mmap_zero remained
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31445 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/aclocal.m42
-rwxr-xr-xgcc/configure4
2 files changed, 3 insertions, 3 deletions
diff --git a/gcc/aclocal.m4 b/gcc/aclocal.m4
index d56b8f0847f..31230b0724f 100644
--- a/gcc/aclocal.m4
+++ b/gcc/aclocal.m4
@@ -686,7 +686,7 @@ AC_SUBST($1)dnl
AC_DEFUN([AC_FUNC_MMAP_ANYWHERE],
[AC_CHECK_HEADERS(unistd.h)
AC_CHECK_FUNCS(getpagesize)
-AC_CACHE_CHECK(for working mmap from /dev/zero, ac_cv_func_mmap_zero,
+AC_CACHE_CHECK(for working mmap from /dev/zero, ac_cv_func_mmap_anywhere,
[AC_TRY_RUN([
/* Test by Richard Henderson and Alexandre Oliva.
Check whether mmap from /dev/zero works. */
diff --git a/gcc/configure b/gcc/configure
index def4bf8ef26..19a06a2106b 100755
--- a/gcc/configure
+++ b/gcc/configure
@@ -2807,7 +2807,7 @@ done
echo $ac_n "checking for working mmap from /dev/zero""... $ac_c" 1>&6
echo "configure:2810: checking for working mmap from /dev/zero" >&5
-if eval "test \"`echo '$''{'ac_cv_func_mmap_zero'+set}'`\" = set"; then
+if eval "test \"`echo '$''{'ac_cv_func_mmap_anywhere'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
if test "$cross_compiling" = yes; then
@@ -2900,7 +2900,7 @@ fi
fi
-echo "$ac_t""$ac_cv_func_mmap_zero" 1>&6
+echo "$ac_t""$ac_cv_func_mmap_anywhere" 1>&6
if test $ac_cv_func_mmap_anywhere = yes; then
cat >> confdefs.h <<\EOF
#define HAVE_MMAP_ANYWHERE 1