--- auto/lib/pcre/conf.orig 2012-03-28 01:44:52.000000000 +0900 +++ auto/lib/pcre/conf 2013-01-09 16:55:48.375745628 +0900 @@ -105,6 +105,17 @@ if [ $ngx_found = no ]; then + # pkgconfig + + ngx_feature="PCRE library in `pcre-config --prefix`/include" + ngx_feature_path="`pcre-config --prefix`/include" + ngx_feature_libs="`pcre-config --libs`" + + . auto/feature + fi + + if [ $ngx_found = no ]; then + # FreeBSD port ngx_feature="PCRE library in /usr/local/"