summaryrefslogtreecommitdiffhomepage
path: root/auto/options
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@nginx.com>2014-05-20 16:10:07 +0400
committerRuslan Ermilov <ru@nginx.com>2014-05-20 16:10:07 +0400
commit1736c180f4683d57d175b98d5596b779bab950d4 (patch)
tree0bdf61366c6dbc9232a40ac0c77b59ba4d1f6127 /auto/options
parent27899a923a36c877cd3307dd054b501789764bcf (diff)
downloadnginx-1736c180f4683d57d175b98d5596b779bab950d4.tar.gz
nginx-1736c180f4683d57d175b98d5596b779bab950d4.tar.bz2
Configure: the --build= option.
If set, its value is output in "nginx -v" and in the error log.
Diffstat (limited to 'auto/options')
-rw-r--r--auto/options3
1 files changed, 3 insertions, 0 deletions
diff --git a/auto/options b/auto/options
index 6cea8c7c2..010a6bbe2 100644
--- a/auto/options
+++ b/auto/options
@@ -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