kalle           Fri May 29 07:41:46 2009 UTC

  Modified files:              
    /php-src/win32/build        confutils.js 
  Log:
  If we don't have a comment (for the 3rd argument in ARG_[ENABLE|WITH], then 
don't print a comment say "undefined"
  
http://cvs.php.net/viewvc.cgi/php-src/win32/build/confutils.js?r1=1.82&r2=1.83&diff_format=u
Index: php-src/win32/build/confutils.js
diff -u php-src/win32/build/confutils.js:1.82 
php-src/win32/build/confutils.js:1.83
--- php-src/win32/build/confutils.js:1.82       Thu Dec 25 00:03:39 2008
+++ php-src/win32/build/confutils.js    Fri May 29 07:41:46 2009
@@ -17,7 +17,7 @@
   +----------------------------------------------------------------------+
 */
 
-// $Id: confutils.js,v 1.82 2008/12/25 00:03:39 pajoye Exp $
+// $Id: confutils.js,v 1.83 2009/05/29 07:41:46 kalle Exp $
 
 var STDOUT = WScript.StdOut;
 var STDERR = WScript.StdErr;
@@ -1563,9 +1563,13 @@
        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



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to