config-linux.h 14 KB

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