diff options
| author | Igor Sysoev <igor@sysoev.ru> | 2006-11-27 11:07:09 +0000 |
|---|---|---|
| committer | Igor Sysoev <igor@sysoev.ru> | 2006-11-27 11:07:09 +0000 |
| commit | 0ec09f9196c46fca909a88dcb8507838b33f512d (patch) | |
| tree | 47bd4a21d75b7c89f164f9c502d309f50d5d39ec /auto/feature | |
| parent | 9a29d129f20873f4de4553eab00b869815a75bac (diff) | |
| download | nginx-0ec09f9196c46fca909a88dcb8507838b33f512d.tar.gz nginx-0ec09f9196c46fca909a88dcb8507838b33f512d.tar.bz2 | |
test PCRE in FreeBSD, Linux, and NetBSD
Diffstat (limited to 'auto/feature')
| -rw-r--r-- | auto/feature | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/auto/feature b/auto/feature index 0cf1f1e18..e71b6e521 100644 --- a/auto/feature +++ b/auto/feature @@ -18,6 +18,10 @@ if test -n "$ngx_feature_name"; then | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ` fi +if test -n "$ngx_feature_path"; then + ngx_feature_inc_path="-I $ngx_feature_path" +fi + cat << END > $NGX_AUTOTEST.c #include <sys/types.h> @@ -32,9 +36,11 @@ int main() { END -ngx_test="$CC $CC_TEST_FLAGS $CC_AUX_FLAGS \ +ngx_test="$CC $CC_TEST_FLAGS $CC_AUX_FLAGS $ngx_feature_inc_path \ -o $NGX_AUTOTEST $NGX_AUTOTEST.c $NGX_LD_OPT $ngx_feature_libs" +ngx_feature_inc_path= + eval "$ngx_test >> $NGX_AUTOCONF_ERR 2>&1" |
