curl_config.h.cmake 29 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015
  1. /***************************************************************************
  2. * _ _ ____ _
  3. * Project ___| | | | _ \| |
  4. * / __| | | | |_) | |
  5. * | (__| |_| | _ <| |___
  6. * \___|\___/|_| \_\_____|
  7. *
  8. * Copyright (C) 1998 - 2021, 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. ***************************************************************************/
  22. /* lib/curl_config.h.in. Generated somehow by cmake. */
  23. /* when building libcurl itself */
  24. #cmakedefine BUILDING_LIBCURL 1
  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 <alloca.h> header file. */
  108. #cmakedefine HAVE_ALLOCA_H 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 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 `CRYPTO_cleanup_all_ex_data' function. */
  126. #cmakedefine HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
  127. /* Define to 1 if you have the <dlfcn.h> header file. */
  128. #cmakedefine HAVE_DLFCN_H 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 function. */
  148. #cmakedefine HAVE_GETHOSTBYNAME 1
  149. /* Define to 1 if you have the gethostbyname_r function. */
  150. #cmakedefine HAVE_GETHOSTBYNAME_R 1
  151. /* gethostbyname_r() takes 3 args */
  152. #cmakedefine HAVE_GETHOSTBYNAME_R_3 1
  153. /* gethostbyname_r() takes 5 args */
  154. #cmakedefine HAVE_GETHOSTBYNAME_R_5 1
  155. /* gethostbyname_r() takes 6 args */
  156. #cmakedefine HAVE_GETHOSTBYNAME_R_6 1
  157. /* Define to 1 if you have the gethostname function. */
  158. #cmakedefine HAVE_GETHOSTNAME 1
  159. /* Define to 1 if you have a working getifaddrs function. */
  160. #cmakedefine HAVE_GETIFADDRS 1
  161. /* Define to 1 if you have the `getpass_r' function. */
  162. #cmakedefine HAVE_GETPASS_R 1
  163. /* Define to 1 if you have the `getppid' function. */
  164. #cmakedefine HAVE_GETPPID 1
  165. /* Define to 1 if you have the `getprotobyname' function. */
  166. #cmakedefine HAVE_GETPROTOBYNAME 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 `idn_free' function. */
  202. #cmakedefine HAVE_IDN_FREE 1
  203. /* Define to 1 if you have the <idn-free.h> header file. */
  204. #cmakedefine HAVE_IDN_FREE_H 1
  205. /* Define to 1 if you have the <ifaddrs.h> header file. */
  206. #cmakedefine HAVE_IFADDRS_H 1
  207. /* Define to 1 if you have the `inet_addr' function. */
  208. #cmakedefine HAVE_INET_ADDR 1
  209. /* Define to 1 if you have a IPv6 capable working inet_ntop function. */
  210. #cmakedefine HAVE_INET_NTOP 1
  211. /* Define to 1 if you have a IPv6 capable working inet_pton function. */
  212. #cmakedefine HAVE_INET_PTON 1
  213. /* Define to 1 if symbol `sa_family_t' exists */
  214. #cmakedefine HAVE_SA_FAMILY_T 1
  215. /* Define to 1 if symbol `ADDRESS_FAMILY' exists */
  216. #cmakedefine HAVE_ADDRESS_FAMILY 1
  217. /* Define to 1 if you have the <inttypes.h> header file. */
  218. #cmakedefine HAVE_INTTYPES_H 1
  219. /* Define to 1 if you have the ioctl function. */
  220. #cmakedefine HAVE_IOCTL 1
  221. /* Define to 1 if you have the ioctlsocket function. */
  222. #cmakedefine HAVE_IOCTLSOCKET 1
  223. /* Define to 1 if you have the IoctlSocket camel case function. */
  224. #cmakedefine HAVE_IOCTLSOCKET_CAMEL 1
  225. /* Define to 1 if you have a working IoctlSocket camel case FIONBIO function.
  226. */
  227. #cmakedefine HAVE_IOCTLSOCKET_CAMEL_FIONBIO 1
  228. /* Define to 1 if you have a working ioctlsocket FIONBIO function. */
  229. #cmakedefine HAVE_IOCTLSOCKET_FIONBIO 1
  230. /* Define to 1 if you have a working ioctl FIONBIO function. */
  231. #cmakedefine HAVE_IOCTL_FIONBIO 1
  232. /* Define to 1 if you have a working ioctl SIOCGIFADDR function. */
  233. #cmakedefine HAVE_IOCTL_SIOCGIFADDR 1
  234. /* Define to 1 if you have the <io.h> header file. */
  235. #cmakedefine HAVE_IO_H 1
  236. /* if you have the Kerberos4 libraries (including -ldes) */
  237. #cmakedefine HAVE_KRB4 1
  238. /* Define to 1 if you have the `krb_get_our_ip_for_realm' function. */
  239. #cmakedefine HAVE_KRB_GET_OUR_IP_FOR_REALM 1
  240. /* Define to 1 if you have the <krb.h> header file. */
  241. #cmakedefine HAVE_KRB_H 1
  242. /* Define to 1 if you have the lber.h header file. */
  243. #cmakedefine HAVE_LBER_H 1
  244. /* Define to 1 if you have the ldapssl.h header file. */
  245. #cmakedefine HAVE_LDAPSSL_H 1
  246. /* Define to 1 if you have the ldap.h header file. */
  247. #cmakedefine HAVE_LDAP_H 1
  248. /* Use LDAPS implementation */
  249. #cmakedefine HAVE_LDAP_SSL 1
  250. /* Define to 1 if you have the ldap_ssl.h header file. */
  251. #cmakedefine HAVE_LDAP_SSL_H 1
  252. /* Define to 1 if you have the `ldap_url_parse' function. */
  253. #cmakedefine HAVE_LDAP_URL_PARSE 1
  254. /* Define to 1 if you have the <libgen.h> header file. */
  255. #cmakedefine HAVE_LIBGEN_H 1
  256. /* Define to 1 if you have the `idn2' library (-lidn2). */
  257. #cmakedefine HAVE_LIBIDN2 1
  258. /* Define to 1 if you have the idn2.h header file. */
  259. #cmakedefine HAVE_IDN2_H 1
  260. /* Define to 1 if you have the `resolv' library (-lresolv). */
  261. #cmakedefine HAVE_LIBRESOLV 1
  262. /* Define to 1 if you have the `resolve' library (-lresolve). */
  263. #cmakedefine HAVE_LIBRESOLVE 1
  264. /* Define to 1 if you have the `socket' library (-lsocket). */
  265. #cmakedefine HAVE_LIBSOCKET 1
  266. /* Define to 1 if you have the `ssh2' library (-lssh2). */
  267. #cmakedefine HAVE_LIBSSH2 1
  268. /* Define to 1 if you have the <libssh2.h> header file. */
  269. #cmakedefine HAVE_LIBSSH2_H 1
  270. /* Define to 1 if you have the <libssh/libssh.h> header file. */
  271. #cmakedefine HAVE_LIBSSH_LIBSSH_H 1
  272. /* if zlib is available */
  273. #cmakedefine HAVE_LIBZ 1
  274. /* if brotli is available */
  275. #cmakedefine HAVE_BROTLI 1
  276. /* if zstd is available */
  277. #cmakedefine HAVE_ZSTD 1
  278. /* if your compiler supports LL */
  279. #cmakedefine HAVE_LL 1
  280. /* Define to 1 if you have the <locale.h> header file. */
  281. #cmakedefine HAVE_LOCALE_H 1
  282. /* Define to 1 if you have a working localtime_r function. */
  283. #cmakedefine HAVE_LOCALTIME_R 1
  284. /* Define to 1 if the compiler supports the 'long long' data type. */
  285. #cmakedefine HAVE_LONGLONG 1
  286. /* Define to 1 if you have the malloc.h header file. */
  287. #cmakedefine HAVE_MALLOC_H 1
  288. /* Define to 1 if you have the <memory.h> header file. */
  289. #cmakedefine HAVE_MEMORY_H 1
  290. /* Define to 1 if you have the MSG_NOSIGNAL flag. */
  291. #cmakedefine HAVE_MSG_NOSIGNAL 1
  292. /* Define to 1 if you have the <netdb.h> header file. */
  293. #cmakedefine HAVE_NETDB_H 1
  294. /* Define to 1 if you have the <netinet/in.h> header file. */
  295. #cmakedefine HAVE_NETINET_IN_H 1
  296. /* Define to 1 if you have the <netinet/tcp.h> header file. */
  297. #cmakedefine HAVE_NETINET_TCP_H 1
  298. /* Define to 1 if you have the <linux/tcp.h> header file. */
  299. #cmakedefine HAVE_LINUX_TCP_H 1
  300. /* Define to 1 if you have the <net/if.h> header file. */
  301. #cmakedefine HAVE_NET_IF_H 1
  302. /* Define to 1 if NI_WITHSCOPEID exists and works. */
  303. #cmakedefine HAVE_NI_WITHSCOPEID 1
  304. /* if you have an old MIT gssapi library, lacking GSS_C_NT_HOSTBASED_SERVICE */
  305. #cmakedefine HAVE_OLD_GSSMIT 1
  306. /* Define to 1 if you have the <openssl/crypto.h> header file. */
  307. #cmakedefine HAVE_OPENSSL_CRYPTO_H 1
  308. /* Define to 1 if you have the <openssl/err.h> header file. */
  309. #cmakedefine HAVE_OPENSSL_ERR_H 1
  310. /* Define to 1 if you have the <openssl/pem.h> header file. */
  311. #cmakedefine HAVE_OPENSSL_PEM_H 1
  312. /* Define to 1 if you have the <openssl/pkcs12.h> header file. */
  313. #cmakedefine HAVE_OPENSSL_PKCS12_H 1
  314. /* Define to 1 if you have the <openssl/rsa.h> header file. */
  315. #cmakedefine HAVE_OPENSSL_RSA_H 1
  316. /* Define to 1 if you have the <openssl/ssl.h> header file. */
  317. #cmakedefine HAVE_OPENSSL_SSL_H 1
  318. /* Define to 1 if you have the <openssl/x509.h> header file. */
  319. #cmakedefine HAVE_OPENSSL_X509_H 1
  320. /* Define to 1 if you have the <pem.h> header file. */
  321. #cmakedefine HAVE_PEM_H 1
  322. /* Define to 1 if you have the `pipe' function. */
  323. #cmakedefine HAVE_PIPE 1
  324. /* Define to 1 if you have a working poll function. */
  325. #cmakedefine HAVE_POLL 1
  326. /* If you have a fine poll */
  327. #cmakedefine HAVE_POLL_FINE 1
  328. /* Define to 1 if you have the <poll.h> header file. */
  329. #cmakedefine HAVE_POLL_H 1
  330. /* Define to 1 if you have a working POSIX-style strerror_r function. */
  331. #cmakedefine HAVE_POSIX_STRERROR_R 1
  332. /* Define to 1 if you have the <pthread.h> header file */
  333. #cmakedefine HAVE_PTHREAD_H 1
  334. /* Define to 1 if you have the <pwd.h> header file. */
  335. #cmakedefine HAVE_PWD_H 1
  336. /* Define to 1 if you have the `RAND_egd' function. */
  337. #cmakedefine HAVE_RAND_EGD 1
  338. /* Define to 1 if you have the `RAND_screen' function. */
  339. #cmakedefine HAVE_RAND_SCREEN 1
  340. /* Define to 1 if you have the `RAND_status' function. */
  341. #cmakedefine HAVE_RAND_STATUS 1
  342. /* Define to 1 if you have the recv function. */
  343. #cmakedefine HAVE_RECV 1
  344. /* Define to 1 if you have the recvfrom function. */
  345. #cmakedefine HAVE_RECVFROM 1
  346. /* Define to 1 if you have the select function. */
  347. #cmakedefine HAVE_SELECT 1
  348. /* Define to 1 if you have the send function. */
  349. #cmakedefine HAVE_SEND 1
  350. /* Define to 1 if you have the 'fsetxattr' function. */
  351. #cmakedefine HAVE_FSETXATTR 1
  352. /* fsetxattr() takes 5 args */
  353. #cmakedefine HAVE_FSETXATTR_5 1
  354. /* fsetxattr() takes 6 args */
  355. #cmakedefine HAVE_FSETXATTR_6 1
  356. /* Define to 1 if you have the <setjmp.h> header file. */
  357. #cmakedefine HAVE_SETJMP_H 1
  358. /* Define to 1 if you have the `setlocale' function. */
  359. #cmakedefine HAVE_SETLOCALE 1
  360. /* Define to 1 if you have the `setmode' function. */
  361. #cmakedefine HAVE_SETMODE 1
  362. /* Define to 1 if you have the `setrlimit' function. */
  363. #cmakedefine HAVE_SETRLIMIT 1
  364. /* Define to 1 if you have the setsockopt function. */
  365. #cmakedefine HAVE_SETSOCKOPT 1
  366. /* Define to 1 if you have a working setsockopt SO_NONBLOCK function. */
  367. #cmakedefine HAVE_SETSOCKOPT_SO_NONBLOCK 1
  368. /* Define to 1 if you have the sigaction function. */
  369. #cmakedefine HAVE_SIGACTION 1
  370. /* Define to 1 if you have the siginterrupt function. */
  371. #cmakedefine HAVE_SIGINTERRUPT 1
  372. /* Define to 1 if you have the signal function. */
  373. #cmakedefine HAVE_SIGNAL 1
  374. /* Define to 1 if you have the <signal.h> header file. */
  375. #cmakedefine HAVE_SIGNAL_H 1
  376. /* Define to 1 if you have the sigsetjmp function or macro. */
  377. #cmakedefine HAVE_SIGSETJMP 1
  378. /* Define to 1 if struct sockaddr_in6 has the sin6_scope_id member */
  379. #cmakedefine HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
  380. /* Define to 1 if you have the `socket' function. */
  381. #cmakedefine HAVE_SOCKET 1
  382. /* Define to 1 if you have the <ssl.h> header file. */
  383. #cmakedefine HAVE_SSL_H 1
  384. /* Define to 1 if you have the <stdbool.h> header file. */
  385. #cmakedefine HAVE_STDBOOL_H 1
  386. /* Define to 1 if you have the <stdint.h> header file. */
  387. #cmakedefine HAVE_STDINT_H 1
  388. /* Define to 1 if you have the <stdio.h> header file. */
  389. #cmakedefine HAVE_STDIO_H 1
  390. /* Define to 1 if you have the <stdlib.h> header file. */
  391. #cmakedefine HAVE_STDLIB_H 1
  392. /* Define to 1 if you have the strcasecmp function. */
  393. #cmakedefine HAVE_STRCASECMP 1
  394. /* Define to 1 if you have the strcasestr function. */
  395. #cmakedefine HAVE_STRCASESTR 1
  396. /* Define to 1 if you have the strcmpi function. */
  397. #cmakedefine HAVE_STRCMPI 1
  398. /* Define to 1 if you have the strdup function. */
  399. #cmakedefine HAVE_STRDUP 1
  400. /* Define to 1 if you have the strerror_r function. */
  401. #cmakedefine HAVE_STRERROR_R 1
  402. /* Define to 1 if you have the stricmp function. */
  403. #cmakedefine HAVE_STRICMP 1
  404. /* Define to 1 if you have the <strings.h> header file. */
  405. #cmakedefine HAVE_STRINGS_H 1
  406. /* Define to 1 if you have the <string.h> header file. */
  407. #cmakedefine HAVE_STRING_H 1
  408. /* Define to 1 if you have the strncmpi function. */
  409. #cmakedefine HAVE_STRNCMPI 1
  410. /* Define to 1 if you have the strnicmp function. */
  411. #cmakedefine HAVE_STRNICMP 1
  412. /* Define to 1 if you have the <stropts.h> header file. */
  413. #cmakedefine HAVE_STROPTS_H 1
  414. /* Define to 1 if you have the strstr function. */
  415. #cmakedefine HAVE_STRSTR 1
  416. /* Define to 1 if you have the strtok_r function. */
  417. #cmakedefine HAVE_STRTOK_R 1
  418. /* Define to 1 if you have the strtoll function. */
  419. #cmakedefine HAVE_STRTOLL 1
  420. /* if struct sockaddr_storage is defined */
  421. #cmakedefine HAVE_STRUCT_SOCKADDR_STORAGE 1
  422. /* Define to 1 if you have the timeval struct. */
  423. #cmakedefine HAVE_STRUCT_TIMEVAL 1
  424. /* Define to 1 if you have the <sys/filio.h> header file. */
  425. #cmakedefine HAVE_SYS_FILIO_H 1
  426. /* Define to 1 if you have the <sys/ioctl.h> header file. */
  427. #cmakedefine HAVE_SYS_IOCTL_H 1
  428. /* Define to 1 if you have the <sys/param.h> header file. */
  429. #cmakedefine HAVE_SYS_PARAM_H 1
  430. /* Define to 1 if you have the <sys/poll.h> header file. */
  431. #cmakedefine HAVE_SYS_POLL_H 1
  432. /* Define to 1 if you have the <sys/resource.h> header file. */
  433. #cmakedefine HAVE_SYS_RESOURCE_H 1
  434. /* Define to 1 if you have the <sys/select.h> header file. */
  435. #cmakedefine HAVE_SYS_SELECT_H 1
  436. /* Define to 1 if you have the <sys/socket.h> header file. */
  437. #cmakedefine HAVE_SYS_SOCKET_H 1
  438. /* Define to 1 if you have the <sys/sockio.h> header file. */
  439. #cmakedefine HAVE_SYS_SOCKIO_H 1
  440. /* Define to 1 if you have the <sys/stat.h> header file. */
  441. #cmakedefine HAVE_SYS_STAT_H 1
  442. /* Define to 1 if you have the <sys/time.h> header file. */
  443. #cmakedefine HAVE_SYS_TIME_H 1
  444. /* Define to 1 if you have the <sys/types.h> header file. */
  445. #cmakedefine HAVE_SYS_TYPES_H 1
  446. /* Define to 1 if you have the <sys/uio.h> header file. */
  447. #cmakedefine HAVE_SYS_UIO_H 1
  448. /* Define to 1 if you have the <sys/un.h> header file. */
  449. #cmakedefine HAVE_SYS_UN_H 1
  450. /* Define to 1 if you have the <sys/utime.h> header file. */
  451. #cmakedefine HAVE_SYS_UTIME_H 1
  452. /* Define to 1 if you have the <termios.h> header file. */
  453. #cmakedefine HAVE_TERMIOS_H 1
  454. /* Define to 1 if you have the <termio.h> header file. */
  455. #cmakedefine HAVE_TERMIO_H 1
  456. /* Define to 1 if you have the <time.h> header file. */
  457. #cmakedefine HAVE_TIME_H 1
  458. /* Define to 1 if you have the <tld.h> header file. */
  459. #cmakedefine HAVE_TLD_H 1
  460. /* Define to 1 if you have the `tld_strerror' function. */
  461. #cmakedefine HAVE_TLD_STRERROR 1
  462. /* Define to 1 if you have the `uname' function. */
  463. #cmakedefine HAVE_UNAME 1
  464. /* Define to 1 if you have the <unistd.h> header file. */
  465. #cmakedefine HAVE_UNISTD_H 1
  466. /* Define to 1 if you have the `utime' function. */
  467. #cmakedefine HAVE_UTIME 1
  468. /* Define to 1 if you have the `utimes' function. */
  469. #cmakedefine HAVE_UTIMES 1
  470. /* Define to 1 if you have the <utime.h> header file. */
  471. #cmakedefine HAVE_UTIME_H 1
  472. /* Define to 1 if compiler supports C99 variadic macro style. */
  473. #cmakedefine HAVE_VARIADIC_MACROS_C99 1
  474. /* Define to 1 if compiler supports old gcc variadic macro style. */
  475. #cmakedefine HAVE_VARIADIC_MACROS_GCC 1
  476. /* Define to 1 if you have the winber.h header file. */
  477. #cmakedefine HAVE_WINBER_H 1
  478. /* Define to 1 if you have the windows.h header file. */
  479. #cmakedefine HAVE_WINDOWS_H 1
  480. /* Define to 1 if you have the winldap.h header file. */
  481. #cmakedefine HAVE_WINLDAP_H 1
  482. /* Define to 1 if you have the winsock2.h header file. */
  483. #cmakedefine HAVE_WINSOCK2_H 1
  484. /* Define to 1 if you have the winsock.h header file. */
  485. #cmakedefine HAVE_WINSOCK_H 1
  486. /* Define this symbol if your OS supports changing the contents of argv */
  487. #cmakedefine HAVE_WRITABLE_ARGV 1
  488. /* Define to 1 if you have the writev function. */
  489. #cmakedefine HAVE_WRITEV 1
  490. /* Define to 1 if you have the ws2tcpip.h header file. */
  491. #cmakedefine HAVE_WS2TCPIP_H 1
  492. /* Define to 1 if you have the <x509.h> header file. */
  493. #cmakedefine HAVE_X509_H 1
  494. /* Define if you have the <process.h> header file. */
  495. #cmakedefine HAVE_PROCESS_H 1
  496. /* if you have the zlib.h header file */
  497. #cmakedefine HAVE_ZLIB_H 1
  498. /* Define to the sub-directory in which libtool stores uninstalled libraries.
  499. */
  500. #cmakedefine LT_OBJDIR ${LT_OBJDIR}
  501. /* If you lack a fine basename() prototype */
  502. #cmakedefine NEED_BASENAME_PROTO 1
  503. /* Define to 1 if you need the lber.h header file even with ldap.h */
  504. #cmakedefine NEED_LBER_H 1
  505. /* Define to 1 if you need the malloc.h header file even with stdlib.h */
  506. #cmakedefine NEED_MALLOC_H 1
  507. /* Define to 1 if _REENTRANT preprocessor symbol must be defined. */
  508. #cmakedefine NEED_REENTRANT 1
  509. /* cpu-machine-OS */
  510. #cmakedefine OS ${OS}
  511. /* Name of package */
  512. #cmakedefine PACKAGE ${PACKAGE}
  513. /* Define to the address where bug reports for this package should be sent. */
  514. #cmakedefine PACKAGE_BUGREPORT ${PACKAGE_BUGREPORT}
  515. /* Define to the full name of this package. */
  516. #cmakedefine PACKAGE_NAME ${PACKAGE_NAME}
  517. /* Define to the full name and version of this package. */
  518. #cmakedefine PACKAGE_STRING ${PACKAGE_STRING}
  519. /* Define to the one symbol short name of this package. */
  520. #cmakedefine PACKAGE_TARNAME ${PACKAGE_TARNAME}
  521. /* Define to the version of this package. */
  522. #cmakedefine PACKAGE_VERSION ${PACKAGE_VERSION}
  523. /* a suitable file to read random data from */
  524. #cmakedefine RANDOM_FILE "${RANDOM_FILE}"
  525. /* Define to the type of arg 1 for recvfrom. */
  526. #cmakedefine RECVFROM_TYPE_ARG1 ${RECVFROM_TYPE_ARG1}
  527. /* Define to the type pointed by arg 2 for recvfrom. */
  528. #cmakedefine RECVFROM_TYPE_ARG2 ${RECVFROM_TYPE_ARG2}
  529. /* Define to 1 if the type pointed by arg 2 for recvfrom is void. */
  530. #cmakedefine RECVFROM_TYPE_ARG2_IS_VOID 1
  531. /* Define to the type of arg 3 for recvfrom. */
  532. #cmakedefine RECVFROM_TYPE_ARG3 ${RECVFROM_TYPE_ARG3}
  533. /* Define to the type of arg 4 for recvfrom. */
  534. #cmakedefine RECVFROM_TYPE_ARG4 ${RECVFROM_TYPE_ARG4}
  535. /* Define to the type pointed by arg 5 for recvfrom. */
  536. #cmakedefine RECVFROM_TYPE_ARG5 ${RECVFROM_TYPE_ARG5}
  537. /* Define to 1 if the type pointed by arg 5 for recvfrom is void. */
  538. #cmakedefine RECVFROM_TYPE_ARG5_IS_VOID 1
  539. /* Define to the type pointed by arg 6 for recvfrom. */
  540. #cmakedefine RECVFROM_TYPE_ARG6 ${RECVFROM_TYPE_ARG6}
  541. /* Define to 1 if the type pointed by arg 6 for recvfrom is void. */
  542. #cmakedefine RECVFROM_TYPE_ARG6_IS_VOID 1
  543. /* Define to the function return type for recvfrom. */
  544. #cmakedefine RECVFROM_TYPE_RETV ${RECVFROM_TYPE_RETV}
  545. /* Define to the type of arg 1 for recv. */
  546. #cmakedefine RECV_TYPE_ARG1 ${RECV_TYPE_ARG1}
  547. /* Define to the type of arg 2 for recv. */
  548. #cmakedefine RECV_TYPE_ARG2 ${RECV_TYPE_ARG2}
  549. /* Define to the type of arg 3 for recv. */
  550. #cmakedefine RECV_TYPE_ARG3 ${RECV_TYPE_ARG3}
  551. /* Define to the type of arg 4 for recv. */
  552. #cmakedefine RECV_TYPE_ARG4 ${RECV_TYPE_ARG4}
  553. /* Define to the function return type for recv. */
  554. #cmakedefine RECV_TYPE_RETV ${RECV_TYPE_RETV}
  555. /* Define to the type qualifier of arg 5 for select. */
  556. #cmakedefine SELECT_QUAL_ARG5 ${SELECT_QUAL_ARG5}
  557. /* Define to the type of arg 1 for select. */
  558. #cmakedefine SELECT_TYPE_ARG1 ${SELECT_TYPE_ARG1}
  559. /* Define to the type of args 2, 3 and 4 for select. */
  560. #cmakedefine SELECT_TYPE_ARG234 ${SELECT_TYPE_ARG234}
  561. /* Define to the type of arg 5 for select. */
  562. #cmakedefine SELECT_TYPE_ARG5 ${SELECT_TYPE_ARG5}
  563. /* Define to the function return type for select. */
  564. #cmakedefine SELECT_TYPE_RETV ${SELECT_TYPE_RETV}
  565. /* Define to the type qualifier of arg 2 for send. */
  566. #cmakedefine SEND_QUAL_ARG2 ${SEND_QUAL_ARG2}
  567. /* Define to the type of arg 1 for send. */
  568. #cmakedefine SEND_TYPE_ARG1 ${SEND_TYPE_ARG1}
  569. /* Define to the type of arg 2 for send. */
  570. #cmakedefine SEND_TYPE_ARG2 ${SEND_TYPE_ARG2}
  571. /* Define to the type of arg 3 for send. */
  572. #cmakedefine SEND_TYPE_ARG3 ${SEND_TYPE_ARG3}
  573. /* Define to the type of arg 4 for send. */
  574. #cmakedefine SEND_TYPE_ARG4 ${SEND_TYPE_ARG4}
  575. /* Define to the function return type for send. */
  576. #cmakedefine SEND_TYPE_RETV ${SEND_TYPE_RETV}
  577. /*
  578. Note: SIZEOF_* variables are fetched with CMake through check_type_size().
  579. As per CMake documentation on CheckTypeSize, C preprocessor code is
  580. generated by CMake into SIZEOF_*_CODE. This is what we use in the
  581. following statements.
  582. Reference: https://cmake.org/cmake/help/latest/module/CheckTypeSize.html
  583. */
  584. /* The size of `int', as computed by sizeof. */
  585. ${SIZEOF_INT_CODE}
  586. /* The size of `short', as computed by sizeof. */
  587. ${SIZEOF_SHORT_CODE}
  588. /* The size of `long', as computed by sizeof. */
  589. ${SIZEOF_LONG_CODE}
  590. /* The size of `off_t', as computed by sizeof. */
  591. ${SIZEOF_OFF_T_CODE}
  592. /* The size of `curl_off_t', as computed by sizeof. */
  593. ${SIZEOF_CURL_OFF_T_CODE}
  594. /* The size of `size_t', as computed by sizeof. */
  595. ${SIZEOF_SIZE_T_CODE}
  596. /* The size of `time_t', as computed by sizeof. */
  597. ${SIZEOF_TIME_T_CODE}
  598. /* Define to 1 if you have the ANSI C header files. */
  599. #cmakedefine STDC_HEADERS 1
  600. /* Define to the type of arg 3 for strerror_r. */
  601. #cmakedefine STRERROR_R_TYPE_ARG3 ${STRERROR_R_TYPE_ARG3}
  602. /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
  603. #cmakedefine TIME_WITH_SYS_TIME 1
  604. /* Define if you want to enable c-ares support */
  605. #cmakedefine USE_ARES 1
  606. /* Define if you want to enable POSIX threaded DNS lookup */
  607. #cmakedefine USE_THREADS_POSIX 1
  608. /* Define if you want to enable WIN32 threaded DNS lookup */
  609. #cmakedefine USE_THREADS_WIN32 1
  610. /* if GnuTLS is enabled */
  611. #cmakedefine USE_GNUTLS 1
  612. /* if Secure Transport is enabled */
  613. #cmakedefine USE_SECTRANSP 1
  614. /* if mbedTLS is enabled */
  615. #cmakedefine USE_MBEDTLS 1
  616. /* if BearSSL is enabled */
  617. #cmakedefine USE_BEARSSL 1
  618. /* if WolfSSL is enabled */
  619. #cmakedefine USE_WOLFSSL 1
  620. /* if libSSH is in use */
  621. #cmakedefine USE_LIBSSH 1
  622. /* if libSSH2 is in use */
  623. #cmakedefine USE_LIBSSH2 1
  624. /* If you want to build curl with the built-in manual */
  625. #cmakedefine USE_MANUAL 1
  626. /* if NSS is enabled */
  627. #cmakedefine USE_NSS 1
  628. /* if you have the PK11_CreateManagedGenericObject function */
  629. #cmakedefine HAVE_PK11_CREATEMANAGEDGENERICOBJECT 1
  630. /* if you want to use OpenLDAP code instead of legacy ldap implementation */
  631. #cmakedefine USE_OPENLDAP 1
  632. /* if OpenSSL is in use */
  633. #cmakedefine USE_OPENSSL 1
  634. /* Define to 1 if you don't want the OpenSSL configuration to be loaded
  635. automatically */
  636. #cmakedefine CURL_DISABLE_OPENSSL_AUTO_LOAD_CONFIG 1
  637. /* to enable NGHTTP2 */
  638. #cmakedefine USE_NGHTTP2 1
  639. /* to enable NGTCP2 */
  640. #cmakedefine USE_NGTCP2 1
  641. /* to enable NGHTTP3 */
  642. #cmakedefine USE_NGHTTP3 1
  643. /* to enable quiche */
  644. #cmakedefine USE_QUICHE 1
  645. /* Define to 1 if you have the quiche_conn_set_qlog_fd function. */
  646. #cmakedefine HAVE_QUICHE_CONN_SET_QLOG_FD 1
  647. /* if Unix domain sockets are enabled */
  648. #cmakedefine USE_UNIX_SOCKETS
  649. /* Define to 1 if you are building a Windows target with large file support. */
  650. #cmakedefine USE_WIN32_LARGE_FILES 1
  651. /* to enable SSPI support */
  652. #cmakedefine USE_WINDOWS_SSPI 1
  653. /* to enable Windows SSL */
  654. #cmakedefine USE_SCHANNEL 1
  655. /* enable multiple SSL backends */
  656. #cmakedefine CURL_WITH_MULTI_SSL 1
  657. /* Define to 1 if using yaSSL in OpenSSL compatibility mode. */
  658. #cmakedefine USE_YASSLEMUL 1
  659. /* Version number of package */
  660. #cmakedefine VERSION ${VERSION}
  661. /* Define to 1 if OS is AIX. */
  662. #ifndef _ALL_SOURCE
  663. # undef _ALL_SOURCE
  664. #endif
  665. /* Number of bits in a file offset, on hosts where this is settable. */
  666. #cmakedefine _FILE_OFFSET_BITS ${_FILE_OFFSET_BITS}
  667. /* Define for large files, on AIX-style hosts. */
  668. #cmakedefine _LARGE_FILES ${_LARGE_FILES}
  669. /* define this if you need it to compile thread-safe code */
  670. #cmakedefine _THREAD_SAFE ${_THREAD_SAFE}
  671. /* Define to empty if `const' does not conform to ANSI C. */
  672. #cmakedefine const ${const}
  673. /* Type to use in place of in_addr_t when system does not provide it. */
  674. #cmakedefine in_addr_t ${in_addr_t}
  675. /* Define to `__inline__' or `__inline' if that's what the C compiler
  676. calls it, or to nothing if 'inline' is not supported under any name. */
  677. #ifndef __cplusplus
  678. #undef inline
  679. #endif
  680. /* Define to `unsigned int' if <sys/types.h> does not define. */
  681. #cmakedefine size_t ${size_t}
  682. /* the signed version of size_t */
  683. #cmakedefine ssize_t ${ssize_t}
  684. /* Define to 1 if you have the mach_absolute_time function. */
  685. #cmakedefine HAVE_MACH_ABSOLUTE_TIME 1
  686. /* to enable Windows IDN */
  687. #cmakedefine USE_WIN32_IDN 1
  688. /* to make the compiler know the prototypes of Windows IDN APIs */
  689. #cmakedefine WANT_IDN_PROTOTYPES 1