diff auto/options @ 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 00bdc9f08a16
children efc84a5723b3
line wrap: on
line diff
--- 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