Mercurial > hg > nginx
comparison auto/lib/md5/conf @ 266:5238e93961a1
nginx-0.0.2-2004-02-23-23:57:12 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 23 Feb 2004 20:57:12 +0000 |
parents | 6468241715e6 |
children | 30310107dbc9 |
comparison
equal
deleted
inserted
replaced
265:6468241715e6 | 266:5238e93961a1 |
---|---|
25 ngx_lib_inc="#include <sys/types.h> | 25 ngx_lib_inc="#include <sys/types.h> |
26 #include <md5.h>" | 26 #include <md5.h>" |
27 | 27 |
28 MD5=NO | 28 MD5=NO |
29 | 29 |
30 # Solaris 8/9 | 30 # Solaris 8/9 |
31 ngx_lib="rsaref md5" | 31 |
32 ngx_lib_test="MD5_CTX md5; MD5Init(&md5)" | 32 ngx_lib="rsaref md5" |
33 ngx_libs=-lmd5 | 33 ngx_lib_test="MD5_CTX md5; MD5Init(&md5)" |
34 . auto/lib/test | 34 ngx_libs=-lmd5 |
35 . auto/lib/test | |
35 | 36 |
36 | 37 |
37 if [ $ngx_found = yes ]; then | 38 if [ $ngx_found = yes ]; then |
38 CORE_LIBS="$CORE_LIBS $ngx_libs" | 39 CORE_LIBS="$CORE_LIBS $ngx_libs" |
39 MD5=YES | 40 MD5=YES |
40 MD5_LIB=md5 | 41 MD5_LIB=md5 |
41 ngx_found=no | 42 ngx_found=no |
42 | 43 |
43 else | 44 else |
44 # FreeBSD | 45 # FreeBSD |
46 | |
45 ngx_lib="rsaref md" | 47 ngx_lib="rsaref md" |
46 ngx_lib_test="MD5_CTX md5; MD5Init(&md5)" | 48 ngx_lib_test="MD5_CTX md5; MD5Init(&md5)" |
47 ngx_libs=-lmd | 49 ngx_libs=-lmd |
48 . auto/lib/test | 50 . auto/lib/test |
49 fi | 51 fi |
54 MD5=YES | 56 MD5=YES |
55 MD5_LIB=md | 57 MD5_LIB=md |
56 ngx_found=no | 58 ngx_found=no |
57 | 59 |
58 else | 60 else |
59 ngx_lib_inc="#include <sys/types.h> | 61 # OpenSSL crypto library |
60 #include <openssl/md5.h>" | 62 |
63 ngx_inc="#include <openssl/md5.h>" | |
61 ngx_lib="OpenSSL md5 crypto" | 64 ngx_lib="OpenSSL md5 crypto" |
62 ngx_lib_test="MD5_CTX md5; MD5_Init(&md5)" | 65 ngx_lib_test="MD5_CTX md5; MD5_Init(&md5)" |
63 ngx_libs=-lcrypto | 66 ngx_libs=-lcrypto |
64 . auto/lib/test | 67 . auto/lib/test |
65 fi | 68 fi |