mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Merge branch 'PHP-7.1'
* PHP-7.1: Support also no,shared configure arg vals by default
This commit is contained in:
commit
632d68f5f9
2 changed files with 10 additions and 3 deletions
|
@ -381,10 +381,17 @@ function conf_process_args()
|
|||
} else {
|
||||
/* we matched the non-default arg */
|
||||
if (argval == null) {
|
||||
argval = arg.defval == "no" ? "yes" : "no";
|
||||
if (arg.defval == "no") {
|
||||
argval = "yes";
|
||||
} else if (arg.defval == "no,shared") {
|
||||
argval = "yes,shared";
|
||||
shared = true;
|
||||
} else {
|
||||
argval = "no";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
arg.argval = argval;
|
||||
eval("PHP_" + arg.symval + " = argval;");
|
||||
eval("PHP_" + arg.symval + "_SHARED = shared;");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue