Oops, a reference to mmap_zero remained
From-SVN: r31445
This commit is contained in:
parent
4acab94bfa
commit
a0f20853ca
2
gcc/aclocal.m4
vendored
2
gcc/aclocal.m4
vendored
@ -686,7 +686,7 @@ AC_SUBST($1)dnl
|
|||||||
AC_DEFUN([AC_FUNC_MMAP_ANYWHERE],
|
AC_DEFUN([AC_FUNC_MMAP_ANYWHERE],
|
||||||
[AC_CHECK_HEADERS(unistd.h)
|
[AC_CHECK_HEADERS(unistd.h)
|
||||||
AC_CHECK_FUNCS(getpagesize)
|
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([
|
[AC_TRY_RUN([
|
||||||
/* Test by Richard Henderson and Alexandre Oliva.
|
/* Test by Richard Henderson and Alexandre Oliva.
|
||||||
Check whether mmap from /dev/zero works. */
|
Check whether mmap from /dev/zero works. */
|
||||||
|
4
gcc/configure
vendored
4
gcc/configure
vendored
@ -2807,7 +2807,7 @@ done
|
|||||||
|
|
||||||
echo $ac_n "checking for working mmap from /dev/zero""... $ac_c" 1>&6
|
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
|
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
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
if test "$cross_compiling" = yes; then
|
if test "$cross_compiling" = yes; then
|
||||||
@ -2900,7 +2900,7 @@ fi
|
|||||||
|
|
||||||
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
|
if test $ac_cv_func_mmap_anywhere = yes; then
|
||||||
cat >> confdefs.h <<\EOF
|
cat >> confdefs.h <<\EOF
|
||||||
#define HAVE_MMAP_ANYWHERE 1
|
#define HAVE_MMAP_ANYWHERE 1
|
||||||
|
Loading…
Reference in New Issue
Block a user