diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/aclocal.m4 | 2 | ||||
-rwxr-xr-x | gcc/configure | 4 |
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 |