summaryrefslogtreecommitdiffhomepage
path: root/auto
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--auto/options7
1 files changed, 7 insertions, 0 deletions
diff --git a/auto/options b/auto/options
index 7bd4606a..b7fcc179 100644
--- a/auto/options
+++ b/auto/options
@@ -13,6 +13,7 @@ NXT_CC_OPT=
NXT_LD_OPT=
NXT_PREFIX=
+NXT_PID="nginext.pid"
NXT_LOG="nginext.log"
NXT_DEBUG=NO
@@ -58,6 +59,7 @@ do
--build-dir=*) NXT_BUILD_DIR="$value" ;;
--prefix=*) NXT_PREFIX="$value" ;;
+ --pid=*) NXT_PID="$value" ;;
--log=*) NXT_LOG="$value" ;;
--debug) NXT_DEBUG=YES ;;
@@ -107,6 +109,11 @@ case "$NXT_PREFIX" in
*) NXT_PREFIX="$NXT_PREFIX/" ;;
esac
+case "$NXT_PID" in
+ /*) ;;
+ *) NXT_PID="$NXT_PREFIX$NXT_PID" ;;
+esac
+
case "$NXT_LOG" in
/*) ;;
*) NXT_LOG="$NXT_PREFIX$NXT_LOG" ;;