# HG changeset patch # User Samuel Martin # Date 1500455150 -10800 # Node ID cc7ff76df9270a239ce615f0dcff280eb6dfd2ba # Parent e3723f2a11b7ec1c196d59c331739bc21d9d9afd Configure: fixed PCRE requirement check by ngx_http_rewrite_module. The http_rewrite module cannot be selected when http is disabled. Fixed the PCRE check condition to avoid irrelevant check failure. This is a regression from 4d874b4d82ed. Signed-off-by: Samuel Martin diff --git a/auto/lib/conf b/auto/lib/conf --- a/auto/lib/conf +++ b/auto/lib/conf @@ -7,7 +7,7 @@ if [ $USE_PCRE = YES -o $PCRE != NONE ]; . auto/lib/pcre/conf else - if [ $USE_PCRE = DISABLED -a $HTTP_REWRITE = YES ]; then + if [ $USE_PCRE = DISABLED -a $HTTP = YES -a $HTTP_REWRITE = YES ]; then cat << END