2
0

curl_config.h.cmake 22 KB

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