curl_config.h.cmake 24 KB

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