Mercurial > hg > nginx-quic
comparison auto/os/features @ 2916:759ff3e380e3
librt must be tested before creating Makefile
the bug has been introduced in r2817
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Wed, 03 Jun 2009 04:53:01 +0000 |
parents | ed741daa010a |
children | 6060225e9261 |
comparison
equal
deleted
inserted
replaced
2915:6188bdc89e7c | 2916:759ff3e380e3 |
---|---|
250 | 250 |
251 if [ $ngx_found = yes ]; then | 251 if [ $ngx_found = yes ]; then |
252 NGX_LIBDL="-ldl" | 252 NGX_LIBDL="-ldl" |
253 fi | 253 fi |
254 fi | 254 fi |
255 | |
256 | |
257 ngx_feature="sched_yield()" | |
258 ngx_feature_name="NGX_HAVE_SCHED_YIELD" | |
259 ngx_feature_run=no | |
260 ngx_feature_incs="#include <sched.h>" | |
261 ngx_feature_path= | |
262 ngx_feature_libs= | |
263 ngx_feature_test="sched_yield()" | |
264 . auto/feature | |
265 | |
266 | |
267 if [ $ngx_found != yes ]; then | |
268 | |
269 ngx_feature="sched_yield() in librt" | |
270 ngx_feature_libs="-lrt" | |
271 . auto/feature | |
272 | |
273 if [ $ngx_found = yes ]; then | |
274 CORE_LIBS="$CORE_LIBS -lrt" | |
275 fi | |
276 fi |