summaryrefslogtreecommitdiff
path: root/ext/opcache/config.m4
diff options
context:
space:
mode:
Diffstat (limited to 'ext/opcache/config.m4')
-rw-r--r--ext/opcache/config.m46
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/opcache/config.m4 b/ext/opcache/config.m4
index 15613285ff..ded7f3dab2 100644
--- a/ext/opcache/config.m4
+++ b/ext/opcache/config.m4
@@ -6,11 +6,11 @@ PHP_ARG_ENABLE(opcache, whether to enable Zend OPcache support,
[ --disable-opcache Disable Zend OPcache support], yes)
PHP_ARG_ENABLE(opcache-file, whether to enable file based caching,
-[ --disable-opcache-file Disable file based caching], yes)
+[ --disable-opcache-file Disable file based caching], yes, no)
PHP_ARG_ENABLE(huge-code-pages, whether to enable copying PHP CODE pages into HUGE PAGES,
[ --disable-huge-code-pages
- Disable copying PHP CODE pages into HUGE PAGES], yes)
+ Disable copying PHP CODE pages into HUGE PAGES], yes, no)
if test "$PHP_OPCACHE" != "no"; then
@@ -376,7 +376,7 @@ AC_TRY_RUN([
AC_MSG_RESULT("yes")
], AC_MSG_RESULT("no") )
-if test "$flock_type" == "unknown"; then
+if test "$flock_type" = "unknown"; then
AC_MSG_ERROR([Don't know how to define struct flock on this system[,] set --enable-opcache=no])
fi