Add missing memfd_create Autoconf check for bundled pcre2lib (#13561)

This moves memfd_create (HAVE_MEMFD_CREATE) to configure.ac. Since
ext/pcre is always enabled and check can be done in this case for
ext/pcre and ext/opcache at once.
This commit is contained in:
Peter Kokot 2024-03-01 17:17:28 +01:00 committed by GitHub
parent a48ed12ea9
commit 7d0e2d8e4d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View File

@ -599,6 +599,7 @@ glob \
localtime_r \
lchown \
memcntl \
memfd_create \
memmove \
mkstemp \
mmap \

View File

@ -103,7 +103,7 @@ if test "$PHP_OPCACHE" != "no"; then
fi
fi
AC_CHECK_FUNCS([mprotect memfd_create shm_create_largepage])
AC_CHECK_FUNCS([mprotect shm_create_largepage])
AC_MSG_CHECKING(for sysvipc shared memory support)
AC_RUN_IFELSE([AC_LANG_SOURCE([[