Klaus Demo nginx / 693c452
fix the previous commit Igor Sysoev 12 years ago
1 changed file(s) with 24 addition(s) and 18 deletion(s). Raw diff Collapse all Expand all
104104 else
105105 # Linux package
106106
107 ngx_feature="PCRE library in /usr/include/pcre/"
108 ngx_feature_name="NGX_PCRE"
109 ngx_feature_run=no
110 ngx_feature_incs="#include <pcre.h>"
111 ngx_feature_path="/usr/include/pcre"
112 ngx_feature_libs="-lpcre"
113 ngx_feature_test="pcre *re;
114 re = pcre_compile(NULL, 0, NULL, 0, NULL)"
115 . auto/feature
107 if [ $PCRE = NO ]; then
108
109 ngx_feature="PCRE library in /usr/include/pcre/"
110 ngx_feature_name="NGX_PCRE"
111 ngx_feature_run=no
112 ngx_feature_incs="#include <pcre.h>"
113 ngx_feature_path="/usr/include/pcre"
114 ngx_feature_libs="-lpcre"
115 ngx_feature_test="pcre *re;
116 re = pcre_compile(NULL, 0, NULL, 0, NULL)"
117 . auto/feature
118 fi
116119 fi
117120
118121 if [ $ngx_found = yes ]; then
126129 else
127130 # NetBSD port
128131
129 ngx_feature="PCRE library in /usr/pkg/"
130 ngx_feature_name="NGX_PCRE"
131 ngx_feature_run=no
132 ngx_feature_incs="#include <pcre.h>"
133 ngx_feature_path="/usr/pkg/include"
134 ngx_feature_libs="-L /usr/pkg/lib -lpcre"
135 ngx_feature_test="pcre *re;
136 re = pcre_compile(NULL, 0, NULL, 0, NULL)"
137 . auto/feature
132 if [ $PCRE = NO ]; then
133
134 ngx_feature="PCRE library in /usr/pkg/"
135 ngx_feature_name="NGX_PCRE"
136 ngx_feature_run=no
137 ngx_feature_incs="#include <pcre.h>"
138 ngx_feature_path="/usr/pkg/include"
139 ngx_feature_libs="-L /usr/pkg/lib -lpcre"
140 ngx_feature_test="pcre *re;
141 re = pcre_compile(NULL, 0, NULL, 0, NULL)"
142 . auto/feature
143 fi
138144 fi
139145
140146 if [ $ngx_found = yes ]; then