summaryrefslogtreecommitdiffhomepage
path: root/auto/options
diff options
context:
space:
mode:
authorAndrei Belov <defan@nginx.com>2018-10-25 19:00:07 +0300
committerAndrei Belov <defan@nginx.com>2018-10-25 19:00:07 +0300
commitdc3e83f26ce9f92a157d4332c723d531ca411b80 (patch)
treea723f2ce7d8c91527fdfb94eeae708292a705417 /auto/options
parent8b37c0c70a183f19f7f4245ce0825954d8dbcaf7 (diff)
parentfd99a738e586326ee5b40a6bc3d09c64b18f394a (diff)
downloadunit-1.5-1.tar.gz
unit-1.5-1.tar.bz2
Merged with the default branch.1.5-1
Diffstat (limited to 'auto/options')
-rw-r--r--auto/options12
1 files changed, 12 insertions, 0 deletions
diff --git a/auto/options b/auto/options
index eadfb198..0d31abad 100644
--- a/auto/options
+++ b/auto/options
@@ -54,6 +54,8 @@ do
--prefix=*) NXT_PREFIX="$value" ;;
--bindir=*) NXT_BINDIR="$value" ;;
--sbindir=*) NXT_SBINDIR="$value" ;;
+ --libdir=*) NXT_LIBDIR="$value" ;;
+ --incdir=*) NXT_INCDIR="$value" ;;
--modules=*) NXT_MODULES="$value" ;;
--state=*) NXT_STATE="$value" ;;
@@ -127,6 +129,16 @@ case "$NXT_SBINDIR" in
*) NXT_SBINDIR="$NXT_PREFIX$NXT_SBINDIR" ;;
esac
+case "$NXT_LIBDIR" in
+ /*) ;;
+ *) NXT_LIBDIR="$NXT_PREFIX$NXT_LIBDIR" ;;
+esac
+
+case "$NXT_INCDIR" in
+ /*) ;;
+ *) NXT_INCDIR="$NXT_PREFIX$NXT_INCDIR" ;;
+esac
+
case "$NXT_MODULES" in
/*) ;;
*) NXT_MODULES="$NXT_PREFIX$NXT_MODULES" ;;