summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rwxr-xr-xauto/unix4
1 files changed, 2 insertions, 2 deletions
diff --git a/auto/unix b/auto/unix
index f83173b8b..0c3ddc58f 100755
--- a/auto/unix
+++ b/auto/unix
@@ -264,7 +264,7 @@ ngx_feature_test="dlopen(NULL, RTLD_NOW | RTLD_GLOBAL); dlsym(NULL, NULL)"
. auto/feature
-if [ $ngx_found != yes ]; then
+if [ $ngx_found = no ]; then
ngx_feature="dlopen() in libdl"
ngx_feature_libs="-ldl"
@@ -287,7 +287,7 @@ ngx_feature_test="sched_yield()"
. auto/feature
-if [ $ngx_found != yes ]; then
+if [ $ngx_found = no ]; then
ngx_feature="sched_yield() in librt"
ngx_feature_libs="-lrt"