curl_config.h.cmake 22 KB

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