com php-src: Check for shm_open() in libroot to s upport Haiku: ext/opcache/config.m4
| From: | Nikita Popov | Date: | Tue, 28 Jul 2020 14:33:17 +0000 |
| Subject: | com php-src: Check for shm_open() in libroot to s upport Haiku: ext/opcache/config.m4 | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-112409@lists.php.net to get a copy of this message | ||
Commit: 118fa69e70ef7543c417244c845e06a260e9edae
Author: David Carlier <devnexen@gmail.com> Sat, 25 Jul 2020 17:15:54 +0000
Committer: Nikita Popov <nikita.ppv@gmail.com> Tue, 28 Jul 2020 16:33:17 +0200
Parents: c434bbb344abc138135e0f856e6c01c093d33014
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=118fa69e70ef7543c417244c845e06a260e9edae
Log:
Check for shm_open() in libroot to support Haiku
Resides on libroot (system runtime) on this platform.
Closes GH-5892.
Changed paths:
M ext/opcache/config..m4
Diff:
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 <sys/types.h>