Mercurial > hg > nginx-quic
comparison auto/unix @ 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 | 65481698535c |
comparison
equal
deleted
inserted
replaced
2915:6188bdc89e7c | 2916:759ff3e380e3 |
---|---|
161 ngx_feature_libs= | 161 ngx_feature_libs= |
162 ngx_feature_test="void *p; p = memalign(4096, 4096)" | 162 ngx_feature_test="void *p; p = memalign(4096, 4096)" |
163 . auto/feature | 163 . auto/feature |
164 | 164 |
165 | 165 |
166 ngx_feature="sched_yield()" | |
167 ngx_feature_name="NGX_HAVE_SCHED_YIELD" | |
168 ngx_feature_run=no | |
169 ngx_feature_incs="#include <sched.h>" | |
170 ngx_feature_path= | |
171 ngx_feature_libs= | |
172 ngx_feature_test="sched_yield()" | |
173 . auto/feature | |
174 | |
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 | |
188 ngx_feature="mmap(MAP_ANON|MAP_SHARED)" | 166 ngx_feature="mmap(MAP_ANON|MAP_SHARED)" |
189 ngx_feature_name="NGX_HAVE_MAP_ANON" | 167 ngx_feature_name="NGX_HAVE_MAP_ANON" |
190 ngx_feature_run=yes | 168 ngx_feature_run=yes |
191 ngx_feature_incs="#include <sys/mman.h>" | 169 ngx_feature_incs="#include <sys/mman.h>" |
192 ngx_feature_path= | 170 ngx_feature_path= |