summaryrefslogtreecommitdiff
path: root/auto/lib/conf
diff options
context:
space:
mode:
Diffstat (limited to 'auto/lib/conf')
-rw-r--r--auto/lib/conf12
1 files changed, 12 insertions, 0 deletions
diff --git a/auto/lib/conf b/auto/lib/conf
index 62d6029bb..e96103468 100644
--- a/auto/lib/conf
+++ b/auto/lib/conf
@@ -23,6 +23,18 @@ if [ $USE_MD5 = YES ]; then
fi
+if [ $USE_SHA1 = YES ]; then
+
+ if [ $OPENSSL != NONE -a $OPENSSL != NO ]; then
+ have=NGX_HAVE_OPENSSL_SHA1_H . auto/have
+ SHA1=YES
+
+ else
+ . auto/lib/sha1/conf
+ fi
+
+fi
+
if [ $USE_ZLIB = YES ]; then
. auto/lib/zlib/conf
fi