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