summaryrefslogtreecommitdiffhomepage
path: root/auto/options
diff options
context:
space:
mode:
Diffstat (limited to 'auto/options')
-rw-r--r--auto/options6
1 files changed, 6 insertions, 0 deletions
diff --git a/auto/options b/auto/options
index cb4a8b56..9563bbc8 100644
--- a/auto/options
+++ b/auto/options
@@ -55,6 +55,7 @@ do
--bindir=*) NXT_BINDIR="$value" ;;
--sbindir=*) NXT_SBINDIR="$value" ;;
--modules=*) NXT_MODULES="$value" ;;
+ --state=*) NXT_STATE="$value" ;;
--pid=*) NXT_PID="$value" ;;
--log=*) NXT_LOG="$value" ;;
@@ -132,6 +133,11 @@ case "$NXT_MODULES" in
*) NXT_MODULES="$NXT_PREFIX$NXT_MODULES" ;;
esac
+case "$NXT_STATE" in
+ /*) ;;
+ *) NXT_STATE="$NXT_PREFIX$NXT_STATE" ;;
+esac
+
case "$NXT_PID" in
/*) ;;
*) NXT_PID="$NXT_PREFIX$NXT_PID" ;;