mirror of
https://github.com/php/php-src.git
synced 2025-01-22 03:34:19 +08:00
VC6 hack to avoid CONFIGURE_COMMAND string length over 2048 when building many extensions
This commit is contained in:
parent
d38f944d1c
commit
30cad86a8d
@ -17,7 +17,7 @@
|
||||
+----------------------------------------------------------------------+
|
||||
*/
|
||||
|
||||
// $Id: confutils.js,v 1.43 2004-08-02 17:54:49 fmk Exp $
|
||||
// $Id: confutils.js,v 1.44 2004-08-02 18:48:49 fmk Exp $
|
||||
|
||||
var STDOUT = WScript.StdOut;
|
||||
var STDERR = WScript.StdErr;
|
||||
@ -256,7 +256,9 @@ function conf_process_args()
|
||||
args = WScript.Arguments;
|
||||
for (i = 0; i < args.length; i++) {
|
||||
arg = args(i);
|
||||
nice += ' "' + arg + '"';
|
||||
if (nice.length + arg.length < 2045) { // The max string length for CONFIGURE_COMMAND is 2048 in VC6
|
||||
nice += ' "' + arg + '"';
|
||||
}
|
||||
if (arg == "--help") {
|
||||
configure_help_mode = true;
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user