blob: 381f07ac38a0e59cbe39c3dcca2146475c2f334d [file] [log] [blame]
Valentin Bartenev27e49d72015-03-14 17:37:07 +03001
2# Copyright (C) Nginx, Inc.
3
4
5if [ $USE_THREADS = YES ]; then
6
7 if [ "$NGX_PLATFORM" = win32 ]; then
8 cat << END
9
10$0: --with-threads is not supported on Windows
11
12END
13 exit 1
14 fi
15
16 have=NGX_THREADS . auto/have
17 CORE_DEPS="$CORE_DEPS $THREAD_POOL_DEPS"
18 CORE_SRCS="$CORE_SRCS $THREAD_POOL_SRCS"
19 CORE_LIBS="$CORE_LIBS -lpthread"
20fi