Без опису

101-feature_test_fix.patch 3.1KB

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