You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AC_DEFINE(HAVE_SHM_MMAP_ANON, 1, [Define if you have mmap(MAP_ANON) SHM support])
238
-
fi
239
-
AC_MSG_RESULT([$have_shm_mmap_anon])
229
+
]])],
230
+
[php_cv_shm_mmap_anon=yes],
231
+
[php_cv_shm_mmap_anon=no],
232
+
[AS_CASE([host_alias],
233
+
[*linux*|*midipix], [php_cv_shm_mmap_anon=yes],
234
+
[php_cv_shm_mmap_anon=no])])])
235
+
AS_VAR_IF([php_cv_shm_mmap_anon], [yes],
236
+
[AC_DEFINE([HAVE_SHM_MMAP_ANON], [1],
237
+
[Define to 1 if you have the mmap(MAP_ANON) SHM support.])])
240
238
241
239
dnl Check POSIX shared memory object operations and link required library as
242
240
dnl needed: rt (older Linux and Solaris <= 10). Most systems have it in the C
@@ -343,7 +341,7 @@ int main(void) {
343
341
344
342
PHP_ADD_EXTENSION_DEP(opcache, pcre)
345
343
346
-
if test "$have_shm_ipc" != "yes" && test "$php_cv_shm_mmap_posix" != "yes" && test "$have_shm_mmap_anon" != "yes"; then
344
+
if test "$php_cv_shm_ipc" != "yes" && test "$php_cv_shm_mmap_posix" != "yes" && test "$php_cv_shm_mmap_anon" != "yes"; then
347
345
AC_MSG_ERROR([No supported shared memory caching support was found when configuring opcache. Check config.log for any errors or missing dependencies.])
0 commit comments