curl_config.h.cmake 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843
  1. /***************************************************************************
  2. * _ _ ____ _
  3. * Project ___| | | | _ \| |
  4. * / __| | | | |_) | |
  5. * | (__| |_| | _ <| |___
  6. * \___|\___/|_| \_\_____|
  7. *
  8. * Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
  9. *
  10. * This software is licensed as described in the file COPYING, which
  11. * you should have received as part of this distribution. The terms
  12. * are also available at https://curl.se/docs/copyright.html.
  13. *
  14. * You may opt to use, copy, modify, merge, publish, distribute and/or sell
  15. * copies of the Software, and permit persons to whom the Software is
  16. * furnished to do so, under the terms of the COPYING file.
  17. *
  18. * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
  19. * KIND, either express or implied.
  20. *
  21. * SPDX-License-Identifier: curl
  22. *
  23. ***************************************************************************/
  24. /* Location of default ca bundle */
  25. #cmakedefine CURL_CA_BUNDLE "${CURL_CA_BUNDLE}"
  26. /* define "1" to use built-in ca store of TLS backend */
  27. #cmakedefine CURL_CA_FALLBACK 1
  28. /* Location of default ca path */
  29. #cmakedefine CURL_CA_PATH "${CURL_CA_PATH}"
  30. /* Default SSL backend */
  31. #cmakedefine CURL_DEFAULT_SSL_BACKEND "${CURL_DEFAULT_SSL_BACKEND}"
  32. /* disables alt-svc */
  33. #cmakedefine CURL_DISABLE_ALTSVC 1
  34. /* disables cookies support */
  35. #cmakedefine CURL_DISABLE_COOKIES 1
  36. /* disables Basic authentication */
  37. #cmakedefine CURL_DISABLE_BASIC_AUTH 1
  38. /* disables Bearer authentication */
  39. #cmakedefine CURL_DISABLE_BEARER_AUTH 1
  40. /* disables Digest authentication */
  41. #cmakedefine CURL_DISABLE_DIGEST_AUTH 1
  42. /* disables Kerberos authentication */
  43. #cmakedefine CURL_DISABLE_KERBEROS_AUTH 1
  44. /* disables negotiate authentication */
  45. #cmakedefine CURL_DISABLE_NEGOTIATE_AUTH 1
  46. /* disables AWS-SIG4 */
  47. #cmakedefine CURL_DISABLE_AWS 1
  48. /* disables DICT */
  49. #cmakedefine CURL_DISABLE_DICT 1
  50. /* disables DNS-over-HTTPS */
  51. #cmakedefine CURL_DISABLE_DOH 1
  52. /* disables FILE */
  53. #cmakedefine CURL_DISABLE_FILE 1
  54. /* disables form api */
  55. #cmakedefine CURL_DISABLE_FORM_API 1
  56. /* disables FTP */
  57. #cmakedefine CURL_DISABLE_FTP 1
  58. /* disables curl_easy_options API for existing options to curl_easy_setopt */
  59. #cmakedefine CURL_DISABLE_GETOPTIONS 1
  60. /* disables GOPHER */
  61. #cmakedefine CURL_DISABLE_GOPHER 1
  62. /* disables headers-api support */
  63. #cmakedefine CURL_DISABLE_HEADERS_API 1
  64. /* disables HSTS support */
  65. #cmakedefine CURL_DISABLE_HSTS 1
  66. /* disables HTTP */
  67. #cmakedefine CURL_DISABLE_HTTP 1
  68. /* disabled all HTTP authentication methods */
  69. #cmakedefine CURL_DISABLE_HTTP_AUTH 1
  70. /* disables IMAP */
  71. #cmakedefine CURL_DISABLE_IMAP 1
  72. /* disables LDAP */
  73. #cmakedefine CURL_DISABLE_LDAP 1
  74. /* disables LDAPS */
  75. #cmakedefine CURL_DISABLE_LDAPS 1
  76. /* disables --libcurl option from the curl tool */
  77. #cmakedefine CURL_DISABLE_LIBCURL_OPTION 1
  78. /* disables MIME support */
  79. #cmakedefine CURL_DISABLE_MIME 1
  80. /* disables local binding support */
  81. #cmakedefine CURL_DISABLE_BINDLOCAL 1
  82. /* disables MQTT */
  83. #cmakedefine CURL_DISABLE_MQTT 1
  84. /* disables netrc parser */
  85. #cmakedefine CURL_DISABLE_NETRC 1
  86. /* disables NTLM support */
  87. #cmakedefine CURL_DISABLE_NTLM 1
  88. /* disables date parsing */
  89. #cmakedefine CURL_DISABLE_PARSEDATE 1
  90. /* disables POP3 */
  91. #cmakedefine CURL_DISABLE_POP3 1
  92. /* disables built-in progress meter */
  93. #cmakedefine CURL_DISABLE_PROGRESS_METER 1
  94. /* disables proxies */
  95. #cmakedefine CURL_DISABLE_PROXY 1
  96. /* disables IPFS from the curl tool */
  97. #cmakedefine CURL_DISABLE_IPFS 1
  98. /* disables RTSP */
  99. #cmakedefine CURL_DISABLE_RTSP 1
  100. /* disables SHA-512/256 hash algorithm */
  101. #cmakedefine CURL_DISABLE_SHA512_256 1
  102. /* disabled shuffle DNS feature */
  103. #cmakedefine CURL_DISABLE_SHUFFLE_DNS 1
  104. /* disables SMB */
  105. #cmakedefine CURL_DISABLE_SMB 1
  106. /* disables SMTP */
  107. #cmakedefine CURL_DISABLE_SMTP 1
  108. /* disabled WebSockets */
  109. #cmakedefine CURL_DISABLE_WEBSOCKETS 1
  110. /* disables use of socketpair for curl_multi_poll */
  111. #cmakedefine CURL_DISABLE_SOCKETPAIR 1
  112. /* disables TELNET */
  113. #cmakedefine CURL_DISABLE_TELNET 1
  114. /* disables TFTP */
  115. #cmakedefine CURL_DISABLE_TFTP 1
  116. /* disables verbose strings */
  117. #cmakedefine CURL_DISABLE_VERBOSE_STRINGS 1
  118. /* disables unsafe CA bundle search on Windows from the curl tool */
  119. #cmakedefine CURL_DISABLE_CA_SEARCH 1
  120. /* safe CA bundle search (within the curl tool directory) on Windows */
  121. #cmakedefine CURL_CA_SEARCH_SAFE 1
  122. /* to make a symbol visible */
  123. #cmakedefine CURL_EXTERN_SYMBOL ${CURL_EXTERN_SYMBOL}
  124. /* Ensure using CURL_EXTERN_SYMBOL is possible */
  125. #ifndef CURL_EXTERN_SYMBOL
  126. #define CURL_EXTERN_SYMBOL
  127. #endif
  128. /* Allow SMB to work on Windows */
  129. #cmakedefine USE_WIN32_CRYPTO 1
  130. /* Use Windows LDAP implementation */
  131. #cmakedefine USE_WIN32_LDAP 1
  132. /* Define if you want to enable IPv6 support */
  133. #cmakedefine USE_IPV6 1
  134. /* Define to 1 if you have the alarm function. */
  135. #cmakedefine HAVE_ALARM 1
  136. /* Define to 1 if you have the arc4random function. */
  137. #cmakedefine HAVE_ARC4RANDOM 1
  138. /* Define to 1 if you have the <arpa/inet.h> header file. */
  139. #cmakedefine HAVE_ARPA_INET_H 1
  140. /* Define to 1 if you have _Atomic support. */
  141. #cmakedefine HAVE_ATOMIC 1
  142. /* Define to 1 if you have the `fnmatch' function. */
  143. #cmakedefine HAVE_FNMATCH 1
  144. /* Define to 1 if you have the `basename' function. */
  145. #cmakedefine HAVE_BASENAME 1
  146. /* Define to 1 if bool is an available type. */
  147. #cmakedefine HAVE_BOOL_T 1
  148. /* Define to 1 if you have the __builtin_available function. */
  149. #cmakedefine HAVE_BUILTIN_AVAILABLE 1
  150. /* Define to 1 if you have the clock_gettime function and monotonic timer. */
  151. #cmakedefine HAVE_CLOCK_GETTIME_MONOTONIC 1
  152. /* Define to 1 if you have the clock_gettime function and raw monotonic timer.
  153. */
  154. #cmakedefine HAVE_CLOCK_GETTIME_MONOTONIC_RAW 1
  155. /* Define to 1 if you have the `closesocket' function. */
  156. #cmakedefine HAVE_CLOSESOCKET 1
  157. /* Define to 1 if you have the `CloseSocket' function. */
  158. #cmakedefine HAVE_CLOSESOCKET_CAMEL 1
  159. /* Define to 1 if you have the <dirent.h> header file. */
  160. #cmakedefine HAVE_DIRENT_H 1
  161. /* Define to 1 if you have the `opendir' function. */
  162. #cmakedefine HAVE_OPENDIR 1
  163. /* Define to 1 if you have the fcntl function. */
  164. #cmakedefine HAVE_FCNTL 1
  165. /* Define to 1 if you have the <fcntl.h> header file. */
  166. #cmakedefine HAVE_FCNTL_H 1
  167. /* Define to 1 if you have a working fcntl O_NONBLOCK function. */
  168. #cmakedefine HAVE_FCNTL_O_NONBLOCK 1
  169. /* Define to 1 if you have the freeaddrinfo function. */
  170. #cmakedefine HAVE_FREEADDRINFO 1
  171. /* Define to 1 if you have the fseeko function. */
  172. #cmakedefine HAVE_FSEEKO 1
  173. /* Define to 1 if you have the fseeko declaration. */
  174. #cmakedefine HAVE_DECL_FSEEKO 1
  175. /* Define to 1 if you have the _fseeki64 function. */
  176. #cmakedefine HAVE__FSEEKI64 1
  177. /* Define to 1 if you have the ftruncate function. */
  178. #cmakedefine HAVE_FTRUNCATE 1
  179. /* Define to 1 if you have a working getaddrinfo function. */
  180. #cmakedefine HAVE_GETADDRINFO 1
  181. /* Define to 1 if the getaddrinfo function is threadsafe. */
  182. #cmakedefine HAVE_GETADDRINFO_THREADSAFE 1
  183. /* Define to 1 if you have the `geteuid' function. */
  184. #cmakedefine HAVE_GETEUID 1
  185. /* Define to 1 if you have the `getppid' function. */
  186. #cmakedefine HAVE_GETPPID 1
  187. /* Define to 1 if you have the gethostbyname_r function. */
  188. #cmakedefine HAVE_GETHOSTBYNAME_R 1
  189. /* gethostbyname_r() takes 3 args */
  190. #cmakedefine HAVE_GETHOSTBYNAME_R_3 1
  191. /* gethostbyname_r() takes 5 args */
  192. #cmakedefine HAVE_GETHOSTBYNAME_R_5 1
  193. /* gethostbyname_r() takes 6 args */
  194. #cmakedefine HAVE_GETHOSTBYNAME_R_6 1
  195. /* Define to 1 if you have the gethostname function. */
  196. #cmakedefine HAVE_GETHOSTNAME 1
  197. /* Define to 1 if you have a working getifaddrs function. */
  198. #cmakedefine HAVE_GETIFADDRS 1
  199. /* Define to 1 if you have the `getpass_r' function. */
  200. #cmakedefine HAVE_GETPASS_R 1
  201. /* Define to 1 if you have the `getpeername' function. */
  202. #cmakedefine HAVE_GETPEERNAME 1
  203. /* Define to 1 if you have the `getsockname' function. */
  204. #cmakedefine HAVE_GETSOCKNAME 1
  205. /* Define to 1 if you have the `if_nametoindex' function. */
  206. #cmakedefine HAVE_IF_NAMETOINDEX 1
  207. /* Define to 1 if you have the `getpwuid' function. */
  208. #cmakedefine HAVE_GETPWUID 1
  209. /* Define to 1 if you have the `getpwuid_r' function. */
  210. #cmakedefine HAVE_GETPWUID_R 1
  211. /* Define to 1 if you have the `getrlimit' function. */
  212. #cmakedefine HAVE_GETRLIMIT 1
  213. /* Define to 1 if you have the `gettimeofday' function. */
  214. #cmakedefine HAVE_GETTIMEOFDAY 1
  215. /* Define to 1 if you have a working glibc-style strerror_r function. */
  216. #cmakedefine HAVE_GLIBC_STRERROR_R 1
  217. /* Define to 1 if you have a working gmtime_r function. */
  218. #cmakedefine HAVE_GMTIME_R 1
  219. /* if you have the gssapi libraries */
  220. #cmakedefine HAVE_GSSAPI 1
  221. /* Define to 1 if you have the <gssapi/gssapi_generic.h> header file. */
  222. #cmakedefine HAVE_GSSAPI_GSSAPI_GENERIC_H 1
  223. /* Define to 1 if you have the <gssapi/gssapi.h> header file. */
  224. #cmakedefine HAVE_GSSAPI_GSSAPI_H 1
  225. /* if you have the GNU gssapi libraries */
  226. #cmakedefine HAVE_GSSGNU 1
  227. /* Define to 1 if you have the <ifaddrs.h> header file. */
  228. #cmakedefine HAVE_IFADDRS_H 1
  229. /* Define to 1 if you have a IPv6 capable working inet_ntop function. */
  230. #cmakedefine HAVE_INET_NTOP 1
  231. /* Define to 1 if you have a IPv6 capable working inet_pton function. */
  232. #cmakedefine HAVE_INET_PTON 1
  233. /* Define to 1 if symbol `sa_family_t' exists */
  234. #cmakedefine HAVE_SA_FAMILY_T 1
  235. /* Define to 1 if symbol `ADDRESS_FAMILY' exists */
  236. #cmakedefine HAVE_ADDRESS_FAMILY 1
  237. /* Define to 1 if you have the ioctlsocket function. */
  238. #cmakedefine HAVE_IOCTLSOCKET 1
  239. /* Define to 1 if you have the IoctlSocket camel case function. */
  240. #cmakedefine HAVE_IOCTLSOCKET_CAMEL 1
  241. /* Define to 1 if you have a working IoctlSocket camel case FIONBIO function.
  242. */
  243. #cmakedefine HAVE_IOCTLSOCKET_CAMEL_FIONBIO 1
  244. /* Define to 1 if you have a working ioctlsocket FIONBIO function. */
  245. #cmakedefine HAVE_IOCTLSOCKET_FIONBIO 1
  246. /* Define to 1 if you have a working ioctl FIONBIO function. */
  247. #cmakedefine HAVE_IOCTL_FIONBIO 1
  248. /* Define to 1 if you have a working ioctl SIOCGIFADDR function. */
  249. #cmakedefine HAVE_IOCTL_SIOCGIFADDR 1
  250. /* Define to 1 if you have the <io.h> header file. */
  251. #cmakedefine HAVE_IO_H 1
  252. /* Define to 1 if you have the lber.h header file. */
  253. #cmakedefine HAVE_LBER_H 1
  254. /* Use LDAPS implementation */
  255. #cmakedefine HAVE_LDAP_SSL 1
  256. /* Define to 1 if you have the ldap_ssl.h header file. */
  257. #cmakedefine HAVE_LDAP_SSL_H 1
  258. /* Define to 1 if you have the `ldap_url_parse' function. */
  259. #cmakedefine HAVE_LDAP_URL_PARSE 1
  260. /* Define to 1 if you have the <libgen.h> header file. */
  261. #cmakedefine HAVE_LIBGEN_H 1
  262. /* Define to 1 if you have the `idn2' library (-lidn2). */
  263. #cmakedefine HAVE_LIBIDN2 1
  264. /* Define to 1 if you have the idn2.h header file. */
  265. #cmakedefine HAVE_IDN2_H 1
  266. /* if zlib is available */
  267. #cmakedefine HAVE_LIBZ 1
  268. /* if brotli is available */
  269. #cmakedefine HAVE_BROTLI 1
  270. /* if zstd is available */
  271. #cmakedefine HAVE_ZSTD 1
  272. /* Define to 1 if you have the <locale.h> header file. */
  273. #cmakedefine HAVE_LOCALE_H 1
  274. /* Define to 1 if the compiler supports the 'long long' data type. */
  275. #cmakedefine HAVE_LONGLONG 1
  276. /* Define to 1 if you have the 'suseconds_t' data type. */
  277. #cmakedefine HAVE_SUSECONDS_T 1
  278. /* Define to 1 if you have the MSG_NOSIGNAL flag. */
  279. #cmakedefine HAVE_MSG_NOSIGNAL 1
  280. /* Define to 1 if you have the <netdb.h> header file. */
  281. #cmakedefine HAVE_NETDB_H 1
  282. /* Define to 1 if you have the <netinet/in.h> header file. */
  283. #cmakedefine HAVE_NETINET_IN_H 1
  284. /* Define to 1 if you have the <netinet/in6.h> header file. */
  285. #cmakedefine HAVE_NETINET_IN6_H 1
  286. /* Define to 1 if you have the <netinet/tcp.h> header file. */
  287. #cmakedefine HAVE_NETINET_TCP_H 1
  288. /* Define to 1 if you have the <netinet/udp.h> header file. */
  289. #cmakedefine HAVE_NETINET_UDP_H 1
  290. /* Define to 1 if you have the <linux/tcp.h> header file. */
  291. #cmakedefine HAVE_LINUX_TCP_H 1
  292. /* Define to 1 if you have the <net/if.h> header file. */
  293. #cmakedefine HAVE_NET_IF_H 1
  294. /* if you have an old MIT gssapi library, lacking GSS_C_NT_HOSTBASED_SERVICE */
  295. #cmakedefine HAVE_OLD_GSSMIT 1
  296. /* Define to 1 if you have the `pipe' function. */
  297. #cmakedefine HAVE_PIPE 1
  298. /* Define to 1 if you have the `eventfd' function. */
  299. #cmakedefine HAVE_EVENTFD 1
  300. /* If you have poll */
  301. #cmakedefine HAVE_POLL 1
  302. /* Define to 1 if you have the <poll.h> header file. */
  303. #cmakedefine HAVE_POLL_H 1
  304. /* Define to 1 if you have a working POSIX-style strerror_r function. */
  305. #cmakedefine HAVE_POSIX_STRERROR_R 1
  306. /* Define to 1 if you have the <pthread.h> header file */
  307. #cmakedefine HAVE_PTHREAD_H 1
  308. /* Define to 1 if you have the <pwd.h> header file. */
  309. #cmakedefine HAVE_PWD_H 1
  310. /* Define to 1 if OpenSSL has the `SSL_set0_wbio` function. */
  311. #cmakedefine HAVE_SSL_SET0_WBIO 1
  312. /* Define to 1 if you have the recv function. */
  313. #cmakedefine HAVE_RECV 1
  314. /* Define to 1 if you have the select function. */
  315. #cmakedefine HAVE_SELECT 1
  316. /* Define to 1 if you have the sched_yield function. */
  317. #cmakedefine HAVE_SCHED_YIELD 1
  318. /* Define to 1 if you have the send function. */
  319. #cmakedefine HAVE_SEND 1
  320. /* Define to 1 if you have the sendmsg function. */
  321. #cmakedefine HAVE_SENDMSG 1
  322. /* Define to 1 if you have the sendmmsg function. */
  323. #cmakedefine HAVE_SENDMMSG 1
  324. /* Define to 1 if you have the 'fsetxattr' function. */
  325. #cmakedefine HAVE_FSETXATTR 1
  326. /* fsetxattr() takes 5 args */
  327. #cmakedefine HAVE_FSETXATTR_5 1
  328. /* fsetxattr() takes 6 args */
  329. #cmakedefine HAVE_FSETXATTR_6 1
  330. /* Define to 1 if you have the `setlocale' function. */
  331. #cmakedefine HAVE_SETLOCALE 1
  332. /* Define to 1 if you have the `setmode' function. */
  333. #cmakedefine HAVE_SETMODE 1
  334. /* Define to 1 if you have the `_setmode' function. */
  335. #cmakedefine HAVE__SETMODE 1
  336. /* Define to 1 if you have the `setrlimit' function. */
  337. #cmakedefine HAVE_SETRLIMIT 1
  338. /* Define to 1 if you have a working setsockopt SO_NONBLOCK function. */
  339. #cmakedefine HAVE_SETSOCKOPT_SO_NONBLOCK 1
  340. /* Define to 1 if you have the sigaction function. */
  341. #cmakedefine HAVE_SIGACTION 1
  342. /* Define to 1 if you have the siginterrupt function. */
  343. #cmakedefine HAVE_SIGINTERRUPT 1
  344. /* Define to 1 if you have the signal function. */
  345. #cmakedefine HAVE_SIGNAL 1
  346. /* Define to 1 if you have the sigsetjmp function or macro. */
  347. #cmakedefine HAVE_SIGSETJMP 1
  348. /* Define to 1 if you have the `snprintf' function. */
  349. #cmakedefine HAVE_SNPRINTF 1
  350. /* Define to 1 if struct sockaddr_in6 has the sin6_scope_id member */
  351. #cmakedefine HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
  352. /* Define to 1 if you have the `socket' function. */
  353. #cmakedefine HAVE_SOCKET 1
  354. /* Define to 1 if you have the <proto/bsdsocket.h> header file. */
  355. #cmakedefine HAVE_PROTO_BSDSOCKET_H 1
  356. /* Define to 1 if you have the socketpair function. */
  357. #cmakedefine HAVE_SOCKETPAIR 1
  358. /* Define to 1 if you have the <stdatomic.h> header file. */
  359. #cmakedefine HAVE_STDATOMIC_H 1
  360. /* Define to 1 if you have the <stdbool.h> header file. */
  361. #cmakedefine HAVE_STDBOOL_H 1
  362. /* Define to 1 if you have the strcasecmp function. */
  363. #cmakedefine HAVE_STRCASECMP 1
  364. /* Define to 1 if you have the strcmpi function. */
  365. #cmakedefine HAVE_STRCMPI 1
  366. /* Define to 1 if you have the strdup function. */
  367. #cmakedefine HAVE_STRDUP 1
  368. /* Define to 1 if you have the strerror_r function. */
  369. #cmakedefine HAVE_STRERROR_R 1
  370. /* Define to 1 if you have the stricmp function. */
  371. #cmakedefine HAVE_STRICMP 1
  372. /* Define to 1 if you have the <strings.h> header file. */
  373. #cmakedefine HAVE_STRINGS_H 1
  374. /* Define to 1 if you have the <stropts.h> header file. */
  375. #cmakedefine HAVE_STROPTS_H 1
  376. /* Define to 1 if you have the strtok_r function. */
  377. #cmakedefine HAVE_STRTOK_R 1
  378. /* Define to 1 if you have the strtoll function. */
  379. #cmakedefine HAVE_STRTOLL 1
  380. /* Define to 1 if you have the memrchr function. */
  381. #cmakedefine HAVE_MEMRCHR 1
  382. /* if struct sockaddr_storage is defined */
  383. #cmakedefine HAVE_STRUCT_SOCKADDR_STORAGE 1
  384. /* Define to 1 if you have the timeval struct. */
  385. #cmakedefine HAVE_STRUCT_TIMEVAL 1
  386. /* Define to 1 if you have the <sys/eventfd.h> header file. */
  387. #cmakedefine HAVE_SYS_EVENTFD_H 1
  388. /* Define to 1 if you have the <sys/filio.h> header file. */
  389. #cmakedefine HAVE_SYS_FILIO_H 1
  390. /* Define to 1 if you have the <sys/wait.h> header file. */
  391. #cmakedefine HAVE_SYS_WAIT_H 1
  392. /* Define to 1 if you have the <sys/ioctl.h> header file. */
  393. #cmakedefine HAVE_SYS_IOCTL_H 1
  394. /* Define to 1 if you have the <sys/param.h> header file. */
  395. #cmakedefine HAVE_SYS_PARAM_H 1
  396. /* Define to 1 if you have the <sys/poll.h> header file. */
  397. #cmakedefine HAVE_SYS_POLL_H 1
  398. /* Define to 1 if you have the <sys/resource.h> header file. */
  399. #cmakedefine HAVE_SYS_RESOURCE_H 1
  400. /* Define to 1 if you have the <sys/select.h> header file. */
  401. #cmakedefine HAVE_SYS_SELECT_H 1
  402. /* Define to 1 if you have the <sys/socket.h> header file. */
  403. #cmakedefine HAVE_SYS_SOCKET_H 1
  404. /* Define to 1 if you have the <sys/sockio.h> header file. */
  405. #cmakedefine HAVE_SYS_SOCKIO_H 1
  406. /* Define to 1 if you have the <sys/stat.h> header file. */
  407. #cmakedefine HAVE_SYS_STAT_H 1
  408. /* Define to 1 if you have the <sys/time.h> header file. */
  409. #cmakedefine HAVE_SYS_TIME_H 1
  410. /* Define to 1 if you have the <sys/types.h> header file. */
  411. #cmakedefine HAVE_SYS_TYPES_H 1
  412. /* Define to 1 if you have the <sys/un.h> header file. */
  413. #cmakedefine HAVE_SYS_UN_H 1
  414. /* Define to 1 if you have the <sys/utime.h> header file. */
  415. #cmakedefine HAVE_SYS_UTIME_H 1
  416. /* Define to 1 if you have the <termios.h> header file. */
  417. #cmakedefine HAVE_TERMIOS_H 1
  418. /* Define to 1 if you have the <termio.h> header file. */
  419. #cmakedefine HAVE_TERMIO_H 1
  420. /* Define to 1 if you have the <unistd.h> header file. */
  421. #cmakedefine HAVE_UNISTD_H 1
  422. /* Define to 1 if you have the `utime' function. */
  423. #cmakedefine HAVE_UTIME 1
  424. /* Define to 1 if you have the `utimes' function. */
  425. #cmakedefine HAVE_UTIMES 1
  426. /* Define to 1 if you have the <utime.h> header file. */
  427. #cmakedefine HAVE_UTIME_H 1
  428. /* Define this symbol if your OS supports changing the contents of argv */
  429. #cmakedefine HAVE_WRITABLE_ARGV 1
  430. /* Define to 1 if you need the malloc.h header file even with stdlib.h */
  431. #cmakedefine NEED_MALLOC_H 1
  432. /* Define to 1 if _REENTRANT preprocessor symbol must be defined. */
  433. #cmakedefine NEED_REENTRANT 1
  434. /* cpu-machine-OS */
  435. #cmakedefine OS ${OS}
  436. /* Name of package */
  437. #cmakedefine PACKAGE ${PACKAGE}
  438. /* Define to the address where bug reports for this package should be sent. */
  439. #cmakedefine PACKAGE_BUGREPORT ${PACKAGE_BUGREPORT}
  440. /* Define to the full name of this package. */
  441. #cmakedefine PACKAGE_NAME ${PACKAGE_NAME}
  442. /* Define to the full name and version of this package. */
  443. #cmakedefine PACKAGE_STRING ${PACKAGE_STRING}
  444. /* Define to the one symbol short name of this package. */
  445. #cmakedefine PACKAGE_TARNAME ${PACKAGE_TARNAME}
  446. /* Define to the version of this package. */
  447. #cmakedefine PACKAGE_VERSION ${PACKAGE_VERSION}
  448. /*
  449. Note: SIZEOF_* variables are fetched with CMake through check_type_size().
  450. As per CMake documentation on CheckTypeSize, C preprocessor code is
  451. generated by CMake into SIZEOF_*_CODE. This is what we use in the
  452. following statements.
  453. Reference: https://cmake.org/cmake/help/latest/module/CheckTypeSize.html
  454. */
  455. /* The size of `int', as computed by sizeof. */
  456. ${SIZEOF_INT_CODE}
  457. /* The size of `long', as computed by sizeof. */
  458. ${SIZEOF_LONG_CODE}
  459. /* The size of `long long', as computed by sizeof. */
  460. ${SIZEOF_LONG_LONG_CODE}
  461. /* The size of `off_t', as computed by sizeof. */
  462. ${SIZEOF_OFF_T_CODE}
  463. /* The size of `curl_off_t', as computed by sizeof. */
  464. ${SIZEOF_CURL_OFF_T_CODE}
  465. /* The size of `curl_socket_t', as computed by sizeof. */
  466. ${SIZEOF_CURL_SOCKET_T_CODE}
  467. /* The size of `size_t', as computed by sizeof. */
  468. ${SIZEOF_SIZE_T_CODE}
  469. /* The size of `time_t', as computed by sizeof. */
  470. ${SIZEOF_TIME_T_CODE}
  471. /* Define to 1 if you have the ANSI C header files. */
  472. #cmakedefine STDC_HEADERS 1
  473. /* Define if you want to enable c-ares support */
  474. #cmakedefine USE_ARES 1
  475. /* Define if you want to enable POSIX threaded DNS lookup */
  476. #cmakedefine USE_THREADS_POSIX 1
  477. /* Define if you want to enable Win32 threaded DNS lookup */
  478. #cmakedefine USE_THREADS_WIN32 1
  479. /* if GnuTLS is enabled */
  480. #cmakedefine USE_GNUTLS 1
  481. /* if Secure Transport is enabled */
  482. #cmakedefine USE_SECTRANSP 1
  483. /* if mbedTLS is enabled */
  484. #cmakedefine USE_MBEDTLS 1
  485. /* if BearSSL is enabled */
  486. #cmakedefine USE_BEARSSL 1
  487. /* if Rustls is enabled */
  488. #cmakedefine USE_RUSTLS 1
  489. /* if wolfSSL is enabled */
  490. #cmakedefine USE_WOLFSSL 1
  491. /* if wolfSSL has the wolfSSL_DES_ecb_encrypt function. */
  492. #cmakedefine HAVE_WOLFSSL_DES_ECB_ENCRYPT 1
  493. /* if wolfSSL has the wolfSSL_BIO_set_shutdown function. */
  494. #cmakedefine HAVE_WOLFSSL_FULL_BIO 1
  495. /* if libssh is in use */
  496. #cmakedefine USE_LIBSSH 1
  497. /* if libssh2 is in use */
  498. #cmakedefine USE_LIBSSH2 1
  499. /* if wolfssh is in use */
  500. #cmakedefine USE_WOLFSSH 1
  501. /* if libpsl is in use */
  502. #cmakedefine USE_LIBPSL 1
  503. /* if you want to use OpenLDAP code instead of legacy ldap implementation */
  504. #cmakedefine USE_OPENLDAP 1
  505. /* if OpenSSL is in use */
  506. #cmakedefine USE_OPENSSL 1
  507. /* if librtmp/rtmpdump is in use */
  508. #cmakedefine USE_LIBRTMP 1
  509. /* if GSASL is in use */
  510. #cmakedefine USE_GSASL 1
  511. /* if libuv is in use */
  512. #cmakedefine USE_LIBUV 1
  513. /* Define to 1 if you have the <uv.h> header file. */
  514. #cmakedefine HAVE_UV_H 1
  515. /* Define to 1 if you do not want the OpenSSL configuration to be loaded
  516. automatically */
  517. #cmakedefine CURL_DISABLE_OPENSSL_AUTO_LOAD_CONFIG 1
  518. /* to enable NGHTTP2 */
  519. #cmakedefine USE_NGHTTP2 1
  520. /* to enable NGTCP2 */
  521. #cmakedefine USE_NGTCP2 1
  522. /* to enable NGHTTP3 */
  523. #cmakedefine USE_NGHTTP3 1
  524. /* to enable quiche */
  525. #cmakedefine USE_QUICHE 1
  526. /* to enable openssl + nghttp3 */
  527. #cmakedefine USE_OPENSSL_QUIC 1
  528. /* Define to 1 if you have the quiche_conn_set_qlog_fd function. */
  529. #cmakedefine HAVE_QUICHE_CONN_SET_QLOG_FD 1
  530. /* to enable msh3 */
  531. #cmakedefine USE_MSH3 1
  532. /* if Unix domain sockets are enabled */
  533. #cmakedefine USE_UNIX_SOCKETS 1
  534. /* Define to 1 if you are building a Windows target with large file support. */
  535. #cmakedefine USE_WIN32_LARGE_FILES 1
  536. /* to enable SSPI support */
  537. #cmakedefine USE_WINDOWS_SSPI 1
  538. /* to enable Windows SSL */
  539. #cmakedefine USE_SCHANNEL 1
  540. /* enable multiple SSL backends */
  541. #cmakedefine CURL_WITH_MULTI_SSL 1
  542. /* Version number of package */
  543. #cmakedefine VERSION ${VERSION}
  544. /* Number of bits in a file offset, on hosts where this is settable. */
  545. #cmakedefine _FILE_OFFSET_BITS ${_FILE_OFFSET_BITS}
  546. /* Define for large files, on AIX-style hosts. */
  547. #cmakedefine _LARGE_FILES ${_LARGE_FILES}
  548. /* define this if you need it to compile thread-safe code */
  549. #cmakedefine _THREAD_SAFE ${_THREAD_SAFE}
  550. /* Define to empty if `const' does not conform to ANSI C. */
  551. #cmakedefine const ${const}
  552. /* Type to use in place of in_addr_t when system does not provide it. */
  553. #cmakedefine in_addr_t ${in_addr_t}
  554. /* Define to `unsigned int' if <sys/types.h> does not define. */
  555. #cmakedefine size_t ${size_t}
  556. /* the signed version of size_t */
  557. #cmakedefine ssize_t ${ssize_t}
  558. /* Define to 1 if you have the mach_absolute_time function. */
  559. #cmakedefine HAVE_MACH_ABSOLUTE_TIME 1
  560. /* to enable Windows IDN */
  561. #cmakedefine USE_WIN32_IDN 1
  562. /* to enable Apple IDN */
  563. #cmakedefine USE_APPLE_IDN 1
  564. /* Define to 1 if OpenSSL has the SSL_CTX_set_srp_username function. */
  565. #cmakedefine HAVE_OPENSSL_SRP 1
  566. /* Define to 1 if GnuTLS has the gnutls_srp_verifier function. */
  567. #cmakedefine HAVE_GNUTLS_SRP 1
  568. /* Define to 1 to enable TLS-SRP support. */
  569. #cmakedefine USE_TLS_SRP 1
  570. /* Define to 1 to query for HTTPSRR when using DoH */
  571. #cmakedefine USE_HTTPSRR 1
  572. /* if ECH support is available */
  573. #cmakedefine USE_ECH 1