config-linux.h 14 KB

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