b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame^] | 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 | @@ -183,7 +183,7 @@ if [ "$NGX_PLATFORM" != win32 ]; then |
| 15 | else |
| 16 | ngx_feature="gcc builtin atomic operations" |
| 17 | ngx_feature_name=NGX_HAVE_GCC_ATOMIC |
| 18 | - ngx_feature_run=yes |
| 19 | + ngx_feature_run=no |
| 20 | ngx_feature_incs= |
| 21 | ngx_feature_path= |
| 22 | ngx_feature_libs= |
| 23 | @@ -204,7 +204,7 @@ if [ "$NGX_PLATFORM" != win32 ]; then |
| 24 | else |
| 25 | ngx_feature="C99 variadic macros" |
| 26 | ngx_feature_name="NGX_HAVE_C99_VARIADIC_MACROS" |
| 27 | - ngx_feature_run=yes |
| 28 | + ngx_feature_run=no |
| 29 | ngx_feature_incs="#include <stdio.h> |
| 30 | #define var(dummy, ...) sprintf(__VA_ARGS__)" |
| 31 | ngx_feature_path= |
| 32 | @@ -218,7 +218,7 @@ if [ "$NGX_PLATFORM" != win32 ]; then |
| 33 | |
| 34 | ngx_feature="gcc variadic macros" |
| 35 | ngx_feature_name="NGX_HAVE_GCC_VARIADIC_MACROS" |
| 36 | - ngx_feature_run=yes |
| 37 | + ngx_feature_run=no |
| 38 | ngx_feature_incs="#include <stdio.h> |
| 39 | #define var(dummy, args...) sprintf(args)" |
| 40 | ngx_feature_path= |
| 41 | --- a/auto/os/linux |
| 42 | +++ b/auto/os/linux |
| 43 | @@ -36,7 +36,7 @@ fi |
| 44 | |
| 45 | ngx_feature="epoll" |
| 46 | ngx_feature_name="NGX_HAVE_EPOLL" |
| 47 | -ngx_feature_run=yes |
| 48 | +ngx_feature_run=no |
| 49 | ngx_feature_incs="#include <sys/epoll.h>" |
| 50 | ngx_feature_path= |
| 51 | ngx_feature_libs= |
| 52 | @@ -110,7 +110,7 @@ ngx_feature_test="int fd; struct stat sb |
| 53 | CC_AUX_FLAGS="$cc_aux_flags -D_GNU_SOURCE" |
| 54 | ngx_feature="sendfile()" |
| 55 | ngx_feature_name="NGX_HAVE_SENDFILE" |
| 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 | @@ -131,7 +131,7 @@ fi |
| 62 | CC_AUX_FLAGS="$cc_aux_flags -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64" |
| 63 | ngx_feature="sendfile64()" |
| 64 | ngx_feature_name="NGX_HAVE_SENDFILE64" |
| 65 | -ngx_feature_run=yes |
| 66 | +ngx_feature_run=no |
| 67 | ngx_feature_incs="#include <sys/sendfile.h> |
| 68 | #include <errno.h>" |
| 69 | ngx_feature_path= |
| 70 | @@ -149,7 +149,7 @@ ngx_include="sys/prctl.h"; . auto/includ |
| 71 | |
| 72 | ngx_feature="prctl(PR_SET_DUMPABLE)" |
| 73 | ngx_feature_name="NGX_HAVE_PR_SET_DUMPABLE" |
| 74 | -ngx_feature_run=yes |
| 75 | +ngx_feature_run=no |
| 76 | ngx_feature_incs="#include <sys/prctl.h>" |
| 77 | ngx_feature_path= |
| 78 | ngx_feature_libs= |
| 79 | --- a/auto/unix |
| 80 | +++ b/auto/unix |
| 81 | @@ -840,7 +840,7 @@ ngx_feature_test="void *p; p = memalign( |
| 82 | |
| 83 | ngx_feature="mmap(MAP_ANON|MAP_SHARED)" |
| 84 | ngx_feature_name="NGX_HAVE_MAP_ANON" |
| 85 | -ngx_feature_run=yes |
| 86 | +ngx_feature_run=no |
| 87 | ngx_feature_incs="#include <sys/mman.h>" |
| 88 | ngx_feature_path= |
| 89 | ngx_feature_libs= |
| 90 | @@ -853,7 +853,7 @@ ngx_feature_test="void *p; |
| 91 | |
| 92 | ngx_feature='mmap("/dev/zero", MAP_SHARED)' |
| 93 | ngx_feature_name="NGX_HAVE_MAP_DEVZERO" |
| 94 | -ngx_feature_run=yes |
| 95 | +ngx_feature_run=no |
| 96 | ngx_feature_incs="#include <sys/mman.h> |
| 97 | #include <sys/stat.h> |
| 98 | #include <fcntl.h>" |
| 99 | @@ -868,7 +868,7 @@ ngx_feature_test='void *p; int fd; |
| 100 | |
| 101 | ngx_feature="System V shared memory" |
| 102 | ngx_feature_name="NGX_HAVE_SYSVSHM" |
| 103 | -ngx_feature_run=yes |
| 104 | +ngx_feature_run=no |
| 105 | ngx_feature_incs="#include <sys/ipc.h> |
| 106 | #include <sys/shm.h>" |
| 107 | ngx_feature_path= |
| 108 | @@ -882,7 +882,7 @@ ngx_feature_test="int id; |
| 109 | |
| 110 | ngx_feature="POSIX semaphores" |
| 111 | ngx_feature_name="NGX_HAVE_POSIX_SEM" |
| 112 | -ngx_feature_run=yes |
| 113 | +ngx_feature_run=no |
| 114 | ngx_feature_incs="#include <semaphore.h>" |
| 115 | ngx_feature_path= |
| 116 | ngx_feature_libs= |