Mercurial > hg > nginx
comparison auto/lib/md5/conf @ 5179:b0a616778038
Configure: uniformly refer to libs when searching for md5 and sha1.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Thu, 18 Apr 2013 14:26:08 +0000 |
parents | d620f497c50f |
children | 78f8ac479735 |
comparison
equal
deleted
inserted
replaced
5178:42c309b80d7c | 5179:b0a616778038 |
---|---|
50 | 50 |
51 MD5=NO | 51 MD5=NO |
52 | 52 |
53 # FreeBSD, Solaris 10 | 53 # FreeBSD, Solaris 10 |
54 | 54 |
55 ngx_feature="system md library" | 55 ngx_feature="md5 in system md library" |
56 ngx_feature_name=NGX_HAVE_MD5 | 56 ngx_feature_name=NGX_HAVE_MD5 |
57 ngx_feature_run=no | 57 ngx_feature_run=no |
58 ngx_feature_incs="#include <md5.h>" | 58 ngx_feature_incs="#include <md5.h>" |
59 ngx_feature_path= | 59 ngx_feature_path= |
60 ngx_feature_libs="-lmd" | 60 ngx_feature_libs="-lmd" |
65 | 65 |
66 if [ $ngx_found = no ]; then | 66 if [ $ngx_found = no ]; then |
67 | 67 |
68 # Solaris 8/9 | 68 # Solaris 8/9 |
69 | 69 |
70 ngx_feature="system md5 library" | 70 ngx_feature="md5 in system md5 library" |
71 ngx_feature_libs="-lmd5" | 71 ngx_feature_libs="-lmd5" |
72 . auto/feature | 72 . auto/feature |
73 | 73 |
74 ngx_md5_lib="system md5" | 74 ngx_md5_lib="system md5" |
75 fi | 75 fi |
76 | 76 |
77 if [ $ngx_found = no ]; then | 77 if [ $ngx_found = no ]; then |
78 | 78 |
79 # OpenSSL crypto library | 79 # OpenSSL crypto library |
80 | 80 |
81 ngx_feature="OpenSSL md5 crypto library" | 81 ngx_feature="md5 in system OpenSSL crypto library" |
82 ngx_feature_name="NGX_OPENSSL_MD5" | 82 ngx_feature_name="NGX_OPENSSL_MD5" |
83 ngx_feature_incs="#include <openssl/md5.h>" | 83 ngx_feature_incs="#include <openssl/md5.h>" |
84 ngx_feature_libs="-lcrypto" | 84 ngx_feature_libs="-lcrypto" |
85 ngx_feature_test="MD5_CTX md5; MD5_Init(&md5)" | 85 ngx_feature_test="MD5_CTX md5; MD5_Init(&md5)" |
86 . auto/feature | 86 . auto/feature |