# HG changeset patch # User Igor Sysoev # Date 1166965901 0 # Node ID bb748b37cabd4ad7611fb34443b73c8e29b5effc # Parent 756e8a5b1f7876215bd17b771fa9292941bf7113 add comment diff --git a/src/core/nginx.c b/src/core/nginx.c --- a/src/core/nginx.c +++ b/src/core/nginx.c @@ -236,21 +236,22 @@ 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 +#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); + "configure arguments: " NGX_CONFIGURE CRLF, + sizeof("configure arguments :" NGX_CONFIGURE CRLF) - 1); +#endif } -#endif - if (!ngx_test_config) { return 0; }