fix the previous commit

This commit is contained in:
Igor Sysoev 2006-11-27 11:12:34 +00:00
parent 0ec09f9196
commit 693c452517

View File

@ -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"