comparison auto/os/features @ 2880:ed741daa010a

test libdl before OpenSSL configuration the bug has been introduced in r2818 and broke *) SSL modules linking on Solaris 9 and lower, *) and linking with OpenSSL built from sources on Linux
author Igor Sysoev <igor@sysoev.ru>
date Sun, 24 May 2009 14:19:16 +0000
parents 418c9f97bd01
children 759ff3e380e3
comparison
equal deleted inserted replaced
2879:824d885aa0b1 2880:ed741daa010a
228 ngx_feature_path= 228 ngx_feature_path=
229 ngx_feature_libs= 229 ngx_feature_libs=
230 ngx_feature_test="struct statvfs fs; 230 ngx_feature_test="struct statvfs fs;
231 statvfs(NULL, &fs);" 231 statvfs(NULL, &fs);"
232 . auto/feature 232 . auto/feature
233
234
235 ngx_feature="dlopen()"
236 ngx_feature_name=
237 ngx_feature_run=no
238 ngx_feature_incs="#include <dlfcn.h>"
239 ngx_feature_path=
240 ngx_feature_libs=
241 ngx_feature_test="dlopen(NULL, 0)"
242 . auto/feature
243
244
245 if [ $ngx_found != yes ]; then
246
247 ngx_feature="dlopen() in libdl"
248 ngx_feature_libs="-ldl"
249 . auto/feature
250
251 if [ $ngx_found = yes ]; then
252 NGX_LIBDL="-ldl"
253 fi
254 fi