config-linux.h 14 KB

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