From 674ebb08ed5062e8806940a789165d2e3eae2bf8 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Sun, 24 Dec 2006 13:11:41 +0000 Subject: [PATCH] add comment --- src/core/nginx.c | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/src/core/nginx.c b/src/core/nginx.c index ff5995dd2..26ed69eab 100644 --- a/src/core/nginx.c +++ b/src/core/nginx.c @@ -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;