curl_config.h.cmake 31 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071
  1. /***************************************************************************
  2. * _ _ ____ _
  3. * Project ___| | | | _ \| |
  4. * / __| | | | |_) | |
  5. * | (__| |_| | _ <| |___
  6. * \___|\___/|_| \_\_____|
  7. *
  8. * Copyright (C) 1998 - 2020, 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.haxx.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. /* to disable cookies support */
  32. #cmakedefine CURL_DISABLE_COOKIES 1
  33. /* to disable cryptographic authentication */
  34. #cmakedefine CURL_DISABLE_CRYPTO_AUTH 1
  35. /* to disable DICT */
  36. #cmakedefine CURL_DISABLE_DICT 1
  37. /* to disable FILE */
  38. #cmakedefine CURL_DISABLE_FILE 1
  39. /* to disable FTP */
  40. #cmakedefine CURL_DISABLE_FTP 1
  41. /* to disable GOPHER */
  42. #cmakedefine CURL_DISABLE_GOPHER 1
  43. /* to disable IMAP */
  44. #cmakedefine CURL_DISABLE_IMAP 1
  45. /* to disable HTTP */
  46. #cmakedefine CURL_DISABLE_HTTP 1
  47. /* to disable LDAP */
  48. #cmakedefine CURL_DISABLE_LDAP 1
  49. /* to disable LDAPS */
  50. #cmakedefine CURL_DISABLE_LDAPS 1
  51. /* to enable MQTT */
  52. #undef CURL_ENABLE_MQTT
  53. /* to disable POP3 */
  54. #cmakedefine CURL_DISABLE_POP3 1
  55. /* to disable proxies */
  56. #cmakedefine CURL_DISABLE_PROXY 1
  57. /* to disable RTSP */
  58. #cmakedefine CURL_DISABLE_RTSP 1
  59. /* to disable SMB */
  60. #cmakedefine CURL_DISABLE_SMB 1
  61. /* to disable SMTP */
  62. #cmakedefine CURL_DISABLE_SMTP 1
  63. /* to disable TELNET */
  64. #cmakedefine CURL_DISABLE_TELNET 1
  65. /* to disable TFTP */
  66. #cmakedefine CURL_DISABLE_TFTP 1
  67. /* to disable verbose strings */
  68. #cmakedefine CURL_DISABLE_VERBOSE_STRINGS 1
  69. /* to make a symbol visible */
  70. #cmakedefine CURL_EXTERN_SYMBOL ${CURL_EXTERN_SYMBOL}
  71. /* Ensure using CURL_EXTERN_SYMBOL is possible */
  72. #ifndef CURL_EXTERN_SYMBOL
  73. #define CURL_EXTERN_SYMBOL
  74. #endif
  75. /* Allow SMB to work on Windows */
  76. #cmakedefine USE_WIN32_CRYPTO
  77. /* Use Windows LDAP implementation */
  78. #cmakedefine USE_WIN32_LDAP 1
  79. /* when not building a shared library */
  80. #cmakedefine CURL_STATICLIB 1
  81. /* your Entropy Gathering Daemon socket pathname */
  82. #cmakedefine EGD_SOCKET ${EGD_SOCKET}
  83. /* Define if you want to enable IPv6 support */
  84. #cmakedefine ENABLE_IPV6 1
  85. /* Define to the type qualifier of arg 1 for getnameinfo. */
  86. #cmakedefine GETNAMEINFO_QUAL_ARG1 ${GETNAMEINFO_QUAL_ARG1}
  87. /* Define to the type of arg 1 for getnameinfo. */
  88. #cmakedefine GETNAMEINFO_TYPE_ARG1 ${GETNAMEINFO_TYPE_ARG1}
  89. /* Define to the type of arg 2 for getnameinfo. */
  90. #cmakedefine GETNAMEINFO_TYPE_ARG2 ${GETNAMEINFO_TYPE_ARG2}
  91. /* Define to the type of args 4 and 6 for getnameinfo. */
  92. #cmakedefine GETNAMEINFO_TYPE_ARG46 ${GETNAMEINFO_TYPE_ARG46}
  93. /* Define to the type of arg 7 for getnameinfo. */
  94. #cmakedefine GETNAMEINFO_TYPE_ARG7 ${GETNAMEINFO_TYPE_ARG7}
  95. /* Specifies the number of arguments to getservbyport_r */
  96. #cmakedefine GETSERVBYPORT_R_ARGS ${GETSERVBYPORT_R_ARGS}
  97. /* Specifies the size of the buffer to pass to getservbyport_r */
  98. #cmakedefine GETSERVBYPORT_R_BUFSIZE ${GETSERVBYPORT_R_BUFSIZE}
  99. /* Define to 1 if you have the alarm function. */
  100. #cmakedefine HAVE_ALARM 1
  101. /* Define to 1 if you have the <alloca.h> header file. */
  102. #cmakedefine HAVE_ALLOCA_H 1
  103. /* Define to 1 if you have the <arpa/inet.h> header file. */
  104. #cmakedefine HAVE_ARPA_INET_H 1
  105. /* Define to 1 if you have the <arpa/tftp.h> header file. */
  106. #cmakedefine HAVE_ARPA_TFTP_H 1
  107. /* Define to 1 if you have the <assert.h> header file. */
  108. #cmakedefine HAVE_ASSERT_H 1
  109. /* Define to 1 if you have the `basename' function. */
  110. #cmakedefine HAVE_BASENAME 1
  111. /* Define to 1 if bool is an available type. */
  112. #cmakedefine HAVE_BOOL_T 1
  113. /* Define to 1 if you have the __builtin_available function. */
  114. #cmakedefine HAVE_BUILTIN_AVAILABLE 1
  115. /* Define to 1 if you have the clock_gettime function and monotonic timer. */
  116. #cmakedefine HAVE_CLOCK_GETTIME_MONOTONIC 1
  117. /* Define to 1 if you have the `closesocket' function. */
  118. #cmakedefine HAVE_CLOSESOCKET 1
  119. /* Define to 1 if you have the `CRYPTO_cleanup_all_ex_data' function. */
  120. #cmakedefine HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
  121. /* Define to 1 if you have the <crypto.h> header file. */
  122. #cmakedefine HAVE_CRYPTO_H 1
  123. /* Define to 1 if you have the <dlfcn.h> header file. */
  124. #cmakedefine HAVE_DLFCN_H 1
  125. /* Define to 1 if you have the <errno.h> header file. */
  126. #cmakedefine HAVE_ERRNO_H 1
  127. /* Define to 1 if you have the <err.h> header file. */
  128. #cmakedefine HAVE_ERR_H 1
  129. /* Define to 1 if you have the fcntl function. */
  130. #cmakedefine HAVE_FCNTL 1
  131. /* Define to 1 if you have the <fcntl.h> header file. */
  132. #cmakedefine HAVE_FCNTL_H 1
  133. /* Define to 1 if you have a working fcntl O_NONBLOCK function. */
  134. #cmakedefine HAVE_FCNTL_O_NONBLOCK 1
  135. /* Define to 1 if you have the fdopen function. */
  136. #cmakedefine HAVE_FDOPEN 1
  137. /* Define to 1 if you have the `fork' function. */
  138. #cmakedefine HAVE_FORK 1
  139. /* Define to 1 if you have the freeaddrinfo function. */
  140. #cmakedefine HAVE_FREEADDRINFO 1
  141. /* Define to 1 if you have the freeifaddrs function. */
  142. #cmakedefine HAVE_FREEIFADDRS 1
  143. /* Define to 1 if you have the ftruncate function. */
  144. #cmakedefine HAVE_FTRUNCATE 1
  145. /* Define to 1 if you have a working getaddrinfo function. */
  146. #cmakedefine HAVE_GETADDRINFO 1
  147. /* Define to 1 if you have the `geteuid' function. */
  148. #cmakedefine HAVE_GETEUID 1
  149. /* Define to 1 if you have the gethostbyaddr function. */
  150. #cmakedefine HAVE_GETHOSTBYADDR 1
  151. /* Define to 1 if you have the gethostbyaddr_r function. */
  152. #cmakedefine HAVE_GETHOSTBYADDR_R 1
  153. /* gethostbyaddr_r() takes 5 args */
  154. #cmakedefine HAVE_GETHOSTBYADDR_R_5 1
  155. /* gethostbyaddr_r() takes 7 args */
  156. #cmakedefine HAVE_GETHOSTBYADDR_R_7 1
  157. /* gethostbyaddr_r() takes 8 args */
  158. #cmakedefine HAVE_GETHOSTBYADDR_R_8 1
  159. /* Define to 1 if you have the gethostbyname function. */
  160. #cmakedefine HAVE_GETHOSTBYNAME 1
  161. /* Define to 1 if you have the gethostbyname_r function. */
  162. #cmakedefine HAVE_GETHOSTBYNAME_R 1
  163. /* gethostbyname_r() takes 3 args */
  164. #cmakedefine HAVE_GETHOSTBYNAME_R_3 1
  165. /* gethostbyname_r() takes 5 args */
  166. #cmakedefine HAVE_GETHOSTBYNAME_R_5 1
  167. /* gethostbyname_r() takes 6 args */
  168. #cmakedefine HAVE_GETHOSTBYNAME_R_6 1
  169. /* Define to 1 if you have the gethostname function. */
  170. #cmakedefine HAVE_GETHOSTNAME 1
  171. /* Define to 1 if you have a working getifaddrs function. */
  172. #cmakedefine HAVE_GETIFADDRS 1
  173. /* Define to 1 if you have the getnameinfo function. */
  174. #cmakedefine HAVE_GETNAMEINFO 1
  175. /* Define to 1 if you have the `getpass_r' function. */
  176. #cmakedefine HAVE_GETPASS_R 1
  177. /* Define to 1 if you have the `getppid' function. */
  178. #cmakedefine HAVE_GETPPID 1
  179. /* Define to 1 if you have the `getprotobyname' function. */
  180. #cmakedefine HAVE_GETPROTOBYNAME 1
  181. /* Define to 1 if you have the `getpeername' function. */
  182. #cmakedefine HAVE_GETPEERNAME 1
  183. /* Define to 1 if you have the `getsockname' function. */
  184. #cmakedefine HAVE_GETSOCKNAME 1
  185. /* Define to 1 if you have the `if_nametoindex' function. */
  186. #cmakedefine HAVE_IF_NAMETOINDEX 1
  187. /* Define to 1 if you have the `getpwuid' function. */
  188. #cmakedefine HAVE_GETPWUID 1
  189. /* Define to 1 if you have the `getpwuid_r' function. */
  190. #cmakedefine HAVE_GETPWUID_R 1
  191. /* Define to 1 if you have the `getrlimit' function. */
  192. #cmakedefine HAVE_GETRLIMIT 1
  193. /* Define to 1 if you have the getservbyport_r function. */
  194. #cmakedefine HAVE_GETSERVBYPORT_R 1
  195. /* Define to 1 if you have the `gettimeofday' function. */
  196. #cmakedefine HAVE_GETTIMEOFDAY 1
  197. /* Define to 1 if you have a working glibc-style strerror_r function. */
  198. #cmakedefine HAVE_GLIBC_STRERROR_R 1
  199. /* Define to 1 if you have a working gmtime_r function. */
  200. #cmakedefine HAVE_GMTIME_R 1
  201. /* if you have the gssapi libraries */
  202. #cmakedefine HAVE_GSSAPI 1
  203. /* Define to 1 if you have the <gssapi/gssapi_generic.h> header file. */
  204. #cmakedefine HAVE_GSSAPI_GSSAPI_GENERIC_H 1
  205. /* Define to 1 if you have the <gssapi/gssapi.h> header file. */
  206. #cmakedefine HAVE_GSSAPI_GSSAPI_H 1
  207. /* Define to 1 if you have the <gssapi/gssapi_krb5.h> header file. */
  208. #cmakedefine HAVE_GSSAPI_GSSAPI_KRB5_H 1
  209. /* if you have the GNU gssapi libraries */
  210. #cmakedefine HAVE_GSSGNU 1
  211. /* if you have the Heimdal gssapi libraries */
  212. #cmakedefine HAVE_GSSHEIMDAL 1
  213. /* if you have the MIT gssapi libraries */
  214. #cmakedefine HAVE_GSSMIT 1
  215. /* Define to 1 if you have the `idna_strerror' function. */
  216. #cmakedefine HAVE_IDNA_STRERROR 1
  217. /* Define to 1 if you have the `idn_free' function. */
  218. #cmakedefine HAVE_IDN_FREE 1
  219. /* Define to 1 if you have the <idn-free.h> header file. */
  220. #cmakedefine HAVE_IDN_FREE_H 1
  221. /* Define to 1 if you have the <ifaddrs.h> header file. */
  222. #cmakedefine HAVE_IFADDRS_H 1
  223. /* Define to 1 if you have the `inet_addr' function. */
  224. #cmakedefine HAVE_INET_ADDR 1
  225. /* Define to 1 if you have the inet_ntoa_r function. */
  226. #cmakedefine HAVE_INET_NTOA_R 1
  227. /* inet_ntoa_r() takes 2 args */
  228. #cmakedefine HAVE_INET_NTOA_R_2 1
  229. /* inet_ntoa_r() takes 3 args */
  230. #cmakedefine HAVE_INET_NTOA_R_3 1
  231. /* Define to 1 if you have a IPv6 capable working inet_ntop function. */
  232. #cmakedefine HAVE_INET_NTOP 1
  233. /* Define to 1 if you have a IPv6 capable working inet_pton function. */
  234. #cmakedefine HAVE_INET_PTON 1
  235. /* Define to 1 if you have the <inttypes.h> header file. */
  236. #cmakedefine HAVE_INTTYPES_H 1
  237. /* Define to 1 if you have the ioctl function. */
  238. #cmakedefine HAVE_IOCTL 1
  239. /* Define to 1 if you have the ioctlsocket function. */
  240. #cmakedefine HAVE_IOCTLSOCKET 1
  241. /* Define to 1 if you have the IoctlSocket camel case function. */
  242. #cmakedefine HAVE_IOCTLSOCKET_CAMEL 1
  243. /* Define to 1 if you have a working IoctlSocket camel case FIONBIO function.
  244. */
  245. #cmakedefine HAVE_IOCTLSOCKET_CAMEL_FIONBIO 1
  246. /* Define to 1 if you have a working ioctlsocket FIONBIO function. */
  247. #cmakedefine HAVE_IOCTLSOCKET_FIONBIO 1
  248. /* Define to 1 if you have a working ioctl FIONBIO function. */
  249. #cmakedefine HAVE_IOCTL_FIONBIO 1
  250. /* Define to 1 if you have a working ioctl SIOCGIFADDR function. */
  251. #cmakedefine HAVE_IOCTL_SIOCGIFADDR 1
  252. /* Define to 1 if you have the <io.h> header file. */
  253. #cmakedefine HAVE_IO_H 1
  254. /* if you have the Kerberos4 libraries (including -ldes) */
  255. #cmakedefine HAVE_KRB4 1
  256. /* Define to 1 if you have the `krb_get_our_ip_for_realm' function. */
  257. #cmakedefine HAVE_KRB_GET_OUR_IP_FOR_REALM 1
  258. /* Define to 1 if you have the <krb.h> header file. */
  259. #cmakedefine HAVE_KRB_H 1
  260. /* Define to 1 if you have the lber.h header file. */
  261. #cmakedefine HAVE_LBER_H 1
  262. /* Define to 1 if you have the ldapssl.h header file. */
  263. #cmakedefine HAVE_LDAPSSL_H 1
  264. /* Define to 1 if you have the ldap.h header file. */
  265. #cmakedefine HAVE_LDAP_H 1
  266. /* Use LDAPS implementation */
  267. #cmakedefine HAVE_LDAP_SSL 1
  268. /* Define to 1 if you have the ldap_ssl.h header file. */
  269. #cmakedefine HAVE_LDAP_SSL_H 1
  270. /* Define to 1 if you have the `ldap_url_parse' function. */
  271. #cmakedefine HAVE_LDAP_URL_PARSE 1
  272. /* Define to 1 if you have the <libgen.h> header file. */
  273. #cmakedefine HAVE_LIBGEN_H 1
  274. /* Define to 1 if you have the `idn' library (-lidn). */
  275. #cmakedefine HAVE_LIBIDN 1
  276. /* Define to 1 if you have the `resolv' library (-lresolv). */
  277. #cmakedefine HAVE_LIBRESOLV 1
  278. /* Define to 1 if you have the `resolve' library (-lresolve). */
  279. #cmakedefine HAVE_LIBRESOLVE 1
  280. /* Define to 1 if you have the `socket' library (-lsocket). */
  281. #cmakedefine HAVE_LIBSOCKET 1
  282. /* Define to 1 if you have the `ssh2' library (-lssh2). */
  283. #cmakedefine HAVE_LIBSSH2 1
  284. /* Define to 1 if libssh2 provides `libssh2_version'. */
  285. #cmakedefine HAVE_LIBSSH2_VERSION 1
  286. /* Define to 1 if libssh2 provides `libssh2_init'. */
  287. #cmakedefine HAVE_LIBSSH2_INIT 1
  288. /* Define to 1 if libssh2 provides `libssh2_exit'. */
  289. #cmakedefine HAVE_LIBSSH2_EXIT 1
  290. /* Define to 1 if libssh2 provides `libssh2_scp_send64'. */
  291. #cmakedefine HAVE_LIBSSH2_SCP_SEND64 1
  292. /* Define to 1 if libssh2 provides `libssh2_session_handshake'. */
  293. #cmakedefine HAVE_LIBSSH2_SESSION_HANDSHAKE 1
  294. /* Define to 1 if you have the <libssh2.h> header file. */
  295. #cmakedefine HAVE_LIBSSH2_H 1
  296. /* Define to 1 if you have the <libssh/libssh.h> header file. */
  297. #cmakedefine HAVE_LIBSSH_LIBSSH_H 1
  298. /* if zlib is available */
  299. #cmakedefine HAVE_LIBZ 1
  300. /* if brotli is available */
  301. #cmakedefine HAVE_BROTLI 1
  302. /* if zstd is available */
  303. #cmakedefine HAVE_ZSTD 1
  304. /* if your compiler supports LL */
  305. #cmakedefine HAVE_LL 1
  306. /* Define to 1 if you have the <locale.h> header file. */
  307. #cmakedefine HAVE_LOCALE_H 1
  308. /* Define to 1 if you have a working localtime_r function. */
  309. #cmakedefine HAVE_LOCALTIME_R 1
  310. /* Define to 1 if the compiler supports the 'long long' data type. */
  311. #cmakedefine HAVE_LONGLONG 1
  312. /* Define to 1 if you have the malloc.h header file. */
  313. #cmakedefine HAVE_MALLOC_H 1
  314. /* Define to 1 if you have the <memory.h> header file. */
  315. #cmakedefine HAVE_MEMORY_H 1
  316. /* Define to 1 if you have the MSG_NOSIGNAL flag. */
  317. #cmakedefine HAVE_MSG_NOSIGNAL 1
  318. /* Define to 1 if you have the <netdb.h> header file. */
  319. #cmakedefine HAVE_NETDB_H 1
  320. /* Define to 1 if you have the <netinet/in.h> header file. */
  321. #cmakedefine HAVE_NETINET_IN_H 1
  322. /* Define to 1 if you have the <netinet/tcp.h> header file. */
  323. #cmakedefine HAVE_NETINET_TCP_H 1
  324. /* Define to 1 if you have the <net/if.h> header file. */
  325. #cmakedefine HAVE_NET_IF_H 1
  326. /* Define to 1 if NI_WITHSCOPEID exists and works. */
  327. #cmakedefine HAVE_NI_WITHSCOPEID 1
  328. /* if you have an old MIT gssapi library, lacking GSS_C_NT_HOSTBASED_SERVICE */
  329. #cmakedefine HAVE_OLD_GSSMIT 1
  330. /* Define to 1 if you have the <openssl/crypto.h> header file. */
  331. #cmakedefine HAVE_OPENSSL_CRYPTO_H 1
  332. /* Define to 1 if you have the <openssl/err.h> header file. */
  333. #cmakedefine HAVE_OPENSSL_ERR_H 1
  334. /* Define to 1 if you have the <openssl/pem.h> header file. */
  335. #cmakedefine HAVE_OPENSSL_PEM_H 1
  336. /* Define to 1 if you have the <openssl/pkcs12.h> header file. */
  337. #cmakedefine HAVE_OPENSSL_PKCS12_H 1
  338. /* Define to 1 if you have the <openssl/rsa.h> header file. */
  339. #cmakedefine HAVE_OPENSSL_RSA_H 1
  340. /* Define to 1 if you have the <openssl/ssl.h> header file. */
  341. #cmakedefine HAVE_OPENSSL_SSL_H 1
  342. /* Define to 1 if you have the <openssl/x509.h> header file. */
  343. #cmakedefine HAVE_OPENSSL_X509_H 1
  344. /* Define to 1 if you have the <pem.h> header file. */
  345. #cmakedefine HAVE_PEM_H 1
  346. /* Define to 1 if you have the `perror' function. */
  347. #cmakedefine HAVE_PERROR 1
  348. /* Define to 1 if you have the `pipe' function. */
  349. #cmakedefine HAVE_PIPE 1
  350. /* Define to 1 if you have a working poll function. */
  351. #cmakedefine HAVE_POLL 1
  352. /* If you have a fine poll */
  353. #cmakedefine HAVE_POLL_FINE 1
  354. /* Define to 1 if you have the <poll.h> header file. */
  355. #cmakedefine HAVE_POLL_H 1
  356. /* Define to 1 if you have a working POSIX-style strerror_r function. */
  357. #cmakedefine HAVE_POSIX_STRERROR_R 1
  358. /* Define to 1 if you have the <pthread.h> header file */
  359. #cmakedefine HAVE_PTHREAD_H 1
  360. /* Define to 1 if you have the <pwd.h> header file. */
  361. #cmakedefine HAVE_PWD_H 1
  362. /* Define to 1 if you have the `RAND_egd' function. */
  363. #cmakedefine HAVE_RAND_EGD 1
  364. /* Define to 1 if you have the `RAND_screen' function. */
  365. #cmakedefine HAVE_RAND_SCREEN 1
  366. /* Define to 1 if you have the `RAND_status' function. */
  367. #cmakedefine HAVE_RAND_STATUS 1
  368. /* Define to 1 if you have the recv function. */
  369. #cmakedefine HAVE_RECV 1
  370. /* Define to 1 if you have the recvfrom function. */
  371. #cmakedefine HAVE_RECVFROM 1
  372. /* Define to 1 if you have the <rsa.h> header file. */
  373. #cmakedefine HAVE_RSA_H 1
  374. /* Define to 1 if you have the select function. */
  375. #cmakedefine HAVE_SELECT 1
  376. /* Define to 1 if you have the send function. */
  377. #cmakedefine HAVE_SEND 1
  378. /* Define to 1 if you have the 'fsetxattr' function. */
  379. #cmakedefine HAVE_FSETXATTR 1
  380. /* fsetxattr() takes 5 args */
  381. #cmakedefine HAVE_FSETXATTR_5 1
  382. /* fsetxattr() takes 6 args */
  383. #cmakedefine HAVE_FSETXATTR_6 1
  384. /* Define to 1 if you have the <setjmp.h> header file. */
  385. #cmakedefine HAVE_SETJMP_H 1
  386. /* Define to 1 if you have the `setlocale' function. */
  387. #cmakedefine HAVE_SETLOCALE 1
  388. /* Define to 1 if you have the `setmode' function. */
  389. #cmakedefine HAVE_SETMODE 1
  390. /* Define to 1 if you have the `setrlimit' function. */
  391. #cmakedefine HAVE_SETRLIMIT 1
  392. /* Define to 1 if you have the setsockopt function. */
  393. #cmakedefine HAVE_SETSOCKOPT 1
  394. /* Define to 1 if you have a working setsockopt SO_NONBLOCK function. */
  395. #cmakedefine HAVE_SETSOCKOPT_SO_NONBLOCK 1
  396. /* Define to 1 if you have the <sgtty.h> header file. */
  397. #cmakedefine HAVE_SGTTY_H 1
  398. /* Define to 1 if you have the sigaction function. */
  399. #cmakedefine HAVE_SIGACTION 1
  400. /* Define to 1 if you have the siginterrupt function. */
  401. #cmakedefine HAVE_SIGINTERRUPT 1
  402. /* Define to 1 if you have the signal function. */
  403. #cmakedefine HAVE_SIGNAL 1
  404. /* Define to 1 if you have the <signal.h> header file. */
  405. #cmakedefine HAVE_SIGNAL_H 1
  406. /* Define to 1 if you have the sigsetjmp function or macro. */
  407. #cmakedefine HAVE_SIGSETJMP 1
  408. /* Define to 1 if sig_atomic_t is an available typedef. */
  409. #cmakedefine HAVE_SIG_ATOMIC_T 1
  410. /* Define to 1 if sig_atomic_t is already defined as volatile. */
  411. #cmakedefine HAVE_SIG_ATOMIC_T_VOLATILE 1
  412. /* Define to 1 if struct sockaddr_in6 has the sin6_scope_id member */
  413. #cmakedefine HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
  414. /* Define to 1 if you have the `socket' function. */
  415. #cmakedefine HAVE_SOCKET 1
  416. /* Define to 1 if you have the <ssl.h> header file. */
  417. #cmakedefine HAVE_SSL_H 1
  418. /* Define to 1 if you have the <stdbool.h> header file. */
  419. #cmakedefine HAVE_STDBOOL_H 1
  420. /* Define to 1 if you have the <stdint.h> header file. */
  421. #cmakedefine HAVE_STDINT_H 1
  422. /* Define to 1 if you have the <stdio.h> header file. */
  423. #cmakedefine HAVE_STDIO_H 1
  424. /* Define to 1 if you have the <stdlib.h> header file. */
  425. #cmakedefine HAVE_STDLIB_H 1
  426. /* Define to 1 if you have the strcasecmp function. */
  427. #cmakedefine HAVE_STRCASECMP 1
  428. /* Define to 1 if you have the strcasestr function. */
  429. #cmakedefine HAVE_STRCASESTR 1
  430. /* Define to 1 if you have the strcmpi function. */
  431. #cmakedefine HAVE_STRCMPI 1
  432. /* Define to 1 if you have the strdup function. */
  433. #cmakedefine HAVE_STRDUP 1
  434. /* Define to 1 if you have the strerror_r function. */
  435. #cmakedefine HAVE_STRERROR_R 1
  436. /* Define to 1 if you have the stricmp function. */
  437. #cmakedefine HAVE_STRICMP 1
  438. /* Define to 1 if you have the <strings.h> header file. */
  439. #cmakedefine HAVE_STRINGS_H 1
  440. /* Define to 1 if you have the <string.h> header file. */
  441. #cmakedefine HAVE_STRING_H 1
  442. /* Define to 1 if you have the strlcat function. */
  443. #cmakedefine HAVE_STRLCAT 1
  444. /* Define to 1 if you have the `strlcpy' function. */
  445. #cmakedefine HAVE_STRLCPY 1
  446. /* Define to 1 if you have the strncasecmp function. */
  447. #cmakedefine HAVE_STRNCASECMP 1
  448. /* Define to 1 if you have the strncmpi function. */
  449. #cmakedefine HAVE_STRNCMPI 1
  450. /* Define to 1 if you have the strnicmp function. */
  451. #cmakedefine HAVE_STRNICMP 1
  452. /* Define to 1 if you have the <stropts.h> header file. */
  453. #cmakedefine HAVE_STROPTS_H 1
  454. /* Define to 1 if you have the strstr function. */
  455. #cmakedefine HAVE_STRSTR 1
  456. /* Define to 1 if you have the strtok_r function. */
  457. #cmakedefine HAVE_STRTOK_R 1
  458. /* Define to 1 if you have the strtoll function. */
  459. #cmakedefine HAVE_STRTOLL 1
  460. /* if struct sockaddr_storage is defined */
  461. #cmakedefine HAVE_STRUCT_SOCKADDR_STORAGE 1
  462. /* Define to 1 if you have the timeval struct. */
  463. #cmakedefine HAVE_STRUCT_TIMEVAL 1
  464. /* Define to 1 if you have the <sys/filio.h> header file. */
  465. #cmakedefine HAVE_SYS_FILIO_H 1
  466. /* Define to 1 if you have the <sys/ioctl.h> header file. */
  467. #cmakedefine HAVE_SYS_IOCTL_H 1
  468. /* Define to 1 if you have the <sys/param.h> header file. */
  469. #cmakedefine HAVE_SYS_PARAM_H 1
  470. /* Define to 1 if you have the <sys/poll.h> header file. */
  471. #cmakedefine HAVE_SYS_POLL_H 1
  472. /* Define to 1 if you have the <sys/resource.h> header file. */
  473. #cmakedefine HAVE_SYS_RESOURCE_H 1
  474. /* Define to 1 if you have the <sys/select.h> header file. */
  475. #cmakedefine HAVE_SYS_SELECT_H 1
  476. /* Define to 1 if you have the <sys/socket.h> header file. */
  477. #cmakedefine HAVE_SYS_SOCKET_H 1
  478. /* Define to 1 if you have the <sys/sockio.h> header file. */
  479. #cmakedefine HAVE_SYS_SOCKIO_H 1
  480. /* Define to 1 if you have the <sys/stat.h> header file. */
  481. #cmakedefine HAVE_SYS_STAT_H 1
  482. /* Define to 1 if you have the <sys/time.h> header file. */
  483. #cmakedefine HAVE_SYS_TIME_H 1
  484. /* Define to 1 if you have the <sys/types.h> header file. */
  485. #cmakedefine HAVE_SYS_TYPES_H 1
  486. /* Define to 1 if you have the <sys/uio.h> header file. */
  487. #cmakedefine HAVE_SYS_UIO_H 1
  488. /* Define to 1 if you have the <sys/un.h> header file. */
  489. #cmakedefine HAVE_SYS_UN_H 1
  490. /* Define to 1 if you have the <sys/utime.h> header file. */
  491. #cmakedefine HAVE_SYS_UTIME_H 1
  492. /* Define to 1 if you have the <termios.h> header file. */
  493. #cmakedefine HAVE_TERMIOS_H 1
  494. /* Define to 1 if you have the <termio.h> header file. */
  495. #cmakedefine HAVE_TERMIO_H 1
  496. /* Define to 1 if you have the <time.h> header file. */
  497. #cmakedefine HAVE_TIME_H 1
  498. /* Define to 1 if you have the <tld.h> header file. */
  499. #cmakedefine HAVE_TLD_H 1
  500. /* Define to 1 if you have the `tld_strerror' function. */
  501. #cmakedefine HAVE_TLD_STRERROR 1
  502. /* Define to 1 if you have the `uname' function. */
  503. #cmakedefine HAVE_UNAME 1
  504. /* Define to 1 if you have the <unistd.h> header file. */
  505. #cmakedefine HAVE_UNISTD_H 1
  506. /* Define to 1 if you have the `utime' function. */
  507. #cmakedefine HAVE_UTIME 1
  508. /* Define to 1 if you have the <utime.h> header file. */
  509. #cmakedefine HAVE_UTIME_H 1
  510. /* Define to 1 if compiler supports C99 variadic macro style. */
  511. #cmakedefine HAVE_VARIADIC_MACROS_C99 1
  512. /* Define to 1 if compiler supports old gcc variadic macro style. */
  513. #cmakedefine HAVE_VARIADIC_MACROS_GCC 1
  514. /* Define to 1 if you have the winber.h header file. */
  515. #cmakedefine HAVE_WINBER_H 1
  516. /* Define to 1 if you have the windows.h header file. */
  517. #cmakedefine HAVE_WINDOWS_H 1
  518. /* Define to 1 if you have the winldap.h header file. */
  519. #cmakedefine HAVE_WINLDAP_H 1
  520. /* Define to 1 if you have the winsock2.h header file. */
  521. #cmakedefine HAVE_WINSOCK2_H 1
  522. /* Define to 1 if you have the winsock.h header file. */
  523. #cmakedefine HAVE_WINSOCK_H 1
  524. /* Define this symbol if your OS supports changing the contents of argv */
  525. #cmakedefine HAVE_WRITABLE_ARGV 1
  526. /* Define to 1 if you have the writev function. */
  527. #cmakedefine HAVE_WRITEV 1
  528. /* Define to 1 if you have the ws2tcpip.h header file. */
  529. #cmakedefine HAVE_WS2TCPIP_H 1
  530. /* Define to 1 if you have the <x509.h> header file. */
  531. #cmakedefine HAVE_X509_H 1
  532. /* Define if you have the <process.h> header file. */
  533. #cmakedefine HAVE_PROCESS_H 1
  534. /* if you have the zlib.h header file */
  535. #cmakedefine HAVE_ZLIB_H 1
  536. /* Define to the sub-directory in which libtool stores uninstalled libraries.
  537. */
  538. #cmakedefine LT_OBJDIR ${LT_OBJDIR}
  539. /* If you lack a fine basename() prototype */
  540. #cmakedefine NEED_BASENAME_PROTO 1
  541. /* Define to 1 if you need the lber.h header file even with ldap.h */
  542. #cmakedefine NEED_LBER_H 1
  543. /* Define to 1 if you need the malloc.h header file even with stdlib.h */
  544. #cmakedefine NEED_MALLOC_H 1
  545. /* Define to 1 if _REENTRANT preprocessor symbol must be defined. */
  546. #cmakedefine NEED_REENTRANT 1
  547. /* cpu-machine-OS */
  548. #cmakedefine OS ${OS}
  549. /* Name of package */
  550. #cmakedefine PACKAGE ${PACKAGE}
  551. /* Define to the address where bug reports for this package should be sent. */
  552. #cmakedefine PACKAGE_BUGREPORT ${PACKAGE_BUGREPORT}
  553. /* Define to the full name of this package. */
  554. #cmakedefine PACKAGE_NAME ${PACKAGE_NAME}
  555. /* Define to the full name and version of this package. */
  556. #cmakedefine PACKAGE_STRING ${PACKAGE_STRING}
  557. /* Define to the one symbol short name of this package. */
  558. #cmakedefine PACKAGE_TARNAME ${PACKAGE_TARNAME}
  559. /* Define to the version of this package. */
  560. #cmakedefine PACKAGE_VERSION ${PACKAGE_VERSION}
  561. /* a suitable file to read random data from */
  562. #cmakedefine RANDOM_FILE "${RANDOM_FILE}"
  563. /* Define to the type of arg 1 for recvfrom. */
  564. #cmakedefine RECVFROM_TYPE_ARG1 ${RECVFROM_TYPE_ARG1}
  565. /* Define to the type pointed by arg 2 for recvfrom. */
  566. #cmakedefine RECVFROM_TYPE_ARG2 ${RECVFROM_TYPE_ARG2}
  567. /* Define to 1 if the type pointed by arg 2 for recvfrom is void. */
  568. #cmakedefine RECVFROM_TYPE_ARG2_IS_VOID 1
  569. /* Define to the type of arg 3 for recvfrom. */
  570. #cmakedefine RECVFROM_TYPE_ARG3 ${RECVFROM_TYPE_ARG3}
  571. /* Define to the type of arg 4 for recvfrom. */
  572. #cmakedefine RECVFROM_TYPE_ARG4 ${RECVFROM_TYPE_ARG4}
  573. /* Define to the type pointed by arg 5 for recvfrom. */
  574. #cmakedefine RECVFROM_TYPE_ARG5 ${RECVFROM_TYPE_ARG5}
  575. /* Define to 1 if the type pointed by arg 5 for recvfrom is void. */
  576. #cmakedefine RECVFROM_TYPE_ARG5_IS_VOID 1
  577. /* Define to the type pointed by arg 6 for recvfrom. */
  578. #cmakedefine RECVFROM_TYPE_ARG6 ${RECVFROM_TYPE_ARG6}
  579. /* Define to 1 if the type pointed by arg 6 for recvfrom is void. */
  580. #cmakedefine RECVFROM_TYPE_ARG6_IS_VOID 1
  581. /* Define to the function return type for recvfrom. */
  582. #cmakedefine RECVFROM_TYPE_RETV ${RECVFROM_TYPE_RETV}
  583. /* Define to the type of arg 1 for recv. */
  584. #cmakedefine RECV_TYPE_ARG1 ${RECV_TYPE_ARG1}
  585. /* Define to the type of arg 2 for recv. */
  586. #cmakedefine RECV_TYPE_ARG2 ${RECV_TYPE_ARG2}
  587. /* Define to the type of arg 3 for recv. */
  588. #cmakedefine RECV_TYPE_ARG3 ${RECV_TYPE_ARG3}
  589. /* Define to the type of arg 4 for recv. */
  590. #cmakedefine RECV_TYPE_ARG4 ${RECV_TYPE_ARG4}
  591. /* Define to the function return type for recv. */
  592. #cmakedefine RECV_TYPE_RETV ${RECV_TYPE_RETV}
  593. /* Define as the return type of signal handlers (`int' or `void'). */
  594. #cmakedefine RETSIGTYPE ${RETSIGTYPE}
  595. /* Define to the type qualifier of arg 5 for select. */
  596. #cmakedefine SELECT_QUAL_ARG5 ${SELECT_QUAL_ARG5}
  597. /* Define to the type of arg 1 for select. */
  598. #cmakedefine SELECT_TYPE_ARG1 ${SELECT_TYPE_ARG1}
  599. /* Define to the type of args 2, 3 and 4 for select. */
  600. #cmakedefine SELECT_TYPE_ARG234 ${SELECT_TYPE_ARG234}
  601. /* Define to the type of arg 5 for select. */
  602. #cmakedefine SELECT_TYPE_ARG5 ${SELECT_TYPE_ARG5}
  603. /* Define to the function return type for select. */
  604. #cmakedefine SELECT_TYPE_RETV ${SELECT_TYPE_RETV}
  605. /* Define to the type qualifier of arg 2 for send. */
  606. #cmakedefine SEND_QUAL_ARG2 ${SEND_QUAL_ARG2}
  607. /* Define to the type of arg 1 for send. */
  608. #cmakedefine SEND_TYPE_ARG1 ${SEND_TYPE_ARG1}
  609. /* Define to the type of arg 2 for send. */
  610. #cmakedefine SEND_TYPE_ARG2 ${SEND_TYPE_ARG2}
  611. /* Define to the type of arg 3 for send. */
  612. #cmakedefine SEND_TYPE_ARG3 ${SEND_TYPE_ARG3}
  613. /* Define to the type of arg 4 for send. */
  614. #cmakedefine SEND_TYPE_ARG4 ${SEND_TYPE_ARG4}
  615. /* Define to the function return type for send. */
  616. #cmakedefine SEND_TYPE_RETV ${SEND_TYPE_RETV}
  617. /*
  618. Note: SIZEOF_* variables are fetched with CMake through check_type_size().
  619. As per CMake documentation on CheckTypeSize, C preprocessor code is
  620. generated by CMake into SIZEOF_*_CODE. This is what we use in the
  621. following statements.
  622. Reference: https://cmake.org/cmake/help/latest/module/CheckTypeSize.html
  623. */
  624. /* The size of `int', as computed by sizeof. */
  625. ${SIZEOF_INT_CODE}
  626. /* The size of `short', as computed by sizeof. */
  627. ${SIZEOF_SHORT_CODE}
  628. /* The size of `long', as computed by sizeof. */
  629. ${SIZEOF_LONG_CODE}
  630. /* The size of `off_t', as computed by sizeof. */
  631. ${SIZEOF_OFF_T_CODE}
  632. /* The size of `curl_off_t', as computed by sizeof. */
  633. ${SIZEOF_CURL_OFF_T_CODE}
  634. /* The size of `size_t', as computed by sizeof. */
  635. ${SIZEOF_SIZE_T_CODE}
  636. /* The size of `time_t', as computed by sizeof. */
  637. ${SIZEOF_TIME_T_CODE}
  638. /* Define to 1 if you have the ANSI C header files. */
  639. #cmakedefine STDC_HEADERS 1
  640. /* Define to the type of arg 3 for strerror_r. */
  641. #cmakedefine STRERROR_R_TYPE_ARG3 ${STRERROR_R_TYPE_ARG3}
  642. /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
  643. #cmakedefine TIME_WITH_SYS_TIME 1
  644. /* Define if you want to enable c-ares support */
  645. #cmakedefine USE_ARES 1
  646. /* Define if you want to enable POSIX threaded DNS lookup */
  647. #cmakedefine USE_THREADS_POSIX 1
  648. /* Define if you want to enable WIN32 threaded DNS lookup */
  649. #cmakedefine USE_THREADS_WIN32 1
  650. /* Define to disable non-blocking sockets. */
  651. #cmakedefine USE_BLOCKING_SOCKETS 1
  652. /* if GnuTLS is enabled */
  653. #cmakedefine USE_GNUTLS 1
  654. /* if Secure Transport is enabled */
  655. #cmakedefine USE_SECTRANSP 1
  656. /* if mbedTLS is enabled */
  657. #cmakedefine USE_MBEDTLS 1
  658. /* if BearSSL is enabled */
  659. #cmakedefine USE_BEARSSL 1
  660. /* if WolfSSL is enabled */
  661. #cmakedefine USE_WOLFSSL 1
  662. /* if libSSH is in use */
  663. #cmakedefine USE_LIBSSH 1
  664. /* if libSSH2 is in use */
  665. #cmakedefine USE_LIBSSH2 1
  666. /* If you want to build curl with the built-in manual */
  667. #cmakedefine USE_MANUAL 1
  668. /* if NSS is enabled */
  669. #cmakedefine USE_NSS 1
  670. /* if you have the PK11_CreateManagedGenericObject function */
  671. #cmakedefine HAVE_PK11_CREATEMANAGEDGENERICOBJECT 1
  672. /* if you want to use OpenLDAP code instead of legacy ldap implementation */
  673. #cmakedefine USE_OPENLDAP 1
  674. /* if OpenSSL is in use */
  675. #cmakedefine USE_OPENSSL 1
  676. /* to enable NGHTTP2 */
  677. #cmakedefine USE_NGHTTP2 1
  678. /* to enable NGTCP2 */
  679. #cmakedefine USE_NGTCP2 1
  680. /* to enable NGHTTP3 */
  681. #cmakedefine USE_NGHTTP3 1
  682. /* to enable quiche */
  683. #cmakedefine USE_QUICHE 1
  684. /* Define to 1 if you have the quiche_conn_set_qlog_fd function. */
  685. #cmakedefine HAVE_QUICHE_CONN_SET_QLOG_FD 1
  686. /* if Unix domain sockets are enabled */
  687. #cmakedefine USE_UNIX_SOCKETS
  688. /* to enable alt-svc */
  689. #cmakedefine USE_ALTSVC 1
  690. /* Define to 1 if you are building a Windows target with large file support. */
  691. #cmakedefine USE_WIN32_LARGE_FILES 1
  692. /* to enable SSPI support */
  693. #cmakedefine USE_WINDOWS_SSPI 1
  694. /* to enable Windows SSL */
  695. #cmakedefine USE_SCHANNEL 1
  696. /* enable multiple SSL backends */
  697. #cmakedefine CURL_WITH_MULTI_SSL 1
  698. /* Define to 1 if using yaSSL in OpenSSL compatibility mode. */
  699. #cmakedefine USE_YASSLEMUL 1
  700. /* Version number of package */
  701. #cmakedefine VERSION ${VERSION}
  702. /* Define to 1 if OS is AIX. */
  703. #ifndef _ALL_SOURCE
  704. # undef _ALL_SOURCE
  705. #endif
  706. /* Number of bits in a file offset, on hosts where this is settable. */
  707. #cmakedefine _FILE_OFFSET_BITS ${_FILE_OFFSET_BITS}
  708. /* Define for large files, on AIX-style hosts. */
  709. #cmakedefine _LARGE_FILES ${_LARGE_FILES}
  710. /* define this if you need it to compile thread-safe code */
  711. #cmakedefine _THREAD_SAFE ${_THREAD_SAFE}
  712. /* Define to empty if `const' does not conform to ANSI C. */
  713. #cmakedefine const ${const}
  714. /* Type to use in place of in_addr_t when system does not provide it. */
  715. #cmakedefine in_addr_t ${in_addr_t}
  716. /* Define to `__inline__' or `__inline' if that's what the C compiler
  717. calls it, or to nothing if 'inline' is not supported under any name. */
  718. #ifndef __cplusplus
  719. #undef inline
  720. #endif
  721. /* Define to `unsigned int' if <sys/types.h> does not define. */
  722. #cmakedefine size_t ${size_t}
  723. /* the signed version of size_t */
  724. #cmakedefine ssize_t ${ssize_t}
  725. /* Define to 1 if you have the mach_absolute_time function. */
  726. #cmakedefine HAVE_MACH_ABSOLUTE_TIME 1