comparison auto/lib/openssl/make @ 494:499474178a11 NGINX_0_7_59

nginx 0.7.59 *) Feature: the "proxy_cache_methods" and "fastcgi_cache_methods" directives. *) Bugfix: socket leak; the bug had appeared in 0.7.25. Thanks to Maxim Dounin. *) Bugfix: a segmentation fault occurred in worker process, if a request had no body and the $request_body variable was used; the bug had appeared in 0.7.58. *) Bugfix: the SSL modules might not built on Solaris and Linux; the bug had appeared in 0.7.58. *) Bugfix: ngx_http_xslt_filter_module responses were not handled by SSI, charset, and gzip filters. *) Bugfix: a "charset" directive did not set a charset to ngx_http_gzip_static_module responses.
author Igor Sysoev <http://sysoev.ru>
date Mon, 25 May 2009 00:00:00 +0400
parents 98143f74eb3d
children f39b9e29530d
comparison
equal deleted inserted replaced
493:d13d7ebf1370 494:499474178a11
1 1
2 # Copyright (C) Igor Sysoev 2 # Copyright (C) Igor Sysoev
3 3
4 4
5 if test -n "$OPENSSL_OPT"; then
6 NGX_OPENSSL_CONFIG="./Configure $OPENSSL_OPT"
7 else
8 NGX_OPENSSL_CONFIG="./config"
9 fi
10
11 case $USE_THREADS in 5 case $USE_THREADS in
12 NO) NGX_OPENSSL_CONFIG="$NGX_OPENSSL_CONFIG no-threads" ;; 6 NO) OPENSSL_OPT="$OPENSSL_OPT no-threads" ;;
13 *) NGX_OPENSSL_CONFIG="$NGX_OPENSSL_CONFIG threads" ;; 7 *) OPENSSL_OPT="$OPENSSL_OPT threads" ;;
14 esac 8 esac
15 9
16 case "$CC" in 10 case "$CC" in
17 11
18 cl) 12 cl)
49 END 43 END
50 44
51 ;; 45 ;;
52 46
53 *) 47 *)
48 case $OPENSSL in
49
50 /*)
51 ngx_prefix="$OPENSSL/openssl"
52 ;;
53
54 *)
55 ngx_prefix="$PWD/$OPENSSL/openssl"
56 ;;
57
58 esac
59
54 cat << END >> $NGX_MAKEFILE 60 cat << END >> $NGX_MAKEFILE
55 61
56 $OPENSSL/libssl.a: $NGX_MAKEFILE 62 $OPENSSL/openssl/include/openssl/ssl.h: $NGX_MAKEFILE
57 cd $OPENSSL \\ 63 cd $OPENSSL \\
58 && \$(MAKE) clean \\ 64 && \$(MAKE) clean \\
59 && $NGX_OPENSSL_CONFIG no-shared \\ 65 && ./config --prefix=$ngx_prefix no-shared $OPENSSL_OPT \\
60 && \$(MAKE) 66 && \$(MAKE) \\
67 && \$(MAKE) install
61 68
62 END 69 END
63 70
64 ;; 71 ;;
65 72