File tree Expand file tree Collapse file tree 3 files changed +251
-231
lines changed Expand file tree Collapse file tree 3 files changed +251
-231
lines changed Original file line number Diff line number Diff line change @@ -101,15 +101,14 @@ set(PHP_ICONV_ERRNO_WORKS_EXITCODE 0)
101101# ext/opcache
102102################################################################################
103103
104- # Set the exit code of SysV IPC shared memory check in opcache extension .
105- set (HAVE_SHM_IPC_EXITCODE 0)
104+ # Set the exit code of SysV IPC shared memory check.
105+ set (PHP_EXT_OPCACHE_HAS_SHM_IPC_EXITCODE 0)
106106
107- # Set the exit code of the mmap() using MAP_ANON shared memory check in opcache
108- # extension.
109- set (HAVE_SHM_MMAP_ANON_EXITCODE 0)
107+ # Set the exit code of the mmap() using MAP_ANON shared memory check.
108+ set (PHP_EXT_OPCACHE_HAS_SHM_MMAP_ANON_EXITCODE 0)
110109
111- # Set the exit code of the shm_open() shared memory check in opcache extension .
112- set (HAVE_SHM_MMAP_POSIX_EXITCODE 0)
110+ # Set the exit code of the shm_open() shared memory check.
111+ set (PHP_EXT_OPCACHE_HAS_SHM_MMAP_POSIX_EXITCODE 0)
113112
114113################################################################################
115114# ext/pcre
Original file line number Diff line number Diff line change @@ -303,8 +303,5 @@ check_symbol_exists(mprotect sys/mman.h HAVE_MPROTECT)
303303
304304# Check for shared memory support.
305305include (cmake/CheckSHM.cmake)
306- if (TARGET PHP::CheckSHMLibrary)
307- target_link_libraries (php_ext_opcache PRIVATE PHP::CheckSHMLibrary)
308- endif ()
309306
310307configure_file (cmake/config.h.in config.h)
You can’t perform that action at this time.
0 commit comments