diff options
Diffstat (limited to 'ext/opcache/config.m4')
-rw-r--r-- | ext/opcache/config.m4 | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/ext/opcache/config.m4 b/ext/opcache/config.m4 index dc32c5b94f..6355f206a5 100644 --- a/ext/opcache/config.m4 +++ b/ext/opcache/config.m4 @@ -17,9 +17,7 @@ if test "$PHP_OPCACHE" != "no"; then AC_DEFINE(HAVE_HUGE_CODE_PAGES, 1, [Define to enable copying PHP CODE pages into HUGE PAGES (experimental)]) fi - AC_CHECK_FUNC(mprotect,[ - AC_DEFINE(HAVE_MPROTECT, 1, [Define if you have mprotect() function]) - ]) + AC_CHECK_FUNCS([mprotect]) AC_MSG_CHECKING(for sysvipc shared memory support) AC_RUN_IFELSE([AC_LANG_SOURCE([[ |