config-linux.h 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476
  1. /* config.h. Generated from config.h.in by configure. */
  2. /* config.h.in. Generated from configure.ac by autoheader. */
  3. /* Define if building universal (internal helper macro) */
  4. /* #undef AC_APPLE_UNIVERSAL_BUILD */
  5. /* Define to 1 to enable debug output. */
  6. /* #undef DEBUGBUILD */
  7. /* Define to 1 if HTTP/3 is enabled. */
  8. /* #undef ENABLE_HTTP3 */
  9. /* Define to 1 if you have the `accept4' function. */
  10. #define HAVE_ACCEPT4 1
  11. /* Define to 1 if you have the <arpa/inet.h> header file. */
  12. #define HAVE_ARPA_INET_H 1
  13. /* Define to 1 if you have the std::atomic<std::shared_ptr<T>> is supported.
  14. */
  15. /* #undef HAVE_ATOMIC_STD_SHARED_PTR */
  16. /* Define to 1 if you have enum bpf_stats_type in linux/bpf.h. */
  17. /* #undef HAVE_BPF_STATS_TYPE */
  18. /* Define to 1 if your system has a working `chown' function. */
  19. #define HAVE_CHOWN 1
  20. /* Define to 1 if you have the `clock_gettime' function. */
  21. #define HAVE_CLOCK_GETTIME 1
  22. /* define if the compiler supports basic C++20 syntax */
  23. #define HAVE_CXX20 1
  24. /* Define to 1 if you have the declaration of `CLOCK_MONOTONIC', and to 0 if
  25. you don't. */
  26. #define HAVE_DECL_CLOCK_MONOTONIC 1
  27. /* Define to 1 if you have the declaration of `initgroups', and to 0 if you
  28. don't. */
  29. #define HAVE_DECL_INITGROUPS 1
  30. /* Define to 1 if you have the declaration of `strerror_r', and to 0 if you
  31. don't. */
  32. #define HAVE_DECL_STRERROR_R 1
  33. /* Define to 1 if you have the <dlfcn.h> header file. */
  34. #define HAVE_DLFCN_H 1
  35. /* Define to 1 if you have the `dup2' function. */
  36. #define HAVE_DUP2 1
  37. /* Define to 1 if you have the <fcntl.h> header file. */
  38. #define HAVE_FCNTL_H 1
  39. /* Define to 1 if you have the `fork' function. */
  40. #define HAVE_FORK 1
  41. /* Define to 1 if you have the `getcwd' function. */
  42. #define HAVE_GETCWD 1
  43. /* Define to 1 if you have the `getpwnam' function. */
  44. #define HAVE_GETPWNAM 1
  45. /* Define to 1 if you have `GetTickCount64` function. */
  46. /* #undef HAVE_GETTICKCOUNT64 */
  47. /* Define to 1 if you have the <inttypes.h> header file. */
  48. #define HAVE_INTTYPES_H 1
  49. /* Define to 1 if you have `libjansson` library. */
  50. /* #undef HAVE_JANSSON */
  51. /* Define to 1 if you have `libbpf` library. */
  52. /* #undef HAVE_LIBBPF */
  53. /* Define to 1 if you have `libbrotlienc` and `libbrotlidec` libraries. */
  54. /* #undef HAVE_LIBBROTLI */
  55. /* Define to 1 if you have `libev` library. */
  56. #define HAVE_LIBEV 1
  57. /* Define to 1 if you have `libngtcp2_crypto_boringssl` library. */
  58. /* #undef HAVE_LIBNGTCP2_CRYPTO_BORINGSSL */
  59. /* Define to 1 if you have `libngtcp2_crypto_quictls` library. */
  60. /* #undef HAVE_LIBNGTCP2_CRYPTO_QUICTLS */
  61. /* Define to 1 if you have `libngtcp2_crypto_wolfssl` library. */
  62. /* #undef HAVE_LIBNGTCP2_CRYPTO_WOLFSSL */
  63. /* Define to 1 if you have `libsystemd` library. */
  64. /* #undef HAVE_LIBSYSTEMD */
  65. /* Define to 1 if you have `libxml2` library. */
  66. /* #undef HAVE_LIBXML2 */
  67. /* Define to 1 if you have the <limits.h> header file. */
  68. #define HAVE_LIMITS_H 1
  69. /* Define to 1 if you have the `localtime_r' function. */
  70. #define HAVE_LOCALTIME_R 1
  71. /* Define to 1 if you have the `memchr' function. */
  72. #define HAVE_MEMCHR 1
  73. /* Define to 1 if you have the `memmove' function. */
  74. #define HAVE_MEMMOVE 1
  75. /* Define to 1 if you have the `memset' function. */
  76. #define HAVE_MEMSET 1
  77. /* Define to 1 if you have the <minix/config.h> header file. */
  78. /* #undef HAVE_MINIX_CONFIG_H */
  79. /* Define to 1 if you have the `mkostemp' function. */
  80. #define HAVE_MKOSTEMP 1
  81. /* Define to 1 if you have `mruby` library. */
  82. /* #undef HAVE_MRUBY */
  83. /* Define to 1 if you have the <netdb.h> header file. */
  84. #define HAVE_NETDB_H 1
  85. /* Define to 1 if you have the <netinet/in.h> header file. */
  86. #define HAVE_NETINET_IN_H 1
  87. /* Define to 1 if you have the <netinet/ip.h> header file. */
  88. #define HAVE_NETINET_IP_H 1
  89. /* Define to 1 if you have `neverbleed` library. */
  90. /* #undef HAVE_NEVERBLEED */
  91. /* Define to 1 if you have the `pipe2' function. */
  92. #define HAVE_PIPE2 1
  93. /* Define to 1 if the system has the type `ptrdiff_t'. */
  94. #define HAVE_PTRDIFF_T 1
  95. /* Define to 1 if you have the <pwd.h> header file. */
  96. #define HAVE_PWD_H 1
  97. /* Define to 1 if struct sockaddr_in6 has sin6_len member. */
  98. /* #undef HAVE_SOCKADDR_IN6_SIN6_LEN */
  99. /* Define to 1 if struct sockaddr_in has sin_len member. */
  100. /* #undef HAVE_SOCKADDR_IN_SIN_LEN */
  101. /* Define to 1 if you have the `socket' function. */
  102. #define HAVE_SOCKET 1
  103. /* Define to 1 if you have the `sqrt' function. */
  104. /* #undef HAVE_SQRT */
  105. /* Define to 1 if you have the <stddef.h> header file. */
  106. #define HAVE_STDDEF_H 1
  107. /* Define to 1 if you have the <stdint.h> header file. */
  108. #define HAVE_STDINT_H 1
  109. /* Define to 1 if you have the <stdio.h> header file. */
  110. #define HAVE_STDIO_H 1
  111. /* Define to 1 if you have the <stdlib.h> header file. */
  112. #define HAVE_STDLIB_H 1
  113. /* Define to 1 if you have the `std::future`. */
  114. #define HAVE_STD_FUTURE 1
  115. /* Define to 1 if you have the `std::map::emplace`. */
  116. #define HAVE_STD_MAP_EMPLACE 1
  117. /* Define to 1 if you have the `strchr' function. */
  118. #define HAVE_STRCHR 1
  119. /* Define to 1 if you have the `strdup' function. */
  120. #define HAVE_STRDUP 1
  121. /* Define to 1 if you have the `strerror' function. */
  122. #define HAVE_STRERROR 1
  123. /* Define if you have `strerror_r'. */
  124. #define HAVE_STRERROR_R 1
  125. /* Define to 1 if you have the <strings.h> header file. */
  126. #define HAVE_STRINGS_H 1
  127. /* Define to 1 if you have the <string.h> header file. */
  128. #define HAVE_STRING_H 1
  129. /* Define to 1 if you have the `strndup' function. */
  130. #define HAVE_STRNDUP 1
  131. /* Define to 1 if you have the `strstr' function. */
  132. #define HAVE_STRSTR 1
  133. /* Define to 1 if you have the `strtol' function. */
  134. #define HAVE_STRTOL 1
  135. /* Define to 1 if you have the `strtoul' function. */
  136. #define HAVE_STRTOUL 1
  137. /* Define to 1 if you have `struct tm.tm_gmtoff` member. */
  138. #define HAVE_STRUCT_TM_TM_GMTOFF 1
  139. /* Define to 1 if you have the <syslog.h> header file. */
  140. #define HAVE_SYSLOG_H 1
  141. /* Define to 1 if you have the <sys/socket.h> header file. */
  142. #define HAVE_SYS_SOCKET_H 1
  143. /* Define to 1 if you have the <sys/stat.h> header file. */
  144. #define HAVE_SYS_STAT_H 1
  145. /* Define to 1 if you have the <sys/time.h> header file. */
  146. #define HAVE_SYS_TIME_H 1
  147. /* Define to 1 if you have the <sys/types.h> header file. */
  148. #define HAVE_SYS_TYPES_H 1
  149. /* Define to 1 if you have thread_local storage specifier. */
  150. #define HAVE_THREAD_LOCAL 1
  151. /* Define to 1 if you have the `timegm' function. */
  152. #define HAVE_TIMEGM 1
  153. /* Define to 1 if you have the <unistd.h> header file. */
  154. #define HAVE_UNISTD_H 1
  155. /* Define to 1 if you have the `vfork' function. */
  156. #define HAVE_VFORK 1
  157. /* Define to 1 if you have the <vfork.h> header file. */
  158. /* #undef HAVE_VFORK_H */
  159. /* Define to 1 if you have the <wchar.h> header file. */
  160. #define HAVE_WCHAR_H 1
  161. /* Define to 1 if you have the <windows.h> header file. */
  162. /* #undef HAVE_WINDOWS_H */
  163. /* Define to 1 if you have 'wolfssl' library. */
  164. /* #undef HAVE_WOLFSSL */
  165. /* Define to 1 if `fork' works. */
  166. #define HAVE_WORKING_FORK 1
  167. /* Define to 1 if `vfork' works. */
  168. #define HAVE_WORKING_VFORK 1
  169. /* Define to 1 if you have the `_Exit' function. */
  170. #define HAVE__EXIT 1
  171. /* Define to the sub-directory where libtool stores uninstalled libraries. */
  172. #define LT_OBJDIR ".libs/"
  173. /* Define to 1 if assertions should be disabled. */
  174. /* #undef NDEBUG */
  175. /* Hint to the compiler that a function never return */
  176. #define NGHTTP2_NORETURN __attribute__((noreturn))
  177. /* Define to 1 if you want to disable threads. */
  178. /* #undef NOTHREADS */
  179. /* Name of package */
  180. #define PACKAGE "nghttp2"
  181. /* Define to the address where bug reports for this package should be sent. */
  182. #define PACKAGE_BUGREPORT "t-tujikawa@users.sourceforge.net"
  183. /* Define to the full name of this package. */
  184. #define PACKAGE_NAME "nghttp2"
  185. /* Define to the full name and version of this package. */
  186. #define PACKAGE_STRING "nghttp2 1.64.0"
  187. /* Define to the one symbol short name of this package. */
  188. #define PACKAGE_TARNAME "nghttp2"
  189. /* Define to the home page for this package. */
  190. #define PACKAGE_URL ""
  191. /* Define to the version of this package. */
  192. #define PACKAGE_VERSION "1.64.0"
  193. /* Define to 1 if all of the C90 standard headers exist (not just the ones
  194. required in a freestanding environment). This macro is provided for
  195. backward compatibility; new code need not use it. */
  196. #define STDC_HEADERS 1
  197. /* Define to 1 if strerror_r returns char *. */
  198. #define STRERROR_R_CHAR_P 1
  199. /* Enable extensions on AIX 3, Interix. */
  200. #ifndef _ALL_SOURCE
  201. # define _ALL_SOURCE 1
  202. #endif
  203. /* Enable general extensions on macOS. */
  204. #ifndef _DARWIN_C_SOURCE
  205. # define _DARWIN_C_SOURCE 1
  206. #endif
  207. /* Enable general extensions on Solaris. */
  208. #ifndef __EXTENSIONS__
  209. # define __EXTENSIONS__ 1
  210. #endif
  211. /* Enable GNU extensions on systems that have them. */
  212. #ifndef _GNU_SOURCE
  213. # define _GNU_SOURCE 1
  214. #endif
  215. /* Enable X/Open compliant socket functions that do not require linking
  216. with -lxnet on HP-UX 11.11. */
  217. #ifndef _HPUX_ALT_XOPEN_SOCKET_API
  218. # define _HPUX_ALT_XOPEN_SOCKET_API 1
  219. #endif
  220. /* Identify the host operating system as Minix.
  221. This macro does not affect the system headers' behavior.
  222. A future release of Autoconf may stop defining this macro. */
  223. #ifndef _MINIX
  224. /* # undef _MINIX */
  225. #endif
  226. /* Enable general extensions on NetBSD.
  227. Enable NetBSD compatibility extensions on Minix. */
  228. #ifndef _NETBSD_SOURCE
  229. # define _NETBSD_SOURCE 1
  230. #endif
  231. /* Enable OpenBSD compatibility extensions on NetBSD.
  232. Oddly enough, this does nothing on OpenBSD. */
  233. #ifndef _OPENBSD_SOURCE
  234. # define _OPENBSD_SOURCE 1
  235. #endif
  236. /* Define to 1 if needed for POSIX-compatible behavior. */
  237. #ifndef _POSIX_SOURCE
  238. /* # undef _POSIX_SOURCE */
  239. #endif
  240. /* Define to 2 if needed for POSIX-compatible behavior. */
  241. #ifndef _POSIX_1_SOURCE
  242. /* # undef _POSIX_1_SOURCE */
  243. #endif
  244. /* Enable POSIX-compatible threading on Solaris. */
  245. #ifndef _POSIX_PTHREAD_SEMANTICS
  246. # define _POSIX_PTHREAD_SEMANTICS 1
  247. #endif
  248. /* Enable extensions specified by ISO/IEC TS 18661-5:2014. */
  249. #ifndef __STDC_WANT_IEC_60559_ATTRIBS_EXT__
  250. # define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
  251. #endif
  252. /* Enable extensions specified by ISO/IEC TS 18661-1:2014. */
  253. #ifndef __STDC_WANT_IEC_60559_BFP_EXT__
  254. # define __STDC_WANT_IEC_60559_BFP_EXT__ 1
  255. #endif
  256. /* Enable extensions specified by ISO/IEC TS 18661-2:2015. */
  257. #ifndef __STDC_WANT_IEC_60559_DFP_EXT__
  258. # define __STDC_WANT_IEC_60559_DFP_EXT__ 1
  259. #endif
  260. /* Enable extensions specified by ISO/IEC TS 18661-4:2015. */
  261. #ifndef __STDC_WANT_IEC_60559_FUNCS_EXT__
  262. # define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
  263. #endif
  264. /* Enable extensions specified by ISO/IEC TS 18661-3:2015. */
  265. #ifndef __STDC_WANT_IEC_60559_TYPES_EXT__
  266. # define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
  267. #endif
  268. /* Enable extensions specified by ISO/IEC TR 24731-2:2010. */
  269. #ifndef __STDC_WANT_LIB_EXT2__
  270. # define __STDC_WANT_LIB_EXT2__ 1
  271. #endif
  272. /* Enable extensions specified by ISO/IEC 24747:2009. */
  273. #ifndef __STDC_WANT_MATH_SPEC_FUNCS__
  274. # define __STDC_WANT_MATH_SPEC_FUNCS__ 1
  275. #endif
  276. /* Enable extensions on HP NonStop. */
  277. #ifndef _TANDEM_SOURCE
  278. # define _TANDEM_SOURCE 1
  279. #endif
  280. /* Enable X/Open extensions. Define to 500 only if necessary
  281. to make mbstate_t available. */
  282. #ifndef _XOPEN_SOURCE
  283. /* # undef _XOPEN_SOURCE */
  284. #endif
  285. /* Version number of package */
  286. #define VERSION "1.64.0"
  287. /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
  288. significant byte first (like Motorola and SPARC, unlike Intel). */
  289. #if defined AC_APPLE_UNIVERSAL_BUILD
  290. # if defined __BIG_ENDIAN__
  291. # define WORDS_BIGENDIAN 1
  292. # endif
  293. #else
  294. # ifndef WORDS_BIGENDIAN
  295. /* # undef WORDS_BIGENDIAN */
  296. # endif
  297. #endif
  298. /* Number of bits in a file offset, on hosts where this is settable. */
  299. /* #undef _FILE_OFFSET_BITS */
  300. /* Define for large files, on AIX-style hosts. */
  301. /* #undef _LARGE_FILES */
  302. /* Define for Solaris 2.5.1 so the uint32_t typedef from <sys/synch.h>,
  303. <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
  304. #define below would cause a syntax error. */
  305. /* #undef _UINT32_T */
  306. /* Define for Solaris 2.5.1 so the uint64_t typedef from <sys/synch.h>,
  307. <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
  308. #define below would cause a syntax error. */
  309. /* #undef _UINT64_T */
  310. /* Define for Solaris 2.5.1 so the uint8_t typedef from <sys/synch.h>,
  311. <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
  312. #define below would cause a syntax error. */
  313. /* #undef _UINT8_T */
  314. /* Define to `int' if <sys/types.h> doesn't define. */
  315. /* #undef gid_t */
  316. /* Define to `__inline__' or `__inline' if that's what the C compiler
  317. calls it, or to nothing if 'inline' is not supported under any name. */
  318. #ifndef __cplusplus
  319. /* #undef inline */
  320. #endif
  321. /* Define to the type of a signed integer type of width exactly 16 bits if
  322. such a type exists and the standard includes do not define it. */
  323. /* #undef int16_t */
  324. /* Define to the type of a signed integer type of width exactly 32 bits if
  325. such a type exists and the standard includes do not define it. */
  326. /* #undef int32_t */
  327. /* Define to the type of a signed integer type of width exactly 64 bits if
  328. such a type exists and the standard includes do not define it. */
  329. /* #undef int64_t */
  330. /* Define to the type of a signed integer type of width exactly 8 bits if such
  331. a type exists and the standard includes do not define it. */
  332. /* #undef int8_t */
  333. /* Define to `long int' if <sys/types.h> does not define. */
  334. /* #undef off_t */
  335. /* Define as a signed integer type capable of holding a process identifier. */
  336. /* #undef pid_t */
  337. /* Define to `unsigned int' if <sys/types.h> does not define. */
  338. /* #undef size_t */
  339. /* Define to `int' if <sys/types.h> does not define. */
  340. /* #undef ssize_t */
  341. /* Define to `int' if <sys/types.h> doesn't define. */
  342. /* #undef uid_t */
  343. /* Define to the type of an unsigned integer type of width exactly 16 bits if
  344. such a type exists and the standard includes do not define it. */
  345. /* #undef uint16_t */
  346. /* Define to the type of an unsigned integer type of width exactly 32 bits if
  347. such a type exists and the standard includes do not define it. */
  348. /* #undef uint32_t */
  349. /* Define to the type of an unsigned integer type of width exactly 64 bits if
  350. such a type exists and the standard includes do not define it. */
  351. /* #undef uint64_t */
  352. /* Define to the type of an unsigned integer type of width exactly 8 bits if
  353. such a type exists and the standard includes do not define it. */
  354. /* #undef uint8_t */
  355. /* Define as `fork' if `vfork' does not work. */
  356. /* #undef vfork */