view auto/threads @ 9231:e8b200816108

MIME: changed type for rar files to application/vnd.rar. The application/x-rar-compressed type is deprecated and is now replaced by application/vnd.rar [1]. Link for reference: [1] https://www.iana.org/assignments/media-types/application/vnd.rar
author Yuriy Izorkin <lafiel@elven.pw>
date Tue, 26 Mar 2024 19:39:48 +0300
parents 04ebf29eaf5b
children
line wrap: on
line source


# Copyright (C) Nginx, Inc.


if [ $USE_THREADS = YES ]; then

    if [ "$NGX_PLATFORM" = win32 ]; then
        cat << END

$0: --with-threads is not supported on Windows

END
        exit 1
    fi

    have=NGX_THREADS . auto/have
    CORE_DEPS="$CORE_DEPS $THREAD_POOL_DEPS"
    CORE_SRCS="$CORE_SRCS $THREAD_POOL_SRCS"
    CORE_LIBS="$CORE_LIBS -lpthread"
    NGX_LIBPTHREAD="-lpthread"
fi