summaryrefslogtreecommitdiffhomepage
path: root/auto/options
diff options
context:
space:
mode:
authorMax Romanov <max.romanov@nginx.com>2018-10-17 15:52:44 +0300
committerMax Romanov <max.romanov@nginx.com>2018-10-17 15:52:44 +0300
commit49ec17b1ef1d35cda54dc545c1d37d02b35afdcb (patch)
treee81e7c3628565519284440a1f478dbbc4dbe746c /auto/options
parent029c1a9f509b2af60e02d74ef982fda1346d85e0 (diff)
downloadunit-49ec17b1ef1d35cda54dc545c1d37d02b35afdcb.tar.gz
unit-49ec17b1ef1d35cda54dc545c1d37d02b35afdcb.tar.bz2
Installing libunit headers and static library.
Diffstat (limited to '')
-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" ;;