From: David Carlier Date: Sat, 25 Jul 2020 17:15:54 +0000 (+0000) Subject: Check for shm_open() in libroot to support Haiku X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=118fa69e70ef7543c417244c845e06a260e9edae;p=php Check for shm_open() in libroot to support Haiku Resides on libroot (system runtime) on this platform. Closes GH-5892. --- diff --git a/ext/opcache/config.m4 b/ext/opcache/config.m4 index 08a39e2f63..054cd28c02 100644 --- a/ext/opcache/config.m4 +++ b/ext/opcache/config.m4 @@ -222,7 +222,7 @@ int main() { have_shm_mmap_anon=yes],[have_shm_mmap_anon=no],[have_shm_mmap_anon=no]) AC_MSG_RESULT([$have_shm_mmap_anon=yes]) - PHP_CHECK_FUNC_LIB(shm_open, rt) + PHP_CHECK_FUNC_LIB(shm_open, rt, root) AC_MSG_CHECKING(for mmap() using shm_open() shared memory support) AC_RUN_IFELSE([AC_LANG_SOURCE([[ #include