mirror of
https://github.com/nginx/nginx.git
synced 2024-11-24 13:49:05 +08:00
fix the previous commit
This commit is contained in:
parent
0ec09f9196
commit
693c452517
@ -105,6 +105,8 @@ else
|
||||
else
|
||||
# Linux package
|
||||
|
||||
if [ $PCRE = NO ]; then
|
||||
|
||||
ngx_feature="PCRE library in /usr/include/pcre/"
|
||||
ngx_feature_name="NGX_PCRE"
|
||||
ngx_feature_run=no
|
||||
@ -115,6 +117,7 @@ else
|
||||
re = pcre_compile(NULL, 0, NULL, 0, NULL)"
|
||||
. auto/feature
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ $ngx_found = yes ]; then
|
||||
CORE_DEPS="$CORE_DEPS $REGEX_DEPS"
|
||||
@ -127,6 +130,8 @@ else
|
||||
else
|
||||
# NetBSD port
|
||||
|
||||
if [ $PCRE = NO ]; then
|
||||
|
||||
ngx_feature="PCRE library in /usr/pkg/"
|
||||
ngx_feature_name="NGX_PCRE"
|
||||
ngx_feature_run=no
|
||||
@ -137,6 +142,7 @@ else
|
||||
re = pcre_compile(NULL, 0, NULL, 0, NULL)"
|
||||
. auto/feature
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ $ngx_found = yes ]; then
|
||||
CORE_DEPS="$CORE_DEPS $REGEX_DEPS"
|
||||
|
Loading…
Reference in New Issue
Block a user