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/pcntl
Original file line number Diff line number Diff line change @@ -341,8 +341,5 @@ check_symbol_exists(shm_create_largepage sys/mman.h HAVE_SHM_CREATE_LARGEPAGE)
341341
342342# Check for shared memory support.
343343include (cmake/CheckSHM.cmake)
344- if (TARGET PHP::CheckSHMLibrary)
345- target_link_libraries (php_ext_opcache PRIVATE PHP::CheckSHMLibrary)
346- endif ()
347344
348345configure_file (cmake/config.h.in config.h)
You can’t perform that action at this time.
0 commit comments