diff options
author | Roland McGrath <roland@gnu.org> | 2002-02-17 07:30:04 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2002-02-17 07:30:04 +0000 |
commit | 30537cab78969a27a9f045a812e712cd0ebd9c24 (patch) | |
tree | f0782ae9a0194723843a1814c03bd90924e4f36a /sysdeps/mach/configure.in | |
parent | 690a2f7da66de6faa69362a42aec6467d58209af (diff) | |
download | glibc-30537cab78969a27a9f045a812e712cd0ebd9c24.tar glibc-30537cab78969a27a9f045a812e712cd0ebd9c24.tar.gz glibc-30537cab78969a27a9f045a812e712cd0ebd9c24.tar.bz2 glibc-30537cab78969a27a9f045a812e712cd0ebd9c24.zip |
* config.h.in: Add #undef HAVE_HOST_PAGE_SIZE.
* sysdeps/mach/configure.in: Check for host_page_size RPC to define it.
* mach/mach_init.c (__mach_init) [HAVE_HOST_PAGE_SIZE]: Use
host_page_size instead of vm_statistics.
Diffstat (limited to 'sysdeps/mach/configure.in')
-rw-r--r-- | sysdeps/mach/configure.in | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sysdeps/mach/configure.in b/sysdeps/mach/configure.in index 058a2a05c8..05dc45b61d 100644 --- a/sysdeps/mach/configure.in +++ b/sysdeps/mach/configure.in @@ -59,3 +59,12 @@ done if test "x$mach_interface_list" = x; then AC_MSG_ERROR([what manner of Mach is this?]) fi + +AC_CACHE_CHECK(for host_page_size in mach_host.defs, + libc_cv_mach_host_page_size, [dnl +AC_EGREP_HEADER(host_page_size, mach/mach_host.defs, + libc_cv_mach_host_page_size=yes, + libc_cv_mach_host_page_size=no)]) +if test $libc_cv_mach_host_page_size = yes; then + AC_DEFINE([HAVE_HOST_PAGE_SIZE]) +fi |