comparison auto/lib/md5/conf @ 4:4b2dafa26fe2 NGINX_0_1_2

nginx 0.1.2 *) Feature: the --user=USER, --group=GROUP, and --with-ld-opt=OPTIONS options in configure. *) Feature: the server_name directive supports *.domain.tld. *) Bugfix: the portability improvements. *) Bugfix: if configuration file was set in command line, the reconfiguration was impossible; bug appeared in 0.1.1. *) Bugfix: proxy module may get caught in an endless loop when sendfile is not used. *) Bugfix: with sendfile the response was not recoded according to the charset module directives; bug appeared in 0.1.1. *) Bugfix: very seldom bug in the kqueue processing. *) Bugfix: the gzip module compressed the proxied responses that was already compressed.
author Igor Sysoev <http://sysoev.ru>
date Thu, 21 Oct 2004 00:00:00 +0400
parents f0b350454894
children 46833bd150cb
comparison
equal deleted inserted replaced
3:8beaf7b3241f 4:4b2dafa26fe2
13 OPENSSL_MD5=NO 13 OPENSSL_MD5=NO
14 fi 14 fi
15 15
16 CORE_INCS="$CORE_INCS $MD5" 16 CORE_INCS="$CORE_INCS $MD5"
17 17
18 case "$CC" in 18 case "$NGX_CC_NAME" in
19 19
20 cl | wcl386 | bcc32) 20 msvc | owc | bcc)
21 LINK_DEPS="$LINK_DEPS $MD5/md5.lib" 21 LINK_DEPS="$LINK_DEPS $MD5/md5.lib"
22 CORE_LIBS="$CORE_LIBS $MD5/md5.lib" 22 CORE_LIBS="$CORE_LIBS $MD5/md5.lib"
23 ;; 23 ;;
24 24
25 *icc) 25 icc)
26 LINK_DEPS="$LINK_DEPS $MD5/libmd5.a" 26 LINK_DEPS="$LINK_DEPS $MD5/libmd5.a"
27 27
28 # to allow -ipo optimization we link with the *.o but not library 28 # to allow -ipo optimization we link with the *.o but not library
29 CORE_LIBS="$CORE_LIBS $MD5/md5_dgst.o" 29 CORE_LIBS="$CORE_LIBS $MD5/md5_dgst.o"
30 30
43 43
44 else 44 else
45 45
46 if [ $PLATFORM != win32 ]; then 46 if [ $PLATFORM != win32 ]; then
47 MD5=NO 47 MD5=NO
48 ngx_lib_cflags=
49 48
50 # Solaris 8/9 49 # Solaris 8/9
51 50
52 ngx_lib_inc="#include <sys/types.h> 51 ngx_feature="rsaref md5 library"
53 #include <md5.h>" 52 ngx_feature_name="rsaref_md5"
54 ngx_lib="rsaref md5 library" 53 ngx_feature_run=no
55 ngx_lib_test="MD5_CTX md5; MD5Init(&md5)" 54 ngx_feature_incs="#include <md5.h>"
56 ngx_libs=-lmd5 55 ngx_feature_libs="-lmd5"
57 . auto/lib/test 56 ngx_feature_test="MD5_CTX md5; MD5Init(&md5)"
58 57 . auto/feature
59 58
60 if [ $ngx_found = yes ]; then 59 if [ $ngx_found = yes ]; then
61 CORE_LIBS="$CORE_LIBS $ngx_libs" 60 CORE_LIBS="$CORE_LIBS $ngx_feature_libs"
62 MD5=YES 61 MD5=YES
63 MD5_LIB=md5 62 MD5_LIB=md5
64 ngx_found=no 63 ngx_found=no
65 64
66 else 65 else
67 # FreeBSD 66 # FreeBSD
68 67
69 ngx_lib="rsaref md library" 68 ngx_feature="rsaref md library"
70 ngx_lib_test="MD5_CTX md5; MD5Init(&md5)" 69 ngx_feature_name="rsaref_md5"
71 ngx_libs=-lmd 70 ngx_feature_run=no
72 . auto/lib/test 71 ngx_feature_incs="#include <md5.h>"
72 ngx_feature_libs="-lmd"
73 ngx_feature_test="MD5_CTX md5; MD5Init(&md5)"
74 . auto/feature
73 fi 75 fi
74 76
75 77
76 if [ $ngx_found = yes ]; then 78 if [ $ngx_found = yes ]; then
77 CORE_LIBS="$CORE_LIBS $ngx_libs" 79 CORE_LIBS="$CORE_LIBS $ngx_feature_libs"
78 MD5=YES 80 MD5=YES
79 MD5_LIB=md 81 MD5_LIB=md
80 ngx_found=no 82 ngx_found=no
81 83
82 else 84 else
83 if [ $MD5 = NO ]; then 85 if [ $MD5 = NO ]; then
84 86
85 # OpenSSL crypto library 87 # OpenSSL crypto library
86 88
87 ngx_lib_inc="#include <openssl/md5.h>" 89 ngx_feature="OpenSSL md5 crypto library"
88 ngx_lib="OpenSSL md5 crypto library" 90 ngx_feature_name="OpenSSL_md5"
89 ngx_lib_test="MD5_CTX md5; MD5_Init(&md5)" 91 ngx_feature_run=no
90 ngx_libs=-lcrypto 92 ngx_feature_incs="#include <openssl/md5.h>"
91 . auto/lib/test 93 ngx_feature_libs="-lcrypto"
94 ngx_feature_test="MD5_CTX md5; MD5_Init(&md5)"
95 . auto/feature
92 fi 96 fi
93 fi 97 fi
94 98
95 99
96 if [ $ngx_found = yes ]; then 100 if [ $ngx_found = yes ]; then
97 have=HAVE_OPENSSL_MD5 . auto/have
98 have=HAVE_OPENSSL_MD5_H . auto/have 101 have=HAVE_OPENSSL_MD5_H . auto/have
99 CORE_LIBS="$CORE_LIBS $ngx_libs" 102 CORE_LIBS="$CORE_LIBS $ngx_feature_libs"
100 MD5=YES 103 MD5=YES
101 MD5_LIB=crypto 104 MD5_LIB=crypto
102 fi 105 fi
103 fi 106 fi
104 107