summaryrefslogtreecommitdiff
path: root/gcc/aclocal.m4
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/aclocal.m4')
-rw-r--r--gcc/aclocal.m42
1 files changed, 1 insertions, 1 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. */