Mercurial > hg > nginx
comparison src/os/unix/ngx_posix_init.c @ 5701:1209b8a7b077
Configure: the --build= option.
If set, its value is output in "nginx -v" and in the error log.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Tue, 20 May 2014 16:10:07 +0400 |
parents | 4c36e15651f7 |
children | 16013b71feed |
comparison
equal
deleted
inserted
replaced
5700:5e892d40e5cc | 5701:1209b8a7b077 |
---|---|
80 | 80 |
81 | 81 |
82 void | 82 void |
83 ngx_os_status(ngx_log_t *log) | 83 ngx_os_status(ngx_log_t *log) |
84 { | 84 { |
85 ngx_log_error(NGX_LOG_NOTICE, log, 0, NGINX_VER); | 85 ngx_log_error(NGX_LOG_NOTICE, log, 0, NGINX_VER_BUILD); |
86 | 86 |
87 #ifdef NGX_COMPILER | 87 #ifdef NGX_COMPILER |
88 ngx_log_error(NGX_LOG_NOTICE, log, 0, "built by " NGX_COMPILER); | 88 ngx_log_error(NGX_LOG_NOTICE, log, 0, "built by " NGX_COMPILER); |
89 #endif | 89 #endif |
90 | 90 |