summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKalle Sommer Nielsen <kalle@php.net>2009-05-29 07:43:07 +0000
committerKalle Sommer Nielsen <kalle@php.net>2009-05-29 07:43:07 +0000
commit953cf4c2174bfd71a966a387a2173ec336810066 (patch)
treeeccfe644a30b9a0ef44612531a5d02ac0b6b63c9
parent4044f880e80df4c2f7723805f7edde30d3487710 (diff)
downloadphp-git-953cf4c2174bfd71a966a387a2173ec336810066.tar.gz
MFH: If we don't have a comment (for the 3rd argument in ARG_[ENABLE|WITH], then don't print a comment say "undefined"
-rw-r--r--win32/build/confutils.js7
1 files changed, 5 insertions, 2 deletions
diff --git a/win32/build/confutils.js b/win32/build/confutils.js
index a97b1b9de3..3502ea1e00 100644
--- a/win32/build/confutils.js
+++ b/win32/build/confutils.js
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-// $Id: confutils.js,v 1.60.2.1.2.8.2.32 2008-12-25 00:08:51 pajoye Exp $
+// $Id: confutils.js,v 1.60.2.1.2.8.2.33 2009-05-29 07:43:07 kalle Exp $
var STDOUT = WScript.StdOut;
var STDERR = WScript.StdErr;
@@ -1568,9 +1568,12 @@ function generate_config_h()
for (i in keys) {
item = configure_hdr.Item(keys[i]);
outfile.WriteBlankLines(1);
- outfile.WriteLine("/* " + item[1] + " */");
pieces = item[0];
+ if (item[1] != undefined) {
+ outfile.WriteLine("/* " + item[1] + " */");
+ }
+
if (typeof(pieces) == "string" && pieces.charCodeAt(0) == 34) {
/* quoted string have a maximal length of 2k under vc.
* solution is to crack them and let the compiler concat