]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Oops, a reference to mmap_zero remained
authorAlexandre Oliva <oliva@gcc.gnu.org>
Sun, 16 Jan 2000 18:49:31 +0000 (18:49 +0000)
committerAlexandre Oliva <oliva@gcc.gnu.org>
Sun, 16 Jan 2000 18:49:31 +0000 (18:49 +0000)
From-SVN: r31445

gcc/aclocal.m4
gcc/configure

index d56b8f0847f5b4b0994c42fa91446e34ba613709..31230b0724f53e70441c888c5ec79d52c0aa3787 100644 (file)
@@ -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. */
index def4bf8ef26de3c92750c458540227f0087aada0..19a06a2106b1927e8e99bcbf8c9b4ee375954305 100755 (executable)
@@ -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