comparison 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
comparison
equal deleted inserted replaced
5700:5e892d40e5cc 5701:1209b8a7b077
11 11
12 #define nginx_version 1007001 12 #define nginx_version 1007001
13 #define NGINX_VERSION "1.7.1" 13 #define NGINX_VERSION "1.7.1"
14 #define NGINX_VER "nginx/" NGINX_VERSION 14 #define NGINX_VER "nginx/" NGINX_VERSION
15 15
16 #ifdef NGX_BUILD
17 #define NGINX_VER_BUILD NGINX_VER " (" NGX_BUILD ")"
18 #else
19 #define NGINX_VER_BUILD NGINX_VER
20 #endif
21
16 #define NGINX_VAR "NGINX" 22 #define NGINX_VAR "NGINX"
17 #define NGX_OLDPID_EXT ".oldbin" 23 #define NGX_OLDPID_EXT ".oldbin"
18 24
19 25
20 #endif /* _NGINX_H_INCLUDED_ */ 26 #endif /* _NGINX_H_INCLUDED_ */