com php-src: Enable configure without opcache-file and huge-code-pages: ext/opcache/config.m4
| From: | Lior Kaplan | Date: | Sat, 09 Apr 2016 12:57:57 +0000 |
| Subject: | com php-src: Enable configure without opcache-file and huge-code-pages: ext/opcache/config.m4 | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-91673@lists.php.net to get a copy of this message | ||
Commit: c6c44c36298d573932f153071f3bb20007924173
Author: Lior Kaplan <kaplanlior@gmail.com> Sat, 9 Apr 2016 15:57:57 +0300
Parents: 403c3f95fe9687d488c9e18643fa88a8c7ea91f6
Branches: PHP-7.0
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=c6c44c36298d573932f153071f3bb20007924173
Log:
Enable configure without opcache-file and huge-code-pages
This doesn't chagne the default (yes for both features), but respects
--disable-opcache-file and --disable-huge-code-pages configure flags if given.
Changed paths:
M ext/opcache/config.m4
Diff:
diff --git a/ext/opcache/config.m4 b/ext/opcache/config.m4
index 657d859..fbb9b21 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