comparison auto/lib/openssl/conf @ 599:53f5f04a64b8 NGINX_0_8_45

nginx 0.8.45 *) Feature: ngx_http_xslt_filter improvements. Thanks to Laurence Rowe. *) Bugfix: SSI response might be truncated after include with wait="yes"; the bug had appeared in 0.7.25. Thanks to Maxim Dounin. *) Bugfix: the "listen" directive did not support the "setfib=0" parameter.
author Igor Sysoev <http://sysoev.ru>
date Tue, 13 Jul 2010 00:00:00 +0400
parents be4f34123024
children
comparison
equal deleted inserted replaced
598:565a8b8fdad5 599:53f5f04a64b8
35 ;; 35 ;;
36 esac 36 esac
37 37
38 else 38 else
39 39
40 case "$NGX_PLATFORM" in 40 if [ "$NGX_PLATFORM" != win32 ]; then
41 41
42 win32) 42 OPENSSL=NO
43 have=NGX_OPENSSL . auto/have 43
44 ngx_feature="OpenSSL library"
45 ngx_feature_name="NGX_OPENSSL"
46 ngx_feature_run=no
47 ngx_feature_incs="#include <openssl/ssl.h>"
48 ngx_feature_path=
49 ngx_feature_libs="-lssl -lcrypto"
50 ngx_feature_test="SSL_library_init()"
51 . auto/feature
52
53 if [ $ngx_found = yes ]; then
44 have=NGX_SSL . auto/have 54 have=NGX_SSL . auto/have
55 CORE_LIBS="$CORE_LIBS $ngx_feature_libs $NGX_LIBDL"
45 OPENSSL=YES 56 OPENSSL=YES
57 fi
58 fi
46 59
47 CORE_INCS="$CORE_INCS c:/openssl/include" 60 if [ $OPENSSL != YES ]; then
48 CORE_LIBS="$CORE_LIBS c:/openssl/ssleay32.lib"
49 CORE_LIBS="$CORE_LIBS c:/openssl/libeay32.lib"
50
51 # libeay32.lib requires gdi32.lib
52 CORE_LIBS="$CORE_LIBS gdi32.lib"
53 ;;
54
55 *)
56 OPENSSL=NO
57
58 ngx_feature="OpenSSL library"
59 ngx_feature_name="NGX_OPENSSL"
60 ngx_feature_run=no
61 ngx_feature_incs="#include <openssl/ssl.h>"
62 ngx_feature_path=
63 ngx_feature_libs="-lssl -lcrypto"
64 ngx_feature_test="SSL_library_init()"
65 . auto/feature
66
67 if [ $ngx_found = yes ]; then
68 have=NGX_SSL . auto/have
69 CORE_LIBS="$CORE_LIBS $ngx_feature_libs $NGX_LIBDL"
70 OPENSSL=YES
71 else
72 61
73 cat << END 62 cat << END
74 63
75 $0: error: SSL modules require the OpenSSL library. 64 $0: error: SSL modules require the OpenSSL library.
76 You can either do not enable the modules, or install the OpenSSL library 65 You can either do not enable the modules, or install the OpenSSL library
77 into the system, or build the OpenSSL library statically from the source 66 into the system, or build the OpenSSL library statically from the source
78 with nginx by using --with-openssl=<path> option. 67 with nginx by using --with-openssl=<path> option.
79 68
80 END 69 END
81 exit 1 70 exit 1
82 fi 71 fi
83 ;;
84
85 esac
86 72
87 fi 73 fi