1# Description: 2# curl is a tool for talking to web servers. 3 4licenses(["notice"]) # MIT/X derivative license 5 6exports_files(["COPYING"]) 7 8CURL_WIN_COPTS = [ 9 "/Iexternal/curl/lib", 10 "/DBUILDING_LIBCURL", 11 "/DHAVE_CONFIG_H", 12 "/DCURL_DISABLE_FTP", 13 "/DCURL_DISABLE_NTLM", 14 "/DCURL_DISABLE_PROXY", 15 "/DHAVE_LIBZ", 16 "/DHAVE_ZLIB_H", 17 # Defining _USING_V110_SDK71_ is hackery to defeat curl's incorrect 18 # detection of what OS releases we can build on with VC 2012. This 19 # may not be needed (or may have to change) if the WINVER setting 20 # changes in //third_party/msvc/vc_12_0/CROSSTOOL. 21 "/D_USING_V110_SDK71_", 22] 23 24CURL_WIN_SRCS = [ 25 "lib/asyn-thread.c", 26 "lib/inet_ntop.c", 27 "lib/system_win32.c", 28 "lib/setup-win32.h", 29] 30 31cc_library( 32 name = "curl", 33 srcs = [ 34 "include/curl_config.h", 35 "lib/altsvc.c", 36 "lib/altsvc.h", 37 "lib/amigaos.c", 38 "lib/amigaos.h", 39 "lib/arpa_telnet.h", 40 "lib/asyn-ares.c", 41 "lib/asyn.h", 42 "lib/base64.c", 43 "lib/bufref.c", 44 "lib/bufref.h", 45 "lib/c-hyper.c", 46 "lib/c-hyper.h", 47 "lib/config-amigaos.h", 48 "lib/config-dos.h", 49 "lib/config-mac.h", 50 "lib/config-os400.h", 51 "lib/config-plan9.h", 52 "lib/config-riscos.h", 53 "lib/config-tpf.h", 54 "lib/config-vxworks.h", 55 "lib/config-win32.h", 56 "lib/config-win32ce.h", 57 "lib/conncache.c", 58 "lib/conncache.h", 59 "lib/connect.c", 60 "lib/connect.h", 61 "lib/content_encoding.c", 62 "lib/content_encoding.h", 63 "lib/cookie.c", 64 "lib/cookie.h", 65 "lib/curl_addrinfo.c", 66 "lib/curl_addrinfo.h", 67 "lib/curl_base64.h", 68 "lib/curl_ctype.c", 69 "lib/curl_ctype.h", 70 "lib/curl_des.c", 71 "lib/curl_des.h", 72 "lib/curl_endian.c", 73 "lib/curl_endian.h", 74 "lib/curl_fnmatch.c", 75 "lib/curl_fnmatch.h", 76 "lib/curl_get_line.c", 77 "lib/curl_get_line.h", 78 "lib/curl_gethostname.c", 79 "lib/curl_gethostname.h", 80 "lib/curl_gssapi.c", 81 "lib/curl_gssapi.h", 82 "lib/curl_hmac.h", 83 "lib/curl_krb5.h", 84 "lib/curl_ldap.h", 85 "lib/curl_md4.h", 86 "lib/curl_md5.h", 87 "lib/curl_memory.h", 88 "lib/curl_memrchr.c", 89 "lib/curl_memrchr.h", 90 "lib/curl_multibyte.c", 91 "lib/curl_multibyte.h", 92 "lib/curl_ntlm_core.c", 93 "lib/curl_ntlm_core.h", 94 "lib/curl_ntlm_wb.c", 95 "lib/curl_ntlm_wb.h", 96 "lib/curl_path.c", 97 "lib/curl_path.h", 98 "lib/curl_printf.h", 99 "lib/curl_range.c", 100 "lib/curl_range.h", 101 "lib/curl_rtmp.c", 102 "lib/curl_rtmp.h", 103 "lib/curl_sasl.c", 104 "lib/curl_sasl.h", 105 "lib/curl_setup.h", 106 "lib/curl_setup_once.h", 107 "lib/curl_sha256.h", 108 "lib/curl_sspi.c", 109 "lib/curl_sspi.h", 110 "lib/curl_threads.c", 111 "lib/curl_threads.h", 112 "lib/curlx.h", 113 "lib/dict.c", 114 "lib/dict.h", 115 "lib/doh.c", 116 "lib/doh.h", 117 "lib/dotdot.c", 118 "lib/dotdot.h", 119 "lib/dynbuf.c", 120 "lib/dynbuf.h", 121 "lib/easy.c", 122 "lib/easygetopt.c", 123 "lib/easyif.h", 124 "lib/easyoptions.c", 125 "lib/easyoptions.h", 126 "lib/escape.c", 127 "lib/escape.h", 128 "lib/file.c", 129 "lib/file.h", 130 "lib/fileinfo.c", 131 "lib/fileinfo.h", 132 "lib/formdata.c", 133 "lib/formdata.h", 134 "lib/ftp.c", 135 "lib/ftp.h", 136 "lib/ftplistparser.c", 137 "lib/ftplistparser.h", 138 "lib/getenv.c", 139 "lib/getinfo.c", 140 "lib/getinfo.h", 141 "lib/gopher.c", 142 "lib/gopher.h", 143 "lib/hash.c", 144 "lib/hash.h", 145 "lib/hmac.c", 146 "lib/hostasyn.c", 147 "lib/hostcheck.c", 148 "lib/hostcheck.h", 149 "lib/hostip.c", 150 "lib/hostip.h", 151 "lib/hostip4.c", 152 "lib/hostip6.c", 153 "lib/hostsyn.c", 154 "lib/hsts.c", 155 "lib/hsts.h", 156 "lib/http.c", 157 "lib/http.h", 158 "lib/http2.c", 159 "lib/http2.h", 160 "lib/http_chunks.c", 161 "lib/http_chunks.h", 162 "lib/http_digest.c", 163 "lib/http_digest.h", 164 "lib/http_negotiate.c", 165 "lib/http_negotiate.h", 166 "lib/http_ntlm.c", 167 "lib/http_ntlm.h", 168 "lib/http_proxy.c", 169 "lib/http_proxy.h", 170 "lib/http_aws_sigv4.c", 171 "lib/http_aws_sigv4.h", 172 "lib/idn_win32.c", 173 "lib/if2ip.c", 174 "lib/if2ip.h", 175 "lib/imap.c", 176 "lib/imap.h", 177 "lib/inet_ntop.h", 178 "lib/inet_pton.c", 179 "lib/inet_pton.h", 180 "lib/krb5.c", 181 "lib/ldap.c", 182 "lib/llist.c", 183 "lib/llist.h", 184 "lib/md4.c", 185 "lib/md5.c", 186 "lib/memdebug.c", 187 "lib/memdebug.h", 188 "lib/mime.c", 189 "lib/mime.h", 190 "lib/mprintf.c", 191 "lib/mqtt.c", 192 "lib/mqtt.h", 193 "lib/multi.c", 194 "lib/multihandle.h", 195 "lib/multiif.h", 196 "lib/netrc.c", 197 "lib/netrc.h", 198 "lib/non-ascii.c", 199 "lib/non-ascii.h", 200 "lib/nonblock.c", 201 "lib/nonblock.h", 202 #"lib/nwlib.c", 203 #"lib/nwos.c", 204 "lib/openldap.c", 205 "lib/parsedate.c", 206 "lib/parsedate.h", 207 "lib/pingpong.c", 208 "lib/pingpong.h", 209 "lib/pop3.c", 210 "lib/pop3.h", 211 "lib/progress.c", 212 "lib/progress.h", 213 "lib/psl.c", 214 "lib/psl.h", 215 "lib/quic.h", 216 "lib/rand.c", 217 "lib/rand.h", 218 "lib/rename.c", 219 "lib/rename.h", 220 "lib/rtsp.c", 221 "lib/rtsp.h", 222 "lib/select.c", 223 "lib/select.h", 224 "lib/sendf.c", 225 "lib/sendf.h", 226 "lib/setopt.c", 227 "lib/setopt.h", 228 "lib/setup-vms.h", 229 "lib/sha256.c", 230 "lib/share.c", 231 "lib/share.h", 232 "lib/sigpipe.h", 233 "lib/slist.c", 234 "lib/slist.h", 235 "lib/smb.c", 236 "lib/smb.h", 237 "lib/smtp.c", 238 "lib/smtp.h", 239 "lib/sockaddr.h", 240 "lib/socketpair.c", 241 "lib/socketpair.h", 242 "lib/socks.c", 243 "lib/socks.h", 244 "lib/socks_gssapi.c", 245 "lib/socks_sspi.c", 246 "lib/speedcheck.c", 247 "lib/speedcheck.h", 248 "lib/splay.c", 249 "lib/splay.h", 250 "lib/strcase.c", 251 "lib/strcase.h", 252 "lib/strdup.c", 253 "lib/strdup.h", 254 "lib/strerror.c", 255 "lib/strerror.h", 256 "lib/strtok.c", 257 "lib/strtok.h", 258 "lib/strtoofft.c", 259 "lib/strtoofft.h", 260 "lib/system_win32.h", 261 "lib/telnet.c", 262 "lib/telnet.h", 263 "lib/tftp.c", 264 "lib/tftp.h", 265 "lib/timeval.c", 266 "lib/timeval.h", 267 "lib/transfer.c", 268 "lib/transfer.h", 269 "lib/url.c", 270 "lib/url.h", 271 "lib/urldata.h", 272 "lib/urlapi-int.h", 273 "lib/urlapi.c", 274 "lib/version.c", 275 "lib/version_win32.c", 276 "lib/version_win32.h", 277 "lib/warnless.c", 278 "lib/warnless.h", 279 "lib/wildcard.c", 280 "lib/wildcard.h", 281 "lib/x509asn1.c", 282 "lib/x509asn1.h", 283 "lib/vauth/cleartext.c", 284 "lib/vauth/cram.c", 285 "lib/vauth/digest.c", 286 "lib/vauth/digest.h", 287 "lib/vauth/digest_sspi.c", 288 "lib/vauth/krb5_gssapi.c", 289 "lib/vauth/krb5_sspi.c", 290 "lib/vauth/ntlm.c", 291 "lib/vauth/ntlm.h", 292 "lib/vauth/ntlm_sspi.c", 293 "lib/vauth/oauth2.c", 294 "lib/vauth/spnego_sspi.c", 295 "lib/vauth/vauth.c", 296 "lib/vauth/vauth.h", 297 "lib/vquic/ngtcp2.c", 298 "lib/vquic/ngtcp2.h", 299 "lib/vquic/quiche.c", 300 "lib/vquic/quiche.h", 301 "lib/vquic/vquic.c", 302 "lib/vquic/vquic.h", 303 "lib/vssh/libssh.c", 304 "lib/vssh/libssh2.c", 305 "lib/vssh/ssh.h", 306 "lib/vssh/wolfssh.c", 307 "lib/vtls/bearssl.c", 308 "lib/vtls/bearssl.h", 309 "lib/vtls/gskit.c", 310 "lib/vtls/gskit.h", 311 "lib/vtls/gtls.c", 312 "lib/vtls/gtls.h", 313 "lib/vtls/keylog.c", 314 "lib/vtls/keylog.h", 315 "lib/vtls/mbedtls.c", 316 "lib/vtls/mbedtls.h", 317 "lib/vtls/mbedtls_threadlock.c", 318 "lib/vtls/mbedtls_threadlock.h", 319 "lib/vtls/mesalink.c", 320 "lib/vtls/mesalink.h", 321 "lib/vtls/nss.c", 322 "lib/vtls/nssg.h", 323 "lib/vtls/openssl.c", 324 "lib/vtls/openssl.h", 325 "lib/vtls/rustls.c", 326 "lib/vtls/rustls.h", 327 "lib/vtls/schannel.c", 328 "lib/vtls/schannel.h", 329 "lib/vtls/schannel_verify.c", 330 "lib/vtls/sectransp.h", 331 "lib/vtls/vtls.c", 332 "lib/vtls/vtls.h", 333 "lib/vtls/wolfssl.c", 334 "lib/vtls/wolfssl.h", 335 ] + select({ 336 "@org_tensorflow//tensorflow:macos": [ 337 "lib/vtls/sectransp.c", 338 ], 339 "@org_tensorflow//tensorflow:ios": [ 340 "lib/vtls/sectransp.c", 341 ], 342 "@org_tensorflow//tensorflow:windows": CURL_WIN_SRCS, 343 "//conditions:default": [ 344 ], 345 }), 346 hdrs = [ 347 "include/curl/curl.h", 348 "include/curl/curlver.h", 349 "include/curl/easy.h", 350 "include/curl/mprintf.h", 351 "include/curl/multi.h", 352 "include/curl/options.h", 353 "include/curl/stdcheaders.h", 354 "include/curl/system.h", 355 "include/curl/typecheck-gcc.h", 356 "include/curl/urlapi.h", 357 ], 358 copts = select({ 359 "@org_tensorflow//tensorflow:windows": CURL_WIN_COPTS, 360 "//conditions:default": [ 361 "-Iexternal/curl/lib", 362 "-D_GNU_SOURCE", 363 "-DBUILDING_LIBCURL", 364 "-DHAVE_CONFIG_H", 365 "-DCURL_DISABLE_FTP", 366 "-DCURL_DISABLE_NTLM", # turning it off in configure is not enough 367 "-DHAVE_LIBZ", 368 "-DHAVE_ZLIB_H", 369 "-Wno-string-plus-int", 370 ], 371 }) + select({ 372 "@org_tensorflow//tensorflow:macos": [ 373 "-fno-constant-cfstrings", 374 ], 375 "@org_tensorflow//tensorflow:windows": [ 376 # See curl.h for discussion of write size and Windows 377 "/DCURL_MAX_WRITE_SIZE=16384", 378 ], 379 "//conditions:default": [ 380 "-DCURL_MAX_WRITE_SIZE=65536", 381 ], 382 }), 383 defines = ["CURL_STATICLIB"], 384 includes = ["include"], 385 linkopts = select({ 386 "@org_tensorflow//tensorflow:android": [ 387 "-pie", 388 ], 389 "@org_tensorflow//tensorflow:macos": [ 390 "-Wl,-framework", 391 "-Wl,CoreFoundation", 392 "-Wl,-framework", 393 "-Wl,SystemConfiguration", 394 "-Wl,-framework", 395 "-Wl,Security", 396 ], 397 "@org_tensorflow//tensorflow:ios": [], 398 "@org_tensorflow//tensorflow:windows": [ 399 "-DEFAULTLIB:ws2_32.lib", 400 "-DEFAULTLIB:advapi32.lib", 401 "-DEFAULTLIB:crypt32.lib", 402 "-DEFAULTLIB:Normaliz.lib", 403 ], 404 "//conditions:default": [ 405 "-lrt", 406 ], 407 }), 408 visibility = ["//visibility:public"], 409 deps = [ 410 "@zlib", 411 ] + select({ 412 "@org_tensorflow//tensorflow:ios": [], 413 "@org_tensorflow//tensorflow:windows": [], 414 "//conditions:default": [ 415 "@boringssl//:ssl", 416 ], 417 }), 418) 419 420CURL_BIN_WIN_COPTS = [ 421 "/Iexternal/curl/lib", 422 "/DHAVE_CONFIG_H", 423 "/DCURL_DISABLE_LIBCURL_OPTION", 424] 425 426cc_binary( 427 name = "curl_bin", 428 srcs = [ 429 "lib/config-win32.h", 430 "src/slist_wc.c", 431 "src/slist_wc.h", 432 "src/tool_binmode.c", 433 "src/tool_binmode.h", 434 "src/tool_bname.c", 435 "src/tool_bname.h", 436 "src/tool_cb_dbg.c", 437 "src/tool_cb_dbg.h", 438 "src/tool_cb_hdr.c", 439 "src/tool_cb_hdr.h", 440 "src/tool_cb_prg.c", 441 "src/tool_cb_prg.h", 442 "src/tool_cb_rea.c", 443 "src/tool_cb_rea.h", 444 "src/tool_cb_see.c", 445 "src/tool_cb_see.h", 446 "src/tool_cb_wrt.c", 447 "src/tool_cb_wrt.h", 448 "src/tool_cfgable.c", 449 "src/tool_cfgable.h", 450 "src/tool_convert.c", 451 "src/tool_convert.h", 452 "src/tool_dirhie.c", 453 "src/tool_dirhie.h", 454 "src/tool_doswin.c", 455 "src/tool_doswin.h", 456 "src/tool_easysrc.c", 457 "src/tool_easysrc.h", 458 "src/tool_filetime.c", 459 "src/tool_filetime.h", 460 "src/tool_formparse.c", 461 "src/tool_formparse.h", 462 "src/tool_getparam.c", 463 "src/tool_getparam.h", 464 "src/tool_getpass.c", 465 "src/tool_getpass.h", 466 "src/tool_help.c", 467 "src/tool_help.h", 468 "src/tool_helpers.c", 469 "src/tool_helpers.h", 470 "src/tool_homedir.c", 471 "src/tool_homedir.h", 472 "src/tool_hugehelp.c", 473 "src/tool_hugehelp.h", 474 "src/tool_libinfo.c", 475 "src/tool_libinfo.h", 476 "src/tool_main.c", 477 "src/tool_main.h", 478 "src/tool_metalink.c", 479 "src/tool_metalink.h", 480 "src/tool_mfiles.c", 481 "src/tool_mfiles.h", 482 "src/tool_msgs.c", 483 "src/tool_msgs.h", 484 "src/tool_operate.c", 485 "src/tool_operate.h", 486 "src/tool_operhlp.c", 487 "src/tool_operhlp.h", 488 "src/tool_panykey.c", 489 "src/tool_panykey.h", 490 "src/tool_paramhlp.c", 491 "src/tool_paramhlp.h", 492 "src/tool_parsecfg.c", 493 "src/tool_parsecfg.h", 494 "src/tool_progress.c", 495 "src/tool_progress.h", 496 "src/tool_sdecls.h", 497 "src/tool_setopt.c", 498 "src/tool_setopt.h", 499 "src/tool_setup.h", 500 "src/tool_sleep.c", 501 "src/tool_sleep.h", 502 "src/tool_strdup.c", 503 "src/tool_strdup.h", 504 "src/tool_urlglob.c", 505 "src/tool_urlglob.h", 506 "src/tool_util.c", 507 "src/tool_util.h", 508 "src/tool_version.h", 509 "src/tool_vms.c", 510 "src/tool_vms.h", 511 "src/tool_writeenv.c", 512 "src/tool_writeenv.h", 513 "src/tool_writeout.c", 514 "src/tool_writeout.h", 515 "src/tool_writeout_json.c", 516 "src/tool_writeout_json.h", 517 "src/tool_xattr.c", 518 "src/tool_xattr.h", 519 ], 520 copts = select({ 521 "@org_tensorflow//tensorflow:windows": CURL_BIN_WIN_COPTS, 522 "//conditions:default": [ 523 "-Iexternal/curl/lib", 524 "-D_GNU_SOURCE", 525 "-DHAVE_CONFIG_H", 526 "-DCURL_DISABLE_LIBCURL_OPTION", 527 "-Wno-string-plus-int", 528 ], 529 }), 530 deps = [":curl"], 531) 532 533genrule( 534 name = "configure", 535 outs = ["include/curl_config.h"], 536 cmd = "\n".join([ 537 "cat <<'EOF' >$@", 538 "#ifndef EXTERNAL_CURL_INCLUDE_CURL_CONFIG_H_", 539 "#define EXTERNAL_CURL_INCLUDE_CURL_CONFIG_H_", 540 "", 541 "#if !defined(_WIN32) && !defined(__APPLE__)", 542 "# include <openssl/opensslv.h>", 543 "# if defined(OPENSSL_IS_BORINGSSL)", 544 "# define HAVE_BORINGSSL 1", 545 "# endif", 546 "#endif", 547 "", 548 "#if defined(_WIN32)", 549 "# include \"lib/config-win32.h\"", 550 "# define BUILDING_LIBCURL 1", 551 "# define CURL_DISABLE_CRYPTO_AUTH 1", 552 "# define CURL_DISABLE_DICT 1", 553 "# define CURL_DISABLE_FILE 1", 554 "# define CURL_DISABLE_GOPHER 1", 555 "# define CURL_DISABLE_IMAP 1", 556 "# define CURL_DISABLE_LDAP 1", 557 "# define CURL_DISABLE_LDAPS 1", 558 "# define CURL_DISABLE_POP3 1", 559 "# define CURL_PULL_WS2TCPIP_H 1", 560 "# define CURL_DISABLE_SMTP 1", 561 "# define CURL_DISABLE_TELNET 1", 562 "# define CURL_DISABLE_TFTP 1", 563 "# define CURL_PULL_WS2TCPIP_H 1", 564 "# define USE_WINDOWS_SSPI 1", 565 "# define USE_WIN32_IDN 1", 566 "# define USE_SCHANNEL 1", 567 "# define WANT_IDN_PROTOTYPES 1", 568 "#elif defined(__APPLE__)", 569 "# define HAVE_FSETXATTR_6 1", 570 "# define HAVE_SETMODE 1", 571 "# define HAVE_SYS_FILIO_H 1", 572 "# define HAVE_SYS_SOCKIO_H 1", 573 "# define OS \"x86_64-apple-darwin15.5.0\"", 574 "# define USE_SECTRANSP 1", 575 "#else", 576 "# define CURL_CA_BUNDLE \"/etc/ssl/certs/ca-certificates.crt\"", 577 "# define GETSERVBYPORT_R_ARGS 6", 578 "# define GETSERVBYPORT_R_BUFSIZE 4096", 579 "# define HAVE_BORINGSSL 1", 580 "# define HAVE_CLOCK_GETTIME_MONOTONIC 1", 581 "# define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1", 582 "# define HAVE_FSETXATTR_5 1", 583 "# define HAVE_GETHOSTBYADDR_R 1", 584 "# define HAVE_GETHOSTBYADDR_R_8 1", 585 "# define HAVE_GETHOSTBYNAME_R 1", 586 "# define HAVE_GETHOSTBYNAME_R_6 1", 587 "# define HAVE_GETSERVBYPORT_R 1", 588 "# define HAVE_LIBSSL 1", 589 "# define HAVE_MALLOC_H 1", 590 "# define HAVE_MSG_NOSIGNAL 1", 591 "# define HAVE_OPENSSL_CRYPTO_H 1", 592 "# define HAVE_OPENSSL_ERR_H 1", 593 "# define HAVE_OPENSSL_PEM_H 1", 594 "# define HAVE_OPENSSL_PKCS12_H 1", 595 "# define HAVE_OPENSSL_RSA_H 1", 596 "# define HAVE_OPENSSL_SSL_H 1", 597 "# define HAVE_OPENSSL_X509_H 1", 598 "# define HAVE_RAND_EGD 1", 599 "# define HAVE_RAND_STATUS 1", 600 "# define HAVE_SSL_GET_SHUTDOWN 1", 601 "# define HAVE_TERMIOS_H 1", 602 "# define OS \"x86_64-pc-linux-gnu\"", 603 "# define RANDOM_FILE \"/dev/urandom\"", 604 "# define USE_OPENSSL 1", 605 "#endif", 606 "", 607 "#if !defined(_WIN32)", 608 "# define CURL_DISABLE_DICT 1", 609 "# define CURL_DISABLE_FILE 1", 610 "# define CURL_DISABLE_GOPHER 1", 611 "# define CURL_DISABLE_IMAP 1", 612 "# define CURL_DISABLE_LDAP 1", 613 "# define CURL_DISABLE_LDAPS 1", 614 "# define CURL_DISABLE_POP3 1", 615 "# define CURL_DISABLE_SMTP 1", 616 "# define CURL_DISABLE_TELNET 1", 617 "# define CURL_DISABLE_TFTP 1", 618 "# define CURL_EXTERN_SYMBOL __attribute__ ((__visibility__ (\"default\")))", 619 "# define ENABLE_IPV6 1", 620 "# define GETHOSTNAME_TYPE_ARG2 size_t", 621 "# define GETNAMEINFO_QUAL_ARG1 const", 622 "# define GETNAMEINFO_TYPE_ARG1 struct sockaddr *", 623 "# define GETNAMEINFO_TYPE_ARG2 socklen_t", 624 "# define GETNAMEINFO_TYPE_ARG46 socklen_t", 625 "# define GETNAMEINFO_TYPE_ARG7 int", 626 "# define HAVE_ALARM 1", 627 "# define HAVE_ALLOCA_H 1", 628 "# define HAVE_ARPA_INET_H 1", 629 "# define HAVE_ARPA_TFTP_H 1", 630 "# define HAVE_ASSERT_H 1", 631 "# define HAVE_BASENAME 1", 632 "# define HAVE_BOOL_T 1", 633 "# define HAVE_CONNECT 1", 634 "# define HAVE_DLFCN_H 1", 635 "# define HAVE_ERRNO_H 1", 636 "# define HAVE_FCNTL 1", 637 "# define HAVE_FCNTL_H 1", 638 "# define HAVE_FCNTL_O_NONBLOCK 1", 639 "# define HAVE_FDOPEN 1", 640 "# define HAVE_FORK 1", 641 "# define HAVE_FREEADDRINFO 1", 642 "# define HAVE_FREEIFADDRS 1", 643 "# if !defined(__ANDROID__)", 644 "# define HAVE_FSETXATTR 1", 645 "# endif", 646 "# define HAVE_FTRUNCATE 1", 647 "# define HAVE_GAI_STRERROR 1", 648 "# define HAVE_GETADDRINFO 1", 649 "# define HAVE_GETADDRINFO_THREADSAFE 1", 650 "# define HAVE_GETEUID 1", 651 "# define HAVE_GETHOSTBYADDR 1", 652 "# define HAVE_GETHOSTBYNAME 1", 653 "# define HAVE_GETHOSTNAME 1", 654 "# if !defined(__ANDROID__)", 655 "# define HAVE_GETIFADDRS 1", 656 "# endif", 657 "# define HAVE_GETNAMEINFO 1", 658 "# define HAVE_GETPPID 1", 659 "# define HAVE_GETPROTOBYNAME 1", 660 "# define HAVE_GETPWUID 1", 661 "# if !defined(__ANDROID__)", 662 "# define HAVE_GETPWUID_R 1", 663 "# endif", 664 "# define HAVE_GETRLIMIT 1", 665 "# define HAVE_GETTIMEOFDAY 1", 666 "# define HAVE_GMTIME_R 1", 667 "# if !defined(__ANDROID__)", 668 "# define HAVE_IFADDRS_H 1", 669 "# endif", 670 "# define HAVE_IF_NAMETOINDEX 1", 671 "# define HAVE_INET_ADDR 1", 672 "# define HAVE_INET_NTOP 1", 673 "# define HAVE_INET_PTON 1", 674 "# define HAVE_INTTYPES_H 1", 675 "# define HAVE_IOCTL 1", 676 "# define HAVE_IOCTL_FIONBIO 1", 677 "# define HAVE_IOCTL_SIOCGIFADDR 1", 678 "# define HAVE_LIBGEN_H 1", 679 "# define HAVE_LIBZ 1", 680 "# define HAVE_LIMITS_H 1", 681 "# define HAVE_LL 1", 682 "# define HAVE_LOCALE_H 1", 683 "# define HAVE_LOCALTIME_R 1", 684 "# define HAVE_LONGLONG 1", 685 "# define HAVE_MEMORY_H 1", 686 "# define HAVE_NETDB_H 1", 687 "# define HAVE_NETINET_IN_H 1", 688 "# define HAVE_NETINET_TCP_H 1", 689 "# define HAVE_NET_IF_H 1", 690 "# define HAVE_PERROR 1", 691 "# define HAVE_PIPE 1", 692 "# define HAVE_POLL 1", 693 "# define HAVE_POLL_FINE 1", 694 "# define HAVE_POLL_H 1", 695 "# define HAVE_POSIX_STRERROR_R 1", 696 "# define HAVE_PWD_H 1", 697 "# define HAVE_RECV 1", 698 "# define HAVE_SELECT 1", 699 "# define HAVE_SEND 1", 700 "# define HAVE_SETJMP_H 1", 701 "# define HAVE_SETLOCALE 1", 702 "# define HAVE_SETRLIMIT 1", 703 "# define HAVE_SETSOCKOPT 1", 704 "# define HAVE_SGTTY_H 1", 705 "# define HAVE_SIGACTION 1", 706 "# define HAVE_SIGINTERRUPT 1", 707 "# define HAVE_SIGNAL 1", 708 "# define HAVE_SIGNAL_H 1", 709 "# define HAVE_SIGSETJMP 1", 710 "# define HAVE_SIG_ATOMIC_T 1", 711 "# define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1", 712 "# define HAVE_SOCKET 1", 713 "# define HAVE_SOCKETPAIR 1", 714 "# define HAVE_STDBOOL_H 1", 715 "# define HAVE_STDINT_H 1", 716 "# define HAVE_STDIO_H 1", 717 "# define HAVE_STDLIB_H 1", 718 "# define HAVE_STRCASECMP 1", 719 "# define HAVE_STRDUP 1", 720 "# define HAVE_STRERROR_R 1", 721 "# define HAVE_STRINGS_H 1", 722 "# define HAVE_STRING_H 1", 723 "# define HAVE_STRNCASECMP 1", 724 "# define HAVE_STRSTR 1", 725 "# define HAVE_STRTOK_R 1", 726 "# define HAVE_STRTOLL 1", 727 "# define HAVE_STRUCT_SOCKADDR_STORAGE 1", 728 "# define HAVE_STRUCT_TIMEVAL 1", 729 "# define HAVE_SYS_IOCTL_H 1", 730 "# define HAVE_SYS_PARAM_H 1", 731 "# define HAVE_SYS_POLL_H 1", 732 "# define HAVE_SYS_RESOURCE_H 1", 733 "# define HAVE_SYS_SELECT_H 1", 734 "# define HAVE_SYS_SOCKET_H 1", 735 "# define HAVE_SYS_STAT_H 1", 736 "# define HAVE_SYS_TIME_H 1", 737 "# define HAVE_SYS_TYPES_H 1", 738 "# define HAVE_SYS_UIO_H 1", 739 "# define HAVE_SYS_UN_H 1", 740 "# define HAVE_SYS_WAIT_H 1", 741 "# define HAVE_SYS_XATTR_H 1", 742 "# define HAVE_TIME_H 1", 743 "# define HAVE_UNAME 1", 744 "# define HAVE_UNISTD_H 1", 745 "# define HAVE_UTIME 1", 746 "# define HAVE_UTIME_H 1", 747 "# define HAVE_VARIADIC_MACROS_C99 1", 748 "# define HAVE_VARIADIC_MACROS_GCC 1", 749 "# define HAVE_WRITABLE_ARGV 1", 750 "# define HAVE_WRITEV 1", 751 "# define HAVE_ZLIB_H 1", 752 "# define LT_OBJDIR \".libs/\"", 753 "# define PACKAGE \"curl\"", 754 "# define PACKAGE_BUGREPORT \"a suitable curl mailing list: https://curl.haxx.se/mail/\"", 755 "# define PACKAGE_NAME \"curl\"", 756 "# define PACKAGE_STRING \"curl -\"", 757 "# define PACKAGE_TARNAME \"curl\"", 758 "# define PACKAGE_URL \"\"", 759 "# define PACKAGE_VERSION \"-\"", 760 "# define RECV_TYPE_ARG1 int", 761 "# define RECV_TYPE_ARG2 void *", 762 "# define RECV_TYPE_ARG3 size_t", 763 "# define RECV_TYPE_ARG4 int", 764 "# define RECV_TYPE_RETV ssize_t", 765 "# define RETSIGTYPE void", 766 "# define SELECT_QUAL_ARG5", 767 "# define SELECT_TYPE_ARG1 int", 768 "# define SELECT_TYPE_ARG234 fd_set *", 769 "# define SELECT_TYPE_ARG5 struct timeval *", 770 "# define SELECT_TYPE_RETV int", 771 "# define SEND_QUAL_ARG2 const", 772 "# define SEND_TYPE_ARG1 int", 773 "# define SEND_TYPE_ARG2 void *", 774 "# define SEND_TYPE_ARG3 size_t", 775 "# define SEND_TYPE_ARG4 int", 776 "# define SEND_TYPE_RETV ssize_t", 777 "# define SIZEOF_INT 4", 778 "# define SIZEOF_LONG 8", 779 "# define SIZEOF_OFF_T 8", 780 "# define SIZEOF_CURL_OFF_T 8", 781 "# define SIZEOF_SHORT 2", 782 "# define SIZEOF_SIZE_T 8", 783 "# define SIZEOF_TIME_T 8", 784 "# define SIZEOF_VOIDP 8", 785 "# define STDC_HEADERS 1", 786 "# define STRERROR_R_TYPE_ARG3 size_t", 787 "# define TIME_WITH_SYS_TIME 1", 788 "# define VERSION \"-\"", 789 "# ifndef _DARWIN_USE_64_BIT_INODE", 790 "# define _DARWIN_USE_64_BIT_INODE 1", 791 "# endif", 792 "#endif", 793 "", 794 "#endif // EXTERNAL_CURL_INCLUDE_CURL_CONFIG_H_", 795 "EOF", 796 ]), 797) 798