From 93f7104a653bd2e5fe2008eb8f42334d9df8542a Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Sat, 26 Aug 2017 13:37:44 +0300 Subject: Added configure and command line option --help. --- configure | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) (limited to 'configure') diff --git a/configure b/configure index 4ff8ab66..f9009f4f 100755 --- a/configure +++ b/configure @@ -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 -- cgit