summaryrefslogtreecommitdiffhomepage
path: root/auto/modules
diff options
context:
space:
mode:
Diffstat (limited to 'auto/modules')
-rw-r--r--auto/modules8
1 files changed, 8 insertions, 0 deletions
diff --git a/auto/modules b/auto/modules
index 1fe9ac8d1..4ab272ed8 100644
--- a/auto/modules
+++ b/auto/modules
@@ -104,6 +104,14 @@ fi
HTTP_MODULES="$HTTP_MODULES $HTTP_INDEX_MODULE"
+if [ $HTTP_AUTH_BASIC = YES ]; then
+ have=NGX_HTTP_AUTH_BASIC . auto/have
+ have=NGX_CRYPT . auto/have
+ HTTP_MODULES="$HTTP_MODULES $HTTP_AUTH_BASIC_MODULE"
+ HTTP_SRCS="$HTTP_SRCS $HTTP_AUTH_BASIC_SRCS"
+ CORE_LIBS="$CORE_LIBS $CRYPT_LIB"
+fi
+
if [ $HTTP_ACCESS = YES ]; then
have=NGX_HTTP_ACCESS . auto/have
HTTP_MODULES="$HTTP_MODULES $HTTP_ACCESS_MODULE"