comparison auto/unix @ 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 38e59bcc35f2
children 759ff3e380e3
comparison
equal deleted inserted replaced
2879:824d885aa0b1 2880:ed741daa010a
183 CORE_LIBS="$CORE_LIBS -lrt" 183 CORE_LIBS="$CORE_LIBS -lrt"
184 fi 184 fi
185 fi 185 fi
186 186
187 187
188 ngx_feature="dlopen()"
189 ngx_feature_name=
190 ngx_feature_run=no
191 ngx_feature_incs="#include <dlfcn.h>"
192 ngx_feature_path=
193 ngx_feature_libs=
194 ngx_feature_test="dlopen(NULL, 0)"
195 . auto/feature
196
197
198 if [ $ngx_found != yes ]; then
199
200 ngx_feature="dlopen() in libdl"
201 ngx_feature_libs="-ldl"
202 . auto/feature
203
204 if [ $ngx_found = yes ]; then
205 NGX_LIBDL="-ldl"
206 fi
207 fi
208
209
210 ngx_feature="mmap(MAP_ANON|MAP_SHARED)" 188 ngx_feature="mmap(MAP_ANON|MAP_SHARED)"
211 ngx_feature_name="NGX_HAVE_MAP_ANON" 189 ngx_feature_name="NGX_HAVE_MAP_ANON"
212 ngx_feature_run=yes 190 ngx_feature_run=yes
213 ngx_feature_incs="#include <sys/mman.h>" 191 ngx_feature_incs="#include <sys/mman.h>"
214 ngx_feature_path= 192 ngx_feature_path=