mirror of
https://github.com/php/php-src.git
synced 2024-11-23 09:54:15 +08:00
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:
parent
a48ed12ea9
commit
7d0e2d8e4d
@ -599,6 +599,7 @@ glob \
|
||||
localtime_r \
|
||||
lchown \
|
||||
memcntl \
|
||||
memfd_create \
|
||||
memmove \
|
||||
mkstemp \
|
||||
mmap \
|
||||
|
@ -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([[
|
||||
|
Loading…
Reference in New Issue
Block a user