diff options
Diffstat (limited to 'auto/modules')
| -rw-r--r-- | auto/modules | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/auto/modules b/auto/modules index be76fd83a..d80a05cb8 100644 --- a/auto/modules +++ b/auto/modules @@ -126,11 +126,15 @@ if [ -r $OBJS/auto ]; then . $OBJS/auto fi -modules="$CORE_MODULES $EVENT_MODULES $HTTP_MODULES $HTTP_FILTER_MODULES \ - $HTTP_HEADERS_FILTER_MODULE \ - $HTTP_COPY_FILTER_MODULE \ - $HTTP_RANGE_BODY_FILTER_MODULE \ - $HTTP_NOT_MODIFIED_FILTER_MODULE" +modules="$CORE_MODULES $EVENT_MODULES" + +if [ $HTTP = YES ]; then + modules="$modules $HTTP_MODULES $HTTP_FILTER_MODULES \ + $HTTP_HEADERS_FILTER_MODULE \ + $HTTP_COPY_FILTER_MODULE \ + $HTTP_RANGE_BODY_FILTER_MODULE \ + $HTTP_NOT_MODIFIED_FILTER_MODULE" +fi echo "#include <ngx_config.h>" > $NGX_MODULES_C |
