diff options
author | Igor Sysoev <igor@sysoev.ru> | 2006-12-24 13:11:41 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2006-12-24 13:11:41 +0000 |
commit | 674ebb08ed5062e8806940a789165d2e3eae2bf8 (patch) | |
tree | 7a9785f4a599531266cb9c89e4a6a853d26b7bdf /src | |
parent | 48ae1ac29b7081bfd0513faaa03be36312dfadd3 (diff) | |
download | nginx-674ebb08ed5062e8806940a789165d2e3eae2bf8.tar.gz nginx-674ebb08ed5062e8806940a789165d2e3eae2bf8.zip |
add comment
Diffstat (limited to 'src')
-rw-r--r-- | src/core/nginx.c | 13 |
1 files 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; |