3 @@ -7,7 +7,7 @@ if [ "$NGX_PLATFORM" != win32 ]; then
5 ngx_feature="C compiler"
14 @@ -155,7 +155,7 @@ if [ "$NGX_PLATFORM" != win32 ]; then
16 ngx_feature="C99 variadic macros"
17 ngx_feature_name="NGX_HAVE_C99_VARIADIC_MACROS"
20 ngx_feature_incs="#include <stdio.h>
21 #define var(dummy, ...) sprintf(__VA_ARGS__)"
23 @@ -169,7 +169,7 @@ if [ "$NGX_PLATFORM" != win32 ]; then
25 ngx_feature="gcc variadic macros"
26 ngx_feature_name="NGX_HAVE_GCC_VARIADIC_MACROS"
29 ngx_feature_incs="#include <stdio.h>
30 #define var(dummy, args...) sprintf(args)"
37 ngx_feature_name="NGX_HAVE_EPOLL"
40 ngx_feature_incs="#include <sys/epoll.h>"
44 CC_AUX_FLAGS="$cc_aux_flags -D_GNU_SOURCE"
45 ngx_feature="sendfile()"
46 ngx_feature_name="NGX_HAVE_SENDFILE"
49 ngx_feature_incs="#include <sys/sendfile.h>
53 CC_AUX_FLAGS="$cc_aux_flags -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64"
54 ngx_feature="sendfile64()"
55 ngx_feature_name="NGX_HAVE_SENDFILE64"
58 ngx_feature_incs="#include <sys/sendfile.h>
61 @@ -112,7 +112,7 @@ ngx_include="sys/prctl.h"; . auto/includ
63 ngx_feature="prctl(PR_SET_DUMPABLE)"
64 ngx_feature_name="NGX_HAVE_PR_SET_DUMPABLE"
67 ngx_feature_incs="#include <sys/prctl.h>"
72 @@ -618,7 +618,7 @@ ngx_feature_test="void *p; p = memalign(
74 ngx_feature="mmap(MAP_ANON|MAP_SHARED)"
75 ngx_feature_name="NGX_HAVE_MAP_ANON"
78 ngx_feature_incs="#include <sys/mman.h>"
81 @@ -631,7 +631,7 @@ ngx_feature_test="void *p;
83 ngx_feature='mmap("/dev/zero", MAP_SHARED)'
84 ngx_feature_name="NGX_HAVE_MAP_DEVZERO"
87 ngx_feature_incs="#include <sys/mman.h>
90 @@ -646,7 +646,7 @@ ngx_feature_test='void *p; int fd;
92 ngx_feature="System V shared memory"
93 ngx_feature_name="NGX_HAVE_SYSVSHM"
96 ngx_feature_incs="#include <sys/ipc.h>
99 @@ -660,7 +660,7 @@ ngx_feature_test="int id;
101 ngx_feature="POSIX semaphores"
102 ngx_feature_name="NGX_HAVE_POSIX_SEM"
105 ngx_feature_incs="#include <semaphore.h>"