]> granicus.if.org Git - php/commitdiff
ext/opcache: fix configure output while checking mmap MAP_ANON support
authorMichael Heimpold <mhei@heimpold.de>
Sun, 7 Mar 2021 09:00:43 +0000 (10:00 +0100)
committerNikita Popov <nikita.ppv@gmail.com>
Mon, 15 Mar 2021 09:52:57 +0000 (10:52 +0100)
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.

ext/opcache/config.m4

index 93d72fb73d19b29e1953226132950baf5b4962ef..993cee855ceb10bf98d3c9a585084112c80c282a 100644 (file)
@@ -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)