mirror of
https://github.com/nginx/nginx.git
synced 2026-08-12 06:04:47 -05:00
Configure: the --build= option.
If set, its value is output in "nginx -v" and in the error log.
This commit is contained in:
Vendored
+4
@@ -108,4 +108,8 @@ have=NGX_HTTP_SCGI_TEMP_PATH value="\"$NGX_HTTP_SCGI_TEMP_PATH\""
|
||||
have=NGX_USER value="\"$NGX_USER\"" . auto/define
|
||||
have=NGX_GROUP value="\"$NGX_GROUP\"" . auto/define
|
||||
|
||||
if [ ".$NGX_BUILD" != "." ]; then
|
||||
have=NGX_BUILD value="\"$NGX_BUILD\"" . auto/define
|
||||
fi
|
||||
|
||||
. auto/summary
|
||||
|
||||
@@ -14,6 +14,7 @@ NGX_PID_PATH=
|
||||
NGX_LOCK_PATH=
|
||||
NGX_USER=
|
||||
NGX_GROUP=
|
||||
NGX_BUILD=
|
||||
|
||||
CC=${CC:-cc}
|
||||
CPP=
|
||||
@@ -178,6 +179,7 @@ do
|
||||
|
||||
--crossbuild=*) NGX_PLATFORM="$value" ;;
|
||||
|
||||
--build=*) NGX_BUILD="$value" ;;
|
||||
--builddir=*) NGX_OBJS="$value" ;;
|
||||
|
||||
--with-rtsig_module) EVENT_RTSIG=YES ;;
|
||||
@@ -341,6 +343,7 @@ cat << END
|
||||
--group=GROUP set non-privileged group for
|
||||
worker processes
|
||||
|
||||
--build=NAME set build name
|
||||
--builddir=DIR set build directory
|
||||
|
||||
--with-rtsig_module enable rtsig module
|
||||
|
||||
Reference in New Issue
Block a user