comparison auto/lib/sha1/conf @ 875:7af8276b1c2f

test PCRE in FreeBSD, Linux, and NetBSD
author Igor Sysoev <igor@sysoev.ru>
date Mon, 27 Nov 2006 11:07:09 +0000
parents 7cbef16c71a1
children bd6cc5370fc1
comparison
equal deleted inserted replaced
874:98afa13ea7e5 875:7af8276b1c2f
41 41
42 ngx_feature="sha1 in system md library" 42 ngx_feature="sha1 in system md library"
43 ngx_feature_name= 43 ngx_feature_name=
44 ngx_feature_run=no 44 ngx_feature_run=no
45 ngx_feature_incs="#include <sha.h>" 45 ngx_feature_incs="#include <sha.h>"
46 ngx_feature_path=
46 ngx_feature_libs="-lmd" 47 ngx_feature_libs="-lmd"
47 ngx_feature_test="SHA_CTX sha1; SHA1_Init(&sha1)" 48 ngx_feature_test="SHA_CTX sha1; SHA1_Init(&sha1)"
48 . auto/feature 49 . auto/feature
49 50
50 51
55 ngx_found=no 56 ngx_found=no
56 57
57 else 58 else
58 if [ $SHA1 = NO ]; then 59 if [ $SHA1 = NO ]; then
59 60
60 # OpenSSL crypto library 61 # OpenSSL crypto library
61 62
62 ngx_feature="OpenSSL sha1 crypto library" 63 ngx_feature="OpenSSL sha1 crypto library"
63 ngx_feature_name= 64 ngx_feature_name=
64 ngx_feature_run=no 65 ngx_feature_run=no
65 ngx_feature_incs="#include <openssl/sha.h>" 66 ngx_feature_incs="#include <openssl/sha.h>"
66 ngx_feature_libs="-lcrypto" 67 ngx_feature_path=
67 ngx_feature_test="SHA_CTX sha1; SHA1_Init(&sha1)" 68 ngx_feature_libs="-lcrypto"
68 . auto/feature 69 ngx_feature_test="SHA_CTX sha1; SHA1_Init(&sha1)"
70 . auto/feature
69 fi 71 fi
70 fi 72 fi
71 73
72 74
73 if [ $ngx_found = yes ]; then 75 if [ $ngx_found = yes ]; then