summaryrefslogtreecommitdiffhomepage
path: root/auto
diff options
context:
space:
mode:
Diffstat (limited to 'auto')
-rw-r--r--auto/options4
-rw-r--r--auto/sources29
2 files changed, 9 insertions, 24 deletions
diff --git a/auto/options b/auto/options
index 3e57c904..08a62acd 100644
--- a/auto/options
+++ b/auto/options
@@ -13,7 +13,6 @@ NXT_CC_OPT=
NXT_LD_OPT=
NXT_DEBUG=NO
-NXT_THREADS=YES
NXT_INET6=NO
NXT_UNIX_DOMAIN=YES
@@ -57,9 +56,6 @@ do
--debug) NXT_DEBUG=YES ;;
- --threads) NXT_THREADS=YES ;;
- --no-threads) NXT_THREADS=NO ;;
-
--ipv6) NXT_INET6=YES ;;
--inet6) NXT_INET6=YES ;;
--no-unix-domain) NXT_UNIX_DOMAIN=NO ;;
diff --git a/auto/sources b/auto/sources
index 6ef8b5fe..1eba9e68 100644
--- a/auto/sources
+++ b/auto/sources
@@ -50,8 +50,10 @@ NXT_LIB_DEPS=" \
src/nxt_buf_filter.h \
src/nxt_recvbuf.h \
src/nxt_sendbuf.h \
+ src/nxt_semaphore.h \
src/nxt_thread_log.h \
src/nxt_thread_time.h \
+ src/nxt_thread_pool.h \
src/nxt_work_queue.h \
src/nxt_service.h \
src/nxt_fiber.h \
@@ -114,6 +116,13 @@ NXT_LIB_SRCS=" \
src/nxt_buf_pool.c \
src/nxt_recvbuf.c \
src/nxt_sendbuf.c \
+ src/nxt_thread.c \
+ src/nxt_thread_id.c \
+ src/nxt_thread_mutex.c \
+ src/nxt_thread_cond.c \
+ src/nxt_spinlock.c \
+ src/nxt_semaphore.c \
+ src/nxt_thread_pool.c \
src/nxt_thread_time.c \
src/nxt_time_parse.c \
src/nxt_work_queue.c \
@@ -165,20 +174,6 @@ NXT_LIB_SRC0=" \
src/nxt_mem_pool_cleanup.c \
"
-NXT_LIB_THREAD_DEPS=" \
- src/nxt_semaphore.h \
- src/nxt_thread_pool.h \
-"
-
-NXT_LIB_THREAD_SRCS=" \
- src/nxt_thread.c \
- src/nxt_thread_id.c \
- src/nxt_thread_mutex.c \
- src/nxt_thread_cond.c \
- src/nxt_spinlock.c \
- src/nxt_semaphore.c \
- src/nxt_thread_pool.c \
-"
NXT_LIB_SSLTLS_DEPS="src/nxt_ssltls.h"
NXT_LIB_SSLTLS_SRCS="src/nxt_ssltls.c"
@@ -231,12 +226,6 @@ NXT_LIB_UTF8_FILE_NAME_TEST_SRCS=" \
"
-if [ $NXT_THREADS = YES ]; then
- NXT_LIB_DEPS="$NXT_LIB_DEPS $NXT_LIB_THREAD_DEPS"
- NXT_LIB_SRCS="$NXT_LIB_SRCS $NXT_LIB_THREAD_SRCS"
-fi
-
-
if [ $NXT_SSLTLS = YES ]; then
nxt_have=NXT_SSLTLS . auto/have
NXT_LIB_DEPS="$NXT_LIB_DEPS $NXT_LIB_SSLTLS_DEPS"