diff options
Diffstat (limited to '')
| -rw-r--r-- | auto/threads | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/auto/threads b/auto/threads index 71fbcb6ef..0c677f1d6 100644 --- a/auto/threads +++ b/auto/threads @@ -1,7 +1,13 @@ if [ $USE_THREADS = "rfork" ]; then + have=NGX_THREADS . auto/have have=USE_RFORK . auto/have CORE_DEPS="$CORE_DEPS $UNIX_THREADS_DEPS" CORE_SRCS="$CORE_SRCS $FREEBSD_RFORK_SRCS" + + if [ $version -lt 501000 ]; then + CORE_SRCS="$CORE_SRCS $FREEBSD_RFORK_THREAD_SRCS" + fi + fi |
