3 @@ -1191,8 +1191,9 @@ AC_CHECK_FILE(/dev/zero)
4 # Not all systems can mmap /dev/zero (such as HP-UX). Check for that.
5 if test "$ac_cv_func_mmap" = "yes" &&
6 test "$ac_cv_file__dev_zero" = "yes"; then
7 - AC_MSG_CHECKING(for mmap that can map /dev/zero)
9 + AC_CACHE_CHECK([for mmap that can map /dev/zero],
10 + [ac_cv_mmap__dev_zero],
12 #include <sys/types.h>
15 @@ -1215,9 +1216,7 @@ if test "$ac_cv_func_mmap" = "yes" &&
19 - }], [], [ac_cv_file__dev_zero=no], [ac_cv_file__dev_zero=no])
21 - AC_MSG_RESULT($ac_cv_file__dev_zero)
22 + }], [], [ac_cv_file__dev_zero=no], [ac_cv_file__dev_zero=no])])
25 # Now we determine which one is our anonymous shmem preference.