curl_config.h.cmake 21 KB

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