summaryrefslogtreecommitdiffhomepage
path: root/auto/options
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2017-08-26 13:37:44 +0300
committerIgor Sysoev <igor@sysoev.ru>2017-08-26 13:37:44 +0300
commit93f7104a653bd2e5fe2008eb8f42334d9df8542a (patch)
treebb0bfa2bf7b2af9b5514e4dfcdda316889c14074 /auto/options
parent0d65c896cfa45f5e3fef05d95c9409fd68ff45c8 (diff)
downloadunit-93f7104a653bd2e5fe2008eb8f42334d9df8542a.tar.gz
unit-93f7104a653bd2e5fe2008eb8f42334d9df8542a.tar.bz2
Added configure and command line option --help.
Diffstat (limited to 'auto/options')
-rw-r--r--auto/options15
1 files changed, 3 insertions, 12 deletions
diff --git a/auto/options b/auto/options
index b21fe5c4..67f53258 100644
--- a/auto/options
+++ b/auto/options
@@ -4,23 +4,13 @@
# Copyright (C) NGINX, Inc.
-CC=${CC:-cc}
-
-NXT_BUILD_DIR=build
NXT_CONFIGURE_OPTIONS=
NXT_CFLAGS=
NXT_CC_OPT=
NXT_LD_OPT=
+NXT_BUILD_DIR=build
NXT_PREFIX=
-NXT_PID="nginext.pid"
-NXT_LOG="nginext.log"
-NXT_MODULES="modules"
-
-NXT_CONTROL="unix:control.unit.sock"
-
-NXT_USER="nobody"
-NXT_GROUP=
NXT_DEBUG=NO
@@ -103,7 +93,8 @@ do
*)
$echo
- $echo "$0: error: invalid option \"$nxt_option\"".
+ $echo $0: error: invalid option \"$nxt_option\".
+ $echo Run \"$0 --help\" to see available options.
$echo
exit 1
;;