summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Heimpold <mhei@heimpold.de>2021-03-07 10:00:43 +0100
committerNikita Popov <nikita.ppv@gmail.com>2021-03-15 10:52:57 +0100
commiteaf9421df622ffcdb9cdb2841d32321449335741 (patch)
tree8f2a6d1983ac77e2e094935a34021c594993029b
parent3b377b51a22681f4594f8eb55e6de25ea01204c1 (diff)
downloadphp-git-eaf9421df622ffcdb9cdb2841d32321449335741.tar.gz
ext/opcache: fix configure output while checking mmap MAP_ANON support
It seems that f3efb9e3fb introduced a "typo" which may result in the following confusing message: checking for mmap() using MAP_ANON shared memory support... no=yes Let's fix this. Signed-off-by: Michael Heimpold <mhei@heimpold.de> Closes GH-6758.
-rw-r--r--ext/opcache/config.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/opcache/config.m4 b/ext/opcache/config.m4
index 93d72fb73d..993cee855c 100644
--- a/ext/opcache/config.m4
+++ b/ext/opcache/config.m4
@@ -220,7 +220,7 @@ int main() {
]])],[dnl
AC_DEFINE(HAVE_SHM_MMAP_ANON, 1, [Define if you have mmap(MAP_ANON) SHM support])
have_shm_mmap_anon=yes],[have_shm_mmap_anon=no],[have_shm_mmap_anon=no])
- AC_MSG_RESULT([$have_shm_mmap_anon=yes])
+ AC_MSG_RESULT([$have_shm_mmap_anon])
PHP_CHECK_FUNC_LIB(shm_open, rt, root)
AC_MSG_CHECKING(for mmap() using shm_open() shared memory support)