]> granicus.if.org Git - php/commitdiff
Enable configure without opcache-file and huge-code-pages
authorLior Kaplan <kaplanlior@gmail.com>
Sat, 9 Apr 2016 12:57:57 +0000 (15:57 +0300)
committerLior Kaplan <kaplanlior@gmail.com>
Sat, 9 Apr 2016 12:57:57 +0000 (15:57 +0300)
This doesn't chagne the default (yes for both features), but respects
--disable-opcache-file and --disable-huge-code-pages configure flags if given.

ext/opcache/config.m4

index 657d8596918efb2cee4103d2194de0b615131a9a..fbb9b21c946222b9f65f612af212036a08f64943 100644 (file)
@@ -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