888 |
AC_CHECK_FUNCS(getpagesize) |
AC_CHECK_FUNCS(getpagesize) |
889 |
AC_CACHE_CHECK(for working mmap, ac_cv_func_mmap_fixed_mapped, |
AC_CACHE_CHECK(for working mmap, ac_cv_func_mmap_fixed_mapped, |
890 |
[AC_RUN_IFELSE([AC_LANG_SOURCE([AC_INCLUDES_DEFAULT] |
[AC_RUN_IFELSE([AC_LANG_SOURCE([AC_INCLUDES_DEFAULT] |
891 |
[[/* Thanks to Mike Haertel and Jim Avera for this test. |
[[/* malloc might have been renamed as rpl_malloc. */ |
892 |
|
#undef malloc |
893 |
|
|
894 |
|
/* Thanks to Mike Haertel and Jim Avera for this test. |
895 |
Here is a matrix of mmap possibilities: |
Here is a matrix of mmap possibilities: |
896 |
mmap private not fixed |
mmap private not fixed |
897 |
mmap private fixed at somewhere currently unmapped |
mmap private fixed at somewhere currently unmapped |