cvs: php-src /win32/build confutils.js
| From: | Frank M. Kromann | Date: | Mon, 02 Aug 2004 18:48:50 +0000 |
| Subject: | cvs: php-src /win32/build confutils.js | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-28143@lists.php.net to get a copy of this message | ||
fmk Mon Aug 2 14:48:50 2004 EDT
Modified files:
/php-src/win32/build confutils.js
Log:
VC6 hack to avoid CONFIGURE_COMMAND string length over 2048 when building many extensions
http://cvs.php.net/diff.php/php-src/win32/build/confutils.js?r1=1.43&r2=1.44&ty=u
Index: php-src/win32/build/confutils.js
diff -u php-src/win32/build/confutils.js:1.43 php-src/win32/build/confutils.js:1.44
--- php-src/win32/build/confutils.js:1.43 Mon Aug 2 13:54:49 2004
+++ php-src/win32/build/confutils.js Mon Aug 2 14:48:49 2004
@@ -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 @@
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;