Mercurial > hg > nginx
comparison auto/lib/openssl/conf @ 2940:cb3d4dc8c6db stable-0.7
merge r2893, r2894, and r2917:
various ./configure fixes:
*) use md5/sha1 in OpenSSL only if OpenSSL is used
*) stop ./configure at once on library failure
*) librt must be tested before creating Makefile
the bug has been introduced in r2817
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 15 Jun 2009 08:49:53 +0000 |
parents | 658725e3eef4 |
children | 83c940b0d18a |
comparison
equal
deleted
inserted
replaced
2939:7d8667499ddc | 2940:cb3d4dc8c6db |
---|---|
64 | 64 |
65 if [ $ngx_found = yes ]; then | 65 if [ $ngx_found = yes ]; then |
66 have=NGX_SSL . auto/have | 66 have=NGX_SSL . auto/have |
67 CORE_LIBS="$CORE_LIBS $ngx_feature_libs $NGX_LIBDL" | 67 CORE_LIBS="$CORE_LIBS $ngx_feature_libs $NGX_LIBDL" |
68 OPENSSL=YES | 68 OPENSSL=YES |
69 else | |
70 | |
71 cat << END | |
72 | |
73 $0: error: SSL modules require the OpenSSL library. | |
74 You can either do not enable the modules, or install the OpenSSL library | |
75 into the system, or build the OpenSSL library statically from the source | |
76 with nginx by using --with-openssl=<path> option. | |
77 | |
78 END | |
79 exit 1 | |
69 fi | 80 fi |
70 ;; | 81 ;; |
71 | 82 |
72 esac | 83 esac |
73 | 84 |