Mercurial > hg > nginx
comparison auto/unix @ 2816:af0eaf409225
Solaris 10 has sched_yield() in libc
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Fri, 08 May 2009 09:36:16 +0000 |
parents | 87e739049e93 |
children | 38e59bcc35f2 |
comparison
equal
deleted
inserted
replaced
2815:304bfc6faf07 | 2816:af0eaf409225 |
---|---|
171 ngx_feature_libs= | 171 ngx_feature_libs= |
172 ngx_feature_test="sched_yield()" | 172 ngx_feature_test="sched_yield()" |
173 . auto/feature | 173 . auto/feature |
174 | 174 |
175 | 175 |
176 if [ $ngx_found != yes ]; then | |
177 | |
178 ngx_feature="sched_yield() in librt" | |
179 ngx_feature_libs="-lrt" | |
180 . auto/feature | |
181 | |
182 if [ $ngx_found = yes ]; then | |
183 CORE_LIBS="$CORE_LIBS -lrt" | |
184 fi | |
185 fi | |
186 | |
187 | |
176 ngx_feature="mmap(MAP_ANON|MAP_SHARED)" | 188 ngx_feature="mmap(MAP_ANON|MAP_SHARED)" |
177 ngx_feature_name="NGX_HAVE_MAP_ANON" | 189 ngx_feature_name="NGX_HAVE_MAP_ANON" |
178 ngx_feature_run=yes | 190 ngx_feature_run=yes |
179 ngx_feature_incs="#include <sys/mman.h>" | 191 ngx_feature_incs="#include <sys/mman.h>" |
180 ngx_feature_path= | 192 ngx_feature_path= |