summaryrefslogtreecommitdiffhomepage
path: root/auto/unix
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xauto/unix12
1 files changed, 12 insertions, 0 deletions
diff --git a/auto/unix b/auto/unix
index 447b0e2d3..399e54c2a 100755
--- a/auto/unix
+++ b/auto/unix
@@ -173,6 +173,18 @@ ngx_feature_test="sched_yield()"
. auto/feature
+if [ $ngx_found != yes ]; then
+
+ ngx_feature="sched_yield() in librt"
+ ngx_feature_libs="-lrt"
+ . auto/feature
+
+ if [ $ngx_found = yes ]; then
+ CORE_LIBS="$CORE_LIBS -lrt"
+ fi
+fi
+
+
ngx_feature="mmap(MAP_ANON|MAP_SHARED)"
ngx_feature_name="NGX_HAVE_MAP_ANON"
ngx_feature_run=yes