101-feature_test_fix.patch (3188B)
1 --- a/auto/cc/name 2 +++ b/auto/cc/name 3 @@ -7,7 +7,7 @@ if [ "$NGX_PLATFORM" != win32 ]; then 4 5 ngx_feature="C compiler" 6 ngx_feature_name= 7 - ngx_feature_run=yes 8 + ngx_feature_run= 9 ngx_feature_incs= 10 ngx_feature_path= 11 ngx_feature_libs= 12 --- a/auto/cc/conf 13 +++ b/auto/cc/conf 14 @@ -200,7 +200,7 @@ if [ "$NGX_PLATFORM" != win32 ]; then 15 else 16 ngx_feature="C99 variadic macros" 17 ngx_feature_name="NGX_HAVE_C99_VARIADIC_MACROS" 18 - ngx_feature_run=yes 19 + ngx_feature_run=no 20 ngx_feature_incs="#include <stdio.h> 21 #define var(dummy, ...) sprintf(__VA_ARGS__)" 22 ngx_feature_path= 23 @@ -214,7 +214,7 @@ if [ "$NGX_PLATFORM" != win32 ]; then 24 25 ngx_feature="gcc variadic macros" 26 ngx_feature_name="NGX_HAVE_GCC_VARIADIC_MACROS" 27 - ngx_feature_run=yes 28 + ngx_feature_run=no 29 ngx_feature_incs="#include <stdio.h> 30 #define var(dummy, args...) sprintf(args)" 31 ngx_feature_path= 32 --- a/auto/os/linux 33 +++ b/auto/os/linux 34 @@ -36,7 +36,7 @@ fi 35 36 ngx_feature="epoll" 37 ngx_feature_name="NGX_HAVE_EPOLL" 38 -ngx_feature_run=yes 39 +ngx_feature_run=no 40 ngx_feature_incs="#include <sys/epoll.h>" 41 ngx_feature_path= 42 ngx_feature_libs= 43 @@ -93,7 +93,7 @@ ngx_feature_test="int fd; struct stat sb 44 CC_AUX_FLAGS="$cc_aux_flags -D_GNU_SOURCE" 45 ngx_feature="sendfile()" 46 ngx_feature_name="NGX_HAVE_SENDFILE" 47 -ngx_feature_run=yes 48 +ngx_feature_run=no 49 ngx_feature_incs="#include <sys/sendfile.h> 50 #include <errno.h>" 51 ngx_feature_path= 52 @@ -114,7 +114,7 @@ fi 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" 56 -ngx_feature_run=yes 57 +ngx_feature_run=no 58 ngx_feature_incs="#include <sys/sendfile.h> 59 #include <errno.h>" 60 ngx_feature_path= 61 @@ -132,7 +132,7 @@ ngx_include="sys/prctl.h"; . auto/includ 62 63 ngx_feature="prctl(PR_SET_DUMPABLE)" 64 ngx_feature_name="NGX_HAVE_PR_SET_DUMPABLE" 65 -ngx_feature_run=yes 66 +ngx_feature_run=no 67 ngx_feature_incs="#include <sys/prctl.h>" 68 ngx_feature_path= 69 ngx_feature_libs= 70 --- a/auto/unix 71 +++ b/auto/unix 72 @@ -735,7 +735,7 @@ ngx_feature_test="void *p; p = memalign( 73 74 ngx_feature="mmap(MAP_ANON|MAP_SHARED)" 75 ngx_feature_name="NGX_HAVE_MAP_ANON" 76 -ngx_feature_run=yes 77 +ngx_feature_run=no 78 ngx_feature_incs="#include <sys/mman.h>" 79 ngx_feature_path= 80 ngx_feature_libs= 81 @@ -748,7 +748,7 @@ ngx_feature_test="void *p; 82 83 ngx_feature='mmap("/dev/zero", MAP_SHARED)' 84 ngx_feature_name="NGX_HAVE_MAP_DEVZERO" 85 -ngx_feature_run=yes 86 +ngx_feature_run=no 87 ngx_feature_incs="#include <sys/mman.h> 88 #include <sys/stat.h> 89 #include <fcntl.h>" 90 @@ -763,7 +763,7 @@ ngx_feature_test='void *p; int fd; 91 92 ngx_feature="System V shared memory" 93 ngx_feature_name="NGX_HAVE_SYSVSHM" 94 -ngx_feature_run=yes 95 +ngx_feature_run=no 96 ngx_feature_incs="#include <sys/ipc.h> 97 #include <sys/shm.h>" 98 ngx_feature_path= 99 @@ -777,7 +777,7 @@ ngx_feature_test="int id; 100 101 ngx_feature="POSIX semaphores" 102 ngx_feature_name="NGX_HAVE_POSIX_SEM" 103 -ngx_feature_run=yes 104 +ngx_feature_run=no 105 ngx_feature_incs="#include <semaphore.h>" 106 ngx_feature_path= 107 ngx_feature_libs=