Configure: uniformly refer to libs when searching for md5 and sha1.

This commit is contained in:
Ruslan Ermilov 2013-04-18 14:26:08 +00:00
parent ba4f2702bc
commit 4352782879
2 changed files with 4 additions and 4 deletions

View File

@ -52,7 +52,7 @@ else
# FreeBSD, Solaris 10
ngx_feature="system md library"
ngx_feature="md5 in system md library"
ngx_feature_name=NGX_HAVE_MD5
ngx_feature_run=no
ngx_feature_incs="#include <md5.h>"
@ -67,7 +67,7 @@ else
# Solaris 8/9
ngx_feature="system md5 library"
ngx_feature="md5 in system md5 library"
ngx_feature_libs="-lmd5"
. auto/feature
@ -78,7 +78,7 @@ else
# OpenSSL crypto library
ngx_feature="OpenSSL md5 crypto library"
ngx_feature="md5 in system OpenSSL crypto library"
ngx_feature_name="NGX_OPENSSL_MD5"
ngx_feature_incs="#include <openssl/md5.h>"
ngx_feature_libs="-lcrypto"

View File

@ -57,7 +57,7 @@ else
# OpenSSL crypto library
ngx_feature="OpenSSL sha1 crypto library"
ngx_feature="sha1 in system OpenSSL crypto library"
ngx_feature_incs="#include <openssl/sha.h>"
ngx_feature_libs="-lcrypto"
. auto/feature