mirror of
https://github.com/php/php-src.git
synced 2025-08-18 23:18:56 +02:00
- MFH: add new default dir (old still works)
This commit is contained in:
parent
c1ddd7bea5
commit
cb10c3be61
1 changed files with 16 additions and 12 deletions
|
@ -209,20 +209,24 @@ if (PHP_DEBUG == "yes" && PHP_ZTS == "yes") {
|
||||||
ARG_WITH('php-build', 'Path to where you extracted http://www.php.net/extra/win32build.zip. Assumes that it is a sibling of this source dir (..\\php_build) if not specified', 'no');
|
ARG_WITH('php-build', 'Path to where you extracted http://www.php.net/extra/win32build.zip. Assumes that it is a sibling of this source dir (..\\php_build) if not specified', 'no');
|
||||||
|
|
||||||
if (PHP_PHP_BUILD == 'no') {
|
if (PHP_PHP_BUILD == 'no') {
|
||||||
if (FSO.FolderExists("..\\php_build")) {
|
if (FSO.FolderExists("..\\deps")) {
|
||||||
PHP_PHP_BUILD = "..\\php_build";
|
PHP_PHP_BUILD = "..\\deps";
|
||||||
} else {
|
} else {
|
||||||
if (X64) {
|
if (FSO.FolderExists("..\\php_build")) {
|
||||||
if (FSO.FolderExists("..\\win64build")) {
|
PHP_PHP_BUILD = "..\\php_build";
|
||||||
PHP_PHP_BUILD = "..\\win64build";
|
|
||||||
} else if (FSO.FolderExists("..\\php-win64-dev\\php_build")) {
|
|
||||||
PHP_PHP_BUILD = "..\\php-win64-dev\\php_build";
|
|
||||||
}
|
|
||||||
} else {
|
} else {
|
||||||
if (FSO.FolderExists("..\\win32build")) {
|
if (X64) {
|
||||||
PHP_PHP_BUILD = "..\\win32build";
|
if (FSO.FolderExists("..\\win64build")) {
|
||||||
} else if (FSO.FolderExists("..\\php-win32-dev\\php_build")) {
|
PHP_PHP_BUILD = "..\\win64build";
|
||||||
PHP_PHP_BUILD = "..\\php-win32-dev\\php_build";
|
} else if (FSO.FolderExists("..\\php-win64-dev\\php_build")) {
|
||||||
|
PHP_PHP_BUILD = "..\\php-win64-dev\\php_build";
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
if (FSO.FolderExists("..\\win32build")) {
|
||||||
|
PHP_PHP_BUILD = "..\\win32build";
|
||||||
|
} else if (FSO.FolderExists("..\\php-win32-dev\\php_build")) {
|
||||||
|
PHP_PHP_BUILD = "..\\php-win32-dev\\php_build";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue