test PCRE in FreeBSD, Linux, and NetBSD

This commit is contained in:
Igor Sysoev
2006-11-27 11:07:09 +00:00
parent 9a29d129f2
commit 0ec09f9196
13 changed files with 137 additions and 20 deletions

View File

@@ -113,6 +113,7 @@ if [ "$NGX_PLATFORM" != win32 ]; then
ngx_feature_name=
ngx_feature_run=no
ngx_feature_incs=
ngx_feature_path=
ngx_feature_libs=
ngx_feature_test=
. auto/feature
@@ -129,6 +130,7 @@ if [ "$NGX_PLATFORM" != win32 ]; then
ngx_feature_run=yes
ngx_feature_incs="#include <stdio.h>
#define var(dummy, args...) sprintf(args)"
ngx_feature_path=
ngx_feature_libs=
ngx_feature_test="char buf[30]; buf[0] = '0';
var(0, buf, \"%d\", 1);
@@ -144,6 +146,7 @@ if [ "$NGX_PLATFORM" != win32 ]; then
ngx_feature_run=yes
ngx_feature_incs="#include <stdio.h>
#define var(dummy, ...) sprintf(__VA_ARGS__)"
ngx_feature_path=
ngx_feature_libs=
ngx_feature_test="char buf[30]; buf[0] = '0';
var(0, buf, \"%d\", 1);
@@ -156,6 +159,7 @@ if [ "$NGX_PLATFORM" != win32 ]; then
# ngx_feature_name=
# ngx_feature_run=no
# ngx_feature_incs="int inline f(void) { return 1 }"
# ngx_feature_path=
# ngx_feature_libs=
# ngx_feature_test=
# . auto/feature

View File

@@ -23,6 +23,7 @@ ngx_feature="gcc -pipe switch"
ngx_feature_name=
ngx_feature_run=no
ngx_feature_incs=
ngx_feature_path=
ngx_feature_libs=
ngx_feature_test=
. auto/feature

View File

@@ -20,6 +20,7 @@ case "$NGX_MACHINE" in
ngx_feature_name=
ngx_feature_run=bug
ngx_feature_incs=
ngx_feature_path=
ngx_feature_libs=
ngx_feature_test='__asm ("pause")'