1 /***************************************************************************
3 * Project ___| | | | _ \| |
5 * | (__| |_| | _ <| |___
6 * \___|\___/|_| \_\_____|
8 * Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
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.
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.
18 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
19 * KIND, either express or implied.
21 ***************************************************************************/
22 /* lib/curl_config.h.in. Generated somehow by cmake. */
24 /* when building libcurl itself */
25 #cmakedefine BUILDING_LIBCURL 1
27 /* Location of default ca bundle */
28 #cmakedefine CURL_CA_BUNDLE "${CURL_CA_BUNDLE}"
30 /* define "1" to use built-in ca store of TLS backend */
31 #cmakedefine CURL_CA_FALLBACK 1
33 /* Location of default ca path */
34 #cmakedefine CURL_CA_PATH "${CURL_CA_PATH}"
36 /* to disable cookies support */
37 #cmakedefine CURL_DISABLE_COOKIES 1
39 /* to disable cryptographic authentication */
40 #cmakedefine CURL_DISABLE_CRYPTO_AUTH 1
43 #cmakedefine CURL_DISABLE_DICT 1
46 #cmakedefine CURL_DISABLE_FILE 1
49 #cmakedefine CURL_DISABLE_FTP 1
51 /* to disable GOPHER */
52 #cmakedefine CURL_DISABLE_GOPHER 1
55 #cmakedefine CURL_DISABLE_IMAP 1
58 #cmakedefine CURL_DISABLE_HTTP 1
61 #cmakedefine CURL_DISABLE_LDAP 1
63 /* to disable LDAPS */
64 #cmakedefine CURL_DISABLE_LDAPS 1
67 #cmakedefine CURL_DISABLE_MQTT 1
70 #cmakedefine CURL_DISABLE_POP3 1
72 /* to disable proxies */
73 #cmakedefine CURL_DISABLE_PROXY 1
76 #cmakedefine CURL_DISABLE_RTSP 1
79 #cmakedefine CURL_DISABLE_SMB 1
82 #cmakedefine CURL_DISABLE_SMTP 1
84 /* to disable TELNET */
85 #cmakedefine CURL_DISABLE_TELNET 1
88 #cmakedefine CURL_DISABLE_TFTP 1
90 /* to disable verbose strings */
91 #cmakedefine CURL_DISABLE_VERBOSE_STRINGS 1
93 /* to make a symbol visible */
94 #cmakedefine CURL_EXTERN_SYMBOL ${CURL_EXTERN_SYMBOL}
95 /* Ensure using CURL_EXTERN_SYMBOL is possible */
96 #ifndef CURL_EXTERN_SYMBOL
97 #define CURL_EXTERN_SYMBOL
100 /* Allow SMB to work on Windows */
101 #cmakedefine USE_WIN32_CRYPTO
103 /* Use Windows LDAP implementation */
104 #cmakedefine USE_WIN32_LDAP 1
106 /* when not building a shared library */
107 #cmakedefine CURL_STATICLIB 1
109 /* your Entropy Gathering Daemon socket pathname */
110 #cmakedefine EGD_SOCKET ${EGD_SOCKET}
112 /* Define if you want to enable IPv6 support */
113 #cmakedefine ENABLE_IPV6 1
115 /* Define to the type qualifier of arg 1 for getnameinfo. */
116 #cmakedefine GETNAMEINFO_QUAL_ARG1 ${GETNAMEINFO_QUAL_ARG1}
118 /* Define to the type of arg 1 for getnameinfo. */
119 #cmakedefine GETNAMEINFO_TYPE_ARG1 ${GETNAMEINFO_TYPE_ARG1}
121 /* Define to the type of arg 2 for getnameinfo. */
122 #cmakedefine GETNAMEINFO_TYPE_ARG2 ${GETNAMEINFO_TYPE_ARG2}
124 /* Define to the type of args 4 and 6 for getnameinfo. */
125 #cmakedefine GETNAMEINFO_TYPE_ARG46 ${GETNAMEINFO_TYPE_ARG46}
127 /* Define to the type of arg 7 for getnameinfo. */
128 #cmakedefine GETNAMEINFO_TYPE_ARG7 ${GETNAMEINFO_TYPE_ARG7}
130 /* Specifies the number of arguments to getservbyport_r */
131 #cmakedefine GETSERVBYPORT_R_ARGS ${GETSERVBYPORT_R_ARGS}
133 /* Specifies the size of the buffer to pass to getservbyport_r */
134 #cmakedefine GETSERVBYPORT_R_BUFSIZE ${GETSERVBYPORT_R_BUFSIZE}
136 /* Define to 1 if you have the alarm function. */
137 #cmakedefine HAVE_ALARM 1
139 /* Define to 1 if you have the <alloca.h> header file. */
140 #cmakedefine HAVE_ALLOCA_H 1
142 /* Define to 1 if you have the <arpa/inet.h> header file. */
143 #cmakedefine HAVE_ARPA_INET_H 1
145 /* Define to 1 if you have the <arpa/tftp.h> header file. */
146 #cmakedefine HAVE_ARPA_TFTP_H 1
148 /* Define to 1 if you have the <assert.h> header file. */
149 #cmakedefine HAVE_ASSERT_H 1
151 /* Define to 1 if you have the `basename' function. */
152 #cmakedefine HAVE_BASENAME 1
154 /* Define to 1 if bool is an available type. */
155 #cmakedefine HAVE_BOOL_T 1
157 /* Define to 1 if you have the __builtin_available function. */
158 #cmakedefine HAVE_BUILTIN_AVAILABLE 1
160 /* Define to 1 if you have the clock_gettime function and monotonic timer. */
161 #cmakedefine HAVE_CLOCK_GETTIME_MONOTONIC 1
163 /* Define to 1 if you have the `closesocket' function. */
164 #cmakedefine HAVE_CLOSESOCKET 1
166 /* Define to 1 if you have the `CRYPTO_cleanup_all_ex_data' function. */
167 #cmakedefine HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
169 /* Define to 1 if you have the <crypto.h> header file. */
170 #cmakedefine HAVE_CRYPTO_H 1
172 /* Define to 1 if you have the <dlfcn.h> header file. */
173 #cmakedefine HAVE_DLFCN_H 1
175 /* Define to 1 if you have the <errno.h> header file. */
176 #cmakedefine HAVE_ERRNO_H 1
178 /* Define to 1 if you have the <err.h> header file. */
179 #cmakedefine HAVE_ERR_H 1
181 /* Define to 1 if you have the fcntl function. */
182 #cmakedefine HAVE_FCNTL 1
184 /* Define to 1 if you have the <fcntl.h> header file. */
185 #cmakedefine HAVE_FCNTL_H 1
187 /* Define to 1 if you have a working fcntl O_NONBLOCK function. */
188 #cmakedefine HAVE_FCNTL_O_NONBLOCK 1
190 /* Define to 1 if you have the fdopen function. */
191 #cmakedefine HAVE_FDOPEN 1
193 /* Define to 1 if you have the `fork' function. */
194 #cmakedefine HAVE_FORK 1
196 /* Define to 1 if you have the freeaddrinfo function. */
197 #cmakedefine HAVE_FREEADDRINFO 1
199 /* Define to 1 if you have the freeifaddrs function. */
200 #cmakedefine HAVE_FREEIFADDRS 1
202 /* Define to 1 if you have the ftruncate function. */
203 #cmakedefine HAVE_FTRUNCATE 1
205 /* Define to 1 if you have a working getaddrinfo function. */
206 #cmakedefine HAVE_GETADDRINFO 1
208 /* Define to 1 if you have the `geteuid' function. */
209 #cmakedefine HAVE_GETEUID 1
211 /* Define to 1 if you have the gethostbyaddr function. */
212 #cmakedefine HAVE_GETHOSTBYADDR 1
214 /* Define to 1 if you have the gethostbyaddr_r function. */
215 #cmakedefine HAVE_GETHOSTBYADDR_R 1
217 /* gethostbyaddr_r() takes 5 args */
218 #cmakedefine HAVE_GETHOSTBYADDR_R_5 1
220 /* gethostbyaddr_r() takes 7 args */
221 #cmakedefine HAVE_GETHOSTBYADDR_R_7 1
223 /* gethostbyaddr_r() takes 8 args */
224 #cmakedefine HAVE_GETHOSTBYADDR_R_8 1
226 /* Define to 1 if you have the gethostbyname function. */
227 #cmakedefine HAVE_GETHOSTBYNAME 1
229 /* Define to 1 if you have the gethostbyname_r function. */
230 #cmakedefine HAVE_GETHOSTBYNAME_R 1
232 /* gethostbyname_r() takes 3 args */
233 #cmakedefine HAVE_GETHOSTBYNAME_R_3 1
235 /* gethostbyname_r() takes 5 args */
236 #cmakedefine HAVE_GETHOSTBYNAME_R_5 1
238 /* gethostbyname_r() takes 6 args */
239 #cmakedefine HAVE_GETHOSTBYNAME_R_6 1
241 /* Define to 1 if you have the gethostname function. */
242 #cmakedefine HAVE_GETHOSTNAME 1
244 /* Define to 1 if you have a working getifaddrs function. */
245 #cmakedefine HAVE_GETIFADDRS 1
247 /* Define to 1 if you have the getnameinfo function. */
248 #cmakedefine HAVE_GETNAMEINFO 1
250 /* Define to 1 if you have the `getpass_r' function. */
251 #cmakedefine HAVE_GETPASS_R 1
253 /* Define to 1 if you have the `getppid' function. */
254 #cmakedefine HAVE_GETPPID 1
256 /* Define to 1 if you have the `getprotobyname' function. */
257 #cmakedefine HAVE_GETPROTOBYNAME 1
259 /* Define to 1 if you have the `getpeername' function. */
260 #cmakedefine HAVE_GETPEERNAME 1
262 /* Define to 1 if you have the `getsockname' function. */
263 #cmakedefine HAVE_GETSOCKNAME 1
265 /* Define to 1 if you have the `if_nametoindex' function. */
266 #cmakedefine HAVE_IF_NAMETOINDEX 1
268 /* Define to 1 if you have the `getpwuid' function. */
269 #cmakedefine HAVE_GETPWUID 1
271 /* Define to 1 if you have the `getpwuid_r' function. */
272 #cmakedefine HAVE_GETPWUID_R 1
274 /* Define to 1 if you have the `getrlimit' function. */
275 #cmakedefine HAVE_GETRLIMIT 1
277 /* Define to 1 if you have the getservbyport_r function. */
278 #cmakedefine HAVE_GETSERVBYPORT_R 1
280 /* Define to 1 if you have the `gettimeofday' function. */
281 #cmakedefine HAVE_GETTIMEOFDAY 1
283 /* Define to 1 if you have a working glibc-style strerror_r function. */
284 #cmakedefine HAVE_GLIBC_STRERROR_R 1
286 /* Define to 1 if you have a working gmtime_r function. */
287 #cmakedefine HAVE_GMTIME_R 1
289 /* if you have the gssapi libraries */
290 #cmakedefine HAVE_GSSAPI 1
292 /* Define to 1 if you have the <gssapi/gssapi_generic.h> header file. */
293 #cmakedefine HAVE_GSSAPI_GSSAPI_GENERIC_H 1
295 /* Define to 1 if you have the <gssapi/gssapi.h> header file. */
296 #cmakedefine HAVE_GSSAPI_GSSAPI_H 1
298 /* Define to 1 if you have the <gssapi/gssapi_krb5.h> header file. */
299 #cmakedefine HAVE_GSSAPI_GSSAPI_KRB5_H 1
301 /* if you have the GNU gssapi libraries */
302 #cmakedefine HAVE_GSSGNU 1
304 /* if you have the Heimdal gssapi libraries */
305 #cmakedefine HAVE_GSSHEIMDAL 1
307 /* if you have the MIT gssapi libraries */
308 #cmakedefine HAVE_GSSMIT 1
310 /* Define to 1 if you have the `idna_strerror' function. */
311 #cmakedefine HAVE_IDNA_STRERROR 1
313 /* Define to 1 if you have the `idn_free' function. */
314 #cmakedefine HAVE_IDN_FREE 1
316 /* Define to 1 if you have the <idn-free.h> header file. */
317 #cmakedefine HAVE_IDN_FREE_H 1
319 /* Define to 1 if you have the <ifaddrs.h> header file. */
320 #cmakedefine HAVE_IFADDRS_H 1
322 /* Define to 1 if you have the `inet_addr' function. */
323 #cmakedefine HAVE_INET_ADDR 1
325 /* Define to 1 if you have the inet_ntoa_r function. */
326 #cmakedefine HAVE_INET_NTOA_R 1
328 /* inet_ntoa_r() takes 2 args */
329 #cmakedefine HAVE_INET_NTOA_R_2 1
331 /* inet_ntoa_r() takes 3 args */
332 #cmakedefine HAVE_INET_NTOA_R_3 1
334 /* Define to 1 if you have a IPv6 capable working inet_ntop function. */
335 #cmakedefine HAVE_INET_NTOP 1
337 /* Define to 1 if you have a IPv6 capable working inet_pton function. */
338 #cmakedefine HAVE_INET_PTON 1
340 /* Define to 1 if you have the <inttypes.h> header file. */
341 #cmakedefine HAVE_INTTYPES_H 1
343 /* Define to 1 if you have the ioctl function. */
344 #cmakedefine HAVE_IOCTL 1
346 /* Define to 1 if you have the ioctlsocket function. */
347 #cmakedefine HAVE_IOCTLSOCKET 1
349 /* Define to 1 if you have the IoctlSocket camel case function. */
350 #cmakedefine HAVE_IOCTLSOCKET_CAMEL 1
352 /* Define to 1 if you have a working IoctlSocket camel case FIONBIO function.
354 #cmakedefine HAVE_IOCTLSOCKET_CAMEL_FIONBIO 1
356 /* Define to 1 if you have a working ioctlsocket FIONBIO function. */
357 #cmakedefine HAVE_IOCTLSOCKET_FIONBIO 1
359 /* Define to 1 if you have a working ioctl FIONBIO function. */
360 #cmakedefine HAVE_IOCTL_FIONBIO 1
362 /* Define to 1 if you have a working ioctl SIOCGIFADDR function. */
363 #cmakedefine HAVE_IOCTL_SIOCGIFADDR 1
365 /* Define to 1 if you have the <io.h> header file. */
366 #cmakedefine HAVE_IO_H 1
368 /* if you have the Kerberos4 libraries (including -ldes) */
369 #cmakedefine HAVE_KRB4 1
371 /* Define to 1 if you have the `krb_get_our_ip_for_realm' function. */
372 #cmakedefine HAVE_KRB_GET_OUR_IP_FOR_REALM 1
374 /* Define to 1 if you have the <krb.h> header file. */
375 #cmakedefine HAVE_KRB_H 1
377 /* Define to 1 if you have the lber.h header file. */
378 #cmakedefine HAVE_LBER_H 1
380 /* Define to 1 if you have the ldapssl.h header file. */
381 #cmakedefine HAVE_LDAPSSL_H 1
383 /* Define to 1 if you have the ldap.h header file. */
384 #cmakedefine HAVE_LDAP_H 1
386 /* Use LDAPS implementation */
387 #cmakedefine HAVE_LDAP_SSL 1
389 /* Define to 1 if you have the ldap_ssl.h header file. */
390 #cmakedefine HAVE_LDAP_SSL_H 1
392 /* Define to 1 if you have the `ldap_url_parse' function. */
393 #cmakedefine HAVE_LDAP_URL_PARSE 1
395 /* Define to 1 if you have the <libgen.h> header file. */
396 #cmakedefine HAVE_LIBGEN_H 1
398 /* Define to 1 if you have the `idn' library (-lidn). */
399 #cmakedefine HAVE_LIBIDN 1
401 /* Define to 1 if you have the `resolv' library (-lresolv). */
402 #cmakedefine HAVE_LIBRESOLV 1
404 /* Define to 1 if you have the `resolve' library (-lresolve). */
405 #cmakedefine HAVE_LIBRESOLVE 1
407 /* Define to 1 if you have the `socket' library (-lsocket). */
408 #cmakedefine HAVE_LIBSOCKET 1
410 /* Define to 1 if you have the `ssh2' library (-lssh2). */
411 #cmakedefine HAVE_LIBSSH2 1
413 /* Define to 1 if libssh2 provides `libssh2_version'. */
414 #cmakedefine HAVE_LIBSSH2_VERSION 1
416 /* Define to 1 if libssh2 provides `libssh2_init'. */
417 #cmakedefine HAVE_LIBSSH2_INIT 1
419 /* Define to 1 if libssh2 provides `libssh2_exit'. */
420 #cmakedefine HAVE_LIBSSH2_EXIT 1
422 /* Define to 1 if libssh2 provides `libssh2_scp_send64'. */
423 #cmakedefine HAVE_LIBSSH2_SCP_SEND64 1
425 /* Define to 1 if libssh2 provides `libssh2_session_handshake'. */
426 #cmakedefine HAVE_LIBSSH2_SESSION_HANDSHAKE 1
428 /* Define to 1 if you have the <libssh2.h> header file. */
429 #cmakedefine HAVE_LIBSSH2_H 1
431 /* Define to 1 if you have the <libssh/libssh.h> header file. */
432 #cmakedefine HAVE_LIBSSH_LIBSSH_H 1
434 /* if zlib is available */
435 #cmakedefine HAVE_LIBZ 1
437 /* if brotli is available */
438 #cmakedefine HAVE_BROTLI 1
440 /* if zstd is available */
441 #cmakedefine HAVE_ZSTD 1
443 /* if your compiler supports LL */
444 #cmakedefine HAVE_LL 1
446 /* Define to 1 if you have the <locale.h> header file. */
447 #cmakedefine HAVE_LOCALE_H 1
449 /* Define to 1 if you have a working localtime_r function. */
450 #cmakedefine HAVE_LOCALTIME_R 1
452 /* Define to 1 if the compiler supports the 'long long' data type. */
453 #cmakedefine HAVE_LONGLONG 1
455 /* Define to 1 if you have the malloc.h header file. */
456 #cmakedefine HAVE_MALLOC_H 1
458 /* Define to 1 if you have the <memory.h> header file. */
459 #cmakedefine HAVE_MEMORY_H 1
461 /* Define to 1 if you have the MSG_NOSIGNAL flag. */
462 #cmakedefine HAVE_MSG_NOSIGNAL 1
464 /* Define to 1 if you have the <netdb.h> header file. */
465 #cmakedefine HAVE_NETDB_H 1
467 /* Define to 1 if you have the <netinet/in.h> header file. */
468 #cmakedefine HAVE_NETINET_IN_H 1
470 /* Define to 1 if you have the <netinet/tcp.h> header file. */
471 #cmakedefine HAVE_NETINET_TCP_H 1
473 /* Define to 1 if you have the <net/if.h> header file. */
474 #cmakedefine HAVE_NET_IF_H 1
476 /* Define to 1 if NI_WITHSCOPEID exists and works. */
477 #cmakedefine HAVE_NI_WITHSCOPEID 1
479 /* if you have an old MIT gssapi library, lacking GSS_C_NT_HOSTBASED_SERVICE */
480 #cmakedefine HAVE_OLD_GSSMIT 1
482 /* Define to 1 if you have the <openssl/crypto.h> header file. */
483 #cmakedefine HAVE_OPENSSL_CRYPTO_H 1
485 /* Define to 1 if you have the <openssl/err.h> header file. */
486 #cmakedefine HAVE_OPENSSL_ERR_H 1
488 /* Define to 1 if you have the <openssl/pem.h> header file. */
489 #cmakedefine HAVE_OPENSSL_PEM_H 1
491 /* Define to 1 if you have the <openssl/pkcs12.h> header file. */
492 #cmakedefine HAVE_OPENSSL_PKCS12_H 1
494 /* Define to 1 if you have the <openssl/rsa.h> header file. */
495 #cmakedefine HAVE_OPENSSL_RSA_H 1
497 /* Define to 1 if you have the <openssl/ssl.h> header file. */
498 #cmakedefine HAVE_OPENSSL_SSL_H 1
500 /* Define to 1 if you have the <openssl/x509.h> header file. */
501 #cmakedefine HAVE_OPENSSL_X509_H 1
503 /* Define to 1 if you have the <pem.h> header file. */
504 #cmakedefine HAVE_PEM_H 1
506 /* Define to 1 if you have the `perror' function. */
507 #cmakedefine HAVE_PERROR 1
509 /* Define to 1 if you have the `pipe' function. */
510 #cmakedefine HAVE_PIPE 1
512 /* Define to 1 if you have a working poll function. */
513 #cmakedefine HAVE_POLL 1
515 /* If you have a fine poll */
516 #cmakedefine HAVE_POLL_FINE 1
518 /* Define to 1 if you have the <poll.h> header file. */
519 #cmakedefine HAVE_POLL_H 1
521 /* Define to 1 if you have a working POSIX-style strerror_r function. */
522 #cmakedefine HAVE_POSIX_STRERROR_R 1
524 /* Define to 1 if you have the <pthread.h> header file */
525 #cmakedefine HAVE_PTHREAD_H 1
527 /* Define to 1 if you have the <pwd.h> header file. */
528 #cmakedefine HAVE_PWD_H 1
530 /* Define to 1 if you have the `RAND_egd' function. */
531 #cmakedefine HAVE_RAND_EGD 1
533 /* Define to 1 if you have the `RAND_screen' function. */
534 #cmakedefine HAVE_RAND_SCREEN 1
536 /* Define to 1 if you have the `RAND_status' function. */
537 #cmakedefine HAVE_RAND_STATUS 1
539 /* Define to 1 if you have the recv function. */
540 #cmakedefine HAVE_RECV 1
542 /* Define to 1 if you have the recvfrom function. */
543 #cmakedefine HAVE_RECVFROM 1
545 /* Define to 1 if you have the <rsa.h> header file. */
546 #cmakedefine HAVE_RSA_H 1
548 /* Define to 1 if you have the select function. */
549 #cmakedefine HAVE_SELECT 1
551 /* Define to 1 if you have the send function. */
552 #cmakedefine HAVE_SEND 1
554 /* Define to 1 if you have the 'fsetxattr' function. */
555 #cmakedefine HAVE_FSETXATTR 1
557 /* fsetxattr() takes 5 args */
558 #cmakedefine HAVE_FSETXATTR_5 1
560 /* fsetxattr() takes 6 args */
561 #cmakedefine HAVE_FSETXATTR_6 1
563 /* Define to 1 if you have the <setjmp.h> header file. */
564 #cmakedefine HAVE_SETJMP_H 1
566 /* Define to 1 if you have the `setlocale' function. */
567 #cmakedefine HAVE_SETLOCALE 1
569 /* Define to 1 if you have the `setmode' function. */
570 #cmakedefine HAVE_SETMODE 1
572 /* Define to 1 if you have the `setrlimit' function. */
573 #cmakedefine HAVE_SETRLIMIT 1
575 /* Define to 1 if you have the setsockopt function. */
576 #cmakedefine HAVE_SETSOCKOPT 1
578 /* Define to 1 if you have a working setsockopt SO_NONBLOCK function. */
579 #cmakedefine HAVE_SETSOCKOPT_SO_NONBLOCK 1
581 /* Define to 1 if you have the <sgtty.h> header file. */
582 #cmakedefine HAVE_SGTTY_H 1
584 /* Define to 1 if you have the sigaction function. */
585 #cmakedefine HAVE_SIGACTION 1
587 /* Define to 1 if you have the siginterrupt function. */
588 #cmakedefine HAVE_SIGINTERRUPT 1
590 /* Define to 1 if you have the signal function. */
591 #cmakedefine HAVE_SIGNAL 1
593 /* Define to 1 if you have the <signal.h> header file. */
594 #cmakedefine HAVE_SIGNAL_H 1
596 /* Define to 1 if you have the sigsetjmp function or macro. */
597 #cmakedefine HAVE_SIGSETJMP 1
599 /* Define to 1 if sig_atomic_t is an available typedef. */
600 #cmakedefine HAVE_SIG_ATOMIC_T 1
602 /* Define to 1 if sig_atomic_t is already defined as volatile. */
603 #cmakedefine HAVE_SIG_ATOMIC_T_VOLATILE 1
605 /* Define to 1 if struct sockaddr_in6 has the sin6_scope_id member */
606 #cmakedefine HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
608 /* Define to 1 if you have the `socket' function. */
609 #cmakedefine HAVE_SOCKET 1
611 /* Define to 1 if you have the <ssl.h> header file. */
612 #cmakedefine HAVE_SSL_H 1
614 /* Define to 1 if you have the <stdbool.h> header file. */
615 #cmakedefine HAVE_STDBOOL_H 1
617 /* Define to 1 if you have the <stdint.h> header file. */
618 #cmakedefine HAVE_STDINT_H 1
620 /* Define to 1 if you have the <stdio.h> header file. */
621 #cmakedefine HAVE_STDIO_H 1
623 /* Define to 1 if you have the <stdlib.h> header file. */
624 #cmakedefine HAVE_STDLIB_H 1
626 /* Define to 1 if you have the strcasecmp function. */
627 #cmakedefine HAVE_STRCASECMP 1
629 /* Define to 1 if you have the strcasestr function. */
630 #cmakedefine HAVE_STRCASESTR 1
632 /* Define to 1 if you have the strcmpi function. */
633 #cmakedefine HAVE_STRCMPI 1
635 /* Define to 1 if you have the strdup function. */
636 #cmakedefine HAVE_STRDUP 1
638 /* Define to 1 if you have the strerror_r function. */
639 #cmakedefine HAVE_STRERROR_R 1
641 /* Define to 1 if you have the stricmp function. */
642 #cmakedefine HAVE_STRICMP 1
644 /* Define to 1 if you have the <strings.h> header file. */
645 #cmakedefine HAVE_STRINGS_H 1
647 /* Define to 1 if you have the <string.h> header file. */
648 #cmakedefine HAVE_STRING_H 1
650 /* Define to 1 if you have the strlcat function. */
651 #cmakedefine HAVE_STRLCAT 1
653 /* Define to 1 if you have the `strlcpy' function. */
654 #cmakedefine HAVE_STRLCPY 1
656 /* Define to 1 if you have the strncasecmp function. */
657 #cmakedefine HAVE_STRNCASECMP 1
659 /* Define to 1 if you have the strncmpi function. */
660 #cmakedefine HAVE_STRNCMPI 1
662 /* Define to 1 if you have the strnicmp function. */
663 #cmakedefine HAVE_STRNICMP 1
665 /* Define to 1 if you have the <stropts.h> header file. */
666 #cmakedefine HAVE_STROPTS_H 1
668 /* Define to 1 if you have the strstr function. */
669 #cmakedefine HAVE_STRSTR 1
671 /* Define to 1 if you have the strtok_r function. */
672 #cmakedefine HAVE_STRTOK_R 1
674 /* Define to 1 if you have the strtoll function. */
675 #cmakedefine HAVE_STRTOLL 1
677 /* if struct sockaddr_storage is defined */
678 #cmakedefine HAVE_STRUCT_SOCKADDR_STORAGE 1
680 /* Define to 1 if you have the timeval struct. */
681 #cmakedefine HAVE_STRUCT_TIMEVAL 1
683 /* Define to 1 if you have the <sys/filio.h> header file. */
684 #cmakedefine HAVE_SYS_FILIO_H 1
686 /* Define to 1 if you have the <sys/ioctl.h> header file. */
687 #cmakedefine HAVE_SYS_IOCTL_H 1
689 /* Define to 1 if you have the <sys/param.h> header file. */
690 #cmakedefine HAVE_SYS_PARAM_H 1
692 /* Define to 1 if you have the <sys/poll.h> header file. */
693 #cmakedefine HAVE_SYS_POLL_H 1
695 /* Define to 1 if you have the <sys/resource.h> header file. */
696 #cmakedefine HAVE_SYS_RESOURCE_H 1
698 /* Define to 1 if you have the <sys/select.h> header file. */
699 #cmakedefine HAVE_SYS_SELECT_H 1
701 /* Define to 1 if you have the <sys/socket.h> header file. */
702 #cmakedefine HAVE_SYS_SOCKET_H 1
704 /* Define to 1 if you have the <sys/sockio.h> header file. */
705 #cmakedefine HAVE_SYS_SOCKIO_H 1
707 /* Define to 1 if you have the <sys/stat.h> header file. */
708 #cmakedefine HAVE_SYS_STAT_H 1
710 /* Define to 1 if you have the <sys/time.h> header file. */
711 #cmakedefine HAVE_SYS_TIME_H 1
713 /* Define to 1 if you have the <sys/types.h> header file. */
714 #cmakedefine HAVE_SYS_TYPES_H 1
716 /* Define to 1 if you have the <sys/uio.h> header file. */
717 #cmakedefine HAVE_SYS_UIO_H 1
719 /* Define to 1 if you have the <sys/un.h> header file. */
720 #cmakedefine HAVE_SYS_UN_H 1
722 /* Define to 1 if you have the <sys/utime.h> header file. */
723 #cmakedefine HAVE_SYS_UTIME_H 1
725 /* Define to 1 if you have the <termios.h> header file. */
726 #cmakedefine HAVE_TERMIOS_H 1
728 /* Define to 1 if you have the <termio.h> header file. */
729 #cmakedefine HAVE_TERMIO_H 1
731 /* Define to 1 if you have the <time.h> header file. */
732 #cmakedefine HAVE_TIME_H 1
734 /* Define to 1 if you have the <tld.h> header file. */
735 #cmakedefine HAVE_TLD_H 1
737 /* Define to 1 if you have the `tld_strerror' function. */
738 #cmakedefine HAVE_TLD_STRERROR 1
740 /* Define to 1 if you have the `uname' function. */
741 #cmakedefine HAVE_UNAME 1
743 /* Define to 1 if you have the <unistd.h> header file. */
744 #cmakedefine HAVE_UNISTD_H 1
746 /* Define to 1 if you have the `utime' function. */
747 #cmakedefine HAVE_UTIME 1
749 /* Define to 1 if you have the <utime.h> header file. */
750 #cmakedefine HAVE_UTIME_H 1
752 /* Define to 1 if compiler supports C99 variadic macro style. */
753 #cmakedefine HAVE_VARIADIC_MACROS_C99 1
755 /* Define to 1 if compiler supports old gcc variadic macro style. */
756 #cmakedefine HAVE_VARIADIC_MACROS_GCC 1
758 /* Define to 1 if you have the winber.h header file. */
759 #cmakedefine HAVE_WINBER_H 1
761 /* Define to 1 if you have the windows.h header file. */
762 #cmakedefine HAVE_WINDOWS_H 1
764 /* Define to 1 if you have the winldap.h header file. */
765 #cmakedefine HAVE_WINLDAP_H 1
767 /* Define to 1 if you have the winsock2.h header file. */
768 #cmakedefine HAVE_WINSOCK2_H 1
770 /* Define to 1 if you have the winsock.h header file. */
771 #cmakedefine HAVE_WINSOCK_H 1
773 /* Define this symbol if your OS supports changing the contents of argv */
774 #cmakedefine HAVE_WRITABLE_ARGV 1
776 /* Define to 1 if you have the writev function. */
777 #cmakedefine HAVE_WRITEV 1
779 /* Define to 1 if you have the ws2tcpip.h header file. */
780 #cmakedefine HAVE_WS2TCPIP_H 1
782 /* Define to 1 if you have the <x509.h> header file. */
783 #cmakedefine HAVE_X509_H 1
785 /* Define if you have the <process.h> header file. */
786 #cmakedefine HAVE_PROCESS_H 1
788 /* if you have the zlib.h header file */
789 #cmakedefine HAVE_ZLIB_H 1
791 /* Define to the sub-directory in which libtool stores uninstalled libraries.
793 #cmakedefine LT_OBJDIR ${LT_OBJDIR}
795 /* If you lack a fine basename() prototype */
796 #cmakedefine NEED_BASENAME_PROTO 1
798 /* Define to 1 if you need the lber.h header file even with ldap.h */
799 #cmakedefine NEED_LBER_H 1
801 /* Define to 1 if you need the malloc.h header file even with stdlib.h */
802 #cmakedefine NEED_MALLOC_H 1
804 /* Define to 1 if _REENTRANT preprocessor symbol must be defined. */
805 #cmakedefine NEED_REENTRANT 1
808 #cmakedefine OS ${OS}
810 /* Name of package */
811 #cmakedefine PACKAGE ${PACKAGE}
813 /* Define to the address where bug reports for this package should be sent. */
814 #cmakedefine PACKAGE_BUGREPORT ${PACKAGE_BUGREPORT}
816 /* Define to the full name of this package. */
817 #cmakedefine PACKAGE_NAME ${PACKAGE_NAME}
819 /* Define to the full name and version of this package. */
820 #cmakedefine PACKAGE_STRING ${PACKAGE_STRING}
822 /* Define to the one symbol short name of this package. */
823 #cmakedefine PACKAGE_TARNAME ${PACKAGE_TARNAME}
825 /* Define to the version of this package. */
826 #cmakedefine PACKAGE_VERSION ${PACKAGE_VERSION}
828 /* a suitable file to read random data from */
829 #cmakedefine RANDOM_FILE "${RANDOM_FILE}"
831 /* Define to the type of arg 1 for recvfrom. */
832 #cmakedefine RECVFROM_TYPE_ARG1 ${RECVFROM_TYPE_ARG1}
834 /* Define to the type pointed by arg 2 for recvfrom. */
835 #cmakedefine RECVFROM_TYPE_ARG2 ${RECVFROM_TYPE_ARG2}
837 /* Define to 1 if the type pointed by arg 2 for recvfrom is void. */
838 #cmakedefine RECVFROM_TYPE_ARG2_IS_VOID 1
840 /* Define to the type of arg 3 for recvfrom. */
841 #cmakedefine RECVFROM_TYPE_ARG3 ${RECVFROM_TYPE_ARG3}
843 /* Define to the type of arg 4 for recvfrom. */
844 #cmakedefine RECVFROM_TYPE_ARG4 ${RECVFROM_TYPE_ARG4}
846 /* Define to the type pointed by arg 5 for recvfrom. */
847 #cmakedefine RECVFROM_TYPE_ARG5 ${RECVFROM_TYPE_ARG5}
849 /* Define to 1 if the type pointed by arg 5 for recvfrom is void. */
850 #cmakedefine RECVFROM_TYPE_ARG5_IS_VOID 1
852 /* Define to the type pointed by arg 6 for recvfrom. */
853 #cmakedefine RECVFROM_TYPE_ARG6 ${RECVFROM_TYPE_ARG6}
855 /* Define to 1 if the type pointed by arg 6 for recvfrom is void. */
856 #cmakedefine RECVFROM_TYPE_ARG6_IS_VOID 1
858 /* Define to the function return type for recvfrom. */
859 #cmakedefine RECVFROM_TYPE_RETV ${RECVFROM_TYPE_RETV}
861 /* Define to the type of arg 1 for recv. */
862 #cmakedefine RECV_TYPE_ARG1 ${RECV_TYPE_ARG1}
864 /* Define to the type of arg 2 for recv. */
865 #cmakedefine RECV_TYPE_ARG2 ${RECV_TYPE_ARG2}
867 /* Define to the type of arg 3 for recv. */
868 #cmakedefine RECV_TYPE_ARG3 ${RECV_TYPE_ARG3}
870 /* Define to the type of arg 4 for recv. */
871 #cmakedefine RECV_TYPE_ARG4 ${RECV_TYPE_ARG4}
873 /* Define to the function return type for recv. */
874 #cmakedefine RECV_TYPE_RETV ${RECV_TYPE_RETV}
876 /* Define as the return type of signal handlers (`int' or `void'). */
877 #cmakedefine RETSIGTYPE ${RETSIGTYPE}
879 /* Define to the type qualifier of arg 5 for select. */
880 #cmakedefine SELECT_QUAL_ARG5 ${SELECT_QUAL_ARG5}
882 /* Define to the type of arg 1 for select. */
883 #cmakedefine SELECT_TYPE_ARG1 ${SELECT_TYPE_ARG1}
885 /* Define to the type of args 2, 3 and 4 for select. */
886 #cmakedefine SELECT_TYPE_ARG234 ${SELECT_TYPE_ARG234}
888 /* Define to the type of arg 5 for select. */
889 #cmakedefine SELECT_TYPE_ARG5 ${SELECT_TYPE_ARG5}
891 /* Define to the function return type for select. */
892 #cmakedefine SELECT_TYPE_RETV ${SELECT_TYPE_RETV}
894 /* Define to the type qualifier of arg 2 for send. */
895 #cmakedefine SEND_QUAL_ARG2 ${SEND_QUAL_ARG2}
897 /* Define to the type of arg 1 for send. */
898 #cmakedefine SEND_TYPE_ARG1 ${SEND_TYPE_ARG1}
900 /* Define to the type of arg 2 for send. */
901 #cmakedefine SEND_TYPE_ARG2 ${SEND_TYPE_ARG2}
903 /* Define to the type of arg 3 for send. */
904 #cmakedefine SEND_TYPE_ARG3 ${SEND_TYPE_ARG3}
906 /* Define to the type of arg 4 for send. */
907 #cmakedefine SEND_TYPE_ARG4 ${SEND_TYPE_ARG4}
909 /* Define to the function return type for send. */
910 #cmakedefine SEND_TYPE_RETV ${SEND_TYPE_RETV}
913 Note: SIZEOF_* variables are fetched with CMake through check_type_size().
914 As per CMake documentation on CheckTypeSize, C preprocessor code is
915 generated by CMake into SIZEOF_*_CODE. This is what we use in the
916 following statements.
918 Reference: https://cmake.org/cmake/help/latest/module/CheckTypeSize.html
921 /* The size of `int', as computed by sizeof. */
924 /* The size of `short', as computed by sizeof. */
927 /* The size of `long', as computed by sizeof. */
930 /* The size of `off_t', as computed by sizeof. */
933 /* The size of `curl_off_t', as computed by sizeof. */
934 ${SIZEOF_CURL_OFF_T_CODE}
936 /* The size of `size_t', as computed by sizeof. */
937 ${SIZEOF_SIZE_T_CODE}
939 /* The size of `time_t', as computed by sizeof. */
940 ${SIZEOF_TIME_T_CODE}
942 /* Define to 1 if you have the ANSI C header files. */
943 #cmakedefine STDC_HEADERS 1
945 /* Define to the type of arg 3 for strerror_r. */
946 #cmakedefine STRERROR_R_TYPE_ARG3 ${STRERROR_R_TYPE_ARG3}
948 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
949 #cmakedefine TIME_WITH_SYS_TIME 1
951 /* Define if you want to enable c-ares support */
952 #cmakedefine USE_ARES 1
954 /* Define if you want to enable POSIX threaded DNS lookup */
955 #cmakedefine USE_THREADS_POSIX 1
957 /* Define if you want to enable WIN32 threaded DNS lookup */
958 #cmakedefine USE_THREADS_WIN32 1
960 /* Define to disable non-blocking sockets. */
961 #cmakedefine USE_BLOCKING_SOCKETS 1
963 /* if GnuTLS is enabled */
964 #cmakedefine USE_GNUTLS 1
966 /* if Secure Transport is enabled */
967 #cmakedefine USE_SECTRANSP 1
969 /* if mbedTLS is enabled */
970 #cmakedefine USE_MBEDTLS 1
972 /* if BearSSL is enabled */
973 #cmakedefine USE_BEARSSL 1
975 /* if WolfSSL is enabled */
976 #cmakedefine USE_WOLFSSL 1
978 /* if libSSH is in use */
979 #cmakedefine USE_LIBSSH 1
981 /* if libSSH2 is in use */
982 #cmakedefine USE_LIBSSH2 1
984 /* If you want to build curl with the built-in manual */
985 #cmakedefine USE_MANUAL 1
987 /* if NSS is enabled */
988 #cmakedefine USE_NSS 1
990 /* if you have the PK11_CreateManagedGenericObject function */
991 #cmakedefine HAVE_PK11_CREATEMANAGEDGENERICOBJECT 1
993 /* if you want to use OpenLDAP code instead of legacy ldap implementation */
994 #cmakedefine USE_OPENLDAP 1
996 /* if OpenSSL is in use */
997 #cmakedefine USE_OPENSSL 1
999 /* to enable NGHTTP2 */
1000 #cmakedefine USE_NGHTTP2 1
1002 /* to enable NGTCP2 */
1003 #cmakedefine USE_NGTCP2 1
1005 /* to enable NGHTTP3 */
1006 #cmakedefine USE_NGHTTP3 1
1008 /* to enable quiche */
1009 #cmakedefine USE_QUICHE 1
1011 /* Define to 1 if you have the quiche_conn_set_qlog_fd function. */
1012 #cmakedefine HAVE_QUICHE_CONN_SET_QLOG_FD 1
1014 /* if Unix domain sockets are enabled */
1015 #cmakedefine USE_UNIX_SOCKETS
1017 /* to enable alt-svc */
1018 #cmakedefine USE_ALTSVC 1
1020 /* Define to 1 if you are building a Windows target with large file support. */
1021 #cmakedefine USE_WIN32_LARGE_FILES 1
1023 /* to enable SSPI support */
1024 #cmakedefine USE_WINDOWS_SSPI 1
1026 /* to enable Windows SSL */
1027 #cmakedefine USE_SCHANNEL 1
1029 /* enable multiple SSL backends */
1030 #cmakedefine CURL_WITH_MULTI_SSL 1
1032 /* Define to 1 if using yaSSL in OpenSSL compatibility mode. */
1033 #cmakedefine USE_YASSLEMUL 1
1035 /* Version number of package */
1036 #cmakedefine VERSION ${VERSION}
1038 /* Define to 1 if OS is AIX. */
1043 /* Number of bits in a file offset, on hosts where this is settable. */
1044 #cmakedefine _FILE_OFFSET_BITS ${_FILE_OFFSET_BITS}
1046 /* Define for large files, on AIX-style hosts. */
1047 #cmakedefine _LARGE_FILES ${_LARGE_FILES}
1049 /* define this if you need it to compile thread-safe code */
1050 #cmakedefine _THREAD_SAFE ${_THREAD_SAFE}
1052 /* Define to empty if `const' does not conform to ANSI C. */
1053 #cmakedefine const ${const}
1055 /* Type to use in place of in_addr_t when system does not provide it. */
1056 #cmakedefine in_addr_t ${in_addr_t}
1058 /* Define to `__inline__' or `__inline' if that's what the C compiler
1059 calls it, or to nothing if 'inline' is not supported under any name. */
1064 /* Define to `unsigned int' if <sys/types.h> does not define. */
1065 #cmakedefine size_t ${size_t}
1067 /* the signed version of size_t */
1068 #cmakedefine ssize_t ${ssize_t}
1070 /* Define to 1 if you have the mach_absolute_time function. */
1071 #cmakedefine HAVE_MACH_ABSOLUTE_TIME 1