diff options
author | Igor Sysoev <igor@sysoev.ru> | 2017-08-26 13:37:44 +0300 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2017-08-26 13:37:44 +0300 |
commit | 93f7104a653bd2e5fe2008eb8f42334d9df8542a (patch) | |
tree | bb0bfa2bf7b2af9b5514e4dfcdda316889c14074 /configure | |
parent | 0d65c896cfa45f5e3fef05d95c9409fd68ff45c8 (diff) | |
download | unit-93f7104a653bd2e5fe2008eb8f42334d9df8542a.tar.gz unit-93f7104a653bd2e5fe2008eb8f42334d9df8542a.tar.bz2 |
Added configure and command line option --help.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 20 |
1 files changed, 18 insertions, 2 deletions
@@ -30,10 +30,25 @@ NXT_AUTO_CONFIG_H=$NXT_BUILD_DIR/nxt_auto_config.h NXT_MAKEFILE=$NXT_BUILD_DIR/Makefile NXT_BIN=nginext -nxt_module=${1:-no} + +CC=${CC:-cc} + +NXT_PID="nginext.pid" +NXT_LOG="nginext.log" +NXT_MODULES="modules" +NXT_CONTROL="unix:control.unit.sock" +NXT_USER="nobody" +NXT_GROUP= + +nxt_module=${1:-""} case $nxt_module in - no|--*) + --help) + . auto/help + exit 0 + ;; + + ""|--*) ;; unit) @@ -46,6 +61,7 @@ case $nxt_module in ;; esac + . auto/os/test . auto/options |