]> git.kaiwu.me - nginx.git/commitdiff
add comment
authorIgor Sysoev <igor@sysoev.ru>
Sun, 24 Dec 2006 13:11:41 +0000 (13:11 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Sun, 24 Dec 2006 13:11:41 +0000 (13:11 +0000)
src/core/nginx.c

index ff5995dd296eaa256bcec09af380ca7623868d9f..26ed69eabf4aaf3c2677c3be70c7a68e1720c45c 100644 (file)
@@ -236,20 +236,21 @@ main(int argc, char *const *argv)
         ngx_write_fd(ngx_stderr_fileno, "nginx version: " NGINX_VER CRLF,
                      sizeof("nginx version: " NGINX_VER CRLF) - 1);
 
-#ifndef __WATCOMC__
-
         if (ngx_show_configure) {
 #ifdef NGX_COMPILER
             ngx_write_fd(ngx_stderr_fileno, "built by " NGX_COMPILER CRLF,
                          sizeof("built by " NGX_COMPILER CRLF) - 1);
 #endif
 
-            ngx_write_fd(ngx_stderr_fileno,
-                         "configure arguments " NGX_CONFIGURE CRLF,
-                         sizeof("configure arguments " NGX_CONFIGURE CRLF) - 1);
-        }
+#ifndef __WATCOMC__
+
+            /* OpenWatcomC could not build the long NGX_CONFIGURE string */
 
+            ngx_write_fd(ngx_stderr_fileno,
+                        "configure arguments: " NGX_CONFIGURE CRLF,
+                        sizeof("configure arguments :" NGX_CONFIGURE CRLF) - 1);
 #endif
+        }
 
         if (!ngx_test_config) {
             return 0;