summaryrefslogtreecommitdiff
path: root/auto/modules
diff options
context:
space:
mode:
Diffstat (limited to 'auto/modules')
-rw-r--r--auto/modules7
1 files changed, 7 insertions, 0 deletions
diff --git a/auto/modules b/auto/modules
index 1fe9ac8d1..119b3064b 100644
--- a/auto/modules
+++ b/auto/modules
@@ -104,6 +104,13 @@ fi
HTTP_MODULES="$HTTP_MODULES $HTTP_INDEX_MODULE"
+if [ $HTTP_AUTH_BASIC = YES ]; then
+ have=NGX_HTTP_AUTH_BASIC . 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"