1
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
21