Commit a0f20853 by Alexandre Oliva

Oops, a reference to mmap_zero remained

From-SVN: r31445
parent 4acab94b
......@@ -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. */
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment