Mercurial > hg > nginx
diff src/core/nginx.h @ 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 | 1710bf72243e |
children | 9b0c92f22bbf |
line wrap: on
line diff
--- a/src/core/nginx.h Tue May 20 14:03:03 2014 +0400 +++ b/src/core/nginx.h Tue May 20 16:10:07 2014 +0400 @@ -13,6 +13,12 @@ #define NGINX_VERSION "1.7.1" #define NGINX_VER "nginx/" NGINX_VERSION +#ifdef NGX_BUILD +#define NGINX_VER_BUILD NGINX_VER " (" NGX_BUILD ")" +#else +#define NGINX_VER_BUILD NGINX_VER +#endif + #define NGINX_VAR "NGINX" #define NGX_OLDPID_EXT ".oldbin"