summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--auto/options3
-rwxr-xr-xconfigure3
2 files changed, 1 insertions, 5 deletions
diff --git a/auto/options b/auto/options
index fe11f35f..cb4a8b56 100644
--- a/auto/options
+++ b/auto/options
@@ -9,7 +9,6 @@ NXT_CFLAGS=
NXT_CC_OPT=
NXT_LD_OPT=
-NXT_BUILD_DIR=build
NXT_PREFIX=
NXT_DEBUG=NO
@@ -52,8 +51,6 @@ do
--cc-opt=*) NXT_CC_OPT="$value" ;;
--ld-opt=*) NXT_LD_OPT="$value" ;;
- --build-dir=*) NXT_BUILD_DIR="$value" ;;
-
--prefix=*) NXT_PREFIX="$value" ;;
--bindir=*) NXT_BINDIR="$value" ;;
--sbindir=*) NXT_SBINDIR="$value" ;;
diff --git a/configure b/configure
index d085d786..d4de0652 100755
--- a/configure
+++ b/configure
@@ -19,8 +19,7 @@ CFLAGS=${CFLAGS=}
NXT_TEST_CFLAGS=${NXT_TEST_CFLAGS=}
NXT_TEST_LIBS=${NXT_TEST_LIBS=}
-# STUB
-NXT_BUILD_DIR=build
+NXT_BUILD_DIR=${NXT_BUILD_DIR:-build}
NXT_AUTOTEST=$NXT_BUILD_DIR/autotest
NXT_AUTOCONF_ERR=$NXT_BUILD_DIR/autoconf.err