diff --git a/0001-fix-CVE-2024-2004-CVE-2024-2379.patch b/0001-fix-CVE-2024-2004-CVE-2024-2379.patch new file mode 100644 index 0000000000000000000000000000000000000000..f436c93bc3fe8f62353f63062a280d79f137ab65 --- /dev/null +++ b/0001-fix-CVE-2024-2004-CVE-2024-2379.patch @@ -0,0 +1,246167 @@ +From ed0a42a03bc4e4542557cac7edc60c3f3f3f6a8d Mon Sep 17 00:00:00 2001 +From: cuilichen +Date: Wed, 12 Jun 2024 14:27:43 +0800 +Subject: [PATCH] fix CVE-2024-2004 CVE-2024-2379 + +--- + CHANGES | 13343 +++++---- + CMake/CurlTests.c | 271 +- + CMake/FindZstd.cmake | 7 + + CMake/Macros.cmake | 52 +- + CMake/OtherTests.cmake | 175 +- + CMake/PickyWarnings.cmake | 65 +- + CMake/Platforms/WindowsCache.cmake | 255 +- + CMake/Utilities.cmake | 2 +- + CMake/curl-config.cmake.in | 4 +- + CMakeLists.txt | 773 +- + COPYING | 2 +- + Makefile | 21 - + Makefile.am | 147 +- + Makefile.in | 176 +- + RELEASE-NOTES | 633 +- + acinclude.m4 | 303 +- + autom4te.cache/output.0 | 2929 +- + autom4te.cache/output.1 | 2929 +- + autom4te.cache/output.2 | 2929 +- + autom4te.cache/requests | 923 +- + autom4te.cache/traces.0 | 3475 ++- + autom4te.cache/traces.1 | 4066 +-- + autom4te.cache/traces.2 | 4066 +-- + buildconf.bat | 80 +- + configure | 2911 +- + configure.ac | 438 +- + configure~ | 2911 +- + curl-config.in | 23 +- + docs/ALTSVC.md | 8 +- + docs/BINDINGS.md | 4 + + docs/BUFREF.md | 3 +- + docs/BUG-BOUNTY.md | 15 +- + docs/BUGS.md | 73 +- + docs/CHECKSRC.md | 16 +- + docs/CIPHERS.md | 14 +- + docs/CLIENT-READERS.md | 126 + + docs/CLIENT-WRITERS.md | 117 + + docs/CMakeLists.txt | 8 +- + docs/CODE_STYLE.md | 6 +- + docs/CONNECTION-FILTERS.md | 229 +- + docs/CONTRIBUTE.md | 83 +- + docs/CURLDOWN.md | 153 + + docs/DEPRECATE.md | 17 +- + docs/DISTROS.md | 233 + + docs/DYNBUF.md | 6 +- + docs/EARLY-RELEASE.md | 2 +- + docs/EXPERIMENTAL.md | 6 +- + docs/FEATURES.md | 12 +- + docs/GOVERNANCE.md | 50 +- + docs/HELP-US.md | 17 +- + docs/HISTORY.md | 2 +- + docs/HSTS.md | 8 +- + docs/HTTP-COOKIES.md | 40 +- + docs/HTTP2.md | 24 +- + docs/HTTP3.md | 131 +- + docs/HYPER.md | 9 +- + docs/INSTALL-CMAKE.md | 133 + + docs/INSTALL.md | 243 +- + docs/INTERNALS.md | 1 - + docs/KNOWN_BUGS | 118 +- + docs/MAIL-ETIQUETTE | 57 +- + docs/MQTT.md | 2 +- + docs/Makefile.am | 73 +- + docs/Makefile.in | 103 +- + docs/NEW-PROTOCOL.md | 28 +- + docs/PARALLEL-TRANSFERS.md | 12 +- + docs/README.md | 6 +- + docs/RELEASE-PROCEDURE.md | 13 +- + docs/RUSTLS.md | 4 +- + docs/SECURITY-ADVISORY.md | 6 +- + docs/SPONSORS.md | 41 + + docs/SSL-PROBLEMS.md | 6 +- + docs/SSLCERTS.md | 63 +- + docs/THANKS | 136 + + docs/TODO | 45 +- + docs/TheArtOfHttpScripting.md | 192 +- + docs/URL-SYNTAX.md | 46 +- + docs/VERSIONS.md | 8 +- + docs/VULN-DISCLOSURE-POLICY.md | 25 +- + docs/WEBSOCKET.md | 12 +- + docs/cmdline-opts/CMakeLists.txt | 12 +- + docs/cmdline-opts/MANPAGE.md | 75 +- + docs/cmdline-opts/Makefile.am | 29 +- + docs/cmdline-opts/Makefile.in | 670 +- + docs/cmdline-opts/Makefile.inc | 539 +- + docs/cmdline-opts/_AUTHORS.md | 5 + + docs/cmdline-opts/_BUGS.md | 5 + + docs/cmdline-opts/_DESCRIPTION.md | 11 + + docs/cmdline-opts/_ENVIRONMENT.md | 114 + + docs/cmdline-opts/_EXITCODES.md | 203 + + docs/cmdline-opts/_FILES.md | 6 + + docs/cmdline-opts/_GLOBBING.md | 40 + + docs/cmdline-opts/_NAME.md | 4 + + docs/cmdline-opts/_OPTIONS.md | 26 + + docs/cmdline-opts/_OUTPUT.md | 11 + + docs/cmdline-opts/_PROGRESS.md | 25 + + docs/cmdline-opts/_PROTOCOLS.md | 51 + + docs/cmdline-opts/_PROXYPREFIX.md | 22 + + docs/cmdline-opts/_SEEALSO.md | 5 + + docs/cmdline-opts/_SYNOPSIS.md | 5 + + docs/cmdline-opts/_URL.md | 28 + + docs/cmdline-opts/_VARIABLES.md | 44 + + docs/cmdline-opts/_VERSION.md | 15 + + docs/cmdline-opts/_WWW.md | 4 + + docs/cmdline-opts/abstract-unix-socket.md | 21 + + docs/cmdline-opts/alt-svc.md | 28 + + docs/cmdline-opts/anyauth.md | 30 + + docs/cmdline-opts/append.md | 23 + + docs/cmdline-opts/aws-sigv4.md | 30 + + docs/cmdline-opts/basic.md | 23 + + docs/cmdline-opts/ca-native.md | 28 + + docs/cmdline-opts/cacert.md | 42 + + docs/cmdline-opts/capath.md | 28 + + docs/cmdline-opts/cert-status.md | 25 + + docs/cmdline-opts/cert-type.md | 26 + + docs/cmdline-opts/cert.md | 56 + + docs/cmdline-opts/ciphers.md | 24 + + docs/cmdline-opts/compressed-ssh.md | 19 + + docs/cmdline-opts/compressed.md | 27 + + docs/cmdline-opts/config.md | 84 + + docs/cmdline-opts/connect-timeout.md | 28 + + docs/cmdline-opts/connect-to.md | 30 + + docs/cmdline-opts/continue-at.md | 26 + + docs/cmdline-opts/cookie-jar.md | 38 + + docs/cmdline-opts/cookie.md | 61 + + docs/cmdline-opts/create-dirs.md | 26 + + docs/cmdline-opts/create-file-mode.md | 23 + + docs/cmdline-opts/crlf.md | 21 + + docs/cmdline-opts/crlfile.md | 21 + + docs/cmdline-opts/curves.md | 28 + + docs/cmdline-opts/data-ascii.md | 21 + + docs/cmdline-opts/data-binary.md | 31 + + docs/cmdline-opts/data-raw.md | 21 + + docs/cmdline-opts/data-urlencode.md | 51 + + docs/cmdline-opts/data.md | 49 + + docs/cmdline-opts/delegation.md | 30 + + docs/cmdline-opts/digest.md | 23 + + docs/cmdline-opts/disable-eprt.md | 32 + + docs/cmdline-opts/disable-epsv.md | 30 + + docs/cmdline-opts/disable.md | 23 + + docs/cmdline-opts/disallow-username-in-url.md | 18 + + docs/cmdline-opts/dns-interface.md | 23 + + docs/cmdline-opts/dns-ipv4-addr.md | 23 + + docs/cmdline-opts/dns-ipv6-addr.md | 23 + + docs/cmdline-opts/dns-servers.md | 24 + + docs/cmdline-opts/doh-cert-status.md | 26 + + docs/cmdline-opts/doh-insecure.md | 17 + + docs/cmdline-opts/doh-url.md | 27 + + docs/cmdline-opts/dump-header.md | 27 + + docs/cmdline-opts/egd-file.md | 23 + + docs/cmdline-opts/engine.md | 22 + + docs/cmdline-opts/etag-compare.md | 27 + + docs/cmdline-opts/etag-save.md | 22 + + docs/cmdline-opts/expect100-timeout.md | 25 + + docs/cmdline-opts/fail-early.md | 32 + + docs/cmdline-opts/fail-with-body.md | 27 + + docs/cmdline-opts/fail.md | 29 + + docs/cmdline-opts/false-start.md | 23 + + docs/cmdline-opts/form-escape.md | 19 + + docs/cmdline-opts/form-string.md | 23 + + docs/cmdline-opts/form.md | 142 + + docs/cmdline-opts/ftp-account.md | 20 + + docs/cmdline-opts/ftp-alternative-to-user.md | 23 + + docs/cmdline-opts/ftp-create-dirs.md | 20 + + docs/cmdline-opts/ftp-method.md | 36 + + docs/cmdline-opts/ftp-pasv.md | 26 + + docs/cmdline-opts/ftp-port.md | 51 + + docs/cmdline-opts/ftp-pret.md | 21 + + docs/cmdline-opts/ftp-skip-pasv-ip.md | 24 + + docs/cmdline-opts/ftp-ssl-ccc-mode.md | 22 + + docs/cmdline-opts/ftp-ssl-ccc.md | 22 + + docs/cmdline-opts/ftp-ssl-control.md | 20 + + docs/cmdline-opts/get.md | 28 + + docs/cmdline-opts/globoff.md | 22 + + .../cmdline-opts/happy-eyeballs-timeout-ms.md | 28 + + docs/cmdline-opts/haproxy-clientip.md | 33 + + docs/cmdline-opts/haproxy-protocol.md | 23 + + docs/cmdline-opts/head.md | 23 + + docs/cmdline-opts/header.md | 64 + + docs/cmdline-opts/help.md | 26 + + docs/cmdline-opts/hostpubmd5.md | 21 + + docs/cmdline-opts/hostpubsha256.md | 23 + + docs/cmdline-opts/hsts.md | 32 + + docs/cmdline-opts/http0.9.md | 27 + + docs/cmdline-opts/http1.0.md | 22 + + docs/cmdline-opts/http1.1.md | 21 + + docs/cmdline-opts/http2-prior-knowledge.md | 25 + + docs/cmdline-opts/http2.md | 33 + + docs/cmdline-opts/http3-only.md | 32 + + docs/cmdline-opts/http3.md | 33 + + docs/cmdline-opts/ignore-content-length.md | 25 + + docs/cmdline-opts/include.md | 26 + + docs/cmdline-opts/insecure.md | 41 + + docs/cmdline-opts/interface.md | 25 + + docs/cmdline-opts/ipfs-gateway.md | 39 + + docs/cmdline-opts/ipv4.md | 24 + + docs/cmdline-opts/ipv6.md | 28 + + docs/cmdline-opts/json.md | 42 + + docs/cmdline-opts/junk-session-cookies.md | 22 + + docs/cmdline-opts/keepalive-time.md | 27 + + docs/cmdline-opts/key-type.md | 20 + + docs/cmdline-opts/key.md | 34 + + docs/cmdline-opts/krb.md | 23 + + docs/cmdline-opts/libcurl.md | 21 + + docs/cmdline-opts/limit-rate.md | 37 + + docs/cmdline-opts/list-only.md | 40 + + docs/cmdline-opts/local-port.md | 21 + + docs/cmdline-opts/location-trusted.md | 21 + + docs/cmdline-opts/location.md | 40 + + docs/cmdline-opts/login-options.md | 32 + + docs/cmdline-opts/mail-auth.md | 21 + + docs/cmdline-opts/mail-from.md | 20 + + docs/cmdline-opts/mail-rcpt-allowfails.md | 28 + + docs/cmdline-opts/mail-rcpt.md | 28 + + docs/cmdline-opts/mainpage.idx | 43 + + docs/cmdline-opts/manual.md | 20 + + docs/cmdline-opts/max-filesize.md | 32 + + docs/cmdline-opts/max-redirs.md | 21 + + docs/cmdline-opts/max-time.md | 30 + + docs/cmdline-opts/metalink.md | 18 + + docs/cmdline-opts/negotiate.md | 28 + + docs/cmdline-opts/netrc-file.md | 24 + + docs/cmdline-opts/netrc-optional.md | 19 + + docs/cmdline-opts/netrc.md | 38 + + docs/cmdline-opts/next.md | 33 + + docs/cmdline-opts/no-alpn.md | 26 + + docs/cmdline-opts/no-buffer.md | 24 + + docs/cmdline-opts/no-clobber.md | 26 + + docs/cmdline-opts/no-keepalive.md | 21 + + docs/cmdline-opts/no-npn.md | 26 + + docs/cmdline-opts/no-progress-meter.md | 22 + + docs/cmdline-opts/no-sessionid.md | 25 + + docs/cmdline-opts/noproxy.md | 33 + + docs/cmdline-opts/ntlm-wb.md | 20 + + docs/cmdline-opts/ntlm.md | 28 + + docs/cmdline-opts/oauth2-bearer.md | 25 + + docs/cmdline-opts/output-dir.md | 26 + + docs/cmdline-opts/output.md | 62 + + docs/cmdline-opts/parallel-immediate.md | 22 + + docs/cmdline-opts/parallel-max.md | 24 + + docs/cmdline-opts/parallel.md | 21 + + docs/cmdline-opts/pass.md | 20 + + docs/cmdline-opts/path-as-is.md | 19 + + docs/cmdline-opts/pinnedpubkey.md | 44 + + docs/cmdline-opts/post301.md | 24 + + docs/cmdline-opts/post302.md | 24 + + docs/cmdline-opts/post303.md | 22 + + docs/cmdline-opts/preproxy.md | 33 + + docs/cmdline-opts/progress-bar.md | 26 + + docs/cmdline-opts/proto-default.md | 26 + + docs/cmdline-opts/proto-redir.md | 27 + + docs/cmdline-opts/proto.md | 48 + + docs/cmdline-opts/proxy-anyauth.md | 20 + + docs/cmdline-opts/proxy-basic.md | 21 + + docs/cmdline-opts/proxy-ca-native.md | 27 + + docs/cmdline-opts/proxy-cacert.md | 21 + + docs/cmdline-opts/proxy-capath.md | 30 + + docs/cmdline-opts/proxy-cert-type.md | 18 + + docs/cmdline-opts/proxy-cert.md | 18 + + docs/cmdline-opts/proxy-ciphers.md | 26 + + docs/cmdline-opts/proxy-crlfile.md | 19 + + docs/cmdline-opts/proxy-digest.md | 20 + + docs/cmdline-opts/proxy-header.md | 38 + + docs/cmdline-opts/proxy-http2.md | 24 + + docs/cmdline-opts/proxy-insecure.md | 30 + + docs/cmdline-opts/proxy-key-type.md | 19 + + docs/cmdline-opts/proxy-key.md | 19 + + docs/cmdline-opts/proxy-negotiate.md | 20 + + docs/cmdline-opts/proxy-ntlm.md | 19 + + docs/cmdline-opts/proxy-pass.md | 19 + + docs/cmdline-opts/proxy-pinnedpubkey.md | 29 + + docs/cmdline-opts/proxy-service-name.md | 19 + + docs/cmdline-opts/proxy-ssl-allow-beast.md | 18 + + .../proxy-ssl-auto-client-cert.md | 20 + + docs/cmdline-opts/proxy-tls13-ciphers.md | 29 + + docs/cmdline-opts/proxy-tlsauthtype.md | 19 + + docs/cmdline-opts/proxy-tlspassword.md | 19 + + docs/cmdline-opts/proxy-tlsuser.md | 19 + + docs/cmdline-opts/proxy-tlsv1.md | 17 + + docs/cmdline-opts/proxy-user.md | 29 + + docs/cmdline-opts/proxy.md | 58 + + docs/cmdline-opts/proxy1.0.md | 25 + + docs/cmdline-opts/proxytunnel.md | 24 + + docs/cmdline-opts/pubkey.md | 25 + + docs/cmdline-opts/quote.md | 90 + + docs/cmdline-opts/random-file.md | 22 + + docs/cmdline-opts/range.md | 57 + + docs/cmdline-opts/rate.md | 42 + + docs/cmdline-opts/raw.md | 19 + + docs/cmdline-opts/referer.md | 27 + + docs/cmdline-opts/remote-header-name.md | 39 + + docs/cmdline-opts/remote-name-all.md | 20 + + docs/cmdline-opts/remote-name.md | 36 + + docs/cmdline-opts/remote-time.md | 21 + + docs/cmdline-opts/remove-on-error.md | 21 + + docs/cmdline-opts/request-target.md | 25 + + docs/cmdline-opts/request.md | 57 + + docs/cmdline-opts/resolve.md | 46 + + docs/cmdline-opts/retry-all-errors.md | 40 + + docs/cmdline-opts/retry-connrefused.md | 19 + + docs/cmdline-opts/retry-delay.md | 21 + + docs/cmdline-opts/retry-max-time.md | 23 + + docs/cmdline-opts/retry.md | 31 + + docs/cmdline-opts/sasl-authzid.md | 25 + + docs/cmdline-opts/sasl-ir.md | 17 + + docs/cmdline-opts/service-name.md | 19 + + docs/cmdline-opts/show-error.md | 19 + + docs/cmdline-opts/silent.md | 25 + + docs/cmdline-opts/socks4.md | 36 + + docs/cmdline-opts/socks4a.md | 35 + + docs/cmdline-opts/socks5-basic.md | 19 + + docs/cmdline-opts/socks5-gssapi-nec.md | 20 + + docs/cmdline-opts/socks5-gssapi-service.md | 18 + + docs/cmdline-opts/socks5-gssapi.md | 20 + + docs/cmdline-opts/socks5-hostname.md | 34 + + docs/cmdline-opts/socks5.md | 36 + + docs/cmdline-opts/speed-limit.md | 23 + + docs/cmdline-opts/speed-time.md | 25 + + docs/cmdline-opts/ssl-allow-beast.md | 24 + + docs/cmdline-opts/ssl-auto-client-cert.md | 21 + + docs/cmdline-opts/ssl-no-revoke.md | 19 + + docs/cmdline-opts/ssl-reqd.md | 30 + + docs/cmdline-opts/ssl-revoke-best-effort.md | 20 + + docs/cmdline-opts/ssl.md | 34 + + docs/cmdline-opts/sslv2.md | 24 + + docs/cmdline-opts/sslv3.md | 24 + + docs/cmdline-opts/stderr.md | 21 + + docs/cmdline-opts/styled-output.md | 23 + + docs/cmdline-opts/suppress-connect-headers.md | 22 + + docs/cmdline-opts/tcp-fastopen.md | 19 + + docs/cmdline-opts/tcp-nodelay.md | 21 + + docs/cmdline-opts/telnet-option.md | 28 + + docs/cmdline-opts/tftp-blksize.md | 21 + + docs/cmdline-opts/tftp-no-options.md | 20 + + docs/cmdline-opts/time-cond.md | 34 + + docs/cmdline-opts/tls-max.md | 44 + + docs/cmdline-opts/tls13-ciphers.md | 29 + + docs/cmdline-opts/tlsauthtype.md | 23 + + docs/cmdline-opts/tlspassword.md | 22 + + docs/cmdline-opts/tlsuser.md | 22 + + docs/cmdline-opts/tlsv1.0.md | 22 + + docs/cmdline-opts/tlsv1.1.md | 23 + + docs/cmdline-opts/tlsv1.2.md | 23 + + docs/cmdline-opts/tlsv1.3.md | 25 + + docs/cmdline-opts/tlsv1.md | 24 + + docs/cmdline-opts/tr-encoding.md | 19 + + docs/cmdline-opts/trace-ascii.md | 31 + + docs/cmdline-opts/trace-config.md | 27 + + docs/cmdline-opts/trace-ids.md | 19 + + docs/cmdline-opts/trace-time.md | 19 + + docs/cmdline-opts/trace.md | 30 + + docs/cmdline-opts/unix-socket.md | 19 + + docs/cmdline-opts/upload-file.md | 52 + + docs/cmdline-opts/url-query.md | 32 + + docs/cmdline-opts/url.md | 32 + + docs/cmdline-opts/use-ascii.md | 22 + + docs/cmdline-opts/user-agent.md | 27 + + docs/cmdline-opts/user.md | 50 + + docs/cmdline-opts/variable.md | 58 + + docs/cmdline-opts/verbose.md | 36 + + docs/cmdline-opts/version.md | 120 + + docs/cmdline-opts/write-out.md | 307 + + docs/cmdline-opts/xattr.md | 23 + + docs/curl-config.1 | 108 +- + docs/curl-config.md | 124 + + docs/examples/10-at-a-time.c | 4 +- + docs/examples/Makefile.in | 228 +- + docs/examples/Makefile.inc | 7 + + docs/examples/Makefile.mk | 26 +- + docs/examples/address-scope.c | 62 + + docs/examples/altsvc.c | 2 +- + docs/examples/anyauthput.c | 16 +- + docs/examples/cacertinmem.c | 21 +- + docs/examples/chkspeed.c | 8 +- + docs/examples/connect-to.c | 12 +- + docs/examples/cookie_interface.c | 9 +- + docs/examples/debug.c | 5 +- + docs/examples/default-scheme.c | 2 +- + docs/examples/ephiperfifo.c | 14 +- + docs/examples/evhiperfifo.c | 4 +- + docs/examples/externalsocket.c | 12 +- + docs/examples/ftp-wildcard.c | 2 +- + docs/examples/ftpget.c | 2 +- + docs/examples/ftpgetresp.c | 4 +- + docs/examples/ftpsget.c | 2 +- + docs/examples/ftpupload.c | 12 +- + docs/examples/ftpuploadfrommem.c | 4 +- + docs/examples/ftpuploadresume.c | 10 +- + docs/examples/getinmemory.c | 2 +- + docs/examples/getredirect.c | 2 +- + docs/examples/getreferrer.c | 2 +- + docs/examples/ghiper.c | 6 +- + docs/examples/headerapi.c | 2 +- + docs/examples/hiperfifo.c | 9 +- + docs/examples/hsts-preload.c | 2 +- + docs/examples/http-options.c | 4 +- + docs/examples/http-post.c | 4 +- + docs/examples/http2-download.c | 15 +- + docs/examples/http2-serverpush.c | 5 +- + docs/examples/http2-upload.c | 11 +- + docs/examples/http3.c | 2 +- + docs/examples/httpput-postfields.c | 2 +- + docs/examples/httpput.c | 2 +- + docs/examples/https.c | 6 +- + docs/examples/imap-append.c | 2 +- + docs/examples/imap-authzid.c | 2 +- + docs/examples/imap-copy.c | 2 +- + docs/examples/imap-fetch.c | 2 +- + docs/examples/imap-list.c | 4 +- + docs/examples/imap-multi.c | 2 +- + docs/examples/imap-ssl.c | 8 +- + docs/examples/imap-tls.c | 12 +- + docs/examples/interface.c | 52 + + docs/examples/ipv6.c | 26 +- + docs/examples/keepalive.c | 55 + + docs/examples/localport.c | 53 + + docs/examples/maxconnects.c | 2 +- + docs/examples/multi-app.c | 2 +- + docs/examples/multi-debugcallback.c | 7 +- + docs/examples/multi-event.c | 5 +- + docs/examples/multi-legacy.c | 2 +- + docs/examples/multi-single.c | 2 +- + docs/examples/multi-uv.c | 5 +- + docs/examples/netrc.c | 49 + + docs/examples/parseurl.c | 4 +- + docs/examples/persistent.c | 4 +- + docs/examples/pop3-authzid.c | 2 +- + docs/examples/pop3-list.c | 2 +- + docs/examples/pop3-multi.c | 2 +- + docs/examples/pop3-retr.c | 2 +- + docs/examples/pop3-ssl.c | 8 +- + docs/examples/pop3-tls.c | 12 +- + docs/examples/post-callback.c | 4 +- + docs/examples/postinmemory.c | 7 +- + docs/examples/postit2-formadd.c | 8 +- + docs/examples/postit2.c | 8 +- + docs/examples/range.c | 45 + + docs/examples/resolve.c | 8 +- + docs/examples/rtsp-options.c | 55 + + docs/examples/sendrecv.c | 14 +- + docs/examples/sftpget.c | 10 +- + docs/examples/shared-connection-cache.c | 6 +- + docs/examples/simple.c | 2 +- + docs/examples/simplepost.c | 5 +- + docs/examples/simplessl.c | 4 +- + docs/examples/smooth-gtk-thread.c | 4 +- + docs/examples/smtp-authzid.c | 6 +- + docs/examples/smtp-expn.c | 2 +- + docs/examples/smtp-mail.c | 6 +- + docs/examples/smtp-mime.c | 6 +- + docs/examples/smtp-multi.c | 2 +- + docs/examples/smtp-ssl.c | 10 +- + docs/examples/smtp-tls.c | 14 +- + docs/examples/smtp-vrfy.c | 2 +- + docs/examples/synctime.c | 14 +- + docs/examples/unixsocket.c | 2 +- + docs/examples/usercertinmem.c | 5 +- + docs/examples/websocket-cb.c | 2 +- + docs/examples/websocket.c | 2 +- + docs/libcurl/ABI.md | 16 +- + docs/libcurl/CMakeLists.txt | 45 +- + docs/libcurl/Makefile.am | 55 +- + docs/libcurl/Makefile.in | 651 +- + docs/libcurl/curl_easy_cleanup.md | 78 + + docs/libcurl/curl_easy_duphandle.md | 74 + + docs/libcurl/curl_easy_escape.md | 77 + + docs/libcurl/curl_easy_getinfo.md | 487 + + docs/libcurl/curl_easy_header.md | 162 + + docs/libcurl/curl_easy_init.md | 75 + + docs/libcurl/curl_easy_nextheader.md | 102 + + docs/libcurl/curl_easy_option_by_id.md | 56 + + docs/libcurl/curl_easy_option_by_name.md | 55 + + docs/libcurl/curl_easy_option_next.md | 91 + + docs/libcurl/curl_easy_pause.md | 142 + + docs/libcurl/curl_easy_perform.md | 85 + + docs/libcurl/curl_easy_recv.md | 105 + + docs/libcurl/curl_easy_reset.md | 58 + + docs/libcurl/curl_easy_send.md | 97 + + docs/libcurl/curl_easy_setopt.md | 1383 + + docs/libcurl/curl_easy_strerror.md | 61 + + docs/libcurl/curl_easy_unescape.md | 75 + + docs/libcurl/curl_easy_upkeep.md | 79 + + docs/libcurl/curl_escape.md | 60 + + docs/libcurl/curl_formadd.md | 314 + + docs/libcurl/curl_formfree.md | 78 + + docs/libcurl/curl_formget.md | 74 + + docs/libcurl/curl_free.md | 54 + + docs/libcurl/curl_getdate.md | 130 + + docs/libcurl/curl_getenv.md | 59 + + docs/libcurl/curl_global_cleanup.md | 76 + + docs/libcurl/curl_global_init.md | 133 + + docs/libcurl/curl_global_init_mem.md | 97 + + docs/libcurl/curl_global_sslset.md | 140 + + docs/libcurl/curl_global_trace.md | 130 + + docs/libcurl/curl_mime_addpart.md | 74 + + docs/libcurl/curl_mime_data.md | 80 + + docs/libcurl/curl_mime_data_cb.md | 172 + + docs/libcurl/curl_mime_encoder.md | 104 + + docs/libcurl/curl_mime_filedata.md | 92 + + docs/libcurl/curl_mime_filename.md | 83 + + docs/libcurl/curl_mime_free.md | 69 + + docs/libcurl/curl_mime_headers.md | 82 + + docs/libcurl/curl_mime_init.md | 76 + + docs/libcurl/curl_mime_name.md | 71 + + docs/libcurl/curl_mime_subparts.md | 87 + + docs/libcurl/curl_mime_type.md | 90 + + docs/libcurl/curl_mprintf.md | 290 + + docs/libcurl/curl_multi_add_handle.md | 90 + + docs/libcurl/curl_multi_assign.md | 83 + + docs/libcurl/curl_multi_cleanup.md | 67 + + docs/libcurl/curl_multi_fdset.md | 121 + + docs/libcurl/curl_multi_get_handles.md | 79 + + docs/libcurl/curl_multi_info_read.md | 104 + + docs/libcurl/curl_multi_init.md | 59 + + docs/libcurl/curl_multi_perform.md | 109 + + docs/libcurl/curl_multi_poll.md | 130 + + docs/libcurl/curl_multi_remove_handle.md | 75 + + docs/libcurl/curl_multi_setopt.md | 127 + + docs/libcurl/curl_multi_socket.md | 97 + + docs/libcurl/curl_multi_socket_action.md | 122 + + docs/libcurl/curl_multi_socket_all.md | 97 + + docs/libcurl/curl_multi_strerror.md | 53 + + docs/libcurl/curl_multi_timeout.md | 91 + + docs/libcurl/curl_multi_wait.md | 123 + + docs/libcurl/curl_multi_wakeup.md | 93 + + docs/libcurl/curl_pushheader_byname.md | 84 + + docs/libcurl/curl_pushheader_bynum.md | 71 + + docs/libcurl/curl_share_cleanup.md | 56 + + docs/libcurl/curl_share_init.md | 58 + + docs/libcurl/curl_share_setopt.md | 73 + + docs/libcurl/curl_share_strerror.md | 52 + + docs/libcurl/curl_slist_append.md | 77 + + docs/libcurl/curl_slist_free_all.md | 60 + + docs/libcurl/curl_strequal.md | 59 + + docs/libcurl/curl_strnequal.md | 59 + + docs/libcurl/curl_unescape.md | 67 + + docs/libcurl/curl_url.md | 66 + + docs/libcurl/curl_url_cleanup.md | 53 + + docs/libcurl/curl_url_dup.md | 58 + + docs/libcurl/curl_url_get.md | 212 + + docs/libcurl/curl_url_set.md | 249 + + docs/libcurl/curl_url_strerror.md | 55 + + docs/libcurl/curl_version.md | 48 + + docs/libcurl/curl_version_info.md | 383 + + docs/libcurl/curl_ws_meta.md | 144 + + docs/libcurl/curl_ws_recv.md | 75 + + docs/libcurl/curl_ws_send.md | 122 + + docs/libcurl/libcurl-easy.md | 54 + + docs/libcurl/libcurl-env-dbg.md | 125 + + docs/libcurl/libcurl-env.md | 101 + + docs/libcurl/libcurl-errors.md | 759 + + docs/libcurl/libcurl-multi.md | 180 + + docs/libcurl/libcurl-security.md | 495 + + docs/libcurl/libcurl-share.md | 64 + + docs/libcurl/libcurl-symbols.md | 3410 +++ + docs/libcurl/libcurl-thread.md | 101 + + docs/libcurl/libcurl-tutorial.md | 1457 + + docs/libcurl/libcurl-url.md | 164 + + docs/libcurl/libcurl-ws.md | 125 + + docs/libcurl/libcurl.m4 | 2 +- + docs/libcurl/libcurl.md | 249 + + docs/libcurl/mksymbolsmanpage.pl | 288 +- + docs/libcurl/opts/CMakeLists.txt | 16 +- + docs/libcurl/opts/CURLINFO_ACTIVESOCKET.md | 75 + + docs/libcurl/opts/CURLINFO_APPCONNECT_TIME.md | 69 + + .../opts/CURLINFO_APPCONNECT_TIME_T.md | 71 + + docs/libcurl/opts/CURLINFO_CAINFO.md | 66 + + docs/libcurl/opts/CURLINFO_CAPATH.md | 69 + + docs/libcurl/opts/CURLINFO_CERTINFO.md | 104 + + docs/libcurl/opts/CURLINFO_CONDITION_UNMET.md | 78 + + docs/libcurl/opts/CURLINFO_CONNECT_TIME.md | 65 + + docs/libcurl/opts/CURLINFO_CONNECT_TIME_T.md | 68 + + docs/libcurl/opts/CURLINFO_CONN_ID.md | 68 + + .../opts/CURLINFO_CONTENT_LENGTH_DOWNLOAD.md | 68 + + .../CURLINFO_CONTENT_LENGTH_DOWNLOAD_T.md | 65 + + .../opts/CURLINFO_CONTENT_LENGTH_UPLOAD.md | 67 + + .../opts/CURLINFO_CONTENT_LENGTH_UPLOAD_T.md | 64 + + docs/libcurl/opts/CURLINFO_CONTENT_TYPE.md | 73 + + docs/libcurl/opts/CURLINFO_COOKIELIST.md | 80 + + .../libcurl/opts/CURLINFO_EFFECTIVE_METHOD.md | 70 + + docs/libcurl/opts/CURLINFO_EFFECTIVE_URL.md | 66 + + docs/libcurl/opts/CURLINFO_FILETIME.md | 76 + + docs/libcurl/opts/CURLINFO_FILETIME_T.md | 78 + + docs/libcurl/opts/CURLINFO_FTP_ENTRY_PATH.md | 68 + + docs/libcurl/opts/CURLINFO_HEADER_SIZE.md | 63 + + docs/libcurl/opts/CURLINFO_HTTPAUTH_AVAIL.md | 75 + + .../libcurl/opts/CURLINFO_HTTP_CONNECTCODE.md | 63 + + docs/libcurl/opts/CURLINFO_HTTP_VERSION.md | 59 + + docs/libcurl/opts/CURLINFO_LASTSOCKET.md | 75 + + docs/libcurl/opts/CURLINFO_LOCAL_IP.md | 70 + + docs/libcurl/opts/CURLINFO_LOCAL_PORT.md | 66 + + docs/libcurl/opts/CURLINFO_NAMELOOKUP_TIME.md | 66 + + .../opts/CURLINFO_NAMELOOKUP_TIME_T.md | 67 + + docs/libcurl/opts/CURLINFO_NUM_CONNECTS.md | 63 + + docs/libcurl/opts/CURLINFO_OS_ERRNO.md | 60 + + .../libcurl/opts/CURLINFO_PRETRANSFER_TIME.md | 71 + + .../opts/CURLINFO_PRETRANSFER_TIME_T.md | 73 + + docs/libcurl/opts/CURLINFO_PRIMARY_IP.md | 71 + + docs/libcurl/opts/CURLINFO_PRIMARY_PORT.md | 65 + + docs/libcurl/opts/CURLINFO_PRIVATE.md | 66 + + docs/libcurl/opts/CURLINFO_PROTOCOL.md | 71 + + docs/libcurl/opts/CURLINFO_PROXYAUTH_AVAIL.md | 76 + + docs/libcurl/opts/CURLINFO_PROXY_ERROR.md | 103 + + .../opts/CURLINFO_PROXY_SSL_VERIFYRESULT.md | 65 + + docs/libcurl/opts/CURLINFO_QUEUE_TIME_T.md | 68 + + docs/libcurl/opts/CURLINFO_REDIRECT_COUNT.md | 60 + + docs/libcurl/opts/CURLINFO_REDIRECT_TIME.md | 68 + + docs/libcurl/opts/CURLINFO_REDIRECT_TIME_T.md | 70 + + docs/libcurl/opts/CURLINFO_REDIRECT_URL.md | 67 + + docs/libcurl/opts/CURLINFO_REFERER.md | 65 + + docs/libcurl/opts/CURLINFO_REQUEST_SIZE.md | 61 + + docs/libcurl/opts/CURLINFO_RESPONSE_CODE.md | 66 + + docs/libcurl/opts/CURLINFO_RETRY_AFTER.md | 69 + + .../libcurl/opts/CURLINFO_RTSP_CLIENT_CSEQ.md | 59 + + docs/libcurl/opts/CURLINFO_RTSP_CSEQ_RECV.md | 59 + + .../libcurl/opts/CURLINFO_RTSP_SERVER_CSEQ.md | 63 + + docs/libcurl/opts/CURLINFO_RTSP_SESSION_ID.md | 64 + + docs/libcurl/opts/CURLINFO_SCHEME.md | 66 + + docs/libcurl/opts/CURLINFO_SIZE_DOWNLOAD.md | 71 + + docs/libcurl/opts/CURLINFO_SIZE_DOWNLOAD_T.md | 68 + + docs/libcurl/opts/CURLINFO_SIZE_UPLOAD.md | 67 + + docs/libcurl/opts/CURLINFO_SIZE_UPLOAD_T.md | 64 + + docs/libcurl/opts/CURLINFO_SPEED_DOWNLOAD.md | 67 + + .../libcurl/opts/CURLINFO_SPEED_DOWNLOAD_T.md | 65 + + docs/libcurl/opts/CURLINFO_SPEED_UPLOAD.md | 65 + + docs/libcurl/opts/CURLINFO_SPEED_UPLOAD_T.md | 63 + + docs/libcurl/opts/CURLINFO_SSL_ENGINES.md | 65 + + .../libcurl/opts/CURLINFO_SSL_VERIFYRESULT.md | 66 + + .../opts/CURLINFO_STARTTRANSFER_TIME.md | 69 + + .../opts/CURLINFO_STARTTRANSFER_TIME_T.md | 71 + + docs/libcurl/opts/CURLINFO_TLS_SESSION.md | 76 + + docs/libcurl/opts/CURLINFO_TLS_SSL_PTR.md | 176 + + docs/libcurl/opts/CURLINFO_TOTAL_TIME.md | 67 + + docs/libcurl/opts/CURLINFO_TOTAL_TIME_T.md | 68 + + docs/libcurl/opts/CURLINFO_USED_PROXY.md | 67 + + docs/libcurl/opts/CURLINFO_XFER_ID.md | 68 + + .../CURLMOPT_CHUNK_LENGTH_PENALTY_SIZE.md | 59 + + .../CURLMOPT_CONTENT_LENGTH_PENALTY_SIZE.md | 58 + + docs/libcurl/opts/CURLMOPT_MAXCONNECTS.md | 72 + + .../opts/CURLMOPT_MAX_CONCURRENT_STREAMS.md | 57 + + .../opts/CURLMOPT_MAX_HOST_CONNECTIONS.md | 75 + + .../opts/CURLMOPT_MAX_PIPELINE_LENGTH.md | 62 + + .../opts/CURLMOPT_MAX_TOTAL_CONNECTIONS.md | 68 + + docs/libcurl/opts/CURLMOPT_PIPELINING.md | 75 + + .../opts/CURLMOPT_PIPELINING_SERVER_BL.md | 68 + + .../opts/CURLMOPT_PIPELINING_SITE_BL.md | 64 + + docs/libcurl/opts/CURLMOPT_PUSHDATA.md | 85 + + docs/libcurl/opts/CURLMOPT_PUSHFUNCTION.md | 146 + + docs/libcurl/opts/CURLMOPT_SOCKETDATA.md | 80 + + docs/libcurl/opts/CURLMOPT_SOCKETFUNCTION.md | 133 + + docs/libcurl/opts/CURLMOPT_TIMERDATA.md | 73 + + docs/libcurl/opts/CURLMOPT_TIMERFUNCTION.md | 101 + + .../opts/CURLOPT_ABSTRACT_UNIX_SOCKET.md | 69 + + docs/libcurl/opts/CURLOPT_ACCEPTTIMEOUT_MS.md | 59 + + docs/libcurl/opts/CURLOPT_ACCEPT_ENCODING.md | 108 + + docs/libcurl/opts/CURLOPT_ADDRESS_SCOPE.md | 61 + + docs/libcurl/opts/CURLOPT_ALTSVC.md | 109 + + docs/libcurl/opts/CURLOPT_ALTSVC_CTRL.md | 95 + + docs/libcurl/opts/CURLOPT_APPEND.md | 59 + + docs/libcurl/opts/CURLOPT_AUTOREFERER.md | 75 + + docs/libcurl/opts/CURLOPT_AWS_SIGV4.md | 116 + + docs/libcurl/opts/CURLOPT_BUFFERSIZE.md | 82 + + docs/libcurl/opts/CURLOPT_CAINFO.md | 85 + + docs/libcurl/opts/CURLOPT_CAINFO_BLOB.md | 90 + + docs/libcurl/opts/CURLOPT_CAPATH.md | 81 + + docs/libcurl/opts/CURLOPT_CA_CACHE_TIMEOUT.md | 82 + + docs/libcurl/opts/CURLOPT_CERTINFO.md | 91 + + .../opts/CURLOPT_CHUNK_BGN_FUNCTION.md | 150 + + docs/libcurl/opts/CURLOPT_CHUNK_DATA.md | 100 + + .../opts/CURLOPT_CHUNK_END_FUNCTION.md | 80 + + docs/libcurl/opts/CURLOPT_CLOSESOCKETDATA.md | 73 + + .../opts/CURLOPT_CLOSESOCKETFUNCTION.md | 84 + + docs/libcurl/opts/CURLOPT_CONNECTTIMEOUT.md | 87 + + .../libcurl/opts/CURLOPT_CONNECTTIMEOUT_MS.md | 62 + + docs/libcurl/opts/CURLOPT_CONNECT_ONLY.md | 81 + + docs/libcurl/opts/CURLOPT_CONNECT_TO.md | 112 + + .../CURLOPT_CONV_FROM_NETWORK_FUNCTION.md | 112 + + .../opts/CURLOPT_CONV_FROM_UTF8_FUNCTION.md | 105 + + .../opts/CURLOPT_CONV_TO_NETWORK_FUNCTION.md | 108 + + docs/libcurl/opts/CURLOPT_COOKIE.md | 95 + + docs/libcurl/opts/CURLOPT_COOKIEFILE.md | 101 + + docs/libcurl/opts/CURLOPT_COOKIEJAR.md | 84 + + docs/libcurl/opts/CURLOPT_COOKIELIST.md | 134 + + docs/libcurl/opts/CURLOPT_COOKIESESSION.md | 73 + + docs/libcurl/opts/CURLOPT_COPYPOSTFIELDS.md | 76 + + docs/libcurl/opts/CURLOPT_CRLF.md | 60 + + docs/libcurl/opts/CURLOPT_CRLFILE.md | 84 + + docs/libcurl/opts/CURLOPT_CURLU.md | 77 + + docs/libcurl/opts/CURLOPT_CUSTOMREQUEST.md | 132 + + docs/libcurl/opts/CURLOPT_DEBUGDATA.md | 84 + + docs/libcurl/opts/CURLOPT_DEBUGFUNCTION.md | 214 + + docs/libcurl/opts/CURLOPT_DEFAULT_PROTOCOL.md | 87 + + docs/libcurl/opts/CURLOPT_DIRLISTONLY.md | 80 + + .../opts/CURLOPT_DISALLOW_USERNAME_IN_URL.md | 66 + + .../libcurl/opts/CURLOPT_DNS_CACHE_TIMEOUT.md | 87 + + docs/libcurl/opts/CURLOPT_DNS_INTERFACE.md | 67 + + docs/libcurl/opts/CURLOPT_DNS_LOCAL_IP4.md | 68 + + docs/libcurl/opts/CURLOPT_DNS_LOCAL_IP6.md | 68 + + docs/libcurl/opts/CURLOPT_DNS_SERVERS.md | 74 + + .../opts/CURLOPT_DNS_SHUFFLE_ADDRESSES.md | 73 + + .../opts/CURLOPT_DNS_USE_GLOBAL_CACHE.md | 66 + + .../opts/CURLOPT_DOH_SSL_VERIFYHOST.md | 90 + + .../opts/CURLOPT_DOH_SSL_VERIFYPEER.md | 102 + + .../opts/CURLOPT_DOH_SSL_VERIFYSTATUS.md | 76 + + docs/libcurl/opts/CURLOPT_DOH_URL.md | 94 + + docs/libcurl/opts/CURLOPT_EGDSOCKET.md | 66 + + docs/libcurl/opts/CURLOPT_ERRORBUFFER.md | 99 + + .../opts/CURLOPT_EXPECT_100_TIMEOUT_MS.md | 62 + + docs/libcurl/opts/CURLOPT_FAILONERROR.md | 72 + + docs/libcurl/opts/CURLOPT_FILETIME.md | 74 + + docs/libcurl/opts/CURLOPT_FNMATCH_DATA.md | 78 + + docs/libcurl/opts/CURLOPT_FNMATCH_FUNCTION.md | 86 + + docs/libcurl/opts/CURLOPT_FOLLOWLOCATION.md | 91 + + docs/libcurl/opts/CURLOPT_FORBID_REUSE.md | 67 + + docs/libcurl/opts/CURLOPT_FRESH_CONNECT.md | 66 + + docs/libcurl/opts/CURLOPT_FTPPORT.md | 97 + + docs/libcurl/opts/CURLOPT_FTPSSLAUTH.md | 74 + + docs/libcurl/opts/CURLOPT_FTP_ACCOUNT.md | 65 + + .../opts/CURLOPT_FTP_ALTERNATIVE_TO_USER.md | 68 + + .../opts/CURLOPT_FTP_CREATE_MISSING_DIRS.md | 86 + + docs/libcurl/opts/CURLOPT_FTP_FILEMETHOD.md | 84 + + docs/libcurl/opts/CURLOPT_FTP_SKIP_PASV_IP.md | 70 + + docs/libcurl/opts/CURLOPT_FTP_SSL_CCC.md | 76 + + docs/libcurl/opts/CURLOPT_FTP_USE_EPRT.md | 73 + + docs/libcurl/opts/CURLOPT_FTP_USE_EPSV.md | 71 + + docs/libcurl/opts/CURLOPT_FTP_USE_PRET.md | 64 + + .../libcurl/opts/CURLOPT_GSSAPI_DELEGATION.md | 63 + + .../opts/CURLOPT_HAPPY_EYEBALLS_TIMEOUT_MS.md | 69 + + docs/libcurl/opts/CURLOPT_HAPROXYPROTOCOL.md | 62 + + .../libcurl/opts/CURLOPT_HAPROXY_CLIENT_IP.md | 61 + + docs/libcurl/opts/CURLOPT_HEADER.md | 78 + + docs/libcurl/opts/CURLOPT_HEADERDATA.md | 87 + + docs/libcurl/opts/CURLOPT_HEADERFUNCTION.md | 133 + + docs/libcurl/opts/CURLOPT_HEADEROPT.md | 79 + + docs/libcurl/opts/CURLOPT_HSTS.md | 81 + + docs/libcurl/opts/CURLOPT_HSTSREADDATA.md | 70 + + docs/libcurl/opts/CURLOPT_HSTSREADFUNCTION.md | 104 + + docs/libcurl/opts/CURLOPT_HSTSWRITEDATA.md | 70 + + .../libcurl/opts/CURLOPT_HSTSWRITEFUNCTION.md | 108 + + docs/libcurl/opts/CURLOPT_HSTS_CTRL.md | 76 + + docs/libcurl/opts/CURLOPT_HTTP09_ALLOWED.md | 62 + + docs/libcurl/opts/CURLOPT_HTTP200ALIASES.md | 73 + + docs/libcurl/opts/CURLOPT_HTTPAUTH.md | 161 + + docs/libcurl/opts/CURLOPT_HTTPGET.md | 69 + + docs/libcurl/opts/CURLOPT_HTTPHEADER.md | 181 + + docs/libcurl/opts/CURLOPT_HTTPPOST.md | 98 + + docs/libcurl/opts/CURLOPT_HTTPPROXYTUNNEL.md | 73 + + .../opts/CURLOPT_HTTP_CONTENT_DECODING.md | 60 + + .../opts/CURLOPT_HTTP_TRANSFER_DECODING.md | 59 + + docs/libcurl/opts/CURLOPT_HTTP_VERSION.md | 117 + + .../opts/CURLOPT_IGNORE_CONTENT_LENGTH.md | 72 + + docs/libcurl/opts/CURLOPT_INFILESIZE.md | 83 + + docs/libcurl/opts/CURLOPT_INFILESIZE_LARGE.md | 79 + + docs/libcurl/opts/CURLOPT_INTERFACE.md | 82 + + docs/libcurl/opts/CURLOPT_INTERLEAVEDATA.md | 70 + + .../opts/CURLOPT_INTERLEAVEFUNCTION.md | 100 + + docs/libcurl/opts/CURLOPT_IOCTLDATA.md | 70 + + docs/libcurl/opts/CURLOPT_IOCTLFUNCTION.md | 101 + + docs/libcurl/opts/CURLOPT_IPRESOLVE.md | 81 + + docs/libcurl/opts/CURLOPT_ISSUERCERT.md | 78 + + docs/libcurl/opts/CURLOPT_ISSUERCERT_BLOB.md | 92 + + .../opts/CURLOPT_KEEP_SENDING_ON_ERROR.md | 66 + + docs/libcurl/opts/CURLOPT_KEYPASSWD.md | 71 + + docs/libcurl/opts/CURLOPT_KRBLEVEL.md | 64 + + docs/libcurl/opts/CURLOPT_LOCALPORT.md | 62 + + docs/libcurl/opts/CURLOPT_LOCALPORTRANGE.md | 65 + + docs/libcurl/opts/CURLOPT_LOGIN_OPTIONS.md | 77 + + docs/libcurl/opts/CURLOPT_LOW_SPEED_LIMIT.md | 68 + + docs/libcurl/opts/CURLOPT_LOW_SPEED_TIME.md | 65 + + docs/libcurl/opts/CURLOPT_MAIL_AUTH.md | 74 + + docs/libcurl/opts/CURLOPT_MAIL_FROM.md | 67 + + docs/libcurl/opts/CURLOPT_MAIL_RCPT.md | 77 + + .../opts/CURLOPT_MAIL_RCPT_ALLOWFAILS.md | 79 + + docs/libcurl/opts/CURLOPT_MAXAGE_CONN.md | 69 + + docs/libcurl/opts/CURLOPT_MAXCONNECTS.md | 73 + + docs/libcurl/opts/CURLOPT_MAXFILESIZE.md | 67 + + .../libcurl/opts/CURLOPT_MAXFILESIZE_LARGE.md | 70 + + docs/libcurl/opts/CURLOPT_MAXLIFETIME_CONN.md | 71 + + docs/libcurl/opts/CURLOPT_MAXREDIRS.md | 70 + + .../opts/CURLOPT_MAX_RECV_SPEED_LARGE.md | 68 + + .../opts/CURLOPT_MAX_SEND_SPEED_LARGE.md | 70 + + docs/libcurl/opts/CURLOPT_MIMEPOST.md | 81 + + docs/libcurl/opts/CURLOPT_MIME_OPTIONS.md | 97 + + docs/libcurl/opts/CURLOPT_NETRC.md | 139 + + docs/libcurl/opts/CURLOPT_NETRC_FILE.md | 64 + + .../opts/CURLOPT_NEW_DIRECTORY_PERMS.md | 64 + + docs/libcurl/opts/CURLOPT_NEW_FILE_PERMS.md | 60 + + docs/libcurl/opts/CURLOPT_NOBODY.md | 76 + + docs/libcurl/opts/CURLOPT_NOPROGRESS.md | 63 + + docs/libcurl/opts/CURLOPT_NOPROXY.md | 88 + + docs/libcurl/opts/CURLOPT_NOSIGNAL.md | 76 + + docs/libcurl/opts/CURLOPT_OPENSOCKETDATA.md | 90 + + .../opts/CURLOPT_OPENSOCKETFUNCTION.md | 130 + + docs/libcurl/opts/CURLOPT_PASSWORD.md | 69 + + docs/libcurl/opts/CURLOPT_PATH_AS_IS.md | 73 + + docs/libcurl/opts/CURLOPT_PINNEDPUBLICKEY.md | 148 + + docs/libcurl/opts/CURLOPT_PIPEWAIT.md | 76 + + docs/libcurl/opts/CURLOPT_PORT.md | 70 + + docs/libcurl/opts/CURLOPT_POST.md | 100 + + docs/libcurl/opts/CURLOPT_POSTFIELDS.md | 124 + + docs/libcurl/opts/CURLOPT_POSTFIELDSIZE.md | 69 + + .../opts/CURLOPT_POSTFIELDSIZE_LARGE.md | 70 + + docs/libcurl/opts/CURLOPT_POSTQUOTE.md | 71 + + docs/libcurl/opts/CURLOPT_POSTREDIR.md | 79 + + docs/libcurl/opts/CURLOPT_PREQUOTE.md | 74 + + docs/libcurl/opts/CURLOPT_PREREQDATA.md | 71 + + docs/libcurl/opts/CURLOPT_PREREQFUNCTION.md | 123 + + docs/libcurl/opts/CURLOPT_PRE_PROXY.md | 82 + + docs/libcurl/opts/CURLOPT_PRIVATE.md | 70 + + docs/libcurl/opts/CURLOPT_PROGRESSDATA.md | 78 + + docs/libcurl/opts/CURLOPT_PROGRESSFUNCTION.md | 123 + + docs/libcurl/opts/CURLOPT_PROTOCOLS.md | 102 + + docs/libcurl/opts/CURLOPT_PROTOCOLS_STR.md | 86 + + docs/libcurl/opts/CURLOPT_PROXY.md | 144 + + docs/libcurl/opts/CURLOPT_PROXYAUTH.md | 75 + + docs/libcurl/opts/CURLOPT_PROXYHEADER.md | 78 + + docs/libcurl/opts/CURLOPT_PROXYPASSWORD.md | 68 + + docs/libcurl/opts/CURLOPT_PROXYPORT.md | 66 + + docs/libcurl/opts/CURLOPT_PROXYTYPE.md | 97 + + docs/libcurl/opts/CURLOPT_PROXYUSERNAME.md | 71 + + docs/libcurl/opts/CURLOPT_PROXYUSERPWD.md | 69 + + docs/libcurl/opts/CURLOPT_PROXY_CAINFO.md | 93 + + .../libcurl/opts/CURLOPT_PROXY_CAINFO_BLOB.md | 95 + + docs/libcurl/opts/CURLOPT_PROXY_CAPATH.md | 82 + + docs/libcurl/opts/CURLOPT_PROXY_CRLFILE.md | 85 + + docs/libcurl/opts/CURLOPT_PROXY_ISSUERCERT.md | 83 + + .../opts/CURLOPT_PROXY_ISSUERCERT_BLOB.md | 95 + + docs/libcurl/opts/CURLOPT_PROXY_KEYPASSWD.md | 73 + + .../opts/CURLOPT_PROXY_PINNEDPUBLICKEY.md | 127 + + .../opts/CURLOPT_PROXY_SERVICE_NAME.md | 63 + + docs/libcurl/opts/CURLOPT_PROXY_SSLCERT.md | 84 + + .../libcurl/opts/CURLOPT_PROXY_SSLCERTTYPE.md | 80 + + .../opts/CURLOPT_PROXY_SSLCERT_BLOB.md | 86 + + docs/libcurl/opts/CURLOPT_PROXY_SSLKEY.md | 80 + + docs/libcurl/opts/CURLOPT_PROXY_SSLKEYTYPE.md | 68 + + .../libcurl/opts/CURLOPT_PROXY_SSLKEY_BLOB.md | 86 + + docs/libcurl/opts/CURLOPT_PROXY_SSLVERSION.md | 125 + + .../opts/CURLOPT_PROXY_SSL_CIPHER_LIST.md | 96 + + .../libcurl/opts/CURLOPT_PROXY_SSL_OPTIONS.md | 119 + + .../opts/CURLOPT_PROXY_SSL_VERIFYHOST.md | 94 + + .../opts/CURLOPT_PROXY_SSL_VERIFYPEER.md | 94 + + .../opts/CURLOPT_PROXY_TLS13_CIPHERS.md | 80 + + .../opts/CURLOPT_PROXY_TLSAUTH_PASSWORD.md | 72 + + .../opts/CURLOPT_PROXY_TLSAUTH_TYPE.md | 81 + + .../opts/CURLOPT_PROXY_TLSAUTH_USERNAME.md | 72 + + .../opts/CURLOPT_PROXY_TRANSFER_MODE.md | 67 + + docs/libcurl/opts/CURLOPT_PUT.md | 87 + + docs/libcurl/opts/CURLOPT_QUICK_EXIT.md | 60 + + docs/libcurl/opts/CURLOPT_QUOTE.md | 160 + + docs/libcurl/opts/CURLOPT_RANDOM_FILE.md | 66 + + docs/libcurl/opts/CURLOPT_RANGE.md | 86 + + docs/libcurl/opts/CURLOPT_READDATA.md | 75 + + docs/libcurl/opts/CURLOPT_READFUNCTION.md | 121 + + docs/libcurl/opts/CURLOPT_REDIR_PROTOCOLS.md | 113 + + .../opts/CURLOPT_REDIR_PROTOCOLS_STR.md | 92 + + docs/libcurl/opts/CURLOPT_REFERER.md | 65 + + docs/libcurl/opts/CURLOPT_REQUEST_TARGET.md | 65 + + docs/libcurl/opts/CURLOPT_RESOLVE.md | 113 + + .../opts/CURLOPT_RESOLVER_START_DATA.md | 68 + + .../opts/CURLOPT_RESOLVER_START_FUNCTION.md | 86 + + docs/libcurl/opts/CURLOPT_RESUME_FROM.md | 78 + + .../libcurl/opts/CURLOPT_RESUME_FROM_LARGE.md | 77 + + docs/libcurl/opts/CURLOPT_RTSP_CLIENT_CSEQ.md | 60 + + docs/libcurl/opts/CURLOPT_RTSP_REQUEST.md | 137 + + docs/libcurl/opts/CURLOPT_RTSP_SERVER_CSEQ.md | 59 + + docs/libcurl/opts/CURLOPT_RTSP_SESSION_ID.md | 66 + + docs/libcurl/opts/CURLOPT_RTSP_STREAM_URI.md | 70 + + docs/libcurl/opts/CURLOPT_RTSP_TRANSPORT.md | 66 + + docs/libcurl/opts/CURLOPT_SASL_AUTHZID.md | 70 + + docs/libcurl/opts/CURLOPT_SASL_IR.md | 71 + + docs/libcurl/opts/CURLOPT_SEEKDATA.md | 68 + + docs/libcurl/opts/CURLOPT_SEEKFUNCTION.md | 100 + + .../opts/CURLOPT_SERVER_RESPONSE_TIMEOUT.md | 78 + + .../CURLOPT_SERVER_RESPONSE_TIMEOUT_MS.md | 77 + + docs/libcurl/opts/CURLOPT_SERVICE_NAME.md | 69 + + docs/libcurl/opts/CURLOPT_SHARE.md | 86 + + docs/libcurl/opts/CURLOPT_SOCKOPTDATA.md | 73 + + docs/libcurl/opts/CURLOPT_SOCKOPTFUNCTION.md | 130 + + docs/libcurl/opts/CURLOPT_SOCKS5_AUTH.md | 67 + + .../libcurl/opts/CURLOPT_SOCKS5_GSSAPI_NEC.md | 61 + + .../opts/CURLOPT_SOCKS5_GSSAPI_SERVICE.md | 66 + + docs/libcurl/opts/CURLOPT_SSH_AUTH_TYPES.md | 66 + + docs/libcurl/opts/CURLOPT_SSH_COMPRESSION.md | 63 + + docs/libcurl/opts/CURLOPT_SSH_HOSTKEYDATA.md | 72 + + .../opts/CURLOPT_SSH_HOSTKEYFUNCTION.md | 97 + + .../opts/CURLOPT_SSH_HOST_PUBLIC_KEY_MD5.md | 70 + + .../CURLOPT_SSH_HOST_PUBLIC_KEY_SHA256.md | 64 + + docs/libcurl/opts/CURLOPT_SSH_KEYDATA.md | 74 + + docs/libcurl/opts/CURLOPT_SSH_KEYFUNCTION.md | 151 + + docs/libcurl/opts/CURLOPT_SSH_KNOWNHOSTS.md | 67 + + .../opts/CURLOPT_SSH_PRIVATE_KEYFILE.md | 75 + + .../opts/CURLOPT_SSH_PUBLIC_KEYFILE.md | 70 + + docs/libcurl/opts/CURLOPT_SSLCERT.md | 93 + + docs/libcurl/opts/CURLOPT_SSLCERTTYPE.md | 76 + + docs/libcurl/opts/CURLOPT_SSLCERT_BLOB.md | 86 + + docs/libcurl/opts/CURLOPT_SSLENGINE.md | 74 + + .../libcurl/opts/CURLOPT_SSLENGINE_DEFAULT.md | 70 + + docs/libcurl/opts/CURLOPT_SSLKEY.md | 74 + + docs/libcurl/opts/CURLOPT_SSLKEYTYPE.md | 74 + + docs/libcurl/opts/CURLOPT_SSLKEY_BLOB.md | 87 + + docs/libcurl/opts/CURLOPT_SSLVERSION.md | 143 + + docs/libcurl/opts/CURLOPT_SSL_CIPHER_LIST.md | 97 + + docs/libcurl/opts/CURLOPT_SSL_CTX_DATA.md | 127 + + docs/libcurl/opts/CURLOPT_SSL_CTX_FUNCTION.md | 169 + + docs/libcurl/opts/CURLOPT_SSL_EC_CURVES.md | 62 + + docs/libcurl/opts/CURLOPT_SSL_ENABLE_ALPN.md | 60 + + docs/libcurl/opts/CURLOPT_SSL_ENABLE_NPN.md | 62 + + docs/libcurl/opts/CURLOPT_SSL_FALSESTART.md | 62 + + docs/libcurl/opts/CURLOPT_SSL_OPTIONS.md | 116 + + .../opts/CURLOPT_SSL_SESSIONID_CACHE.md | 66 + + docs/libcurl/opts/CURLOPT_SSL_VERIFYHOST.md | 114 + + docs/libcurl/opts/CURLOPT_SSL_VERIFYPEER.md | 98 + + docs/libcurl/opts/CURLOPT_SSL_VERIFYSTATUS.md | 69 + + docs/libcurl/opts/CURLOPT_STDERR.md | 63 + + docs/libcurl/opts/CURLOPT_STREAM_DEPENDS.md | 75 + + docs/libcurl/opts/CURLOPT_STREAM_DEPENDS_E.md | 78 + + docs/libcurl/opts/CURLOPT_STREAM_WEIGHT.md | 79 + + .../opts/CURLOPT_SUPPRESS_CONNECT_HEADERS.md | 101 + + docs/libcurl/opts/CURLOPT_TCP_FASTOPEN.md | 62 + + docs/libcurl/opts/CURLOPT_TCP_KEEPALIVE.md | 69 + + docs/libcurl/opts/CURLOPT_TCP_KEEPIDLE.md | 68 + + docs/libcurl/opts/CURLOPT_TCP_KEEPINTVL.md | 67 + + docs/libcurl/opts/CURLOPT_TCP_NODELAY.md | 69 + + docs/libcurl/opts/CURLOPT_TELNETOPTIONS.md | 64 + + docs/libcurl/opts/CURLOPT_TFTP_BLKSIZE.md | 61 + + docs/libcurl/opts/CURLOPT_TFTP_NO_OPTIONS.md | 76 + + docs/libcurl/opts/CURLOPT_TIMECONDITION.md | 70 + + docs/libcurl/opts/CURLOPT_TIMEOUT.md | 88 + + docs/libcurl/opts/CURLOPT_TIMEOUT_MS.md | 62 + + docs/libcurl/opts/CURLOPT_TIMEVALUE.md | 67 + + docs/libcurl/opts/CURLOPT_TIMEVALUE_LARGE.md | 69 + + docs/libcurl/opts/CURLOPT_TLS13_CIPHERS.md | 82 + + docs/libcurl/opts/CURLOPT_TLSAUTH_PASSWORD.md | 71 + + docs/libcurl/opts/CURLOPT_TLSAUTH_TYPE.md | 76 + + docs/libcurl/opts/CURLOPT_TLSAUTH_USERNAME.md | 70 + + docs/libcurl/opts/CURLOPT_TRAILERDATA.md | 57 + + docs/libcurl/opts/CURLOPT_TRAILERFUNCTION.md | 108 + + docs/libcurl/opts/CURLOPT_TRANSFERTEXT.md | 63 + + .../libcurl/opts/CURLOPT_TRANSFER_ENCODING.md | 66 + + docs/libcurl/opts/CURLOPT_UNIX_SOCKET_PATH.md | 84 + + .../libcurl/opts/CURLOPT_UNRESTRICTED_AUTH.md | 76 + + .../opts/CURLOPT_UPKEEP_INTERVAL_MS.md | 80 + + docs/libcurl/opts/CURLOPT_UPLOAD.md | 95 + + .../libcurl/opts/CURLOPT_UPLOAD_BUFFERSIZE.md | 78 + + docs/libcurl/opts/CURLOPT_URL.md | 143 + + docs/libcurl/opts/CURLOPT_USERAGENT.md | 64 + + docs/libcurl/opts/CURLOPT_USERNAME.md | 89 + + docs/libcurl/opts/CURLOPT_USERPWD.md | 95 + + docs/libcurl/opts/CURLOPT_USE_SSL.md | 87 + + docs/libcurl/opts/CURLOPT_VERBOSE.md | 69 + + docs/libcurl/opts/CURLOPT_WILDCARDMATCH.md | 109 + + docs/libcurl/opts/CURLOPT_WRITEDATA.md | 61 + + docs/libcurl/opts/CURLOPT_WRITEFUNCTION.md | 134 + + docs/libcurl/opts/CURLOPT_WS_OPTIONS.md | 73 + + docs/libcurl/opts/CURLOPT_XFERINFODATA.md | 78 + + docs/libcurl/opts/CURLOPT_XFERINFOFUNCTION.md | 118 + + docs/libcurl/opts/CURLOPT_XOAUTH2_BEARER.md | 69 + + docs/libcurl/opts/CURLSHOPT_LOCKFUNC.md | 75 + + docs/libcurl/opts/CURLSHOPT_SHARE.md | 115 + + docs/libcurl/opts/CURLSHOPT_UNLOCKFUNC.md | 70 + + docs/libcurl/opts/CURLSHOPT_UNSHARE.md | 82 + + docs/libcurl/opts/CURLSHOPT_USERDATA.md | 60 + + docs/libcurl/opts/Makefile.am | 45 +- + docs/libcurl/opts/Makefile.in | 852 +- + docs/libcurl/opts/Makefile.inc | 3 + + docs/libcurl/symbols-in-versions | 19 +- + docs/mk-ca-bundle.md | 126 + + include/Makefile.in | 8 +- + include/curl/Makefile.in | 8 +- + include/curl/curl.h | 37 +- + include/curl/curlver.h | 10 +- + include/curl/mprintf.h | 18 +- + include/curl/system.h | 49 +- + include/curl/urlapi.h | 1 + + lib/CMakeLists.txt | 21 +- + lib/Makefile.am | 2 +- + lib/Makefile.in | 261 +- + lib/Makefile.inc | 14 +- + lib/Makefile.mk | 186 +- + lib/altsvc.c | 35 +- + lib/arpa_telnet.h | 9 +- + lib/asyn-ares.c | 41 +- + lib/asyn-thread.c | 237 +- + lib/base64.c | 1 + + lib/bufq.c | 23 +- + lib/bufq.h | 7 + + lib/bufref.c | 6 +- + lib/c-hyper.c | 427 +- + lib/c-hyper.h | 8 +- + lib/cf-h1-proxy.c | 147 +- + lib/cf-h2-proxy.c | 90 +- + lib/cf-haproxy.c | 47 +- + lib/cf-https-connect.c | 56 +- + lib/cf-socket.c | 253 +- + lib/cf-socket.h | 26 +- + lib/cfilters.c | 264 +- + lib/cfilters.h | 142 +- + lib/config-amigaos.h | 1 - + lib/config-dos.h | 1 - + lib/config-os400.h | 12 - + lib/config-plan9.h | 2 - + lib/config-riscos.h | 6 - + lib/config-win32.h | 164 +- + lib/config-win32ce.h | 14 +- + lib/conncache.c | 29 +- + lib/connect.c | 190 +- + lib/connect.h | 3 +- + lib/content_encoding.c | 329 +- + lib/content_encoding.h | 9 +- + lib/cookie.c | 71 +- + lib/curl_config.h.cmake | 48 +- + lib/curl_config.h.in | 51 +- + lib/curl_config.h.in~ | 51 +- + lib/curl_des.c | 2 +- + lib/curl_get_line.c | 55 +- + lib/curl_get_line.h | 7 +- + lib/curl_hmac.h | 3 +- + lib/curl_memory.h | 6 +- + lib/curl_multibyte.c | 4 +- + lib/curl_multibyte.h | 8 +- + lib/curl_ntlm_core.c | 9 + + lib/curl_ntlm_wb.c | 18 +- + lib/curl_path.h | 2 +- + lib/curl_printf.h | 4 + + lib/curl_rtmp.c | 18 +- + lib/curl_sasl.c | 22 +- + lib/curl_setup.h | 235 +- + lib/curl_setup_once.h | 8 +- + lib/curl_sha512_256.c | 844 + + lib/curl_sha512_256.h | 44 + + lib/curl_sspi.h | 16 + + lib/curl_trc.c | 63 +- + lib/curl_trc.h | 117 +- + lib/cw-out.c | 437 + + lib/cw-out.h | 53 + + lib/dict.c | 26 +- + lib/doh.c | 93 +- + lib/doh.h | 2 + + lib/dynbuf.c | 13 +- + lib/dynbuf.h | 4 +- + lib/dynhds.c | 29 + + lib/dynhds.h | 9 + + lib/easy.c | 150 +- + lib/easy_lock.h | 9 + + lib/easygetopt.c | 2 +- + lib/easyif.h | 2 +- + lib/easyoptions.c | 6 +- + lib/file.c | 64 +- + lib/fopen.c | 82 +- + lib/formdata.c | 16 +- + lib/ftp.c | 417 +- + lib/ftplistparser.c | 3 - + lib/functypes.h | 2 +- + lib/getenv.c | 5 +- + lib/getinfo.c | 31 +- + lib/gopher.c | 14 +- + lib/headers.c | 96 +- + lib/headers.h | 7 + + lib/hostip.c | 117 +- + lib/hostip.h | 4 + + lib/hostip6.c | 7 +- + lib/hsts.c | 65 +- + lib/http.c | 3206 +-- + lib/http.h | 77 +- + lib/http2.c | 487 +- + lib/http_aws_sigv4.c | 30 +- + lib/http_chunks.c | 568 +- + lib/http_chunks.h | 67 +- + lib/http_proxy.c | 6 +- + lib/idn.c | 2 +- + lib/imap.c | 133 +- + lib/inet_pton.c | 3 +- + lib/inet_pton.h | 3 - + lib/krb5.c | 64 +- + lib/ldap.c | 42 +- + lib/libcurl.plist | 6 +- + lib/md4.c | 12 +- + lib/memdebug.c | 39 +- + lib/memdebug.h | 6 +- + lib/mime.c | 253 +- + lib/mime.h | 16 +- + lib/mprintf.c | 1223 +- + lib/mqtt.c | 53 +- + lib/mqtt.h | 1 + + lib/multi.c | 673 +- + lib/multihandle.h | 24 +- + lib/multiif.h | 49 + + lib/netrc.c | 12 +- + lib/noproxy.c | 1 - + lib/openldap.c | 75 +- + lib/pingpong.c | 299 +- + lib/pingpong.h | 22 +- + lib/pop3.c | 113 +- + lib/progress.c | 18 +- + lib/progress.h | 3 +- + lib/rand.c | 34 +- + lib/rand.h | 2 +- + lib/rename.c | 2 +- + lib/request.c | 409 + + lib/request.h | 227 + + lib/rtsp.c | 515 +- + lib/rtsp.h | 9 + + lib/select.c | 2 +- + lib/sendf.c | 1598 +- + lib/sendf.h | 369 +- + lib/setopt.c | 288 +- + lib/setup-win32.h | 73 +- + lib/share.c | 8 +- + lib/share.h | 10 +- + lib/smb.c | 64 +- + lib/smb.h | 1 + + lib/smtp.c | 384 +- + lib/smtp.h | 13 - + lib/socketpair.c | 9 +- + lib/socketpair.h | 17 + + lib/socks.c | 113 +- + lib/socks_gssapi.c | 9 +- + lib/socks_sspi.c | 12 +- + lib/strdup.c | 24 +- + lib/strdup.h | 3 +- + lib/strerror.c | 78 +- + lib/strerror.h | 2 +- + lib/strtoofft.c | 21 +- + lib/system_win32.c | 35 +- + lib/system_win32.h | 34 +- + lib/telnet.c | 123 +- + lib/tftp.c | 31 +- + lib/tftp.h | 3 + + lib/timediff.c | 2 +- + lib/timeval.c | 7 +- + lib/transfer.c | 1227 +- + lib/transfer.h | 54 +- + lib/url.c | 1281 +- + lib/url.h | 15 +- + lib/urlapi.c | 208 +- + lib/urldata.h | 308 +- + lib/vauth/digest.c | 68 +- + lib/vauth/digest_sspi.c | 4 + + lib/vauth/krb5_gssapi.c | 3 +- + lib/vauth/krb5_sspi.c | 3 +- + lib/vauth/ntlm.c | 6 +- + lib/vauth/ntlm_sspi.c | 8 +- + lib/version.c | 26 +- + lib/version_win32.c | 4 +- + lib/version_win32.h | 4 +- + lib/vquic/curl_msh3.c | 64 +- + lib/vquic/curl_ngtcp2.c | 990 +- + lib/vquic/curl_osslq.c | 2295 ++ + lib/vquic/curl_osslq.h | 51 + + lib/vquic/curl_quiche.c | 483 +- + lib/vquic/vquic-tls.c | 613 + + lib/vquic/vquic-tls.h | 98 + + lib/vquic/vquic.c | 65 +- + lib/vquic/vquic_int.h | 10 +- + lib/vssh/libssh.c | 124 +- + lib/vssh/libssh2.c | 370 +- + lib/vssh/ssh.h | 1 + + lib/vssh/wolfssh.c | 47 +- + lib/vtls/bearssl.c | 86 +- + lib/vtls/gtls.c | 135 +- + lib/vtls/gtls.h | 6 +- + lib/vtls/keylog.c | 9 +- + lib/vtls/mbedtls.c | 110 +- + lib/vtls/mbedtls_threadlock.c | 14 +- + lib/vtls/mbedtls_threadlock.h | 4 +- + lib/vtls/openssl.c | 624 +- + lib/vtls/openssl.h | 21 +- + lib/vtls/rustls.c | 198 +- + lib/vtls/schannel.c | 244 +- + lib/vtls/schannel_int.h | 17 + + lib/vtls/schannel_verify.c | 68 +- + lib/vtls/sectransp.c | 56 +- + lib/vtls/vtls.c | 492 +- + lib/vtls/vtls.h | 82 +- + lib/vtls/vtls_int.h | 41 +- + lib/vtls/wolfssl.c | 70 +- + lib/vtls/x509asn1.c | 899 +- + lib/warnless.c | 12 +- + lib/warnless.h | 21 +- + lib/ws.c | 388 +- + lib/ws.h | 15 +- + libcurl.pc.in | 1 + + m4/curl-amissl.m4 | 2 +- + m4/curl-compilers.m4 | 166 +- + m4/curl-functions.m4 | 64 +- + m4/curl-gnutls.m4 | 1 + + m4/curl-openssl.m4 | 32 +- + m4/curl-rustls.m4 | 195 +- + m4/curl-wolfssl.m4 | 1 + + maketgz | 7 +- + packages/Makefile.in | 8 +- + packages/OS400/ccsidcurl.c | 2 +- + packages/OS400/curl.cmd | 64 +- + packages/OS400/curl.inc.in | 18 + + packages/OS400/make-lib.sh | 35 +- + packages/vms/Makefile.in | 8 +- + packages/vms/config_h.com | 32 - + projects/Windows/VC14.10/lib/libcurl.vcxproj | 10 + + projects/Windows/VC14.10/src/curl.vcxproj | 2 + + projects/Windows/VC14.20/curl-all.sln | 298 + + projects/Windows/VC14.20/lib/libcurl.sln | 181 + + projects/Windows/VC14.20/lib/libcurl.vcxproj | 2702 ++ + .../VC14.20/lib/libcurl.vcxproj.filters | 17 + + projects/Windows/VC14.20/src/curl.sln | 181 + + projects/Windows/VC14.20/src/curl.vcxproj | 2771 ++ + .../Windows/VC14.20/src/curl.vcxproj.filters | 17 + + projects/Windows/VC14.30/lib/libcurl.vcxproj | 10 + + projects/Windows/VC14.30/src/curl.sln | 2 +- + projects/Windows/VC14.30/src/curl.vcxproj | 2 + + projects/Windows/VC14/lib/libcurl.vcxproj | 10 + + projects/Windows/VC14/src/curl.vcxproj | 2 + + projects/generate.bat | 25 +- + scripts/Makefile.am | 41 +- + scripts/Makefile.in | 51 +- + scripts/cd2cd | 226 + + scripts/cd2nroff | 526 + + scripts/cdall | 44 + + scripts/checksrc.pl | 21 + + scripts/managen | 1122 + + scripts/nroff2cd | 192 + + scripts/schemetable.c | 207 + + src/.checksrc | 1 + + src/CMakeLists.txt | 16 +- + src/Makefile.am | 22 +- + src/Makefile.in | 155 +- + src/Makefile.inc | 2 + + src/Makefile.mk | 29 +- + src/curl.rc | 2 +- + src/mkhelp.pl | 96 +- + src/tool_cb_dbg.c | 2 +- + src/tool_cb_hdr.c | 154 +- + src/tool_cb_prg.c | 22 +- + src/tool_cb_rea.c | 2 +- + src/tool_cb_see.c | 15 - + src/tool_cb_see.h | 4 +- + src/tool_cb_wrt.c | 26 +- + src/tool_cfgable.c | 5 +- + src/tool_cfgable.h | 2 +- + src/tool_dirhie.c | 8 +- + src/tool_doswin.c | 36 +- + src/tool_doswin.h | 8 +- + src/tool_easysrc.h | 2 +- + src/tool_filetime.c | 8 +- + src/tool_filetime.h | 4 +- + src/tool_findfile.c | 2 +- + src/tool_findfile.h | 2 +- + src/tool_formparse.c | 2 +- + src/tool_getparam.c | 3485 +-- + src/tool_getparam.h | 1 + + src/tool_getpass.c | 6 +- + src/tool_help.c | 42 +- + src/tool_help.h | 3 +- + src/tool_helpers.c | 2 + + src/tool_hugehelp.c | 23970 +++++++--------- + src/tool_ipfs.c | 293 + + src/tool_ipfs.h | 33 + + src/tool_listhelp.c | 172 +- + src/tool_main.c | 13 +- + src/tool_msgs.c | 7 +- + src/tool_msgs.h | 12 +- + src/tool_operate.c | 267 +- + src/tool_operate.h | 2 +- + src/tool_operhlp.c | 4 +- + src/tool_paramhlp.c | 69 +- + src/tool_paramhlp.h | 2 + + src/tool_parsecfg.c | 18 +- + src/tool_sdecls.h | 2 +- + src/tool_setopt.c | 70 +- + src/tool_setopt.h | 10 + + src/tool_setup.h | 4 +- + src/tool_sleep.c | 2 +- + src/tool_urlglob.c | 30 +- + src/tool_util.c | 2 +- + src/tool_version.h | 2 +- + src/tool_writeout.c | 1 + + src/tool_writeout.h | 1 + + src/tool_writeout_json.c | 4 +- + src/tool_xattr.c | 4 +- + src/var.c | 51 +- + src/var.h | 2 +- + tests/FILEFORMAT.md | 18 +- + tests/Makefile.am | 50 +- + tests/Makefile.in | 59 +- + tests/README.md | 82 +- + tests/certs/Makefile.in | 8 +- + tests/certs/scripts/Makefile.in | 8 +- + tests/data/DISABLED | 11 +- + tests/data/Makefile.in | 77 +- + tests/data/Makefile.inc | 69 +- + tests/data/test1026 | 2 +- + tests/data/test1119 | 2 +- + tests/data/test1132 | 2 +- + tests/data/test1135 | 2 +- + tests/data/test1139 | 2 +- + tests/data/test1140 | 4 +- + tests/data/test1154 | 4 +- + tests/data/test1165 | 2 +- + tests/data/test1167 | 2 +- + tests/data/test1173 | 2 +- + tests/data/test1175 | 2 +- + tests/data/test1177 | 2 +- + tests/data/test1222 | 2 +- + tests/data/test1254 | 2 +- + tests/data/test1268 | 2 +- + tests/data/test1275 | 2 +- + tests/data/test1276 | 2 +- + tests/data/test1279 | 2 +- + tests/data/test1461 | 24 +- + tests/data/test1463 | 6 +- + tests/data/test1464 | 6 +- + tests/data/test1474 | 111 +- + tests/data/test1475 | 83 + + tests/data/test1476 | 59 + + tests/data/test1477 | 30 + + tests/data/test1478 | 32 + + tests/data/test1479 | 67 + + tests/data/test1480 | 58 + + tests/data/test1481 | 118 + + tests/data/test1506 | 1 - + tests/data/test1538 | 6 +- + tests/data/test1541 | 73 + + tests/data/test1544 | 2 +- + tests/data/test1545 | 38 + + tests/data/test1598 | 59 + + tests/data/test1615 | 23 + + tests/data/test1683 | 2 - + tests/data/test1704 | 66 + + tests/data/test19 | 2 +- + tests/data/test1900 | 38 + + tests/data/test194 | 3 +- + tests/data/test1940 | 4 + + tests/data/test2060 | 3 +- + tests/data/test2062 | 3 +- + tests/data/test2065 | 3 +- + tests/data/test2068 | 3 +- + tests/data/test2080 | Bin 20680 -> 20688 bytes + tests/data/test2307 | 71 + + tests/data/test250 | 2 +- + tests/data/test268 | 59 + + tests/data/test285 | 2 +- + tests/data/test3012 | 5 +- + tests/data/test3026 | 3 + + tests/data/test3103 | 2 +- + tests/data/test421 | 2 +- + tests/data/test428 | 9 + + tests/data/test439 | 6 +- + tests/data/test450 | 1 - + tests/data/test457 | 5 +- + tests/data/test459 | 63 + + tests/data/test460 | 28 + + tests/data/test461 | 48 + + tests/data/test462 | 39 + + tests/data/test463 | Bin 0 -> 774 bytes + tests/data/test467 | 31 + + tests/data/test468 | 60 + + tests/data/test498 | 2 +- + tests/data/test499 | 65 + + tests/data/test513 | 8 - + tests/data/test536 | 76 + + tests/data/test579 | 2 + + tests/data/test689 | 53 + + tests/data/test722 | 6 +- + tests/data/test723 | 2 +- + tests/data/test724 | 8 +- + tests/data/test725 | 4 +- + tests/data/test726 | 2 +- + tests/data/test727 | 6 +- + tests/data/test729 | 41 + + tests/data/test730 | 52 + + tests/data/test731 | 58 + + tests/data/test732 | 52 + + tests/data/test733 | 52 + + tests/data/test734 | 52 + + tests/data/test735 | 52 + + tests/data/test736 | 58 + + tests/data/test737 | 58 + + tests/data/test738 | 37 + + tests/data/test739 | 34 + + tests/data/test740 | 60 + + tests/data/test741 | 42 + + tests/data/test742 | 66 + + tests/data/test80 | 4 +- + tests/data/test970 | 2 +- + tests/data/test971 | 2 +- + tests/data/test972 | 2 +- + tests/data/test992 | 52 + + tests/ftpserver.pl | 5 +- + tests/http/Makefile.am | 36 + + tests/http/Makefile.in | 44 +- + tests/http/clients/Makefile.in | 8 +- + tests/http/clients/h2-download.c | 22 +- + tests/http/clients/h2-serverpush.c | 5 +- + tests/http/conftest.py | 86 + + tests/http/requirements.txt | 30 + + tests/http/scorecard.py | 639 + + tests/http/test_01_basic.py | 101 + + tests/http/test_02_download.py | 421 + + tests/http/test_03_goaway.py | 143 + + tests/http/test_04_stuttered.py | 145 + + tests/http/test_05_errors.py | 137 + + tests/http/test_06_eyeballs.py | 114 + + tests/http/test_07_upload.py | 530 + + tests/http/test_08_caddy.py | 182 + + tests/http/test_09_push.py | 84 + + tests/http/test_10_proxy.py | 371 + + tests/http/test_11_unix.py | 127 + + tests/http/test_12_reuse.py | 78 + + tests/http/test_13_proxy_auth.py | 157 + + tests/http/test_14_auth.py | 139 + + tests/http/test_15_tracing.py | 112 + + tests/http/test_20_websockets.py | 142 + + tests/http/testenv/__init__.py | 38 + + tests/http/testenv/caddy.py | 167 + + tests/http/testenv/certs.py | 543 + + tests/http/testenv/client.py | 120 + + tests/http/testenv/curl.py | 704 + + tests/http/testenv/env.py | 494 + + tests/http/testenv/httpd.py | 444 + + .../http/testenv/mod_curltest/mod_curltest.c | 595 + + tests/http/testenv/nghttpx.py | 262 + + tests/http/testenv/ports.py | 47 + + tests/http/testenv/ws_echo_server.py | 66 + + tests/libtest/CMakeLists.txt | 2 +- + tests/libtest/Makefile.am | 2 +- + tests/libtest/Makefile.in | 826 +- + tests/libtest/Makefile.inc | 21 +- + tests/libtest/first.c | 14 +- + tests/libtest/lib1156.c | 2 +- + tests/libtest/lib1517.c | 2 +- + tests/libtest/lib1531.c | 2 +- + tests/libtest/lib1541.c | 152 + + tests/libtest/lib1545.c | 56 + + tests/libtest/lib1560.c | 22 +- + tests/libtest/lib1598.c | 107 + + tests/libtest/lib1900.c | 55 + + tests/libtest/lib1940.c | 2 + + tests/libtest/lib1947.c | 2 +- + tests/libtest/lib1960.c | 6 - + tests/libtest/lib2305.c | 2 - + tests/libtest/lib3026.c | 8 +- + tests/libtest/lib517.c | 2 +- + tests/libtest/lib518.c | 110 +- + tests/libtest/lib536.c | 84 + + tests/libtest/lib537.c | 93 +- + tests/libtest/lib544.c | 2 - + tests/libtest/lib547.c | 2 +- + tests/libtest/lib552.c | 5 +- + tests/libtest/lib555.c | 2 +- + tests/libtest/lib557.c | 56 +- + tests/libtest/lib567.c | 1 + + tests/libtest/lib568.c | 1 + + tests/libtest/lib582.c | 14 +- + tests/libtest/lib670.c | 2 +- + tests/libtest/sethostname.c | 2 - + tests/libtest/stub_gssapi.c | 10 +- + tests/libtest/test.h | 2 +- + tests/libtest/test613.pl | 2 +- + tests/libtest/testtrace.c | 5 +- + tests/libtest/testutil.c | 8 +- + tests/libtest/testutil.h | 2 +- + tests/pathhelp.pm | 1 + + tests/runner.pm | 41 +- + tests/runtests.1 | 43 +- + tests/runtests.pl | 14 +- + tests/server/Makefile.in | 8 +- + tests/server/disabled.c | 4 + + tests/server/getpart.c | 4 +- + tests/server/mqttd.c | 55 +- + tests/server/resolve.c | 2 +- + tests/server/rtspd.c | 2 +- + tests/server/sockfilt.c | 16 +- + tests/server/socksd.c | 66 +- + tests/server/sws.c | 19 +- + tests/server/tftpd.c | 6 +- + tests/server/util.c | 52 +- + tests/server/util.h | 11 +- + tests/servers.pm | 38 +- + tests/test1119.pl | 245 + + tests/test1132.pl | 98 + + tests/test1135.pl | 114 + + tests/test1139.pl | 312 + + tests/test1140.pl | 114 + + tests/test1165.pl | 191 + + tests/test1167.pl | 158 + + tests/test1173.pl | 380 + + tests/test1175.pl | 82 + + tests/test1177.pl | 94 + + tests/test1222.pl | 329 + + tests/test1275.pl | 117 + + tests/test1276.pl | 66 + + tests/test1477.pl | 100 + + tests/test1544.pl | 147 + + tests/test971.pl | 125 + + tests/testcurl.1 | 3 +- + tests/testutil.pm | 13 + + tests/unit/Makefile.in | 73 +- + tests/unit/Makefile.inc | 4 +- + tests/unit/curlcheck.h | 2 - + tests/unit/unit1394.c | 2 +- + tests/unit/unit1395.c | 10 +- + tests/unit/unit1398.c | 2 +- + tests/unit/unit1604.c | 4 +- + tests/unit/unit1615.c | 159 + + tests/unit/unit1620.c | 2 - + tests/unit/unit1651.c | 2 +- + tests/unit/unit1652.c | 4 +- + tests/unit/unit2600.c | 8 +- + tests/unit/unit3200.c | 85 +- + 1508 files changed, 141744 insertions(+), 52115 deletions(-) + create mode 100644 docs/CLIENT-READERS.md + create mode 100644 docs/CLIENT-WRITERS.md + create mode 100644 docs/CURLDOWN.md + create mode 100644 docs/DISTROS.md + create mode 100644 docs/INSTALL-CMAKE.md + create mode 100644 docs/SPONSORS.md + create mode 100644 docs/cmdline-opts/_AUTHORS.md + create mode 100644 docs/cmdline-opts/_BUGS.md + create mode 100644 docs/cmdline-opts/_DESCRIPTION.md + create mode 100644 docs/cmdline-opts/_ENVIRONMENT.md + create mode 100644 docs/cmdline-opts/_EXITCODES.md + create mode 100644 docs/cmdline-opts/_FILES.md + create mode 100644 docs/cmdline-opts/_GLOBBING.md + create mode 100644 docs/cmdline-opts/_NAME.md + create mode 100644 docs/cmdline-opts/_OPTIONS.md + create mode 100644 docs/cmdline-opts/_OUTPUT.md + create mode 100644 docs/cmdline-opts/_PROGRESS.md + create mode 100644 docs/cmdline-opts/_PROTOCOLS.md + create mode 100644 docs/cmdline-opts/_PROXYPREFIX.md + create mode 100644 docs/cmdline-opts/_SEEALSO.md + create mode 100644 docs/cmdline-opts/_SYNOPSIS.md + create mode 100644 docs/cmdline-opts/_URL.md + create mode 100644 docs/cmdline-opts/_VARIABLES.md + create mode 100644 docs/cmdline-opts/_VERSION.md + create mode 100644 docs/cmdline-opts/_WWW.md + create mode 100644 docs/cmdline-opts/abstract-unix-socket.md + create mode 100644 docs/cmdline-opts/alt-svc.md + create mode 100644 docs/cmdline-opts/anyauth.md + create mode 100644 docs/cmdline-opts/append.md + create mode 100644 docs/cmdline-opts/aws-sigv4.md + create mode 100644 docs/cmdline-opts/basic.md + create mode 100644 docs/cmdline-opts/ca-native.md + create mode 100644 docs/cmdline-opts/cacert.md + create mode 100644 docs/cmdline-opts/capath.md + create mode 100644 docs/cmdline-opts/cert-status.md + create mode 100644 docs/cmdline-opts/cert-type.md + create mode 100644 docs/cmdline-opts/cert.md + create mode 100644 docs/cmdline-opts/ciphers.md + create mode 100644 docs/cmdline-opts/compressed-ssh.md + create mode 100644 docs/cmdline-opts/compressed.md + create mode 100644 docs/cmdline-opts/config.md + create mode 100644 docs/cmdline-opts/connect-timeout.md + create mode 100644 docs/cmdline-opts/connect-to.md + create mode 100644 docs/cmdline-opts/continue-at.md + create mode 100644 docs/cmdline-opts/cookie-jar.md + create mode 100644 docs/cmdline-opts/cookie.md + create mode 100644 docs/cmdline-opts/create-dirs.md + create mode 100644 docs/cmdline-opts/create-file-mode.md + create mode 100644 docs/cmdline-opts/crlf.md + create mode 100644 docs/cmdline-opts/crlfile.md + create mode 100644 docs/cmdline-opts/curves.md + create mode 100644 docs/cmdline-opts/data-ascii.md + create mode 100644 docs/cmdline-opts/data-binary.md + create mode 100644 docs/cmdline-opts/data-raw.md + create mode 100644 docs/cmdline-opts/data-urlencode.md + create mode 100644 docs/cmdline-opts/data.md + create mode 100644 docs/cmdline-opts/delegation.md + create mode 100644 docs/cmdline-opts/digest.md + create mode 100644 docs/cmdline-opts/disable-eprt.md + create mode 100644 docs/cmdline-opts/disable-epsv.md + create mode 100644 docs/cmdline-opts/disable.md + create mode 100644 docs/cmdline-opts/disallow-username-in-url.md + create mode 100644 docs/cmdline-opts/dns-interface.md + create mode 100644 docs/cmdline-opts/dns-ipv4-addr.md + create mode 100644 docs/cmdline-opts/dns-ipv6-addr.md + create mode 100644 docs/cmdline-opts/dns-servers.md + create mode 100644 docs/cmdline-opts/doh-cert-status.md + create mode 100644 docs/cmdline-opts/doh-insecure.md + create mode 100644 docs/cmdline-opts/doh-url.md + create mode 100644 docs/cmdline-opts/dump-header.md + create mode 100644 docs/cmdline-opts/egd-file.md + create mode 100644 docs/cmdline-opts/engine.md + create mode 100644 docs/cmdline-opts/etag-compare.md + create mode 100644 docs/cmdline-opts/etag-save.md + create mode 100644 docs/cmdline-opts/expect100-timeout.md + create mode 100644 docs/cmdline-opts/fail-early.md + create mode 100644 docs/cmdline-opts/fail-with-body.md + create mode 100644 docs/cmdline-opts/fail.md + create mode 100644 docs/cmdline-opts/false-start.md + create mode 100644 docs/cmdline-opts/form-escape.md + create mode 100644 docs/cmdline-opts/form-string.md + create mode 100644 docs/cmdline-opts/form.md + create mode 100644 docs/cmdline-opts/ftp-account.md + create mode 100644 docs/cmdline-opts/ftp-alternative-to-user.md + create mode 100644 docs/cmdline-opts/ftp-create-dirs.md + create mode 100644 docs/cmdline-opts/ftp-method.md + create mode 100644 docs/cmdline-opts/ftp-pasv.md + create mode 100644 docs/cmdline-opts/ftp-port.md + create mode 100644 docs/cmdline-opts/ftp-pret.md + create mode 100644 docs/cmdline-opts/ftp-skip-pasv-ip.md + create mode 100644 docs/cmdline-opts/ftp-ssl-ccc-mode.md + create mode 100644 docs/cmdline-opts/ftp-ssl-ccc.md + create mode 100644 docs/cmdline-opts/ftp-ssl-control.md + create mode 100644 docs/cmdline-opts/get.md + create mode 100644 docs/cmdline-opts/globoff.md + create mode 100644 docs/cmdline-opts/happy-eyeballs-timeout-ms.md + create mode 100644 docs/cmdline-opts/haproxy-clientip.md + create mode 100644 docs/cmdline-opts/haproxy-protocol.md + create mode 100644 docs/cmdline-opts/head.md + create mode 100644 docs/cmdline-opts/header.md + create mode 100644 docs/cmdline-opts/help.md + create mode 100644 docs/cmdline-opts/hostpubmd5.md + create mode 100644 docs/cmdline-opts/hostpubsha256.md + create mode 100644 docs/cmdline-opts/hsts.md + create mode 100644 docs/cmdline-opts/http0.9.md + create mode 100644 docs/cmdline-opts/http1.0.md + create mode 100644 docs/cmdline-opts/http1.1.md + create mode 100644 docs/cmdline-opts/http2-prior-knowledge.md + create mode 100644 docs/cmdline-opts/http2.md + create mode 100644 docs/cmdline-opts/http3-only.md + create mode 100644 docs/cmdline-opts/http3.md + create mode 100644 docs/cmdline-opts/ignore-content-length.md + create mode 100644 docs/cmdline-opts/include.md + create mode 100644 docs/cmdline-opts/insecure.md + create mode 100644 docs/cmdline-opts/interface.md + create mode 100644 docs/cmdline-opts/ipfs-gateway.md + create mode 100644 docs/cmdline-opts/ipv4.md + create mode 100644 docs/cmdline-opts/ipv6.md + create mode 100644 docs/cmdline-opts/json.md + create mode 100644 docs/cmdline-opts/junk-session-cookies.md + create mode 100644 docs/cmdline-opts/keepalive-time.md + create mode 100644 docs/cmdline-opts/key-type.md + create mode 100644 docs/cmdline-opts/key.md + create mode 100644 docs/cmdline-opts/krb.md + create mode 100644 docs/cmdline-opts/libcurl.md + create mode 100644 docs/cmdline-opts/limit-rate.md + create mode 100644 docs/cmdline-opts/list-only.md + create mode 100644 docs/cmdline-opts/local-port.md + create mode 100644 docs/cmdline-opts/location-trusted.md + create mode 100644 docs/cmdline-opts/location.md + create mode 100644 docs/cmdline-opts/login-options.md + create mode 100644 docs/cmdline-opts/mail-auth.md + create mode 100644 docs/cmdline-opts/mail-from.md + create mode 100644 docs/cmdline-opts/mail-rcpt-allowfails.md + create mode 100644 docs/cmdline-opts/mail-rcpt.md + create mode 100644 docs/cmdline-opts/mainpage.idx + create mode 100644 docs/cmdline-opts/manual.md + create mode 100644 docs/cmdline-opts/max-filesize.md + create mode 100644 docs/cmdline-opts/max-redirs.md + create mode 100644 docs/cmdline-opts/max-time.md + create mode 100644 docs/cmdline-opts/metalink.md + create mode 100644 docs/cmdline-opts/negotiate.md + create mode 100644 docs/cmdline-opts/netrc-file.md + create mode 100644 docs/cmdline-opts/netrc-optional.md + create mode 100644 docs/cmdline-opts/netrc.md + create mode 100644 docs/cmdline-opts/next.md + create mode 100644 docs/cmdline-opts/no-alpn.md + create mode 100644 docs/cmdline-opts/no-buffer.md + create mode 100644 docs/cmdline-opts/no-clobber.md + create mode 100644 docs/cmdline-opts/no-keepalive.md + create mode 100644 docs/cmdline-opts/no-npn.md + create mode 100644 docs/cmdline-opts/no-progress-meter.md + create mode 100644 docs/cmdline-opts/no-sessionid.md + create mode 100644 docs/cmdline-opts/noproxy.md + create mode 100644 docs/cmdline-opts/ntlm-wb.md + create mode 100644 docs/cmdline-opts/ntlm.md + create mode 100644 docs/cmdline-opts/oauth2-bearer.md + create mode 100644 docs/cmdline-opts/output-dir.md + create mode 100644 docs/cmdline-opts/output.md + create mode 100644 docs/cmdline-opts/parallel-immediate.md + create mode 100644 docs/cmdline-opts/parallel-max.md + create mode 100644 docs/cmdline-opts/parallel.md + create mode 100644 docs/cmdline-opts/pass.md + create mode 100644 docs/cmdline-opts/path-as-is.md + create mode 100644 docs/cmdline-opts/pinnedpubkey.md + create mode 100644 docs/cmdline-opts/post301.md + create mode 100644 docs/cmdline-opts/post302.md + create mode 100644 docs/cmdline-opts/post303.md + create mode 100644 docs/cmdline-opts/preproxy.md + create mode 100644 docs/cmdline-opts/progress-bar.md + create mode 100644 docs/cmdline-opts/proto-default.md + create mode 100644 docs/cmdline-opts/proto-redir.md + create mode 100644 docs/cmdline-opts/proto.md + create mode 100644 docs/cmdline-opts/proxy-anyauth.md + create mode 100644 docs/cmdline-opts/proxy-basic.md + create mode 100644 docs/cmdline-opts/proxy-ca-native.md + create mode 100644 docs/cmdline-opts/proxy-cacert.md + create mode 100644 docs/cmdline-opts/proxy-capath.md + create mode 100644 docs/cmdline-opts/proxy-cert-type.md + create mode 100644 docs/cmdline-opts/proxy-cert.md + create mode 100644 docs/cmdline-opts/proxy-ciphers.md + create mode 100644 docs/cmdline-opts/proxy-crlfile.md + create mode 100644 docs/cmdline-opts/proxy-digest.md + create mode 100644 docs/cmdline-opts/proxy-header.md + create mode 100644 docs/cmdline-opts/proxy-http2.md + create mode 100644 docs/cmdline-opts/proxy-insecure.md + create mode 100644 docs/cmdline-opts/proxy-key-type.md + create mode 100644 docs/cmdline-opts/proxy-key.md + create mode 100644 docs/cmdline-opts/proxy-negotiate.md + create mode 100644 docs/cmdline-opts/proxy-ntlm.md + create mode 100644 docs/cmdline-opts/proxy-pass.md + create mode 100644 docs/cmdline-opts/proxy-pinnedpubkey.md + create mode 100644 docs/cmdline-opts/proxy-service-name.md + create mode 100644 docs/cmdline-opts/proxy-ssl-allow-beast.md + create mode 100644 docs/cmdline-opts/proxy-ssl-auto-client-cert.md + create mode 100644 docs/cmdline-opts/proxy-tls13-ciphers.md + create mode 100644 docs/cmdline-opts/proxy-tlsauthtype.md + create mode 100644 docs/cmdline-opts/proxy-tlspassword.md + create mode 100644 docs/cmdline-opts/proxy-tlsuser.md + create mode 100644 docs/cmdline-opts/proxy-tlsv1.md + create mode 100644 docs/cmdline-opts/proxy-user.md + create mode 100644 docs/cmdline-opts/proxy.md + create mode 100644 docs/cmdline-opts/proxy1.0.md + create mode 100644 docs/cmdline-opts/proxytunnel.md + create mode 100644 docs/cmdline-opts/pubkey.md + create mode 100644 docs/cmdline-opts/quote.md + create mode 100644 docs/cmdline-opts/random-file.md + create mode 100644 docs/cmdline-opts/range.md + create mode 100644 docs/cmdline-opts/rate.md + create mode 100644 docs/cmdline-opts/raw.md + create mode 100644 docs/cmdline-opts/referer.md + create mode 100644 docs/cmdline-opts/remote-header-name.md + create mode 100644 docs/cmdline-opts/remote-name-all.md + create mode 100644 docs/cmdline-opts/remote-name.md + create mode 100644 docs/cmdline-opts/remote-time.md + create mode 100644 docs/cmdline-opts/remove-on-error.md + create mode 100644 docs/cmdline-opts/request-target.md + create mode 100644 docs/cmdline-opts/request.md + create mode 100644 docs/cmdline-opts/resolve.md + create mode 100644 docs/cmdline-opts/retry-all-errors.md + create mode 100644 docs/cmdline-opts/retry-connrefused.md + create mode 100644 docs/cmdline-opts/retry-delay.md + create mode 100644 docs/cmdline-opts/retry-max-time.md + create mode 100644 docs/cmdline-opts/retry.md + create mode 100644 docs/cmdline-opts/sasl-authzid.md + create mode 100644 docs/cmdline-opts/sasl-ir.md + create mode 100644 docs/cmdline-opts/service-name.md + create mode 100644 docs/cmdline-opts/show-error.md + create mode 100644 docs/cmdline-opts/silent.md + create mode 100644 docs/cmdline-opts/socks4.md + create mode 100644 docs/cmdline-opts/socks4a.md + create mode 100644 docs/cmdline-opts/socks5-basic.md + create mode 100644 docs/cmdline-opts/socks5-gssapi-nec.md + create mode 100644 docs/cmdline-opts/socks5-gssapi-service.md + create mode 100644 docs/cmdline-opts/socks5-gssapi.md + create mode 100644 docs/cmdline-opts/socks5-hostname.md + create mode 100644 docs/cmdline-opts/socks5.md + create mode 100644 docs/cmdline-opts/speed-limit.md + create mode 100644 docs/cmdline-opts/speed-time.md + create mode 100644 docs/cmdline-opts/ssl-allow-beast.md + create mode 100644 docs/cmdline-opts/ssl-auto-client-cert.md + create mode 100644 docs/cmdline-opts/ssl-no-revoke.md + create mode 100644 docs/cmdline-opts/ssl-reqd.md + create mode 100644 docs/cmdline-opts/ssl-revoke-best-effort.md + create mode 100644 docs/cmdline-opts/ssl.md + create mode 100644 docs/cmdline-opts/sslv2.md + create mode 100644 docs/cmdline-opts/sslv3.md + create mode 100644 docs/cmdline-opts/stderr.md + create mode 100644 docs/cmdline-opts/styled-output.md + create mode 100644 docs/cmdline-opts/suppress-connect-headers.md + create mode 100644 docs/cmdline-opts/tcp-fastopen.md + create mode 100644 docs/cmdline-opts/tcp-nodelay.md + create mode 100644 docs/cmdline-opts/telnet-option.md + create mode 100644 docs/cmdline-opts/tftp-blksize.md + create mode 100644 docs/cmdline-opts/tftp-no-options.md + create mode 100644 docs/cmdline-opts/time-cond.md + create mode 100644 docs/cmdline-opts/tls-max.md + create mode 100644 docs/cmdline-opts/tls13-ciphers.md + create mode 100644 docs/cmdline-opts/tlsauthtype.md + create mode 100644 docs/cmdline-opts/tlspassword.md + create mode 100644 docs/cmdline-opts/tlsuser.md + create mode 100644 docs/cmdline-opts/tlsv1.0.md + create mode 100644 docs/cmdline-opts/tlsv1.1.md + create mode 100644 docs/cmdline-opts/tlsv1.2.md + create mode 100644 docs/cmdline-opts/tlsv1.3.md + create mode 100644 docs/cmdline-opts/tlsv1.md + create mode 100644 docs/cmdline-opts/tr-encoding.md + create mode 100644 docs/cmdline-opts/trace-ascii.md + create mode 100644 docs/cmdline-opts/trace-config.md + create mode 100644 docs/cmdline-opts/trace-ids.md + create mode 100644 docs/cmdline-opts/trace-time.md + create mode 100644 docs/cmdline-opts/trace.md + create mode 100644 docs/cmdline-opts/unix-socket.md + create mode 100644 docs/cmdline-opts/upload-file.md + create mode 100644 docs/cmdline-opts/url-query.md + create mode 100644 docs/cmdline-opts/url.md + create mode 100644 docs/cmdline-opts/use-ascii.md + create mode 100644 docs/cmdline-opts/user-agent.md + create mode 100644 docs/cmdline-opts/user.md + create mode 100644 docs/cmdline-opts/variable.md + create mode 100644 docs/cmdline-opts/verbose.md + create mode 100644 docs/cmdline-opts/version.md + create mode 100644 docs/cmdline-opts/write-out.md + create mode 100644 docs/cmdline-opts/xattr.md + create mode 100644 docs/curl-config.md + create mode 100644 docs/examples/address-scope.c + create mode 100644 docs/examples/interface.c + create mode 100644 docs/examples/keepalive.c + create mode 100644 docs/examples/localport.c + create mode 100644 docs/examples/netrc.c + create mode 100644 docs/examples/range.c + create mode 100644 docs/examples/rtsp-options.c + create mode 100644 docs/libcurl/curl_easy_cleanup.md + create mode 100644 docs/libcurl/curl_easy_duphandle.md + create mode 100644 docs/libcurl/curl_easy_escape.md + create mode 100644 docs/libcurl/curl_easy_getinfo.md + create mode 100644 docs/libcurl/curl_easy_header.md + create mode 100644 docs/libcurl/curl_easy_init.md + create mode 100644 docs/libcurl/curl_easy_nextheader.md + create mode 100644 docs/libcurl/curl_easy_option_by_id.md + create mode 100644 docs/libcurl/curl_easy_option_by_name.md + create mode 100644 docs/libcurl/curl_easy_option_next.md + create mode 100644 docs/libcurl/curl_easy_pause.md + create mode 100644 docs/libcurl/curl_easy_perform.md + create mode 100644 docs/libcurl/curl_easy_recv.md + create mode 100644 docs/libcurl/curl_easy_reset.md + create mode 100644 docs/libcurl/curl_easy_send.md + create mode 100644 docs/libcurl/curl_easy_setopt.md + create mode 100644 docs/libcurl/curl_easy_strerror.md + create mode 100644 docs/libcurl/curl_easy_unescape.md + create mode 100644 docs/libcurl/curl_easy_upkeep.md + create mode 100644 docs/libcurl/curl_escape.md + create mode 100644 docs/libcurl/curl_formadd.md + create mode 100644 docs/libcurl/curl_formfree.md + create mode 100644 docs/libcurl/curl_formget.md + create mode 100644 docs/libcurl/curl_free.md + create mode 100644 docs/libcurl/curl_getdate.md + create mode 100644 docs/libcurl/curl_getenv.md + create mode 100644 docs/libcurl/curl_global_cleanup.md + create mode 100644 docs/libcurl/curl_global_init.md + create mode 100644 docs/libcurl/curl_global_init_mem.md + create mode 100644 docs/libcurl/curl_global_sslset.md + create mode 100644 docs/libcurl/curl_global_trace.md + create mode 100644 docs/libcurl/curl_mime_addpart.md + create mode 100644 docs/libcurl/curl_mime_data.md + create mode 100644 docs/libcurl/curl_mime_data_cb.md + create mode 100644 docs/libcurl/curl_mime_encoder.md + create mode 100644 docs/libcurl/curl_mime_filedata.md + create mode 100644 docs/libcurl/curl_mime_filename.md + create mode 100644 docs/libcurl/curl_mime_free.md + create mode 100644 docs/libcurl/curl_mime_headers.md + create mode 100644 docs/libcurl/curl_mime_init.md + create mode 100644 docs/libcurl/curl_mime_name.md + create mode 100644 docs/libcurl/curl_mime_subparts.md + create mode 100644 docs/libcurl/curl_mime_type.md + create mode 100644 docs/libcurl/curl_mprintf.md + create mode 100644 docs/libcurl/curl_multi_add_handle.md + create mode 100644 docs/libcurl/curl_multi_assign.md + create mode 100644 docs/libcurl/curl_multi_cleanup.md + create mode 100644 docs/libcurl/curl_multi_fdset.md + create mode 100644 docs/libcurl/curl_multi_get_handles.md + create mode 100644 docs/libcurl/curl_multi_info_read.md + create mode 100644 docs/libcurl/curl_multi_init.md + create mode 100644 docs/libcurl/curl_multi_perform.md + create mode 100644 docs/libcurl/curl_multi_poll.md + create mode 100644 docs/libcurl/curl_multi_remove_handle.md + create mode 100644 docs/libcurl/curl_multi_setopt.md + create mode 100644 docs/libcurl/curl_multi_socket.md + create mode 100644 docs/libcurl/curl_multi_socket_action.md + create mode 100644 docs/libcurl/curl_multi_socket_all.md + create mode 100644 docs/libcurl/curl_multi_strerror.md + create mode 100644 docs/libcurl/curl_multi_timeout.md + create mode 100644 docs/libcurl/curl_multi_wait.md + create mode 100644 docs/libcurl/curl_multi_wakeup.md + create mode 100644 docs/libcurl/curl_pushheader_byname.md + create mode 100644 docs/libcurl/curl_pushheader_bynum.md + create mode 100644 docs/libcurl/curl_share_cleanup.md + create mode 100644 docs/libcurl/curl_share_init.md + create mode 100644 docs/libcurl/curl_share_setopt.md + create mode 100644 docs/libcurl/curl_share_strerror.md + create mode 100644 docs/libcurl/curl_slist_append.md + create mode 100644 docs/libcurl/curl_slist_free_all.md + create mode 100644 docs/libcurl/curl_strequal.md + create mode 100644 docs/libcurl/curl_strnequal.md + create mode 100644 docs/libcurl/curl_unescape.md + create mode 100644 docs/libcurl/curl_url.md + create mode 100644 docs/libcurl/curl_url_cleanup.md + create mode 100644 docs/libcurl/curl_url_dup.md + create mode 100644 docs/libcurl/curl_url_get.md + create mode 100644 docs/libcurl/curl_url_set.md + create mode 100644 docs/libcurl/curl_url_strerror.md + create mode 100644 docs/libcurl/curl_version.md + create mode 100644 docs/libcurl/curl_version_info.md + create mode 100644 docs/libcurl/curl_ws_meta.md + create mode 100644 docs/libcurl/curl_ws_recv.md + create mode 100644 docs/libcurl/curl_ws_send.md + create mode 100644 docs/libcurl/libcurl-easy.md + create mode 100644 docs/libcurl/libcurl-env-dbg.md + create mode 100644 docs/libcurl/libcurl-env.md + create mode 100644 docs/libcurl/libcurl-errors.md + create mode 100644 docs/libcurl/libcurl-multi.md + create mode 100644 docs/libcurl/libcurl-security.md + create mode 100644 docs/libcurl/libcurl-share.md + create mode 100644 docs/libcurl/libcurl-symbols.md + create mode 100644 docs/libcurl/libcurl-thread.md + create mode 100644 docs/libcurl/libcurl-tutorial.md + create mode 100644 docs/libcurl/libcurl-url.md + create mode 100644 docs/libcurl/libcurl-ws.md + create mode 100644 docs/libcurl/libcurl.md + create mode 100644 docs/libcurl/opts/CURLINFO_ACTIVESOCKET.md + create mode 100644 docs/libcurl/opts/CURLINFO_APPCONNECT_TIME.md + create mode 100644 docs/libcurl/opts/CURLINFO_APPCONNECT_TIME_T.md + create mode 100644 docs/libcurl/opts/CURLINFO_CAINFO.md + create mode 100644 docs/libcurl/opts/CURLINFO_CAPATH.md + create mode 100644 docs/libcurl/opts/CURLINFO_CERTINFO.md + create mode 100644 docs/libcurl/opts/CURLINFO_CONDITION_UNMET.md + create mode 100644 docs/libcurl/opts/CURLINFO_CONNECT_TIME.md + create mode 100644 docs/libcurl/opts/CURLINFO_CONNECT_TIME_T.md + create mode 100644 docs/libcurl/opts/CURLINFO_CONN_ID.md + create mode 100644 docs/libcurl/opts/CURLINFO_CONTENT_LENGTH_DOWNLOAD.md + create mode 100644 docs/libcurl/opts/CURLINFO_CONTENT_LENGTH_DOWNLOAD_T.md + create mode 100644 docs/libcurl/opts/CURLINFO_CONTENT_LENGTH_UPLOAD.md + create mode 100644 docs/libcurl/opts/CURLINFO_CONTENT_LENGTH_UPLOAD_T.md + create mode 100644 docs/libcurl/opts/CURLINFO_CONTENT_TYPE.md + create mode 100644 docs/libcurl/opts/CURLINFO_COOKIELIST.md + create mode 100644 docs/libcurl/opts/CURLINFO_EFFECTIVE_METHOD.md + create mode 100644 docs/libcurl/opts/CURLINFO_EFFECTIVE_URL.md + create mode 100644 docs/libcurl/opts/CURLINFO_FILETIME.md + create mode 100644 docs/libcurl/opts/CURLINFO_FILETIME_T.md + create mode 100644 docs/libcurl/opts/CURLINFO_FTP_ENTRY_PATH.md + create mode 100644 docs/libcurl/opts/CURLINFO_HEADER_SIZE.md + create mode 100644 docs/libcurl/opts/CURLINFO_HTTPAUTH_AVAIL.md + create mode 100644 docs/libcurl/opts/CURLINFO_HTTP_CONNECTCODE.md + create mode 100644 docs/libcurl/opts/CURLINFO_HTTP_VERSION.md + create mode 100644 docs/libcurl/opts/CURLINFO_LASTSOCKET.md + create mode 100644 docs/libcurl/opts/CURLINFO_LOCAL_IP.md + create mode 100644 docs/libcurl/opts/CURLINFO_LOCAL_PORT.md + create mode 100644 docs/libcurl/opts/CURLINFO_NAMELOOKUP_TIME.md + create mode 100644 docs/libcurl/opts/CURLINFO_NAMELOOKUP_TIME_T.md + create mode 100644 docs/libcurl/opts/CURLINFO_NUM_CONNECTS.md + create mode 100644 docs/libcurl/opts/CURLINFO_OS_ERRNO.md + create mode 100644 docs/libcurl/opts/CURLINFO_PRETRANSFER_TIME.md + create mode 100644 docs/libcurl/opts/CURLINFO_PRETRANSFER_TIME_T.md + create mode 100644 docs/libcurl/opts/CURLINFO_PRIMARY_IP.md + create mode 100644 docs/libcurl/opts/CURLINFO_PRIMARY_PORT.md + create mode 100644 docs/libcurl/opts/CURLINFO_PRIVATE.md + create mode 100644 docs/libcurl/opts/CURLINFO_PROTOCOL.md + create mode 100644 docs/libcurl/opts/CURLINFO_PROXYAUTH_AVAIL.md + create mode 100644 docs/libcurl/opts/CURLINFO_PROXY_ERROR.md + create mode 100644 docs/libcurl/opts/CURLINFO_PROXY_SSL_VERIFYRESULT.md + create mode 100644 docs/libcurl/opts/CURLINFO_QUEUE_TIME_T.md + create mode 100644 docs/libcurl/opts/CURLINFO_REDIRECT_COUNT.md + create mode 100644 docs/libcurl/opts/CURLINFO_REDIRECT_TIME.md + create mode 100644 docs/libcurl/opts/CURLINFO_REDIRECT_TIME_T.md + create mode 100644 docs/libcurl/opts/CURLINFO_REDIRECT_URL.md + create mode 100644 docs/libcurl/opts/CURLINFO_REFERER.md + create mode 100644 docs/libcurl/opts/CURLINFO_REQUEST_SIZE.md + create mode 100644 docs/libcurl/opts/CURLINFO_RESPONSE_CODE.md + create mode 100644 docs/libcurl/opts/CURLINFO_RETRY_AFTER.md + create mode 100644 docs/libcurl/opts/CURLINFO_RTSP_CLIENT_CSEQ.md + create mode 100644 docs/libcurl/opts/CURLINFO_RTSP_CSEQ_RECV.md + create mode 100644 docs/libcurl/opts/CURLINFO_RTSP_SERVER_CSEQ.md + create mode 100644 docs/libcurl/opts/CURLINFO_RTSP_SESSION_ID.md + create mode 100644 docs/libcurl/opts/CURLINFO_SCHEME.md + create mode 100644 docs/libcurl/opts/CURLINFO_SIZE_DOWNLOAD.md + create mode 100644 docs/libcurl/opts/CURLINFO_SIZE_DOWNLOAD_T.md + create mode 100644 docs/libcurl/opts/CURLINFO_SIZE_UPLOAD.md + create mode 100644 docs/libcurl/opts/CURLINFO_SIZE_UPLOAD_T.md + create mode 100644 docs/libcurl/opts/CURLINFO_SPEED_DOWNLOAD.md + create mode 100644 docs/libcurl/opts/CURLINFO_SPEED_DOWNLOAD_T.md + create mode 100644 docs/libcurl/opts/CURLINFO_SPEED_UPLOAD.md + create mode 100644 docs/libcurl/opts/CURLINFO_SPEED_UPLOAD_T.md + create mode 100644 docs/libcurl/opts/CURLINFO_SSL_ENGINES.md + create mode 100644 docs/libcurl/opts/CURLINFO_SSL_VERIFYRESULT.md + create mode 100644 docs/libcurl/opts/CURLINFO_STARTTRANSFER_TIME.md + create mode 100644 docs/libcurl/opts/CURLINFO_STARTTRANSFER_TIME_T.md + create mode 100644 docs/libcurl/opts/CURLINFO_TLS_SESSION.md + create mode 100644 docs/libcurl/opts/CURLINFO_TLS_SSL_PTR.md + create mode 100644 docs/libcurl/opts/CURLINFO_TOTAL_TIME.md + create mode 100644 docs/libcurl/opts/CURLINFO_TOTAL_TIME_T.md + create mode 100644 docs/libcurl/opts/CURLINFO_USED_PROXY.md + create mode 100644 docs/libcurl/opts/CURLINFO_XFER_ID.md + create mode 100644 docs/libcurl/opts/CURLMOPT_CHUNK_LENGTH_PENALTY_SIZE.md + create mode 100644 docs/libcurl/opts/CURLMOPT_CONTENT_LENGTH_PENALTY_SIZE.md + create mode 100644 docs/libcurl/opts/CURLMOPT_MAXCONNECTS.md + create mode 100644 docs/libcurl/opts/CURLMOPT_MAX_CONCURRENT_STREAMS.md + create mode 100644 docs/libcurl/opts/CURLMOPT_MAX_HOST_CONNECTIONS.md + create mode 100644 docs/libcurl/opts/CURLMOPT_MAX_PIPELINE_LENGTH.md + create mode 100644 docs/libcurl/opts/CURLMOPT_MAX_TOTAL_CONNECTIONS.md + create mode 100644 docs/libcurl/opts/CURLMOPT_PIPELINING.md + create mode 100644 docs/libcurl/opts/CURLMOPT_PIPELINING_SERVER_BL.md + create mode 100644 docs/libcurl/opts/CURLMOPT_PIPELINING_SITE_BL.md + create mode 100644 docs/libcurl/opts/CURLMOPT_PUSHDATA.md + create mode 100644 docs/libcurl/opts/CURLMOPT_PUSHFUNCTION.md + create mode 100644 docs/libcurl/opts/CURLMOPT_SOCKETDATA.md + create mode 100644 docs/libcurl/opts/CURLMOPT_SOCKETFUNCTION.md + create mode 100644 docs/libcurl/opts/CURLMOPT_TIMERDATA.md + create mode 100644 docs/libcurl/opts/CURLMOPT_TIMERFUNCTION.md + create mode 100644 docs/libcurl/opts/CURLOPT_ABSTRACT_UNIX_SOCKET.md + create mode 100644 docs/libcurl/opts/CURLOPT_ACCEPTTIMEOUT_MS.md + create mode 100644 docs/libcurl/opts/CURLOPT_ACCEPT_ENCODING.md + create mode 100644 docs/libcurl/opts/CURLOPT_ADDRESS_SCOPE.md + create mode 100644 docs/libcurl/opts/CURLOPT_ALTSVC.md + create mode 100644 docs/libcurl/opts/CURLOPT_ALTSVC_CTRL.md + create mode 100644 docs/libcurl/opts/CURLOPT_APPEND.md + create mode 100644 docs/libcurl/opts/CURLOPT_AUTOREFERER.md + create mode 100644 docs/libcurl/opts/CURLOPT_AWS_SIGV4.md + create mode 100644 docs/libcurl/opts/CURLOPT_BUFFERSIZE.md + create mode 100644 docs/libcurl/opts/CURLOPT_CAINFO.md + create mode 100644 docs/libcurl/opts/CURLOPT_CAINFO_BLOB.md + create mode 100644 docs/libcurl/opts/CURLOPT_CAPATH.md + create mode 100644 docs/libcurl/opts/CURLOPT_CA_CACHE_TIMEOUT.md + create mode 100644 docs/libcurl/opts/CURLOPT_CERTINFO.md + create mode 100644 docs/libcurl/opts/CURLOPT_CHUNK_BGN_FUNCTION.md + create mode 100644 docs/libcurl/opts/CURLOPT_CHUNK_DATA.md + create mode 100644 docs/libcurl/opts/CURLOPT_CHUNK_END_FUNCTION.md + create mode 100644 docs/libcurl/opts/CURLOPT_CLOSESOCKETDATA.md + create mode 100644 docs/libcurl/opts/CURLOPT_CLOSESOCKETFUNCTION.md + create mode 100644 docs/libcurl/opts/CURLOPT_CONNECTTIMEOUT.md + create mode 100644 docs/libcurl/opts/CURLOPT_CONNECTTIMEOUT_MS.md + create mode 100644 docs/libcurl/opts/CURLOPT_CONNECT_ONLY.md + create mode 100644 docs/libcurl/opts/CURLOPT_CONNECT_TO.md + create mode 100644 docs/libcurl/opts/CURLOPT_CONV_FROM_NETWORK_FUNCTION.md + create mode 100644 docs/libcurl/opts/CURLOPT_CONV_FROM_UTF8_FUNCTION.md + create mode 100644 docs/libcurl/opts/CURLOPT_CONV_TO_NETWORK_FUNCTION.md + create mode 100644 docs/libcurl/opts/CURLOPT_COOKIE.md + create mode 100644 docs/libcurl/opts/CURLOPT_COOKIEFILE.md + create mode 100644 docs/libcurl/opts/CURLOPT_COOKIEJAR.md + create mode 100644 docs/libcurl/opts/CURLOPT_COOKIELIST.md + create mode 100644 docs/libcurl/opts/CURLOPT_COOKIESESSION.md + create mode 100644 docs/libcurl/opts/CURLOPT_COPYPOSTFIELDS.md + create mode 100644 docs/libcurl/opts/CURLOPT_CRLF.md + create mode 100644 docs/libcurl/opts/CURLOPT_CRLFILE.md + create mode 100644 docs/libcurl/opts/CURLOPT_CURLU.md + create mode 100644 docs/libcurl/opts/CURLOPT_CUSTOMREQUEST.md + create mode 100644 docs/libcurl/opts/CURLOPT_DEBUGDATA.md + create mode 100644 docs/libcurl/opts/CURLOPT_DEBUGFUNCTION.md + create mode 100644 docs/libcurl/opts/CURLOPT_DEFAULT_PROTOCOL.md + create mode 100644 docs/libcurl/opts/CURLOPT_DIRLISTONLY.md + create mode 100644 docs/libcurl/opts/CURLOPT_DISALLOW_USERNAME_IN_URL.md + create mode 100644 docs/libcurl/opts/CURLOPT_DNS_CACHE_TIMEOUT.md + create mode 100644 docs/libcurl/opts/CURLOPT_DNS_INTERFACE.md + create mode 100644 docs/libcurl/opts/CURLOPT_DNS_LOCAL_IP4.md + create mode 100644 docs/libcurl/opts/CURLOPT_DNS_LOCAL_IP6.md + create mode 100644 docs/libcurl/opts/CURLOPT_DNS_SERVERS.md + create mode 100644 docs/libcurl/opts/CURLOPT_DNS_SHUFFLE_ADDRESSES.md + create mode 100644 docs/libcurl/opts/CURLOPT_DNS_USE_GLOBAL_CACHE.md + create mode 100644 docs/libcurl/opts/CURLOPT_DOH_SSL_VERIFYHOST.md + create mode 100644 docs/libcurl/opts/CURLOPT_DOH_SSL_VERIFYPEER.md + create mode 100644 docs/libcurl/opts/CURLOPT_DOH_SSL_VERIFYSTATUS.md + create mode 100644 docs/libcurl/opts/CURLOPT_DOH_URL.md + create mode 100644 docs/libcurl/opts/CURLOPT_EGDSOCKET.md + create mode 100644 docs/libcurl/opts/CURLOPT_ERRORBUFFER.md + create mode 100644 docs/libcurl/opts/CURLOPT_EXPECT_100_TIMEOUT_MS.md + create mode 100644 docs/libcurl/opts/CURLOPT_FAILONERROR.md + create mode 100644 docs/libcurl/opts/CURLOPT_FILETIME.md + create mode 100644 docs/libcurl/opts/CURLOPT_FNMATCH_DATA.md + create mode 100644 docs/libcurl/opts/CURLOPT_FNMATCH_FUNCTION.md + create mode 100644 docs/libcurl/opts/CURLOPT_FOLLOWLOCATION.md + create mode 100644 docs/libcurl/opts/CURLOPT_FORBID_REUSE.md + create mode 100644 docs/libcurl/opts/CURLOPT_FRESH_CONNECT.md + create mode 100644 docs/libcurl/opts/CURLOPT_FTPPORT.md + create mode 100644 docs/libcurl/opts/CURLOPT_FTPSSLAUTH.md + create mode 100644 docs/libcurl/opts/CURLOPT_FTP_ACCOUNT.md + create mode 100644 docs/libcurl/opts/CURLOPT_FTP_ALTERNATIVE_TO_USER.md + create mode 100644 docs/libcurl/opts/CURLOPT_FTP_CREATE_MISSING_DIRS.md + create mode 100644 docs/libcurl/opts/CURLOPT_FTP_FILEMETHOD.md + create mode 100644 docs/libcurl/opts/CURLOPT_FTP_SKIP_PASV_IP.md + create mode 100644 docs/libcurl/opts/CURLOPT_FTP_SSL_CCC.md + create mode 100644 docs/libcurl/opts/CURLOPT_FTP_USE_EPRT.md + create mode 100644 docs/libcurl/opts/CURLOPT_FTP_USE_EPSV.md + create mode 100644 docs/libcurl/opts/CURLOPT_FTP_USE_PRET.md + create mode 100644 docs/libcurl/opts/CURLOPT_GSSAPI_DELEGATION.md + create mode 100644 docs/libcurl/opts/CURLOPT_HAPPY_EYEBALLS_TIMEOUT_MS.md + create mode 100644 docs/libcurl/opts/CURLOPT_HAPROXYPROTOCOL.md + create mode 100644 docs/libcurl/opts/CURLOPT_HAPROXY_CLIENT_IP.md + create mode 100644 docs/libcurl/opts/CURLOPT_HEADER.md + create mode 100644 docs/libcurl/opts/CURLOPT_HEADERDATA.md + create mode 100644 docs/libcurl/opts/CURLOPT_HEADERFUNCTION.md + create mode 100644 docs/libcurl/opts/CURLOPT_HEADEROPT.md + create mode 100644 docs/libcurl/opts/CURLOPT_HSTS.md + create mode 100644 docs/libcurl/opts/CURLOPT_HSTSREADDATA.md + create mode 100644 docs/libcurl/opts/CURLOPT_HSTSREADFUNCTION.md + create mode 100644 docs/libcurl/opts/CURLOPT_HSTSWRITEDATA.md + create mode 100644 docs/libcurl/opts/CURLOPT_HSTSWRITEFUNCTION.md + create mode 100644 docs/libcurl/opts/CURLOPT_HSTS_CTRL.md + create mode 100644 docs/libcurl/opts/CURLOPT_HTTP09_ALLOWED.md + create mode 100644 docs/libcurl/opts/CURLOPT_HTTP200ALIASES.md + create mode 100644 docs/libcurl/opts/CURLOPT_HTTPAUTH.md + create mode 100644 docs/libcurl/opts/CURLOPT_HTTPGET.md + create mode 100644 docs/libcurl/opts/CURLOPT_HTTPHEADER.md + create mode 100644 docs/libcurl/opts/CURLOPT_HTTPPOST.md + create mode 100644 docs/libcurl/opts/CURLOPT_HTTPPROXYTUNNEL.md + create mode 100644 docs/libcurl/opts/CURLOPT_HTTP_CONTENT_DECODING.md + create mode 100644 docs/libcurl/opts/CURLOPT_HTTP_TRANSFER_DECODING.md + create mode 100644 docs/libcurl/opts/CURLOPT_HTTP_VERSION.md + create mode 100644 docs/libcurl/opts/CURLOPT_IGNORE_CONTENT_LENGTH.md + create mode 100644 docs/libcurl/opts/CURLOPT_INFILESIZE.md + create mode 100644 docs/libcurl/opts/CURLOPT_INFILESIZE_LARGE.md + create mode 100644 docs/libcurl/opts/CURLOPT_INTERFACE.md + create mode 100644 docs/libcurl/opts/CURLOPT_INTERLEAVEDATA.md + create mode 100644 docs/libcurl/opts/CURLOPT_INTERLEAVEFUNCTION.md + create mode 100644 docs/libcurl/opts/CURLOPT_IOCTLDATA.md + create mode 100644 docs/libcurl/opts/CURLOPT_IOCTLFUNCTION.md + create mode 100644 docs/libcurl/opts/CURLOPT_IPRESOLVE.md + create mode 100644 docs/libcurl/opts/CURLOPT_ISSUERCERT.md + create mode 100644 docs/libcurl/opts/CURLOPT_ISSUERCERT_BLOB.md + create mode 100644 docs/libcurl/opts/CURLOPT_KEEP_SENDING_ON_ERROR.md + create mode 100644 docs/libcurl/opts/CURLOPT_KEYPASSWD.md + create mode 100644 docs/libcurl/opts/CURLOPT_KRBLEVEL.md + create mode 100644 docs/libcurl/opts/CURLOPT_LOCALPORT.md + create mode 100644 docs/libcurl/opts/CURLOPT_LOCALPORTRANGE.md + create mode 100644 docs/libcurl/opts/CURLOPT_LOGIN_OPTIONS.md + create mode 100644 docs/libcurl/opts/CURLOPT_LOW_SPEED_LIMIT.md + create mode 100644 docs/libcurl/opts/CURLOPT_LOW_SPEED_TIME.md + create mode 100644 docs/libcurl/opts/CURLOPT_MAIL_AUTH.md + create mode 100644 docs/libcurl/opts/CURLOPT_MAIL_FROM.md + create mode 100644 docs/libcurl/opts/CURLOPT_MAIL_RCPT.md + create mode 100644 docs/libcurl/opts/CURLOPT_MAIL_RCPT_ALLOWFAILS.md + create mode 100644 docs/libcurl/opts/CURLOPT_MAXAGE_CONN.md + create mode 100644 docs/libcurl/opts/CURLOPT_MAXCONNECTS.md + create mode 100644 docs/libcurl/opts/CURLOPT_MAXFILESIZE.md + create mode 100644 docs/libcurl/opts/CURLOPT_MAXFILESIZE_LARGE.md + create mode 100644 docs/libcurl/opts/CURLOPT_MAXLIFETIME_CONN.md + create mode 100644 docs/libcurl/opts/CURLOPT_MAXREDIRS.md + create mode 100644 docs/libcurl/opts/CURLOPT_MAX_RECV_SPEED_LARGE.md + create mode 100644 docs/libcurl/opts/CURLOPT_MAX_SEND_SPEED_LARGE.md + create mode 100644 docs/libcurl/opts/CURLOPT_MIMEPOST.md + create mode 100644 docs/libcurl/opts/CURLOPT_MIME_OPTIONS.md + create mode 100644 docs/libcurl/opts/CURLOPT_NETRC.md + create mode 100644 docs/libcurl/opts/CURLOPT_NETRC_FILE.md + create mode 100644 docs/libcurl/opts/CURLOPT_NEW_DIRECTORY_PERMS.md + create mode 100644 docs/libcurl/opts/CURLOPT_NEW_FILE_PERMS.md + create mode 100644 docs/libcurl/opts/CURLOPT_NOBODY.md + create mode 100644 docs/libcurl/opts/CURLOPT_NOPROGRESS.md + create mode 100644 docs/libcurl/opts/CURLOPT_NOPROXY.md + create mode 100644 docs/libcurl/opts/CURLOPT_NOSIGNAL.md + create mode 100644 docs/libcurl/opts/CURLOPT_OPENSOCKETDATA.md + create mode 100644 docs/libcurl/opts/CURLOPT_OPENSOCKETFUNCTION.md + create mode 100644 docs/libcurl/opts/CURLOPT_PASSWORD.md + create mode 100644 docs/libcurl/opts/CURLOPT_PATH_AS_IS.md + create mode 100644 docs/libcurl/opts/CURLOPT_PINNEDPUBLICKEY.md + create mode 100644 docs/libcurl/opts/CURLOPT_PIPEWAIT.md + create mode 100644 docs/libcurl/opts/CURLOPT_PORT.md + create mode 100644 docs/libcurl/opts/CURLOPT_POST.md + create mode 100644 docs/libcurl/opts/CURLOPT_POSTFIELDS.md + create mode 100644 docs/libcurl/opts/CURLOPT_POSTFIELDSIZE.md + create mode 100644 docs/libcurl/opts/CURLOPT_POSTFIELDSIZE_LARGE.md + create mode 100644 docs/libcurl/opts/CURLOPT_POSTQUOTE.md + create mode 100644 docs/libcurl/opts/CURLOPT_POSTREDIR.md + create mode 100644 docs/libcurl/opts/CURLOPT_PREQUOTE.md + create mode 100644 docs/libcurl/opts/CURLOPT_PREREQDATA.md + create mode 100644 docs/libcurl/opts/CURLOPT_PREREQFUNCTION.md + create mode 100644 docs/libcurl/opts/CURLOPT_PRE_PROXY.md + create mode 100644 docs/libcurl/opts/CURLOPT_PRIVATE.md + create mode 100644 docs/libcurl/opts/CURLOPT_PROGRESSDATA.md + create mode 100644 docs/libcurl/opts/CURLOPT_PROGRESSFUNCTION.md + create mode 100644 docs/libcurl/opts/CURLOPT_PROTOCOLS.md + create mode 100644 docs/libcurl/opts/CURLOPT_PROTOCOLS_STR.md + create mode 100644 docs/libcurl/opts/CURLOPT_PROXY.md + create mode 100644 docs/libcurl/opts/CURLOPT_PROXYAUTH.md + create mode 100644 docs/libcurl/opts/CURLOPT_PROXYHEADER.md + create mode 100644 docs/libcurl/opts/CURLOPT_PROXYPASSWORD.md + create mode 100644 docs/libcurl/opts/CURLOPT_PROXYPORT.md + create mode 100644 docs/libcurl/opts/CURLOPT_PROXYTYPE.md + create mode 100644 docs/libcurl/opts/CURLOPT_PROXYUSERNAME.md + create mode 100644 docs/libcurl/opts/CURLOPT_PROXYUSERPWD.md + create mode 100644 docs/libcurl/opts/CURLOPT_PROXY_CAINFO.md + create mode 100644 docs/libcurl/opts/CURLOPT_PROXY_CAINFO_BLOB.md + create mode 100644 docs/libcurl/opts/CURLOPT_PROXY_CAPATH.md + create mode 100644 docs/libcurl/opts/CURLOPT_PROXY_CRLFILE.md + create mode 100644 docs/libcurl/opts/CURLOPT_PROXY_ISSUERCERT.md + create mode 100644 docs/libcurl/opts/CURLOPT_PROXY_ISSUERCERT_BLOB.md + create mode 100644 docs/libcurl/opts/CURLOPT_PROXY_KEYPASSWD.md + create mode 100644 docs/libcurl/opts/CURLOPT_PROXY_PINNEDPUBLICKEY.md + create mode 100644 docs/libcurl/opts/CURLOPT_PROXY_SERVICE_NAME.md + create mode 100644 docs/libcurl/opts/CURLOPT_PROXY_SSLCERT.md + create mode 100644 docs/libcurl/opts/CURLOPT_PROXY_SSLCERTTYPE.md + create mode 100644 docs/libcurl/opts/CURLOPT_PROXY_SSLCERT_BLOB.md + create mode 100644 docs/libcurl/opts/CURLOPT_PROXY_SSLKEY.md + create mode 100644 docs/libcurl/opts/CURLOPT_PROXY_SSLKEYTYPE.md + create mode 100644 docs/libcurl/opts/CURLOPT_PROXY_SSLKEY_BLOB.md + create mode 100644 docs/libcurl/opts/CURLOPT_PROXY_SSLVERSION.md + create mode 100644 docs/libcurl/opts/CURLOPT_PROXY_SSL_CIPHER_LIST.md + create mode 100644 docs/libcurl/opts/CURLOPT_PROXY_SSL_OPTIONS.md + create mode 100644 docs/libcurl/opts/CURLOPT_PROXY_SSL_VERIFYHOST.md + create mode 100644 docs/libcurl/opts/CURLOPT_PROXY_SSL_VERIFYPEER.md + create mode 100644 docs/libcurl/opts/CURLOPT_PROXY_TLS13_CIPHERS.md + create mode 100644 docs/libcurl/opts/CURLOPT_PROXY_TLSAUTH_PASSWORD.md + create mode 100644 docs/libcurl/opts/CURLOPT_PROXY_TLSAUTH_TYPE.md + create mode 100644 docs/libcurl/opts/CURLOPT_PROXY_TLSAUTH_USERNAME.md + create mode 100644 docs/libcurl/opts/CURLOPT_PROXY_TRANSFER_MODE.md + create mode 100644 docs/libcurl/opts/CURLOPT_PUT.md + create mode 100644 docs/libcurl/opts/CURLOPT_QUICK_EXIT.md + create mode 100644 docs/libcurl/opts/CURLOPT_QUOTE.md + create mode 100644 docs/libcurl/opts/CURLOPT_RANDOM_FILE.md + create mode 100644 docs/libcurl/opts/CURLOPT_RANGE.md + create mode 100644 docs/libcurl/opts/CURLOPT_READDATA.md + create mode 100644 docs/libcurl/opts/CURLOPT_READFUNCTION.md + create mode 100644 docs/libcurl/opts/CURLOPT_REDIR_PROTOCOLS.md + create mode 100644 docs/libcurl/opts/CURLOPT_REDIR_PROTOCOLS_STR.md + create mode 100644 docs/libcurl/opts/CURLOPT_REFERER.md + create mode 100644 docs/libcurl/opts/CURLOPT_REQUEST_TARGET.md + create mode 100644 docs/libcurl/opts/CURLOPT_RESOLVE.md + create mode 100644 docs/libcurl/opts/CURLOPT_RESOLVER_START_DATA.md + create mode 100644 docs/libcurl/opts/CURLOPT_RESOLVER_START_FUNCTION.md + create mode 100644 docs/libcurl/opts/CURLOPT_RESUME_FROM.md + create mode 100644 docs/libcurl/opts/CURLOPT_RESUME_FROM_LARGE.md + create mode 100644 docs/libcurl/opts/CURLOPT_RTSP_CLIENT_CSEQ.md + create mode 100644 docs/libcurl/opts/CURLOPT_RTSP_REQUEST.md + create mode 100644 docs/libcurl/opts/CURLOPT_RTSP_SERVER_CSEQ.md + create mode 100644 docs/libcurl/opts/CURLOPT_RTSP_SESSION_ID.md + create mode 100644 docs/libcurl/opts/CURLOPT_RTSP_STREAM_URI.md + create mode 100644 docs/libcurl/opts/CURLOPT_RTSP_TRANSPORT.md + create mode 100644 docs/libcurl/opts/CURLOPT_SASL_AUTHZID.md + create mode 100644 docs/libcurl/opts/CURLOPT_SASL_IR.md + create mode 100644 docs/libcurl/opts/CURLOPT_SEEKDATA.md + create mode 100644 docs/libcurl/opts/CURLOPT_SEEKFUNCTION.md + create mode 100644 docs/libcurl/opts/CURLOPT_SERVER_RESPONSE_TIMEOUT.md + create mode 100644 docs/libcurl/opts/CURLOPT_SERVER_RESPONSE_TIMEOUT_MS.md + create mode 100644 docs/libcurl/opts/CURLOPT_SERVICE_NAME.md + create mode 100644 docs/libcurl/opts/CURLOPT_SHARE.md + create mode 100644 docs/libcurl/opts/CURLOPT_SOCKOPTDATA.md + create mode 100644 docs/libcurl/opts/CURLOPT_SOCKOPTFUNCTION.md + create mode 100644 docs/libcurl/opts/CURLOPT_SOCKS5_AUTH.md + create mode 100644 docs/libcurl/opts/CURLOPT_SOCKS5_GSSAPI_NEC.md + create mode 100644 docs/libcurl/opts/CURLOPT_SOCKS5_GSSAPI_SERVICE.md + create mode 100644 docs/libcurl/opts/CURLOPT_SSH_AUTH_TYPES.md + create mode 100644 docs/libcurl/opts/CURLOPT_SSH_COMPRESSION.md + create mode 100644 docs/libcurl/opts/CURLOPT_SSH_HOSTKEYDATA.md + create mode 100644 docs/libcurl/opts/CURLOPT_SSH_HOSTKEYFUNCTION.md + create mode 100644 docs/libcurl/opts/CURLOPT_SSH_HOST_PUBLIC_KEY_MD5.md + create mode 100644 docs/libcurl/opts/CURLOPT_SSH_HOST_PUBLIC_KEY_SHA256.md + create mode 100644 docs/libcurl/opts/CURLOPT_SSH_KEYDATA.md + create mode 100644 docs/libcurl/opts/CURLOPT_SSH_KEYFUNCTION.md + create mode 100644 docs/libcurl/opts/CURLOPT_SSH_KNOWNHOSTS.md + create mode 100644 docs/libcurl/opts/CURLOPT_SSH_PRIVATE_KEYFILE.md + create mode 100644 docs/libcurl/opts/CURLOPT_SSH_PUBLIC_KEYFILE.md + create mode 100644 docs/libcurl/opts/CURLOPT_SSLCERT.md + create mode 100644 docs/libcurl/opts/CURLOPT_SSLCERTTYPE.md + create mode 100644 docs/libcurl/opts/CURLOPT_SSLCERT_BLOB.md + create mode 100644 docs/libcurl/opts/CURLOPT_SSLENGINE.md + create mode 100644 docs/libcurl/opts/CURLOPT_SSLENGINE_DEFAULT.md + create mode 100644 docs/libcurl/opts/CURLOPT_SSLKEY.md + create mode 100644 docs/libcurl/opts/CURLOPT_SSLKEYTYPE.md + create mode 100644 docs/libcurl/opts/CURLOPT_SSLKEY_BLOB.md + create mode 100644 docs/libcurl/opts/CURLOPT_SSLVERSION.md + create mode 100644 docs/libcurl/opts/CURLOPT_SSL_CIPHER_LIST.md + create mode 100644 docs/libcurl/opts/CURLOPT_SSL_CTX_DATA.md + create mode 100644 docs/libcurl/opts/CURLOPT_SSL_CTX_FUNCTION.md + create mode 100644 docs/libcurl/opts/CURLOPT_SSL_EC_CURVES.md + create mode 100644 docs/libcurl/opts/CURLOPT_SSL_ENABLE_ALPN.md + create mode 100644 docs/libcurl/opts/CURLOPT_SSL_ENABLE_NPN.md + create mode 100644 docs/libcurl/opts/CURLOPT_SSL_FALSESTART.md + create mode 100644 docs/libcurl/opts/CURLOPT_SSL_OPTIONS.md + create mode 100644 docs/libcurl/opts/CURLOPT_SSL_SESSIONID_CACHE.md + create mode 100644 docs/libcurl/opts/CURLOPT_SSL_VERIFYHOST.md + create mode 100644 docs/libcurl/opts/CURLOPT_SSL_VERIFYPEER.md + create mode 100644 docs/libcurl/opts/CURLOPT_SSL_VERIFYSTATUS.md + create mode 100644 docs/libcurl/opts/CURLOPT_STDERR.md + create mode 100644 docs/libcurl/opts/CURLOPT_STREAM_DEPENDS.md + create mode 100644 docs/libcurl/opts/CURLOPT_STREAM_DEPENDS_E.md + create mode 100644 docs/libcurl/opts/CURLOPT_STREAM_WEIGHT.md + create mode 100644 docs/libcurl/opts/CURLOPT_SUPPRESS_CONNECT_HEADERS.md + create mode 100644 docs/libcurl/opts/CURLOPT_TCP_FASTOPEN.md + create mode 100644 docs/libcurl/opts/CURLOPT_TCP_KEEPALIVE.md + create mode 100644 docs/libcurl/opts/CURLOPT_TCP_KEEPIDLE.md + create mode 100644 docs/libcurl/opts/CURLOPT_TCP_KEEPINTVL.md + create mode 100644 docs/libcurl/opts/CURLOPT_TCP_NODELAY.md + create mode 100644 docs/libcurl/opts/CURLOPT_TELNETOPTIONS.md + create mode 100644 docs/libcurl/opts/CURLOPT_TFTP_BLKSIZE.md + create mode 100644 docs/libcurl/opts/CURLOPT_TFTP_NO_OPTIONS.md + create mode 100644 docs/libcurl/opts/CURLOPT_TIMECONDITION.md + create mode 100644 docs/libcurl/opts/CURLOPT_TIMEOUT.md + create mode 100644 docs/libcurl/opts/CURLOPT_TIMEOUT_MS.md + create mode 100644 docs/libcurl/opts/CURLOPT_TIMEVALUE.md + create mode 100644 docs/libcurl/opts/CURLOPT_TIMEVALUE_LARGE.md + create mode 100644 docs/libcurl/opts/CURLOPT_TLS13_CIPHERS.md + create mode 100644 docs/libcurl/opts/CURLOPT_TLSAUTH_PASSWORD.md + create mode 100644 docs/libcurl/opts/CURLOPT_TLSAUTH_TYPE.md + create mode 100644 docs/libcurl/opts/CURLOPT_TLSAUTH_USERNAME.md + create mode 100644 docs/libcurl/opts/CURLOPT_TRAILERDATA.md + create mode 100644 docs/libcurl/opts/CURLOPT_TRAILERFUNCTION.md + create mode 100644 docs/libcurl/opts/CURLOPT_TRANSFERTEXT.md + create mode 100644 docs/libcurl/opts/CURLOPT_TRANSFER_ENCODING.md + create mode 100644 docs/libcurl/opts/CURLOPT_UNIX_SOCKET_PATH.md + create mode 100644 docs/libcurl/opts/CURLOPT_UNRESTRICTED_AUTH.md + create mode 100644 docs/libcurl/opts/CURLOPT_UPKEEP_INTERVAL_MS.md + create mode 100644 docs/libcurl/opts/CURLOPT_UPLOAD.md + create mode 100644 docs/libcurl/opts/CURLOPT_UPLOAD_BUFFERSIZE.md + create mode 100644 docs/libcurl/opts/CURLOPT_URL.md + create mode 100644 docs/libcurl/opts/CURLOPT_USERAGENT.md + create mode 100644 docs/libcurl/opts/CURLOPT_USERNAME.md + create mode 100644 docs/libcurl/opts/CURLOPT_USERPWD.md + create mode 100644 docs/libcurl/opts/CURLOPT_USE_SSL.md + create mode 100644 docs/libcurl/opts/CURLOPT_VERBOSE.md + create mode 100644 docs/libcurl/opts/CURLOPT_WILDCARDMATCH.md + create mode 100644 docs/libcurl/opts/CURLOPT_WRITEDATA.md + create mode 100644 docs/libcurl/opts/CURLOPT_WRITEFUNCTION.md + create mode 100644 docs/libcurl/opts/CURLOPT_WS_OPTIONS.md + create mode 100644 docs/libcurl/opts/CURLOPT_XFERINFODATA.md + create mode 100644 docs/libcurl/opts/CURLOPT_XFERINFOFUNCTION.md + create mode 100644 docs/libcurl/opts/CURLOPT_XOAUTH2_BEARER.md + create mode 100644 docs/libcurl/opts/CURLSHOPT_LOCKFUNC.md + create mode 100644 docs/libcurl/opts/CURLSHOPT_SHARE.md + create mode 100644 docs/libcurl/opts/CURLSHOPT_UNLOCKFUNC.md + create mode 100644 docs/libcurl/opts/CURLSHOPT_UNSHARE.md + create mode 100644 docs/libcurl/opts/CURLSHOPT_USERDATA.md + create mode 100644 docs/mk-ca-bundle.md + create mode 100644 lib/curl_sha512_256.c + create mode 100644 lib/curl_sha512_256.h + create mode 100644 lib/cw-out.c + create mode 100644 lib/cw-out.h + create mode 100644 lib/request.c + create mode 100644 lib/request.h + create mode 100644 lib/vquic/curl_osslq.c + create mode 100644 lib/vquic/curl_osslq.h + create mode 100644 lib/vquic/vquic-tls.c + create mode 100644 lib/vquic/vquic-tls.h + create mode 100644 projects/Windows/VC14.20/curl-all.sln + create mode 100644 projects/Windows/VC14.20/lib/libcurl.sln + create mode 100644 projects/Windows/VC14.20/lib/libcurl.vcxproj + create mode 100644 projects/Windows/VC14.20/lib/libcurl.vcxproj.filters + create mode 100644 projects/Windows/VC14.20/src/curl.sln + create mode 100644 projects/Windows/VC14.20/src/curl.vcxproj + create mode 100644 projects/Windows/VC14.20/src/curl.vcxproj.filters + create mode 100755 scripts/cd2cd + create mode 100755 scripts/cd2nroff + create mode 100755 scripts/cdall + create mode 100755 scripts/managen + create mode 100755 scripts/nroff2cd + create mode 100644 scripts/schemetable.c + create mode 100644 src/.checksrc + create mode 100644 src/tool_ipfs.c + create mode 100644 src/tool_ipfs.h + create mode 100644 tests/data/test1475 + create mode 100644 tests/data/test1476 + create mode 100644 tests/data/test1477 + create mode 100644 tests/data/test1478 + create mode 100644 tests/data/test1479 + create mode 100644 tests/data/test1480 + create mode 100644 tests/data/test1481 + create mode 100644 tests/data/test1541 + create mode 100644 tests/data/test1545 + create mode 100644 tests/data/test1598 + create mode 100644 tests/data/test1615 + create mode 100644 tests/data/test1704 + create mode 100644 tests/data/test1900 + create mode 100644 tests/data/test2307 + create mode 100644 tests/data/test268 + create mode 100644 tests/data/test459 + create mode 100644 tests/data/test460 + create mode 100644 tests/data/test461 + create mode 100644 tests/data/test462 + create mode 100644 tests/data/test463 + create mode 100644 tests/data/test467 + create mode 100644 tests/data/test468 + create mode 100644 tests/data/test499 + create mode 100644 tests/data/test536 + create mode 100644 tests/data/test689 + create mode 100644 tests/data/test729 + create mode 100644 tests/data/test730 + create mode 100644 tests/data/test731 + create mode 100644 tests/data/test732 + create mode 100644 tests/data/test733 + create mode 100644 tests/data/test734 + create mode 100644 tests/data/test735 + create mode 100644 tests/data/test736 + create mode 100644 tests/data/test737 + create mode 100644 tests/data/test738 + create mode 100644 tests/data/test739 + create mode 100644 tests/data/test740 + create mode 100644 tests/data/test741 + create mode 100644 tests/data/test742 + create mode 100644 tests/data/test992 + create mode 100644 tests/http/conftest.py + create mode 100644 tests/http/requirements.txt + create mode 100644 tests/http/scorecard.py + create mode 100644 tests/http/test_01_basic.py + create mode 100644 tests/http/test_02_download.py + create mode 100644 tests/http/test_03_goaway.py + create mode 100644 tests/http/test_04_stuttered.py + create mode 100644 tests/http/test_05_errors.py + create mode 100644 tests/http/test_06_eyeballs.py + create mode 100644 tests/http/test_07_upload.py + create mode 100644 tests/http/test_08_caddy.py + create mode 100644 tests/http/test_09_push.py + create mode 100644 tests/http/test_10_proxy.py + create mode 100644 tests/http/test_11_unix.py + create mode 100644 tests/http/test_12_reuse.py + create mode 100644 tests/http/test_13_proxy_auth.py + create mode 100644 tests/http/test_14_auth.py + create mode 100644 tests/http/test_15_tracing.py + create mode 100644 tests/http/test_20_websockets.py + create mode 100644 tests/http/testenv/__init__.py + create mode 100644 tests/http/testenv/caddy.py + create mode 100644 tests/http/testenv/certs.py + create mode 100644 tests/http/testenv/client.py + create mode 100644 tests/http/testenv/curl.py + create mode 100644 tests/http/testenv/env.py + create mode 100644 tests/http/testenv/httpd.py + create mode 100644 tests/http/testenv/mod_curltest/mod_curltest.c + create mode 100644 tests/http/testenv/nghttpx.py + create mode 100644 tests/http/testenv/ports.py + create mode 100755 tests/http/testenv/ws_echo_server.py + create mode 100644 tests/libtest/lib1541.c + create mode 100644 tests/libtest/lib1545.c + create mode 100644 tests/libtest/lib1598.c + create mode 100644 tests/libtest/lib1900.c + create mode 100644 tests/libtest/lib536.c + create mode 100755 tests/test1119.pl + create mode 100755 tests/test1132.pl + create mode 100755 tests/test1135.pl + create mode 100755 tests/test1139.pl + create mode 100755 tests/test1140.pl + create mode 100755 tests/test1165.pl + create mode 100755 tests/test1167.pl + create mode 100755 tests/test1173.pl + create mode 100755 tests/test1175.pl + create mode 100755 tests/test1177.pl + create mode 100755 tests/test1222.pl + create mode 100755 tests/test1275.pl + create mode 100755 tests/test1276.pl + create mode 100755 tests/test1477.pl + create mode 100755 tests/test1544.pl + create mode 100755 tests/test971.pl + create mode 100644 tests/unit/unit1615.c + +diff --git a/CHANGES b/CHANGES +index 0a20cea..fa9f687 100644 +--- a/CHANGES ++++ b/CHANGES +@@ -6,9540 +6,11019 @@ + + Changelog + +-Version 8.4.0 (11 Oct 2023) ++Version 8.7.1 (27 Mar 2024) + +-Daniel Stenberg (11 Oct 2023) ++Daniel Stenberg (27 Mar 2024) ++ ++- RELEASE-PROCEDURE: remove old release dates, add new pending ones ++ ++Version 8.7.0 (27 Mar 2024) ++ ++Daniel Stenberg (27 Mar 2024) + + - RELEASE-NOTES: synced + +-- THANKS: add contributors from 8.4.0 ++ curl 8.7.0 release + +-Jay Satiro (11 Oct 2023) ++- THANKS: new contributors from the 8.7.0 release + +-- socks: return error if hostname too long for remote resolve ++- CURLOPT_POSTFIELDS.md: used for MQTT as well + +- Prior to this change the state machine attempted to change the remote +- resolve to a local resolve if the hostname was longer than 255 +- characters. Unfortunately that did not work as intended and caused a +- security issue. ++ Closes #13189 + +- Bug: https://curl.se/docs/CVE-2023-38545.html ++- http: remove stale comment about rewindbeforesend + +-Stefan Eissing (10 Oct 2023) ++ ... because that struct field exists no more. + +-- CI: remove slowed-network tests ++ Follow-up to 14bcea074a782272. + +- - remove these tests as they are currently not reliable in our CI +- setups. ++ Closes #13187 + +- curl handles the test cases, but CI sometimes fails on these due to +- additional conditions. Rather than mix them in, an additional CI job +- will be added in the future that is specific to them. ++- DISTROS: add document with distro pointers + +- Closes https://github.com/curl/curl/pull/12075 ++ Lots of organizations distribute curl packages to end users. This is a ++ collection of pointers to where to learn more about curl on and with ++ each distro. + +-Jay Satiro (10 Oct 2023) ++ Assisted-by: Alan Coopersmith ++ Assisted-by: Andrew Kaster ++ Assisted-by: Andy Fiddaman ++ Assisted-by: Arjan van de Ven ++ Assisted-by: Brian Clemens ++ Assisted-by: chrysos349 on github ++ Assisted-by: Dan Fandrich ++ Assisted-by: Dan McDonald ++ Assisted-by: Gaelan Steele ++ Assisted-by: graywolf on github ++ Assisted-by: Jan Macku ++ Assisted-by: John Marshall ++ Assisted-by: Jonathan Perkin ++ Assisted-by: Kevin Daudt ++ Assisted-by: Marcus Müller ++ Assisted-by: MichaÅ‚ Górny ++ Assisted-by: Outvi V ++ Assisted-by: Ross Burton ++ Assisted-by: Sean Molenaar ++ Assisted-by: Till Wegmüller ++ Assisted-by: Viktor Szakats ++ Assisted-by: Winni Neessen + +-- libcurl-env-dbg.3: move debug variables from libcurl-env.3 ++ Closes #13178 + +- - Move documentation of libcurl environment variables used only in debug +- builds from libcurl-env into a separate document libcurl-env-dbg. ++Fabian Keil (25 Mar 2024) + +- - Document more debug environment variables. ++- wolfSSL: do not call the stub function wolfSSL_BIO_set_init() + +- Previously undocumented or missing a description: ++ Calling the function isn't necessary and causes the build ++ to fail when wolfSSL has been compiled with NO_WOLFSSL_STUB: + +- CURL_ALTSVC_HTTP, CURL_DBG_SOCK_WBLOCK, CURL_DBG_SOCK_WPARTIAL, +- CURL_DBG_QUIC_WBLOCK, CURL_DEBUG, CURL_DEBUG_SIZE, CURL_GETHOSTNAME, +- CURL_HSTS_HTTP, CURL_FORCETIME, CURL_SMALLREQSEND, CURL_SMALLSENDS, +- CURL_TIME. ++ Making all in opts ++ CCLD curl ++ ld: error: undefined symbol: wolfSSL_BIO_set_init ++ >>> referenced by wolfssl.c:235 (vtls/wolfssl.c:235) ++ >>> libcurl_la-wolfssl.o:(wolfssl_bio_cf_create) in archiv ++ e ../lib/.libs/libcurl.a ++ cc: error: linker command failed with exit code 1 (use -v to see invocat ++ ion) ++ *** Error code 1 + +- Closes https://github.com/curl/curl/pull/11811 ++ Closes #13164 + +-Dan Fandrich (9 Oct 2023) ++Daniel Stenberg (25 Mar 2024) + +-- test670: increase the test timeout ++- cmdline-opts: shorter help texts + +- This should make it more immune to loaded servers. ++ In an effort to increase the readability of the "--help all" output on ++ narrow (80 column) terminals. + +- Ref: #11328 ++ Co-authored-by: Jay Satiro + +-Stefan Eissing (9 Oct 2023) ++ Closes #13169 + +-- MQTT: improve receive of ACKs ++Matt Jolly (25 Mar 2024) + +- - add `mq->recvbuf` to provide buffering of incomplete +- ACK responses +- - continue ACK reading until sufficient bytes available +- - fixes test failures on low network receives ++- curl-rustls.m4: add pkg-config support to rustls detection + +- Closes #12071 ++ Based on the existing openssl pkg-config detection, this commit tries to ++ use pkg-config to find `rustls` then falls back to the current approach ++ if that fails. + +-Viktor Szakats (9 Oct 2023) ++ We use the following logic: + +-- quic: fix BoringSSL build ++ - if no path is provided, just use pkg-config, if it's not there we have ++ a problem! ++ - if a path is provided, try pkg-config ++ + if pkg-config fails, try and find rustls directly + +- Add guard around `SSL_CTX_set_ciphersuites()` use. ++ Closes #13179 + +- Bug: https://github.com/curl/curl/pull/12065#issuecomment-1752171885 ++Mohammadreza Hendiani (25 Mar 2024) + +- Follow-up to aa9a6a177017e4b74d33cdf85a3594900f4a7f81 ++- TODO: update 13.11 with more information + +- Co-authored-by: Jay Satiro +- Reviewed-by: Daniel Stenberg +- Closes #12067 ++ Closes #13173 + +-Stefan Eissing (9 Oct 2023) ++Daniel Stenberg (23 Mar 2024) + +-- test1540: improve reliability ++- docs/libcurl: generate PROTOCOLS from meta-data + +- - print that bytes have been received on pausing, but not how many ++ Remove the PROTOCOLS section from the source files completely and ++ instead generate them based on the header data in the curldown files. + +- Closes #12069 ++ It also generates TLS backend information for options marked for TLS as ++ protocol. + +-- test2302: improve reliability ++ Closes #13175 + +- - make result print collected write data, unless +- change in meta flags is detected +- - will show same result even when data arrives via +- several writecb invocations ++- CURLMOPT_MAX*: mention what happens if changed mid-transfer + +- Closes #12068 ++ For CURLMOPT_MAXCONNECTS and CURLMOPT_MAX_HOST_CONNECTIONS + +-Daniel Stenberg (9 Oct 2023) ++ Ref: #13158 ++ Closes #13176 + +-- curl_easy_pause: set "in callback" true on exit if true ++- docs/libcurl: add TLS backend info for all TLS options + +- Because it might have called another callback in the mean time that then +- set the bit FALSE on exit. ++ All man pages that are listed to be for TLS now must also specify ++ exactly what TLS backends the option works for, or use All if they all ++ work. + +- Reported-by: Jay Satiro +- Fixes #12059 +- Closes #12061 ++ cd2nroff makes sure this is done and that the listed backends exist. + +-Viktor Szakats (8 Oct 2023) ++ Closes #13168 + +-- h3: add support for ngtcp2 with AWS-LC builds ++- docs/libcurl: cleanups + +- ``` +- curl 8.4.0-DEV (x86_64-apple-darwin) libcurl/8.4.0-DEV (SecureTransport) AWS- +- LC/1.15.0 nghttp2/1.56.0 ngtcp2/0.19.1 nghttp3/0.15.0 +- Release-Date: [unreleased] +- Protocols: dict file ftp ftps gopher gophers http https imap imaps ldap ldaps +- mqtt pop3 pop3s rtsp smb smbs smtp smtps telnet tftp ws wss +- Features: alt-svc AsynchDNS HSTS HTTP2 HTTP3 HTTPS-proxy IPv6 Largefile Multi +- SSL NTLM SSL threadsafe UnixSockets +- ``` ++ - CURLINFO_TLS_SESSION.md: remove mention of NSS ++ - CURLINFO_TLS_SSL_PTR.md: remove NSS leftover ++ - CURLOPT_CAINFO.md: drop mention of backends not supporting this ++ - CURLOPT_CAPATH.md: wolfSSL also supports this + +- Also delete an obsolete GnuTLS TODO and update the header comment in +- `FindNGTCP2.cmake`. ++ Closes #13166 + +- Reviewed-by: Daniel Stenberg +- Closes #12066 ++- docs: make each libcurl man specify protocol(s) + +-- build: do not publish `HAVE_BORINGSSL`, `HAVE_AWSLC` macros ++ The mandatory header now has a mandatory list of protocols for which the ++ manpage is relevant. + +- Syncing this up with CMake. ++ Most man pages already has a "PROTOCOLS" section, but this introduces a ++ stricter way to specify the relevant protocols. + +- Source code uses the built-in `OPENSSL_IS_AWSLC` and +- `OPENSSL_IS_BORINSSL` macros to detect BoringSSL and AWS-LC. No help is +- necessary from the build tools. ++ cd2nroff verifies that at least one protocol is mentioned (which can be ++ `*`). + +- The one use of `HAVE_BORINGSSL` in the source turned out to be no longer +- necessary for warning-free BoringSSL + Schannel builds. Ref: #1610 #2634 ++ This information is not used just yet, but A) the PROTOCOLS section can ++ now instead get generated and get a unified wording across all manpages ++ and B) this allows us to more reliably filter/search for protocol ++ specific manpages/options. + +- autotools detects this anyway for display purposes. +- CMake detects this to decide whether to use the BoringSSL-specific +- crypto lib with ngtcp2. It detects AWS-LC, but doesn't use the detection +- result just yet (planned in #12066). ++ Closes #13166 + +- Ref: #11964 ++Stefan Eissing (21 Mar 2024) + +- Reviewed-by: Daniel Stenberg +- Reviewed-by: Jay Satiro +- Closes #12065 ++- http2, http3: only return CURLE_PARTIAL_FILE when bytes were received + +-Marc Hoersken (8 Oct 2023) ++ - should resolve spurious pytest failures when stream were reset ++ right after response header were received + +-- CI: move distcheck job from Azure Pipelines to GitHub Actions ++ Clsoes #13151 + +- This will allow for more trigger excludes within Azure Pipelines. ++- http: separate response parsing from response action + +- Also fixes seemingly broken check with scripts/installcheck.sh. +- Ref: 190374c74ec4e5247d9066544c86e8d095e1d7b5 ++ - move code that triggers on end-of-response into separate function from ++ parsing ++ - simplify some headp/headerlen usage ++ - add `httpversion` to SingleRequest to indicate the version of the ++ current response + +- Assisted-by: Philip Heiduck +- Closes #9532 ++ Closes #13134 + +-Daniel Stenberg (8 Oct 2023) ++Daniel Stenberg (21 Mar 2024) + +-- url: fall back to http/https proxy env-variable if ws/wss not set ++- http2: remove the third (unused) argument from http2_data_done() + +- Reported-by: Craig Andrews +- Fixes #12031 +- Closes #12058 ++ Closes #13154 + +-Stefan Eissing (8 Oct 2023) ++- RELEASE-NOTES: synced + +-- cf-socket: simulate slow/blocked receives in debug ++Evgeny Grin (Karlson2k) (21 Mar 2024) + +- add 2 env variables for non-UDP sockets: +- 1. CURL_DBG_SOCK_RBLOCK: percentage of receive calls that randomly +- should return EAGAIN +- 2. CURL_DBG_SOCK_RMAX: max amount of bytes read from socket ++- RELEASE-NOTES: corrected + +- Closes #12035 ++ Corrected link for item 118 + +-- http2: refused stream handling for retry ++ Closes #13157 + +- - answer HTTP/2 streams refused via a GOAWAY from the server to +- respond with CURLE_RECV_ERROR in order to trigger a retry +- on another connection ++Daniel Stenberg (19 Mar 2024) + +- Reported-by: black-desk on github +- Ref #11859 +- Closes #12054 ++- CURLOPT_INTERFACE.md: remove spurious amp, add see-also + +-Jay Satiro (8 Oct 2023) ++ Closes #13149 + +-- CURLOPT_DEBUGFUNCTION.3: warn about internal handles ++Stefan Eissing (19 Mar 2024) + +- - Warn that the user's debug callback may be called with the handle +- parameter set to an internal handle. ++- http: improve response header handling, save cpu cycles + +- Without this warning the user may assume that the only handles their +- debug callback receives are the easy handles on which they set +- CURLOPT_DEBUGFUNCTION. ++ Saving some cpu cycles in http response header processing: ++ - pass the length of the header line along ++ - use string constant sizeof() instead of strlen() ++ - check line length if prefix is possible ++ - switch on first header char to limit checks + +- This is a follow-up to f8cee8cc which changed DoH handles to inherit +- the debug callback function set in the user's easy handle. As a result +- those handles are now passed to the user's debug callback function. ++ Closes #13143 + +- Closes https://github.com/curl/curl/pull/12034 ++Daniel Stenberg (19 Mar 2024) + +-- url: fix typo ++- tool_getparam: accept a blank -w "" + +-Daniel Stenberg (8 Oct 2023) ++ Added test 468 to verify. + +-- test458: verify --expand-output, expanding a file name accepting option ++ Regression from 07bcae89d5d00 (shipped in 8.6.0) ++ Reported-by: Thomas Pyle ++ Fixes #13144 ++ Closes #13145 + +- Verifies the fix in #12055 (commit f2c8086ff15e6e995e1) ++Evgeny Grin (Karlson2k) (18 Mar 2024) + +-- tool_getparam: accept variable expansion on file names too ++- curl_sha512_256: work around a NetBSD bug + +- Reported-by: PBudmark on github +- Fixes #12048 +- Closes #12055 ++ Based on Michael Kaufmann analysis and suggestion + +-- RELEASE-NOTES: synced ++ Closes #13133 + +-- multi: do CURLM_CALL_MULTI_PERFORM at two more places ++Stefan Eissing (18 Mar 2024) + +- ... when it does a state transition but there is no particular socket or +- timer activity. This was made apparent when commit b5bb84c removed a +- superfluous timer expiry. ++- http: expect 100 rework + +- Reported-by: Dan Fandrich. +- Fixes #12033 +- Closes #12056 ++ Move all handling of HTTP's `Expect: 100-continue` feature into a client ++ reader. Add sending flag `KEEP_SEND_TIMED` that triggers transfer ++ sending on general events like a timer. + +-Viktor Szakats (7 Oct 2023) ++ HTTP installs a `CURL_CR_PROTOCOL` reader when announcing `Expect: ++ 100-continue`. That reader works as follows: + +-- GHA/linux: mbedtls 3.5.0 + minor dep bumps ++ - on first invocation, records time, starts the `EXPIRE_100_TIMEOUT` ++ timer, disables `KEEP_SEND`, enables `KEEP_SEND_TIMER` and returns 0, ++ eos=FALSE like a paused upload. + +- Closes #12057 ++ - on subsequent invocation it checks if the timer has expired. If so, it ++ enables `KEEP_SEND` and switches to passing through reads to the ++ underlying readers. + +-Dan Fandrich (7 Oct 2023) ++ Transfer handling's `readwrite()` will be invoked when a timer expires ++ (like `EXPIRE_100_TIMEOUT`) or when data from the server arrives. Seeing ++ `KEEP_SEND_TIMER`, it will try to upload more data, which triggers ++ reading from the client readers again. Which then may lead to a new ++ pausing or cause the upload to start. + +-- CI: bump OpenLDAP package version on FreeBSD ++ Flags and timestamps connected to this have been moved from ++ `SingleRequest` into the reader's context. + +- The old one is no longer available. ++ Closes #13110 + +-Marc Hoersken (7 Oct 2023) ++- mbedtls: fix pytest for newer versions + +-- docs/libcurl/opts/Makefile.inc: add missing manpage files ++ Fix the expectations in pytest for newer versions of mbedtls + +- Detected with #9532 ++ Closes #13132 + +-Dan Fandrich (7 Oct 2023) ++Daniel Stenberg (15 Mar 2024) + +-- tests: fix a race condition in ftp server disconnect ++- ipv6.md: mention IPv4 mapped addresses + +- If a client disconnected and reconnected quickly, before the ftp server +- had a chance to respond, the protocol message/ack (ping/pong) sequence +- got out of sync, causing messages sent to the old client to be delivered +- to the new. A disconnect must now be acknowledged and intermediate +- requests thrown out until it is, which ensures that such synchronization +- problems can't occur. This problem could affect ftp, pop3, imap and smtp +- tests. ++ Reported-by: Josh Soref ++ Assisted-by: Jay Satiro ++ Fixes #13112 ++ Closes #13131 + +- Fixes #12002 +- Closes #12049 ++Stefan Eissing (15 Mar 2024) + +-Viktor Szakats (7 Oct 2023) ++- http: revisit http_perhapsrewind() + +-- appveyor: bump mingw-w64 job to gcc 13 (was: 8) ++ - use facilities provided by client readers better ++ - work also for non-uploading requests like GET/HEAD ++ - update documentation + +- This sets gcc 6, 7, 9, 13 in our test mix (was: 6, 7, 8, 9). +- Adding a modern gcc version to the tests. ++ Closes #13117 + +- (The gcc 8 job used to take around 50 minutes. The new image with gcc 13 +- finished in 32, 35, 34 minutes in the 3 test runs so far.) ++- test 1541: verify getinfo values on first header callback + +- It also adds a modern CMake version and OS env to our mingw-w64 builds. ++ Reported-by: chensong1211 on github ++ Ref: #13125 ++ Closes #13128 + +- Closes #12051 ++- TLS: start shutdown only when peer did not already close + +-David Benjamin (6 Oct 2023) ++ - When curl sees a TCP close from the peer, do not start a TLS shutdown. ++ TLS shutdown is a handshake and if the peer already closed the ++ connection, it is not interested in participating. + +-- openssl: use X509_ALGOR_get0 instead of reaching into X509_ALGOR ++ Reported-by: dfdity on github ++ Assisted-by: Jiří Bok ++ Assisted-by: PÄ“teris Caune ++ Fixes #10290 ++ Closes #13087 + +- While the struct is still public in OpenSSL, there is a (somewhat +- inconvenient) accessor. Use it to remain compatible if it becomes opaque +- in the future. ++Daniel Stenberg (14 Mar 2024) + +- Closes #12038 ++- RELEASE-NOTES: synced + +-Daniel Stenberg (6 Oct 2023) ++- curl: make --libcurl output better CURLOPT_*SSLVERSION + +-- curl_easy_pause.3: mention it works within callbacks ++ The option is really two enums ORed together, so it needs special ++ attention to make the code output nice. + +- Reported-by: Maxim Dzhura +- Bug: https://curl.se/mail/lib-2023-10/0010.html +- Closes #12046 ++ Added test 1481 to verify. Both the server and the proxy versions. + +-- curl_easy_pause.3: mention h2/h3 buffering ++ Reported-by: Boris Verkhovskiy ++ Fixes #13127 ++ Closes #13129 + +- Asked-by: Maxim Dzhura +- Ref: https://curl.se/mail/lib-2023-10/0011.html ++- GHA/linux: add sysctl trick to work-around GitHub runner issue + +- Closes #12045 ++ The GitHub image runner update from 20240304.1.0 to 20240310.1 ++ introduces a problem for clang-14. The issue is caused by ++ incompatibility between llvm 14 provided in ubuntu-22.04 image and the ++ much newer kernel configured with high-entropy ASLR. + +-Viktor Szakats (6 Oct 2023) ++ As a work-around, we issue a sysctl command to lower the entropy and get ++ clang-14 to work again. + +-- cmake: re-add missed C89 headers for specific detections ++ URL: https://github.com/actions/runner-images/issues/9491 + +- We removed C89 `setjmp.h` and `signal.h` detections and excluded them +- from the global header list we use when detecting functions [1]. Then +- missed to re-add these headers to the specific functions which need +- them to be detected [2]. Fix this omission in this patch. ++ Closes #13124 + +- [1] Follow-up to 3795fcde995d96db641ddbcc8a04f9f0f03bef9f #11951 +- [2] Follow-up to 96c29900bcec32dd6bc8e9857c8871ff4b8b8ed9 #11940 ++- SPONSORS: describe the basics + +- Closes #12043 ++ Closes #13119 + +-Daniel Stenberg (6 Oct 2023) ++- GOVERNANCE: document the core team + +-- multi: set CURLM_CALL_MULTI_PERFORM after switch to DOING_MORE ++ Closes #13118 + +- Since there is nothing to wait for there. Avoids the test 1233 hang +- reported in #12033. ++Jay Satiro (13 Mar 2024) + +- Reported-by: Dan Fandrich +- Closes #12042 ++- vquic-tls: fix the error code returned for bad CA file + +-Dan Fandrich (5 Oct 2023) ++ - Return CURLE_SSL_CACERT_BADFILE if wolfSSL encounters a problem ++ reading the cert file or path. + +-- test1903: actually verify the cookies after the test ++ This is a follow-up to the parent commit aedbbdf1. + +- The test otherwise could do just about anything (except leak memory in +- debug mode) and its bad behaviour wouldn't be detected. Now, check the +- resulting cookie file to ensure the cookies are still there. ++ Reported-by: Karthikdasari0423@users.noreply.github.com + +- Closes #12041 ++ Fixes https://github.com/curl/curl/issues/13115 + +-- test: add missing s ++Daniel Stenberg (12 Mar 2024) + +- The tests will otherwise fail if curl has them disabled. ++- vquic-tls: return appropirate errors on wolfSSL errors + +-- test1906: set a lower timeout since it's hit on Windows ++ Reported-by: Dexter Gerig ++ Closes #13107 + +- msys2 builds actually hit the connect timeout in normal operation, so +- lower the timeout from 5 minutes to 5 seconds to reduce test time. ++Viktor Szakats (12 Mar 2024) + +- Ref: #11328 +- Closes #12036 ++- tidy-up: one comment and EOF newlines + +-Daniel Stenberg (5 Oct 2023) ++ Reviewed-by: Daniel Stenberg ++ Closes #13108 + +-- RELEASE-NOTES: synced ++Daniel Stenberg (12 Mar 2024) + +-Jay Satiro (5 Oct 2023) ++- cmdline-opts: language cleanups + +-- idn: fix WinIDN null ptr deref on bad host ++ Use imperative mood consistently for the first sentence describing an ++ option. + +- - Return CURLE_URL_MALFORMAT if IDN hostname cannot be converted from +- UTF-8 to UTF-16. ++ "Set this" instead "tell curl to set" or "this sets..." + +- Prior to this change a failed conversion erroneously returned CURLE_OK +- which meant 'decoded' pointer (what would normally point to the +- punycode) would not be written to, remain NULL and be dereferenced +- causing an access violation. ++ Plus some extra cleanups and rephrasing. + +- Closes https://github.com/curl/curl/pull/11983 ++ Closes #13106 + +-Dan Fandrich (4 Oct 2023) ++- managen: remove space before protocols + +-- tests: close the shell used to start sshd ++ For options that are listed for specific protocols, the protocols (shown ++ first within parentheses) are now output without the leading space in the ++ manpage output. + +- This shell isn't needed once sshd starts, so use "exec" so it doesn't +- stick around. ++ Closes #13105 + +- Closes #12032 ++Jay Satiro (12 Mar 2024) + +-Daniel Stenberg (4 Oct 2023) ++- mbedtls: properly cleanup the thread-shared entropy + +-- base64: also build for curl ++ - Store the state of the thread-shared entropy for global init/cleanup. + +- Since the tool itself now uses the base64 code using the curlx way, it +- needs to build also when the tool needs it. Starting now, the tool build +- defines BULDING_CURL to allow lib-side code to use it. ++ - Use curl's thread support of mbedtls for all Windows builds instead of ++ just when the threaded resolver is used via USE_THREADS_WIN32. + +- Follow-up to 2e160c9c6525 ++ Prior to this change on global cleanup curl builds that have curl thread ++ support for mbedtls freed the entropy (8b1d2298) but failed to mark that ++ it had been freed, which caused problems on subsequent init + transfer. + +- Closes #12010 ++ Bug: https://github.com/curl/curl/discussions/11919#discussioncomment-8687105 ++ Reported-by: awesomekosm@users.noreply.github.com + +-Eduard Strehlau (4 Oct 2023) ++ Closes https://github.com/curl/curl/pull/13071 + +-- tests: Fix zombie processes left behind by FTP tests. ++Daniel Stenberg (12 Mar 2024) + +- ftpserver.pl correctly cleans up spawned server processes, +- but forgets to wait for the shell used to spawn them. +- This is barely noticeable during a normal testrun, +- but causes process exhaustion and test failure +- during a complete torture run of the FTP tests. ++- tool_getparam: handle non-existing (out of range) short-options + +- Fixes #12018 +- Closes #12020 ++ ... correctly, even when they follow an existing one without a space in ++ between. + +-Dan Fandrich (4 Oct 2023) ++ Verify with test 467 + +-- github/labeler: improve labeler matches ++ Follow-up to 07dd60c05b ++ Reported-by: Geeknik Labs ++ Fixes #13101 ++ Closes #13102 + +-- test574: add a timeout to the test ++Stefan Eissing (11 Mar 2024) + +- This one hangs occasionally, so this will speed up a test run and allow +- logs to be seen when it does. ++- lib: move 'done' parameter to SingleRequests + +- Closes #12025 ++ A transfer may do several `SingleRequest`s for its success. This happens ++ regularly for authentication, follows and retries on failed connections. ++ The "readwrite()" calls and functions connected to those carried a `bool ++ *done` parameter to indicate that the current `SingleRequest` is over. ++ This may happen before `upload_done` or `download_done` bits of ++ `SingleRequest` are set. + +-- tests: propagate errors in libtests ++ The problem with that is now `write_resp()` protocol handlers are ++ invoked in places where the `bool *done` cannot be passed up to the ++ caller. Instead of being a bool in the call chain, it needs to become a ++ member of `SingleRequest`, reflecting its state. + +- Use the test macros to automatically propagate some errors, and check +- and log others while running the tests. This can help in debugging +- exactly why a test has failed. ++ This removes the `bool *done` parameter and adds the `done` bit to ++ `SingleRequest` instead. It adds `Curl_req_soft_reset()` for using a ++ `SingleRequest` in a follow up, clearing `done` and other ++ flags/counters. + +-- tests: set --expect100-timeout to improve test reliability ++ Closes #13096 + +- On an overloaded server, the default 1 second timeout can go by without +- the test server having a chance to respond with the expected headers, +- causing tests to fail. Increase the 1 second timeout to 99 seconds so +- this failure mode is no longer a problem on test 1129. Some other tests +- already set a high value, but make them consistently 99 seconds so if +- something goes wrong the test is stalled for less time. ++- request: clarify message when request has been sent off + +- Ref: #11328 ++ Change the "uploaded and fine" message for requests without a body + +-- CI: ignore the "flaky" and "timing-dependent" test results in CMake ++ Reported-by: Karthikdasari0423 on github ++ Fixes #13093 ++ Closes #13095 + +- This was already done for automake builds but CMake builds were missed. +- Test 1086 actually causes the test harness to crash with: ++Daniel Stenberg (11 Mar 2024) + +- Warning: unable to close filehandle DWRITE properly: Broken pipe at C:/projec +- ts/curl/tests/ftpserver.pl line 527 ++- RELEASE-NOTES: synced + +- Rather than fix it now, this change leaves test 1086 entirely skipped on +- those builds that show this problem. ++Stefan Eissing (9 Mar 2024) + +- Follow-up to 589dca761 ++- lib: keep conn IP information together + +- Ref: #11865 ++ new struct ip_quadruple for holding local/remote addr+port + +-Viktor Szakats (4 Oct 2023) ++ - used in data->info and conn and cf-socket.c ++ - copy back and forth complete struct ++ - add 'secondary' to conn ++ - use secondary in reporting success for ftp 2nd connection + +-- cmake: improve OpenLDAP builds ++ Reported-by: DasKutti on github ++ Fixes #13084 ++ Closes #13090 + +- - cmake: detect OpenLDAP based on function `ldap_init_fd`. +- autotools does this. autotools also publishes this detection result +- in `HAVE_LDAP_INIT_FD`. We don't mimic that with CMake as the source +- doesn't use this value. (it might need to be remove-listed in +- `scripts/cmp-config.pl` for future OpenLDAP test builds.) +- This also deletes existing self-declaration method via the +- CMake-specific `CURL_USE_OPENLDAP` configuration. ++Daniel Stenberg (8 Mar 2024) + +- - cmake: define `LDAP_DEPRECATED=1` for OpenLDAP. +- Like autotools does. This fixes a long list of these warnings: +- ``` +- /usr/local/opt/openldap/include/ldap.h:1049:5: warning: 'LDAP_DEPRECATED' i +- s not defined, evaluates to 0 [-Wundef] +- ``` ++- scripts/managen: the new name and home for the manpage generator + +- - cmake: delete LDAP TODO comment no longer relevant. ++ It was previously docs/cmdline-opts/gen.pl + +- Also: ++ Closes #13089 + +- - autotools: replace domain name `dummy` with `0.0.0.0` in LDAP feature +- detection functions. ++- VULN-DISCLOSURE-POLICY.md: update detail about CVE requests + +- Ref: #11964 (effort to sync cmake detections with autotools) ++ curl is a CNA now + +- Closes #12024 ++ Closes #13088 + +-- cmake: fix unity builds for more build combinations ++Stefan Eissing (8 Mar 2024) + +- By using unique static function/variable names in source files +- implementing these interfaces. ++- lib: client reader polish + +- - OpenLDAP combined with any SSH backend. ++ - seek_func/seek_client, use transfer values only ++ - remove copies held in `struct connectdata`, use only ++ ever `data->set.seek_func` ++ - resolves possible issues in multiuse connections ++ - new mime post reader eliminates need to ever overwriting this + +- - MultiSSL with mbedTLS, OpenSSL, wolfSSL, SecureTransport. ++ - websockets, remove empty Curl_ws_done() function + +- Closes #12027 ++ Closes #13079 + +-Daniel Stenberg (4 Oct 2023) ++Marcel Raad (8 Mar 2024) + +-- tests: remove leading spaces from some tags ++- lib1598: fix `CURLOPT_POSTFIELDSIZE` usage + +- The threee tags ``, `` and `` were frequently used +- with a leading space that this removes. The reason this habbit is so +- widespread in testcases is probably that they have been copy and pasted. ++ It requires a `long` argument. + +- Hence, fixing them all now might curb this practice from now on. ++ Closes https://github.com/curl/curl/pull/13085 + +- Closes #12028 ++Daniel Stenberg (8 Mar 2024) + +-Viktor Szakats (4 Oct 2023) ++- docs/cmdline-opts: drop the curl.1 from the dist tarball + +-- GHA: bump actions/checkout ++ Since it is no longer needed for building tool_hugehelp.c and all the ++ docs is available in readable markdown format in the tarball, the peeps ++ that don't want to build the manpage still do good. + +- Follow-up to 2e0fa50fc16b9339f51e0a7bfff0352829323acb #11964 +- Follow-up to c39585d9b7ef3cbfc1380812dec60e7b275b6af3 #12000 ++ Removing it also fixes the complexity of out-of-tree builds when the ++ curl.1 exists in the source tree. + +- Closes #12023 ++- test1140/1173: extend wildcards to find curl.1 + +-- spelling: fix codespell 2.2.6 typos ++ ... in its new build path. + +- Closes #12019 ++ Also update the test scripts to be more precise in error messages to ++ help us understand CI errors better. + +-Daniel Stenberg (3 Oct 2023) ++ Follow-up to f03c85635f35269f1 ++ Ref: #13029 ++ Closes #13083 + +-- GHA: add workflow to compare configure vs cmake outputs ++- http2: minor tweaks to optimize two struct sizes + +- Uses scripts/cmp-config.pl two compare two curl_config.h files, +- presumbly generated with configure and cmake. It displays the +- differences and filters out a lot of known lines we ignore. ++ - use BIT() instead of bool ++ - place the struct fields in (roughly) size order + +- The script also shows the matches that were *not* used. Possibly +- subjects for removal. ++ Closes #13082 + +- Closes #11964 ++- buildconf.bat: remove outdated groff/nroff use + +-- appveyor: enable test 571 ++ - don't try to generate the real hugehelp file, because it requires ++ curl.txt which needs a build ++ - don't attempt to do anything in a c-ares subdirectory + +- Follow-up from 8a940fd55c175f7 / #12013 ++ Follow-up to f03c85635f35269 ++ Closes #13078 + +- Closes #12017 ++- http2: memory errors in the push callbacks are fatal + +-Viktor Szakats (3 Oct 2023) ++ Use the correct nghttp2 error code accordingly. + +-- build: alpha-sort source files for lib and src ++ Closes #13081 + +- Closes #12014 ++Viktor Szakats (7 Mar 2024) + +-- cmake: delete old `HAVE_LDAP_URL_PARSE` logic ++- mkhelp: rename variable to fix compiler warnings + +- Left there by accident after adding proper detection for this. ++ ``` ++ src\tool_operate.c(541,33): warning C4459: declaration of 'm' hides global de ++ claration [_bld\src\curl.vcxproj] ++ _bld\src\tool_hugehelp.c(8,27): ++ see declaration of 'm' ++ src\tool_paramhlp.c(307,14): warning C4459: declaration of 'm' hides global d ++ eclaration [_bld\src\curl.vcxproj] ++ src\tool_progress.c(118,16): warning C4459: declaration of 'm' hides global d ++ eclaration [_bld\src\curl.vcxproj] ++ src\tool_writeout.c(288,31): warning C4459: declaration of 'm' hides global d ++ eclaration [_bld\src\curl.vcxproj] ++ ``` ++ Ref: https://ci.appveyor.com/project/curlorg/curl/builds/49348159/job/51ee75c ++ d2n0wj6lc#L614 + +- Follow-up to 772f0d8edf1c3c2745543f42388ccec5a16ee2c0 #12006 ++ Reviewed-by: Daniel Stenberg ++ Closes #13077 + +- Ref: #11964 (effort to sync cmake detections with autotools) ++Daniel Stenberg (7 Mar 2024) + +- Closes #12015 ++- KNOWN_BUGS: POP3 issue when reading small chunks + +-Stefan Eissing (3 Oct 2023) ++ Closes #12063 + +-- tests: increase lib571 timeout from 3s to 30s ++- RELEASE-NOTES: synced + +- - 3s is too short for our CI, making this test fail occasionally +- - test usually experiences no delay run locally, so 30s wont hurt ++Robert Moreton (7 Mar 2024) + +- Closes #12013 ++- asyn-ares: fix data race warning + +-Viktor Szakats (3 Oct 2023) ++ - Store the c-ares version during global init. + +-- cmake: fix unity with Windows Unicode + TrackMemory ++ Prior to this change several threads could write the same data to a ++ static int variable at the same time. Though in practice it's not a ++ problem ThreadSanitizer may warn. + +- Found the root cause of the startup crash in unity builds with Unicode +- and TrackMemory enabled at the same time. ++ Reported-by: Nikita Taranov ++ Assisted-by: Jay Satiro + +- We must make sure that the `memdebug.h` header doesn't apply to +- `lib/curl_multibyte.c` (as even noted in a comment there.) In unity +- builds all headers apply to all sources, including `curl_multibyte.c`. +- This probably resulted in an infinite loop on startup. ++ Fixes #13065 ++ Closes #13000 + +- Exclude this source from unity compilation with TrackMemory enabled, +- in both libcurl and curl tool. Enable unity mode for a debug Unicode +- CI job to keep it tested. Also delete the earlier workaround that +- fully disabled unity for affected builds. ++Stefan Eissing (7 Mar 2024) + +- Follow-up to d82b080f6374433ce7c98241329189ad2d3976f8 #12005 +- Follow-up to 3f8fc25720900b14b7432f4bd93407ca15311719 #11095 ++- hyper: implement unpausing via client reader + +- Closes #11928 ++ Just a tidy up to contain 'ifdef' pollution of common ++ code parts with implementation specifics. + +-- cmake: disable unity mode with Windows Unicode + TrackMemory ++ - remove the ifdef hyper unpausing in easy.c ++ - add hyper client reader for CURL_CR_PROTOCOL phase ++ that implements the unpause method for calling ++ the hyper waker if it is set + +- "TrackMemory" is `ENABLE_DEBUG=ON` (aka `ENABLE_CURLDEBUG=ON`, +- aka `-DCURLDEBUG`). ++ Closes #13075 + +- There is an issue with memory tracking and Unicode when built in "unity" +- mode, which results in the curl tool crashing right on startup, even +- without any command-line option. Interestingly this doesn't happen under +- WINE (at least on the system I tested this on), but consistenly happens +- on real Windows machines. Crash is 0xC0000374 heap corruption. Both +- shared and static curl executables are affected. ++- ngtcp2: no recvbuf for stream + +- This limitation probably won't hit too many people, but it remains +- a TODO to find and fix the root cause and drop this workaround. ++ - write response data directly to the transfer via ++ `Curl_xfer_write_resp()` like we do in HTTP/2. + +- Example builds and runs: +- https://ci.appveyor.com/project/curlorg/curl/builds/48169111/job/17cptxhtpubd +- 7iwj#L313 (static) +- https://ci.appveyor.com/project/curlorg/curl/builds/48169111/job/76e1ge758tby +- qu9c#L317 (shared) ++ Closes #13073 + +- Follow-up to 3f8fc25720900b14b7432f4bd93407ca15311719 #11095 ++- docs/cmdline-opts/.gitignore: ignore curl.txt + +- Ref: #11928 +- Closes #12005 ++ Closes #13076 + +-- cmake: tidy-up `NOT_NEED_LBER_H` detection ++Evgeny Grin (Karlson2k) (7 Mar 2024) + +- Follow-up to 772f0d8edf1c3c2745543f42388ccec5a16ee2c0 #12006 ++- sha512_256: add support for GnuTLS and OpenSSL + +-- appveyor: rewrite batch in PowerShell + CI improvements ++ This is a follow-up for PR #12897. + +- 1. Rewrite in PowerShell: ++ Add support for SHA-512/256 digest calculation by TLS backends. ++ Currently only OpenSSL and GnuTLS (actually, nettle) support ++ SHA-512/256. + +- - rewrite MS-DOS batch build script in PowerShell. +- - move some bash operations into native PowerShell. +- - fixups for PowerShell insisting on failure when a command outputs +- something to stderr. +- - fix to actually run `curl -V` after every build. +- (and exclude ARM64 builds.) +- - also say why we skipped `curl -V` if we had to skip. +- - fix CMake warnings about unused configuration variables, by adapting +- these dynamically for build cases. +- - dedupe OpenSSL path into a variable. +- - disable `test1451` failing with a warning anyway due to missing python +- impacket. (after trying and failing to install impacket) +- PowerShell promotes these warnings to errors by PowerShell. We can also +- suppress they wholesale if they start causing issues in the future, +- like we already to with `autoreconf` and `./configure`. ++ Closes #13070 + +- PowerShell is better than MS-DOS batches, so the hope is this makes it +- easier to extend and maintain the AppVeyor build logic. POSIX/bash isn't +- supported inline by AppVeyor on Windows build machines, but we are okay +- to keep it in an external script, so it's also an option. ++- digest: add check for hashing error + +- 2. CI improvements: ++ Closes #13072 + +- - enable tests for a "unity" build job. +- - speed-up CI initialization by using shallow clones of the curl repo. +- - speed-up CMake MSVC jobs with `TrackFileAccess=false`. +- - enable parallelism in `VisualStudioSolution` builds. +- - display CMake version before builds. +- - always show the CPU in job names. +- - tell which jobs are build-only in job names. +- - move `TESTING:` value next to `DISABLED_TESTS:` in two jobs. +- - add `config.log` (autotools) to dumped logs (need to enable manually). ++Viktor Szakats (7 Mar 2024) + +- 3. Style: ++- cmake: enable `ENABLE_CURL_MANUAL` by default + +- - use single-quotes in YAML like we do in other CI YAML files. +- It also allows to drop quoting characters and lighter to write/read. +- (keep double quotes for PowerShell strings needing expansion.) ++ Meaning `curl.1` and `src/tool_hugehelp.c` are built by default, ++ and `--manual` in curl tool is also enabled by default. + +- Closes #11999 ++ This syncs behaviour with autotools. + +-- cmake: fix `HAVE_LDAP_SSL`, `HAVE_LDAP_URL_PARSE` on non-Windows ++ For a reproducible `curl.1`, `SOURCE_DATE_EPOCH` needs to be set ++ to a consistent date, e.g. the timestamp of `CHANGES`. + +- - set `HAVE_LDAP_URL_PARSE` if `ldap_url_parse` function exists. +- Before this patch we set it based it on the presence of `stricmp`, +- which correctly enabled it on e.g. Windows, but was inaccurate for +- other platforms. ++ A pre-built manual (e.g. the one distributed in the official source ++ tarball) will be ignored and rebuilt after this patch, unless ++ explicitly disabling this option. + +- - always set `HAVE_LDAP_SSL` if an LDAP backend is detected and +- LDAPS is not explicitly disabled. This mimics autotools behaviour. +- Previously we set it only for Windows LDAP. After this fix, LDAPS is +- correctly enabled in default macOS builds. ++ Fixes #13028 ++ Closes #13069 + +- - enable LDAP[S] for a CMake macOS CI job. Target OS X 10.9 (Mavericks) +- to avoid deprecation warnings for LDAP API. ++Stefan Eissing (7 Mar 2024) + +- - always detect `HAVE_LDAP_SSL_H`, even with LDAPS explicitly disabled. +- This doesn't make much sense, but let's do it to sync behaviour with +- autotools. ++- http2: push headers better cleanup + +- - fix benign typo in variable name. ++ - provide common cleanup method for push headers + +- Ref: #11964 (effort to sync cmake detections with autotools) ++ Closes #13054 + +- Closes #12006 ++Daniel Stenberg (7 Mar 2024) + +-- autotools: restore `HAVE_IOCTL_*` detections ++- GIT-INFO: convert to markdown + +- This restores `CURL_CHECK_FUNC_IOCTL` detection. I deleted it in +- 4d73854462f30948acab12984b611e9e33ee41e6 and +- c3456652a0c72d1845d08df9769667db7e159949 (2022-08), because the +- `HAVE_IOCTL` result it generated was unused in the source. But, +- I did miss the fact that this had two dependent checks: +- `CURL_CHECK_FUNC_IOCTL_FIONBIO`, +- `CURL_CHECK_FUNC_IOCTL_SIOCGIFADDR` that we do actually need: +- `HAVE_IOCTL_FIONBIO`, `HAVE_IOCTL_SIOCGIFADDR`. ++ Closes #13074 + +- Regression from 4d73854462f30948acab12984b611e9e33ee41e6 ++Richard Levitte (7 Mar 2024) + +- Ref: #11964 (effort to sync cmake detections with autotools) ++- cmake: fix libcurl.pc and curl-config library specifications + +- Closes #12008 ++ Letting CMake figure out where libraries are located gives you full ++ paths. When generating libcurl.pc and curl-config, getting libraries as ++ full paths is unusual when one expects to get a list of -l. + +-Daniel Stenberg (2 Oct 2023) ++ To meet expectations, an effort is made to convert the full paths into ++ -l, possibly with -L before it. + +-- RELEASE-PROCEDURE.md: updated coming release dates ++ Fixes #6169 ++ Fixes #12748 ++ Closes #12930 + +-- RELEASE-NOTES: synced ++Daniel Stenberg (7 Mar 2024) + +-Viktor Szakats (1 Oct 2023) ++- test463: HTTP with -d @file with file containing CR, LF and null byte + +-- cmake: pre-cache `HAVE_POLL_FINE` on Windows ++- paramhlp: fix CRLF-stripping files with "-d @file" + +- Windows doesn't support `poll()`, so we can safely skip checking for +- fine poll. ++ All CR and LF bytes should be stripped, as documented, and all other ++ bytes are inluded in the data. Starting now, it also excludes null bytes ++ as they would otherwise also cut the data short. + +- Closes #12003 ++ Reported-by: Simon K ++ Fixes #13063 ++ Closes #13064 + +-- gha: bump actions to latest versions ++Viktor Szakats (7 Mar 2024) + +- - actions@checkout@v4 (from v3 and v2) ++- cmake: fix `CURL_WINDOWS_SSPI=ON` with Schannel disabled + +- - fsfe/reuse-action@v2 (from v1) ++ Prior to this change `CURL_WINDOWS_SSPI` was accidentally forced `OFF` ++ when building without the Schannel TLS backend. + +- Closes #12000 ++ This in turn may have caused Kerberos, SPNEGO and SSPI features ++ disappearing even with `CURL_WINDOWS_SSPI=ON` set. + +-Stefan Eissing (30 Sep 2023) ++ This patch fixes it by using the `CURL_USE_SCHANNEL` setting as a ++ default for `CURL_WINDOWS_SSPI`, but allowing a manual override. + +-- h2: testcase and fix for pausing h2 streams ++ Also update the option text to better tell its purpose. + +- - refs #11982 where it was noted that paused transfers may +- close successfully without delivering the complete data +- - made sample poc into tests/http/client/h2-pausing.c and +- added test_02_27 to reproduce ++ Thanks-to: Andreas Loew ++ Reviewed-by: Daniel Stenberg ++ Ref: #13056 ++ Closes #13061 + +- Closes #11989 +- Fixes #11982 +- Reported-by: Harry Sintonen ++Jay Satiro (6 Mar 2024) + +-Viktor Szakats (30 Sep 2023) ++- KNOWN_BUGS: FTPS server compatibility on Windows with Schannel + +-- cmake: validate `CURL_DEFAULT_SSL_BACKEND` config value ++ - Remove "2.12 FTPS with Schannel times out file list operation" + +- Before this patch CMake builds accepted any value and it was used at +- runtime as-is. This patch make sure that the selected default backend +- is also enabled in the build. It also enforces a full lowercase value. ++ - Remove "7.12 FTPS directory listing hangs on Windows with Schannel" + +- This improves reproducibility and brings CMake in sync with autotools +- which already worked like described above. ++ - Add "7.12 FTPS server compatibility on Windows with Schannel" + +- Follow-up to 26c7feb8b9d51a57fab3325571b4bbfa03b11af0 #11774 ++ This change adds a more generic bug description that explains FTPS with ++ the latest curl and Schannel is not widely used and may have more bugs ++ than other TLS backends. + +- Closes #11998 ++ The two removed FTPS Schannel bugs can't be reproduced any longer and ++ were likely fixed by 24d6c288. + +-- autotools: adjust `CURL_CA_PATH` value to CMake ++ Ref: https://github.com/curl/curl/issues/5284 ++ Ref: https://github.com/curl/curl/issues/9161 ++ Ref: https://github.com/curl/curl/issues/12894 + +- autotools was using the same value as CMake, but with an ending +- slash. Delete the ending slash to match configurations. ++ Closes https://github.com/curl/curl/pull/13032 + +- Ref: #11964 (effort to sync cmake detections with autotools) ++- trace-config.md: remove the mutexed options list + +- Closes #11997 ++ - Remove the rendered manpage message that says: ++ "[--trace-config] is mutually exclusive to --trace and -v, --verbose". + +-- cmake: detect `sys/wait.h` and `netinet/udp.h` ++ Actually it can be used with either of those options, which are mutually ++ exclusive to each other but not to --trace-config. + +- Ref: #11964 (effort to sync cmake detections with autotools) ++ Ref: https://curl.se/docs/manpage.html#--trace-config + +- Closes #11996 ++ Closes https://github.com/curl/curl/pull/13031 + +-Daniel Stenberg (30 Sep 2023) ++Daniel Stenberg (6 Mar 2024) + +-- lib: provide and use Curl_hexencode ++- mkhelp: simplify the generated hugehelp program + +- Generates a lower case ASCII hex output from a binary input. ++ Use a plain array and puts() every line, also allows us to provide the ++ strings without ending newlines. + +- Closes #11990 ++ - merge blank lines into the next one as a prefixed newline. ++ - turn eight consecutive spaces into a tab (since they can only be on the ++ left side of text) ++ - the newly generated tool_hugehelp is 3K lines shorter and 50K smaller ++ - modifies the top logo layout a little by reducing the indent + +-- configure: check for the capath by default ++ Closes #13047 + +- ... if the chosen TLS backend supports it: OpenSSL, GnuTLS, mbedTLS or wolfSS +- L ++- docs: ascii version of manpage without nroff + +- cmake: synced ++ Create ASCII version of manpage without nroff + +- Assisted-by: Viktor Szakats +- Closes #11987 ++ - build src/tool_hugegelp.c from the ascii manpage ++ - move the the manpage and the ascii version build to docs/cmdline-opts ++ - remove all use of nroff from the build process ++ - should make the build entirely reproducible (by avoiding nroff) + +-- wolfssl: ignore errors in CA path ++ - partly reverts 2620aa9 to build libcurl option man pages one by one ++ in cmake because the appveyor builds got all crazy until I did + +- The default wolfSSL_CTX_load_verify_locations() function is quite picky +- with the certificates it loads and will for example return error if just +- one of the certs has expired. ++ The ASCII version of the manpage + +- With the *_ex() function and its WOLFSSL_LOAD_FLAG_IGNORE_ERR flag, it +- behaves more similar to what OpenSSL does by default. ++ - is built with gen.pl, just like the manpage is ++ - has a right-justified column making the appearance similar to the previous ++ version ++ - uses a 4-space indent per level (instead of the old version's 7) ++ - does not do hyphenation of words (which nroff does) + +- Even the set of default certs on my Debian unstable has several expired +- ones. ++ History + +- Assisted-by: Juliusz Sosinowicz +- Assisted-by: Michael Osipov ++ We first made the curl build use nroff for building the hugehelp file in ++ December 1998, for curl 5.2. + +- Closes #11987 ++ Closes #13047 + +-- create-dirs.d: clarify it also uses --output-dirs ++Stefan Eissing (6 Mar 2024) + +- Reported-by: Robert Simpson +- Fixes #11991 +- Closes #11995 ++- lib: add `void *ctx` to reader/writer instances + +-Viktor Szakats (30 Sep 2023) ++ - `struct Curl_cwriter` and `struct Curl_creader` now carry a ++ `void *ctx` member that points to the instance as allocated. ++ - using `r->ctx` and `w->ctx` as pointer to the instance specific ++ struct that has been allocated + +-- appveyor: fix yamlint issues, indent ++ Reported-by: Rudi Heitbaum ++ Fixes #13035 ++ Closes #13059 + +- Also: +- - use double quotes in all batch if statements. ++- http: fix dead code in setting post client reader + +- Closes #11994 ++ - postsize was always 0, thus the check's else never happened ++ after the mime client reader was introduced + +-- cmake: detect `HAVE_CLOCK_GETTIME_MONOTONIC_RAW` ++ Follow-up to 0ba47146f7ff3d ++ Closes #13060 + +- Based on existing autotools logic. ++- http2: fix push discard + +- Ref: #11964 (effort to sync cmake detections with autotools) ++ - fix logic in discarding a failed pushed stream so that ++ stream context is properly cleaned up + +- Closes #11981 ++ Closes #13055 + +-- cmake: detect `HAVE_GETADDRINFO_THREADSAFE` ++- transfer.c: break receive loop in speed limited transfers + +- Based on existing autotools logic. ++ - the change breaks looping in transfer.c receive for transfers that are ++ speed limited on having gotten *some* bytes. ++ - the overall speed limit timing is done in multi.c + +- autotools checks for old versions of the allowlisted target OSes and +- disables this feature when seeing them. In CMake we assume we're running +- on newer systems and enable regardless of OS version. ++ Reported-by: Dmitry Karpov ++ Bug: https://curl.se/mail/lib-2024-03/0001.html ++ Closes #13050 + +- autotools always runs all 3 probes for non-fast-tracked systems and +- enables this feature if any one of them was successful. To save +- configuration time, CMake stops at the first successful check. ++- mime: add client reader + +- OpenBSD is not fast-tracked and then gets blocklisted as a generic BSD +- system. I haven't double-checked if this is correct, but looks odd. ++ Add `mime` client reader. Encapsulates reading from mime parts, getting ++ their length, rewinding and unpausing. + +- Ref: #11964 (effort to sync cmake detections with autotools) ++ - remove special mime handling from sendf.c and easy.c ++ - add general "unpause" method to client readers ++ - use new reader in http/imap/smtp ++ - make some mime functions static that are now only used internally + +- Closes #11979 ++ In addition: ++ - remove flag 'forbidchunk' as no longer needed + +-- cmake: fix `HAVE_WRITABLE_ARGV` detection ++ Closes #13039 + +- Move detection before the creation of detection results in +- `curl_config.h`. ++Daniel Stenberg (5 Mar 2024) + +- Ref: #11964 (effort to sync cmake detections with autotools) ++- RELEASE-NOTES: synced + +- Closes #11978 ++- TODO: remove "build HTTP/3 with OpenSSL and nghttp3 using cmake" + +-- appveyor: minor improvements ++ Follow-up to 8e741644a229c37 + +- - run `curl -V` after builds to see if they run and with what features. +- Except for one job where a CRT DLL is missing. And ARM64 which should +- fail, but is silently not launched instead. ++Tal Regev (5 Mar 2024) + +- - copy libcurl DLL next to curl tool and tests binaries in shared mode. +- This makes it possible to run the tests. (We don't run tests after +- these builds yet.) ++- cmake: add USE_OPENSSL_QUIC support + +- - list the DLLs and EXEs present after the builds. ++ Closes #13034 + +- - add `DEBUG` variable for CMake builds to allow disabling it, for +- testing non-debug builds. (currently enabled for all) ++Stefan Eissing (5 Mar 2024) + +- - add commented lines that dump CMake configuration logs for debugging +- build/auto-detection issues. ++- TIMER_STARTTRANSFER: set the same for everyone + +- - add gcc version to jobs where missing. ++ - set TIMER_STARTTRANSFER on seeing the first response bytes ++ in the download client writer, not coming from a CONNECT ++ - initialized the timer the same way for all protocols ++ - remove explicit setting of TIMER_STARTTRANSFER in file.c ++ and c-hyper.c + +- - switch a job to the native MSYS2 mingw-w64 toolchain. This adds gcc 9 +- to the build mix. ++ Closes #13052 + +- - make `SHARED=OFF` and `OPENSSL=OFF` defaults global. ++Michael Kaufmann (5 Mar 2024) + +- - delete a duplicate backslash. ++- http: better error message for HTTP/1.x response without status line + +- Closes #11976 ++ If a response without a status line is received, and the connection is ++ known to use HTTP/1.x (not HTTP/0.9), report the error "Invalid status ++ line" instead of "Received HTTP/0.9 when not allowed". + +-- configure: replace adhoc domain with `localhost` in tests ++ Closes #13045 ++ ++Viktor Szakats (5 Mar 2024) ++ ++- KNOWN_BUGS: fix typo + + Reviewed-by: Daniel Stenberg +- Closes #11988 ++ Closes #13051 ++ ++Sebastian Neubauer (5 Mar 2024) ++ ++- smpt: fix starttls ++ ++ In cases where the connection was fast, curl sometimes failed to open a ++ connection. This fixes a regression of c2d973627bab12abc5486a3f3. ++ ++ The regression triggered in these steps: ++ ++ 1. Create an smtp connection ++ 2. Use STARTTLS ++ 3. Receive the response ++ 4. We are inside the loop in `smtp_statemachine`, calling ++ `smtp_state_starttls_resp` ++ 5. In the good flow, we exit the loop, re-enter `smtp_statemachine` and ++ run `smtp_perform_upgrade_tls` at the start of the function. ++ ++ In the bad flow, we stay in the while loop, calling ++ `Curl_pp_readresp`, which reads part of the TLS handshake and things ++ go wrong. ++ ++ The reason is that `Curl_pp_moredata` changed behavior and always ++ returns `true`, so we stay in the loop in `smtp_statemachine`. With a ++ slow connection `Curl_pp_readresp` cannot read new data and returns ++ `CURL_AGAIN`, so we leave the loop and re-enter `smtp_statemachine`. ++ ++ With a fast connection, `Curl_pp_readresp` reads new data from the tcp ++ connection, which is part of the TLS handshake. ++ ++ The fix is in `Curl_pp_moredata`, which needs to take the final line ++ into account and return `false` if only the final line is stored. ++ ++ Closes #13048 ++ ++Stefan Eissing (5 Mar 2024) ++ ++- lib: enhance client reader resume + rewind ++ ++ - update client reader documentation ++ - client reader, add rewind capabilities ++ - tell creader to rewind on next start ++ - Curl_client_reset() will keep reader for future rewind if requested ++ - add Curl_client_cleanup() for freeing all resources independent of ++ rewinds ++ - add Curl_client_start() to trigger rewinds ++ - move rewind code from multi.c to sendf.c and make part of ++ "cr-in"'s implementation ++ - http, move the "resume_from" handling into the client readers ++ - the setup of a HTTP request is reshuffled to follow: ++ * determine method, target, auth negotiation ++ * install the client reader(s) for the request, including crlf ++ conversions and "chunked" encoding ++ * apply ranges to client reader ++ * concat request headers, upgrades, cookies, etc. ++ * complete request by determining Content-Length of installed ++ readers in combination with method ++ * send ++ - add methods for client readers to ++ * return the overall length they will generate (or -1 when unknown) ++ * return the amount of data on the CLIENT level, so that ++ expect-100 can decide if it want to apply itself ++ * set a "resume_from" offset or fail if unsupported ++ - struct HTTP has become largely empty now ++ - rename `Client_reader_*` to `Curl_creader_*` ++ ++ Closes #13026 ++ ++Viktor Szakats (5 Mar 2024) ++ ++- openssl-quic: fix BIO leak and Windows warning ++ ++ Caused by an accidentally duplicated line in ++ d6825df334def106f735ce7e0c1a2ea87bddffb0. + +-- tidy-up: use more example domains ++ ``` ++ .../lib/vquic/curl_osslq.c:1095:30: warning: implicit conversion loses intege ++ r precision: 'curl_socket_t' (aka 'unsigned long long') to 'int' [-Wshorten-6 ++ 4-to-32] ++ 1095 | bio = BIO_new_dgram(ctx->q.sockfd, BIO_NOCLOSE); ++ | ~~~~~~~~~~~~~ ~~~~~~~^~~~~~ ++ 1 warning and 2 errors generated. ++ ``` + +- Also make use of the example TLD: +- https://en.wikipedia.org/wiki/.example ++ Reviewed-by: Stefan Eissing ++ Closes #13043 + +- Reviewed-by: Daniel Stenberg +- Closes #11992 ++- openssl-quic: fix unity build, casing, indentation + +-Dan Fandrich (29 Sep 2023) ++ - rename static functions to avoid duplicate symbols in unity mode. ++ - windows -> Windows/window in error message and comment. ++ - fix indentation. + +-- runtests: display the test status if tests appear hung ++ Reviewed-by: Stefan Eissing ++ Closes #13044 + +- It sometimes happens that a test hangs during a test run and never +- returns. The test harness will wait indefinitely for the results and on +- CI servers the CI job will eventually be killed after an hour or two. +- At the end of a test run, if results haven't come in within a couple of +- minutes, display the status of all test runners and what tests they're +- running to help in debugging the problem. ++Daniel Stenberg (5 Mar 2024) + +- This feature is really only kick in with parallel testing enabled, which +- is fine because without parallel testing it's usually easy to tell what +- test has hung. ++- gen.pl: make the "manpageification" faster + +- Closes #11980 ++ The function that replaces occurances of "--longoption" with "-Z, ++ --longoption" etc with the proper highlight applied, no longer loops ++ over the options. + +-- github/labeler: remove workaround for labeler ++ Closes #13041 + +- This was added due to what seemed to be a bug regarding the sync-labels: +- config option, but it looks like it wasn't necessary. ++- CONTRIBUTE: update the section on documentation format + +- Follow-up to b2b0534e7 ++ ... since most of it is markdown now. + +-Viktor Szakats (29 Sep 2023) ++ Closes #13046 + +-- docs: upgrade an URL to HTTPS in `BINDINGS.md` [ci skip] ++- smtp: free a temp resource + +-Daniel Stenberg (29 Sep 2023) ++ The returned address needs to be freed. + +-- docs: replace made up domains with example.com ++ Follow-up to e3905de8196d67b89df1602feb84c1f993211b20 ++ Spotted by Coverity + +- in FAQ and MANUAL.md ++ Closes #13038 + +- - example.com was made for this purpose. ++- _VARIABLES.md: improve the description + +- - reduces the risk that one of those domains suddenly start hosting +- something nasty and we provide links to them ++ Closes #13040 + +- Closes #11986 ++dependabot[bot] (4 Mar 2024) + +-Michael Osipov (29 Sep 2023) ++- build(deps): bump fsfe/reuse-action from 2 to 3 + +-- acinclude.m4: Document proper system truststore on FreeBSD ++ Bumps [fsfe/reuse-action](https://github.com/fsfe/reuse-action) from 2 to 3. ++ - [Release notes](https://github.com/fsfe/reuse-action/releases) ++ - [Commits](https://github.com/fsfe/reuse-action/compare/v2...v3) + +- The default system truststore on FreeBSD has been /etc/ssl/certs for many +- years now. It is managed canonically through certctl(8) and contains hashed +- symlinks for OpenSSL and other TLS providers. +- The previous ones require security/ca_root_nss which might not be installed o +- r +- will not contain any custom CA certificates. ++ --- ++ updated-dependencies: ++ - dependency-name: fsfe/reuse-action ++ dependency-type: direct:production ++ update-type: version-update:semver-major ++ ... + +- Closes #11985 ++ Signed-off-by: dependabot[bot] + +-Daniel Stenberg (29 Sep 2023) ++Stefan Eissing (4 Mar 2024) + +-- FAQ: How do I upgrade curl.exe in Windows? ++- pytest: adapt to API change + +- This is a growing question, better answer it here to get somewhere to +- point users to. ++ - pytest has changed the signature of the hook pytest_report_header() ++ for some obscure reason and that change landed in our CI now + +- Closes #11984 ++ - remove the changed param that we never used anyway + +-Viktor Szakats (28 Sep 2023) ++ Closes #13037 + +-- cmake: pre-cache `HAVE_BASENAME` for mingw-w64 and MSVC ++Daniel Stenberg (4 Mar 2024) + +- `basename` is present in mingw-w64, missing from MSVC. Pre-cache +- accordingly to make configure faster. ++- cookie: if psl fails, reject the cookie + +- Notice that `basename` has a bug so we later disable it even with +- mingw-w64: +- https://github.com/curl/curl/blob/781242ffa44a9f9b95b6da5ac5a1bf6372ec6257/li +- b/curl_setup.h#L820-L825 ++ A libpsl install without data and no built-in database is now considered ++ bad enough to reject all cookies since they cannot be checked. It is ++ somewhat of a user error, but still. + +- Closes #11974 ++ Reported-by: Dan Fandrich ++ Closes #13033 + +-Daniel Stenberg (28 Sep 2023) ++Stefan Eissing (4 Mar 2024) + +-- cmake: add missing checks ++- lib: further send/upload handling polish + +- - check for arc4random. To make rand.c use it accordingly. +- - check for fcntl +- - fix fseek detection +- - add SIZEOF_CURL_SOCKET_T +- - fix USE_UNIX_SOCKETS +- - define HAVE_SNPRINTF to 1 +- - check for fnmatch +- - check for sched_yield +- - remove HAVE_GETPPID duplicate from curl_config.h +- - add HAVE_SENDMSG ++ - Move all the "upload_done" handling to request.c + +- Ref: #11964 ++ - add possibility to abort sending of a request ++ - add `Curl_req_done_sending()` for checks ++ - transfer.c: readwrite_upload() now clean + +- Co-authored-by: Viktor Szakats +- Closes #11973 ++ - removing data->state.ulbuf and data->req.upload_fromhere + +-- configure: remove unused checks ++ - as well as data->req.upload_present ++ - set data->req.upload_done on having read all from ++ the client and completely flushed the send buffer + +- - for sys/uio.h +- - for fork +- - for connect ++ - tftp, remove setting of data->req.upload_fromhere + +- Ref: #11964 ++ - serves no purpose as `upload_present` is not set ++ and the data itself is directly `sendto()` anyway + +- Closes #11973 ++ - smtp, make upload EOB conversion a client reader ++ - xfer_ulbuf addition + +-- lib: remove TIME_WITH_SYS_TIME ++ - add xfer_ulbuf for borrowing, similar to xfer_buf ++ - use in file upload ++ - use in c-hyper body sending + +- It is not used in any code anywhere. ++ - h1-proxy, remove init of data->state.uilbuf that is never used ++ - smb, add own send_buf instead of using data->state.ulbuf + +- Ref: #11964 +- Closes #11975 ++ Closes #13010 + +-- docs: update curl man page references ++Daniel Stenberg (4 Mar 2024) + +- Detected by the manpage-syntax update ++- RELEASE-NOTES: synced + +- Closes #11963 ++kpcyrd (3 Mar 2024) + +-- manpage-syntax: verify curl man page references ++- rustls: fix two warnings related to number types + +- 1. References to curl symbols are now checked that they indeed exist as +- man pages. This for \f references as well as the names referenced in the +- SEE ALSO section. ++ Reported-by: Gisle Vanem ++ Follow-up to #12989 ++ Closes #13017 + +- Allowlist curl.1 since it is not always built in builds ++Stefan Eissing (3 Mar 2024) + +- 2. References to curl symbols that lack section now causes warning, since tha +- t +- will prevent them from getting linked properly ++- bufq: writing into a softlimit queue cannot be partial + +- 3. Check for "bare" references to curl functions and warn, they should be +- references ++ - when unable to obtain a new chunk on a softlimit bufq, ++ this is an allocation error and needs to be reported as ++ such. ++ - writes into a soflimit bufq never must be partial success + +- Closes #11963 ++ Reported-by: Dan Fandrich ++ Fixes #13020 ++ Closes #13023 + +-- cmake: add check for suseconds_t ++Dan Fandrich (2 Mar 2024) + +- And fix the HAVE_LONGLONG define ++- configure: Don't build shell completions when disabled + +- Ref: #11964 +- Closes #11977 ++ With the recent changes to completion file building, the files were ++ built always and only installation was selectively disabled. Now, when ++ they are disabled they aren't even built, avoiding a build-time error in ++ environments where it's not possible to run the curl binary that was ++ just created (e.g. if library paths were not set up correctly). + +-Viktor Szakats (28 Sep 2023) ++ Follow-up to 0f7aba83c + +-- tidy-up: whitespace fixes ++ Reported-by: av223119 on github ++ Fixes #13027 ++ Closes #13030 + +- Closes #11972 ++Jay Satiro (2 Mar 2024) + +-- cmake: detect TLS-SRP in OpenSSL/wolfSSL/GnuTLS ++- cmdline-opts/_EXITCODES: sync with libcurl-errors + +- With new option `CURL_DISABLE_SRP=ON` to force-disable it. +- To match existing option and detection logic in autotools. ++ - Add error code 100 (CURLE_TOO_LARGE) to the list of error codes that ++ can be returned by the curl tool. + +- Also: +- - fix detecting GnuTLS. +- We assume `nettle` as a GnuTLS dependency. +- - add CMake GnuTLS CI job. +- - bump AppVeyor CMake OpenSSL MSVC job to OpenSSL 1.1.1 (from 1.0.2) +- TLS-SRP fails to detect with 1.0.2 due to an OpenSSL header bug. +- - fix compiler warning when building with GnuTLS and disabled TLS-SRP. +- - fix comment typos, whitespace. ++ Closes https://github.com/curl/curl/pull/13015 + +- Ref: #11964 ++Stefan Eissing (1 Mar 2024) + +- Closes #11967 ++- hyper: disable test1598 due to lack of trailer support + +-- tool: use our own stderr variable ++ Follow-up to 50838095 + +- Earlier this year we changed our own stderr variable to use the standard +- name `stderr` (to avoid bugs where someone is using `stderr` instead of +- the curl-tool specific variable). This solution needed to override the +- standard `stderr` symbol via the preprocessor. This in turn didn't play +- well with unity builds and caused curl tool to crash or stay silent due +- to an uninitialized stderr. This was a hard to find issue, fixed by +- manually breaking out one file from the unity sources. ++ Closes #13016 + +- To avoid two these two tricks, this patch implements a different +- solution: Restore using our own local variable for our stderr output and +- leave `stderr` as-is. To avoid using `stderr` by mistake, add a +- `checksrc` rule (based on logic we already used in lib for `strerror`) +- that detects any `stderr` use in `src` and points to using our own +- variable instead: `tool_stderr`. ++Dan Fandrich (1 Mar 2024) + +- Follow-up to 06133d3e9b8aeb9e9ca0b3370c246bdfbfc8619e +- Follow-up to 2f17a9b654121dd1ecf4fc043c6d08a9da3522db ++- ftp: Mark a const buffer as const + +- Closes #11958 ++- appveyor: Properly skip if only CircleCI is changed + +-Loïc Yhuel (28 Sep 2023) ++- docs: Update minimal binary size in INSTALL.md + +-- connect: only start the happy eyeballs timer when needed ++ Include more options to reduce binary size. + +- The timeout is only used when there is a second address family, for the +- delayed eyeballer. ++- configure: Don't make shell completions without perl + +- Closes #11939 ++ The code that attempted to skip building the shell completions didn't ++ work properly and tried to build them even if perl wasn't available. ++ This step, as well as the install step, is now properly skipped without ++ perl. + +-Daniel Stenberg (28 Sep 2023) ++ Follow-up to 89733e2dd + +-- tool_operate: free 'gateway' correctly ++ Closes #13022 + +- Pointed out by Coverity. The fix in 93885cf3a8d4e was incomplete. ++RainRat (1 Mar 2024) + +- Also removed repeated wording in IPFS related error messages. ++- misc: Fix typos in docs and lib + +- Closes #11969 ++ This fixes miscellaneous typos and duplicated words in the docs, lib ++ and test comments and a few user facing errorstrings. + +-Stefan Eissing (28 Sep 2023) ++ Author: RainRat on Github ++ Reviewed-by: Daniel Gustafsson ++ Reviewed-by: Dan Fandrich ++ Closes: #13019 + +-- lib: move handling of `data->req.writer_stack` into Curl_client_write() ++Dan Fandrich (29 Feb 2024) + +- - move definitions from content_encoding.h to sendf.h +- - move create/cleanup/add code into sendf.c +- - installed content_encoding writers will always be called +- on Curl_client_write(CLIENTWRITE_BODY) +- - Curl_client_cleanup() frees writers and tempbuffers from +- paused transfers, irregardless of protocol ++- configure: build & install shell completions when enabled + +- Closes #11908 ++ The --with-fish-functions-dir and --with-zsh-functions-dir options ++ currently have no effect on a normal build because the scripts/ directory ++ where they're used is not built. Add scripts/ to a normal build and ++ change the completion options to default to off to preserve the existing ++ behaviour. + +-Loïc Yhuel (28 Sep 2023) ++ Closes: #12906 + +-- multi: round the timeout up to prevent early wakeups ++- github/labeler: improve the match patterns + +- Curl_timediff rounds down to the millisecond, so curl_multi_perform can +- be called too early, then we get a timeout of 0 and call it again. ++Stefan Eissing (28 Feb 2024) + +- The code already handled the case of timeouts which expired less than +- 1ms in the future. By rounding up, we make sure we will never ask the +- platform to wake up too early. ++- tests: add test1598 for POST with trailers + +- Closes #11938 ++ - test POST fields with trailers and chunked encoding + +-Daniel Stenberg (28 Sep 2023) ++ Ref: #12938 ++ Closes #13009 + +-- RELEASE-NOTES: spell out that IPFS is via gateway ++Daniel Stenberg (28 Feb 2024) + +-- RELEASE-NOTES: synced ++- cmdline-opts/_VERSION: provide %VERSION correctly + +-- tool_operate: avoid strlen() -1 on zero length content from file ++ ... so that it does not get included verbatim in the output. Fixes a ++ regression shipped in 8.6.0. + +- Follow-up to 65b563a96a226649ba12cb1e ++ Also fix a format mistake in form.md + +- Closes #11959 ++ Closes #13008 + +-- tool_operate: fix memory mixups ++Stefan Eissing (28 Feb 2024) + +- Switch to plain getenv() from curl_getenv() to avoid the allocation and +- having to keep track of which free() or curl_free() that need to be +- used. ++- lib: Curl_read/Curl_write clarifications + +- Coverity found issues and a memory leak. ++ - replace `Curl_read()`, `Curl_write()` and `Curl_nwrite()` to ++ clarify when and at what level they operate ++ - send/recv of transfer related data is now done via ++ `Curl_xfer_send()/Curl_xfer_recv()` which no longer has ++ socket/socketindex as parameter. It decides on the transfer ++ setup of `conn->sockfd` and `conn->writesockfd` on which ++ connection filter chain to operate. ++ - send/recv on a specific connection filter chain is done via ++ `Curl_conn_send()/Curl_conn_recv()` which get the socket index ++ as parameter. ++ - rename `Curl_setup_transfer()` to `Curl_xfer_setup()` for ++ naming consistency ++ - clarify that the special CURLE_AGAIN hangling to return ++ `CURLE_OK` with length 0 only applies to `Curl_xfer_send()` ++ and CURLE_AGAIN is returned by all other send() variants. ++ - fix a bug in websocket `curl_ws_recv()` that mixed up data ++ when it arrived in more than a single chunk (to be made ++ into a sperate PR, also) + +- Follow-up to 65b563a96a226649ba12cb1e ++ Added as documented [in ++ CLIENT-READER.md](https://github.com/curl/curl/blob/5b1f31dfbab8aef467c419c68 ++ aa06dc738cb75d4/docs/CLIENT-READERS.md). + +- Closes #11959 ++ - old `Curl_buffer_send()` completely replaced by new `Curl_req_send()` ++ - old `Curl_fillreadbuffer()` replaced with `Curl_client_read()` ++ - HTTP chunked uploads are now formatted in a client reader added when ++ needed. ++ - FTP line-end conversions are done in a client reader added when ++ needed. ++ - when sending requests headers, remaining buffer space is filled with ++ body data for sending in "one go". This is independent of the request ++ body size. Resolves #12938 as now small and large requests have the ++ same code path. + +-Viktor Szakats (27 Sep 2023) ++ Changes done to test cases: + +-- curl-functions.m4: fixup recent bad edits ++ - test513: now fails before sending request headers as this initial ++ "client read" triggers the setup fault. Behaves now the same as in ++ hyper build ++ - test547, test555, test1620: fix the length check in the lib code to ++ only fail for reads *smaller* than expected. This was a bug in the ++ test code that never triggered in the old implementation. + +- Follow-up to 96c29900bcec32dd6bc8e9857c8871ff4b8b8ed9 #11940 ++ Closes #12969 + +- Closes #11966 ++Daniel Gustafsson (28 Feb 2024) + +-Daniel Stenberg (27 Sep 2023) ++- curldown: Fix email address in Copyright + +-- curl-functions.m4: fix include line ++ The curldown conversion accidentally replaced daniel@haxx.se with ++ just daniel.se. This reverts back to the proper email address in ++ the curldown docs as well as in a few other stray places where it ++ was incorrect (while unrelated to curldown). + +- This made the getaddrinfo detection fail, but we did not spot it in the +- CI because it graciously falled back to using legacy functions instead! ++ Reviewed-by: Daniel Stenberg ++ Closes: #12997 + +- Follow-up to 96c29900bcec (#11940) ++Daniel Stenberg (28 Feb 2024) + +- Closes #11965 ++- getparam: make --ftp-ssl work again + +-- inet_ntop: add typecast to silence Coverity ++ Follow-up to 9e4e527 which accidentally broke it + +- CID 1024653: Integer handling issues (SIGN_EXTENSION) ++ Reported-by: Jordan Brown ++ Fixes #13006 ++ Closes #13007 + +- Suspicious implicit sign extension: "src[i]" with type "unsigned char +- const" (8 bits, unsigned) is promoted in "src[i] << (1 - i % 2 << 3)" to +- type "int" (32 bits, signed), then sign-extended to type "unsigned long" +- (64 bits, unsigned). If "src[i] << (1 - i % 2 << 3)" is greater than +- 0x7FFFFFFF, the upper bits of the result will all be 1. ++- KNOWN_BUGS: IMAPS connection fails with rustls error + +- 111 words[i/2] |= (src[i] << ((1 - (i % 2)) << 3)); ++ Closes #10457 + +- The value will not be greater than 0x7FFFFFFF so this still cannot +- happen. ++- KNOWN_BUGS: FTPS upload, FileZilla, GnuTLS and close_notify + +- Also, switch to ints here instead of longs. The values stored are 16 bit +- so at least no need to use 64 bit variables. Also, longs are 32 bit on +- some platforms so this logic still needs to work with 32 bits. ++ Closes #11383 + +- Closes #11960 ++- KNOWN_BUGS: Implicit FTPS upload timeout + +-- docs: adapt SEE ALSO sections to new requirements ++ Closes #11720 + +- To please manpage-syntax.pl used by test 1173 ++- KNOWN_BUGS: HTTP/2 prior knowledge over proxy + +- Closes #11957 ++ Closes #12641 + +-- manpage-syntax.pl: verify SEE ALSO syntax ++- TODO: build HTTP/3 with OpenSSL and nghttp3 using cmake + +- - Enforce a single reference per .BR line +- - Skip the quotes around the section number for example (3) +- - Insist on trailing commas on all lines except the last +- - Error on comma on the last SEE ALSO entry ++ Closes #12988 + +- - List the entries alpha-sorted, not enforced just recommended ++- TODO: Select signature algorithms + +- Closes #11957 ++ Closes #12982 + +-- connect: expire the timeout when trying next ++- examples: use present tense in comments + +- ... so that it gets called again immediately and can continue trying +- addresses to connect to. Otherwise it might unnecessarily wait for a +- while there. ++ remove "will" and some other word fixes + +- Fixes #11920 +- Reported-by: Loïc Yhuel +- Closes #11935 ++ Closes #13003 + +-- http: remove wrong comment for http_should_fail ++- docs: more language cleanups + +- Reported-by: Christian Schmitz +- Ref: #11936 +- Closes #11941 ++ - present tense ++ - avoid bad words + +-Dan Fandrich (26 Sep 2023) ++ Closes #13003 + +-- tool_setopt: remove unused function tool_setopt_flags ++Daniel Gustafsson (27 Feb 2024) + +- This function is identical to tool_setopt_bitmask except that it treats +- the argument as unsigned. ++- setopt: Fix disabling all protocols + +- Closes #11943 ++ When disabling all protocols without enabling any, the resulting ++ set of allowed protocols remained the default set. Clearing the ++ allowed set before inspecting the passed value from --proto make ++ the set empty even in the errorpath of no protocols enabled. + +-Viktor Szakats (26 Sep 2023) ++ Co-authored-by: Dan Fandrich ++ Reported-by: Dan Fandrich ++ Reviewed-by: Daniel Stenberg ++ Closes: #13004 + +-- cmake: add feature checks for `memrchr` and `getifaddrs` ++Andreas Kiefer (27 Feb 2024) + +- - `HAVE_MEMRCHR` for `memrchr`. +- - `HAVE_GETIFADDRS` for `getifaddrs`. +- This was present in `lib/curl_config.h.cmake` but missed the detection +- logic. ++- fopen: fix narrowing conversion warning on 32-bit Android + +- To match existing autotools feature checks. ++ This was fixed in commit 06dc599405f, but came back in commit ++ 03cb1ff4d62. + +- Closes #11954 ++ When building for 32-bit ARM or x86 Android, `st_mode` is defined as ++ `unsigned int` instead of `mode_t`, resulting in a ++ `-Wimplicit-int-conversion` clang warning because `mode_t` is ++ `unsigned short`. Add a cast to silence the warning, but only for ++ 32-bit Android builds, because other architectures and platforms are ++ not affected. + +-- cmake: move global headers to specific checks ++ Ref: https://android.googlesource.com/platform/bionic/+/refs/tags/ndk-r25c/li ++ bc/include/sys/stat.h#86 ++ Closes https://github.com/curl/curl/pull/12998 + +- Before this patch we added standard headers unconditionally to the +- global list of headers used for feature checks. This is unnecessary +- and also doesn't help CMake 'Generate' performance. This patch moves +- these headers to each feature check where they are actually needed. +- Stop using `stddef.h`, as it seems unnecessary. ++Stefan Eissing (27 Feb 2024) + +- I've used autotools' `m4/curl-functions.m4` to figure out these +- dependencies. ++- lib: Curl_read/Curl_write clarifications + +- Also delete checking for the C89 standard header `time.h`, that I +- missed in the earlier commit. ++ - replace `Curl_read()`, `Curl_write()` and `Curl_nwrite()` to ++ clarify when and at what level they operate ++ - send/recv of transfer related data is now done via ++ `Curl_xfer_send()/Curl_xfer_recv()` which no longer has ++ socket/socketindex as parameter. It decides on the transfer ++ setup of `conn->sockfd` and `conn->writesockfd` on which ++ connection filter chain to operate. ++ - send/recv on a specific connection filter chain is done via ++ `Curl_conn_send()/Curl_conn_recv()` which get the socket index ++ as parameter. ++ - rename `Curl_setup_transfer()` to `Curl_xfer_setup()` for ++ naming consistency ++ - clarify that the special CURLE_AGAIN hangling to return ++ `CURLE_OK` with length 0 only applies to `Curl_xfer_send()` ++ and CURLE_AGAIN is returned by all other send() variants. ++ - fix a bug in websocket `curl_ws_recv()` that mixed up data ++ when it arrived in more than a single chunk + +- Ref: 96c29900bcec32dd6bc8e9857c8871ff4b8b8ed9 #11940 ++ The method for sending not just raw bytes, but bytes that are either ++ "headers" or "body". The send abstraction stack, to to bottom, now is: + +- Closes #11951 ++ * `Curl_req_send()`: has parameter to indicate amount of header bytes, ++ buffers all data. ++ * `Curl_xfer_send()`: knows on which socket index to send, returns ++ amount of bytes sent. ++ * `Curl_conn_send()`: called with socket index, returns amount of bytes ++ sent. + +-- src/mkhelp: make generated code pass `checksrc` ++ In addition there is `Curl_req_flush()` for writing out all buffered ++ bytes. + +- Closes #11955 ++ `Curl_req_send()` is active for requests without body, ++ `Curl_buffer_send()` still being used for others. This is because the ++ special quirks need to be addressed in future parts: + +-- tests: show which curl tool `runtests.pl` is using ++ * `expect-100` handling ++ * `Curl_fillreadbuffer()` needs to add directly to the new ++ `data->req.sendbuf` ++ * special body handlings, like `chunked` encodings and line end ++ conversions will be moved into something like a Client Reader. + +- To help debugging when there is issue finding or running it. ++ In functions of the pattern `CURLcode xxx_send(..., ssize_t *written)`, ++ replace the `ssize_t` with a `size_t`. It makes no sense to allow for negativ ++ e ++ values as the returned `CURLcode` already specifies error conditions. This ++ allows easier handling of lengths without casting. + +- Closes #11953 ++ Closes #12964 + +-- CI/azure: make `MAKEFLAGS` global to parallelize all jobs ++Daniel Stenberg (27 Feb 2024) + +- https://dev.azure.com/daniel0244/curl/_build/results?buildId=17528 (before) +- https://dev.azure.com/daniel0244/curl/_build/results?buildId=17545 (after, wi +- th -j3) ++- multi: make add_handle free any multi_easy + +- Closes #11952 ++ If the easy handle that is being added to a multi handle has previously ++ been used for curl_easy_perform(), there is a private multi handle here ++ that we can kill off. While it flushes some caches etc for the easy ++ handle would it be used for an easy interface transfer again after being ++ used in the multi stack, this cleanup simplifies behavior and uses less ++ memory. + +-- CI/azure: migrate old mingw MSYS1 jobs to MSYS2 ++ Closes #12992 + +- Also delete an accidental variable reference. ++- docs: use present tense + +- Follow-up to 38029101e2d78ba125732b3bab6ec267b80a0e72 ++ avoid "will", detect "will" as a bad word in the CI + +- Closes #11945 ++ Also line wrapped a bunch of paragraphs + +-Daniel Stenberg (26 Sep 2023) ++ Closes #13001 + +-- docs: add see also curl_multi_get_handles to some man pages ++- CURLOPT_SSL_CTX_FUNCTION.md: no promises of lifetime after return + +- Assisted-by: Jay Satiro ++ ... and cleanup other language. + +- Closes #11942 ++ Closes #12999 + +-Viktor Szakats (26 Sep 2023) ++Stefan Eissing (27 Feb 2024) + +-- cmake: assume `_fseeki64` and no `fseeko` on Windows ++- lib: send rework + +- `_fseeki64` is present in mingw-w64 1.0 (2011-09-26) headers, and +- at least Watcom C 1.9 (2010) headers and MSVS 2008 [1]. ++ Curl_read/Curl_write clarifications + +- `fseeko` is not present in any of these. ++ - replace `Curl_read()`, `Curl_write()` and `Curl_nwrite()` to 1clarify ++ when and at what level they operate + +- (mingw-w64 1.0 also offers `fseeko64`.) ++ - send/recv of transfer related data is now done via ++ `Curl_xfer_send()/Curl_xfer_recv()` which no longer has ++ socket/socketindex as parameter. It decides on the transfer setup of ++ `conn->sockfd` and `conn->writesockfd` on which connection filter ++ chain to operate. + +- [1] https://github.com/curl/curl/pull/11944#issuecomment-1734995004 ++ - send/recv on a specific connection filter chain is done via ++ `Curl_conn_send()/Curl_conn_recv()` which get the socket index as ++ parameter. + +- Follow-up to 9c7165e96a3a9a2d0b7059c87c699b5ca8cdae93 #11918 ++ - rename `Curl_setup_transfer()` to `Curl_xfer_setup()` for naming ++ consistency + +- Closes #11950 ++ - clarify that the special CURLE_AGAIN handling to return `CURLE_OK` ++ with length 0 only applies to `Curl_xfer_send()` and CURLE_AGAIN is ++ returned by all other send() variants. + +-- build: delete checks for C89 standard headers ++ SingleRequest reshuffling + +- Delete checks and guards for standard C89 headers and assume these are +- available: `stdio.h`, `string.h`, `time.h`, `setjmp.h`, `stdlib.h`, +- `stddef.h`, `signal.h`. ++ - move functions into request.[ch] ++ - differentiate between reset and free ++ - add Curl_req_done() to perform last actions ++ - add a send `bufq` to SingleRequest for future use in keeping upload data + +- Some of these we already used unconditionally, some others we only used +- for feature checks. ++ Closes #12963 + +- Follow-up to 9c7165e96a3a9a2d0b7059c87c699b5ca8cdae93 #11918 (for `stdio.h` i +- n CMake) ++Daniel Stenberg (26 Feb 2024) + +- Closes #11940 ++- RELEASE-NOTES: synced + +-Stefan Eissing (26 Sep 2023) ++- http_chunks: remove unused 'endptr' variable + +-- multiif.h: remove Curl_multi_dump declaration ++ Closes #12996 + +- Follow-up to d850eea2 which removed the Curl_multi_dump definition. ++Louis Solofrizzo (26 Feb 2024) + +- Closes https://github.com/curl/curl/pull/11946 ++- lib: initialize output pointers to NULL before calling strto[ff,l,ul] + +-Jay Satiro (26 Sep 2023) ++ In order to make MSAN happy: + +-- config-win32: define HAVE__FSEEKI64 ++ ==2200945==WARNING: MemorySanitizer: use-of-uninitialized-value ++ #0 0x596f3b3ed246 in curlx_strtoofft [...]/libcurl/src/lib/strtoofft.c:23 ++ 9:11 ++ #1 0x596f3b402156 in Curl_httpchunk_read [...]/libcurl/src/lib/http_chunk ++ s.c:149:12 ++ #2 0x596f3b348550 in readwrite_data [...]/libcurl/src/lib/transfer.c:607: ++ 11 ++ [...] + +- Follow-up to 9c7165e9 which added an fseeko wrapper to the lib that +- calls _fseeki64 if it is available. ++ ==2202041==WARNING: MemorySanitizer: use-of-uninitialized-value ++ #0 0x5a3fab66a72a in Curl_parse_port [...]/libcurl/src/lib/urlapi.c:547:8 ++ #1 0x5a3fab650645 in parse_authority [...]/libcurl/src/lib/urlapi.c:796:1 ++ 2 ++ #2 0x5a3fab6740f6 in parseurl [...]/libcurl/src/lib/urlapi.c:1176:16 ++ #3 0x5a3fab664fc5 in parseurl_and_replace [...]/libcurl/src/lib/urlapi.c: ++ 1342:12 ++ [...] + +- Closes https://github.com/curl/curl/pull/11944 ++ ==2202320==WARNING: MemorySanitizer: use-of-uninitialized-value ++ #0 0x569076a0d6b0 in ipv4_normalize [...]/libcurl/src/lib/urlapi.c:683:12 ++ #1 0x5690769f2820 in parse_authority [...]/libcurl/src/lib/urlapi.c:803:1 ++ 0 ++ #2 0x569076a160f6 in parseurl [...]/libcurl/src/lib/urlapi.c:1176:16 ++ #3 0x569076a06fc5 in parseurl_and_replace [...]/libcurl/src/lib/urlapi.c: ++ 1342:12 ++ [...] + +-- docs: explain how PINNEDPUBLICKEY is independent of VERIFYPEER ++ Signed-off-by: Louis Solofrizzo ++ Closes #12995 + +- - Explain that peer verification via CURLOPT_PINNEDPUBLICKEY takes place +- even if peer verification via CURLOPT_SSL_VERIFYPEER is turned off. ++Stefan Eissing (26 Feb 2024) + +- The behavior is verified by test2048. ++- lib: move client writer into own source + +- Bug: https://github.com/curl/curl/issues/2935#issuecomment-418371872 +- Reported-by: claudiusaiz@users.noreply.github.com ++ Refactoring of the client writer that passes the data to the ++ client/application's callback functions. + +- Bug: https://github.com/curl/curl/discussions/11910 +- Reported-by: Hakan Sunay Halil ++ - split out into own source cw-out.[ch] from sendf.c + +- Closes https://github.com/curl/curl/pull/11930 ++ - move tempwrite and tempcount from data->state into the context of the ++ client writer + +-Stefan Eissing (26 Sep 2023) ++ - redesign the 3 tempwrite dynbufs as a linked list of dynbufs. On ++ paused transfers, this allows to "record" interleaved HEADER/BODY ++ chunks to be "played back" in the same order on unpausing. + +-- openssl: improve ssl shutdown handling ++ - keep the overall size limit of all buffered data to DYN_PAUSE_BUFFER. ++ On exceeding that, return CURLE_TOO_LARGE instead of ++ CURLE_OUT_OF_MEMORY as before. + +- - If SSL shutdown is not finished then make an additional call to +- SSL_read to gather additional tracing. ++ - add method to be called when a transfer is DONE to allow writing of ++ any data still buffered + +- - Fix http2 and h2-proxy filters to forward do_close() calls to the next +- filter. ++ - when paused, record HEADER writes exactly as they come for later ++ playback. HEADERs are documented to be written one-by-one. + +- For example h2 and SSL shutdown before and after this change: ++ Closes #12898 + +- Before: ++- urldata: move authneg bit from conn to Curl_easy + +- Curl_conn_close -> cf_hc_close -> Curl_conn_cf_discard_chain -> +- ssl_cf_destroy ++ - from `conn->bits.authneg` to `data->req.authneg` ++ - this is a property of the request about to be made ++ and not a property of the connection ++ - in multiuse connections, transfer could step on each others ++ toes here potentially. + +- After: ++ Closes #12949 + +- Curl_conn_close -> cf_hc_close -> cf_h2_close -> cf_setup_close -> +- ssl_cf_close ++- c-hyper: add header collection writer in hyper builds + +- Note that currently the tracing does not show output on the connection +- closure handle. Refer to discussion in #11878. ++ Closes #12880 + +- Ref: https://github.com/curl/curl/discussions/11878 ++- http: move headers collecting to writer + +- Closes https://github.com/curl/curl/pull/11858 ++ - add a client writer that does "push" response ++ headers written to the client if the headers api ++ is enabled ++ - remove special handling in sendf.c ++ - needs to be installed very early on connection ++ setup to catch CONNECT response headers + +-Loïc Yhuel (26 Sep 2023) ++ Closes #12880 + +-- multi: fix small timeouts ++- sendf: Curl_client_write(), make passed in buf const + +- Since Curl_timediff rounds down to the millisecond, timeouts which +- expire in less than 1ms are considered as outdated and removed from the +- list. We can use Curl_timediff_us instead, big timeouts could saturate +- but this is not an issue. ++MichaÅ‚ Antoniak (26 Feb 2024) + +- Closes #11937 ++- lib: remove curl_mimepart object when CURL_DISABLE_MIME + +-Viktor Szakats (25 Sep 2023) ++ Remove curl_mimepart object from UserDefined structure when ++ CURL_DISABLE_MIME flag is active. Reduce size of UserDefined structure. + +-- cmake: fix stderr initialization in unity builds ++ Also remove unreachable code: when CURL_DISABLE_MIME is set, httpreq can ++ never have HTTPREQ_POST_MIME value and the same goes for the ++ CURL_DISABLE_FORM_API flag and the HTTPREQ_POST_FORM value + +- Before this patch, in certain build configurations the curl tool may +- not have displayed anything (debug, macOS), or crashed at startup +- (debug, Windows). ++ Closes #12948 + +- Follow-up to 3f8fc25720900b14b7432f4bd93407ca15311719 +- Necessary after 2f17a9b654121dd1ecf4fc043c6d08a9da3522db ++kpcyrd (26 Feb 2024) + +- Closes #11929 ++- rustls: make curl compile with 0.12.0 + +-- cmake: fix missing `zlib.h` when compiling `libcurltool` ++ Closes #12989 + +- Came up while testing debug/testing build for Windows. I'm not sure why +- it didn't come up in earlier tests with similar config. +- `tool_hugehelp.c` might indeed require `zlib.h` and without linking +- `CURL_LIBS` to the `curltool` target, CMake doesn't seem to add detected +- dependency headers to the compiler command. ++Daniel Stenberg (26 Feb 2024) + +- ``` +- [ 25%] Building C object src/CMakeFiles/curltool.dir/tool_hugehelp.c.obj +- cd .../curl/bld-cmake-llvm-x64/src && /usr/local/opt/llvm/bin/clang +- --target=x86_64-w64-mingw32 --sysroot=/usr/local/opt/mingw-w64/toolchain-x8 +- 6_64 +- -DCURLDEBUG -DCURL_STATICLIB -DHAVE_CONFIG_H -DUNICODE -DUNITTESTS -D_UNICO +- DE +- -I.../curl/include -I.../curl/lib -I.../curl/bld-cmake-llvm-x64/lib +- -I.../curl/bld-cmake-llvm-x64/include -I.../curl/src -Wno-unused-command-li +- ne-argument +- -D_UCRT -DDEBUGBUILD -DHAS_ALPN -DUSE_MANUAL=1 -fuse-ld=lld -Wl,-s -static +- -libgcc +- -lucrt [...] -O3 -DNDEBUG -municode -MD +- -MT src/CMakeFiles/curltool.dir/tool_hugehelp.c.obj +- -MF CMakeFiles/curltool.dir/tool_hugehelp.c.obj.d +- -o CMakeFiles/curltool.dir/tool_hugehelp.c.obj -c .../curl/bld-cmake-llvm-x +- 64/src/tool_hugehelp.c +- .../curl/bld-cmake-llvm-x64/src/tool_hugehelp.c:6:10: fatal error: 'zlib.h' f +- ile not found +- 6 | #include +- | ^~~~~~~~ +- ``` ++- strtoofft: fix the overflow check + +- Follow-up to 39e7c22bb459c2e818f079984989a26a09741860 ++ ... to not rely on wrapping, since it is an undefined behavior that is ++ not what always might happen. This is in our private strtoff() parser ++ function, used only on platforms without a native version. + +- Closes #11927 ++ Reported-by: vulnerabilityspotter on hackerone ++ Closes #12990 + +-- cmake: fix duplicate symbols when linking tests ++- libssh/libssh2: return error on too big range + +- The linker resolves this automatically in non-unity builds. In unity +- builds the linker cannot drop a single object with the duplicates, +- resulting in these errors. The root issue is that we started including +- certain objects both via both libcurlu and libcurltool libs. ++ If trying to get the range 0 - 2^63 and the remote file is 2^63 bytes or ++ larger. + +- Regression from 39e7c22bb459c2e818f079984989a26a09741860 ++ Fixes #12983 ++ Closes #12984 + +- Windows errors: +- ``` +- [ 3%] Linking C executable unit1303.exe +- [ 3%] Building C object tests/server/CMakeFiles/rtspd.dir/__/__/lib/curl_mul +- tibyte.c.obj +- ../../lib/libcurlu-d.a(unity_0.c.obj): In function `curlx_convert_UTF8_to_wch +- ar': +- C:/projects/curl/lib/curl_multibyte.c:44: multiple definition of `curlx_conve +- rt_UTF8_to_wchar' +- ../../src/libcurltool-d.a(unity_0.c.obj):C:/projects/curl/lib/curl_multibyte. +- c:44: first defined here +- ../../lib/libcurlu-d.a(unity_0.c.obj): In function `curlx_convert_wchar_to_UT +- F8': +- C:/projects/curl/lib/curl_multibyte.c:66: multiple definition of `curlx_conve +- rt_wchar_to_UTF8' +- ../../src/libcurltool-d.a(unity_0.c.obj):C:/projects/curl/lib/curl_multibyte. +- c:66: first defined here +- ../../lib/libcurlu-d.a(unity_0.c.obj): In function `curlx_win32_open': +- C:/projects/curl/lib/curl_multibyte.c:92: multiple definition of `curlx_win32 +- _open' +- ../../src/libcurltool-d.a(unity_0.c.obj):C:/projects/curl/lib/curl_multibyte. +- c:92: first defined here +- ../../lib/libcurlu-d.a(unity_0.c.obj): In function `curlx_win32_fopen': +- C:/projects/curl/lib/curl_multibyte.c:120: multiple definition of `curlx_win3 +- 2_fopen' +- ../../src/libcurltool-d.a(unity_0.c.obj):C:/projects/curl/lib/curl_multibyte. +- c:120: first defined here +- ../../lib/libcurlu-d.a(unity_0.c.obj): In function `curlx_win32_stat': +- [...] +- ``` +- Ref: https://ci.appveyor.com/project/curlorg/curl/builds/48110107/job/nvlhpt9 +- aa4ehny5q#L247 ++Scott Talbert (24 Feb 2024) + +- macOS errors: +- ``` +- [ 56%] Linking C executable unit1302 +- duplicate symbol '_curlx_sotouz' in: +- ../../lib/libcurlu.a(unity_0_c.c.o) +- ../../src/libcurltool.a(unity_0_c.c.o) +- duplicate symbol '_curlx_sitouz' in: +- ../../lib/libcurlu.a(unity_0_c.c.o) +- ../../src/libcurltool.a(unity_0_c.c.o) +- duplicate symbol '_curlx_uztosz' in: +- ../../lib/libcurlu.a(unity_0_c.c.o) +- ../../src/libcurltool.a(unity_0_c.c.o) +- [...] +- ``` +- with config: +- ``` +- -DCMAKE_UNITY_BUILD=ON \ +- -DENABLE_DEBUG=ON -DBUILD_TESTING=ON -DCMAKE_C_FLAGS=-DDEBUGBUILD \ +- -DBUILD_SHARED_LIBS=ON \ +- -DBUILD_STATIC_LIBS=OFF +- ``` ++- setopt: fix check for CURLOPT_PROXY_TLSAUTH_TYPE value + +- Closes #11926 ++ Prior to this change CURLOPT_PROXY_TLSAUTH_TYPE would return ++ CURLE_BAD_FUNCTION_ARGUMENT on any type other than NULL. Since there is ++ only one type of TLS auth and it is also the default (SRP) the TLS auth ++ would work anyway. + +-- cmake: lib `CURL_STATICLIB` fixes (Windows) ++ Closes https://github.com/curl/curl/pull/12981 + +- - always define `CURL_STATICLIB` when building libcurl for Windows. ++Jay Satiro (24 Feb 2024) + +- This disables `__declspec(dllexport)` for exported libcurl symbols. +- In normal mode (hide symbols) these exported symbols are specified +- via `libcurl.def`. When not hiding symbols, all symbols are exported +- by default. ++- mprintf: fix format prefix I32/I64 for windows compilers + +- Regression from 1199308dbc902c52be67fc805c72dd2582520d30 ++ - Support I32 & I64 (eg: %I64d) for all Win32 builds. + +- Fixes #11844 ++ Prior to this change mprintf support for the I format prefix, which is a ++ Microsoft extension, was dependent on the compiler used. + +- - fix to omit `libcurl.def` when not hiding private symbols. ++ When Borland compiler support was removed in fd7ef00f the prefix was ++ then no longer supported for that compiler; however since it's still ++ possible to build with Borland I'm restoring support for the prefix in ++ this way. + +- Regression from 2ebc74c36a19a1700af394c16855ce144d9878e3 ++ Reported-by: PaweÅ‚ Witas + +- - fix `ENABLED_DEBUG=ON` + shared curl tool Windows builds by also +- omitting `libcurl.def` in this case, and exporting all symbols +- instead. This ensures that a shared curl tool can access all debug +- functions which are not normally exported from libcurl DLL. ++ Fixes https://github.com/curl/curl/issues/12944 ++ Closes https://github.com/curl/curl/pull/12950 + +- - delete `INTERFACE_COMPILE_DEFINITIONS "CURL_STATICLIB"` for "objects" +- target. ++Daniel Stenberg (23 Feb 2024) + +- Follow-up to 2ebc74c36a19a1700af394c16855ce144d9878e3 ++- cd2nroff: gen: make `\>` in input to render as plain '>' in output + +- - delete duplicate `BUILDING_LIBCURL` definitions. ++ The same (copy and pasted) fix/mistake as in gen.pl + +- - fix `HIDES_CURL_PRIVATE_SYMBOLS` to not overwrite earlier build settings. ++- gen: make `\>` in input to render as plain '>' in output + +- Follow-up to 1199308dbc902c52be67fc805c72dd2582520d30 ++ Reported-by: Gisle Vanem ++ Fixes #12977 ++ Closes #12978 + +- Closes #11914 ++Fabrice Fontaine (23 Feb 2024) + +-Daniel Stenberg (25 Sep 2023) ++- configure.ac: find libpsl with pkg-config + +-- RELEASE-NOTES: synced ++ Find libpsl with pkg-config to avoid static build failures. + +-Dan Fandrich (25 Sep 2023) ++ Ref: http://autobuild.buildroot.org/results/1fb15e1a99472c403d0d3b1a688902f32 ++ e78d002 + +-- tests: fix log directory path in IPFS tests ++ Signed-off-by: Fabrice Fontaine ++ Closes #12947 + +- Hard-coding the log directory name fails with parallel tests. ++Daniel Stenberg (23 Feb 2024) + +- Follow-up to 65b563a96 ++- BUG-BOUNTY.md: clarify that the curl security team decides + +- Ref: #8805 ++ Closes #12975 + +-Daniel Stenberg (25 Sep 2023) ++- THANKS: add bug reporter from #740 + +-- curl_multi_get_handles: get easy handles from a multi handle ++ Ref: https://github.com/curl/curl/issues/740 + +- Closes #11750 ++Stefan Eissing (22 Feb 2024) + +-Stefan Eissing (25 Sep 2023) ++- multi: fix multi_sock handling of select_bits + +-- http: h1/h2 proxy unification ++ - OR the event bitmask to data->state.select_bits instead of overwriting ++ them. They are cleared again on use. + +- - use shared code for setting up the CONNECT request +- when tunneling, used in HTTP/1.x and HTTP/2 proxying +- - eliminate use of Curl_buffer_send() and other manipulations +- of `data->req` or `data->state.ulbuf` ++ Reported-by: 5533asdg on github ++ Fixes #12971 ++ Closes #12972 + +- Closes #11808 ++Daniel Stenberg (22 Feb 2024) + +-Natanael Copa (25 Sep 2023) ++- curlver: bump to 8.7.0 for next release + +-- lib: use wrapper for curl_mime_data fseek callback ++- RELEASE-NOTES: synced + +- fseek uses long offset which does not match with curl_off_t. This leads +- to undefined behavior when calling the callback and caused failure on +- arm 32 bit. ++- write-out: add '%{proxy_used}' + +- Use a wrapper to solve this and use fseeko which uses off_t instead of +- long. ++ Returns 1 if the previous transfer used a proxy, otherwise 0. Useful to ++ for example determine if a `NOPROXY` pattern matched the hostname or ++ not. + +- Thanks to the nice people at Libera IRC #musl for helping finding this +- out. ++ Extended test 970 and 972 + +- Fixes #11882 +- Fixes #11900 +- Closes #11918 ++- CURLINFO_USED_PROXY: return bool whether the proxy was used + +-- configure: sort AC_CHECK_FUNCS ++ Adds test536 to verify + +- No functional changes. ++ Closes #12719 + +-Daniel Stenberg (25 Sep 2023) ++- sha512_256: remove the cast macro, minor language/format edits + +-- warnless: remove unused functions ++ Follow-up to cbe41d151d6a100c + +- Previously put there for use with the intel compiler ++ Closes #12966 + +- Closes #11932 ++Stefan Eissing (20 Feb 2024) + +-- GHA/linux: run singleuse to detect single-use global functions ++- DoH: add trace configuration + +- Use --unit for configure --enable-debug builds ++ - refs #12397 where it is dicussed how to en-/disable verbose output ++ of DoH operations ++ - introducing `struct curl_trc_feat` to track a curl feature for ++ tracing ++ - adding `data->state.feat` optionally pointing to the feature a ++ transfer belongs to ++ - adding trace functions and verbosity checks on features ++ - using trace feature in DoH code ++ - documenting `doh` as feature for `--trace-config` + +- Closes #11932 ++ Closes #12411 + +-- singleuse: add scan for use in other source codes ++- websocket: fix curl_ws_recv() + +- This should reduce false-positive to almost zero. Checks for presence in +- unit tests if --unit is specified, which is intended for debug builds +- where unit testing is enabled. ++ - when data arrived in several chunks, the collection into ++ the passed buffer always started at offset 0, overwriting ++ the data already there. + +- Closes #11932 ++ adding test_20_07 to verify fix + +-- multi: remove Curl_multi_dump ++ - debug environment var CURL_WS_CHUNK_SIZE can be used to ++ influence the buffer chunk size used for en-/decoding. + +- A debug-only function that is basically never used. Removed to ease the +- use of the singleuse script to detect non-static functions not used +- outside the file where it is defined. ++ Closes #12945 + +- Closes #11931 ++Evgeny Grin (Karlson2k) (20 Feb 2024) + +-Viktor Szakats (24 Sep 2023) ++- digest: support SHA-512/256 + +-- tests: fix compiler warnings ++ Also fix the tests. New implementation tested with GNU libmicrohttpd. ++ The new numbers in tests are real SHA-512/256 numbers (not just some ++ random ;) numbers ). + +- Seen with llvm 17 on Windows x64. ++- tests: add SHA-512/256 unit test + +- ``` +- .../curl/tests/server/rtspd.c:136:13: warning: no previous extern declaration +- for non-static variable 'logdir' [-Wmissing-variable-declarations] +- 136 | const char *logdir = "log"; +- | ^ +- .../curl/tests/server/rtspd.c:136:7: note: declare 'static' if the variable i +- s not intended to be used outside of this translation unit +- 136 | const char *logdir = "log"; +- | ^ +- .../curl/tests/server/rtspd.c:137:6: warning: no previous extern declaration +- for non-static variable 'loglockfile' [-Wmissing-variable-declarations] +- 137 | char loglockfile[256]; +- | ^ +- .../curl/tests/server/rtspd.c:137:1: note: declare 'static' if the variable i +- s not intended to be used outside of this translation unit +- 137 | char loglockfile[256]; +- | ^ +- .../curl/tests/server/fake_ntlm.c:43:13: warning: no previous extern declarat +- ion for non-static variable 'logdir' [-Wmissing-variable-declarations] +- 43 | const char *logdir = "log"; +- | ^ +- .../curl/tests/server/fake_ntlm.c:43:7: note: declare 'static' if the variabl +- e is not intended to be used outside of this translation unit +- 43 | const char *logdir = "log"; +- | ^ +- .../curl/src/tool_doswin.c:350:8: warning: possible misuse of comma operator +- here [-Wcomma] +- 350 | ++d, ++s; +- | ^ +- .../curl/src/tool_doswin.c:350:5: note: cast expression to void to silence wa +- rning +- 350 | ++d, ++s; +- | ^~~ +- | (void)( ) +- ``` ++- SHA-512/256: implement hash algorithm + +- ``` +- .../curl/tests/libtest/lib540.c:146:27: warning: result of comparison 'long' +- > 2147483647 is always false [-Wtautological-type-limit-compare] +- 146 | int itimeout = (L > (long)INT_MAX) ? INT_MAX : (int)L; +- | ~ ^ ~~~~~~~~~~~~~ +- 1 warning generated. ++ Closes #12897 + +- .../curl/tests/libtest/libntlmconnect.c:195:31: warning: result of comparison +- 'long' > 2147483647 is always false [-Wtautological-type-limit-compare] +- 195 | int itimeout = (timeout > (long)INT_MAX) ? INT_MAX : (int)timeo +- ut; +- | ~~~~~~~ ^ ~~~~~~~~~~~~~ +- 1 warning generated. ++- curl_setup.h: add curl_uint64_t internal type + +- .../curl/tests/libtest/lib591.c:117:31: warning: result of comparison 'long' +- > 2147483647 is always false [-Wtautological-type-limit-compare] +- 117 | int itimeout = (timeout > (long)INT_MAX) ? INT_MAX : (int)timeo +- ut; +- | ~~~~~~~ ^ ~~~~~~~~~~~~~ +- 1 warning generated. +- .../curl/tests/libtest/lib597.c:99:31: warning: result of comparison 'long' > +- 2147483647 is always false [-Wtautological-type-limit-compare] +- 99 | int itimeout = (timeout > (long)INT_MAX) ? INT_MAX : (int)timeo +- ut; +- | ~~~~~~~ ^ ~~~~~~~~~~~~~ +- 1 warning generated. +- ``` ++ The unsigned version of curl_off_t basically + +- Seen on macOS Intel: +- ``` +- .../curl/tests/server/sws.c:440:64: warning: field precision should have type +- 'int', but argument has type 'size_t' (aka 'unsigned long') [-Wformat] +- msnprintf(logbuf, sizeof(logbuf), "Got request: %s %.*s HTTP/%d.%d" +- , +- ~~^~ +- 1 warning generated. +- ``` ++Daniel Stenberg (20 Feb 2024) + +- Closes #11925 ++- docs: dist curl*.1 and install without perl + +-Jay Satiro (24 Sep 2023) ++ Drop docs/mk-ca-bundle.1 from the tarball. It can be generated at will. + +-- url: fix netrc info message ++ Closes #12959 ++ Fixes #12921 ++ Reported-by: Michael Forney + +- - Fix netrc info message to use the generic ".netrc" filename if the +- user did not specify a netrc location. ++Stefan Eissing (20 Feb 2024) + +- - Update --netrc doc to add that recent versions of curl on Windows +- prefer .netrc over _netrc. ++- OpenSSL QUIC: adapt to v3.3.x + +- Before: +- * Couldn't find host google.com in the (nil) file; using defaults ++ - set our idle timeout as transport parameter ++ - query negotiated idle timeout for connection alive checks ++ - query number of available bidi streams on a connection ++ - use write_ex2 with SSL_WRITE_FLAG_CONCLUDE to signal ++ EOF on last chunk write, so stream close does not ++ require an additional QUIC packet + +- After: +- * Couldn't find host google.com in the .netrc file; using defaults ++ Closes #12933 + +- Closes https://github.com/curl/curl/pull/11904 ++Ramiro Garcia (19 Feb 2024) + +-Dan Fandrich (23 Sep 2023) ++- MANUAL.md: fix typo + +-- wolfssh: do cleanup in Curl_ssh_cleanup ++ Closes #12965 + +- Closes: #11921 ++Daniel Stenberg (19 Feb 2024) + +-Daniel Stenberg (24 Sep 2023) ++- BINDINGS: add mcurl, the python binding + +-- tool_listhelp: regenerated ++ Ref: #12956 ++ Closes #12962 + +- Polished the --ipfs-gateway description ++- mk-ca-bundle.md: cleanups and polish + +- Fixed the --trace-config description ++ Closes #12958 + +- The script also fixed some other small mistakes ++- spellcheck.yml: remove .1/.3 handling, clean all man page .md files + +- Closes #11923 ++ Since we generate all .1 and .3 files from markdown now, we can limit ++ the spellcheck to the markdown versions only. + +-Viktor Szakats (23 Sep 2023) ++ Closes #12960 + +-- Makefile.mk: always set `CURL_STATICLIB` for lib (Windows) ++- libcurl-docs: cleanups + +- Also fix to export all symbols in Windows debug builds, making +- `-debug-dyn` builds work with `-DCURL_STATICLIB` set. ++ CURLMOPT_SOCKETDATA.md: fix typo ++ CURLMOPT_TIMERDATA.md: fix typo ++ CURLOPT_COOKIELIST.m: quote strings ++ CURLOPT_PREREQFUNCTION.md: quote variable names ++ CURLOPT_TCP_NODELAY.md: rephrased to please spell checker ++ CURLOPT_WILDCARDMATCH.md: rephrased ++ libcurl-tutorial.md: use correct option name ++ curl_global_init_mem.md: quote headers ++ curl_easy_getinfo.md: use correct symbol names in headers ++ curl_global_trace.md: quote some headers ++ curl_ws_meta.md: quote struct field names ++ libcurl-env.md: quote headers + +- Ref: https://github.com/curl/curl/pull/11914 (same for CMake) ++- cd2nroff: remove backticks from titles + +- Closes #11924 ++- RELEASE-NOTES: synced + +-Daniel Stenberg (23 Sep 2023) ++Stefan Eissing (18 Feb 2024) + +-- quic: set ciphers/curves the same way regular TLS does ++- http_chunks: fix the accounting of consumed bytes + +- for OpenSSL/BoringSSL ++ Prior to this change chunks were handled correctly although in verbose ++ mode libcurl could incorrectly warn of "Leftovers after chunking" even ++ if there were none. + +- Fixes #11796 +- Reported-by: Karthikdasari0423 on github +- Assisted-by: Jay Satiro +- Closes #11836 ++ Reported-by: Michael Kaufmann + +-- test457: verify --max-filesize with chunked encoding ++ Fixes https://github.com/curl/curl/issues/12937 ++ Closes https://github.com/curl/curl/pull/12939 + +-- lib: let the max filesize option stop too big transfers too ++- file: use xfer buf for file:// transfers + +- Previously it would only stop them from getting started if the size is +- known to be too big then. ++ - For file:// transfers use the multi handle's transfer buffer for ++ up- and downloads. + +- Update the libcurl and curl docs accordingly. ++ Prior to this change a6c9a33 (precedes 8.6.0) changed the file:// ++ transfers to use a smaller stack based buffer, and that caused a ++ significant performance decrease in Windows. + +- Fixes #11810 +- Reported-by: Elliot Killick +- Assisted-by: Jay Satiro +- Closes #11820 ++ Bug: https://github.com/curl/curl/issues/12750#issuecomment-1920103086 ++ Reported-by: edmcln@users.noreply.github.com + +-Viktor Szakats (23 Sep 2023) ++ Closes https://github.com/curl/curl/pull/12932 + +-- mingw: delete support for legacy mingw.org toolchain ++Karthikdasari0423 (18 Feb 2024) + +- Drop support for "old" / "legacy" / "classic" / "v1" / "mingw32" MinGW: +- https://en.wikipedia.org/wiki/MinGW, https://osdn.net/projects/mingw/ +- Its homepage used to be http://mingw.org/ [no HTTPS], and broken now. +- It supported the x86 CPU only and used a old Windows API header and +- implib set, often causing issues. It also misses most modern Windows +- features, offering old versions of both binutils and gcc (no llvm/clang +- support). It was last updated 2 years ago. ++- HTTP3.md: always run nghttp3 submodule init + +- curl now relies on toolchains based on the mingw-w64 project: +- https://www.mingw-w64.org/ https://sourceforge.net/projects/mingw-w64/ +- https://www.msys2.org/ https://github.com/msys2/msys2 +- https://github.com/mstorsjo/llvm-mingw +- (Also available via Linux and macOS package managers.) ++ - For consistency change all 'build nghttp3' commands to run submodule ++ init after cloning, even if the branch does not have submodules. + +- Closes #11625 ++ Follow-up to 5a4b2f93 and 4f794558. + +-Mark Gaiser (23 Sep 2023) ++ Closes https://github.com/curl/curl/pull/12928 + +-- curl: add support for the IPFS protocols: ++LeeRiva (18 Feb 2024) + +- - ipfs:// +- - ipns:// ++- CURLOPT_POSTQUOTE.md: fix typo + +- This allows you tu use ipfs in curl like: +- curl ipfs:// +- and +- curl ipns:// ++ Closes https://github.com/curl/curl/pull/12926 + +- For more information consult the readme at: +- https://curl.se/docs/ipfs.html ++Evgeny Grin (Karlson2k) (18 Feb 2024) + +- Closes #8805 ++- checksrc.pl: fix handling .checksrc with CRLF + +-Daniel Stenberg (23 Sep 2023) ++ - When parsing .checksrc chomp the (CR)LF line ending. + +-- bufq: remove Curl_bufq_skip_and_shift (unused) ++ Prior to this change on Windows checksrc.pl would not process the ++ symbols in .checksrc properly, since many git repos in Windows use auto ++ crlf to check out files with CRLF line endings. + +- Closes #11915 ++ Closes https://github.com/curl/curl/pull/12924 + +-- scripts/singleuse.pl: add curl_global_trace ++Richard Levitte (18 Feb 2024) + +-Viktor Szakats (22 Sep 2023) ++- cmake: fix install for older CMake versions + +-- cmake: fix unity symbol collisions in h2 builds ++ - Generate the docs install list by using a foreach loop instead of ++ LIST:TRANSFORM since older CMake can't handle the latter. + +- Regression from 331b89a319d0067fa1e6441719307cfef9c7960f ++ Reported-by: Dan Fandrich + +- Reviewed-by: Daniel Stenberg +- Reviewed-by: Jay Satiro +- Closes #11912 ++ Fixes https://github.com/curl/curl/issues/12920 ++ Closes https://github.com/curl/curl/pull/12922 + +-Daniel Stenberg (22 Sep 2023) ++Stefan Eissing (16 Feb 2024) + +-- RELEASE-NOTES: synced ++- vtls: fix tls proxy peer verification + +-Dan Fandrich (21 Sep 2023) ++ - When verifying a proxy certificate for an ip address, use the correct ++ ip family. + +-- github/labeler: improve the match patterns ++ Prior to this change the "connection" ip family was used, which was not ++ necessarily the same. + +- This includes new rules for setting the appleOS and logging labels and +- matches on some example files. Also, enable dot mode for wildcard +- matches in the .github directory. ++ Reported-by: HsiehYuho@users.noreply.github.com + +-Daniel Stenberg (21 Sep 2023) ++ Fixes https://github.com/curl/curl/issues/12831 ++ Closes https://github.com/curl/curl/pull/12931 + +-- upload-file.d: describe the file name slash/backslash handling ++Dan Fandrich (15 Feb 2024) + +- Closes #11911 ++- CI: Bump the Circle CI base Ubuntu image to the latest 20.04 + +-Jakub Jelen (21 Sep 2023) ++ The previous ones are going to be removed soon, plus the new ones ++ include all the fixes since then. + +-- libssh: cap SFTP packet size sent ++Jay Satiro (13 Feb 2024) + +- Due to libssh limitations ++- transfer: improve Windows SO_SNDBUF update limit + +- Signed-off-by: Jakub Jelen ++ - Change the 1 second SO_SNDBUF update limit from per transfer to per ++ connection. + +- Closes #11804 ++ Prior to this change many transfers over the same connection could cause ++ many SO_SNDBUF updates made to that connection per second, which was ++ unnecessary. + +-Daniel Stenberg (21 Sep 2023) ++ Closes https://github.com/curl/curl/pull/12911 + +-- curl.h: mark CURLSSLBACKEND_NSS as deprecated since 8.3.0 ++- schannel: fix hang on unexpected server close + +- Closes #11905 ++ - Treat TLS connection close (either due to a close_notify from the ++ server or just closed due to receiving 0) as pending data. + +-- mailmap: unify Michael Osipov under a single email ++ This is because in some cases schannel_recv knows the connection is ++ closed but has to return actual pending data so it can't return 0 or an ++ error to indicate no more data. In this case schannel_recv must be ++ called again, which only happens if readwrite_data sees that there is ++ still pending data. + +-Ted Lyngmo (21 Sep 2023) ++ Prior to this change if the total size of the body that libcurl expected ++ to receive from the server was unknown then it was possible under some ++ network conditions that libcurl would hang waiting to receive more data, ++ when in fact a close_notify alert indicating no more data would be sent ++ was already processed. + +-- docs: use CURLSSLBACKEND_NONE ++ Fixes https://github.com/curl/curl/issues/12894 ++ Closes https://github.com/curl/curl/pull/12910 + +- [ssl] use CURLSSLBACKEND_NONE instead of (curl_sslbackend)-1 in +- documentation and examples. ++Daniel Stenberg (10 Feb 2024) + +- Signed-off-by: Ted Lyngmo ++- KNOWN_BUGS: FTP upload fails if remebered dir is deleted + +- Closes #11909 ++ Closes #12181 ++ Closes #12923 + +-Dan Fandrich (21 Sep 2023) ++MichaÅ‚ Antoniak (10 Feb 2024) + +-- github/labeler: give the sync-labels config item a default value ++- mbedtls: use mbedtls_ssl_conf_{min|max}_tls_version + +- This shouldn't be necessary and is likely a bug with this beta version +- of the labeller. ++ ... instead of the deprecated mbedtls_ssl_conf_{min|max}_version + +- Also, fix the negative matches for the documentation label. ++ Closes #12905 + +- Follow-up to dd12b452a +- Closes #11907 ++Dan Fandrich (9 Feb 2024) + +-- github/labeler: fix up more the labeler config format ++- CI: bump to actions/cache@v4 to avoid warning + +- The new version didn't like the workaround we had for a bug in the +- previous labeler version, and it should no longer be needed. ++Evgeny Grin (Karlson2k) (9 Feb 2024) + +- Follow-up to dd12b452a +- Closes #11906 ++- test1165: improve pattern matching + +-- github/labeler: fix indenting to try to appease labeller ++ * Fix excluded digits at the end of the symbols ('CURL_DISABLE_POP3' ++ was checked as 'CURL_DISABLE_POP') + +- Follow-up to dd12b452a ++ Closes #12903 + +-Jay Satiro (21 Sep 2023) ++Dan Fandrich (9 Feb 2024) + +-- libssh2: fix error message on failed pubkey-from-file ++- scripts: Fix cijobs.pl for Azure and GHA + +- - If libssh2_userauth_publickey_fromfile_ex returns -1 then show error +- message "SSH public key authentication failed: Reason unknown (-1)". ++ The spacing in the yaml files changed. + +- When libssh2_userauth_publickey_fromfile_ex returns -1 it does so as a +- generic error and therefore doesn't set an error message. AFAICT that is +- not documented behavior. ++Daniel Stenberg (9 Feb 2024) + +- Prior to this change libcurl retrieved the last set error message which +- would be from a previous function failing. That resulted in misleading +- auth failed error messages in verbose mode. ++- RELEASE-NOTES: synced + +- Bug: https://github.com/curl/curl/issues/11837#issue-1891827355 +- Reported-by: consulion@users.noreply.github.com ++- TODO: use pkg-config to find libpsl + +- Closes https://github.com/curl/curl/pull/11881 ++ Closes #12919 + +-Stefan Eissing (21 Sep 2023) ++- TODO: avoid nroff + +-- pytest: exclude test_03_goaway in CI runs due to timing dependency ++ Instead of adjusting roffit, skip the nroff step. + +- Closes #11860 ++ Closes #12919 + +-- lib: disambiguate Curl_client_write flag semantics ++Dan Fandrich (9 Feb 2024) + +- - use CLIENTWRITE_BODY *only* when data is actually body data +- - add CLIENTWRITE_INFO for meta data that is *not* a HEADER +- - debug assertions that BODY/INFO/HEADER is not used mixed +- - move `data->set.include_header` check into Curl_client_write +- so protocol handlers no longer have to care +- - add special in FTP for `data->set.include_header` for historic, +- backward compatible reasons +- - move unpausing of client writes from easy.c to sendf.c, so that +- code is in one place and can forward flags correctly ++- Revert "CI: run Circle macOS builds on x86 for now" + +- Closes #11885 ++ This reverts commit 2683de3078eadc86d9b182e7417f4ee75a247e2c. ++ ARM resources are now available in Circle CI, so run these builds on ARM ++ again. This platform needs explicit paths set to libpsl and its ++ dependency icu4c. + +-Patrick Monnerat (21 Sep 2023) ++ Follow-up to 2683de30 + +-- tftpd: always use curl's own tftp.h ++ Closes #12635 + +- Using the system's provided arpa/tftp.h and optimizing, GCC 12 detects +- and reports a stringop-overread warning: ++Viktor Szakats (9 Feb 2024) + +- tftpd.c: In function ‘write_behind.isra’: +- tftpd.c:485:12: warning: ‘write’ reading between 1 and 2147483647 bytes f +- rom a region of size 0 [-Wstringop-overread] +- 485 | return write(test->ofile, writebuf, count); +- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +- In file included from tftpd.c:71: +- /usr/include/arpa/tftp.h:58:30: note: source object ‘tu_data’ of size 0 +- 58 | char tu_data[0]; /* data or error stri +- ng */ +- | ^~~~~~~ ++- cmake: add warning for using TLS libraries without 1.3 support + +- This occurs because writebuf points to this field and the latter +- cannot be considered as being of dynamic length because it is not +- the last field in the structure. Thus it is bound to its declared +- size. ++ Closes #12900 + +- This commit always uses curl's own version of tftp.h where the +- target field is last in its structure, effectively avoiding the +- warning. ++Daniel Stenberg (9 Feb 2024) + +- As HAVE_ARPA_TFTP_H is not used anymore, cmake/configure checks for +- arpa/tftp.h are removed. ++- configure: add warning for using TLS libraries without 1.3 support + +- Closes #11897 ++ Closes #12900 + +-Dan Fandrich (20 Sep 2023) ++MichaÅ‚ Antoniak (9 Feb 2024) + +-- test1474: make precheck more robust on non-Solaris systems ++- mbedtls: fix building when MBEDTLS_X509_REMOVE_INFO flag is defined + +- If uname -r returns something odd, perl could return an error code and +- the test would be erroneously skipped. The qx// syntax avoid this. ++ Closes #12904 + +- Followup to 08f9b2148 ++Stefan Eissing (9 Feb 2024) + +-- github/labeler: switch to the 5 beta version ++- ftp: fix socket wait activity in ftp_domore_getsock + +- This version adds an important feature that will allow more PRs to be +- labelled. Rather than being limited to labeling PRs with files that +- match a single glob, it can now label them if multiple changed files +- match any one of a number of globs. ++ - when waiting on the data connection, always add the control socket to ++ the pollset on state STOP or let the pingpong add the socket according ++ to its needs. + +-Daniel Stenberg (20 Sep 2023) ++ Reported-by: Fabian Vogt ++ Fixes #12901 ++ Closes #12913 + +-- lib: enable hmac for digest as well ++Daniel Stenberg (9 Feb 2024) + +- Previously a build that disabled NTLM and aws-sigv4 would fail to build +- since the hmac was disabled, but it is also needed for digest auth. ++- dist: make sure the http tests are in the tarball + +- Follow-up to e92edfbef64448ef ++ Fixes #12914 ++ Reported-by: Fabian Vogt ++ Closes #12917 + +- Fixes #11890 +- Reported-by: Aleksander Mazur +- Closes #11896 ++Stefan Eissing (9 Feb 2024) + +-- idn: if idn2_check_version returns NULL, return error ++- multi: add xfer_buf to multi handle + +- ... this avoids a NULL dereference for this unusual case. ++ - can be borrowed by transfer during recv-write operation ++ - needs to be released before borrowing again ++ - adjustis size to `data->set.buffer_size` ++ - used in transfer.c readwrite_data() + +- Reported-by: s0urc3_ on hackerone +- Closes #11898 ++ Closes #12805 + +-- http: fix CURL_DISABLE_BEARER_AUTH breakage ++Daniel Stenberg (9 Feb 2024) + +- When bearer auth was disabled, the if/else logic got wrong and caused +- problems. ++- write-out.md: clarify error handling details + +- Follow-up to e92edfbef64448ef461 +- Fixes #11892 +- Reported-by: Aleksander Mazur +- Closes #11895 ++ - it gets used even if the transfer fails + +-Michael Osipov (20 Sep 2023) ++ - it does not cause error to be returned even if it fails + +-- wolfssl: allow capath with CURLOPT_CAINFO_BLOB ++ Closes #12909 + +- Remain consistent with OpenSSL. While CAfile is nulled as documented +- with CURLOPT_CAINFO_BLOB, CApath remains intact. ++Stefan Eissing (8 Feb 2024) + +- Closes #11886 ++- ftp: do lineend conversions in client writer + +-- wolfssl: use ssl_cafile/ssl_capath variables consistent with openssl.c ++ - remove the ftp special handling from sendf.c ++ - let ftp_do() add a client writer that does ++ the linened conversions ++ - change the lineend conversion to no longer ++ modify the passed buffer, but write smaller ++ chunks to the next cwriter instead. The ++ inefficiency of this will be mitigated once ++ we add output buffering for all client writes. + +- Closes #11886 ++ Closes #12878 + +-Dan Fandrich (19 Sep 2023) ++- ftp: tracing improvements + +-- test1474: disable test on NetBSD, OpenBSD and Solaris 10 ++ - trace socketindex for connection filters when not the first ++ - trace socket fd in tcp ++ - trace pollset adjusts in vtls + +- These kernels only send a fraction of the requested amount of the first +- large block, invalidating the assumptions of the test and causing it to +- fail. ++ Closes #12902 + +- Assisted-by: Christian Weisgerber +- Ref: https://curl.se/mail/lib-2023-09/0021.html +- Closes #11888 ++Karthikdasari0423 (8 Feb 2024) + +-Ryan Schmidt (20 Sep 2023) ++- HTTP3.md: adjust the OpenSSL QUIC install instructions + +-- cmake, configure: also link with CoreServices ++ tried installing with old steps but failed ++ tried with newly added setps and able to build ++ ``` ++ root@ubuntu:~/curl# ./src/curl -V ++ /root/curl/src/.libs/curl: /lib/x86_64-linux-gnu/libssl.so.3: version `OPENSS ++ L_3.2.0' not found (required by /root/curl/lib/.libs/libcurl.so.4) ++ root@ubuntu:~/curl# ++ ``` ++ ``` ++ root@ubuntu:~/curl# ./src/curl -V ++ curl 8.6.1-DEV (x86_64-pc-linux-gnu) libcurl/8.6.1-DEV OpenSSL/3.2.0 zlib/1.2 ++ .11 brotli/1.0.9 libpsl/0.21.0 nghttp3/1.1.0 OpenLDAP/2.5.16 ++ Release-Date: [unreleased] ++ Protocols: dict file ftp ftps gopher gophers http https imap imaps ipfs ipns ++ ldap ldaps mqtt pop3 pop3s rtsp smb smbs smtp smtps telnet tftp ++ Features: alt-svc AsynchDNS brotli HSTS HTTP3 HTTPS-proxy IPv6 Largefile libz ++ NTLM PSL SSL threadsafe TLS-SRP UnixSockets ++ root@ubuntu:~/curl# ++ ``` + +- When linking with CoreFoundation, also link with CoreServices which is +- apparently required to avoid an NSInvalidArgumentException in software +- linking with libcurl on macOS Sonoma 14 and later. ++ Closes #12896 + +- Fixes #11893 +- Closes #11894 ++Daniel Stenberg (8 Feb 2024) + +-Marc Hoersken (19 Sep 2023) ++- TODO: align the TOC with the header + +-- CI/azure: remove pip, wheel, cryptography, pyopenssl and impacket ++- docs: make sure curl.1 is included in dist tarballs + +- These dependencies are now already included in the Docker image. ++ Ref: https://github.com/curl/curl/issues/12832#issuecomment-1933271873 + +- Ref: https://github.com/mback2k/curl-docker-winbuildenv/commit/2607a31bcab544 +- b41d15606e97f38cf312c1ce56 ++ Closes #12892 + +- Closes #11889 ++Karthikdasari0423 (8 Feb 2024) + +-Daniel Stenberg (19 Sep 2023) ++- HTTP3.md: remove quiche word in Openssl 3.2 + +-- wolfssl: if CURLOPT_CAINFO_BLOB is set, ignore the CA files ++ Closes #12893 + +- Ref: #11883 +- Reported-by: Michael Osipov +- Closes #11884 ++Daniel Stenberg (7 Feb 2024) + +-- RELEASE-NOTES: synced ++- curl: when allocating variables, add the name into the struct + +-- test3103: CURLOPT_COOKIELIST test ++ This saves the name from being an extra separate allocation. + +-- cookie: set ->running in cookie_init even if data is NULL ++ Closes #12891 + +- This is a regression introduced in b1b326ec500 (shipped in curl 8.1.0) ++- lib582: remove code causing warning that is never run + +- Test 3103 verifies. ++ The previous realloc code in this code could trigger a compiler warning, ++ but since that code path cannot happen in normal circumstances it now ++ instead exits with an error message there. + +- Fixes #11875 +- Reported-by: wangp on github +- Closes #11876 ++ Ref: #12887 ++ Closes #12890 + +-- test498: total header size for all redirects is larger than accepted ++Stefan Eissing (7 Feb 2024) + +-- http: use per-request counter to check too large headers ++- vtls: revert "receive max buffer" + add test case + +- Not the counter that accumulates all headers over all redirects. ++ - add test_05_04 for requests using http/1.0, http/1.1 and h2 against an ++ Apache resource that does an unclean TLS shutdown. ++ - revert special workarund in openssl.c for suppressing shutdown errors ++ on multiplexed connections ++ - vlts.c restore to its state before 9a90c9dd64d2f03601833a70786d485851bd1b53 + +- Follow-up to 3ee79c1674fd6 ++ Fixes #12885 ++ Fixes #12844 + +- Do a second check for 20 times the limit for the accumulated size for +- all headers. ++ Closes #12848 + +- Fixes #11871 +- Reported-by: Joshix-1 on github +- Closes #11872 ++Daniel Stenberg (7 Feb 2024) + +-Jay Satiro (18 Sep 2023) ++- tests: support setting/using blank content env variables + +-- THANKS: add Eric Murphy ++ - test450: remove --config from the keywords ++ - test2080: change return code ++ - test428: add --config as a keyword ++ - test428: disable on Windows due to CI problems + +- He reported #11850 (quiche build error) but I forgot to add a +- 'reported-by' entry in the fix 267e14f1. ++- curl: exit on config file parser errors + +-Daniel Stenberg (18 Sep 2023) ++ Like when trying to import an environment variable that does not exist. + +-- h2-proxy: remove left-over mistake in drain_tunnel() ++ Also fix a bug for reading env variables when there is a default value ++ set. + +- Left-over from 331b89a319 ++ Bug: https://curl.se/mail/archive-2024-02/0008.html ++ Reported-by: Brett Buddin + +- Reported-by: å—å®«é›ªçŠ ++ Add test 462 to verify. + +- Closes https://github.com/curl/curl/pull/11877 ++ Closes #12862 + +-vvb2060 (18 Sep 2023) ++Daniel Szmulewicz (7 Feb 2024) + +-- lib: failf/infof compiler warnings ++- CURLOPT_WRITEFUNCTION.md: typo fix + +- Closes #11874 ++ The maximum amount of body data that is passed to the write ++ callback is defined in the curl.h header file + +-Daniel Stenberg (17 Sep 2023) ++ Closes #12889 + +-- rand: fix 'alnum': array is too small to include a terminating null character ++Daniel Stenberg (7 Feb 2024) + +- It was that small on purpose, but this change now adds the null byte to +- avoid the error. ++- lib: convert Curl_get_line to use dynbuf + +- Follow-up to 3aa3cc9b052353b1 ++ Create the line in a dynbuf. Aborts the reading of the file on ++ errors. Avoids having to always allocate maximum amount from the ++ start. Avoids direct malloc. + +- Reported-by: Dan Fandrich +- Ref: #11838 +- Closes #11870 ++ Closes #12846 + +-Mathias Fuchs (16 Sep 2023) ++- KNOWN_BUGS: unicode on Windows + +-- cmake: fix the help text to the static build option in CMakeLists.txt ++ Closes #11461 ++ Closes #12231 ++ Closes #12883 + +- Closes #11843 ++- tool_operate: change precedence of server Retry-After time + +-John Haugabook (16 Sep 2023) ++ - When calculating the retry time, no longer allow a server's requested ++ Retry-After time to take precedence over a longer retry time (either ++ default algorithmic or user-specified). + +-- MANUAL.md: change domain to example.com ++ Prior to this change the server's Retry-After time took precedence over ++ curl's retry time in all cases, but that's not always practical for ++ short Retry-After times depending on how busy the server is. + +- Closes #11866 ++ Bug: https://curl.se/mail/archive-2024-01/0022.html ++ Reported-by: Dirk Hünniger + +-Daniel Stenberg (16 Sep 2023) ++ Closes https://github.com/curl/curl/pull/12871 + +-- doh: inherit DEBUGFUNCTION/DATA ++- cmdline-docs: quote and angle bracket cleanup + +- When creating new transfers for doing DoH, they now inherit the debug +- settings from the initiating transfer, so that the application can +- redirect and handle the verbose output correctly even for the DoH +- transfers. ++ - make sure angle brackets are escaped ++ - remove a lot of superfluous double quotes ++ - replace several double quotes with backticks + +- Reported-by: calvin2021y on github +- Fixes #11864 +- Closes #11869 ++ To make nicer-looking markdown. + +-Dan Fandrich (16 Sep 2023) ++ Closes #12884 + +-- http_aws_sigv4: fix sorting with empty parts ++- badwords: use hostname, not host name + +- When comparing with an empty part, the non-empty one is always +- considered greater-than. Previously, the two would be considered equal +- which would randomly place empty parts amongst non-empty ones. This +- showed as a test 439 failure on Solaris as it uses a different +- implementation of qsort() that compares parts differently. ++ and username, filename - consistently. Fixed the patterns in ++ badwords.txt to catch these. + +- Fixes #11855 +- Closes #11868 ++ Closes #12888 + +-- CI: ignore the "flaky" and "timing-dependent" test results ++Viktor Szakats (6 Feb 2024) + +- CI builds will now run these tests, but will ignore the results if they +- fail. The relevant tests are ones that are sensitive to timing or +- have edge conditions that make them more likely to fail on CI servers, +- which are often heavily overloaded and slow. ++- cmake: fix function description in comment [ci skip] + +- This change only adds two additional tests to be ignored, since the +- others already had the flaky keyword. ++ Closes #12879 + +- Closes #11865 ++Daniel Stenberg (6 Feb 2024) + +-- runtests: eliminate a warning on old perl versions ++- header.md: remove backslash, make nicer markdown + +- The warning "Use of implicit split to @_ is deprecated" showed between +- perl versions about 5.8 through 5.11. ++ - remove a leftover backslash before a dash ++ - use backticks for "code" strings + +-- tests: log the test result code after each libtest ++ Closes #12877 + +- This makes it easier to determine the test status. Also, capitalize +- FAILURE and ABORT messages in log lines to make them easier to spot. ++- docs: add mk-ca-bundle.1 to dist + +-Harry Sintonen (16 Sep 2023) ++ ... which also makes it get built. But don't build this or curl-config.1 ++ if build docs is disabled. + +-- misc: better random strings ++ Closes #12875 + +- Generate alphanumerical random strings. ++Stefan Eissing (6 Feb 2024) + +- Prior this change curl used to create random hex strings. This was +- mostly okay, but having alphanumerical random strings is better: The +- strings have more entropy in the same space. ++- https-proxy: use IP address and cert with ip in alt names + +- The MIME multipart boundary used to be mere 64-bits of randomness due +- to being 16 hex chars. With these changes the boundary is 22 +- alphanumerical chars, or little over 130 bits of randomness. ++ - improve info logging when peer verification fails to indicate ++ if DNS name or ip address has been tried to match ++ - add test case for contacting https proxy with ip address ++ - add pytest env check on loaded credentials and re-issue ++ when they are no longer valid ++ - disable proxy ip address test for bearssl, since not supported there + +- Closes #11838 ++ Ref: #12831 ++ Closes #12838 + +-Daniel Stenberg (15 Sep 2023) ++Jiawen Geng (6 Feb 2024) + +-- cookie: reduce variable scope, add const ++- docs: add necessary setup for nghttp3 + +-- cookie: do not store the expire or max-age strings ++ Now nghttp3 has submodules ++ https://github.com/ngtcp2/nghttp3/blob/main/.gitmodules + +- Convert it to an expire time at once and save memory. ++ Closes #12859 + +- Closes #11862 ++Peter Krefting (6 Feb 2024) + +-- cookie: remove unnecessary struct fields ++- version: allow building with ancient libpsl + +- Plus: reduce the hash table size from 256 to 63. It seems unlikely to +- make much of a speed difference for most use cases but saves 1.5KB of +- data per instance. ++ The psl_check_version_number() API was added in libpsl 0.11.0. CentOS 7 ++ ships with version 0.7.0 which lacks this API. Revert to using the older ++ versioning API if we detect an old libpsl version. + +- Closes #11862 ++ Follow-up to 72bd88adde0e8cf6e63644a7d6df1da01a399db4 ++ Bug: https://curl.se/mail/archive-2024-02/0004.html ++ Reported-by: Scott Mutter ++ Closes #12872 + +-- RELEASE-NOTES: synced ++Daniel Stenberg (6 Feb 2024) + +- Bumped to 8.4.0, the next presumed version ++- TODO: Support latest rustls + +-Dan Fandrich (14 Sep 2023) ++ Closes #12737 ++ Closes #12874 + +-- test2600: remove special case handling for USE_ALARM_TIMEOUT ++- docs: make curldown do angle brackets like markdown + +- This was originally added to handle platforms that supported only 1 +- second granularity in connect timeouts, but after some recent changes +- the test currently permafails on several Windows platforms. ++ Make sure we use \< and \> in markdown all over so that it renders ++ correctly, on GitHub and elsewhere. cd2nroff now outputs a warning if it ++ finds an unescaled angle bracket. + +- The need for this special-case was removed in commit 8627416, which +- increased the connect timeout in all cases to well above 1 second. ++ Ref: #12854 ++ Closes #12869 + +- Fixes #11767 +- Closes #11849 ++- docs: fix the --disable-docs for autotools + +-Daniel Stenberg (14 Sep 2023) ++ Follow-up to 541321507e386 + +-- SECURITY-PROCESS.md. call it vulnerability disclosure policy ++ Closes #12870 + +- SECURITY-PROCESS.md -> VULN-DISCLOSURE-POLICY.md ++- RELEASE-NOTES: synced + +- This a name commonly used for a document like this. This name helps +- users find it. ++- libcurl-security.md: Active FTP passes on the local IP address + +- Closes #11852 ++ Reported-by: Harry Sintonen ++ Closes #12867 + +-Junho Choi (14 Sep 2023) ++Stefan Eissing (5 Feb 2024) + +-- quiche: fix build error with --with-ca-fallback ++- configure: do not link with nghttp3 unless necessary + +- - Fix build error when curl is built with --with-quiche +- and --with-ca-fallback. ++ Fixes #12833 ++ Closes #12864 ++ Reported-by: Ryan Carsten Schmidt + +- - Add --with-ca-fallback to the quiche CI job. ++Daniel Stenberg (5 Feb 2024) + +- Fixes https://github.com/curl/curl/issues/11850 +- Closes https://github.com/curl/curl/pull/11847 ++- THANKS: add Dmitry Tretyakov + +-Jay Satiro (14 Sep 2023) ++ ... since I missed to give credit to the report in the fix of #12861 + +-- escape: replace Curl_isunreserved with ISUNRESERVED ++Stefan Eissing (5 Feb 2024) + +- - Use the ALLCAPS version of the macro so that it is clear a macro is +- being called that evaluates the variable multiple times. ++- openssl-quic: check on Windows that socket conv to int is possible + +- - Also capitalize macro isurlpuntcs => ISURLPUNTCS since it evaluates +- a variable multiple times. ++ Fixes #12861 ++ Closes #12865 + +- This is a follow-up to 291d225a which changed Curl_isunreserved into an +- alias macro for ISUNRESERVED. The problem is the former is not easily +- identified as a macro by the caller, which could lead to a bug. ++Daniel Stenberg (5 Feb 2024) + +- For example, ISUNRESERVED(*foo++) is easily identifiable as wrong but +- Curl_isunreserved(*foo++) is not even though they both are the same. ++- tool_cb_hdr: only parse etag + content-disposition for 2xx + +- Closes https://github.com/curl/curl/pull/11846 ++ ... and ignore them for other response codes. + +-Dan Fandrich (13 Sep 2023) ++ Reported-by: Harry Sintonen ++ Closes #12866 + +-- tests: increase the default server logs lock timeout ++- md4: include strdup.h for the memdup proto + +- This timeout is used to wait for the server to finish writing its logs +- before checking them against the expected values. An overloaded machine +- could take more than the two seconds previously allocated, so increase +- the timeout to 5 seconds. ++ Reported-by: Erik Schnetter ++ Fixes #12849 ++ Closes #12863 + +- Ref: #11328 +- Closes #11834 ++Joel Depooter (5 Feb 2024) + +-- tests: increase TEST_HANG_TIMEOUT in two tests ++- docs: add missing slashes to SChannel client certificate documentation + +- These tests had a 5 second timeout compared to 60 seconds for all other +- tests. Make these consistent with the others for more reliability on +- heavily-loaded machines. ++ When setting the CURLOPT_SSLCERT option to a certificate thumprint, it ++ is required to have a backslash between the "store location", "store ++ name" and "thumbprint" tokens. These slashes were present in the ++ previous documentation, but were missed in the transition to markdown ++ documentation. + +- Ref: #11328 ++ Closes #12854 + +-- test1056: disable on Windows ++Stefan Eissing (5 Feb 2024) + +- This test relies on the IPv6 scope field being ignored when connecting to +- ipv6-localhost (i.e. [::1%259999] is treated as [::1]). Maybe this is a bit +- dodgy, but it works on all our test platforms except Windows. This +- test was disabled manually on all Windows CI builds already, so instead +- add an incompatible feature and precheck so it's skipped on Windows +- everywhere automatically. +- +-- test587: add a slight delay after test +- +- This test is designed to connect to the server, then immediately send a +- few bytes and disconnect. In some situations, such as on a loaded +- server, this doesn't give the server enough time to write its lock file +- before its existence is checked. The test harness then fails to find the +- server's input log file (because it hasn't been written yet) and fails +- the test. By adding a short delay after the test, the HTTP server has +- enough time to write its lock file which gives itself more time to write +- its remaining files. ++- HTTP/2: write response directly + +- Ref: #11328 ++ - use the new `Curl_xfer_write_resp()` to write incoming responses ++ directly to the client ++ - eliminates `stream->recvbuf` ++ - memory consumption on parallel transfers minimized + +-- tests: stop overriding the lock timeout ++ Closes #12828 + +- These tests reduce the server lock wait timeout which can increase +- flakiness on loaded machines. Since this is merely an optimization, +- eliminate them in favour of reliability. ++Daniel Stenberg (5 Feb 2024) + +- Ref: #11328 ++- cookie.md: provide an example sending a fixed cookie + +-- tests: add some --expect100-timeout to reduce timing dependencies ++ Closes #12868 + +- These tests can fail when the test machine is so slow that the test HTTP +- server didn't get a chance to complete before the client's one second +- 100-continue timeout triggered. Increase that 1 second to 999 seconds so +- this situation doesn't happen. ++Lars Kellogg-Stedman (5 Feb 2024) + +- Ref: #11328 ++- ALTSVC.md: correct a typo + +-- test661: return from test early in case of curl error ++ The ALPN documentation erroneously referred to a "host number" instead ++ of a "port number". + +-- tests: add the timing-dependent keyword on several tests ++ Closes #12852 + +- These are ones likely to fail on heavily-loaded machines that alter the +- normal test timing. Most of these tests already had the flaky keyword +- since this condition makes them more likely to fail on CI. ++Boris Verkhovskiy (5 Feb 2024) + +-- test1592: greatly increase the maximum test timeout ++- proxy1.0.md: fix example + +- It was too short to be reliable on heavily loaded CI machines, and +- as a fail-safe only, it didn't need to be short. ++ Closes #12856 + +- Ref: #11328 ++Chris Webb (5 Feb 2024) + +-- test: minor test cleanups ++- configure: add --disable-docs flag + +- Remove an obsolete block of code in tests 2032 & 576. +- Add a comment in test 1474. ++ Building man pages from curldown sources now requires perl. Add a ++ --disable-docs flag to configure to enable building and installing ++ without documentation where perl is not available or man pages are not ++ required. This is selected automatically (with a warning) when perl is ++ not found by configure. + +-- tests: quadruple the %FTPTIME2 and %FTPTIME3 timeouts ++ Fixes #12832 ++ Closes #12857 + +- This gives more of a margin for error when running on overloaded CI +- servers. ++Faraz Fallahi (5 Feb 2024) + +- Ref: #11328 ++- connect.c: fix typo + +-- tests: improve SLOWDOWN test reliability by reducing sent data ++ Closes #12858 + +- These tests are run in SLOWDOWN mode which adds a 10 msec delay after +- each character output, which means it takes at least 1.6 seconds (and +- 320 kernel calls) just to get through the long welcome banner. On an +- overloaded system, this can end up taking much more than 1.6 seconds, +- and even more than the 7 or 16 second curl timeout that the tests rely +- on, causing them to fail. Reducing the size of the welcome banner drops +- the total number of characters sent before the transfer starts by more +- than half, which reduces the opportunity for test-breaking slowdowns by +- the same amount. ++Daniel Stenberg (1 Feb 2024) + +- Ref: #11328 ++- sendf: ignore response body to HEAD + +-- test650: fix an end tag typo ++ and mark the stream for close, but return OK since the response this far ++ was ok - if headers were received. Partly because this is what curl has ++ done traditionally. + +-Jay Satiro (13 Sep 2023) ++ Test 499 verifies. Updates test 689. + +-- tool_cb_wrt: fix debug assertion ++ Reported-by: Sergey Bronnikov ++ Bug: https://curl.se/mail/lib-2024-02/0000.html ++ Closes #12842 + +- - Fix off-by-one out-of-bounds array index in Windows debug assertion. ++- ftp: treat a 226 arriving before data as a signal to read data + +- Bug: https://github.com/curl/curl/commit/af3f4e41#r127212213 +- Reported-by: Gisle Vanem ++ For active mode transfers. + +-Daniel Stenberg (13 Sep 2023) ++ Due to some interesting timing, curl can sometimes get the 226 (transfer ++ complete) over the control channel first, before the data connection ++ signals readability. If this happens, use that as a signal to check the ++ data connection. + +-- ctype: add ISUNRESERVED() ++ Additionally, set the socket filter in listen mode *before* the ++ PORT/EPRT command is issued, to reduce the risk that the little time gap ++ could interfere. + +- ... and make Curl_isunreserved() use that macro instead of providing a +- separate funtion for the purpose. ++ This issue never reproduced for me on Debian and takes several hundred ++ rounds for me to trigger on my mac. + +- Closes #11840 ++ Reported-by: Stefan Eissing ++ Fixes #12823 ++ Closes #12841 + +-Version 8.3.0 (13 Sep 2023) ++Patrick Monnerat (1 Feb 2024) + +-Daniel Stenberg (13 Sep 2023) ++- OS400: avoid using awk in the build scripts + +-- RELEASE-NOTES: syn ced ++ Awk is a PASE program and its use may cause a failure depending on the ++ CCSID of the calling script (IBM bug?). + +- curl 8.3.0 release ++ For this reason, revert to an sed-only solution to extract the exported ++ symbols from the header files. + +-- THANKS: contributors from 8.3.0 ++ Closes #12826 + +-Thorsten Klein (12 Sep 2023) ++Jan Macku (1 Feb 2024) + +-- cmake: set SIZEOF_LONG_LONG in curl_config.h ++- docs: remove `mk-ca-bundle.1` from `man_MANS` + +- in order to support 32bit builds regarding wolfssl CTC_SETTINGS ++ It was accidentally added in https://github.com/curl/curl/pull/12730 + +- Closes #11839 ++ Co-authored-by: Lukáš Zaoral ++ Signed-off-by: Jan Macku + +-Jay Satiro (12 Sep 2023) ++ Follow-up to eefcc1bda4bccd800f5a56a0fe17a2f44a96e88b ++ Closes #12843 + +-- curl_ngtcp2: fix error message ++Daniel Stenberg (1 Feb 2024) + +-- http_aws_sigv4: handle no-value user header entries ++- RELEASE-NOTES: synced + +- - Handle user headers in format 'name:' and 'name;' with no value. ++ and bump to 8.6.1 for now + +- The former is used when the user wants to remove an internal libcurl +- header and the latter is used when the user actually wants to send a +- no-value header in the format 'name:' (note the semi-colon is converted +- by libcurl to a colon). ++- cmdline-docs/Makefile: avoid using a fixed temp file name + +- Prior to this change the AWS header import code did not special case +- either of those and the generated AWS SignedHeaders would be incorrect. ++ By appending the pid number two different runs at the same time will not ++ trample over the same file. + +- Reported-by: apparentorder@users.noreply.github.com ++ Reported-by: Jon Rumsey ++ Fixes #12829 ++ Closes #12839 + +- Ref: https://curl.se/docs/manpage.html#-H ++- asyn-thread: use wakeup_close to close the read descriptor + +- Fixes https://github.com/curl/curl/issues/11664 +- Closes https://github.com/curl/curl/pull/11668 ++ Reported-by: Dan Fandrich ++ Ref: #12834 ++ Closes #12836 + +-Dan Fandrich (11 Sep 2023) ++Stefan Eissing (1 Feb 2024) + +-- CI: run pytest with the -v option ++- ntml_wb: fix buffer type typo + +- This lists of the test cases being run so it can be tracked over time. ++ Closes #12825 + +- Closes #11824 ++Daniel Stenberg (1 Feb 2024) + +-Daniel Stenberg (11 Sep 2023) ++- tool_operate: do not set CURLOPT_QUICK_EXIT in debug builds + +-- HTTP3: the msquic backend is not functional ++ Since it allows (small) memory leaks that interfere with torture tests ++ and regular memory-leak checks. + +- I ask that we do not submit bugs for this backend just yet as we know it +- does not fully work. ++ Reported-by: Dan Fandrich ++ Fixes #12834 ++ Closes #12835 + +- Closes #11831 +- Closes #11819 ++Boris Verkhovskiy (31 Jan 2024) + +-- aws_sigv4: the query canon code miscounted URL encoded input ++- form-string.md: correct the example + +- Added some extra ampersands to test 439 to verify "blank" query parts ++ Closes #12822 + +- Follow-up to fc76a24c53b08cdf ++Version 8.6.0 (31 Jan 2024) + +- Closes #11829 ++Daniel Stenberg (31 Jan 2024) + +-vvb2060 (11 Sep 2023) ++- RELEASE-NOTES: synced + +-- quic: don't set SNI if hostname is an IP address ++ curl 8.6.0 + +- We already do this for TLS connections. ++- THANKS: new contributors from 8.5.0 + +- RFC 6066 says: Literal IPv4 and IPv6 addresses are not permitted in +- "HostName". ++Jay Satiro (31 Jan 2024) + +- Ref: https://www.rfc-editor.org/rfc/rfc6066#section-3 ++- cd2nroff: use perl 'strict' and 'warnings' + +- Fixes https://github.com/curl/curl/issues/11827 +- Closes https://github.com/curl/curl/pull/11828 ++ - Use strict and warnings pragmas. + +-Daniel Stenberg (10 Sep 2023) ++ - If open() fails then show the reason. + +-- RELEASE-NOTES: synced ++ - Set STDIN io layer :crlf so that input is properly read on Windows. + +-Benoit Pierre (10 Sep 2023) ++ - When STDIN is used as input, the filename $f is now set to "STDIN". + +-- configure: fix `HAVE_TIME_T_UNSIGNED` check ++ Various error messages in single() use $f for the filename and this way ++ it is not undefined when STDIN. + +- The syntax was incorrect (need a proper main body), and the test +- condition was wrong (resulting in a signed `time_t` detected as +- unsigned). ++ Closes https://github.com/curl/curl/pull/12819 + +- Closes #11825 ++Daniel Stenberg (30 Jan 2024) + +-Daniel Stenberg (9 Sep 2023) ++- cd2nroff: fix duplicate output issue + +-- THANKS-filter: pszlazak on github ++ Assisted-by: Jay Satiro ++ Fixes https://github.com/curl/curl-www/issues/321 ++ Closes #12818 + +-pszlazak (9 Sep 2023) ++- lib: error out on multissl + http3 + +-- include.d: explain headers not printed with --fail before 7.75.0 ++ Since the QUIC/h3 code has no knowledge or handling of multissl it might ++ bring unintended consequences if we allow it. + +- Prior to 7.75.0 response headers were not printed if -f/--fail was used +- and an error was reported by server. This was fixed in ab525c0 +- (precedes 7.75.0). ++ configure, cmake and curl_setup.h all now reject this combination. + +- Closes #11822 ++ Assisted-by: Viktor Szakats ++ Assisted-by: Gisle Vanem ++ Ref: #12806 ++ Closes #12807 + +-Daniel Stenberg (8 Sep 2023) ++Patrick Monnerat (29 Jan 2024) + +-- http_aws_sigv4: skip the op if the query pair is zero bytes ++- OS400: sync ILE/RPG binding + +- Follow-up to fc76a24c53b08cdf ++ Also do not force git CRLF line endings on *.cmd files for OS400. + +- Spotted by OSS-Fuzz ++ Closes #12815 + +- Bug: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=62175 +- Closes #11823 ++Viktor Szakats (28 Jan 2024) + +-- cmdline-docs: use present tense, not future ++- build: delete/replace 3 more clang warning pragmas + +- + some smaller cleanups ++ - tool_msgs: delete redundant `-Wformat-nonliteral` suppression pragma. + +- Closes #11821 ++ - whitespace formatting in `mprintf.h`, lib518, lib537. + +-- cmdline-docs: make sure to phrase it as "added in ...." ++ - lib518: fix wrong variable in `sizeof()`. + +- References to things that were added or changed in a specific version +- should be specified as "(added in [version]) for two reasons: ++ - lib518: bump variables to `rlim_t`. ++ Follow-up to e2b394106d543c4615a60795b7fdce04bd4e5090 #1469 + +- 1 - consistency ++ - lib518: sync error message with lib537 ++ Follow-up to 365322b8bcf9efb6a361473d227b70f2032212ce + +- 2 - to allow gen.pl to strip them out if deemed referring to too old +- versions ++ - lib518, lib537: replace `-Wformat-nonliteral` suppression pragmas ++ by reworking test code. + +- Closes #11821 ++ Follow-up to 5b286c250829e06a135a6ba998e80beb7f43a734 #12812 ++ Follow-up to aee4ebe59161d0a5281743f96e7738ad97fe1cd4 #12803 ++ Follow-up to 09230127589eccc7e01c1a7217787ef8e64f3328 #12540 ++ Follow-up to 3829759bd042c03225ae862062560f568ba1a231 #12489 + +-Jay Satiro (8 Sep 2023) ++ Reviewed-by: Daniel Stenberg ++ Closes #12814 + +-- docs: mark --ssl-revoke-best-effort as Schannel specific ++Richard Levitte (27 Jan 2024) + +- Closes https://github.com/curl/curl/pull/11760 ++- cmake: freshen up docs/INSTALL.cmake + +-Nathan Moinvaziri (8 Sep 2023) ++ - Turn docs/INSTALL.cmake into a proper markdown file, ++ docs/INSTALL-CMAKE.md ++ - Move things around to divide the description into configuration, ++ building and installing sections ++ - Mention the more modern cmake options to configure, build and install, ++ but also retain the older variants as fallbacks + +-- schannel: fix ordering of cert chain info ++ Closes #12772 + +- - Use CERT_CONTEXT's pbCertEncoded to determine chain order. ++Viktor Szakats (27 Jan 2024) + +- CERT_CONTEXT from SECPKG_ATTR_REMOTE_CERT_CONTEXT contains +- end-entity/server certificate in pbCertEncoded. We can use this pointer +- to determine the order of certificates when enumerating hCertStore using +- CertEnumCertificatesInStore. ++- build: delete/replace clang warning pragmas + +- This change is to help ensure that the ordering of the certificate chain +- requested by the user via CURLINFO_CERTINFO has the same ordering on all +- versions of Windows. ++ - delete redundant warning suppressions for `-Wformat-nonliteral`. ++ This now relies on `CURL_PRINTF()` and it's theoratically possible ++ that this macro isn't active but the warning is. We're ignoring this ++ as a corner-case here. + +- Prior to this change Schannel certificate order was reversed in 8986df80 +- but that was later reverted in f540a39b when it was discovered that +- Windows 11 22H2 does the reversal on its own. ++ - replace two pragmas with code changes to avoid the warnings. + +- Ref: https://github.com/curl/curl/issues/9706 ++ Follow-up to aee4ebe59161d0a5281743f96e7738ad97fe1cd4 #12803 ++ Follow-up to 09230127589eccc7e01c1a7217787ef8e64f3328 #12540 ++ Follow-up to 3829759bd042c03225ae862062560f568ba1a231 #12489 + +- Closes https://github.com/curl/curl/pull/11632 ++ Reviewed-by: Daniel Stenberg ++ Closes #12812 + +-Chris Talbot (8 Sep 2023) ++Daniel Stenberg (27 Jan 2024) + +-- digest: Use hostname to generate spn instead of realm ++- RELEASE-NOTES: synced + +- In https://www.rfc-editor.org/rfc/rfc2831#section-2.1.2 ++- http: only act on 101 responses when they are HTTP/1.1 + +- digest-uri-value should be serv-type "/" host , where host is: ++ For 101 responses claiming to be any other protocol, bail out. This ++ would previously trigger an assert. + +- The DNS host name or IP address for the service requested. The +- DNS host name must be the fully-qualified canonical name of the +- host. The DNS host name is the preferred form; see notes on server +- processing of the digest-uri. ++ Add test 1704 to verify. + +- Realm may not be the host, so we must specify the host explicitly. ++ Bug: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=66184 ++ Closes #12811 + +- Note this change only affects the non-SSPI digest code. The digest code +- used by SSPI builds already uses the hostname to generate the spn. ++Scarlett McAllister (27 Jan 2024) + +- Ref: https://github.com/curl/curl/issues/11369 ++- _VARIABLES.md: add missing 'be' into the sentence + +- Closes https://github.com/curl/curl/pull/11395 ++ Closes #12809 + +-Daniel Stenberg (7 Sep 2023) ++Stefan Eissing (27 Jan 2024) + +-- docs: remove use of the word 'very' ++- mqtt, remove remaining use of data->state.buffer + +- It is mostly superfluous. proselint would complain. ++ Closes #12799 + +- Closes #11818 ++Daniel Stenberg (27 Jan 2024) + +-- curl_multi_remove_handle.3: clarify what happens with connection ++- x509asn1: switch from malloc to dynbuf + +- Closes #11817 ++ Closes #12808 + +-- RELEASE-NOTES: synced ++- x509asn1: make utf8asn1str() use dynbuf instead of malloc + memcpy + +-- test439: verify query canonization for aws-sigv4 ++ Closes #12808 + +-- tool_operate: make aws-sigv4 not require TLS to be used ++- x509asn1: reduce malloc in Curl_extract_certinfo + +- Maybe not used too often, but we want it for testing and it should work. ++ Using dynbuf + +-- http_aws_sigv4: canonicalize the query ++ Closes #12808 + +- Percent encoding needs to be done using uppercase, and most +- non-alphanumerical must be percent-encoded. ++Jay Satiro (27 Jan 2024) + +- Fixes #11794 +- Reported-by: John Walker +- Closes #11806 ++- THANKS: add Alexander Bartel and Brennan Kinney + +-Wyatt O'Day (7 Sep 2023) ++ They reported and investigated #10259 which was fixed by 7b2d98df. + +-- lib: add ability to disable auths individually ++ Ref: https://github.com/curl/curl/issues/10259 + +- Both with configure and cmake ++Daniel Stenberg (26 Jan 2024) + +- Closes #11490 ++- krb5: add prototype to silence clang warnings on mvsnprintf() + +-Stefan Eissing (7 Sep 2023) ++ "error: format string is not a string literal" + +-- ngtcp2: fix handling of large requests ++ Follow-up to 09230127589eccc7 which made the warning appear + +- - requests >64K are send in parts to the filter +- - fix parsing of the request to assemble it correctly +- from several sends +- - open a QUIC stream only when the complete request has +- been collected ++ Assisted-by: Viktor Szakats ++ Closes #12803 + +- Closes #11815 ++- x509asn1: remove code for WANT_VERIFYHOST + +-- openssl: when CURLOPT_SSL_CTX_FUNCTION is registered, init x509 store before ++ No code ever sets this anymore since we dropped gskit + +- - we delay loading the x509 store to shorten the handshake time. +- However an application callback installed via CURLOPT_SSL_CTX_FUNCTION +- may need to have the store loaded and try to manipulate it. +- - load the x509 store before invoking the app callback ++ Follow-up to 78d6232f1f326b9ab4d + +- Fixes #11800 +- Reported-by: guoxinvmware on github +- Cloes #11805 ++ Closes #12804 + +-Daniel Stenberg (7 Sep 2023) ++- socks: reduce the buffer size to 600 (from 8K) + +-- krb5: fix "implicit conversion loses integer precision" warnings ++ This is malloc'ed memory and it does not more. Test 742 helps us verify ++ this. + +- conversions to/from enum and unsigned chars ++ Closes #12789 + +- Closes #11814 ++Stefan Eissing (26 Jan 2024) + +-Stefan Eissing (7 Sep 2023) ++- file+ftp: use stack buffers instead of data->state.buffer + +-- pytest: improvements ++ Closes #12789 + +- - set CURL_CI for pytest runs in CI environments +- - exclude timing sensitive tests from CI runs +- - for failed results, list only the log and stat of +- the failed transfer ++- vtls: receive max buffer + +- - fix type in http.c comment ++ - do not only receive one TLS record, but try to fill ++ the passed buffer ++ - consider <4K remaning space is "filled". + +- Closes #11812 ++ Closes #12801 + +-- CI: move on to ngtcp2 v0.19.1 ++Daniel Stenberg (26 Jan 2024) + +- Closes #11809 ++- docs: do not start lines/sentences with So, But nor And + +-Dan Fandrich (5 Sep 2023) ++ Closes #12802 + +-- CI: run Circle macOS builds on x86 for now ++- docs: remove spurious ampersands from markdown + +- The ARM machines aren't ready for us and requesting them now causes +- warnings e-mails to be sent to some PR pushers. ++ They were leftovers from the nroff conversion. + +- Ref: #11771 ++ Follow-up to eefcc1bda4bccd800f5a5 + +-Viktor Szakats (5 Sep 2023) ++ Closes #12800 + +-- http3: adjust cast for ngtcp2 v0.19.0 ++Patrick Monnerat (26 Jan 2024) + +- ngtcp2 v0.19.0 made size of `ecn` member of `ngtcp2_pkt_info` +- an `uint8_t` (was: `uint32_t`). Adjust our local cast accordingly. ++- sasl: make login option string override http auth + +- Fixes: +- ``` +- ./curl/lib/vquic/curl_ngtcp2.c:1912:12: warning: implicit conversion loses in +- teger precision: 'uint32_t' (aka 'unsigned int') to 'uint8_t' (aka 'unsigned +- char') [-Wimplicit-int-conversion] +- pi.ecn = (uint32_t)ecn; +- ~ ^~~~~~~~~~~~~ +- ``` ++ - Use http authentication mechanisms as a default, not a preset. + +- Also bump ngtcp2, nghttp3 and nghttp2 to their latest versions in our +- docs and CI. ++ Consider http authentication options which are mapped to SASL options as ++ a default (overriding the hardcoded default mask for the protocol) that ++ is ignored if a login option string is given. + +- Ref: https://github.com/ngtcp2/ngtcp2/commit/80447281bbc94af53f8aa7a4cfc19175 +- 782894a3 +- Ref: https://github.com/ngtcp2/ngtcp2/pull/877 +- Closes #11798 ++ Prior to this change, if some HTTP auth options were given, sasl mapped ++ http authentication options to sasl ones but merged them with the login ++ options. + +-Stefan Eissing (5 Sep 2023) ++ That caused problems with the cli tool that sets the http login option ++ CURLAUTH_BEARER as a side-effect of --oauth2-bearer, because this flag ++ maps to more than one sasl mechanisms and the latter cannot be cleared ++ individually by the login options string. + +-- http: fix sending of large requests ++ New test 992 checks this. + +- - refs #11342 where errors with git https interactions +- were observed +- - problem was caused by 1st sends of size larger than 64KB +- which resulted in later retries of 64KB only +- - limit sending of 1st block to 64KB +- - adjust h2/h3 filters to cope with parsing the HTTP/1.1 +- formatted request in chunks ++ Fixes https://github.com/curl/curl/issues/10259 ++ Closes https://github.com/curl/curl/pull/12790 + +- - introducing Curl_nwrite() as companion to Curl_write() +- for the many cases where the sockindex is already known ++Stefan Eissing (26 Jan 2024) + +- Fixes #11342 (again) +- Closes #11803 ++- socks: use own buffer instead of data->state.buffer + +-- pytest: fix check for slow_network skips to only apply when intended ++ Closes #12788 + +- Closes #11801 ++Daniel Stenberg (26 Jan 2024) + +-Daniel Stenberg (5 Sep 2023) ++- socks: fix generic output string to say SOCKS instead of SOCKS4 + +-- curl_url_get/set.3: add missing semicolon in SYNOPSIS ++ ... since it was also logged for SOCKS5. + +-- CURLOPT_URL.3: explain curl_url_set() uses the same parser ++ Closes #12797 + +-- CURLOPT_URL.3: add two URL API calls in the see-also section ++- test742: test SOCKS5 with max length user, password and hostname + +-Dan Fandrich (4 Sep 2023) ++ Adjusted the socksd server accordingly to allow for configuring that ++ long user name and password. + +-- CI: add a 32-bit i686 Linux build ++ Closes #12797 + +- This is done by cross-compiling under regular x86_64 Linux. Since the +- kernel offers backwards compatibility, the binaries can be tested as +- normal. ++Stefan Eissing (25 Jan 2024) + +- Closes #11799 ++- ssh: use stack scratch buffer for seeks + +-- tests: fix a type warning on 32-bit x86 ++ - instead of data->state.buffer + +-Viktor Szakats (4 Sep 2023) ++ Closes #12794 + +-- tests: delete stray `.orig` file ++Daniel Stenberg (25 Jan 2024) + +- Follow-up to 331b89a319d0067fa1e6441719307cfef9c7960f +- Closes #11797 ++- krb5: access the response buffer correctly + +-Daniel Stenberg (4 Sep 2023) ++ As the pingpong code no longer uses the download buffer. + +-- RELEASE-NOTES: synced ++ Folllow-up to c2d973627bab12ab ++ Pointed-out-by: Stefan Eissing ++ Closes #12796 + +-Viktor Szakats (4 Sep 2023) ++Stefan Eissing (25 Jan 2024) + +-- lib: silence compiler warning in inet_ntop6 ++- mqtt: use stack scratch buffer for recv+publish + +- ``` +- ./curl/lib/inet_ntop.c:121:21: warning: possible misuse of comma operator her +- e [-Wcomma] +- cur.base = i, cur.len = 1; +- ^ +- ./curl/lib/inet_ntop.c:121:9: note: cast expression to void to silence warnin +- g +- cur.base = i, cur.len = 1; +- ^~~~~~~~~~~~ +- (void)( ) +- ``` ++ - instead of data->state.buffer + +- Closes #11790 ++ Closes #12792 + +-Daniel Stenberg (4 Sep 2023) ++- telnet, use stack scratch buffer for do + +-- transfer: also stop the sending on closed connection ++ - instead of data->state.buffer + +- Previously this cleared the receiving bit only but in some cases it is +- also still sending (like a request-body) when disconnected and neither +- direction can continue then. ++ Closes #12793 + +- Fixes #11769 +- Reported-by: Oleg Jukovec +- Closes #11795 ++- http, use stack scratch buffer + +-John Bampton (4 Sep 2023) ++ - instead of data->state.buffer + +-- docs: change `sub-domain` to `subdomain` ++ Closes #12791 + +- https://en.wikipedia.org/wiki/Subdomain ++- ntlm_wb: do not use data->state.buf any longer + +- Closes #11793 ++ Closes #12787 + +-Stefan Eissing (4 Sep 2023) ++- gitignore: the generated `libcurl-symbols.md` + +-- multi: more efficient pollfd count for poll ++ Closes #12795 + +- - do not use separate pollfds for sockets that have POLLIN+POLLOUT ++Daniel Stenberg (25 Jan 2024) + +- Closes #11792 ++- tool: fix the listhelp generation command + +-- http2: polish things around POST ++ The previous command line to generate the tool_listhelp.c source file ++ broke with 2494b8dd5175cee7. + +- - added test cases for various code paths +- - fixed handling of blocked write when stream had +- been closed inbetween attempts +- - re-enabled DEBUGASSERT on send with smaller data size ++ Make 'make listhelp' invoked in src/ generate it. Also update the ++ comment in the file to mention the right procedure. + +- - in debug builds, environment variables can be set to simulate a slow +- network when sending data. cf-socket.c and vquic.c support +- * CURL_DBG_SOCK_WBLOCK: percentage of send() calls that should be +- answered with a EAGAIN. TCP/UNIX sockets. +- This is chosen randomly. +- * CURL_DBG_SOCK_WPARTIAL: percentage of data that shall be written +- to the network. TCP/UNIX sockets. +- Example: 80 means a send with 1000 bytes would only send 800 +- This is applied to every send. +- * CURL_DBG_QUIC_WBLOCK: percentage of send() calls that should be +- answered with EAGAIN. QUIC only. +- This is chosen randomly. ++ Closes #12786 + +- Closes #11756 ++- http: check for "Host:" case insensitively + +-Daniel Stenberg (4 Sep 2023) ++ When checking if the user wants to replace the header, the check should ++ be case insensitive. + +-- docs: add curl_global_trace to some SEE ALSO sections ++ Adding test 461 to verify + +- Closes #11791 ++ Found-by: Dan Fandrich ++ Ref: #12782 ++ Closes #12784 + +-- os400: fix checksrc nits ++Tatsuhiro Tsujikawa (25 Jan 2024) + +- Closes #11789 ++- configure: add libngtcp2_crypto_boringssl detection + +-Nicholas Nethercote (3 Sep 2023) ++ If OpenSSL is found to be BoringSSL or AWS-LC, and ngtcp2 is requested, ++ try to detect libngtcp2_crypto_boringssl. + +-- hyper: remove `hyptransfer->endtask` ++ Reported-by: ウã•ã‚“ ++ Fixes #12724 ++ Closes #12769 + +- `Curl_hyper_stream` needs to distinguish between two kinds of +- `HYPER_TASK_EMPTY` tasks: (a) the `foreach` tasks it creates itself, and +- (b) background tasks that hyper produces. It does this by recording the +- address of any `foreach` task in `hyptransfer->endtask` before pushing +- it into the executor, and then comparing that against the address of +- tasks later polled out of the executor. ++Daniel Stenberg (25 Jan 2024) + +- This works right now, but there is no guarantee from hyper that the +- addresses are stable. `hyper_executor_push` says "The executor takes +- ownership of the task, which should not be accessed again unless +- returned back to the user with `hyper_executor_poll`". That wording is a +- bit ambiguous but with my Rust programmer's hat on I read it as meaning +- the task returned with `hyper_executor_poll` may be conceptually the +- same as a task that was pushed, but that there are no other guarantees +- and comparing addresses is a bad idea. ++- http: remove comment reference to a removed solution + +- This commit instead uses `hyper_task_set_userdata` to mark the `foreach` +- task with a `USERDATA_RESP_BODY` value which can then be checked for, +- removing the need for `hyptransfer->endtask`. This makes the code look +- more like that hyper C API examples, which use userdata for every task +- and never look at task addresses. ++ Follow-up to 58974d25d + +- Closes #11779 ++ Closes #12785 + +-Dave Cottlehuber (3 Sep 2023) ++Stefan Eissing (25 Jan 2024) + +-- ws: fix spelling mistakes in examples and tests ++- pytest: Scorecard tracking CPU and RSS + +- Closes #11784 ++ Closes #12765 + +-Daniel Stenberg (3 Sep 2023) ++Graham Campbell (25 Jan 2024) + +-- tool_filetime: make -z work with file dates before 1970 ++- GHA: bump ngtcp2, gnutls, mod_h2, quiche + +- Fixes #11785 +- Reported-by: Harry Sintonen +- Closes #11786 ++ - ngtcp2 to v1.2.0 ++ - gnutls to 3.8.3 ++ - mod_h2 to 2.0.26 ++ - quiche to 0.20.0 + +-Dan Fandrich (1 Sep 2023) ++ Closes #12778 ++ Closes #12779 ++ Closes #12780 ++ Closes #12781 + +-- build: fix portability of mancheck and checksrc targets ++Daniel Stenberg (25 Jan 2024) + +- At least FreeBSD preserves cwd across makefile lines, so rules +- consisting of more than one "cd X; do_something" must be explicitly run +- in a subshell to avoid this. This problem caused the Cirrus FreeBSD +- build to fail when parallel make jobs were enabled. ++- ftpserver.pl: send 213 SIZE response without spurious newline + +-- CI: adjust labeler match patterns for new & obsolete files ++- pingpong: stop using the download buffer + +-- configure: trust pkg-config when it's used for zlib ++ The pingpong logic now uses its own dynbuf for receiving command ++ response data. + +- The library flags retrieved from pkg-config were later thrown out and +- harded-coded, which negates the whole reason to use pkg-config. +- Also, previously, the assumption was made that --libs-only-l and +- --libs-only-L are the full decomposition of --libs, which is untrue and +- would not allow linking against a static zlib. The new approach is +- better in that it uses --libs, although only if --libs-only-l returns +- nothing. ++ When the "final" response header for a commanad has been received, that ++ final line is left first in the recvbuf for the protocols to parse at ++ will. If there is additional data behind the final response line, the ++ 'overflow' counter is indicate how many bytes. + +- Bug: https://curl.se/mail/lib-2023-08/0081.html +- Reported-by: Randall +- Closes #11778 ++ Closes #12757 + +-Stefan Eissing (1 Sep 2023) ++- gen.pl: remove bold from .IP used for ## + +-- CI/ngtcp2: clear wolfssl for when cache is ignored ++ Reported-by: Viktor Szakats ++ Fixes #12776 ++ Closes #12777 + +- Closes #11783 ++Viktor Szakats (24 Jan 2024) + +-Daniel Stenberg (1 Sep 2023) ++- cmake: rework options to enable curl and libcurl docs + +-- RELEASE-NOTES: synced ++ Rework CMake options for building/using curl tool and libcurl manuals. + +-Nicholas Nethercote (1 Sep 2023) ++ - rename `ENABLE_MANUAL` to `ENABLE_CURL_MANUAL`, meaning: ++ to build man page and built-in manual for curl tool. + +-- hyper: fix a progress upload counter bug ++ - rename `BUILD_DOCS` to `BUILD_LIBCURL_DOCS`, meaning: ++ to build man pages for libcurl. + +- `Curl_pgrsSetUploadCounter` should be a passed a total count, not an +- increment. ++ - `BUILD_LIBCURL_DOCS` now works without having to enable ++ `ENABLE_CURL_MANUAL` too. + +- This changes the failing diff for test 579 with hyper from this: +- ``` +- Progress callback called with UL 0 out of 0[LF] +- -Progress callback called with UL 8 out of 0[LF] +- -Progress callback called with UL 16 out of 0[LF] +- -Progress callback called with UL 26 out of 0[LF] +- -Progress callback called with UL 61 out of 0[LF] +- -Progress callback called with UL 66 out of 0[LF] +- +Progress callback called with UL 29 out of 0[LF] +- ``` +- to this: +- ``` +- Progress callback called with UL 0 out of 0[LF] +- -Progress callback called with UL 8 out of 0[LF] +- -Progress callback called with UL 16 out of 0[LF] +- -Progress callback called with UL 26 out of 0[LF] +- -Progress callback called with UL 61 out of 0[LF] +- -Progress callback called with UL 66 out of 0[LF] +- +Progress callback called with UL 40 out of 0[LF] +- ``` +- Presumably a step in the right direction. ++ - drop support for existing CMake-level `USE_MANUAL` option to avoid ++ confusion. (It used to work with the effect of current ++ `ENABLE_CURL_MANUAL`, but only by accident.) + +- Closes #11780 ++ Assisted-by: Richard Levitte ++ Ref: #12771 ++ Closes #12773 + +-Daniel Stenberg (1 Sep 2023) ++Daniel Stenberg (24 Jan 2024) + +-- awssiv4: avoid freeing the date pointer on error ++- urlapi: remove assert + +- Since it was not allocated, don't free it even if it was wrong syntax ++ This assert triggers wrongly when CURLU_GUESS_SCHEME and ++ CURLU_NO_AUTHORITY are both set and the URL is a single path. + +- Bug: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=61908 ++ I think this assert has played out its role. It was introduced in a ++ rather big refactor. + +- Follow-up to b137634ba3adb ++ Follow-up to 4cfa5bcc9a + +- Closes #11782 ++ Reported-by: promptfuzz_ on hackerone ++ Closes #12775 + +-Stefan Eissing (1 Sep 2023) ++Patrick Monnerat (24 Jan 2024) + +-- CI: ngtcp2-linux: use separate caches for tls libraries ++- tests: avoid int/size_t conversion size/sign warnings + +- allow ever changing master for wolfssl ++ Closes #12768 + +- Closes #11766 ++Daniel Stenberg (24 Jan 2024) + +-- replace `master` as wolfssl-version with recent commit ++- GHA: add a job scanning for "bad words" in markdown + +-- wolfssl, use master again in CI ++ This means words, phrases or things we have decided not to use - words that ++ are spelled right according to the dictionary but we want to avoid. In the ++ name of consistency and better documentation. + +- - with the shared session update fix landed in master, it +- is time to use that in our CI again ++ Closes #12764 + +-Nicholas Nethercote (31 Aug 2023) ++Viktor Szakats (23 Jan 2024) + +-- tests: fix formatting errors in `FILEFORMAT.md`. ++- cmake: speed up curldown processing, enable by default + +- Without the surrounding backticks, these tags get swallowed when the +- markdown is rendered. ++ - cmake: enable `BUILD_DOCS` by default (this controls converting and ++ installing `.3` files from `.md` sources) + +- Closes #11777 ++ - cmake: speed up generating `.3` files by using a single command per ++ directory, instead of a single command per file. This reduces external ++ commands by about a thousand. (There remains some CMake logic kicking ++ in resulting in 500 -one per file- external `-E touch_nocreate` calls.) + +-Viktor Szakats (31 Aug 2023) ++ - cd2nroff: add ability to process multiple input files. + +-- cmake: add support for `CURL_DEFAULT_SSL_BACKEND` ++ - cd2nroff: add `-k` option to use the source filename to form the ++ output filename. (instead of the default in-file `Title:` line.) + +- Allow overriding the default TLS backend via a CMake setting. ++ Follow-up to 3f08d80b2244524646ce86915c585509ac54fb4c ++ Follow-up to ea0b575dab86a3c44dd1d547dc500276266aa382 #12753 ++ Follow-up to eefcc1bda4bccd800f5a56a0fe17a2f44a96e88b #12730 + +- E.g.: +- `cmake [...] -DCURL_DEFAULT_SSL_BACKEND=mbedtls` ++ Closes #12762 + +- Accepted values: bearssl, gnutls, mbedtls, openssl, rustls, +- schannel, secure-transport, wolfssl ++Richard Levitte (23 Jan 2024) + +- The passed string is baked into the curl/libcurl binaries. +- The value is case-insensitive. ++- docs: install curl.1 with cmake as well + +- We added a similar option to autotools in 2017 via +- c7170e20d0a18ec8a514b4daa53bcdbb4dcb3a05. ++ Closes #12759 + +- TODO: Convert to lowercase to improve reproducibility. ++Daniel Stenberg (23 Jan 2024) + +- Closes #11774 ++- osslq: remove the TLS library from the version output + +-- sectransp: fix compiler warnings ++ Since we only support using a single TLS library at any one time, we ++ know that the TLS library for QUIC is the same that is also shown for ++ regular TLS. + +- https://github.com/curl/curl-for-win/actions/runs/6037489221/job/16381860220# +- step:3:11046 +- ``` +- /Users/runner/work/curl-for-win/curl-for-win/curl/lib/vtls/sectransp.c:2435:1 +- 4: warning: unused variable 'success' [-Wunused-variable] +- OSStatus success; +- ^ +- /Users/runner/work/curl-for-win/curl-for-win/curl/lib/vtls/sectransp.c:3300:4 +- 4: warning: unused parameter 'sha256len' [-Wunused-parameter] +- size_t sha256len) +- ^ +- ``` ++ Fixes #12763 ++ Reported-by: Viktor Szakats ++ Closes #12767 + +- Closes #11773 ++Stefan Eissing (23 Jan 2024) + +-- tidy-up: mostly whitespace nits ++- CI: remove unnecessary OpenSSL 3 option `enable-tls1_3` + +- - delete completed TODO from `./CMakeLists.txt`. +- - convert a C++ comment to C89 in `./CMake/CurlTests.c`. +- - delete duplicate EOLs from EOF. +- - add missing EOL at EOF. +- - delete whitespace at EOL (except from expected test results). +- - convert tabs to spaces. +- - convert CRLF EOLs to LF in GHA yaml. +- - text casing fixes in `./CMakeLists.txt`. +- - fix a codespell typo in `packages/OS400/initscript.sh`. ++ .. and switch OpenSSL 3 libdir from lib64 to lib for consistency. + +- Closes #11772 ++ Closes https://github.com/curl/curl/pull/12758 + +-Dan Fandrich (31 Aug 2023) ++- GHA: bump nghttp2 version to v1.59.0 + +-- CI: remove Windows builds from Cirrus, without replacement ++ - Switch to v1.59.0 for GHA CI jobs that use a specific nghttp2-version. + +- If we don't do this, all coverage on Cirrus will cease in a few days. By +- removing the Windows builds, the FreeBSD one should still continue +- as before. The Windows builds will need be moved to another service to +- maintain test coverage. ++ Closes https://github.com/curl/curl/pull/12766 + +- Closes #11771 ++Daniel Stenberg (23 Jan 2024) + +-- CI: switch macOS ARM build from Cirrus to Circle CI ++- RELEASE-NOTES: synced + +- Cirrus is drastically reducing their free tier on Sept. 1, so they will +- no longer perform all these builds for us. All but one build has been +- moved, with the LibreSSL one being dropped because of linking problems +- on Circle. ++- docs/cmdline: change to .md for cmdline docs + +- One important note about this change is that Circle CI is currently +- directing all these builds to x86_64 hardware, despite them requesting +- ARM. This is because ARM nodes are scheduled to be available on the +- free tier only in December. This reduces our architectural diversity +- until then but it should automatically come back once those machines are +- enabled. ++ - switch all invidual files documenting command line options into .md, ++ as the documentation is now markdown-looking. + +-- CI: use the right variable for BSD make ++ - made the parser treat 4-space indents as quotes + +- BSD uses MAKEFLAGS instead of MAKE_FLAGS so it wasn't doing parallel +- builds before. ++ - switch to building the curl.1 manpage using the "mainpage.idx" file, ++ which lists the files to include to generate it, instead of using the ++ previous page-footer/headers. Also, those files are now also .md ++ ones, using the same format. I gave them underscore prefixes to make ++ them sort separately: ++ _NAME.md, _SYNOPSIS.md, _DESCRIPTION.md, _URL.md, _GLOBBING.md, ++ _VARIABLES.md, _OUTPUT.md, _PROTOCOLS.md, _PROGRESS.md, _VERSION.md, ++ _OPTIONS.md, _FILES.md, _ENVIRONMENT.md, _PROXYPREFIX.md, ++ _EXITCODES.md, _BUGS.md, _AUTHORS.md, _WWW.md, _SEEALSO.md + +-- CI: drop the FreeBSD 12.X build ++ - updated test cases accordingly + +- Cirrus' new free tier won't let us have many builds, so drop the +- nonessential ones. The FreeBSD 13.X build will still give us the most +- relevant FreeBSD coverage. ++ Closes #12751 + +-- CI: move the Alpine build from Cirrus to GHA ++dependabot[bot] (23 Jan 2024) + +- Cirrus is reducing their free tier to next to nothing, so we must move +- builds elsewhere. ++- CI: bump actions/cache from 3 to 4 + +-Stefan Eissing (30 Aug 2023) ++ Bumps [actions/cache](https://github.com/actions/cache) from 3 to 4. ++ - [Release notes](https://github.com/actions/cache/releases) ++ - [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md) ++ - [Commits](https://github.com/actions/cache/compare/v3...v4) + +-- test_07_upload.py: fix test_07_34 curl args ++ --- ++ updated-dependencies: ++ - dependency-name: actions/cache ++ dependency-type: direct:production ++ update-type: version-update:semver-major ++ ... + +- - Pass correct filename to --data-binary. ++ Signed-off-by: dependabot[bot] ++ Closes #12756 + +- Prior to this change --data-binary was passed an incorrect filename due +- to a missing separator in the arguments list. Since aacbeae7 curl will +- error on incorrect filenames for POST. ++Daniel Stenberg (23 Jan 2024) + +- Fixes https://github.com/curl/curl/issues/11761 +- Closes https://github.com/curl/curl/pull/11763 ++- openssl: when verifystatus fails, remove session id from cache + +-Nicholas Nethercote (30 Aug 2023) ++ To prevent that it gets used in a subsequent transfer that skips the ++ verifystatus check since that check can't be done when the session id is ++ reused. + +-- tests: document which tests fail due to hyper's lack of trailer support. ++ Reported-by: Hiroki Kurosawa ++ Closes #12760 + +- Closes #11762 ++Viktor Szakats (23 Jan 2024) + +-- docs: removing "pausing transfers" from HYPER.md. ++- cmake: add option to disable building docs + +- It's a reference to #8600, which was fixed by #9070. ++Richard Levitte (23 Jan 2024) + +- Closes #11764 ++- cmake: use curldown to build man pages + +-Patrick Monnerat (30 Aug 2023) ++ This throws away the previous HTML and PDF producers, to mimic what ++ Makefile.am does as faithfully as possible. + +-- os400: handle CURL_TEMP_PRINTF() while building bind source ++ Closes #12753 + +- Closes #11547 ++Daniel Stenberg (23 Jan 2024) + +-- os400: build test servers ++- mksymbolsmanpage.pl: provide references to where the symbol is used + +- Also fix a non-compliant main prototype in disabled.c. ++- docs: introduce "curldown" for libcurl man page format + +- Closes #11547 ++ curldown is this new file format for libcurl man pages. It is markdown ++ inspired with differences: + +-- tests: fix compilation error for os400 ++ - Each file has a set of leading headers with meta-data ++ - Supports a small subset of markdown ++ - Uses .md file extensions for editors/IDE/GitHub to treat them nicely ++ - Generates man pages very similar to the previous ones ++ - Generates man pages that still convert nicely to HTML on the website ++ - Detects and highlights mentions of curl symbols automatically (when ++ their man page section is specified) + +- OS400 uses BSD 4.3 setsockopt() prototype by default: this does not +- define parameter as const, resulting in an error if actual parameter is +- const. Remove the const keyword from the actual parameter cast: this +- works in all conditions, even if the formal parameter uses it. ++ tools: + +- Closes #11547 ++ - cd2nroff: converts from curldown to nroff man page ++ - nroff2cd: convert an (old) nroff man page to curldown ++ - cdall: convert many nroff pages to curldown versions ++ - cd2cd: verifies and updates a curldown to latest curldown + +-- os400: make programs and command name configurable ++ This setup generates .3 versions of all the curldown versions at build time. + +- Closes #11547 ++ CI: + +-- os400: move build configuration parameters to a separate script ++ Since the documentation is now technically markdown in the eyes of many ++ things, the CI runs many more tests and checks on this documentation, ++ including proselint, link checkers and tests that make sure we capitalize the ++ first letter after a period... + +- They can then easily be overriden in a script named "config400.override" +- that is not part of the distribution. ++ Closes #12730 + +- Closes #11547 ++Viktor Szakats (22 Jan 2024) + +-- os400: implement CLI tool ++- libssh2: use `libssh2_session_callback_set2()` with v1.11.1 + +- This is provided as a QADRT (ascii) program, a link to it in the IFS and +- a minimal CL command. ++ To avoid a local hack to pass function pointers and to avoid ++ deprecation warnings when building with libssh2 v1.11.1 or newer: ++ ``` ++ lib/vssh/libssh2.c:3324:5: warning: 'libssh2_session_callback_set' is depreca ++ ted: since libssh2 1.11.1. Use libssh2_session_callback_set2() [-Wdeprecated- ++ declarations] ++ lib/vssh/libssh2.c:3326:5: warning: 'libssh2_session_callback_set' is depreca ++ ted: since libssh2 1.11.1. Use libssh2_session_callback_set2() [-Wdeprecated- ++ declarations] ++ ``` ++ Ref: https://github.com/curl/curl-for-win/actions/runs/7609484879/job/2072082 ++ 1100#step:3:4982 + +- Closes #11547 ++ Ref: https://github.com/libssh2/libssh2/pull/1285 ++ Ref: https://github.com/libssh2/libssh2/commit/c0f69548be902147ce014ffa40b8db ++ 3cf1d4b0b4 ++ Reviewed-by: Daniel Stenberg ++ Closes #12754 + +-Matthias Gatto (30 Aug 2023) ++Daniel Stenberg (22 Jan 2024) + +-- lib: fix aws-sigv4 having date header twice in some cases ++- transfer: make the select_bits_paused condition check both directions + +- When the user was providing the header X-XXX-Date, the header was +- re-added during signature computation, and we had it twice in the +- request. ++ If there is activity in a direction that is not paused, return false. + +- Reported-by: apparentorder@users.noreply.github.com ++ Reported-by: Sergey Bronnikov ++ Bug: https://curl.se/mail/lib-2024-01/0049.html ++ Closes #12740 + +- Signed-off-by: Matthias Gatto ++Stefan Eissing (22 Jan 2024) + +- Fixes: https://github.com/curl/curl/issues/11738 +- Closes: https://github.com/curl/curl/pull/11754 ++- http3: initial support for OpenSSL 3.2 QUIC stack + +-Jay Satiro (30 Aug 2023) ++ - HTTP/3 for curl using OpenSSL's own QUIC stack together ++ with nghttp3 ++ - configure with `--with-openssl-quic` to enable curl to ++ build this. This requires the nghttp3 library ++ - implementation with the following restrictions: ++ * macOS has to use an unconnected UDP socket due to an ++ issue in OpenSSL's datagram implementation ++ See https://github.com/openssl/openssl/issues/23251 ++ This makes connections to non-reponsive servers hang. ++ * GET requests will send the indicator that they have ++ no body in a separate QUIC packet. This may result ++ in processing delays or Transfer-Encodings on proxied ++ requests ++ * uploads that encounter blocks will use 100% cpu as ++ detection of these flow control issue is not working ++ (we have not figured out to pry that from OpenSSL). + +-- multi: remove 'processing: ' debug message ++ Closes #12734 + +- - Remove debug message added by e024d566. ++Viktor Szakats (22 Jan 2024) + +- Closes https://github.com/curl/curl/pull/11759 ++- cmake: fix `ENABLE_MANUAL` option + +-- ftp: fix temp write of ipv6 address ++ Fix the `ENABLE_MANUAL` option. Set it to default to `OFF`. + +- - During the check to differentiate between a port and IPv6 address +- without brackets, write the binary IPv6 address to an in6_addr. ++ Before this patch `ENABLE_MANUAL=ON` was a no-op, even though it was the ++ option designed to enable building and using the built-in curl manual. ++ (`USE_MANUAL=ON` option worked for this instead, by accident). + +- Prior to this change the binary IPv6 address was erroneously written to +- a sockaddr_in6 'sa6' when it should have been written to its in6_addr +- member 'sin6_addr'. There's no fallout because no members of 'sa6' are +- accessed before it is later overwritten. ++ Ref: https://github.com/curl/curl/pull/12730#issuecomment-1902572409 ++ Closes #12749 + +- Closes https://github.com/curl/curl/pull/11747 ++Mohammadreza Hendiani (19 Jan 2024) + +-- tool: change some fopen failures from warnings to errors ++- TODO: update broken link to ratelimit-headers draft + +- - Error on missing input file for --data, --data-binary, +- --data-urlencode, --header, --variable, --write-out. ++ Closes #12741 + +- Prior to this change if a user of the curl tool specified an input file +- for one of the above options and that file could not be opened then it +- would be treated as zero length data instead of an error. For example, a +- POST using `--data @filenametypo` would cause a zero length POST which +- is probably not what the user intended. ++Daniel Stenberg (19 Jan 2024) + +- Closes https://github.com/curl/curl/pull/11677 ++- cmake: when USE_MANUAL=YES, build the curl.1 man page + +-- hostip: fix typo ++ Fixes KNOWN_BUG 15.4 + +-Davide Masserut (29 Aug 2023) ++ Closes #12742 + +-- tool: avoid including leading spaces in the Location hyperlink ++- cmdline-opts/write-out.d: remove spurious double quotes + +- Co-authored-by: Dan Fandrich ++Stefan Eissing (19 Jan 2024) + +- Closes #11735 ++- rtsp: Convert assertion into debug log + +-Daniel Stenberg (29 Aug 2023) ++ Bug: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=65934 + +-- SECURITY-PROCESS.md: not a sec issue: Tricking user to run a cmdline ++ - write excess bytes to the client where the standard excess bytes ++ checks will report any wrongness and fail the transfer + +- Closes #11757 ++ Fixes #12738 ++ Closes #12739 + +-- connect: stop halving the remaining timeout when less than 600 ms left ++Daniel Stenberg (19 Jan 2024) + +- When curl wants to connect to a host, it always has a TIMEOUT. The +- maximum time it is allowed to spend until a connect is confirmed. ++- headers: remove assert from Curl_headers_push + +- curl will try to connect to each of the IP adresses returned for the +- host. Two loops, one for each IP family. ++ The fuzzer managed to reach the function without a terminating CR or LF ++ so let's handle it normally. While there, remove the goto. + +- During the connect loop, while curl has more than one IP address left to +- try within a single address family, curl has traditionally allowed (time +- left/2) for *this* connect attempt. This, to not get stuck on the +- initial addresses in case the timeout but still allow later addresses to +- get attempted. ++ Bug: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=65839 + +- This has the downside that when users set a very short timeout and the +- host has a large number of IP addresses, the effective result might be +- that every attempt gets a little too short time. ++ Closes #12721 + +- This change stop doing the divided-by-two if the total time left is +- below a threshold. This threshold is 600 milliseconds. ++- curl_easy_getinfo.3: remove the wrong time value count + +- Closes #11693 ++ It said "six" time values but they are eight by now. Remove the mention ++ of the amount. + +-- asyn-ares: reduce timeout to 2000ms ++ Closes #12727 + +- When UDP packets get lost this makes for slightly faster retries. This +- lower timeout is used by @c-ares itself by default starting next +- release. ++Viktor Szakats (18 Jan 2024) + +- Closes #11753 ++- mbedtls: fix `-Wnull-dereference` and `-Wredundant-decls` + +-John Bampton (29 Aug 2023) ++ - Silence warning in mbedTLS v3.5.1 public headers: ++ ``` ++ ./mbedtls/_x64-linux-musl/usr/include/psa/crypto_extra.h:489:14: warning: r ++ edundant redeclaration of 'psa_set_key_domain_parameters' [-Wredundant-decls] ++ ./mbedtls/_x64-linux-musl/usr/include/psa/crypto_struct.h:354:14: note: pre ++ vious declaration of 'psa_set_key_domain_parameters' was here ++ ``` ++ Ref: https://github.com/libssh2/libssh2/commit/ecec68a2c13a9c63fe8c2dc457ae ++ 785a513e157c ++ Ref: https://github.com/libssh2/libssh2/pull/1226 + +-- misc: remove duplicate words ++ - Fix compiler warnings seen with gcc 9.2.0 + cmake unity: ++ ``` ++ ./curl/lib/vtls/mbedtls.c: In function 'mbedtls_bio_cf_read': ++ ./curl/lib/vtls/mbedtls.c:189:11: warning: null pointer dereference [-Wnull ++ -dereference] ++ 189 | nread = Curl_conn_cf_recv(cf->next, data, (char *)buf, blen, &res ++ ult); ++ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ++ ~~~~ ++ ./curl/lib/vtls/mbedtls.c: In function 'mbedtls_bio_cf_write': ++ ./curl/lib/vtls/mbedtls.c:168:14: warning: null pointer dereference [-Wnull ++ -dereference] ++ 168 | nwritten = Curl_conn_cf_send(cf->next, data, (char *)buf, blen, & ++ result); ++ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ++ ~~~~~~~ ++ ``` + +- Closes #11740 ++ - delete stray `#else`. + +-Daniel Stenberg (29 Aug 2023) ++ Closes #12720 + +-- RELEASE-NOTES: synced ++Daniel Stenberg (17 Jan 2024) + +-- wolfSSL: avoid the OpenSSL compat API when not needed ++- docs: cleanup nroff format use + +- ... and instead call wolfSSL functions directly. ++ - remove use of .BI for code snippet ++ - stop using .br, just do a blank line ++ - remove use of .PP ++ - remove use for .sp ++ - remove backslash in .IP ++ - use .IP instead of .TP + +- Closes #11752 ++ Closes #12731 + +-Viktor Szakats (28 Aug 2023) ++Stefan Eissing (17 Jan 2024) + +-- lib: fix null ptr derefs and uninitialized vars (h2/h3) ++- test2307: fix expected failure code after ws refactoring + +- Fixing compiler warnings with gcc 13.2.0 in unity builds. ++ Fixes #12722 ++ Closes #12728 + +- Assisted-by: Jay Satiro +- Assisted-by: Stefan Eissing +- Closes #11739 ++Jay Satiro (17 Jan 2024) + +-Jay Satiro (28 Aug 2023) ++- cf-socket: show errno in tcpkeepalive error messages + +-- secureserver.pl: fix stunnel version parsing ++ - If the socket keepalive options (TCP_KEEPIDLE, etc) cannot be set ++ then show the errno in the verbose error messages. + +- - Allow the stunnel minor-version version part to be zero. ++ Ref: https://github.com/curl/curl/discussions/12715#discussioncomment-8151652 + +- Prior to this change with the stunnel version scheme of . +- if either part was 0 then version parsing would fail, causing +- secureserver.pl to fail with error "No stunnel", causing tests that use +- the SSL protocol to be skipped. As a practical matter this bug can only +- be caused by a minor-version part of 0, since the major-version part is +- always greater than 0. ++ Closes https://github.com/curl/curl/pull/12726 + +- Closes https://github.com/curl/curl/pull/11722 ++- tool_getparam: stop supporting `@filename` style for --cookie + +-- secureserver.pl: fix stunnel path quoting ++ The `@filename` style was never documented for --cookie ++ but prior to this change curl would accept it anyway and always treat a ++ @ prefixed string as a filename. + +- - Store the stunnel path in the private variable $stunnel unquoted and +- instead quote it in the command strings. ++ That's a problem if the string also contains a = sign because then it is ++ documented to be interpreted as a cookie string and not a filename. + +- Prior to this change the quoted stunnel path was passed to perl's file +- operators which cannot handle quoted paths. For example: ++ Example: + +- $stunnel = "\"/C/Program Files (x86)/stunnel/bin/tstunnel\""; +- if(-x $stunnel or -x "$stunnel") +- # false even if path exists and is executable ++ `--cookie @foo=bar` + +- Our other test scripts written in perl, unlike this one, use servers.pm +- which has a global $stunnel variable with the path stored unquoted and +- therefore those scripts don't have this problem. ++ Before: Interpreted as load cookies from filename foo=bar. + +- Closes https://github.com/curl/curl/pull/11721 ++ After: Interpreted as cookie `@foo=bar` (name `@foo` and value `bar`). + +-Daniel Stenberg (28 Aug 2023) ++ Other curl options with a data/filename option-value use the `@filename` ++ to distinguish filenames which is probably how this happened. The ++ --cookie option has never been documented that way. + +-- altsvc: accept and parse IPv6 addresses in response headers ++ Ref: https://curl.se/docs/manpage.html#-b + +- Store numerical IPv6 addresses in the alt-svc file with the brackets +- present. ++ Closes https://github.com/curl/curl/pull/12645 + +- Verify with test 437 and 438 ++Stefan Eissing (16 Jan 2024) + +- Fixes #11737 +- Reported-by: oliverpool on github +- Closes #11743 ++- websockets: refactor decode chain + +-- libtest: use curl_free() to free libcurl allocated data ++ - use client writer stack for decoding frames ++ - move websocket protocol handler to ws.c + +- In several test programs. These mistakes are not detected or a problem +- as long as memdebug.h is included, as that provides the debug wrappers +- for all memory functions in the same style libcurl internals do it, +- which makes curl_free and free effectively the same call. ++ Closes #12713 + +- Reported-by: Nicholas Nethercote +- Closes #11746 ++- websockets: check for negative payload lengths + +-Jay Satiro (28 Aug 2023) ++ - in en- and decoding, check the websocket frame payload lengths for ++ negative values (from curl_off_t) and error the operation in that case ++ - add test 2307 to verify + +-- disable.d: explain --disable not implemented prior to 7.50.0 ++ Closes #12707 + +- Option -q/--disable was added in 5.0 but only -q was actually +- implemented. Later --disable was implemented in e200034 (precedes +- 7.49.0), but incorrectly, and fixed in 6dbc23c (precedes 7.50.0). ++Daniel Stenberg (16 Jan 2024) + +- Reported-by: pszlazak@users.noreply.github.com ++- docs: mention env vars not used by schannel + +- Fixes https://github.com/curl/curl/issues/11710 +- Closes #11712 ++ Ref: #12704 + +-Nicholas Nethercote (28 Aug 2023) ++ Co-authored-by: Jay Satiro + +-- hyper: fix ownership problems ++ Closes #12711 + +- Some of these changes come from comparing `Curl_http` and +- `start_CONNECT`, which are similar, and adding things to them that are +- present in one and missing in another. ++- tool_operate: make --remove-on-error only remove "real" files + +- The most important changes: +- - In `start_CONNECT`, add a missing `hyper_clientconn_free` call on the +- happy path. +- - In `start_CONNECT`, add a missing `hyper_request_free` on the error +- path. +- - In `bodysend`, add a missing `hyper_body_free` on an early-exit path. +- - In `bodysend`, remove an unnecessary `hyper_body_free` on a different +- error path that would cause a double-free. +- https://docs.rs/hyper/latest/hyper/ffi/fn.hyper_request_set_body.html +- says of `hyper_request_set_body`: "This takes ownership of the +- hyper_body *, you must not use it or free it after setting it on the +- request." This is true even if `hyper_request_set_body` returns an +- error; I confirmed this by looking at the hyper source code. ++ Reported-by: Harry Sintonen ++ Assisted-by: Dan Fandrich + +- Other changes are minor but make things slightly nicer. ++ Closes #12710 + +- Closes #11745 ++Jay Wu (16 Jan 2024) + +-Daniel Stenberg (28 Aug 2023) ++- url: don't set default CA paths for Secure Transport backend + +-- multi.h: the 'revents' field of curl_waitfd is supported ++ As the default for this backend is the native CA store. + +- Since 6d30f8ebed34e7276 ++ Closes #12704 + +- Reported-by: Nicolás Ojeda Bär +- Ref: #11748 +- Closes #11749 ++Lin Sun (16 Jan 2024) + +-Gerome Fournier (27 Aug 2023) ++- asyn-ares: with modern c-ares, use its default timeout + +-- tool_paramhlp: improve str2num(): avoid unnecessary call to strlen() ++ Closes #12703 + +- Closes #11742 ++Daniel Stenberg (15 Jan 2024) + +-Daniel Stenberg (27 Aug 2023) ++- tool_operate: stop setting the file comment on Amiga + +-- docs: mention critical files in same directories as curl saves ++ - the URL is capped at 80 cols, which ruins it if longer ++ - it does not strip off URL credentials ++ - it is done unconditonally, not on --xattr ++ - we don't have Amiga in the CI which makes fixing it blindly fragile + +- ... cannot be fully protected. Don't do it. ++ Someone who builds and tests on Amiga can add it back correctly in a ++ future if there is a desire. + +- Co-authored-by: Jay Satiro + Reported-by: Harry Sintonen +- Fixes #11530 +- Closes #11701 ++ Closes #12709 + +-John Hawthorn (26 Aug 2023) ++Stefan Eissing (15 Jan 2024) + +-- OpenSSL: clear error queue after SSL_shutdown ++- rtsp: deal with borked server responses + +- We've seen errors left in the OpenSSL error queue (specifically, +- "shutdown while in init") by adding some logging it revealed that the +- source was this file. ++ - enforce a response body length of 0, if the ++ response has no Content-lenght. This is according ++ to the RTSP spec. ++ - excess bytes in a response body are forwarded to ++ the client writers which will report and fail the ++ transfer + +- Since we call SSL_read and SSL_shutdown here, but don't check the return +- code for an error, we should clear the OpenSSL error queue in case one +- was raised. ++ Follow-up to d7b6ce6 ++ Fixes #12701 ++ Closes #12706 + +- This didn't affect curl because we call ERR_clear_error before every +- write operation (a0dd9df9ab35528eb9eb669e741a5df4b1fb833c), but when +- libcurl is used in a process with other OpenSSL users, they may detect +- an OpenSSL error pushed by libcurl's SSL_shutdown as if it was their +- own. ++Daniel Stenberg (14 Jan 2024) + +- Co-authored-by: Satana de Sant'Ana ++- version: show only the libpsl version, not its dependencies + +- Closes #11736 ++ The libpsl version output otherwise also includes version number for its ++ dependencies, like IDN lib, but since libcurl does not use libpsl's IDN ++ functionality those components are not important. + +-Alexander Kanavin (25 Aug 2023) ++ Ref: https://github.com/curl/curl-for-win/issues/63 ++ Closes #12700 + +-- tests: update cookie expiry dates to far in the future ++Brad Harder (14 Jan 2024) + +- This allows testing Y2038 with system time set to after that, so that +- actual Y2038 issues can be exposed, and not masked by expiry errors. ++- curl.h: CURLOPT_DNS_SERVERS is only available with c-ares + +- Fixes #11576 +- Closes #11610 ++ Closes #12695 + +-John Bampton (25 Aug 2023) ++Daniel Stenberg (14 Jan 2024) + +-- misc: fix spelling ++- cmdline-opts/gen.pl: error on initital blank line + +- Closes #11733 ++ After the "---" separator, there should be no blank line and this script ++ now errors out if one is detected. + +-Daniel Stenberg (25 Aug 2023) ++ Ref: #12696 ++ Closes #12698 + +-- cmdline-opts/page-header: clarify stronger that !opt == URL ++- cf-h1-proxy: no CURLOPT_USERAGENT in CONNECT with hyper + +- Everything provided on the command line that is not an option (or an +- argument to an option) is treated as a URL. ++ Follow-up to 693cd1679361828a which was incomplete + +- Closes #11734 ++ Ref #12680 ++ Closes #12697 + +-- tests/runner: fix %else handling ++- curl_multi_fdset.3: remove mention of null pointer support + +- Getting the show state proper for %else and %endif did not properly work +- in nested cases. ++ ... since this funtion has not supported null pointer fd_set arguments since ++ at least 2006. (That's when I stopped my git blame journey) + +- Follow-up to 3d089c41ea9 ++ Fixes #12691 ++ Reported-by: sfan5 on github ++ Closes #12692 + +- Closes #11731 ++Mark Huang (14 Jan 2024) + +-Nicholas Nethercote (25 Aug 2023) ++- docs/cmdline: remove unnecessary line breaks + +-- docs: Remove mention of #10803 from `KNOWN_BUGS`. ++ Closes #12696 + +- Because the leaks have been fixed. ++Daniel Stenberg (14 Jan 2024) + +-- c-hyper: fix another memory leak in `Curl_http`. ++- transfer: remove warning: Value stored to 'blen' is never read + +- There is a `hyper_clientconn_free` call on the happy path, but not one +- on the error path. This commit adds one. ++ Detected by scan-build + +- Fixes the second memory leak reported by Valgrind in #10803. ++ Follow-up from 1cd2f0072f + +- Fixes #10803 +- Closes #11729 ++ Closes #12693 + +-- c-hyper: fix a memory leak in `Curl_http`. ++Stefan Eissing (13 Jan 2024) + +- A request created with `hyper_request_new` must be consumed by either +- `hyper_clientconn_send` or `hyper_request_free`. ++- lib: replace readwrite with write_resp + +- This is not terrifically clear from the hyper docs -- +- `hyper_request_free` is documented only with "Free an HTTP request if +- not going to send it on a client" -- but a perusal of the hyper code +- confirms it. ++ This clarifies the handling of server responses by folding the code for ++ the complicated protocols into their protocol handlers. This concerns ++ mainly HTTP and its bastard sibling RTSP. + +- This commit adds a `hyper_request_free` to the `error:` path in +- `Curl_http` so that the request is consumed when an error occurs after +- the request is created but before it is sent. ++ The terms "read" and "write" are often used without clear context if ++ they refer to the connect or the client/application side of a ++ transfer. This PR uses "read/write" for operations on the client side ++ and "send/receive" for the connection, e.g. server side. If this is ++ considered useful, we can revisit renaming of further methods in another ++ PR. + +- Fixes the first memory leak reported by Valgrind in #10803. ++ Curl's protocol handler `readwrite()` method been changed: + +- Closes #11729 ++ ```diff ++ - CURLcode (*readwrite)(struct Curl_easy *data, struct connectdata *conn, ++ - const char *buf, size_t blen, ++ - size_t *pconsumed, bool *readmore); ++ + CURLcode (*write_resp)(struct Curl_easy *data, const char *buf, size_t ble ++ n, ++ + bool is_eos, bool *done); ++ ``` + +-Daniel Stenberg (25 Aug 2023) ++ The name was changed to clarify that this writes reponse data to the ++ client side. The parameter changes are: ++ ++ * `conn` removed as it always operates on `data->conn` ++ * `pconsumed` removed as the method needs to handle all data on success ++ * `readmore` removed as no longer necessary ++ * `is_eos` as indicator that this is the last call for the transfer ++ response (end-of-stream). ++ * `done` TRUE on return iff the transfer response is to be treated as ++ finished ++ ++ This change affects many files only because of updated comments in ++ handlers that provide no implementation. The real change is that the ++ HTTP protocol handlers now provide an implementation. ++ ++ The HTTP protocol handlers `write_resp()` implementation will get passed ++ **all** raw data of a server response for the transfer. The HTTP/1.x ++ formatted status and headers, as well as the undecoded response ++ body. `Curl_http_write_resp_hds()` is used internally to parse the ++ response headers and pass them on. This method is public as the RTSP ++ protocol handler also uses it. ++ ++ HTTP/1.1 "chunked" transport encoding is now part of the general ++ *content encoding* writer stack, just like other encodings. A new flag ++ `CLIENTWRITE_EOS` was added for the last client write. This allows ++ writers to verify that they are in a valid end state. The chunked ++ decoder will check if it indeed has seen the last chunk. ++ ++ The general response handling in `transfer.c:466` happens in function ++ `readwrite_data()`. This mainly operates now like: + +-- RELEASE-NOTES: synced ++ ``` ++ static CURLcode readwrite_data(data, ...) ++ { ++ do { ++ Curl_xfer_recv_resp(data, buf) ++ ... ++ Curl_xfer_write_resp(data, buf) ++ ... ++ } while(interested); ++ ... ++ } ++ ``` + +-John Bampton (25 Aug 2023) ++ All the response data handling is implemented in ++ `Curl_xfer_write_resp()`. It calls the protocol handler's `write_resp()` ++ implementation if available, or does the default behaviour. + +-- misc: spellfixes ++ All raw response data needs to pass through this function. Which also ++ means that anyone in possession of such data may call ++ `Curl_xfer_write_resp()`. + +- Closes #11730 ++ Closes #12480 + +-Daniel Stenberg (25 Aug 2023) ++Daniel Stenberg (13 Jan 2024) + +-- tests: add support for nested %if conditions ++- RELEASE-NOTES: synced + +- Provides more flexiblity to test cases. ++- TODO: TFTP doesn't convert LF to CRLF for mode=netascii + +- Also warn and bail out if there is an '%else' or %endif' without a +- preceeding '%if'. ++ Closes #12655 ++ Closes #12690 + +- Ref: #11610 +- Closes #11728 ++- gen: do italics/bold for a range of letters, not just single word + +-- time-cond.d: mention what happens on a missing file ++ Previously it would match only on a sequence of non-space, which made it ++ miss to highlight for example "public suffix list". + +- Closes #11727 ++ Updated the recent cookie.d edit from 5da57193b732 to use bold instead ++ of italics. + +-Christian Hesse (24 Aug 2023) ++ Closes #12689 + +-- docs/cmdline-opts: match the current output ++- docs: describe and highlight super cookies + +- The release date has been added in output, reflect that in documentation. ++ Reported-by: Yadhu Krishna M + +- Closes #11723 ++ Closes #12687 + +-Daniel Stenberg (24 Aug 2023) ++- configure: when enabling QUIC, check that TLS supports QUIC + +-- lib: minor comment corrections ++ Most importantly perhaps is when using OpenSSL that the used ++ build/flavor has the QUIC API: the vanilla OpenSSL does not, only ++ BoringSSL, libressl, AWS-LC and quictls do. + +-- docs: rewrite to present tense ++ Ref: https://github.com/curl/curl/commit/5d044ad9480a9f556f4b6a252d7533b1ba7f ++ e57e#r136780413 + +- ... instead of using future tense. ++ Closes #12683 + +- + numerous cleanups and improvements +- + stick to "reuse" not "re-use" +- + fewer contractions ++Stefan Eissing (11 Jan 2024) + +- Closes #11713 ++- vquic: extract TLS setup into own source + +-- urlapi: setting a blank URL ("") is not an ok URL ++ - separate ngtcp2 specific parts out ++ - provide callback during init to allow ngtcp2 to apply its defaults + +- Test it in 1560 +- Fixes #11714 +- Reported-by: ad0p on github +- Closes #11715 ++ Closes #12678 + +-- spelling: use 'reuse' not 're-use' in code and elsewhere ++Sergey Markelov (11 Jan 2024) + +- Unify the spelling as both versions were previously used intermittently ++- multi: remove total timer reset in file_do() while fetching file:// + +- Closes #11717 ++ The total timer is properly reset in MSTATE_INIT. MSTATE_CONNECT starts ++ with resetting the timer that is a start point for further multi states. ++ If file://, MSTATE_DO calls file_do() that should not reset the total ++ timer. Otherwise, the total time is always less than the pre-transfer ++ and the start transfer times. + +-Michael Osipov (23 Aug 2023) ++ Closes #12682 + +-- system.h: add CURL_OFF_T definitions on HP-UX with HP aCC ++Daniel Stenberg (11 Jan 2024) + +- HP-UX on IA64 provides two modes: 32 and 64 bit while 32 bit being the +- default one. Use "long long" in 32 bit mode and just "long" in 64 bit +- mode. ++- http_proxy: a blank CURLOPT_USERAGENT should not be used in CONNECT + +- Closes #11718 ++ Extended test 80 to verify this. + +-Dan Fandrich (22 Aug 2023) ++ Reported-by: Stefan Eissing ++ Fixes #12680 ++ Closes #12681 + +-- tests: don't call HTTP errors OK in test cases ++- sectransp: do verify_cert without memdup for blobs + +- Some HTTP errors codes were accompanied by the text OK, which causes +- some cognitive dissonance when reading them. ++ Since the information is then already stored in memory, this can avoid ++ an extra set of malloc + free calls. + +-- http: close the connection after a late 417 is received ++ Closes #12679 + +- In this situation, only part of the data has been sent before aborting +- so the connection is no longer usable. ++- hsts: remove assert for zero length domain + +- Assisted-by: Jay Satiro +- Fixes #11678 +- Closes #11679 ++ A zero length domain can happen if the HSTS parser is given invalid ++ input data which is not unheard of and is done by the fuzzer. + +-- runtests: slightly increase the longest log file displayed ++ Follow-up from cfe7902111ae547873 + +- The new limit provides enough space for a 64 KiB data block to be logged +- in a trace file, plus a few lines at the start and end for context. This +- happens to be the amount of data sent at a time in a PUT request. ++ Bug: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=65661 + +-- tests: add delay command to the HTTP server ++ Closes #12676 + +- This adds a delay after client connect. ++- headers: make sure the trailing newline is not stored + +-Daniel Stenberg (22 Aug 2023) ++ extended test1940 to verify blank header fields too + +-- cirrus: install everthing with pkg, avoid pip ++ Bug: https://curl.se/mail/lib-2024-01/0019.html ++ Reported-by: Dmitry Karpov ++ Closes #12675 + +- Assisted-by: Sevan Janiyan ++- curl_easy_header.3: tiny language fix + +- Closes #11711 ++ Closes #12672 + +-- curl_url*.3: update function descriptions ++- examples/range.c: add + +- - expand and clarify several descriptions +- - avoid using future tense all over ++ Closes #12671 + +- Closes #11708 ++- examples/netrc.c: add + +-- RELEASE-NOTES: synced ++ Closes #12671 + +-Stefan Eissing (21 Aug 2023) ++- examples/ipv6.c: new example showing IPv6-only internet transfer + +-- CI/cirrus: disable python install on FreeBSD ++ Closes #12671 + +- - python cryptography package does not build build FreeBSD +- - install just mentions "error" +- - this gets the build and the main test suite going again ++- examples/address-scope.c: renamed from ipv6.c + +- Closes #11705 ++ It shows address scope use really + +-- test2600: fix flakiness on low cpu ++ Closes #12671 + +- - refs #11355 where failures to to low cpu resources in CI +- are reported +- - vastly extend CURLOPT_CONNECTTIMEOUT_MS and max durations +- to test cases +- - trigger Curl_expire() in test filter to allow re-checks before +- the usual 1second interval ++Stefan Eissing (9 Jan 2024) + +- Closes #11690 ++- multi: pollset adjust, init with FIRSTSOCKET during connect + +-Maksim Sciepanienka (20 Aug 2023) ++ - `conn->sockfd` is set by `Curl_setup_transfer()`, but that ++ is called *after* the connection has been established ++ - use `conn->sock[FIRSTSOCKET]` instead + +-- tool_urlglob: use the correct format specifier for curl_off_t in msnprintf ++ Follow-up to a0f94800d507de ++ Closes #12664 + +- Closes #11698 ++Daniel Stenberg (9 Jan 2024) + +-Daniel Stenberg (20 Aug 2023) ++- WEBSOCKET.md: remove dead link + +-- test687/688: two more basic --xattr tests ++- CI: spellcheck/appveyor: invoke configure --without-libpsl + +- Closes #11697 ++ Follow-up to 2998874bb61ac6 + +-- cmdline-opts/docs: mentioned the negative option part ++- cmdline/docs/*.d: switch to using ## instead of .IP + +- ... for --no-alpn and --no-buffer in the same style done for other --no- +- options: ++ To make the editing easier. To write and to read. + +- "Note that this is the negated option name documented." ++ Closes #12667 + +- Closes #11695 ++- gen.pl: support ## for doing .IP in table-like lists + +-Emanuele Torre (19 Aug 2023) ++ Warn on use of .RS/.IP/.RE + +-- tool/var: also error when expansion result starts with NUL ++ Closes #12667 + +- Expansions whose output starts with NUL were being expanded to the empty +- string, and not being recognised as values that contain a NUL byte, and +- should error. ++Jay Satiro (9 Jan 2024) + +- Closes #11694 ++- cookie.d: Document use of empty string to enable cookie engine + +-Daniel Stenberg (19 Aug 2023) ++ - Explain that --cookie "" can be used to enable the cookie engine ++ without reading any initial cookies. + +-- tests: add 'large-time' as a testable feature ++ As is documented in CURLOPT_COOKIEFILE. + +- This allows test cases to require this feature to run and to be used in +- %if conditions. ++ Ref: https://curl.se/libcurl/c/CURLOPT_COOKIEFILE.html + +- Large here means larger than 32 bits. Ie does not suffer from y2038. ++ Bug: https://github.com/curl/curl/issues/12643#issuecomment-1879844420 ++ Reported-by: janko-js@users.noreply.github.com + +- Closes #11696 ++ Closes https://github.com/curl/curl/pull/12646 + +-- tests/Makefile: add check-translatable-options.pl to tarball ++Daniel Stenberg (9 Jan 2024) + +- Used in test 1544 ++- setopt: use memdup0 when cloning COPYPOSTFIELDS + +- Follow-up to ae806395abc8c ++ Closes #12651 + +-- gen.pl: fix a long version generation mistake ++- telnet: use dynbuf instad of malloc for escape buffer + +- Too excessive escaping made the parsing not find the correct long names +- later and instead add "wrong" links. ++ Previously, send_telnet_data() would malloc + free a buffer every time ++ for escaping IAC codes. Now, it reuses a dynbuf for this purpose. + +- Follow-up to 439ff2052e219 ++ Closes #12652 + +- Reported-by: Lukas Tribus +- Fixes #11688 +- Closes #11689 ++- CI: install libpsl or configure --without-libpsl in builds + +-- lib: move mimepost data from ->req.p.http to ->state ++ As a follow-up to the stricted libpsl check in configure + +- When the legacy CURLOPT_HTTPPOST option is used, it gets converted into +- the modem mimpost struct at first use. This data is (now) kept for the +- entire transfer and not only per single HTTP request. This re-enables +- rewind in the beginning of the second request instead of in end of the +- first, as brought by 1b39731. ++- configure: make libpsl detection failure cause error + +- The request struct is per-request data only. ++ To force users to explictily disable it if they really don't want it ++ used and make it harder to accidentally miss it. + +- Extend test 650 to verify. ++ --without-libpsl is the option to use if PSL is not wanted. + +- Fixes #11680 +- Reported-by: yushicheng7788 on github +- Closes #11682 ++ Closes #12661 + +-Patrick Monnerat (17 Aug 2023) ++- RELEASE-NOTES: synced + +-- os400: do not check translatable options at build time ++- pop3: replace calloc + memcpy with memdup0 + +- Now that there is a test for this, the build time check is not needed +- anymore. ++ ... and make sure to return error on out of memory. + +- Closes #11650 ++ Closes #12650 + +-- test1554: check translatable string options in OS400 wrapper ++- lib: add debug log outputs for CURLE_BAD_FUNCTION_ARGUMENT + +- This test runs a perl script that checks all string options are properly +- translated by the OS400 character code conversion wrapper. It also +- verifies these options are listed in alphanumeric order in the wrapper +- switch statement. ++ Closes #12658 + +- Closes #11650 ++- mime: use memdup0 instead of malloc + memcpy + +-Daniel Stenberg (17 Aug 2023) ++ Closes #12649 + +-- unit3200: skip testing if function is not present ++- tool_getparam: move the --rate logic into set_rate() + +- Fake a successful run since we have no easy mechanism to skip this test +- for this advanced condition. ++- tool_getparam: switch to an enum for every option + +-- unit2600: fix build warning if built without verbose messages ++ To make the big switch much easier to read/understand and to make it ++ easier to add new options. + +-- test1608: make it build and get skipped without shuffle DNS support ++- tool_getparam: build post data using dynbuf (more) + +-- lib: --disable-bindlocal builds curl without local binding support ++- tool_getparam: replace malloc + copy by dynbuf for --data + +-- test1304: build and skip without netrc support ++- tool_getparam: make data_urlencode avoid direct malloc + +-- lib: build fixups when built with most things disabled ++ use aprintf() instead + +- Closes #11687 ++- tool_getparam: move the --url-query logic into url_query() + +-- workflows/macos.yml: disable zstd and alt-svc in the http-only build ++ This function is not doing post at all so it was always weirdly placed. + +- Closes #11683 ++- tool_getparam: move the --data logic into set_data() + +-Stefan Eissing (17 Aug 2023) ++- tool_getparam: unify the cmdline switch() into a single one + +-- bearssl: handshake fix, provide proper get_select_socks() implementation ++ - easier to follow, easier to modify, easier to extend, possibly slightly ++ faster + +- - bring bearssl handshake times down from +200ms down to other TLS backends +- - vtls: improve generic get_select_socks() implementation +- - tests: provide Apache with a suitable ssl session cache ++ - each case now has the long option as a comment + +- Closes #11675 ++- tool_getparam: bsearch cmdline options + +-- tests: TLS session sharing test ++ - the option names are now alpha sorted and lookup is a lot faster + +- - test TLS session sharing with special test client +- - expect failure with wolfSSL +- - disable flaky wolfSSL test_02_07b ++ - use case sensitive matching. It was previously case insensitive, but that ++ was not documented nor tested. + +- Closes #11675 ++ - remove "partial match" feature. It was not documented, not tested and ++ was always fragile as existing use could break when we add a new ++ option + +-Daniel Stenberg (17 Aug 2023) ++ - lookup short options via a table + +-- CURLOPT_*TIMEOUT*: extend and clarify ++ Closes #12631 + +- Closes #11686 ++Gabe (8 Jan 2024) + +-- urlapi: return CURLUE_BAD_HOSTNAME if puny2idn encoding fails ++- COPYING: update copyright year + +- And document it. Only return out of memory when it actually is a memory +- problem. ++ Closes #12654 + +- Pointed-out-by: Jacob Mealey +- Closes #11674 ++Stefan Eissing (8 Jan 2024) + +-Mathew Benson (17 Aug 2023) ++- url: init conn->sockfd and writesockfd to CURL_SOCKET_BAD + +-- cmake: add GnuTLS option ++ Also add more tracing to test 19 + +- - Option to use GNUTLS was missing. Hence was not able to use GNUTLS +- with ngtcp2 for http3. ++ Follow-up to a0f9480 + +- Closes #11685 ++ Fixes #12657 ++ Closes #12659 + +-Daniel Stenberg (16 Aug 2023) ++Daniel Stenberg (8 Jan 2024) + +-- RELEASE-NOTES: synced ++- connect: remove margin from eyeballer alloc + +-- http: remove the p_pragma struct field ++ Presumably leftovers from debugging + +- unused since 40e8b4e52 (2008) ++ Closes #12647 + +- Closes #11681 ++- ftp: only consider entry path if it has a length + +-Jay Satiro (16 Aug 2023) ++ Follow-up from 8edcfedc1a144f438bd1cdf814a0016cb + +-- CURLINFO_CERTINFO.3: better explain curl_certinfo struct ++ Bug: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=65631 + +- Closes https://github.com/curl/curl/pull/11666 ++ Avoids a NULL pointer deref. + +-- CURLINFO_TLS_SSL_PTR.3: clarify a recommendation ++ Closes #12648 + +- - Remove the out-of-date SSL backend list supported by +- CURLOPT_SSL_CTX_FUNCTION. ++Stefan Eissing (7 Jan 2024) + +- It makes more sense to just refer to that document instead of having +- a separate list that has to be kept in sync. ++- transfer: adjust_pollset improvements + +- Closes https://github.com/curl/curl/pull/11665 ++ - let `multi_getsock()` initialize the pollset in what the ++ transfer state requires in regards to SEND/RECV ++ - change connection filters `adjust_pollset()` implementation ++ to react on the presence of POLLIN/-OUT in the pollset and ++ no longer check CURL_WANT_SEND/CURL_WANT_RECV ++ - cf-socket will no longer add POLLIN on its own ++ - http2 and http/3 filters will only do adjustments if the ++ passed pollset wants to POLLIN/OUT for the transfer on ++ the socket. This is similar to the HTTP/2 proxy filter ++ and works in stacked filters. + +-- write-out.d: clarify %{time_starttransfer} ++ Closes #12640 + +- sync it up with CURLINFO_STARTTRANSFER_TIME_T ++Daniel Stenberg (6 Jan 2024) + +-Daniel Stenberg (15 Aug 2023) ++- ftp: use memdup0 to store the OS from a SYST 215 response + +-- transfer: don't set TIMER_STARTTRANSFER on first send ++ avoid malloc + direct buffer fiddle + +- The time stamp is for measuring the first *received* byte ++ Closes #12639 + +- Fixes #11669 +- Reported-by: JazJas on github +- Closes #11670 ++- ftp: use dynbuf to store entrypath + +-trrui-huawei (15 Aug 2023) ++ avoid direct malloc + +-- quiche: enable quiche to handle timeout events ++ Closes #12638 + +- In parallel with ngtcp2, quiche also offers the `quiche_conn_on_timeout` +- interface for the application to invoke upon timer +- expiration. Therefore, invoking the `on_timeout` function of the +- Connection is crucial to ensure seamless functionality of quiche with +- timeout events. ++Lealem Amedie (6 Jan 2024) + +- Closes #11654 ++- wolfssl: load certificate *chain* for PEM client certs + +-- quiche: adjust quiche `QUIC_IDLE_TIMEOUT` to 60s ++ Closes #12634 + +- Set the `QUIC_IDLE_TIMEOUT` parameter to match ngtcp2 for consistency. ++Stefan Eissing (4 Jan 2024) + +-Daniel Stenberg (15 Aug 2023) ++- http: adjust_pollset fix + +-- KNOWN_BUGS: LDAPS requests to ActiveDirectory server hang ++ do not add a socket for POLLIN when the transfer does not want to send ++ (for example is paused). + +- Closes #9580 ++ Follow-up to 47f5b1a + +-- imap: add a check for failing strdup() ++ Reported-by: bubbleguuum on github ++ Fixes #12632 ++ Closes #12633 + +-- imap: remove the only sscanf() call in the IMAP code ++Daniel Stenberg (3 Jan 2024) + +- Avoids the use of a stack buffer. ++- tool: make parser reject blank arguments if not supported + +- Closes #11673 ++ Already in the getstr() function that clones the input argument. + +-- imap: use a dynbuf in imap_atom ++ Closes #12620 + +- Avoid a calculation + malloc. Build the output in a dynbuf. ++dependabot[bot] (3 Jan 2024) + +- Closes #11672 ++- build(deps): bump github/codeql-action from 2 to 3 + +-Marin Hannache (14 Aug 2023) ++ Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2 ++ to 3. ++ - [Release notes](https://github.com/github/codeql-action/releases) ++ - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) ++ - [Commits](https://github.com/github/codeql-action/compare/v2...v3) + +-- http: do not require a user name when using CURLAUTH_NEGOTIATE ++ --- ++ updated-dependencies: ++ - dependency-name: github/codeql-action ++ dependency-type: direct:production ++ update-type: version-update:semver-major ++ ... + +- In order to get Negotiate (SPNEGO) authentication to work in HTTP you +- used to be required to provide a (fake) user name (this concerned both +- curl and the lib) because the code wrongly only considered +- authentication if there was a user name provided, as in: ++ Signed-off-by: dependabot[bot] + +- curl -u : --negotiate https://example.com/ ++ Closes #12625 + +- This commit leverages the `struct auth` want member to figure out if the +- user enabled CURLAUTH_NEGOTIATE, effectively removing the requirement of +- setting a user name both in curl and the lib. ++- build(deps): bump actions/checkout from 3 to 4 + +- Signed-off-by: Marin Hannache +- Reported-by: Enrico Scholz +- Fixes https://sourceforge.net/p/curl/bugs/440/ +- Fixes #1161 +- Closes #9047 ++ Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4. ++ - [Release notes](https://github.com/actions/checkout/releases) ++ - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) ++ - [Commits](https://github.com/actions/checkout/compare/v3...v4) + +-Viktor Szakats (13 Aug 2023) ++ --- ++ updated-dependencies: ++ - dependency-name: actions/checkout ++ dependency-type: direct:production ++ update-type: version-update:semver-major ++ ... + +-- build: streamline non-UWP wincrypt detections ++ Signed-off-by: dependabot[bot] + +- - with CMake, use the variable `WINDOWS_STORE` to detect an UWP build +- and disable our non-UWP-compatible use the Windows crypto API. This +- allows to drop two dynamic feature checks. ++ Closes #12624 + +- `WINDOWS_STORE` is true when invoking CMake with +- `CMAKE_SYSTEM_NAME` == `WindowsStore`. Introduced in CMake v3.1. ++- build(deps): bump actions/upload-artifact from 3 to 4 + +- Ref: https://cmake.org/cmake/help/latest/variable/WINDOWS_STORE.html ++ Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) f ++ rom 3 to 4. ++ - [Release notes](https://github.com/actions/upload-artifact/releases) ++ - [Commits](https://github.com/actions/upload-artifact/compare/v3...v4) + +- - with autotools, drop the separate feature check for `wincrypt.h`. On +- one hand this header has been present for long (even Borland C 5.5 had +- it from year 2000), on the other we used the check result solely to +- enable another check for certain crypto functions. This fails anyway +- with the header not present. We save one dynamic feature check at the +- configure stage. ++ --- ++ updated-dependencies: ++ - dependency-name: actions/upload-artifact ++ dependency-type: direct:production ++ update-type: version-update:semver-major ++ ... + +- Reviewed-by: Marcel Raad +- Closes #11657 ++ Signed-off-by: dependabot[bot] + +-Nicholas Nethercote (13 Aug 2023) ++ Closes #12627 + +-- docs/HYPER.md: update hyper build instructions ++- build(deps): bump actions/download-artifact from 3 to 4 + +- Nightly Rust and `-Z unstable-options` are not needed. ++ Bumps [actions/download-artifact](https://github.com/actions/download-artifac ++ t) from 3 to 4. ++ - [Release notes](https://github.com/actions/download-artifact/releases) ++ - [Commits](https://github.com/actions/download-artifact/compare/v3...v4) + +- The instructions here now match the hyper docs exactly: +- https://github.com/hyperium/hyper/commit/bd7928f3dd6a8461f0f0fdf7ee0fd95c2f15 +- 6f88 ++ --- ++ updated-dependencies: ++ - dependency-name: actions/download-artifact ++ dependency-type: direct:production ++ update-type: version-update:semver-major ++ ... + +- Closes #11662 ++ Signed-off-by: dependabot[bot] + +-Daniel Stenberg (13 Aug 2023) ++ Closes #12626 + +-- RELEASE-NOTES: synced ++Stefan Eissing (3 Jan 2024) + +-- urlapi: CURLU_PUNY2IDN - convert from punycode to IDN name ++- http3/quiche: fix result code on a stream reset + +- Asssisted-by: Jay Satiro +- Closes #11655 ++ - fixes pytest failures in test 07_22 ++ - aligns CURLcode values on stream reset with ngtcp2 + +-- spellcheck: adapt to backslashed minuses ++ Closes #12629 + +- As the curl.1 has more backslashed minus, the cleanup sed lines xneed to +- adapt. ++Daniel Stenberg (2 Jan 2024) + +- Adjusted some docs slighly. ++- setopt: clear mimepost when formp is freed + +- Follow-up to 439ff2052e ++ A precaution to avoid a possibly dangling pointer left behind. + +- Closes #11663 ++ Reported-by: Thomas Ferguson ++ Fixes #12608 ++ Closes #12621 + +-- gen: escape more minus ++Andy Alt (2 Jan 2024) + +- Detected since it was still hard to search for option names using dashes +- in the middle in the man page. ++- CI: Add dependabot.yml + +- Closes #11660 ++ This will cause dependabot to open a PR when various actions are ++ updated, provided that the action maintainer has issued a release. + +-- cookie-jar.d: enphasize that this option is ONLY writing cookies ++ Closes #12623 + +- Reported-by: Dan Jacobson +- Tweaked-by: Jay Satiro +- Ref: #11642 +- Closes #11661 ++Gisle Vanem (2 Jan 2024) + +-Nicholas Nethercote (11 Aug 2023) ++- content_encoding: change return code to typedef'ed enum + +-- docs/HYPER.md: document a workaround for a link error ++ ... to work around a clang ubsan warning. + +- Closes #11653 ++ Fixes #12618 ++ Closes #12622 + +-Jay Satiro (11 Aug 2023) ++Daniel Stenberg (2 Jan 2024) + +-- schannel: verify hostname independent of verify cert ++- tool: prepend output_dir in header callback + +- Prior to this change when CURLOPT_SSL_VERIFYPEER (verifypeer) was off +- and CURLOPT_SSL_VERIFYHOST (verifyhost) was on we did not verify the +- hostname in schannel code. ++ When Content-Disposition parsing is used and an output dir is prepended, ++ make sure to store that new file name correctly so that it can be used ++ for setting the file timestamp when --remote-time is used. + +- This fixes KNOWN_BUG 2.8 "Schannel disable CURLOPT_SSL_VERIFYPEER and +- verify hostname". We discussed a fix several years ago in #3285 but it +- went stale. ++ Extended test 3012 to verify. + +- Assisted-by: Daniel Stenberg ++ Co-Authored-by: Jay Satiro ++ Reported-by: hgdagon on github ++ Fixes #12614 ++ Closes #12617 + +- Bug: https://curl.haxx.se/mail/lib-2018-10/0113.html +- Reported-by: Martin Galvan ++- test1254: fix typo in name plus shorten it + +- Ref: https://github.com/curl/curl/pull/3285 ++- RELEASE-NOTES: synced + +- Fixes https://github.com/curl/curl/issues/3284 +- Closes https://github.com/curl/curl/pull/10056 ++Viktor Szakats (2 Jan 2024) + +-Daniel Stenberg (11 Aug 2023) ++- schannel: fix `-Warith-conversion` gcc 13 warning + +-- curl_quiche: remove superfluous NULL check ++ ``` ++ lib/vtls/schannel.c:1201:22: warning: conversion to 'unsigned int' from 'int' ++ may change the sign of the result [-Warith-conversion] ++ 1201 | *extension_len = *list_len + ++ | ^ ++ ``` + +- 'stream' is always non-NULL at this point ++ Closes #12616 + +- Pointed out by Coverity ++- asyn-thread: silence `-Wcast-align` warning for Windows + +- Closes #11656 ++ Seen with llvm/clang 17: ++ ``` ++ lib/asyn-thread.c:310:5: warning: cast from 'PCHAR' (aka 'char *') to 'struct ++ thread_sync_data *' increases required alignment from 1 to 8 [-Wcast-align] ++ 310 | CONTAINING_RECORD(overlapped, struct thread_sync_data, w8.overlap ++ ped); ++ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ++ ~~~~ ++ .../llvm-mingw/aarch64-w64-mingw32/include/winnt.h:717:48: note: expanded fro ++ m macro 'CONTAINING_RECORD' ++ 717 | #define CONTAINING_RECORD(address,type,field) ((type *)((PCHAR)(addre ++ ss) - (ULONG_PTR)(&((type *)0)->field))) ++ | ^~~~~~~~~~~~~~~~~~~~~~ ++ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ++ ``` + +-- curl/urlapi.h: tiny typo ++ Follow-up to a6bbc87f9e9ffb46a1801dfb983e7534825ed56b #12482 + +-- github/labeler: make HYPER.md set Hyper and not TLS ++ Ref: https://github.com/curl/curl/pull/12482#issuecomment-1873017261 ++ Closes #12615 + +-- docs/cmdline-opts/gen.pl: hide "added in" before 7.50.0 ++Daniel Stenberg (2 Jan 2024) + +- 7.50.0 shipped on Jul 21 2016, over seven years ago. We no longer need +- to specify version changes for earlier releases in the generated output. ++- tool_listhelp: regenerate after recent .d updates + +- This ups the limit from the previous 7.30.0 (Apr 12 2013) ++ Makes it survive test 1478 + +- This hides roughly 35 "added in" mentions. ++ Closes #12612 + +- Closes #11651 ++- test1478: verify src/tool_listhelp.c + +-Jay Satiro (10 Aug 2023) ++ Verify that the source file on disk is identical to the output of gen.pl ++ listhelp, as otherwise they are out of sync and need attention. + +-- bug_report: require reporters to specify curl and os versions ++ Closes #12612 + +- - Change curl version and os sections from single-line input to +- multi-line textarea. ++- testutil: make runtests support %include + +- - Require curl version and os sections to be filled out before report +- can be submitted. ++ Using this instruction, a test case can include the contents of a file ++ into the test during the preprocessing. + +- Closes https://github.com/curl/curl/pull/11636 ++ Closes #12612 + +-Daniel Stenberg (9 Aug 2023) ++- runtests: for mode="text" on , fix newlines on both parts + +-- gen.pl: replace all single quotes with aq ++ Closes #12612 + +- - this prevents man from using a unicode sequence for them +- - which then allows search to work properly ++Jay Satiro (2 Jan 2024) + +- Closes #11645 ++- quiche: return CURLE_HTTP3 on send to invalid stream + +-Viktor Szakats (9 Aug 2023) ++ Prior to this change if a send failed on a stream in an invalid state ++ (according to quiche) and not marked as closed (according to libcurl) ++ then the send function would return CURLE_SEND_ERROR. + +-- cmake: fix to use variable for the curl namespace ++ We already have similar code for ngtcp2 to return CURLE_HTTP3 in this ++ case. + +- Replace (wrong) literal with a variable to specify the curl +- namespace. ++ Caught by test test_07_upload.py: test_07_22_upload_parallel_fail. + +- Follow-up to 1199308dbc902c52be67fc805c72dd2582520d30 #11505 ++ Fixes https://github.com/curl/curl/issues/12590 ++ Closes https://github.com/curl/curl/pull/12597 + +- Reported-by: balikalina on Github +- Fixes https://github.com/curl/curl/commit/1199308dbc902c52be67fc805c72dd25825 +- 20d30#r123923098 +- Closes #11629 ++Daniel Stenberg (1 Jan 2024) + +-- cmake: allow `SHARE_LIB_OBJECT=ON` on all platforms ++- cmdline-opts: update availability for the *-ca-native options + +- 2ebc74c36a19a1700af394c16855ce144d9878e3 #11546 introduced sharing +- libcurl objects for shared and static targets. ++ Closes #12613 + +- The above automatically enabled for Windows builds, with an option to +- disable with `SHARE_LIB_OBJECT=OFF`. ++Patrick Monnerat (31 Dec 2023) + +- This patch extend this feature to all platforms as a manual option. +- You can enable it by setting `SHARE_LIB_OBJECT=ON`. Then shared objects +- are built in PIC mode, meaning the static lib will also have PIC code. ++- openldap: fix STARTTLS + +- [EXPERIMENTAL] ++ It was not working anymore since introduction of connection filters. + +- Closes #11627 ++ Also do not attempt to recover from a failing TLS negotiation with ++ CURLUSESSL_TRY. + +-- cmake: assume `wldap32` availability on Windows ++ Closes #12610 + +- This system library first shipped with Windows ME, available as an extra +- install for some older releases (according to [1]). The import library +- was present already in old MinGW 3.4.2 (year 2007). ++Daniel Stenberg (31 Dec 2023) + +- Drop the feature check and its associated `HAVE_WLDAP32` variable. ++- haproxy-clientip.d: document the arg + +- To manually disable `wldap32`, you can use the `USE_WIN32_LDAP=OFF` +- CMake option, like before. ++ The arg keyword was missing and therefore not present in the man page. + +- [1]: https://dlcdn.apache.org/httpd/binaries/win32/LEGACY.html ++ Closes #12611 + +- Reviewed-by: Jay Satiro +- Closes #11624 ++annalee (29 Dec 2023) + +-Daniel Stenberg (9 Aug 2023) ++- configure: fix no default int compile error in ipv6 detection + +-- page-header: move up a URL paragraph from GLOBBING to URL ++ Closes #12607 + +-- variable.d: output the function names table style ++Dan Fandrich (28 Dec 2023) + +- Also correct the url function name in the header ++- CI: Fix use of any-glob-to-all-files in the labeler + +- Closes #11641 ++ Despite its name, this atom acts like one-glob-to-all-files and a ++ different syntax with braces must be used to get ++ any-glob-to-all-files semantics. Unfortunately, this makes the file ++ completely unreadable. + +-- haproxy-clientip.d: remove backticks ++ Ref: https://github.com/actions/labeler/issues/731 + +- This is not markdown ++Daniel Stenberg (29 Dec 2023) + +- Follow-up to 0a75964d0d94a4 ++- CURLOPT_AUTOREFERER.3: mention CURLINFO_REFERER + +- Closes #11639 ++- CURLINFO_REFERER.3: clarify that it is the *request* header + +-- RELEASE-NOTES: synced ++ That libcurl itself sent in the most recent request + +-- gen.pl: escape all dashes (ascii minus) to avoid unicode hyphens ++ Closes #12605 + +- Reported-by: FC Stegerman +- Fixes #11635 +- Closes #11637 ++Jay Satiro (28 Dec 2023) + +-- cmdline-opts/page-header: reorder, clean up ++- system_win32: fix a function pointer assignment warning + +- - removed some unnecessary blurb to focus +- - moved up the more important URL details +- - put "globbing" into its own subtitle and moved down a little +- - mention the online man page in the version section ++ - Use CURLX_FUNCTION_CAST to suppress a function pointer assignment ++ warning. + +- Closes #11638 ++ a6bbc87f added lookups of some Windows API functions and then cast them ++ like `*(FARPROC*)&Curl_funcname = address`. Some versions of gcc warn ++ about that as breaking strict-aliasing rules so this PR changes those ++ assignments to use CURLX_FUNCTION_CAST. + +-- c-hyper: adjust the hyper to curlcode conversion ++ Bug: https://github.com/curl/curl/pull/12581#issuecomment-1869804317 ++ Reported-by: Marcel Raad + +- Closes #11621 ++ Closes https://github.com/curl/curl/pull/12602 + +-- test2306: make it use a persistent connection ++- verify-examples.pl: fail verification on unescaped backslash + +- + enable verbose already from the start ++ - Check that all backslashes in EXAMPLE are properly escaped. + +- Closes #11621 ++ eg manpage must always use `\\n` never `\n`. + +-eppesuig (8 Aug 2023) ++ This is because the manpage requires we always double blackslash to show ++ a single backslash. Prior to this change an erroneous single backslash ++ would pass through and compile even though it would not show correctly ++ in the manpage. + +-- list-only.d: mention SFTP as supported protocol ++ Co-authored-by: Daniel Stenberg + +- Closes #11628 ++ Ref: https://github.com/curl/curl/pull/12588 + +-Daniel Stenberg (8 Aug 2023) ++ Closes https://github.com/curl/curl/pull/12589 + +-- request.d: use .TP for protocol "labels" ++- vtls: fix missing multissl version info + +- To render the section nicer in man page. ++ - Fix erroneous buffer copy logic from ff74cef5. + +- Closes #11630 ++ Prior to this change the MultiSSL version info returned to the user ++ was empty. + +-- cf-haproxy: make CURLOPT_HAPROXY_CLIENT_IP set the *source* IP ++ Closes https://github.com/curl/curl/pull/12599 + +- ... as documented. ++Daniel Stenberg (27 Dec 2023) + +- Update test 3201 and 3202 accordingly. ++- KNOWN_BUGS: [RTSP] Some methods do not support response bodies + +- Reported-by: Markus Sommer +- Fixes #11619 +- Closes #11626 ++ Closes #12414 + +-- page-footer: QLOGDIR works with ngtcp2 and quiche ++Patrick Monnerat (27 Dec 2023) + +- It previously said "both" backends which is confusing as we currently +- have three... ++- openldap: fix an LDAP crash + +- Closes #11631 ++ Reported-by: Ozan Cansel ++ Fixes #12593 ++ Closes #12600 + +-Stefan Eissing (8 Aug 2023) ++Daniel Stenberg (27 Dec 2023) + +-- http3: quiche, handshake optimization, trace cleanup ++- getinfo: CURLINFO_QUEUE_TIME_T + +- - load x509 store after clienthello +- - cleanup of tracing ++ Returns the time, in microseconds, during which this transfer was held ++ in a waiting queue before it started "for real". A transfer might be put ++ in a queue if after getting started, it cannot create a new connection ++ etc due to set conditions and limits imposed by the application. + +- Closes #11618 ++ Ref: #12293 ++ Closes #12368 + +-Daniel Stenberg (8 Aug 2023) ++- RELEASE-NOTES: synced + +-- ngtcp2: remove dead code ++Jay Satiro (26 Dec 2023) + +- 'result' is always zero (CURLE_OK) at this point ++- examples/sendrecv: fix comment line length + +- Detected by Coverity ++ Caught by checksrc. + +- Closes #11622 ++Haydar Alaidrus (23 Dec 2023) + +-Viktor Szakats (8 Aug 2023) ++- CURLOPT_POSTFIELDS.3: fix incorrect C string escape in example + +-- openssl: auto-detect `SSL_R_TLSV13_ALERT_CERTIFICATE_REQUIRED` ++ - Escape inner quotes with two backslashes. + +- OpenSSL 1.1.1 defines this macro, but no ealier version, or any of the +- popular forks (yet). Use the macro itself to detect its presence, +- replacing the hard-wired fork-specific conditions. ++ Two backslashes escapes the backslash for the man page and will show as ++ a single backslash. + +- This way the feature will enable automatically when forks implement it, +- while also shorter and possibly requiring less future maintenance. ++ eg: "{\\"name\\": \\"daniel\\"}" shows as "{\"name\": \"daniel\"}". + +- Follow-up to 94241a9e78397a2aaf89a213e6ada61e7de7ee02 #6721 ++ Closes https://github.com/curl/curl/pull/12588 + +- Reviewed-by: Jay Satiro +- Closes #11617 ++Viktor Szakats (23 Dec 2023) + +-- openssl: use `SSL_CTX_set_ciphersuites` with LibreSSL 3.4.1 ++- appveyor: tidy-ups + +- LibreSSL 3.4.1 (2021-10-14) added support for +- `SSL_CTX_set_ciphersuites`. ++ - replace two remaining backslashes with forward slashes. ++ - tidy up the way we form and pass `TFLAGS`. + +- Ref: https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-3.4.1-relnotes.txt ++ Follow-up to 2d4d0c1fd32f5cc3f946c407c8eccd5477b287df #12572 + +- Reviewed-by: Jay Satiro +- Closes #11616 ++ Closes #12582 + +-- openssl: use `SSL_CTX_set_keylog_callback` with LibreSSL 3.5.0 ++Stefan Eissing (22 Dec 2023) + +- LibreSSL 3.5.0 (2022-02-24) added support for +- `SSL_CTX_set_keylog_callback`. ++- transfer: fix upload rate limiting, add test cases + +- Ref: https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-3.5.0-relnotes.txt ++ - add test cases for rate limiting uploads for all ++ http versions ++ - fix transfer loop handling of limits. Signal a re-receive ++ attempt only on exhausting maxloops without an EAGAIN ++ - fix `data->state.selectbits` forcing re-receive to also ++ set re-sending when transfer is doing this. + +- Reviewed-by: Jay Satiro +- Closes #11615 ++ Reported-by: Karthikdasari0423 on github ++ Fixes #12559 ++ Closes #12586 + +-- cmake: drop `HAVE_LIBWINMM` and `HAVE_LIBWS2_32` feature checks ++Daniel Stenberg (22 Dec 2023) + +- - `HAVE_LIBWINMM` was detected but unused. The `winmm` system library is +- also not used by curl, but it is by its optional dependency `librtmp`. +- Change the logic to always add `winmm` when `USE_LIBRTMP` is set. This +- library has been available since the early days of Windows. ++- mbedtls: free the entropy when threaded + +- - `HAVE_LIBWS2_32` detected `ws2_32` lib on Windows. This lib is present +- since Windows 95 OSR2 (AFAIR). Winsock1 already wasn't supported and +- other existing logic already assumed this lib being present, so delete +- the check and replace the detection variable with `WIN32` and always +- add `ws2_32` on Windows. ++ The entropy_free was never done for threaded builds, causing a small ++ (fixed) memory leak. + +- Closes #11612 ++ Reported-by: RevaliQaQ on github ++ Fixes #12584 ++ Closes #12585 + +-Daniel Gustafsson (8 Aug 2023) ++Stefan Eissing (22 Dec 2023) + +-- crypto: ensure crypto initialization works ++- http2: improved on_stream_close/data_done handling + +- Make sure that context initialization during hash setup works to avoid +- going forward with the risk of a null pointer dereference. ++ - there seems to be a code path that cleans up easy handles without ++ triggering DONE or DETACH events to the connection filters. This ++ would explain wh nghttp2 still holds stream user data ++ - add GOOD check to easy handle used in on_close_callback to ++ prevent crashes, ASSERTs in debug builds. ++ - NULL the stream user data early before submitting RST ++ - add checks in on_stream_close() to identify UNGOOD easy handles + +- Reported-by: Philippe Antoine on HackerOne +- Assisted-by: Jay Satiro +- Assisted-by: Daniel Stenberg ++ Reported-by: Hans-Christian Egtvedt ++ Fixes #10936 ++ Closes #12562 + +- Closes #11614 ++Daniel Stenberg (22 Dec 2023) + +-Viktor Szakats (7 Aug 2023) ++- mprintf: overhaul and bugfixes + +-- openssl: switch to modern init for LibreSSL 2.7.0+ ++ In a test case using lots of snprintf() calls using many commonly used ++ %-codes per call, this version is around 30% faster than previous ++ version. + +- LibreSSL 2.7.0 (2018-03-21) introduced automatic initialization, +- `OPENSSL_init_ssl()` function and deprecated the old, manual init +- method, as seen in OpenSSL 1.1.0. Switch to the modern method when +- available. ++ It also fixes the #12561 bug which made it not behave correctly when ++ given unknown %-sequences. Fixing that flaw required a different take on ++ the problem, which resulted in the new two-arrays model. + +- Ref: https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-2.7.0-relnotes.txt ++ lib557: extended - Verify the #12561 fix and test more printf features + +- Reviewed-by: Daniel Stenberg +- Closes #11611 ++ unit1398: fix test: It used a $ only for one argument, which is not ++ supported. + +-Daniel Stenberg (7 Aug 2023) ++ Fixes #12561 ++ Closes #12563 + +-- gskit: remove ++Viktor Szakats (21 Dec 2023) + +- We remove support for building curl with gskit. ++- appveyor: replace PowerShell with bash + parallel autotools + +- - This is a niche TLS library, only running on some IBM systems +- - no regular curl contributors use this backend +- - no CI builds use or verify this backend +- - gskit, or the curl adaption for it, lacks many modern TLS features +- making it an inferior solution +- - build breakages in this code take weeks or more to get detected +- - fixing gskit code is mostly done "flying blind" ++ PowerShell works (after a steep development curve), but one property of ++ it stuck and kept causing unresolvable usability issues: With ++ `$ErrorActionPreference=Stop`, it does abort on failures, but shows only ++ the first line of the error message. In `Continue` mode, it shows the ++ full error message, but doesn't stop on all errors. Another issue is ++ PowerShell considering any stderr output as if the command failed (this ++ has been improved in 7.2 (2021-Nov), but fixed versions aren't running ++ in CI and will not be for a long time in all test images.) + +- This removal has been advertized in DEPRECATED in Jan 2, 2023 and it has +- been mentioned on the curl-library mailing list. ++ Thus, we're going with bash. + +- It could be brought back, this is not a ban. Given proper effort and +- will, gskit support is welcome back into the curl TLS backend family. ++ Also: ++ - use `-j2` with autotools tests, making them finish 5-15 minutes per ++ job faster. ++ - omit `POSIX_PATH_PREFIX`. ++ - use `WINDIR`. ++ - prefer forward slashes. + +- Closes #11460 ++ Follow-up to: 75078a415d9c769419aed4153d3d525a8eba95af #11999 ++ Ref: #12444 + +-- RELEASE-NOTES: synced ++ Fixes #12560 ++ Closes #12572 + +-Dan Fandrich (7 Aug 2023) ++Pavel Pavlov (21 Dec 2023) + +-- THANKS-filter: add a name typo ++- asyn-thread: use GetAddrInfoExW on >= Windows 8 + +-Stefan Eissing (7 Aug 2023) ++ For doing async DNS resolution instead of starting a thread for each ++ request. + +-- http3/ngtcp2: shorten handshake, trace cleanup ++ Fixes #12481 ++ Closes #12482 + +- - shorten handshake timing by delayed x509 store load (OpenSSL) +- as we do for HTTP/2 +- - cleanup of trace output, align with HTTP/2 output ++Daniel Stenberg (21 Dec 2023) + +- Closes #11609 ++- strerror: repair get_winsock_error() + +-Daniel Stenberg (7 Aug 2023) ++ It would try to read longer than the provided string and crash. + +-- headers: accept leading whitespaces on first response header ++ Follow-up to ff74cef5d4a0cf60106517a1c7384 ++ Reported-by: calvin2021y on github ++ Fixes #12578 ++ Closes #12579 + +- This is a bad header fold but since the popular browsers accept this +- violation, so does curl now. Unless built with hyper. ++- CURLOPT_SSH_*_KEYFILE: clarify + +- Add test 1473 to verify and adjust test 2306. ++ Closes #12554 + +- Reported-by: junsik on github +- Fixes #11605 +- Closes #11607 ++ivanfywang (21 Dec 2023) + +-- include/curl/mprintf.h: add __attribute__ for the prototypes ++- ngtcp2: put h3 at the front of alpn + +- - if gcc or clang is used +- - if __STDC_VERSION__ >= 199901L, which means greater than C90 +- - if not using mingw +- - if CURL_NO_FMT_CHECKS is not defined ++ Closes #12576 + +- Closes #11589 ++Daniel Stenberg (21 Dec 2023) + +-- tests: fix bad printf format flags in test code ++- test460: verify a command line using --expand with no argument + +-- tests: fix header scan tools for attribute edits in mprintf.h ++ This verifies the fix for #12565 + +-- cf-socket: log successful interface bind ++- tool_getparam: do not try to expand without an argument + +- When the setsockopt SO_BINDTODEVICE operation succeeds, output that in +- the verbose output. ++ This would lead to a segfault. + +- Ref: #11599 +- Closes #11608 ++ Fixes #12565 ++ Reported-by: Geeknik Labs ++ Closes #12575 + +-- CURLOPT_SSL_VERIFYPEER.3: mention it does not load CA certs when disabled ++- RELEASE-NOTES: synced + +- Ref: #11457 +- Closes #11606 ++ Bumped version to 8.6.0 because of changes + +-- CURLOPT_SSL_VERIFYPEER.3: add two more see also options ++- Makefile.am: fix the MSVC project generation + +- CURLINFO_CAINFO and CURLINFO_CAPATH ++ It made the vcxproj files not get included in dist tarballs. + +- Closes #11603 ++ Regression since 74423b5df4c8117891eb89 (8.5.0) + +-- KNOWN_BUGS: aws-sigv4 does not behave well with AWS VPC Lattice ++ Reported-by: iAroc on github ++ Fixes #12564 ++ Closes #12567 + +- Closes #11007 ++zengwei2000 (21 Dec 2023) + +-Graham Campbell (6 Aug 2023) ++- altsvc: free 'as' when returning error + +-- CI: use openssl 3.0.10+quic, nghttp3 0.14.0, ngtcp2 0.18.0 ++ Closes #12570 + +- Closes #11585 ++ Signed-off-by: zengwei + +-Daniel Stenberg (6 Aug 2023) ++Viktor Szakats (20 Dec 2023) + +-- TODO: add *5* entries for aws-sigv4 ++- build: fix `-Wconversion`/`-Wsign-conversion` warnings + +- Closes #7559 +- Closes #8107 +- Closes #8810 +- Closes #9717 +- Closes #10129 ++ Fix remaining warnings in examples and tests which are not suppressed ++ by the pragma in `lib/curl_setup.h`. + +-- TODO: LDAP Certificate-Based Authentication ++ Silence a toolchain issue causing warnings in `FD_SET()` calls with ++ older Cygwin/MSYS2 builds. Likely fixed on 2020-08-03 by: ++ https://cygwin.com/git/?p=newlib-cygwin.git;a=commitdiff;h=5717262b8ecfed0f7f ++ ab63e2c09c78991e36f9dd + +- Closes #9641 ++ Follow-up to 2dbe75bd7f3c36837aa06fd87a442bdf3fb7faef #12492 + +-Stefan Eissing (6 Aug 2023) ++ Closes #12557 + +-- http2: cleanup trace messages ++- build: fix some `-Wsign-conversion`/`-Warith-conversion` warnings + +- - more compact format with bracketed stream id +- - all frames traced in and out ++ - enable `-Wsign-conversion` warnings, but also setting them to not ++ raise errors. ++ - fix `-Warith-conversion` warnings seen in CI. ++ These are triggered by `-Wsign-converion` and causing errors unless ++ explicitly silenced. It makes more sense to fix them, there just a few ++ of them. ++ - fix some `-Wsign-conversion` warnings. ++ - hide `-Wsign-conversion` warnings with a `#pragma`. ++ - add macro `CURL_WARN_SIGN_CONVERSION` to unhide them on a per-build ++ basis. ++ - update a CI job to unhide them with the above macro: ++ https://github.com/curl/curl/actions/workflows/linux.yml -> OpenSSL -O3 + +- Closes #11592 ++ Closes #12492 + +-Daniel Stenberg (6 Aug 2023) ++- cmake: tidy-up `OtherTests.cmake` + +-- tests/tftpd+mqttd: make variables static to silence picky warnings ++ - make more obvious which detection uses which prep steps. ++ - merge and streamline conditions. ++ - these should not alter detection results. + +- Closes #11594 ++ Also align log output messages from ++ `Macros.cmake` / `curl_internal_test` with rest of the build. + +-- docs/cmdline: remove repeated working for negotiate + ntlm ++ Closes #12551 + +- The extra wording is added automatically by the gen.pl tool ++- appveyor: switch to out-of-tree builds + +- Closes #11597 ++ With cmake and autotools. + +-- docs/cmdline: add small "warning" to verbose options ++ Closes #12550 + +- "Note that verbose output of curl activities and network traffic might +- contain sensitive data, including user names, credentials or secret data +- content. Be aware and be careful when sharing trace logs with others." ++Daniel Stenberg (19 Dec 2023) + +- Closes #11596 ++- DEPRECATE.md: mention that NTLM_WB no longer works + +-- RELEASE-NOTES: synced ++ Ref: #12479 ++ Closes #12553 + +-- pingpong: don't use *bump_headersize ++- CURLOPT_SERVER_RESPONSE_TIMEOUT_MS: add + +- We use that for HTTP(S) only. ++ Proposed-by: Yifei Kong ++ Ref: https://curl.se/mail/lib-2023-11/0023.html ++ Closes #12369 + +- Follow-up to 3ee79c1674fd6 ++Viktor Szakats (18 Dec 2023) + +- Closes #11590 ++- build: more `-Wformat` fixes + +-- urldata: remove spurious parenthesis to unbreak no-proxy build ++ - memdebug: update to not trigger `-Wformat-nonliteral` warnings. ++ - imap: mark `imap_sendf()` with `CURL_PRINTF()`. ++ - tool_msgs: mark static function with `CURL_PRINTF()`. + +- Follow-up to e12b39e13382 ++ Follow-up to 3829759bd042c03225ae862062560f568ba1a231 #12489 + +- Closes #11591 ++ Closes #12540 + +-- easy: don't call Curl_trc_opt() in disabled-verbose builds ++- windows: delete redundant headers + +- Follow-up to e12b39e133822c6a0 ++ `winsock2.h` pulls in `windows.h`. `ws2tcpip.h` pulls in `winsock2.h`. ++ `winsock2.h` and `ws2tcpip.h` are also pulled by `curl/curl.h`. + +- Closes #11588 ++ Keep only those headers that are not already included, or the code under ++ it uses something from that specific header. + +-- http: use %u for printfing int ++ Closes #12539 + +- Follow-up to 3ee79c1674fd6f99e8efca5 ++- cmake: prefill/cache `HAVE_STRUCT_SOCKADDR_STORAGE` + +- Closes #11587 ++ Also add missing include to `OtherTests.cmake`. It didn't cause an issue ++ because the parent already included this earlier by chance. + +-Goro FUJI (3 Aug 2023) ++ Closes #12537 + +-- vquic: show stringified messages for errno ++Daniel Stenberg (18 Dec 2023) + +- Closes #11584 ++- runner.pm: fix perl warning when running tests + +-Stefan Eissing (3 Aug 2023) ++ Use of uninitialized value $runner::gdbthis in numeric eq (==) at runner. ++ pm + +-- trace: make tracing available in non-debug builds ++ Follow-up from 3dcf301752a09d9 + +- Add --trace-config to curl ++ Closes #12549 + +- Add curl_global_trace() to libcurl ++- runtests: support -gl. Like -g but for lldb. + +- Closes #11421 ++ Follow-up to 63b5748 + +-Daniel Stenberg (3 Aug 2023) ++ Invokes the test case via lldb instead of gdb. Since using gdb is such a ++ pain on mac, using lldb is sometimes less quirky. + +-- TODO: remove "Support intermediate & root pinning for PINNEDPUBLICKEY" ++ Closes #12547 + +- See also https://github.com/curl/curl/pull/7507 ++- curl.h: add CURLE_TOO_LARGE + +-- TODO: add "WebSocket read callback" ++ A new error code to be used when an internal field grows too large, like ++ when a dynbuf reaches its maximum. Previously it would return ++ CURLE_OUT_OF_MEMORY for this, which is highly misleading. + +- remove "Upgrade to websockets" as we already have this ++ Ref: #12268 ++ Closes #12269 + +- Closes #11402 ++- CI/circleci: disable MQTT in the HTTP-only build + +-- test497: verify rejecting too large incoming headers ++ And remove the use of configure options that don't actually exist + +-- http: return error when receiving too large header set ++ Closes #12546 + +- To avoid abuse. The limit is set to 300 KB for the accumulated size of +- all received HTTP headers for a single response. Incomplete research +- suggests that Chrome uses a 256-300 KB limit, while Firefox allows up to +- 1MB. ++Yedaya Katsman (18 Dec 2023) + +- Closes #11582 ++- tests: respect $TMPDIR when creating unix domain sockets + +-Stefan Eissing (3 Aug 2023) ++ When running on termux, where $TMPDIR isn't /tmp, running the tests ++ failed, since the server config tried creating sockets in /tmp, without ++ checking the temp dir config. Use the TMPDIR variable that makes it find ++ the correct directory everywhere [0] + +-- http2: upgrade tests and add fix for non-existing stream ++ [0] https://perldoc.perl.org/File::Temp#tempfile + +- - check in h2 filter recv that stream actually exists +- and return error if not +- - add test for parallel, extreme h2 upgrades that fail if +- connections get reused before fully switched +- - add h2 upgrade upload test just for completeness ++ Closes #12545 + +- Closes #11563 ++Viktor Szakats (17 Dec 2023) + +-Viktor Szakats (3 Aug 2023) ++- ssh: fix namespace of two local macros + +-- tests: ensure `libcurl.def` contains all exports ++ Avoid using the libssh and libssh2 macro namespaces by prefixing ++ these local macro names with `CURL_`. + +- Add `test1279` to verify that `libcurl.def` lists all exported API +- functions found in libcurl headers. ++ Follow-up to 413a0fedd02c8c6df1d294534b8c6e306fcca7a2 #12346 + +- Also: ++ Reviewed-by: Daniel Stenberg ++ Closes #12544 + +- - extend test suite XML `stdout` tag with the `loadfile` attribute. ++- cmake: whitespace tidy-up in `OtherTests.cmake` + +- - fix `tests/extern-scan.pl` and `test1135` to include websocket API. ++ Closes #12538 + +- - use all headers (sorted) in `test1135` instead of a manual list. ++Mark Sinkovics (16 Dec 2023) + +- - add options `--sort`, `--heading=` to `tests/extern-scan.pl`. ++- cmake: fix generation for system name iOS + +- - add `libcurl.def` to the auto-labeler GHA task. ++ This PR fixes a problem that happens during CMake configuration when ++ the `CMAKE_SYSTEM_NAME` set to `iOS` and not `Darwin`. This value is ++ available (as far as I remember) version 3.14. The final solution ++ (thanks to @vszakats) is to use `APPLE` which contains all the Apple ++ platforms https://cmake.org/cmake/help/latest/variable/APPLE.html. + +- Follow-up to 2ebc74c36a19a1700af394c16855ce144d9878e3 ++ This issue was found when during vcpkg installation. Running command ++ `vcpkg install curl:arm64-ios` and `vcpkg install curl:x64-ios` failed ++ with message: ++ ``` ++ CMake Error: try_run() invoked in cross-compiling mode, please set the follow ++ ing cache variables appropriately: ++ HAVE_H_ERRNO_ASSIGNABLE_EXITCODE (advanced) ++ ``` ++ After this fix, I was able to compile the compile the binary without ++ any issue. + +- Closes #11570 ++ In addition to that fix, this PR also contains an simplification to ++ check if the platform is not APPLE. + +-Daniel Stenberg (2 Aug 2023) ++ Co-authored-by: Viktor Szakats ++ Closes #12515 + +-- url: change default value for CURLOPT_MAXREDIRS to 30 ++Daniel Stenberg (16 Dec 2023) + +- It was previously unlimited by default, but that's not a sensible +- default. While changing this has a remote risk of breaking an existing +- use case, I figure it is more likely to actually save users from loops. ++- RELEASE-NOTES: synced + +- Closes #11581 ++Baruch Siach (16 Dec 2023) + +-- lib: fix a few *printf() flag mistakes ++- gnutls: fix build with --disable-verbose + +- Reported-by: Gisle Vanem +- Ref: #11574 +- Closes #11579 ++ infof() parameters must be defined event with --disable-verbose since ++ commit dac293cfb702 ("lib: apache style infof and trace ++ macros/functions"). + +-Samuel Chiang (2 Aug 2023) ++ Move also 'ptr' definition under !CURL_DISABLE_VERBOSE_STRINGS. + +-- openssl: make aws-lc version support OCSP ++ Fixes the following build failure: + +- And bump version in CI ++ In file included from ../lib/sendf.h:29, ++ from vtls/gtls.c:44: ++ vtls/gtls.c: In function 'Curl_gtls_verifyserver': ++ vtls/gtls.c:841:34: error: 'version' undeclared (first use in this function); ++ did you mean 'session'? ++ 841 | gnutls_protocol_get_name(version), ptr); ++ | ^~~~~~~ + +- Closes #11568 ++ Closes #12505 + +-Daniel Stenberg (2 Aug 2023) ++Viktor Szakats (16 Dec 2023) + +-- tool: make the length argument an int for printf()-.* flags ++- build: delete unused `HAVE_{GSSHEIMDAL,GSSMIT,HEIMDAL}` + +- Closes #11578 ++ Stop setting `HAVE_GSSHEIMDAL`, `HAVE_GSSMIT` and `HAVE_HEIMDAL`. ++ There was no place in the build system or source code that used them. + +-- tool_operate: fix memory leak when SSL_CERT_DIR is used ++ Reviewed-by: Daniel Stenberg ++ Closes #12506 + +- Detected by Coverity ++- build: remove redundant `CURL_PULL_*` settings + +- Follow-up to 29bce9857a12b6cfa726a5 ++ These macros were not propagated to the source code from CMake. + +- Closes #11577 ++ autotools set only one of them (`CURL_PULL_SYS_POLL_H`), initially to ++ address an AIX issue [1]. This later broke when introducing `system.h` ++ [2] without the logic it enabled. A subsequent fix [3] re-added the ++ logic, and also enabled it for AIX before its use, directly in ++ `system.h`. + +-- tool/var: free memory on OOM ++ [1] 2012-11-23: 665adcd4b7bcdb7deb638cdc499fbe71f8d777f2 ++ [2] 2017-03-29: 9506d01ee50d5908138ebad0fd9fbd39b66bd64d #1373 ++ [3] 2017-08-25: 8a84fcc4b59e8b78d2acc6febf44a43d6bc81b59 #1828 #1833 + +- Coverity detected this memory leak in OOM situation ++ Reviewed-by: Daniel Stenberg ++ Closes #12502 + +- Follow-up to 2e160c9c652504e ++- system.h: sync mingw `CURL_TYPEOF_CURL_SOCKLEN_T` with other compilers + +- Closes #11575 ++ Align mingw with the other Windows compilers and use the `int` type for ++ `CURL_TYPEOF_CURL_SOCKLEN_T` (and thus for `curl_socklent_t`). This ++ makes it unnecessary to make a mingw-specific trick and pull all Windows ++ headers early just for this type definition. This type is specific to ++ Windows, not to the compiler. mingw-w64's Windows header maps it to ++ `int` too. + +-Viktor Szakats (2 Aug 2023) ++ With this we also delete all remaining uses of `CURL_PULL_WS2TCPIP_H`. + +-- gha: bump libressl and mbedtls versions ++ [ The official solution is to use `socklen_t` for all Windows compilers. ++ In this case we may want to update `curl/curl.h` to pull in Windows ++ headers before `system.h`. ] + +- Closes #11573 ++ Reviewed-by: Daniel Stenberg ++ Reviewed-by: Jay Satiro ++ Closes #12501 ++ ++- windows: simplify detecting and using system headers ++ ++ - autotools, cmake: assume that if we detect Windows, `windows.h`, ++ `winsock2.h` and `ws2tcpip.h` do exist. ++ - lib: fix 3 outlier `#if` conditions to use `USE_WINSOCK` instead of ++ looking for `winsock2.h`. ++ - autotools: merge 3 Windows check methods into one. ++ - move Watt-32 and lwIP socket support to `setup-win32.h` from ++ `config-win32.h`. It opens up using these with all build tools. Also ++ merge logic with Windows Sockets. ++ - fix to assume Windows sockets with the mingw32ce toolchain. ++ Follow-up to: 2748c64d605b19fb419ae56810ad8da36487a2d4 ++ - cmake: delete unused variable `signature_call_conv` since ++ eb33ccd5332435fa50f1758e5debb869c6942b7f. ++ - autotools: simplify `CURL_CHECK_WIN32_LARGEFILE` detection. ++ - examples/externalsocket: fix header order. ++ - cmake/OtherTests.cmake: delete Windows-specific `_source_epilogue` ++ that wasn't used anymore. ++ - cmake/OtherTests.cmake: set `WIN32_LEAN_AND_MEAN` for test ++ `SIZEOF_STRUCT_SOCKADDR_STORAGE`. ++ ++ After this patch curl universally uses `_WIN32` to guard ++ Windows-specific logic. It guards Windows Sockets-specific logic with ++ `USE_WINSOCK` (this might need further work). + +-Jay Satiro (2 Aug 2023) ++ Reviewed-by: Jay Satiro ++ Closes #12495 ++ ++- build: enable missing OpenSSF-recommended warnings, with fixes ++ ++ https://best.openssf.org/Compiler-Hardening-Guides/Compiler-Options-Hardening ++ -Guide-for-C-and-C++.html ++ as of 2023-11-29 [1]. ++ ++ Enable new recommended warnings (except `-Wsign-conversion`): ++ ++ - enable `-Wformat=2` for clang (in both cmake and autotools). ++ - add `CURL_PRINTF()` internal attribute and mark functions accepting ++ printf arguments with it. This is a copy of existing ++ `CURL_TEMP_PRINTF()` but using `__printf__` to make it compatible ++ with redefinting the `printf` symbol: ++ https://gcc.gnu.org/onlinedocs/gcc-3.0.4/gcc_5.html#SEC94 ++ - fix `CURL_PRINTF()` and existing `CURL_TEMP_PRINTF()` for ++ mingw-w64 and enable it on this platform. ++ - enable `-Wimplicit-fallthrough`. ++ - enable `-Wtrampolines`. ++ - add `-Wsign-conversion` commented with a FIXME. ++ - cmake: enable `-pedantic-errors` the way we do it with autotools. ++ Follow-up to d5c0351055d5709da8f3e16c91348092fdb481aa #2747 ++ - lib/curl_trc.h: use `CURL_FORMAT()`, this also fixes it to enable format ++ checks. Previously it was always disabled due to the internal `printf` ++ macro. ++ ++ Fix them: ++ ++ - fix bug where an `set_ipv6_v6only()` call was missed in builds with ++ `--disable-verbose` / `CURL_DISABLE_VERBOSE_STRINGS=ON`. ++ - add internal `FALLTHROUGH()` macro. ++ - replace obsolete fall-through comments with `FALLTHROUGH()`. ++ - fix fallthrough markups: Delete redundant ones (showing up as ++ warnings in most cases). Add missing ones. Fix indentation. ++ - silence `-Wformat-nonliteral` warnings with llvm/clang. ++ - fix one `-Wformat-nonliteral` warning. ++ - fix new `-Wformat` and `-Wformat-security` warnings. ++ - fix `CURL_FORMAT_SOCKET_T` value for mingw-w64. Also move its ++ definition to `lib/curl_setup.h` allowing use in `tests/server`. ++ - lib: fix two wrongly passed string arguments in log outputs. ++ Co-authored-by: Jay Satiro ++ - fix new `-Wformat` warnings on mingw-w64. ++ ++ [1] https://github.com/ossf/wg-best-practices-os-developers/blob/56c0fde3895b ++ fc55c8a973ef49a2572c507b2ae1/docs/Compiler-Hardening-Guides/Compiler-Options- ++ Hardening-Guide-for-C-and-C%2B%2B.md ++ ++ Closes #12489 ++ ++- Makefile.mk: drop Windows support ++ ++ And DLL-support with it. This leaves `Makefile.mk` for MS-DOS and Amiga. ++ ++ We recommend CMake instead. With unity mode it's much faster, and about ++ the same without. ++ ++ Ref: https://github.com/curl/curl/pull/12221#issuecomment-1783761806 ++ Reviewed-by: Daniel Stenberg ++ Closes #12224 + +-- schannel: fix user-set legacy algorithms in Windows 10 & 11 ++Daniel Stenberg (16 Dec 2023) + +- - If the user set a legacy algorithm list (CURLOPT_SSL_CIPHER_LIST) then +- use the SCHANNEL_CRED legacy structure to pass the list to Schannel. ++- cmdline-docs: use .IP consistently + +- - If the user set both a legacy algorithm list and a TLS 1.3 cipher list +- then abort. ++ Remove use of .TP and some .B. The idea is to reduce nroff syntax as ++ much as possible and to use it consistently. Ultimately, we should be ++ able to introduce our own easier-to-use-and-read syntax/formatting and ++ convert on generation time. + +- Although MS doesn't document it, Schannel will not negotiate TLS 1.3 +- when SCHANNEL_CRED is used. That means setting a legacy algorithm list +- limits the user to earlier versions of TLS. ++ Closes #12535 + +- Prior to this change, since 8beff435 (precedes 7.85.0), libcurl would +- ignore legacy algorithms in Windows 10 1809 and later. ++Tatsuhiko Miyagawa (16 Dec 2023) + +- Reported-by: zhihaoy@users.noreply.github.com ++- http: fix off-by-one error in request method length check + +- Fixes https://github.com/curl/curl/pull/10741 +- Closes https://github.com/curl/curl/pull/10746 ++ It should allow one more byte. + +-Daniel Stenberg (2 Aug 2023) ++ Closes #12534 + +-- variable.d: setting a variable again overwrites it ++Daniel Stenberg (15 Dec 2023) + +- Reported-by: Niall McGee +- Bug: https://twitter.com/niallmcgee/status/1686523075423322113 +- Closes #11571 ++- curl: show ipfs and ipns as supported "protocols" + +-Jay Satiro (2 Aug 2023) ++ They are accepted schemes in URLs passed to curl (the tool, not the ++ library). + +-- CURLOPT_PROXY_SSL_OPTIONS.3: sync formatting ++ Also makes curl-config show the same list. + +- - Re-wrap CURLSSLOPT_ALLOW_BEAST description. ++ Co-Authored-by: Jay Satiro ++ Reported-by: Chara White ++ Bug: https://curl.se/mail/archive-2023-12/0026.html ++ Closes #12508 + +-Daniel Stenberg (2 Aug 2023) ++- Revert "urldata: move async resolver state from easy handle to connectdata" + +-- RELEASE-NOTES: synced ++ This reverts commit 56a4db2e4e2bcb9a0dcb75b83560a78ef231fcc8 (#12198) + +-- resolve: use PF_INET6 family lookups when CURL_IPRESOLVE_V6 is set ++ We want the c-ares channel to be held in the easy handle, not per ++ connection - for performance. + +- Previously it would always do PF_UNSPEC if CURL_IPRESOLVE_V4 is not +- used, thus unnecessarily asking for addresses that will not be used. ++ Closes #12524 + +- Reported-by: Joseph Tharayil +- Fixes #11564 +- Closes #11565 ++Viktor Szakats (15 Dec 2023) + +-- docs: link to the website versions instead of markdowns ++- openssl: re-match LibreSSL deinit with init + +- ... to make the links work when the markdown is converted to webpages on +- https://curl.se ++ Earlier we switched to use modern initialization with LibreSSL v2.7.0 ++ and up, but did not touch deinitialization [1]. Fix it in this patch. + +- Reported-by: Maurício Meneghini Fauth +- Fixes https://github.com/curl/curl-www/issues/272 +- Closes #11569 ++ Regression from bec0c5bbf34369920598678161d2df8bea0e243b #11611 + +-Viktor Szakats (1 Aug 2023) ++ [1] https://github.com/curl/curl/pull/11611#issuecomment-1668654014 + +-- cmake: cache more config and delete unused ones ++ Reported-by: Mike Hommey ++ Reviewed-by: Daniel Stenberg ++ Fixes #12525 ++ Closes #12526 + +- - cache more Windows config results for faster initialization. ++Daniel Stenberg (14 Dec 2023) + +- - delete unused config macros `HAVE_SYS_UTSNAME_H`, `HAVE_SSL_H`. ++- libssh: supress warnings without version check + +- - delete dead references to `sys/utsname.h`. ++ Define unconditionally. + +- Closes #11551 ++ Follow-up from d21bd2190c46ad7fa + +-- egd: delete feature detection and related source code ++ Closes #12523 + +- EGD is Entropy Gathering Daemon, a socket-based entropy source supported +- by pre-OpenSSL v1.1 versions and now deprecated. curl also deprecated it +- a while ago. ++- hostip: return error immediately when Curl_ip2addr() fails + +- Its detection in CMake was broken all along because OpenSSL libs were +- not linked at the point of feature check. ++ Closes #12522 + +- Delete detection from both cmake and autotools, along with the related +- source snippet, and the `--with-egd-socket=` `./configure` option. ++Theo (14 Dec 2023) + +- Closes #11556 ++- libssh: improve the deprecation warning dismissal + +-Stefan Eissing (1 Aug 2023) ++ Previous code was compiler dependant, and dismissed all deprecation warnings ++ indiscriminately. + +-- tests: fix h3 server check and parallel instances ++ libssh provides a way to disable the deprecation warnings for libssh only, an ++ d ++ naturally this is the preferred way. + +- - fix check for availability of nghttpx server +- - add `tcp` frontend config for same port as quic, as +- without this, port 3000 is bound which clashes for parallel +- testing ++ This commit uses that, to prevent the erroneous hiding of potential, unrelate ++ d ++ deprecation warnings. + +- Closes #11553 ++ Fixes #12519 ++ Closes #12520 + +-Daniel Stenberg (1 Aug 2023) ++Daniel Stenberg (14 Dec 2023) + +-- docs/cmdline-opts: spellfixes, typos and polish ++- test1474: removed + +- To make them accepted by the spell checker ++ The test was already somewhat flaky and disabled on several platforms, ++ and after 1da640abb688 even more unstable. + +- Closes #11562 ++- readwrite_data: loop less + +-- CI/spellcheck: build curl.1 and spellcheck it ++ This function is made to loop in order to drain incoming data ++ faster. Completely removing the loop has a measerably negative impact on ++ transfer speeds. + +- Added acceptable words ++ Downsides with the looping include + +- Closes #11562 ++ - it might call the progress callback much more seldom. Especially if ++ the write callback is slow. + +-Alexander Jaeger (1 Aug 2023) ++ - rate limiting becomes less exact + +-- misc: fix various typos ++ - a single transfer might "starve out" other parallel transfers + +- Closes #11561 ++ - QUIC timers for other connections can't be maintained correctly + +-Daniel Stenberg (1 Aug 2023) ++ The long term fix should be to remove the loop and optimize coming back ++ to avoid the transfer speed penalty. + +-- http2: avoid too early connection re-use/multiplexing ++ This fix lower the max loop count to reduce the starvation problem, and ++ avoids the loop completely for when rate-limiting is in progress. + +- HTTP/1 connections that are upgraded to HTTP/2 should not be picked up +- for reuse and multiplexing by other handles until the 101 switching +- process is completed. ++ Ref: #12488 ++ Ref: https://curl.se/mail/lib-2023-12/0012.html ++ Closes #12504 + +- Lots-of-debgging-by: Stefan Eissing +- Reported-by: Richard W.M. Jones +- Bug: https://curl.se/mail/lib-2023-07/0045.html +- Closes #11557 ++Stefan Eissing (14 Dec 2023) + +-- Revert "KNOWN_BUGS: build for iOS simulator on macOS 13.2 with Xcode 14" ++- lib: eliminate `conn->cselect_bits` + +- This reverts commit 2e8a3d7cb73c85a9aa151e263315f8a496dbb9d4. ++ - use `data->state.dselect_bits` everywhere instead ++ - remove `bool *comeback` parameter as non-zero ++ `data->state.dselect_bits` will indicate that IO is ++ incomplete. + +- It's a user error for supplying incomplete information to the build system. ++ Closes #12512 + +- Reported-by: Ryan Schmidt +- Ref: https://github.com/curl/curl/issues/11215#issuecomment-1658729367 ++- connect: refactor `Curl_timeleft()` + +-Viktor Szakats (1 Aug 2023) ++ - less local vars, "better" readability ++ - added documentation + +-- cmake: add support for single libcurl compilation pass ++ Closes #12518 + +- Before this patch CMake builds used two separate compilation passes to +- build the shared and static libcurl respectively. This patch allows to +- reduce that to a single pass if the target platform and build settings +- allow it. ++Dmitry Karpov (14 Dec 2023) + +- This reduces CMake build times when building both static and shared +- libcurl at the same time, making these dual builds an almost zero-cost +- option. ++- cookie: avoid fopen with empty file name + +- Enable this feature for Windows builds, where the difference between the +- two passes was the use of `__declspec(dllexport)` attribute for exported +- API functions for the shared builds. This patch replaces this method +- with the use of `libcurl.def` at DLL link time. ++ Closes #12514 + +- Also update `Makefile.mk` to use `libcurl.def` to export libcurl API +- symbols on Windows. This simplifies (or fixes) this build method (e.g. +- in curl-for-win, which generated a `libcurl.def` from `.h` files using +- an elaborate set of transformations). ++Viktor Szakats (13 Dec 2023) + +- `libcurl.def` has the maintenance cost of keeping the list of public +- libcurl API symbols up-to-date. This list seldom changes, so the cost +- is low. ++- tests/server: delete workaround for old-mingw + +- Closes #11546 ++ mingw-w64 1.0 comes with w32api v3.12, thus doesn't need this. + +-- cmake: detect `SSL_set0_wbio` in OpenSSL ++ Follow-up to 38029101e2d78ba125732b3bab6ec267b80a0e72 #11625 + +- Present in OpenSSL 1.1.0 and BoringSSL. +- Missing from LibreSSL 3.8.0. ++ Reviewed-by: Jay Satiro ++ Closes #12510 + +- Follow-up to f39472ea9f4f4e12cfbc0500c4580a8d52ce4a59 ++- cmake: delete obsolete TODOs more [ci skip] + +- While here, also fix `RAND_egd()` detection which was broken, likely all +- along. This feature is probably broken with CMake builds and also +- requires a sufficiently obsolete OpenSSL version, so this part of the +- update was not tested. ++ - manual completed: 898b012a9bf388590c4be7f526815b5ab74feca1 #1288 ++ - soname completed: 5de6848f104d7cb0017080e31216265ac19d0dde #10023 ++ - bunch of others that are completed ++ - `NTLM_WB_ENABLED` is implemented in a basic form, and now also ++ scheduled for removal, so a TODO at this point isn't useful. + +- Closes #11555 ++ And this 'to-check' item: + +-- cmake: fixup H2 duplicate symbols for unity builds ++ Q: "The cmake build selected to run gcc with -fPIC on my box while the ++ plain configure script did not." + +- Closes #11550 ++ A: With CMake, since 2ebc74c36a19a1700af394c16855ce144d9878e3 #11546 ++ and fc9bfb14520712672b4784e8b48256fb29204011 #11627, we explicitly ++ enable PIC for libcurl shared lib. Or when building libcurl for ++ shared and static lib in a single pass. We do this by default for ++ Windows or when enabled by the user via `SHARE_LIB_OBJECT`. ++ Otherwise we don't touch this setting. Meaning the default set by ++ CMake (if any) or the toolchain is used. On Debian Bookworm, this ++ means that PIC is disabled for static libs by default. Some platforms ++ (like macOS), has PIC enabled by default. ++ autotools supports the double-pass mode only, and in that case ++ CMake seems to match PIC behaviour now (as tested on Linux with gcc.) + +-Pablo Busse (1 Aug 2023) ++ Follow-up to 5d5dfdbd1a6c40bd75e982b66f49e1fa3a7eeae7 #12500 + +-- openssl: Support async cert verify callback ++ Reviewed-by: Jay Satiro ++ Closes #12509 + +- - Update the OpenSSL connect state machine to handle +- SSL_ERROR_WANT_RETRY_VERIFY. ++Stefan Eissing (12 Dec 2023) + +- This allows libcurl users that are using custom certificate validation +- to suspend processing while waiting for external I/O during certificate +- validation. ++- CLIENT-WRITERS: design and use documentation + +- Closes https://github.com/curl/curl/pull/11499 ++ Closes #12507 + +-Jay Satiro (1 Aug 2023) ++Viktor Szakats (12 Dec 2023) + +-- tool_cb_wrt: fix invalid unicode for windows console ++- cmake: delete obsolete TODO items [ci skip] + +- - Suppress an incomplete UTF-8 sequence at the end of the buffer. ++ There is always room for improvement, but CMake is up to par now with ++ autotools, so there is no longer a good reason to keep around these ++ inline TODO items. + +- - Attempt to reconstruct incomplete UTF-8 sequence from prior call(s) +- in current call. ++ Answering one of questions: + +- Prior to this change, in Windows console UTF-8 sequences split between +- two or more calls to the write callback would cause invalid "replacement +- characters" U+FFFD to be printed instead of the actual Unicode +- character. This is because in Windows only UTF-16 encoded characters are +- printed to the console, therefore we convert the UTF-8 contents to +- UTF-16, which cannot be done with partial UTF-8 sequences. ++ Q: "The gcc command line use neither -g nor any -O options. As a ++ developer, I also treasure our configure scripts's --enable-debug ++ option that sets a long range of "picky" compiler options." + +- Reported-by: Maksim Arhipov ++ A: CMake offers the `CMAKE_BUILD_TYPE` variable to control debug info ++ and optimization level. E.g.: ++ - `Release` = `-O3` + no debug info ++ - `MinSizeRel` = `-Os` + no debug info ++ - `Debug` = `-O0` + debug info + +- Fixes https://github.com/curl/curl/issues/9841 +- Closes https://github.com/curl/curl/pull/10890 ++ https://stackoverflow.com/questions/48754619/what-are-cmake-build-type-deb ++ ug-release-relwithdebinfo-and-minsizerel/59314670#59314670 ++ https://cmake.org/cmake/help/latest/manual/cmake-buildsystem.7.html#defaul ++ t-and-custom-configurations + +-Daniel Stenberg (1 Aug 2023) ++ For picky warnings we have the `PICKY_COMPILER` options, enabled by ++ default. + +-- sectransp: prevent CFRelease() of NULL ++ Closes #12500 + +- When SecCertificateCopyCommonName() returns NULL, the common_name +- pointer remains set to NULL which apparently when calling CFRelease() on +- (sometimes?) crashes. ++Stefan Eissing (11 Dec 2023) + +- Reported-by: Guillaume Algis +- Fixes #9194 +- Closes #11554 ++- CONNECTION-FILTERS: update documentation + +-Jay Satiro (1 Aug 2023) ++ Closes #12497 + +-- vtls: clarify "ALPN: offers" message ++Daniel Stenberg (11 Dec 2023) + +- Before: +- * ALPN: offers h2,http/1.1 ++- lib: reduce use of strncpy + +- After: +- * ALPN: curl offers h2,http/1.1 ++ - bearssl: select cipher without buffer copies ++ - http_aws_sigv4: avoid strncpy, require exact timestamp length ++ - http_aws_sigv4: use memcpy isntead of strncpy ++ - openssl: avoid strncpy calls ++ - schannel: check for 1.3 algos without buffer copies ++ - strerror: avoid strncpy calls ++ - telnet: avoid strncpy, return error on too long inputs ++ - vtls: avoid strncpy in multissl_version() + +- Bug: https://curl.se/mail/lib-2023-07/0041.html +- Reported-by: Richard W.M. Jones +- Closes #11544 ++ Closes #12499 + +-Daniel Stenberg (1 Aug 2023) ++- CI/distcheck: run full tests + +-- urlapi: make sure zoneid is also duplicated in curl_url_dup ++ To be able to detect missing files better, this now runs the full CI ++ test suite. If done before, it would have detected #12462 before ++ release. + +- Add several curl_url_dup() tests to the general lib1560 test. ++ Closes #12503 + +- Reported-by: Rutger Broekhoff +- Bug: https://curl.se/mail/lib-2023-07/0047.html +- Closes #11549 ++- docs: clean up Protocols: for cmdline options + +-Sergey (1 Aug 2023) ++ ... and some other minor polish. + +-- urlapi: fix heap buffer overflow ++ Closes #12496 + +- `u->path = Curl_memdup(path, pathlen + 1);` accesses bytes after the null-ter +- minator. ++- cmdline/gen: fix the sorting of the man page options + +- ``` +- ==2676==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x04d48c75 a +- t pc 0x0112708a bp 0x006fb7e0 sp 0x006fb3c4 +- READ of size 78 at 0x04d48c75 thread T0 +- #0 0x1127089 in __asan_wrap_memcpy D:\a\_work\1\s\src\vctools\asan\llvm\c +- ompiler-rt\lib\sanitizer_common\sanitizer_common_interceptors.inc:840 +- #1 0x1891a0e in Curl_memdup C:\actions-runner\_work\client\client\third_p +- arty\curl\lib\strdup.c:97 +- #2 0x18db4b0 in parseurl C:\actions-runner\_work\client\client\third_part +- y\curl\lib\urlapi.c:1297 +- #3 0x18db819 in parseurl_and_replace C:\actions-runner\_work\client\clien +- t\third_party\curl\lib\urlapi.c:1342 +- #4 0x18d6e39 in curl_url_set C:\actions-runner\_work\client\client\third_ +- party\curl\lib\urlapi.c:1790 +- #5 0x1877d3e in parseurlandfillconn C:\actions-runner\_work\client\client +- \third_party\curl\lib\url.c:1768 +- #6 0x1871acf in create_conn C:\actions-runner\_work\client\client\third_p +- arty\curl\lib\url.c:3403 +- #7 0x186d8dc in Curl_connect C:\actions-runner\_work\client\client\third_ +- party\curl\lib\url.c:3888 +- #8 0x1856b78 in multi_runsingle C:\actions-runner\_work\client\client\thi +- rd_party\curl\lib\multi.c:1982 +- #9 0x18531e3 in curl_multi_perform C:\actions-runner\_work\client\client\ +- third_party\curl\lib\multi.c:2756 +- ``` ++ They were previously sorted based on the file names, which use a .d ++ extension, making "data" get placed after "data-binary" etc. Making the ++ sort ignore the extention fixes the ordering. + +- Closes #11560 ++ Reported-by: Boris Verkhovskiy ++ Bug: https://curl.se/mail/archive-2023-12/0014.html ++ Closes #12494 + +-Daniel Stenberg (31 Jul 2023) ++Daniel Gustafsson (9 Dec 2023) + +-- curl: make %output{} in -w specify a file to write to ++- doh: remove unused local variable + +- It can be used multiple times. Use %output{>>name} to append. ++ The nurl variable is no longer used during probing following ++ a refactoring, so remove. + +- Add docs. Test 990 and 991 verify. ++ Closes #12491 + +- Idea: #11400 +- Suggested-by: ed0d2b2ce19451f2 +- Closes #11416 ++Jay Satiro (8 Dec 2023) + +-- RELEASE-NOTES: synced ++- build: fix Windows ADDRESS_FAMILY detection + +-- tool: add "variable" support ++ - Include winsock2.h for Windows ADDRESS_FAMILY detection. + +- Add support for command line variables. Set variables with --variable +- name=content or --variable name@file (where "file" can be stdin if set +- to a single dash (-)). ++ Prior to this change cmake detection didn't work because it included ++ ws2def.h by itself, which is missing needed types from winsock2.h. + +- Variable content is expanded in option parameters using "{{name}}" +- (without the quotes) if the option name is prefixed with +- "--expand-". This gets the contents of the variable "name" inserted, or +- a blank if the name does not exist as a variable. Insert "{{" verbatim +- in the string by prefixing it with a backslash, like "\\{{". ++ Prior to this change autotools detection didn't work because it did not ++ include any Windows header. + +- Import an environment variable with --variable %name. It makes curl exit +- with an error if the environment variable is not set. It can also rather +- get a default value if the variable does not exist, using =content or +- @file like shown above. ++ In both cases libcurl would fall back on unsigned short as the address ++ family type, which is the same as ADDRESS_FAMILY. + +- Example: get the USER environment variable into the URL: ++ Co-authored-by: Viktor Szakats + +- --variable %USER +- --expand-url = "https://example.com/api/{{USER}}/method" ++ Closes https://github.com/curl/curl/pull/12441 + +- When expanding variables, curl supports a set of functions that can make +- the variable contents more convenient to use. It can trim leading and +- trailing white space with "trim", output the contents as a JSON quoted +- string with "json", URL encode it with "url" and base 64 encode it with +- "b64". To apply functions to a variable expansion, add them colon +- separated to the right side of the variable. They are then performed in +- a left to right order. ++Daniel Stenberg (8 Dec 2023) + +- Example: get the contents of a file called $HOME/.secret into a variable +- called "fix". Make sure that the content is trimmed and percent-encoded +- sent as POST data: ++- lib: rename Curl_strndup to Curl_memdup0 to avoid misunderstanding + +- --variable %HOME=/home/default +- --expand-variable fix@{{HOME}}/.secret +- --expand-data "{{fix:trim:url}}" +- https://example.com/ ++ Since the copy does not stop at a null byte, let's not call it anything ++ that makes you think it works like the common strndup() function. + +- Documented. Many new test cases. ++ Based on feedback from Jay Satiro, Stefan Eissing and Patrick Monnerat + +- Co-brainstormed-by: Emanuele Torre +- Assisted-by: Jat Satiro +- Closes #11346 ++ Closes #12490 + +-- KNOWN_BUGS: cygwin: make install installs curl-config.1 twice ++- convsrctest.pl: removed: not used, not shipped in tarballs + +- Closes #8839 ++- tests: rename tests scripts to the test number + +-- KNOWN_BUGS: build for iOS simulator on macOS 13.2 with Xcode 14 ++ It is hard to name the scripts sensibly. Lots of them are similarly ++ named and the name did not tell which test that used them. + +- Closes #11215 ++ The new approach is rather to name them based on the test number that ++ runs them. Also helps us see which scripts are for individual tests ++ rather than for general test infra. + +-- KNOWN_BUGS: cmake outputs: no version information available ++ - badsymbols.pl -> test1167.pl ++ - check-deprecated.pl -> test1222.pl ++ - check-translatable-options.pl -> test1544.pl ++ - disable-scan.pl -> test1165.pl ++ - error-codes.pl -> test1175.pl ++ - errorcodes.pl -> test1477.pl ++ - extern-scan.pl -> test1135.pl ++ - manpage-scan.pl -> test1139.pl ++ - manpage-syntax.pl -> test1173.pl ++ - markdown-uppercase.pl -> test1275.pl ++ - mem-include-scan.pl -> test1132.pl ++ - nroff-scan.pl -> test1140.pl ++ - option-check.pl -> test1276.pl ++ - options-scan.pl -> test971.pl ++ - symbol-scan.pl -> test1119.pl ++ - version-scan.pl -> test1177.pl + +- Closes #11158 ++ Closes #12487 + +-- KNOWN_BUGS: APOP authentication fails on POP3 ++MichaÅ‚ Antoniak (8 Dec 2023) + +- Closes #10073 ++- sendf: fix compiler warning with CURL_DISABLE_HEADERS_API + +-- KNOWN_BUGS: hyper is slow ++ fix MSVC warning C4189: 'htype': local variable is initialized but not ++ referenced - when CURL_DISABLE_HEADERS_API is defined. + +- Closes #11203 ++ Closes #12485 + +-Patrick Monnerat (31 Jul 2023) ++Viktor Szakats (8 Dec 2023) + +-- configure, cmake, lib: more form api deprecation ++- tidy-up: whitespace + +- Introduce a --enable-form-api configure option to control its inclusion +- in builds. The condition name defined for it is CURL_DISABLE_FORM_API. ++ Closes #12484 + +- Form api code is dependent of MIME: configure and CMake handle this +- dependency automatically: CMake by making it a dependent option +- explicitly, configure by inheriting the MIME value by default and +- rejecting explicit incompatible values. ++Stefan Eissing (7 Dec 2023) + +- "form-api" is now a new hidden test feature. ++- test_02_download: fix paramters to test_02_27 + +- Update libcurl modules to respect this option and adjust tests +- accordingly. ++ - it is a special client that only ever uses http/2 + +- Closes #9621 ++ Closes #12467 + +-Daniel Stenberg (31 Jul 2023) ++MichaÅ‚ Antoniak (7 Dec 2023) + +-- mailmap: add Derzsi Dániel ++- vtls: remove the Curl_cft_ssl_proxy object if CURL_DISABLE_PROXY + +-Derzsi Dániel (31 Jul 2023) ++ Closes #12459 + +-- wolfssl: support loading system CA certificates ++Daniel Stenberg (7 Dec 2023) + +- Closes #11452 ++- lib: strndup/memdup instead of malloc, memcpy and null-terminate + +-Viktor Szakats (30 Jul 2023) ++ - bufref: use strndup ++ - cookie: use strndup ++ - formdata: use strndup ++ - ftp: use strndup ++ - gtls: use aprintf instead of malloc + strcpy * 2 ++ - http: use strndup ++ - mbedtls: use strndup ++ - md4: use memdup ++ - ntlm: use memdup ++ - ntlm_sspi: use strndup ++ - pingpong: use memdup ++ - rtsp: use strndup instead of malloc, memcpy and null-terminate ++ - sectransp: use strndup ++ - socks_gssapi.c: use memdup ++ - vtls: use dynbuf instead of malloc, snprintf and memcpy ++ - vtls: use strdup instead of malloc + memcpy ++ - wolfssh: use strndup + +-- nss: delete more NSS references ++ Closes #12453 + +- Fix the distcheck CI failure and delete more NSS references. ++- strdup: remove the memchr check from Curl_strndup + +- Follow-up to 7c8bae0d9c9b2dfeeb008b9a316117d7b9675175 ++ It makes it possible to clone a binary chunk of data. + +- Reviewed-by: Marcel Raad +- Reviewed-by: Daniel Stenberg +- Closes #11548 ++ Closes #12453 + +-Daniel Stenberg (29 Jul 2023) ++- ftp: handle the PORT parsing without allocation + +-- nss: remove support for this TLS library ++ Also reduces amount of *cpy() calls. + +- Closes #11459 ++ Closes #12456 + +-Ryan Schmidt (29 Jul 2023) ++- RELEASE-NOTES: synced + +-- macOS: fix target detection more ++ Bumped to 8.5.1 + +- Now SCDynamicStoreCopyProxies is called (and the required frameworks are +- linked in) on all versions of macOS and only on macOS. Fixes crash due +- to undefined symbol when built with the macOS 10.11 SDK or earlier. ++- url: for disabled protocols, mention if found in redirect + +- CURL_OSX_CALL_COPYPROXIES is renamed to CURL_MACOS_CALL_COPYPROXIES and +- is now only defined when SCDynamicStoreCopyProxies will actually be +- called. Previously, it was defined when ENABLE_IPV6 was not defined but +- SCDynamicStoreCopyProxies is not called in that case. ++ To help users better understand where the URL (and denied scheme) comes ++ from. Also removed "in libcurl" from the message, since the disabling ++ can be done by the application. + +- TARGET_OS_OSX is only defined in the macOS 10.12 SDK and later and only +- when dynamic targets are enabled. TARGET_OS_MAC is always defined but +- means any Mac OS or derivative including macOS, iOS, tvOS, and watchOS. +- TARGET_OS_IPHONE means any Darwin OS other than macOS. ++ The error message now says "not supported" or "disabled" depending on ++ why it was denied: + +- Follow-up to c73b2f82 ++ Protocol "hej" not supported ++ Protocol "http" disabled + +- Fixes #11502 +- Closes #11516 ++ And in redirects: + +-Daniel Stenberg (29 Jul 2023) ++ Protocol "hej" not supported (in redirect) ++ Protocol "http" disabled (in redirect) + +-- tool_operate: allow SSL_CERT_FILE and SSL_CERT_DIR ++ Reported-by: Mauricio Scheffer ++ Fixes #12465 ++ Closes #12469 + +- ... used at once. ++Stefan Eissing (6 Dec 2023) + +- Reported-by: Gabriel Corona +- Fixes #11325 +- Closes #11531 ++- sectransp_ make TLSCipherNameForNumber() available in non-verbose config + +-Thomas M. DuBuisson (29 Jul 2023) ++ Reported-by: Cajus Pollmeier ++ Closes #12476 ++ Fixes #12474 + +-- CI: remove Lift's configuration ++YX Hao (6 Dec 2023) + +- The Lift tool is being retired. Their site reads: ++- lib: fix variable undeclared error caused by `infof` changes + +- "Sonatype Lift will be retiring on Sep 12, 2023, with its analysis +- stopping on Aug 12, 2023." ++ `--disable-verbose` yields `CURL_DISABLE_VERBOSE_STRINGS` defined. ++ `infof` isn't `Curl_nop_stmt` anymore: dac293c. + +- Closes #11541 ++ Follow-up to dac293c + +-Nathan Moinvaziri (29 Jul 2023) ++ Closes #12470 + +-- Revert "schannel: reverse the order of certinfo insertions" ++Viktor Szakats (6 Dec 2023) + +- This reverts commit 8986df802db9b5338d9d50a54232ebae4dbcf6dd. ++- tidy-up: fix yamllint whitespace issues in labeler.yml + +- Windows does not guarantee a particular certificate ordering, even +- though TLS may have its own ordering/relationship guarantees. Recent +- versions of Windows 11 reversed the ordering of ceritifcates returned by +- CertEnumCertificatesInStore, therefore this commit no longer works as +- initially intended. libcurl makes no guarantees about certificate +- ordering if the operating system can't. ++ Follow-up to bda212911457c6fadfbba50be61afc4ca513fa56 #12466 + +- Ref: https://github.com/curl/curl/issues/9706 ++ Reviewed-by: Dan Fandrich ++ Closes #12475 + +- Closes https://github.com/curl/curl/pull/11536 ++- tidy-up: fix yamllint whitespace issues + +-wangzhikun (29 Jul 2023) ++ Closes #12466 + +-- winbuild: improve check for static zlib ++Chris Sauer (6 Dec 2023) + +- - Check for zlib static library name zlibstatic.lib. ++- cmake: fix typo + +- zlib's static library has a different name depending on how it was +- built. zlibstatic.lib is output by cmake. zlibstat.lib is output by +- their pre-generated Visual Studio project files (in the contrib +- directory) and defines ZLIB_WINAPI (ie it's meant to use stdcall +- instead of cdecl if you end up exporting the zlib functions). ++ Follow-up to aace27b ++ Closes #12464 + +- Prior to this change the makefile only checked for the latter. ++Daniel Stenberg (6 Dec 2023) + +- Closes https://github.com/curl/curl/pull/11521 ++- dist: add tests/errorcodes.pl to the tarball + +-Daniel Stenberg (29 Jul 2023) ++ Used by test 1477 + +-- configure: use the pkg-config --libs-only-l flag for libssh2 ++ Reported-by: Xi Ruoyao ++ Follow-up to 0ca3a4ec9a7 ++ Fixes #12462 ++ Closes #12463 + +- ... instead of --libs, as that one also returns -L flags. ++Dan Fandrich (6 Dec 2023) + +- Reported-by: Wilhelm von Thiele +- Fixes #11538 +- Closes #11539 ++- github/labeler: update a missed key in the v5 upgrade + +-Viktor Szakats (29 Jul 2023) ++ Follow-up to ce03fe3ba + +-- cmake: support building static and shared libcurl in one go ++Version 8.5.0 (6 Dec 2023) + +- This patch adds the ability to build a static and shared libcurl library +- in a single build session. It also adds an option to select which one to +- use when building the curl executable. ++Daniel Stenberg (6 Dec 2023) + +- New build options: +- - `BUILD_STATIC_LIBS`. Default: `OFF`. +- Enabled automatically if `BUILD_SHARED_LIBS` is `OFF`. +- - `BUILD_STATIC_CURL`. Default: `OFF`. +- Requires `BUILD_STATIC_LIBS` enabled. +- Enabled automatically if building static libcurl only. +- - `STATIC_LIB_SUFFIX`. Default: empty. +- - `IMPORT_LIB_SUFFIX`. Default: `_imp` if implib filename would collide +- with static lib name (typically with MSVC) in Windows builds. +- Otherwise empty. ++- RELEASE-NOTES: synced + +- Also: ++ The curl 8.5.0 release. + +- - Stop setting the `CURL_STATICLIB` macro via `curl_config.h`, and pass +- it directly to the compiler. This also allows to delete a condition +- from `tests/server/CMakeLists.txt`. ++Dan Fandrich (5 Dec 2023) + +- - Complete a TODO by following the logic used in autotools (also for +- `LIBCURL_NO_SHARED`), and set `-DCURL_STATICLIB` in `Cflags:` of +- `libcurl.pc` for _static-only_ curl builds. ++- github/labeler: switch from the beta to labeler v5 + +- - Convert an existing CI test to build both shared and static libcurl. ++ Some keys were renamed and the dot option was made default. + +- Closes #11505 ++ Closes #12458 + +-Stefan Eissing (28 Jul 2023) ++Daniel Stenberg (5 Dec 2023) + +-- CI/awslc: add cache for build awslc library ++- DEPRECATE: remove NTLM_WB in June 2024 + +- Closes #11535 ++ Ref: https://curl.se/mail/lib-2023-12/0010.html + +-- GHA/linux.yml: add caching ++ Closes #12451 + +- Closes #11532 ++Jacob Hoffman-Andrews (4 Dec 2023) + +-Daniel Stenberg (27 Jul 2023) ++- rustls: implement connect_blocking + +-- RELEASE-NOTES: synced ++ Closes #11647 + +- Bump working version to 8.3.0 ++Daniel Stenberg (4 Dec 2023) + +-- url: remove infof() output for "still name resolving" ++- examples/rtsp-options.c: add + +- The message does not help and might get spewed a lot during times. ++ Just a bare bones RTSP example using CURLOPT_RTSP_SESSION_ID and ++ CURLOPT_RTSP_REQUEST set to CURL_RTSPREQ_OPTIONS. + +- Reported-by: yushicheng7788 on github +- Fixes #11394 +- Closes #11529 ++ Closes #12452 + +-- KNOWN_BUGS: cygwin: "WARNING: UNPROTECTED PRIVATE KEY FILE!" ++Stefan Eissing (4 Dec 2023) + +- Closes #11244 ++- ngtcp2: ignore errors on unknown streams + +-Stefan Eissing (27 Jul 2023) ++ - expecially in is_alive checks on connections, we might ++ see incoming packets on streams already forgotten and closed, ++ leading to errors reported by nghttp3. Ignore those. + +-- CI: quiche updates ++ Closes #12449 + +- - remove quiche from standard `linux` workflow +- - add mod_h2 caching to quiche workflow +- - rename quiche to quiche-linux +- - move version definitions into env section ++Daniel Stenberg (4 Dec 2023) + +- Closes #11528 ++- docs: make all examples in all libcurl man pages compile + +-- http2: disable asssertion blocking OSSFuzz testing ++ Closes #12448 + +- - not clear how this triggers and it blocks OSSFuzz testing other +- things. Since we handle the case with an error return, disabling the +- assertion for now seems the best way forward. ++- checksrc.pl: support #line instructions + +- Fixes #11500 +- Closes #11519 ++ makes it identify the correct source file and line + +-- http2: fix in h2 proxy tunnel: progress in ingress on sending ++- GHA/man-examples: verify libcurl man page examples + +- - depending on what is tunneled, the proxy may never get invoked for +- receiving data explicitly. Not progressing ingress may lead to stalls +- due to missed WINDOW_UPDATEs. ++- verify-examples.pl: verify that all man page examples compile clean + +- CI: +- - add a chache for building mod_h2 ++- RELEASE-NOTES: synced + +- Closes #11527 ++Graham Campbell (2 Dec 2023) + +-- CI ngtcp2+quictls: use nghttpx cache as in quiche build ++- http3: bump ngtcp2 and nghttp3 versions + +-Jay Satiro (27 Jul 2023) ++ nghttp3 v1.1.0 ++ ngtcp2 v1.1.0 + +-- bearssl: don't load CA certs when peer verification is disabled ++ In docs and CI + +- We already do this for other SSL backends. ++ Closes #12446 + +- Bug: https://github.com/curl/curl/pull/11457#issuecomment-1644587473 +- Reported-by: kyled-dell@users.noreply.github.com ++- CI/quiche: use `3.1.4+quic` consistently in CI workflows + +- Closes https://github.com/curl/curl/pull/11497 ++ Closes #12447 + +-Daniel Stenberg (26 Jul 2023) ++Viktor Szakats (2 Dec 2023) + +-- easy: remove #ifdefs to make code easier on the eye ++- test1545: disable deprecation warnings + +- Closes #11525 ++ Fixes: ++ https://ci.appveyor.com/project/curlorg/curl/builds/48631551/job/bhx74e0i66yr ++ p6pk#L1205 + +-Stefan Eissing (26 Jul 2023) ++ Same with details: ++ https://ci.appveyor.com/project/curlorg/curl/builds/48662893/job/ol8a78q9gmil ++ b6wt#L1263 ++ ``` ++ tests/libtest/lib1545.c:38:3: error: 'curl_formadd' is deprecated: since 7.56 ++ .0. Use curl_mime_init() [-Werror=deprecated-declarations] ++ 38 | curl_formadd(&m_formpost, &lastptr, CURLFORM_COPYNAME, "file", ++ | ^~~~~~~~~~~~ ++ [...] ++ ``` + +-- GHA: adding quiche workflow ++ Follow-up to 07a3cd83e0456ca17dfd8c3104af7cf45b7a1ff5 #12421 + +- - adding separate quiche workflow to also build nghttpx server for testing ++ Fixes #12445 ++ Closes #12444 + +- Closes #11517 ++Daniel Stenberg (2 Dec 2023) + +-Version 8.2.1 (26 Jul 2023) ++- INSTALL: update list of ports and CPU archs + +-Daniel Stenberg (26 Jul 2023) ++- symbols-in-versions: the CLOSEPOLICY options are deprecated + +-- RELEASE-NOTES: synced ++ The were used with the CURLOPT_CLOSEPOLICY option, which *never* worked. + +- curl 8.2.1 release ++z2_ (1 Dec 2023) + +-- THANKS: add contributors from 8.2.1 ++- build: fix builds that disable protocols but not digest auth + +-- docs: provide more see also for cipher options ++ - Build base64 functions if digest auth is not disabled. + +- More cross references. Hide nroff errors. ++ Prior to this change if some protocols were disabled but not digest auth ++ then a build error would occur due to missing base64 functions. + +- Closes #11513 ++ Fixes https://github.com/curl/curl/issues/12440 ++ Closes https://github.com/curl/curl/pull/12442 + +-- docs: mark two TLS options for TLS, not SSL ++MichaÅ‚ Antoniak (1 Dec 2023) + +- Closes #11514 ++- connect: reduce number of transportation providers + +-Brad Harder (25 Jul 2023) ++ Use only the ones necessary - the ones that are built-in. Saves a few ++ bytes in the resulting code. + +-- curl_multi_wait.3: fix arg quoting to doc macro .BR ++ Closes #12438 + +- Closes #11511 ++David Benjamin (1 Dec 2023) + +-Daniel Stenberg (24 Jul 2023) ++- vtls: consistently use typedef names for OpenSSL structs + +-- RELEASE-NOTES: synced ++ The foo_st names don't appear in OpenSSL public API documentation. The ++ FOO typedefs are more common. This header was already referencing ++ SSL_CTX via . There is a comment about avoiding ++ , but OpenSSL actually declares all the typedefs in ++ , which is already included by (and ++ every other OpenSSL header), so just use that. Though I've included it ++ just to be explicit. + +-Viktor Szakats (24 Jul 2023) ++ (I'm also fairly sure including already triggers the ++ Schannel conflicts anyway. The comment was probably just out of date.) + +-- cmake: update ngtcp2 detection ++ Closes #12439 + +- Replace `OpenSSL` with `quictls` to follow the same change +- in the v0.17.0 ngtcp2 release. ++Lau (1 Dec 2023) + +- Follow-up to e0093b4b732f6495b0fb1cd6747cbfedcdcf63ed ++- libcurl-security.3: fix typo + +- Closes #11508 ++ Fixed minimal typo. + +-Stefan Eissing (24 Jul 2023) ++ Closes #12437 + +-- http: VLH, very large header test and fixes ++Stefan Eissing (1 Dec 2023) + +- - adding tests using very large passwords in auth +- - fixes general http sending to treat h3 like h2, and +- not like http1.1 +- - eliminate H2_HEADER max definitions and use the commmon +- DYN_HTTP_REQUEST everywhere, different limits do not help +- - fix http2 handling of requests denied by nghttp2 on send +- to immediately report the refused stream ++- ngtcp2: fix races in stream handling + +- Closes #11509 ++ - fix cases where ngtcp2 invokes callbacks on streams that ++ nghttp3 has already forgotten. Ignore the NGHTTP3_ERR_STREAM_NOT_FOUND ++ in these cases as it is normal behaviour. + +-Andrei Rybak (23 Jul 2023) ++ Closes #12435 + +-- CONTRIBUTE: drop mention of copyright year ranges ++Emanuele Torre (1 Dec 2023) + +- Year ranges in copyrights were dropped in commits [1] and [2]. +- Verification of year ranges in copyrights was dropped from script +- 'scripts/copyright.pl' in commit [3]. However, the corresponding +- passages in file 'docs/CONTRIBUTE.md' weren't updated. ++- tool_writeout_json: fix JSON encoding of non-ascii bytes + +- Drop mentions of copyright year ranges from 'docs/CONTRIBUTE.md'. ++ char variables if unspecified can be either signed or unsigned depending ++ on the platform according to the C standard; in most platforms, they are ++ signed. + +- [1] 2bc1d775f (copyright: update all copyright lines and remove year +- ranges, 2023-01-02) +- [2] c46761bd8 (tests/http: remove year ranges from copyrights, +- 2023-03-14) +- [3] 0e293bacb (copyright.pl: cease doing year verifications, 2023-01-28) ++ This meant that the *i<32 waas always true for bytes with the top bit ++ set. So they were always getting encoded as \uXXXX, and then since they ++ were also signed negative, they were getting extended with 1s causing ++ '\xe2' to be expanded to \uffffffe2, for example: + +- Closes #11504 ++ $ curl --variable 'v=“' --expand-write-out '{{v:json}}\n' file:///dev/nul ++ l ++ \uffffffe2\uffffff80\uffffff9c + +-- CONTRIBUTE: fix syntax in commit message description ++ I fixed this bug by making the code use explicitly unsigned char* ++ variables instead of char* variables. + +- File 'docs/CONTRIBUTE.md' includes a description of how one should write +- commit messages in the curl project. Different possible parts of the +- message are enclosed in square brackets. One exception is the section +- describing how the curl project doesn't use "Signed-off-by" commit +- trailers [1], which is enclosed in an opening curly brace paired with a +- closing square bracket. ++ Test 268 verifies + +- Fix the enclosing square brackets in description of "Signed-off-by" +- trailers in commit messages in file 'docs/CONTRIBUTE.md'. ++ Reported-by: iconoclasthero ++ Closes #12434 + +- [1] See description of option '--signoff' in Git documentation: +- https://git-scm.com/docs/git-commit ++Stefan Eissing (1 Dec 2023) + +- Closes #11504 ++- cf-socket: TCP trace output local address used in connect + +-Daniel Stenberg (23 Jul 2023) ++ Closes #12427 + +-- src/mkhelp: strip off escape sequences ++Jay Satiro (1 Dec 2023) + +- At some point the nroff command stopped stripping off escape sequences, +- so then this script needs to do the job instead. ++- CURLINFO_PRETRANSFER_TIME_T.3: fix time explanation + +- Reported-by: VictorVG on github +- Fixes #11501 +- Closes #11503 ++ - Change CURLINFO_PRETRANSFER_TIME_T explanation to say that it ++ includes protocol-specific instructions that trigger a transfer. + +-- KNOWN_BUGS: building for old macOS fails with gcc ++ Prior to this change it explicitly said that it did not include those ++ instructions in the time, but that is incorrect. + +- Closes #11441 ++ The change is a copy of the fixed explanation already in ++ CURLINFO_PRETRANSFER_TIME, fixed by ec8dcd7b. + +-Jacob Hoffman-Andrews (22 Jul 2023) ++ Reported-by: eeverettrbx@users.noreply.github.com + +-- rustls: update rustls-ffi 0.10.0 ++ Fixes https://github.com/curl/curl/issues/12431 ++ Closes https://github.com/curl/curl/pull/12432 + +- This brings in version 0.21.0 of the upstream rustls implementation, +- which notable includes support for IP address certificates. ++Daniel Stenberg (30 Nov 2023) + +- Closes #10865 ++- multi: during ratelimit multi_getsock should return no sockets + +-Brad Harder (22 Jul 2023) ++ ... as there is nothing to wait for then, it just waits. Otherwise, this ++ causes much more CPU work and updates than necessary during ratelimit ++ periods. + +-- websocket: rename arguments/variables to match docs ++ Ref: https://curl.se/mail/lib-2023-11/0056.html ++ Closes #12430 + +- Pedantry/semantic-alignment between functions, docs, comments with +- respect to websocket protocol code; No functional change intended. ++Dmitry Karpov (30 Nov 2023) + +- * "totalsize", "framesize" becomes "fragsize" (we deal in frame fragments). ++- transfer: abort pause send when connection is marked for closing + +- * "sendflags" becomes "flags" ++ This handles cases of some bi-directional "upgrade" scenarios ++ (i.e. WebSockets) where sending is paused until some "upgrade" handshake ++ is completed, but server rejects the handshake and closes the ++ connection. + +- * use canonical CURL *handle ++ Closes #12428 + +- Closes #11493 ++Daniel Stenberg (28 Nov 2023) + +-Jan Macku (21 Jul 2023) ++- RELEASE-NOTES: synced + +-- bug_report: use issue forms instead of markdown template ++- openssl: when a session-ID is reused, skip OCSP stapling + +- Issue forms allow you to define web-like input forms using YAML +- syntax. It allows you to guide the reporter to get the required +- information. ++ Fixes #12399 ++ Reported-by: Alexey Larikov ++ Closes #12418 + +- Signed-off-by: Jan Macku +- Closes #11474 ++- test1545: test doing curl_formadd twice with missing file + +-Daniel Stenberg (21 Jul 2023) ++ Reproduces #12410 ++ Verifies the fix ++ Closes #12421 + +-- TODO: Obey Retry-After in redirects ++- Curl_http_body: cleanup properly when Curl_getformdata errors + +- (remove "Set custom client ip when using haproxy protocol" which was +- shipped in 8.2.0) ++ Reported-by: yushicheng7788 on github ++ Based-on-work-by: yushicheng7788 on github ++ Fixes #12410 ++ Closes #12421 + +- Mentioned-by: Yair Lenga +- Closes #11447 ++- test1477: verify that libcurl-errors.3 and public headers are synced + +-- RELEASE-NOTES: synced ++ The script errorcodes.pl extracts all error codes from all headers and ++ checks that they are all documented, then checks that all documented ++ error codes are also specified in a header file. + +-Oliver Roberts (21 Jul 2023) ++ Closes #12424 + +-- amissl: fix AmiSSL v5 detection ++- libcurl-errors.3: sync with current public headers + +- Due to changes in the AmiSSL SDK, the detection needed adjusting. ++ Closes #12424 + +- Closes #11477 ++Stefan Eissing (28 Nov 2023) + +-Alois Klink (21 Jul 2023) ++- test459: fix for parallel runs + +-- unittest/makefile: remove unneeded unit1621_LDADD ++ - change warniing message to work better with varying filename ++ length. ++ - adapt test output check to new formatting + +- The `unit1621_LDADD` variable has the exact same value as the `LDADD` +- flag in `Makefile.am`, except without `@LDFLAGS@ @LIBCURL_LIBS@`. ++ Follow-up to 97ccc4479f77ba3191c6 ++ Closes #12423 + +- This was originally added by [98e6629][], but I can't see any reason +- why it exists, so we should remove it to clean things up. ++Daniel Stenberg (27 Nov 2023) + +- [98e6629]: https://github.com/curl/curl/commit/98e6629154044e4ab1ee7cff8351c7 +- ebcb131e88 ++- tool_cb_prg: make the carriage return fit for wide progress bars + +- Closes #11494 ++ When the progress bar was made max width (256 columns), the fly() ++ function attempted to generate its output buffer too long so that the ++ trailing carriage return would not fit and then the output would show ++ wrongly. The fly function is called when the expected total transfer is ++ unknown, which could be one or more progress calls before the actual ++ progress meter get shown when the expected transfer size is provided. + +-- unittest/makefile: remove unneeded unit1394_LDADD ++ This new take also replaces the msnprintf() call with a much simpler ++ memset() for speed. + +- These custom `unit1394_LDADD` and similar automake overrides are no +- longer neded. They were originally added by added by [8dac7be][] for +- metalink support, but are no longer after [265b14d][] removed metalink. ++ Reported-by: Tim Hill ++ Fixes #12407 ++ Closes #12415 + +- [8dac7be]: https://github.com/curl/curl/commit/8dac7be438512a8725d3c71e9139bd +- fdcac1ed8c +- [265b14d]: https://github.com/curl/curl/commit/265b14d6b37c4298bd5556fabcbc37 +- d36f911693 ++- tool_parsecfg: make warning output propose double-quoting + +- Closes #11494 ++ When the config file parser detects a word that *probably* should be ++ quoted, mention double-quotes as a possible remedy. + +-- cmake: add `libcurlu`/`libcurltool` for unit tests ++ Test 459 verifies. + +- Add a `libcurlu`/`libcurltool` static library that is compiled only for +- unit tests. We use `EXCLUDE_FROM_ALL` to make sure that they're not +- built by default, they're only built if unit tests are built. ++ Proposed-by: Jiehong on github ++ Fixes #12409 ++ Closes #12412 + +- These libraries allow us to compile every unit test with CMake. ++Jay Satiro (26 Nov 2023) + +- Closes #11446 ++- curl.rc: switch out the copyright symbol for plain ASCII + +-Daniel Stenberg (21 Jul 2023) ++ .. like we already do for libcurl.rc. + +-- test979: test -u with redirect to (the same) absolute host ++ libcurl.rc copyright symbol used to cause a "non-ascii 8-bit codepoint" ++ warning so it was switched to ascii. + +- Verifies #11492 ++ Ref: https://github.com/curl/curl/commit/1ca62bb5#commitcomment-133474972 + +-- transfer: do not clear the credentials on redirect to absolute URL ++ Suggested-by: Robert Southee + +- Makes test 979 work. Regression shipped in 8.2.0 from commit +- dd4d1a26959f63a2c ++ Closes https://github.com/curl/curl/pull/12403 + +- Fixes #11486 +- Reported-by: Cloudogu Siebels +- Closes #11492 ++Daniel Stenberg (26 Nov 2023) + +-Jon Rumsey (20 Jul 2023) ++- conncache: use the closure handle when disconnecting surplus connections + +-- os400: correct EXPECTED_STRING_LASTZEROTERMINATED ++ Use the closure handle for disconnecting connection cache entries so ++ that anything that happens during the disconnect is not stored and ++ associated with the 'data' handle which already just finished a transfer ++ and it is important that details from the unrelated disconnect does not ++ taint meta-data in the data handle. + +- Correct EXPECTED_STRING_LASTZEROTERMINATED to account for +- CURLOPT_HAPROXY_CLIENT_IP which requires EBCDIC to ASCII conversion when +- passed into curl_easy_setopt(). ++ Like storing the response code. + +- Closes #11476 ++ This also adjust test 1506. Unfortunately it also removes a key part of ++ the test that verifies that a connection is closed since when this ++ output vanishes (because the closure handle is used), we don't know ++ exactly that the connection actually gets closed in this test... + +-Oliver Roberts (20 Jul 2023) ++ Reported-by: ohyeaah on github ++ Fixes #12367 ++ Closes #12405 + +-- amissl: add missing signal.h include ++- RELEASE-NOTES: synced + +- In some environments, signal.h is already included, but not in others +- which cause compilation to fail, so explictly include it. ++Stefan Eissing (24 Nov 2023) + +- Closes #11478 ++- quic: make eyeballers connect retries stop at weird replies + +-- amigaos: fix sys/mbuf.h m_len macro clash ++ - when a connect immediately goes into DRAINING state, do ++ not attempt retries in the QUIC connection filter. Instead, ++ return CURLE_WEIRD_SERVER_REPLY ++ - When eyeballing, interpret CURLE_WEIRD_SERVER_REPLY as an ++ inconclusive answer. When all addresses have been attempted, ++ rewind the address list once on an inconclusive answer. ++ - refs #11832 where connects were retried indefinitely until ++ the overall timeout fired + +- The updated Curl_http_req_make and Curl_http_req_make2 functions spawned +- a parameter called m_len. The AmigaOS networking headers, derived from +- NetBSD, contain "#define m_len m_hdr.mh_len" which clashes with +- this. Since we do not actually use mbuf, force the include file to be +- ignored, removing the clash. ++ Closes #12400 + +- Closes #11479 ++Daniel Stenberg (24 Nov 2023) + +-Daniel Stenberg (20 Jul 2023) ++- CI: verify libcurl function SYNPOSIS sections + +-- socks: print ipv6 address within brackets ++ With the .github/scripits/verify-synopsis.pl script + +- Fixes #11483 +- Closes #11484 ++ Closes #12402 + +-Christian Schmitz (20 Jul 2023) ++- docs/libcurl: SYNSOPSIS cleanup + +-- libcurl-errors.3: add CURLUE_OK ++ - use the correct include file ++ - make sure they are declared as in the header file ++ - fix minor nroff syntax mistakes (missing .fi) + +- Closes #11488 ++ These are verified by verify-synopsis.pl, which extracts the SYNPOSIS ++ code and runs it through gcc. + +-Oliver Roberts (20 Jul 2023) ++ Closes #12402 + +-- cfilters: rename close/connect functions to avoid clashes ++- sendf: fix comment typo + +- Rename `close` and `connect` in `struct Curl_cftype` for +- consistency and to avoid clashes with macros of the same name +- (the standard AmigaOS networking connect() function is implemented +- via a macro). ++- fopen: allocate the dir after fopen + +- Closes #11491 ++ Move the allocation of the directory name down to after the fopen() call ++ to allow that shortcut code path to avoid a superfluous malloc+free ++ cycle. + +-Stefan Eissing (20 Jul 2023) ++ Follow-up to 73b65e94f35311 + +-- http2: fix regression on upload EOF handling ++ Closes #12398 + +- - a regression introduced by c9ec85121110d7cbbbed2990024222c8f5b8afe5 +- where optimization of small POST bodies leads to a new code path +- for such uploads that did not trigger the "done sending" event +- - add triggering this event for early "upload_done" situations ++Stefan Eissing (24 Nov 2023) + +- Fixes #11485 +- Closes #11487 +- Reported-by: Aleksander Mazur ++- transfer: cleanup done+excess handling + +-Daniel Stenberg (19 Jul 2023) ++ - add `SingleRequest->download_done` as indicator that ++ all download bytes have been received ++ - remove `stop_reading` bool from readwrite functions ++ - move excess body handling into client download writer + +-- configure: check for nghttp2_session_get_stream_local_window_size ++ Closes #12371 + +- The http2 code uses it now. Introduced in nghttp2 1.15.0 (Sep 2016) ++Daniel Stenberg (23 Nov 2023) + +- Fixes #11470 +- Reported-by: Paul Howarth +- Closes #11473 ++- fopen: create new file using old file's mode + +-Stefan Eissing (19 Jul 2023) ++ Because the function renames the temp file to the target name as a last ++ step, if the file was previously owned by a different user, not ORing ++ the old mode could otherwise end up creating a file that was no longer ++ readable by the original owner after save. + +-- quiche: fix segfault and other things ++ Reported-by: Loïc Yhuel ++ Fixes #12299 ++ Closes #12395 + +- - refs #11449 where a segfault is reported when IP Eyeballing did +- not immediately connect but made several attempts +- - The transfer initiating the eyeballing was initialized too early, +- leadding to references to the filter instance that was then +- replaced in the subsequent eyeball attempts. That led to a use +- after free in the buffer handling for the transfer +- - transfers are initiated now more lazy (like in the ngtcp2 filter), +- when the stream is actually opened +- - suppress reporting on quiche event errors for "other" transfers +- than the current one to not fail a transfer due to faults in +- another one. +- - revert recent return value handling for quiche_h3_recv_body() +- to not indicate an error but an EAGAIN situation. We wish quiche +- would document what functions return. ++- test1476: require proxy + +- Fixes #11449 +- Closes #11469 +- Reported-by: ウã•ã‚“ ++ Follow-up from 323df4261c3542 + +-Daniel Stenberg (19 Jul 2023) ++ Closes #12394 + +-- hostip: return IPv6 first for localhost resolves ++- fopen: create short(er) temporary file name + +- Fixes #11465 +- Reported-by: Chilledheart on github +- Closes #11466 ++ Only using random letters in the name plus a ".tmp" extension. Not by ++ appending characters to the final file name. + +-Harry Sintonen (19 Jul 2023) ++ Reported-by: Maksymilian Arciemowicz + +-- tool: fix tool_seek_cb build when SIZEOF_CURL_OFF_T > SIZEOF_OFF_T ++ Closes #12388 + +- - a variable was renamed, and some use of it wasn't. this fixes the +- build. ++Stefan Eissing (23 Nov 2023) + +- Closes #11468 ++- tests: git ignore generated second-hsts.txt file + +-Stefan Eissing (19 Jul 2023) ++ File is generated in test lib1900 + +-- quiche: fix lookup of transfer at multi ++ Follow-up to 7cb03229d9e9c5 + +- - refs #11449 where weirdness in quiche multi connection tranfers was +- observed +- - fixes lookup of transfer for a quiche event to take the connection +- into account +- - formerly, a transfer with the same stream_id, but on another connection +- could be found ++ Closes #12393 + +- Closes #11462 ++Viktor Szakats (23 Nov 2023) + +-Daniel Stenberg (19 Jul 2023) ++- openssl: enable `infof_certstack` for 1.1 and LibreSSL 3.6 + +-- RELEASE-NOTES: synced ++ Lower the barrier to enable `infof_certstack()` from OpenSSL 3 to ++ OpenSSL 1.1.x, and LibreSSL 3.6 or upper. + +- bump to 8.2.1 ++ With the caveat, that "group name" and "type name" are missing from ++ the log output with these TLS backends. + +-John Haugabook (19 Jul 2023) ++ Follow-up to b6e6d4ff8f253c8b8055bab9d4d6a10f9be109f3 #12030 + +-- ciphers.d: put URL in first column ++ Reviewed-by: Daniel Stenberg ++ Closes #12385 + +- This makes the URL turn into a link properly when "webified". ++Daniel Stenberg (23 Nov 2023) + +- Fixes https://github.com/curl/curl-www/issues/270 +- Closes #11464 ++- urldata: fix typo in comment + +-Version 8.2.0 (19 Jul 2023) ++- CI: codespell + +-Daniel Stenberg (19 Jul 2023) ++ The list of words to ignore is in the file ++ .github/scripts/codespell-ignore.txt + +-- RELEASE-NOTES: synced ++ Closes #12390 + +- 8.2.0 release ++- lib: fix comment typos + +-- THANKS-filter: strip out "GitHub" ++ Five separate ones, found by codespell + +-- THANKS: add contributors from 8.2.0 ++ Closes #12390 + +-- RELEASE-PROCEDURE.md: adjust the release dates ++- test1476: verify cookie PSL mixed case + +-Stefan Eissing (17 Jul 2023) ++- cookie: lowercase the domain names before PSL checks + +-- quiche: fix defects found in latest coverity report ++ Reported-by: Harry Sintonen + +- Closes #11455 ++ Closes #12387 + +-Daniel Stenberg (17 Jul 2023) ++Viktor Szakats (23 Nov 2023) + +-- quiche: avoid NULL deref in debug logging ++- openssl: fix building with v3 `no-deprecated` + add CI test + +- Coverity reported "Dereference after null check" ++ - build quictls with `no-deprecated` in CI to have test coverage for ++ this OpenSSL 3 configuration. + +- If stream is NULL and the function exits, the logging must not deref it. ++ - don't call `OpenSSL_add_all_algorithms()`, `OpenSSL_add_all_digests()`. ++ The caller code is meant for OpenSSL 3, while these two functions were ++ only necessary before OpenSSL 1.1.0. They are missing from OpenSSL 3 ++ if built with option `no-deprecated`, causing build errors: ++ ``` ++ vtls/openssl.c:4097:3: error: call to undeclared function 'OpenSSL_add_all_ ++ algorithms'; ISO C99 and later do not support implicit function declaration ++ s [-Wimplicit-function-declaration] ++ vtls/openssl.c:4098:3: error: call to undeclared function 'OpenSSL_add_all_ ++ digests'; ISO C99 and later do not support implicit function declarations [ ++ -Wimplicit-function-declaration] ++ ``` ++ Ref: https://ci.appveyor.com/project/curlorg/curl-for-win/builds/48587418?f ++ ullLog=true#L7667 + +- Closes #11454 ++ Regression from b6e6d4ff8f253c8b8055bab9d4d6a10f9be109f3 #12030 ++ Bug: https://github.com/curl/curl/issues/12380#issuecomment-1822944669 ++ Reviewed-by: Alex Bozarth + +-Stefan Eissing (17 Jul 2023) ++ - vquic/curl_ngtcp2: fix using `SSL_get_peer_certificate` with ++ `no-deprecated` quictls 3 builds. ++ Do it by moving an existing solution for this from `vtls/openssl.c` ++ to `vtls/openssl.h` and adjusting caller code. ++ ``` ++ vquic/curl_ngtcp2.c:1950:19: error: implicit declaration of function 'SSL_g ++ et_peer_certificate'; did you mean 'SSL_get1_peer_certificate'? [-Wimplicit ++ -function-declaration] ++ ``` ++ Ref: https://github.com/curl/curl/actions/runs/6960723097/job/18940818625#s ++ tep:24:1178 + +-- http2: treat initial SETTINGS as a WINDOW_UPDATE ++ - curl_ntlm_core: fix `-Wunused-parameter`, `-Wunused-variable` and ++ `-Wunused-function` when trying to build curl with NTLM enabled but ++ without the necessary TLS backend (with DES) support. + +- - refs #11426 where spurious stalls on large POST requests +- are reported +- - the issue seems to involve the following +- * first stream on connection adds up to 64KB of POST +- data, which is the max default HTTP/2 stream window size +- transfer is set to HOLD +- * initial SETTINGS from server arrive, enlarging the stream +- window. But no WINDOW_UPDATE is received. +- * curl stalls +- - the fix un-HOLDs a stream on receiving SETTINGS, not +- relying on a WINDOW_UPDATE from lazy servers ++ Closes #12384 + +- Closes #11450 ++- curl.h: delete Symbian OS references + +-Daniel Stenberg (17 Jul 2023) ++ curl deprecated Symbian OS in 3d64031fa7a80ac4ae3fd09a5939196268b92f81 ++ via #5989. Delete references to it from public headers, because there ++ is no fresh release to use those headers with. + +-- ngtcp2: assigning timeout, but value is overwritten before used ++ Reviewed-by: Dan Fandrich ++ Reviewed-by: Jay Satiro ++ Closes #12378 + +- Reported by Coverity ++- windows: use built-in `_WIN32` macro to detect Windows + +- Closes #11453 ++ Windows compilers define `_WIN32` automatically. Windows SDK headers ++ or build env defines `WIN32`, or we have to take care of it. The ++ agreement seems to be that `_WIN32` is the preferred practice here. ++ Make the source code rely on that to detect we're building for Windows. + +-- krb5: add typecast to please Coverity ++ Public `curl.h` was using `WIN32`, `__WIN32__` and `CURL_WIN32` for ++ Windows detection, next to the official `_WIN32`. After this patch it ++ only uses `_WIN32` for this. Also, make it stop defining `CURL_WIN32`. + +-Derzsi Dániel (16 Jul 2023) ++ There is a slight chance these break compatibility with Windows ++ compilers that fail to define `_WIN32`. I'm not aware of any obsolete ++ or modern compiler affected, but in case there is one, one possible ++ solution is to define this macro manually. + +-- wolfssl: support setting CA certificates as blob ++ grepping for `WIN32` remains useful to discover Windows-specific code. + +- Closes #11445 ++ Also: + +-- wolfssl: detect when TLS 1.2 support is not built into wolfssl ++ - extend `checksrc` to ensure we're not using `WIN32` anymore. + +- Closes #11444 ++ - apply minor formatting here and there. + +-Graham Campbell (15 Jul 2023) ++ - delete unnecessary checks for `!MSDOS` when `_WIN32` is present. + +-- CI: bump nghttp2 from 1.55.0 to 1.55.1 ++ Co-authored-by: Jay Satiro ++ Reviewed-by: Daniel Stenberg + +- Closes #11442 ++ Closes #12376 + +-Daniel Stenberg (15 Jul 2023) ++Stefan Eissing (22 Nov 2023) + +-- curl: return error when asked to use an unsupported HTTP version ++- url: ConnectionExists revisited + +- When one of the following options are used but the libcurl in use does +- not support it: ++ - have common pattern of `if not match, continue` ++ - revert pages long if()s to return early ++ - move dead connection check to later since it may ++ be relatively expensive ++ - check multiuse also when NOT building with NGHTTP2 ++ - for MULTIUSE bundles, verify that the inspected ++ connection indeed supports multiplexing when in use ++ (bundles may contain a mix of connection, afaict) + +- --http2 +- --http2-prior-knowledge +- --proxy-http2 ++ Closes #12373 + +- Closes #11440 ++Daniel Stenberg (22 Nov 2023) + +-Chris Paulson-Ellis (14 Jul 2023) ++- CURLMOPT_MAX_CONCURRENT_STREAMS: make sure the set value is within range + +-- cf-socket: don't bypass fclosesocket callback if cancelled before connect ++ ... or use the default value. + +- After upgrading to 8.1.2 from 7.84.0, I found that sockets were being +- closed without calling the fclosesocket callback if a request was +- cancelled after the associated socket was created, but before the socket +- was connected. This lead to an imbalance of fopensocket & fclosesocket +- callbacks, causing problems with a custom event loop integration using +- the multi-API. ++ Also clarify the documentation language somewhat. + +- This was caused by cf_socket_close() calling sclose() directly instead +- of calling socket_close() if the socket was not active. For regular TCP +- client connections, the socket is activated by cf_socket_active(), which +- is only called when the socket completes the connect. ++ Closes #12382 + +- As far as I can tell, this issue has existed since 7.88.0. That is, +- since the code in question was introduced by: +- commit 71b7e0161032927cdfb4e75ea40f65b8898b3956 +- Author: Stefan Eissing +- Date: Fri Dec 30 09:14:55 2022 +0100 ++- urldata: make maxconnects a 32 bit value + +- lib: connect/h2/h3 refactor ++ "2^32 idle connections ought to be enough for anybody" + +- Closes #11439 ++ Closes #12375 + +-Daniel Stenberg (13 Jul 2023) ++- FEATURES: update the URL phrasing + +-- tool_parsecfg: accept line lengths up to 10M ++ The URL is length limited since a while back so "no limit" simply is not ++ true anymore. Mention the URL RFC standard used instead. + +- Bumped from 100K set in 47dd957daff9 ++ Closes #12383 + +- Reported-by: Antoine du Hamel +- Fixes #11431 +- Closes #11435 ++- wolfssh: remove redundant static prototypes + +-Stefan Eissing (13 Jul 2023) ++ vssh/wolfssh.c:346:18: error: redundant redeclaration of ‘wscp_recv’ [-We ++ rror=redundant-decls] + +-- CI: brew fix for openssl in default path ++ Closes #12381 + +- If brew install/update links openssl into /usr/local, it will be found +- before anything we add with `-isystem path` to CPP/LDLFAGS. Get rid of +- that by unlinking the keg. ++- setopt: remove superfluous use of ternary expressions + +- Fixes #11413 +- Closes #11436 ++ Closes #12374 + +-Daniel Stenberg (13 Jul 2023) ++- mime: store "form escape" as a single bit + +-- RELEASE-NOTES: synced ++ Closes #12374 + +-OndÅ™ej KoláÄek (13 Jul 2023) ++- setopt: check CURLOPT_TFTP_BLKSIZE range on set + +-- sectransp: fix EOF handling ++ ... instead of later when the transfer is about to happen. + +- Regression since the large refactor from 2022 ++ Closes #12374 + +- Closes #11427 ++Viktor Szakats (21 Nov 2023) + +-Daniel Stenberg (13 Jul 2023) ++- build: add more picky warnings and fix them + +-- checksrc: quote the file name to work with "funny" letters ++ Enable more picky compiler warnings. I've found these options in the ++ nghttp3 project when implementing the CMake quick picky warning ++ functionality for it [1]. + +- Closes #11437 ++ `-Wunused-macros` was too noisy to keep around, but fixed a few issues ++ it revealed while testing. + +-Karthikdasari0423 (13 Jul 2023) ++ - autotools: reflect the more precisely-versioned clang warnings. ++ Follow-up to 033f8e2a08eb1d3102f08c4d8c8e85470f8b460e #12324 ++ - autotools: sync between clang and gcc the way we set `no-multichar`. ++ - autotools: avoid setting `-Wstrict-aliasing=3` twice. ++ - autotools: disable `-Wmissing-noreturn` for MSYS gcc targets [2]. ++ It triggers in libtool-generated stub code. + +-- HTTP3.md: ngtcp2 updated to v0.17.0 and nghttp3 to v0.13.0 ++ - lib/timeval: delete a redundant `!MSDOS` guard from a `WIN32` branch. + +- Follow-up to e0093b4b732f6 ++ - lib/curl_setup.h: delete duplicate declaration for `fileno`. ++ Added in initial commit ae1912cb0d494b48d514d937826c9fe83ec96c4d ++ (1999-12-29). This suggests this may not be needed anymore, but if ++ it does, we may restore this for those specific (non-Windows) systems. ++ - lib: delete unused macro `FTP_BUFFER_ALLOCSIZE` since ++ c1d6fe2aaa5a26e49a69a4f2495b3cc7a24d9394. ++ - lib: delete unused macro `isxdigit_ascii` since ++ f65f750742068f579f4ee6d8539ed9d5f0afcb85. ++ - lib/mqtt: delete unused macro `MQTT_HEADER_LEN`. ++ - lib/multi: delete unused macro `SH_READ`/`SH_WRITE`. ++ - lib/hostip: add `noreturn` function attribute via new `CURL_NORETURN` ++ macro. ++ - lib/mprintf: delete duplicate declaration for `Curl_dyn_vprintf`. ++ - lib/rand: fix `-Wunreachable-code` and related fallouts [3]. ++ - lib/setopt: fix `-Wunreachable-code-break`. ++ - lib/system_win32 and lib/timeval: fix double declarations for ++ `Curl_freq` and `Curl_isVistaOrGreater` in CMake UNITY mode [4]. ++ - lib/warnless: fix double declarations in CMake UNITY mode [5]. ++ This was due to force-disabling the header guard of `warnless.h` to ++ to reapply it to source code coming after `warnless.c` in UNITY ++ builds. This reapplied declarations too, causing the warnings. ++ Solved by adding a header guard for the lines that actually need ++ to be reapplied. ++ - lib/vauth/digest: fix `-Wunreachable-code-break` [6]. ++ - lib/vssh/libssh2: fix `-Wunreachable-code-break` and delete redundant ++ block. ++ - lib/vtls/sectransp: fix `-Wunreachable-code-break` [7]. ++ - lib/vtls/sectransp: suppress `-Wunreachable-code`. ++ Detected in `else` branches of dynamic feature checks, with results ++ known at compile-time, e.g. ++ ```c ++ if(SecCertificateCopySubjectSummary) /* -> true */ ++ ``` ++ Likely fixable as a separate micro-project, but given SecureTransport ++ is deprecated anyway, let's just silence these locally. ++ - src/tool_help: delete duplicate declaration for `helptext`. ++ - src/tool_xattr: fix `-Wunreachable-code`. ++ - tests: delete duplicate declaration for `unitfail` [8]. ++ - tests: delete duplicate declaration for `strncasecompare`. ++ - tests/libtest: delete duplicate declaration for `gethostname`. ++ Originally added in 687df5c8c39c370a59999b9afc0917d808d978b7 ++ (2010-08-02). ++ Got complicated later: c49e9683b85ba9d12cbb6eebc4ab2c8dba68fbdc ++ If there are still systems around with warnings, we may restore the ++ prototype, but limited for those systems. ++ - tests/lib2305: delete duplicate declaration for ++ `libtest_debug_config`. ++ - tests/h2-download: fix `-Wunreachable-code-break`. ++ ++ [1] https://github.com/ngtcp2/nghttp3/blob/a70edb08e954d690e8fb2c1df999b5a056 ++ f8bf9f/cmake/PickyWarningsC.cmake ++ [2] https://ci.appveyor.com/project/curlorg/curl/builds/48553586/job/3qkgjaui ++ qla5fj45?fullLog=true#L1675 ++ [3] https://github.com/curl/curl/actions/runs/6880886309/job/18716044703?pr=1 ++ 2331#step:7:72 ++ https://github.com/curl/curl/actions/runs/6883016087/job/18722707368?pr=1 ++ 2331#step:7:109 ++ [4] https://ci.appveyor.com/project/curlorg/curl/builds/48555101/job/9g15qkrr ++ iklpf1ut#L204 ++ [5] https://ci.appveyor.com/project/curlorg/curl/builds/48555101/job/9g15qkrr ++ iklpf1ut#L218 ++ [6] https://github.com/curl/curl/actions/runs/6880886309/job/18716042927?pr=1 ++ 2331#step:7:290 ++ [7] https://github.com/curl/curl/actions/runs/6891484996/job/18746659406?pr=1 ++ 2331#step:9:1193 ++ [8] https://github.com/curl/curl/actions/runs/6882803986/job/18722082562?pr=1 ++ 2331#step:33:1870 ++ ++ Closes #12331 ++ ++Daniel Stenberg (21 Nov 2023) ++ ++- transfer: avoid unreachable expression ++ ++ If curl_off_t and size_t have the same size (which is common on modern ++ 64 bit systems), a condition cannot occur which Coverity pointed ++ out. Avoid the warning by having the code conditionally only used if ++ curl_off_t actually is larger. ++ ++ Follow-up to 1cd2f0072fa482e25baa2 ++ ++ Closes #12370 ++ ++Stefan Eissing (21 Nov 2023) ++ ++- transfer: readwrite improvements ++ ++ - changed header/chunk/handler->readwrite prototypes to accept `buf`, ++ `blen` and a `pconsumed` pointer. They now get the buffer to work on ++ and report back how many bytes they consumed ++ - eliminated `k->str` in SingleRequest ++ - improved excess data handling to properly calculate with any body data ++ left in the headerb buffer ++ - eliminated `k->badheader` enum to only be a bool ++ ++ Closes #12283 ++ ++Daniel Stenberg (21 Nov 2023) + +- Closes #11433 ++- RELEASE-NOTES: synced + +-Daniel Stenberg (13 Jul 2023) ++Jiří HruÅ¡ka (21 Nov 2023) + +-- CURLOPT_MIMEPOST.3: clarify what setting to NULL means ++- transfer: avoid calling the read callback again after EOF + +- Follow-up to e08382a208d4e480 ++ Regression since 7f43f3dc5994d01b12 (7.84.0) + +- Closes #11430 ++ Bug: https://curl.se/mail/lib-2023-11/0017.html + +-Tatsuhiro Tsujikawa (12 Jul 2023) ++ Closes #12363 + +-- ngtcp2: build with 0.17.0 and nghttp3 0.13.0 ++Daniel Stenberg (21 Nov 2023) + +- - ngtcp2_crypto_openssl was renamed to ngtcp2_crypto_quictls. ++- doh: provide better return code for responses w/o addresses + +- Closes #11428 ++ Previously it was wrongly returning CURLE_OUT_OF_MEMORY when the ++ response did not contain any addresses. Now it more accurately returns ++ CURLE_COULDNT_RESOLVE_HOST. + +-- CI: Bump ngtcp2, nghttp3, and nghttp2 ++ Reported-by: lRoccoon on github + +- Closes #11428 ++ Fixes #12365 ++ Closes #12366 + +-James Fuller (11 Jul 2023) ++Stefan Eissing (21 Nov 2023) + +-- example/maxconnects: set maxconnect example ++- HTTP/2, HTTP/3: handle detach of onoing transfers + +- Closes #11343 ++ - refs #12356 where a UAF is reported when closing a connection ++ with a stream whose easy handle was cleaned up already ++ - handle DETACH events same as DONE events in h2/h3 filters + +-Pontakorn Prasertsuk (11 Jul 2023) ++ Fixes #12356 ++ Reported-by: PaweÅ‚ Wegner ++ Closes #12364 + +-- http2: send HEADER & DATA together if possible ++Viktor Szakats (20 Nov 2023) + +- Closes #11420 ++- autotools: stop setting `-std=gnu89` with `--enable-warnings` + +-Daniel Stenberg (11 Jul 2023) ++ Do not alter the C standard when building with `--enable-warnings` when ++ building with gcc. + +-- CI: use wolfSSL 5.6.3 in builds ++ On one hand this alters warning results compared to a default build. ++ On the other, it may produce different binaries, which is unexpected. + +- No using master anymore ++ Also fix new warnings that appeared after removing `-std=gnu89`: + +- Closes #11424 ++ - include: fix public curl headers to use the correct printf mask for ++ `CURL_FORMAT_CURL_OFF_T` and `CURL_FORMAT_CURL_OFF_TU` with mingw-w64 ++ and Visual Studio 2013 and newer. This fixes the printf mask warnings ++ in examples and tests. E.g. [1] + +-SaltyMilk (11 Jul 2023) ++ - conncache: fix printf format string [2]. + +-- fopen: optimize ++ - http2: fix potential null pointer dereference [3]. ++ (seen on Slackware with gcc 11.) + +- Closes #11419 ++ - libssh: fix printf format string in SFTP code [4]. ++ Also make MSVC builds compatible with old CRT versions. + +-Daniel Stenberg (11 Jul 2023) ++ - libssh2: fix printf format string in SFTP code for MSVC. ++ Applying the same fix as for libssh above. + +-- cmake: make use of snprintf ++ - unit1395: fix `argument is null` and related issues [5]: ++ - stop calling `strcmp()` with NULL to avoid undefined behaviour. ++ - fix checking results if some of them were NULL. ++ - do not pass NULL to printf `%s`. + +- Follow-up to 935b1bd4544a23a91d68 ++ - ci: keep a build job with `-std=gnu89` to continue testing for ++ C89-compliance. We can apply this to other gcc jobs as needed. ++ Ref: b23ce2cee7329bbf425f18b49973b7a5f23dfcb4 (2022-09-23) #9542 + +- Closes #11423 ++ [1] https://dev.azure.com/daniel0244/curl/_build/results?buildId=18581&view=l ++ ogs&jobId=ccf9cc6d-2ef1-5cf2-2c09-30f0c14f923b ++ [2] https://github.com/curl/curl/actions/runs/6896854263/job/18763831142?pr=1 ++ 2346#step:6:67 ++ [3] https://github.com/curl/curl/actions/runs/6896854253/job/18763839238?pr=1 ++ 2346#step:30:214 ++ [4] https://github.com/curl/curl/actions/runs/6896854253/job/18763838007?pr=1 ++ 2346#step:29:895 ++ [5] https://github.com/curl/curl/actions/runs/6896854253/job/18763836775?pr=1 ++ 2346#step:33:1689 + +-Stefan Eissing (11 Jul 2023) ++ Closes #12346 + +-- macOS: fix taget detection ++- autotools: fix/improve gcc and Apple clang version detection + +- - TARGET_OS_OSX is not always defined on macOS +- - this leads to missing symbol Curl_macos_init() +- - TargetConditionals.h seems to define these only when +- dynamic targets are enabled (somewhere?) +- - this PR fixes that on my macOS 13.4.1 +- - I have no clue why CI builds worked without it ++ - Before this patch we expected `n.n` `-dumpversion` output, but Ubuntu ++ may return `n-win32` (also with `-dumpfullversion`). Causing these ++ errors and failing to enable picky warnings: ++ ``` ++ ../configure: line 23845: test: : integer expression expected ++ ``` ++ Ref: https://github.com/libssh2/libssh2/actions/runs/6263453828/job/1700789 ++ 3718#step:5:143 + +- Follow-up to c7308592fb8ba213fc2c1 +- Closes #11417 ++ Fix that by stripping any dash-suffix and handling a dotless (major-only) ++ version number by assuming `.0` in that case. + +-Stan Hu (9 Jul 2023) ++ `9.3-posix`, `9.3-win32`, `6`, `9.3.0`, `11`, `11.2`, `11.2.0` ++ Ref: https://github.com/mamedev/mame/pull/9767 + +-- hostip.c: Move macOS-specific calls into global init call ++ - fix Apple clang version detection for releases between ++ 'Apple LLVM version 7.3.0' and 'Apple LLVM version 10.0.1' where the ++ version was under-detected as 3.7 llvm/clang equivalent. + +- https://github.com/curl/curl/pull/7121 introduced a macOS system call +- to `SCDynamicStoreCopyProxies`, which is invoked every time an IP +- address needs to be resolved. ++ - fix Apple clang version detection for 'Apple clang version 11.0.0' ++ and newer where the Apple clang version was detected, instead of its ++ llvm/clang equivalent. + +- However, this system call is not thread-safe, and macOS will kill the +- process if the system call is run first in a fork. To make it possible +- for the parent process to call this once and prevent the crash, only +- invoke this system call in the global initialization routine. ++ - display detected clang/gcc/icc compiler version. + +- In addition, this change is beneficial because it: ++ Via libssh2: ++ - https://github.com/libssh2/libssh2/commit/00a3b88c51cdb407fbbb347a2e38c5c7d ++ 89875ad ++ https://github.com/libssh2/libssh2/pull/1187 ++ - https://github.com/libssh2/libssh2/commit/89ccc83c7da73e7ca3a112e3500081319 ++ 42b592e ++ https://github.com/libssh2/libssh2/pull/1232 + +- 1. Avoids extra macOS system calls for every IP lookup. +- 2. Consolidates macOS-specific initialization in a separate file. ++ Closes #12362 + +- Fixes #11252 +- Closes #11254 ++- autotools: delete LCC compiler support bits + +-Daniel Stenberg (9 Jul 2023) ++ Follow-up to fd7ef00f4305a2919e6950def1cf83d0110a4acd #12222 + +-- docs: use a space after RFC when spelling out RFC numbers ++ Closes #12357 + +- Closes #11382 ++- cmake: add test for `DISABLE` options, add `CURL_DISABLE_HEADERS_API` + +-Margu (9 Jul 2023) ++ - tests: verify CMake `DISABLE` options. + +-- imap-append.c: update to make it more likely to work ++ Make an exception for 2 CMake-only ones, and one more that's ++ using a different naming scheme, also in autotools and source. + +- Fixes #10300 +- Closes #11397 ++ - cmake: add support for `CURL_DISABLE_HEADERS_API`. + +-Emanuele Torre (9 Jul 2023) ++ Suggested-by: Daniel Stenberg ++ Ref: https://github.com/curl/curl/pull/12345#pullrequestreview-1736238641 + +-- tool_writeout_json: fix encoding of control characters ++ Closes #12353 + +- Control characters without a special escape sequence e.g. %00 or %06 +- were being encoded as "u0006" instead of "\u0006". ++Jacob Hoffman-Andrews (20 Nov 2023) + +- Ref: https://github.com/curl/trurl/pull/214#discussion_r1257487858 +- Closes #11414 ++- hyper: temporarily remove HTTP/2 support + +-Stefan Eissing (9 Jul 2023) ++ The current design of the Hyper integration requires rebuilding the ++ Hyper clientconn for each request. However, building the clientconn ++ requires resending the HTTP/2 connection preface, which is incorrect ++ from a protocol perspective. That in turn causes servers to send GOAWAY ++ frames, effectively degrading performance to "no connection reuse" in ++ the best case. It may also be triggering some bugs where requests get ++ dropped entirely and reconnects take too long. + +-- http3/ngtcp2: upload EAGAIN handling ++ This doesn't rule out HTTP/2 support with Hyper, but it may take a ++ redesign of the Hyper integration in order to make things work. + +- - refs #11389 where IDLE timeouts on upload are reported +- - reword ngtcp2 expiry handling to apply to both send+recv +- calls into the filter +- - EAGAIN uploads similar to the recent changes in HTTP/2, e.g. +- report success only when send data was ACKed. +- - HOLD sending of EAGAINed uploads to avoid cpu busy loops +- - rename internal function for consistency with HTTP/2 +- implementation ++ Closes #12191 + +- Fixes #11389 +- Closes #11390 ++Jay Satiro (20 Nov 2023) + +-Brian Nixon (9 Jul 2023) ++- schannel: fix unused variable warning + +-- tool_easysrc.h: correct `easysrc_perform` for `CURL_DISABLE_LIBCURL_OPTION` ++ Bug: https://github.com/curl/curl/pull/12349#issuecomment-1818000846 ++ Reported-by: Viktor Szakats + +- Closes #11398 ++ Closes https://github.com/curl/curl/pull/12361 + +-Daniel Stenberg (9 Jul 2023) ++Daniel Stenberg (19 Nov 2023) + +-- RELEASE-NOTES: synced ++- url: find scheme with a "perfect hash" + +-- transfer: clear credentials when redirecting to absolute URL ++ Instead of a loop to scan over the potentially 30+ scheme names, this ++ uses a "perfect hash" table. This works fine because the set of schemes ++ is known and cannot change in a build. The hash algorithm and table size ++ is made to only make a single scheme index per table entry. + +- Make sure the user and password for the second request is taken from the +- redirected-to URL. ++ The perfect hash is generated by a separate tool (scripts/schemetable.c) + +- Add test case 899 to verify. ++ Closes #12347 + +- Reported-by: James Lucas +- Fixes #11410 +- Closes #11412 ++- scripts: add schemetable.c + +-Stefan Eissing (8 Jul 2023) ++ This tool generates a scheme-matching table. + +-- hyper: fix EOF handling on input ++ It iterates over a number of different initial and shift values in order ++ to find the hash algorithm that needs the smallest possible table. + +- We ran out of disc space due to an infinite loop with debug logging ++ The generated hash function, table and table size then needs to be used ++ by the url.c:Curl_getn_scheme_handler() function. + +- Fixes #11377 +- Closes #11385 +- Reported-by: Dan Fandrich ++Stefan Eissing (19 Nov 2023) + +-- http2: raise header limitations above and beyond ++- vtls/vquic, keep peer name information together + +- - not quite to infinity +- - rewrote the implementation of our internal HTTP/1.x request +- parsing to work with very large lines using dynbufs. +- - new default limit is `DYN_HTTP_REQUEST`, aka 1MB, which +- is also the limit of curl's general HTTP request processing. ++ - add `struct ssl_peer` to keep hostname, dispname and sni ++ for a filter ++ - allocate `sni` for use in VTLS backend ++ - eliminate `Curl_ssl_snihost()` and its use of the download buffer ++ - use ssl_peer in SSL and QUIC filters + +- Fixes #11405 +- Closes #11407 ++ Closes #12349 + +-Juan Cruz Viotti (8 Jul 2023) ++Viktor Szakats (18 Nov 2023) + +-- curl_easy_nextheader.3: add missing open parenthesis examples ++- build: always revert `#pragma GCC diagnostic` after use + +- Closes #11409 +- Signed-off-by: Juan Cruz Viotti ++ Before this patch some source files were overriding gcc warning options, ++ but without restoring them at the end of the file. In CMake UNITY builds ++ these options spilled over to the remainder of the source code, ++ effecitvely disabling them for a larger portion of the codebase than ++ intended. + +-Dan Fandrich (7 Jul 2023) ++ `#pragma clang diagnostic` didn't have such issue in the codebase. + +-- CI: enable verbose test output on pytest ++ Reviewed-by: Marcel Raad ++ Closes #12352 + +- This shows individual pass/fail status on tests and makes this output +- consistent with other jobs' pytest invocations. ++- tidy-up: casing typos, delete unused Windows version aliases + +-Stefan Eissing (28 Jun 2023) ++ - cmake: fix casing of `UnixSockets` to match the rest of the codebase. + +-- http2: fix crash in handling stream weights ++ - curl-compilers.m4: fix casing in a comment. + +- - Delay the priority handling until the stream has been opened. ++ - setup-win32: delete unused Windows version constant aliases. + +- - Add test2404 to reproduce and verify. ++ Reviewed-by: Marcel Raad ++ Closes #12351 + +- Weights may change "on the run", which is why there are checks in +- general egress handling. These must not trigger when the stream has not +- been opened yet. ++- keylog: disable if unused + +- Reported-by: jbgoog@users.noreply.github.com ++ Fully disable keylog code if there is no TLS or QUIC subsystem using it. + +- Fixes https://github.com/curl/curl/issues/11379 +- Closes https://github.com/curl/curl/pull/11384 ++ Closes #12350 + +-- tests/http: Add mod_h2 directive `H2ProxyRequests` ++- cmake: add `CURL_DISABLE_BINDLOCAL` option + +- master of mod_h2 now requires H2ProxyRequests directives for forward +- proxying with HTTP/2 to work. ++ To match similar autotools option. + +- Ref: https://github.com/icing/mod_h2/commit/3897a7086 ++ Default is `ON`. + +- Closes https://github.com/curl/curl/pull/11392 ++ Reviewed-by: Daniel Stenberg ++ Closes #12345 + +-Dan Fandrich (28 Jun 2023) ++- url: fix `-Wzero-length-array` with no protocols + +-- CI: make Appveyor job names unique ++ Fixes: ++ ``` ++ ./lib/url.c:178:56: warning: use of an empty initializer is a C2x extension [ ++ -Wc2x-extensions] ++ 178 | static const struct Curl_handler * const protocols[] = { ++ | ^ ++ ./lib/url.c:178:56: warning: zero size arrays are an extension [-Wzero-length ++ -array] ++ ``` + +- Two otherwise identical mingw-w64 jobs now have their differing compiler +- versions mentioned in their names. ++ Closes #12344 + +-Sheshadri.V (25 Jun 2023) ++- url: fix builds with `CURL_DISABLE_HTTP` + +-- curl.h: include for vxworks ++ Fixes: ++ ``` ++ ./lib/url.c:456:35: error: no member named 'formp' in 'struct UrlState' ++ 456 | Curl_mime_cleanpart(data->state.formp); ++ | ~~~~~~~~~~~ ^ ++ ``` + +- Closes #11356 ++ Regression from 74b87a8af13a155c659227f5acfa78243a8b2aa6 #11682 + +-Dan Fandrich (24 Jun 2023) ++ Closes #12343 + +-- CI: enable parallel make in more builds ++- http: fix `-Wunused-parameter` with no auth and no proxy + +- Most CI services provide at least two cores, so enable parallel make +- jobs to take advantage of that for builds. Some dependencies aren't safe +- to build in parallel so leave those as-is. Also, rename a few +- workflows to eliminate duplicate names and provide a better idea what +- they're about. ++ ``` ++ lib/http.c:734:26: warning: unused parameter 'proxy' [-Wunused-parameter] ++ bool proxy) ++ ^ ++ ``` + +-- CI: don't install impacket if tests are not run ++ Reviewed-by: Marcel Raad ++ Closes #12338 + +- It just wastes time and bandwidth and isn't even used. ++Daniel Stenberg (16 Nov 2023) + +-divinity76 (24 Jun 2023) ++- TODO: Some TLS options are not offered for HTTPS proxies + +-- configure: the --without forms of the options are also gone ++ Closes #12286 ++ Closes #12342 + +- --without-darwin-ssl and --without-metalink ++- RELEASE-NOTES: synced + +- Closes #11378 ++- duphandle: make dupset() not return with pointers to old alloced data + +-Daniel Stenberg (23 Jun 2023) ++ As the blob pointers are to be duplicated, the function must not return ++ mid-function with lingering pointers to the old handle's allocated data, ++ as that would lead to double-free in OOM situations. + +-- configure: add check for ldap_init_fd ++ Make sure to clear all destination pointers first to avoid this risk. + +- ... as otherwise the configure script will say it is OpenLDAP in the +- summary, but not set the USE_OPENLDAP define, therefor not using the +- intended OpenLDAP code paths. ++ Closes #12337 + +- Regression since 4d7385446 (7.85.0) +- Fixes #11372 +- Closes #11374 +- Reported-by: vlkl-sap on github ++Viktor Szakats (16 Nov 2023) + +-MichaÅ‚ Petryka (23 Jun 2023) ++- http: fix `-Wunused-variable` compiler warning + +-- cmake: stop CMake from quietly ignoring missing Brotli ++ Fix compiler warnings in builds with disabled auths, NTLM and SPNEGO. + +- The CMake project was set to `QUIET` for Brotli instead of +- `REQUIRED`. This makes builds unexpectedly ignore missing Brotli even +- when `CURL_BROTLI` is enabled. ++ E.g. with `CURL_DISABLE_BASIC_AUTH` + `CURL_DISABLE_BEARER_AUTH` + ++ `CURL_DISABLE_DIGEST_AUTH` + `CURL_DISABLE_NEGOTIATE_AUTH` + ++ `CURL_DISABLE_NTLM` on non-Windows. + +- Closes #11376 ++ ``` ++ ./curl/lib/http.c:737:12: warning: unused variable 'result' [-Wunused-variabl ++ e] ++ CURLcode result = CURLE_OK; ++ ^ ++ ./curl/lib/http.c:995:18: warning: variable 'availp' set but not used [-Wunus ++ ed-but-set-variable] ++ unsigned long *availp; ++ ^ ++ ./curl/lib/http.c:996:16: warning: variable 'authp' set but not used [-Wunuse ++ d-but-set-variable] ++ struct auth *authp; ++ ^ ++ ``` + +-Emanuele Torre (22 Jun 2023) ++ Regression from e92edfbef64448ef461117769881f3ed776dec4e #11490 + +-- docs: add more .IP after .RE to fix indentation of generate paragraphs ++ Fixes #12228 ++ Closes #12335 + +- follow-up from 099f41e097c030077b8ec078f2c2d4038d31353b ++Jay Satiro (16 Nov 2023) + +- I just thought of checking all the other files with .RE, and I found 6 +- other files that were missing .IP at the end. ++- tool: support bold headers in Windows + +- Closes #11375 ++ - If virtual terminal processing is enabled in Windows then use ANSI ++ escape codes Esc[1m and Esc[22m to turn bold on and off. + +-Stefan Eissing (22 Jun 2023) ++ Suggested-by: Gisle Vanem + +-- http2: h2 and h2-PROXY connection alive check fixes ++ Ref: https://github.com/curl/curl/discussions/11770 + +- - fix HTTP/2 check to not declare a connection dead when +- the read attempt results in EAGAIN +- - add H2-PROXY alive check as for HTTP/2 that was missing +- and is needed +- - add attach/detach around Curl_conn_is_alive() and remove +- these in filter methods +- - add checks for number of connections used in some test_10 +- proxy tunneling tests ++ Closes https://github.com/curl/curl/pull/12321 + +- Closes #11368 ++Viktor Szakats (15 Nov 2023) + +-- http2: error stream resets with code CURLE_HTTP2_STREAM ++- build: fix libssh2 + `CURL_DISABLE_DIGEST_AUTH` + `CURL_DISABLE_AWS` + +- - refs #11357, where it was reported that HTTP/1.1 downgrades +- no longer works +- - fixed with suggested change +- - added test_05_03 and a new handler in the curltest module +- to reproduce that downgrades work ++ Builds with libssh2 + `-DCURL_DISABLE_DIGEST_AUTH=ON` + ++ `-DCURL_DISABLE_AWS=ON` in combination with either Schannel on Windows, ++ or `-DCURL_DISABLE_NTLM=ON` on other operating systems failed while ++ compiling due to a missing HMAC declaration. + +- Fixes #11357 +- Closes #11362 +- Reported-by: Jay Satiro ++ The reason is that HMAC is required by `lib/sha256.c` which publishes ++ `Curl_sha256it()` which is required by `lib/vssh/libssh2.c` when ++ building for libssh2 v1.8.2 (2019-05-25) or older. + +-Daniel Stenberg (22 Jun 2023) ++ Make sure to compile the HMAC bits for a successful build. + +-- connect-timeout.d: mention that the DNS lookup is included ++ Both HMAC and `Curl_sha256it()` rely on the same internals, so splitting ++ them into separate sources isn't practical. + +- Closes #11370 ++ Fixes: ++ ``` ++ [...] ++ In file included from ./curl/_x64-win-ucrt-cmake-llvm-bld/lib/CMakeFiles/libc ++ url_object.dir/Unity/unity_0_c.c:310: ++ ./curl/lib/sha256.c:527:42: error: array has incomplete element type 'const s ++ truct HMAC_params' ++ 527 | const struct HMAC_params Curl_HMAC_SHA256[] = { ++ | ^ ++ ./curl/lib/curl_sha256.h:34:21: note: forward declaration of 'struct HMAC_par ++ ams' ++ [...] ++ ``` + +-Emanuele Torre (22 Jun 2023) ++ Regression from e92edfbef64448ef461117769881f3ed776dec4e #11490 + +-- quote.d: fix indentation of generated paragraphs ++ Fixes #12273 ++ Closes #12332 + +- quote.d was missing a .IP at the end which caused the paragraphs +- generated for See-also, Multi, and Example to not be indented correctly. ++Daniel Stenberg (15 Nov 2023) + +- I also remove a redundant "This option can be used multiple times.", and +- replaced .IP "item" with .TP .B "item" to make more clear which lines +- are part of the list of commands and which aren't. ++- duphandle: also free 'outcurl->cookies' in error path + +- Closes #11371 ++ Fixes memory-leak when OOM mid-function + +-Paul Wise (22 Jun 2023) ++ Use plain free instead of safefree, since the entire struct is ++ freed below. + +-- checksrc: modernise perl file open ++ Remove some free calls that is already freed in Curl_freeset() + +- Use regular variables and separate file open modes from filenames. ++ Closes #12329 + +- Suggested by perlcritic ++Viktor Szakats (15 Nov 2023) + +- Copied from https://github.com/curl/trurl/commit/f2784a9240f47ee28a845 ++- config-win32: set `HAVE_SNPRINTF` for mingw-w64 + +- Closes #11358 ++ It's available in all mingw-w64 releases. We already pre-fill this ++ detection in CMake. + +-Dan Fandrich (21 Jun 2023) ++ Closes #12325 + +-- runtests: work around a perl without SIGUSR1 ++- sasl: fix `-Wunused-function` compiler warning + +- At least msys2 perl v5.32.1 doesn't seem to define this signal. Since +- this signal is only used for debugging, just ignore if setting it fails. ++ In builds with disabled auths. + +- Reported-by: Marcel Raad +- Fixes #11350 +- Closes #11366 ++ ``` ++ lib/curl_sasl.c:266:17: warning: unused function 'get_server_message' [-Wunus ++ ed-function] ++ static CURLcode get_server_message(struct SASL *sasl, struct Curl_easy *data, ++ ^ ++ 1 warning generated. ++ ``` ++ Ref: https://github.com/curl/trurl/actions/runs/6871732122/job/18689066151#st ++ ep:3:3822 + +-- runtests: include missing valgrind package ++ Reviewed-by: Daniel Stenberg ++ Closes #12326 + +- use valgrind was missing which caused torture tests with valgrind +- enabled to fail. ++- build: picky warning updates + +- Reported-by: Daniel Stenberg +- Fixes #11364 +- Closes #11365 ++ - cmake: sync some picky gcc warnings with autotools. ++ - cmake, autotools: add `-Wold-style-definition` for clang too. ++ - cmake: more precise version info for old clang options. ++ - cmake: use `IN LISTS` syntax in `foreach()`. + +-- runtests: use more consistent failure lines ++ Reviewed-by: Daniel Stenberg ++ Reviewed-by: Marcel Raad ++ Closes #12324 + +- After a test failure log a consistent log message to make it easier to +- parse the log file. Also, log a consistent message with "ignored" for +- failures that cause the test to be not considered at all. These should +- perhaps be counted in the skipped category, but this commit does not +- change that behaviour. ++Daniel Stenberg (15 Nov 2023) + +-- runtests: consistently write the test check summary block ++- urldata: move cookielist from UserDefined to UrlState + +- The memory check character was erroneously omitted if the memory +- checking file was not available for some reason, making the block of +- characters an inconsistent length. ++ 1. Because the value is not strictly set with a setopt option. + +-- test2600: fix the description ++ 2. Because otherwise when duping a handle when all the set.* fields are ++ first copied and an error happens (think out of memory mid-function), ++ the function would easily free the list *before* it was deep-copied, ++ which could lead to a double-free. + +- It looks like it was cut-and-pasted. ++ Closes #12323 + +- Closes #11354 ++Viktor Szakats (14 Nov 2023) + +-Daniel Stenberg (21 Jun 2023) ++- autotools: avoid passing `LDFLAGS` twice to libcurl + +-- TODO: "Support HTTP/2 for HTTP(S) proxies" *done* ++ autotools passes `LDFLAGS` automatically linker commands. curl's ++ `lib/Makefile.am` customizes libcurl linker flags. In that ++ customization, it added `LDFLAGS` to the custom flags. This resulted in ++ passing `LDFLAGS` _twice_ to the `libtool` command. + +-humbleacolyte (21 Jun 2023) ++ Most of the time this is benign, but some `LDFLAGS` options can break ++ the build when passed twice. One such example is passing `.o` files, ++ e.g. `crt*.o` files necessary when customizing the C runtime, e.g. for ++ MUSL builds. + +-- cf-socket: move ctx declaration under HAVE_GETPEERNAME ++ Passing them twice resulted in duplicate symbol errors: ++ ``` ++ libtool: link: clang-15 --target=aarch64-unknown-linux-musl [...] /usr/lib/a ++ arch64-linux-musl/crt1.o [...] /usr/lib/aarch64-linux-musl/crt1.o [...] ++ ld.lld-15: error: duplicate symbol: _start ++ >>> defined at crt1.c ++ >>> /usr/lib/aarch64-linux-musl/crt1.o:(.text+0x0) ++ >>> defined at crt1.c ++ >>> /usr/lib/aarch64-linux-musl/crt1.o:(.text+0x0) ++ [...] ++ clang: error: linker command failed with exit code 1 (use -v to see invocatio ++ n) ++ ``` + +- Closes #11352 ++ This behaviour came with commit 1a593191c2769a47b8c3e4d9715ec9f6dddf5e36 ++ (2013-07-23) as a fix for bug https://curl.haxx.se/bug/view.cgi?id=1217. ++ The patch was a works-for-me hack that ended up merged in curl: ++ https://sourceforge.net/p/curl/bugs/1217/#06ef ++ With the root cause remaining unclear. + +-Daniel Stenberg (20 Jun 2023) ++ Perhaps the SUNPro 12 linker was sensitive to `-L` `-l` order, requiring ++ `-L` first? This would be unusual and suggests a bug in either the ++ linker or in `libtool`. + +-- RELEASE-NOTES: synced ++ The curl build does pass the list of detected libs via its own ++ `LIBCURL_LIBS` variable, which ends up before `LDFLAGS` on the `libtool` ++ command line, but it's the job of `libtool` to ensure that even ++ a peculiar linker gets the options in the expected order. Also because ++ autotools passes `LDFLAGS` last, making it hardly possible to pass ++ anything after it. + +-- example/connect-to: show CURLOPT_CONNECT_TO ++ Perhaps in the 10 years since this issue, this already got a fix ++ upstream. + +- Closes #11340 ++ This patch deletes `LDFLAGS` from our customized libcurl options, ++ leaving a single copy of them as passed by autotools automatically. + +-Stefan Eissing (20 Jun 2023) ++ Reverts 1a593191c2769a47b8c3e4d9715ec9f6dddf5e36 ++ Closes #12310 + +-- hyper: unslow ++- autotools: accept linker flags via `CURL_LDFLAGS_{LIB,BIN}` + +- - refs #11203 where hyper was reported as being slow +- - fixes hyper_executor_poll to loop until it is out of +- tasks as advised by @seanmonstar in https://github.com/hyperium/hyper/issue +- s/3237 +- - added a fix in hyper io handling for detecting EAGAIN +- - added some debug logs to see IO results +- - pytest http/1.1 test cases pass +- - pytest h2 test cases fail on connection reuse. HTTP/2 +- connection reuse does not seem to work. Hyper submits +- a request on a reused connection, curl's IO works and +- thereafter hyper declares `Hyper: [1] operation was canceled: connection cl +- osed` +- on stderr without any error being logged before. ++ To allow passing `LDFLAGS` specific to libcurl (`CURL_LDFLAGS_LIB`) and ++ curl tool (`CURL_LDFLAGS_BIN`). + +- Fixes #11203 +- Reported-by: Gisle Vanem +- Advised-by: Sean McArthur +- Closes #11344 ++ This makes it possible to build libcurl and curl with a single ++ invocation with lib- and tool-specific custom linker flags. + +-- HTTP/2: upload handling fixes ++ Such flag can be enabling `.map` files, a `.def` file for libcurl DLL, ++ controlling static/shared, incl. requesting a static curl tool (with ++ `-static-libtool-libs`) while building both shared and static libcurl. + +- - fixes #11242 where 100% CPU on uploads was reported +- - fixes possible stalls on last part of a request body when +- that information could not be fully send on the connection +- due to an EAGAIN +- - applies the same EGAIN handling to HTTP/2 proxying ++ curl-for-win uses the above and some more. + +- Reported-by: Sergey Alirzaev +- Fixed #11242 +- Closes #11342 ++ These options are already supported in `Makefile.mk`. CMake has built-in ++ variables for this. + +-Daniel Stenberg (20 Jun 2023) ++ Closes #12312 + +-- example/opensslthreadlock: remove ++Jay Satiro (14 Nov 2023) + +- This shows how to setup OpenSSL mutex callbacks, but this is not +- necessary since OpenSSL 1.1.0 - meaning that no currently supported +- OpenSSL version requires this anymore ++- tool_cb_hdr: add an additional parsing check + +- Closes #11341 ++ - Don't dereference the past-the-end element when parsing the server's ++ Content-disposition header. + +-Dan Fandrich (19 Jun 2023) ++ As 'p' is advanced it can point to the past-the-end element and prior ++ to this change 'p' could be dereferenced in that case. + +-- libtest: display the times after a test timeout error ++ Technically the past-the-end element is not out of bounds because dynbuf ++ (which manages the header line) automatically adds a null terminator to ++ every buffer and that is not included in the buffer length passed to ++ the header callback. + +- This is to help with test failure debugging. ++ Closes https://github.com/curl/curl/pull/12320 + +- Ref: #11328 +- Closes #11329 ++Philip Heiduck (14 Nov 2023) + +-- test2600: bump a test timeout ++- .cirrus.yml: freebsd 14 + +- Case 1 failed at least once on GHA by going 30 msec too long. ++ ensure curl works on latest freebsd version + +- Ref: #11328 ++ Closes #12053 + +-- runtests: better detect and handle pipe errors in the controller ++Daniel Stenberg (13 Nov 2023) + +- Errors reading and writing to the pipes are now better detected and +- propagated up to the main test loop so it can be cleanly shut down. Such +- errors are usually due to a runner dying so it doesn't make much sense +- to try to continue the test run. ++- easy: in duphandle, init the cookies for the new handle + +-- runtests: cleanly abort the runner if the controller dies ++ ... not the source handle. + +- If the controller dies unexpectedly, have the runner stop its servers +- and exit cleanly. Otherwise, the orphaned servers will stay running in +- the background. ++ Closes #12318 + +-- runtests: improve error logging ++- duphandle: use strdup to clone *COPYPOSTFIELDS if size is not set + +- Give more information about test harness error conditions to help figure +- out what might be wrong. Print some internal test state when SIGUSR1 is +- sent to runtests.pl. ++ Previously it would unconditionally use the size, which is set to -1 ++ when strlen is requested. + +- Ref: #11328 ++ Updated test 544 to verify. + +-- runtests: better handle ^C during slow tests ++ Closes #12317 + +- Since the SIGINT handler now just sets a flag that must be checked in the +- main controller loop, make sure that runs periodically. Rather than +- blocking on a response from a test runner near the end of the test run, +- add a short timeout to allow it. ++- RELEASE-NOTES: synced + +-- runtests: rename server command file ++- curl_easy_duphandle.3: clarify how HSTS and alt-svc are duped + +- The name ftpserver.cmd was historical and has been used for more than +- ftp for many years now. Rename it to plain server.cmd to reduce +- confusion. ++ Closes #12315 + +-- tests: improve reliability of TFTP tests ++- urldata: move hstslist from 'set' to 'state' + +- Stop checking the timeout used by the client under test (for most +- tests). The timeout will change if the TFTP test server is slow (such as +- happens on an overprovisioned CI server) because the client will retry +- and reduce its timeout, and the actual value is not important for most +- tests. ++ To make it work properly with curl_easy_duphandle(). This, because ++ duphandle duplicates the entire 'UserDefined' struct by plain copy while ++ 'hstslist' is a linked curl_list of file names. This would lead to a ++ double-free when the second of the two involved easy handles were ++ closed. + +- test285 is changed a different way, by increasing the connect timeout. +- This improves test coverage by allowing the changed timeout value to be +- checked, but improves reliability with a carefully-chosen timeout that +- not only allows twice the time to respond as before, but also allows +- several retries before the client will change its timeout value. ++ Closes #12315 + +- Ref: #11328 ++- test1900: verify duphandle with HSTS using multiple files + +-Daniel Stenberg (19 Jun 2023) ++ Closes #12315 + +-- cf-socket: skip getpeername()/getsockname for TFTP ++Goro FUJI (13 Nov 2023) + +- Since the socket is not connected then the call fails. When the call +- fails, failf() is called to write an error message that is then +- surviving and is returned when the *real* error occurs later. The +- earlier, incorrect, error therefore hides the actual error message. ++- http: allow longer HTTP/2 request method names + +- This could be seen in stderr for test 1007 ++ - Increase the maximum request method name length from 11 to 23. + +- Test 1007 has now been extended to verify the stderr message. ++ For HTTP/1.1 and earlier there's not a specific limit in libcurl for ++ method length except that it is limited by the initial HTTP request ++ limit (DYN_HTTP_REQUEST). Prior to fc2f1e54 HTTP/2 was treated the same ++ and there was no specific limit. + +- Closes #11332 ++ According to Internet Assigned Numbers Authority (IANA) the longest ++ registered method is UPDATEREDIRECTREF which is 17 characters. + +-- example/crawler: make it use a few more options ++ Also there are unregistered methods used by some companies that are ++ longer than 11 characters. + +- For show, but reasonable ++ The limit was originally added by 61f52a97 but not used until fc2f1e54. + +-- libcurl-ws.3: mention raw mode ++ Ref: https://www.iana.org/assignments/http-methods/http-methods.xhtml + +- Closes #11339 ++ Closes https://github.com/curl/curl/pull/12311 + +-- example/default-scheme: set the default scheme for schemeless URLs ++Jay Satiro (12 Nov 2023) + +- Closes #11338 ++- CURLOPT_CAINFO_BLOB.3: explain what CURL_BLOB_COPY does + +-- example/hsts-preload: show one way to HSTS preload ++ - Add an explanation of the CURL_BLOB_COPY flag to CURLOPT_CAINFO_BLOB ++ and CURLOPT_PROXY_CAINFO_BLOB docs. + +- Closes #11337 ++ All the other _BLOB option docs already have the same explanation. + +-- examples/http-options: show how to send "OPTIONS *" ++ Closes https://github.com/curl/curl/pull/12277 + +- With CURLOPT_REQUEST_TARGET. ++Viktor Szakats (11 Nov 2023) + +- Also add use of CURLOPT_QUICK_EXIT to show. ++- tidy-up: dedupe Windows system libs in cmake + +- Closes #11333 ++ Reviewed-by: Daniel Stenberg ++ Closes #12307 + +-- examples: make use of CURLOPT_(REDIR_|)PROTOCOLS_STR ++Junho Choi (11 Nov 2023) + +- To show how to use them ++- ci: test with latest quiche release (0.19.0) + +- Closes #11334 ++ Closes #12180 + +-- examples/smtp-mime: use CURLOPT_MAIL_RCPT_ALLOWFAILS ++- quiche: use quiche_conn_peer_transport_params() + +- For show ++ In recent quiche, transport parameter API is separated ++ with quiche_conn_peer_transport_params(). ++ (https://github.com/cloudflare/quiche/pull/1575) ++ It breaks with bulding with latest(post 0.18.0) quiche. + +- Closes #11335 ++ Closes #12180 + +-- http: rectify the outgoing Cookie: header field size check ++Daniel Stenberg (11 Nov 2023) + +- Previously it would count the size of the entire outgoing request and +- not just the size of only the Cookie: header field - which was the +- intention. ++- Makefile: generate the VC 14.20 project files at dist-time + +- This could make the check be off by several hundred bytes in some cases. ++ Follow-up to 28287092cc5a6d6ef8 (#12282) + +- Closes #11331 ++ Closes #12290 + +-Jay Satiro (17 Jun 2023) ++Sam James (11 Nov 2023) + +-- lib: fix some format specifiers ++- misc: fix -Walloc-size warnings + +- - Use CURL_FORMAT_CURL_OFF_T where %zd was erroneously used for some +- curl_off_t variables. ++ GCC 14 introduces a new -Walloc-size included in -Wextra which gives: + +- - Use %zu where %zd was erroneously used for some size_t variables. ++ ``` ++ src/tool_operate.c: In function ‘add_per_transfer’: ++ src/tool_operate.c:213:5: warning: allocation of insufficient size ‘1’ fo ++ r type ‘struct per_transfer’ with size ‘480’ [-Walloc-size] ++ 213 | p = calloc(sizeof(struct per_transfer), 1); ++ | ^ ++ src/var.c: In function ‘addvariable’: ++ src/var.c:361:5: warning: allocation of insufficient size ‘1’ for type †++ ˜struct var’ with size ‘32’ [-Walloc-size] ++ 361 | p = calloc(sizeof(struct var), 1); ++ | ^ ++ ``` + +- Prior to this change some of the Windows CI tests were failing because +- in Windows 32-bit targets have a 32-bit size_t and a 64-bit curl_off_t. +- When %zd was used for some curl_off_t variables then only the lower +- 32-bits was read and the upper 32-bits would be read for part or all of +- the next specifier. ++ The calloc prototype is: ++ ``` ++ void *calloc(size_t nmemb, size_t size); ++ ``` + +- Fixes https://github.com/curl/curl/issues/11327 +- Closes https://github.com/curl/curl/pull/11321 ++ So, just swap the number of members and size arguments to match the ++ prototype, as we're initialising 1 struct of size `sizeof(struct ++ ...)`. GCC then sees we're not doing anything wrong. + +-Marcel Raad (16 Jun 2023) ++ Closes #12292 + +-- test427: add `cookies` feature and keyword ++Mark Gaiser (11 Nov 2023) + +- This test doesn't work with `--disable-cookies`. ++- IPFS: bugfixes + +- Closes https://github.com/curl/curl/pull/11320 ++ - Fixed endianness bug in gateway file parsing ++ - Use IPFS_PATH in tests where IPFS_DATA was used ++ - Fixed typos from traling -> trailing ++ - Fixed broken link in IPFS.md + +-Chris Talbot (15 Jun 2023) ++ Follow-up to 859e88f6533f9e + +-- imap: Provide method to disable SASL if it is advertised ++ Reported-by: Michael Kaufmann ++ Bug: https://github.com/curl/curl/pull/12152#issuecomment-1798214137 ++ Closes #12305 + +- - Implement AUTH=+LOGIN for CURLOPT_LOGIN_OPTIONS to prefer plaintext +- LOGIN over SASL auth. ++Daniel Stenberg (11 Nov 2023) + +- Prior to this change there was no method to be able to fall back to +- LOGIN if an IMAP server advertises SASL capabilities. However, this may +- be desirable for e.g. a misconfigured server. ++- VULN-DISCLOSURE-POLIC: remove broken link to hackerone + +- Per: https://www.ietf.org/rfc/rfc5092.html#section-3.2 ++ It should ideally soon not be done from hackerone anyway + +- ";AUTH=" looks to be the correct way to specify what +- authenication method to use, regardless of SASL or not. ++ Closes #12308 + +- Closes https://github.com/curl/curl/pull/10041 ++Andrew Kurushin (11 Nov 2023) + +-Daniel Stenberg (15 Jun 2023) ++- schannel: add CA cache support for files and memory blobs + +-- RELEASE-NOTES: synced ++ - Support CA bundle and blob caching. + +-- examples/multi-debugcallback.c: avoid the bool typedef ++ Cache timeout is 24 hours or can be set via CURLOPT_CA_CACHE_TIMEOUT. + +- Apparently this cannot be done in c23 ++ Closes https://github.com/curl/curl/pull/12261 + +- Reported-by: Cristian Rodríguez +- Fixes #11299 +- Closes #11319 ++Daniel Stenberg (10 Nov 2023) + +-- docs/libcurl/libcurl.3: cleanups and improvements ++- RELEASE-NOTES: synced + +- Closes #11317 ++Charlie C (10 Nov 2023) + +-- libcurl-ws.3: fix typo ++- cmake: option to disable install & drop `curlu` target when unused + +-- curl_ws_*.3: enhance ++ This patch makes the following changes: ++ - adds the option `CURL_DISABLE_INSTALL` - to disable 'install' targets. ++ - Removes the target `curlu` when the option `BUILD_TESTING` is set to ++ `OFF` - to prevent it from being loaded in Visual Studio. + +- - all: SEE ALSO the libcurl-ws man page +- - send: add example and return value information +- - meta: mention that the returned data is read-only ++ Closes #12287 + +- Closes #11318 ++Kai Pastor (10 Nov 2023) + +-- docs/libcurl/libcurl-ws.3: see also CURLOPT_WS_OPTIONS ++- cmake: fix multiple include of CURL package + +-- docs/libcurl/libcurl-ws.3: minor polish ++ Fixes errors on second `find_package(CURL)`. This is a frequent case ++ with transitive dependencies: ++ ``` ++ CMake Error at ...: ++ add_library cannot create ALIAS target "CURL::libcurl" because another ++ target with the same name already exists. ++ ``` + +-- libcurl-ws.3. WebSocket API overview ++ Test to reproduce: ++ ```cmake ++ cmake_minimum_required(VERSION 3.27) # must be 3.18 or higher + +- Closes #11314 ++ project(curl) + +-- libcurl-url.3: also mention CURLUPART_ZONEID ++ set(CURL_DIR "example/lib/cmake/CURL/") ++ find_package(CURL CONFIG REQUIRED) ++ find_package(CURL CONFIG REQUIRED) # fails + +- ... and sort the two part-using lists alphabetically ++ add_executable(main main.c) ++ target_link_libraries(main CURL::libcurl) ++ ``` + +-Marcel Raad (14 Jun 2023) ++ Ref: https://cmake.org/cmake/help/latest/release/3.18.html#other-changes ++ Ref: https://cmake.org/cmake/help/v3.18/policy/CMP0107.html ++ Ref: #12300 ++ Assisted-by: Harry Mallon ++ Closes #11913 + +-- fopen: fix conversion warning on 32-bit Android ++Viktor Szakats (8 Nov 2023) + +- When building for 32-bit ARM or x86 Android, `st_mode` is defined as +- `unsigned int` instead of `mode_t`, resulting in a +- -Wimplicit-int-conversion clang warning because `mode_t` is +- `unsigned short`. Add a cast to silence the warning. ++- tidy-up: use `OPENSSL_VERSION_NUMBER` + +- Ref: https://android.googlesource.com/platform/bionic/+/refs/tags/ndk-r25c/li +- bc/include/sys/stat.h#86 +- Closes https://github.com/curl/curl/pull/11313 ++ Uniformly use `OPENSSL_VERSION_NUMBER` to check for OpenSSL version. ++ Before this patch some places used `OPENSSL_VERSION_MAJOR`. + +-- http2: fix variable type ++ Also fix `lib/md4.c`, which included `opensslconf.h`, but that doesn't ++ define any version number in these implementations: BoringSSL, AWS-LC, ++ LibreSSL, wolfSSL. (Only in mainline OpenSSL/quictls). Switch that to ++ `opensslv.h`. This wasn't causing a deeper problem because the code is ++ looking for v3, which is only provided by OpenSSL/quictls as of now. + +- `max_recv_speed` is `curl_off_t`, so using `size_t` might result in +- -Wconversion GCC warnings for 32-bit `size_t`. Visible in the NetBSD +- ARM autobuilds. ++ According to https://github.com/openssl/openssl/issues/17517, the macro ++ `OPENSSL_VERSION_NUMBER` is safe to use and not deprecated. + +- Closes https://github.com/curl/curl/pull/11312 ++ Reviewed-by: Marcel Raad ++ Closes #12298 + +-Daniel Stenberg (13 Jun 2023) ++Daniel Stenberg (8 Nov 2023) + +-- vtls: fix potentially uninitialized local variable warnings ++- resolve.d: drop a multi use-sentence + +- Follow-up from a4a5e438ae533c ++ Since the `multi:` keyword adds that message. + +- Closes #11310 ++ Reported-by: ç©ä¸¹å°¼ Dan Jacobson ++ Fixes https://github.com/curl/curl/discussions/12294 ++ Closes #12295 + +-- timeval: use CLOCK_MONOTONIC_RAW if available ++- content_encoding: make Curl_all_content_encodings allocless + +- Reported-by: Harry Sintonen +- Ref: #11288 +- Closes #11291 ++ - Fixes a memory leak pointed out by Coverity ++ - Also found by OSS-Fuzz: https://bugs.chromium.org/p/oss-fuzz/issues/detail? ++ id=63947 ++ - Avoids unncessary allocations + +-Stefan Eissing (12 Jun 2023) ++ Follow-up ad051e1cbec68b2456a22661b + +-- tool: add curl command line option `--trace-ids` ++ Closes #12289 + +- - added and documented --trace-ids to prepend (after the timestamp) +- the transfer and connection identifiers to each verbose log line +- - format is [n-m] with `n` being the transfer id and `m` being the +- connection id. In case there is not valid connection id, print 'x'. +- - Log calls with a handle that has no transfer id yet, are written +- without any ids. ++Michael Kaufmann (7 Nov 2023) + +- Closes #11185 ++- vtls: use ALPN "http/1.1" for HTTP/1.x, including HTTP/1.0 + +-- lib: add CURLINFO_CONN_ID and CURLINFO_XFER_ID ++ Some servers don't support the ALPN protocol "http/1.0" (e.g. IIS 10), ++ avoid it and use "http/1.1" instead. + +- - add an `id` long to Curl_easy, -1 on init +- - once added to a multi (or its own multi), it gets +- a non-negative number assigned by the connection cache +- - `id` is unique among all transfers using the same +- cache until reaching LONG_MAX where it will wrap +- around. So, not unique eternally. +- - CURLINFO_CONN_ID returns the connection id attached to +- data or, if none present, data->state.lastconnect_id +- - variables and type declared in tool for write out ++ This reverts commit df856cb5c9 (#10183). + +- Closes #11185 ++ Fixes #12259 ++ Closes #12285 + +-Daniel Stenberg (12 Jun 2023) ++Daniel Stenberg (7 Nov 2023) + +-- CURLOPT_INFILESIZE.3: mention -1 triggers chunked ++- Makefile.am: drop vc10, vc11 and vc12 projects from dist + +- Ref: #11300 +- Closes #11304 ++ They are end of life products. Support for generating them remain in the ++ repo for a while but this change drops them from distribution. + +-Philip Heiduck (12 Jun 2023) ++ Closes #12288 + +-- CI: openssl-3.0.9+quic ++David Suter (7 Nov 2023) + +- Closes #11296 ++- projects: add VC14.20 project files + +-Karthikdasari0423 (12 Jun 2023) ++ Windows projects included VC14, VC14.10, VC14.30 but not VC14.20. ++ OpenSSL and Wolf SSL scripts mention VC14.20 so I don't see a reason why ++ this is missing. Updated the templates to produce a VC14.20 project. ++ Project opens in Visual Studio 2019 as expected. + +-- HTTP3.md: update openssl version ++ Closes #12282 + +- Closes #11297 ++Daniel Stenberg (7 Nov 2023) + +-Daniel Stenberg (12 Jun 2023) ++- curl: move IPFS code into src/tool_ipfs.[ch] + +-- vtls: avoid memory leak if sha256 call fails ++ - convert ensure_trailing into ensure_trailing_slash ++ - strdup the URL string to own it proper ++ - use shorter variable names ++ - combine some expressions ++ - simplify error handling in ipfs_gateway() ++ - add MAX_GATEWAY_URL_LEN + proper bailout if maximum is reached ++ - ipfs-gateway.d polish and simplification ++ - shorten ipfs error message + make them "synthetic" + +- ... in the pinned public key handling function. ++ Closes #12281 + +- Reported-by: lizhuang0630 on github +- Fixes #11306 +- Closes #11307 ++Viktor Szakats (6 Nov 2023) + +-- examples/ipv6: disable on win32 ++- build: delete support bits for obsolete Windows compilers + +- I can't make if_nametoindex() work there ++ - Pelles C: Unclear status, failed to obtain a fresh copy a few months ++ ago. Possible website is HTTP-only. ~10 years ago I left this compiler ++ dealing with crashes and other issues with no response on the forum ++ for years. It has seen some activity in curl back in 2021. ++ - LCC: Last stable release in September 2002. ++ - Salford C: Misses winsock2 support, possibly abandoned? Last mentioned ++ in 2006. ++ - Borland C++: We dropped Borland C++ support in 2018. ++ - MS Visual C++ 6.0: Released in 1998. curl already requires VS 2010 ++ (or possibly 2008) as a minimum. + +- Follow-up to c23dc42f3997acf23 ++ Closes #12222 + +- Closes #11305 ++- build: delete `HAVE_STDINT_H` and `HAVE_INTTYPES_H` + +-- tool_operate: allow cookie lines up to 8200 bytes ++ We use `stdint.h` unconditionally in all places except one. These uses ++ are imposed by external dependencies / features. nghttp2, quic, wolfSSL ++ and `HAVE_MACH_ABSOLUTE_TIME` do require this C99 header. It means that ++ any of these features make curl require a C99 compiler. (In case of ++ MSVC, this means Visual Studio 2010 or newer.) + +- Since this option might set multiple cookies in the same line, it does +- not make total sense to cap this at 4096 bytes, which is the limit for a +- single cookie name or value. ++ This patch changes the single use of `stdint.h` guarded by ++ `HAVE_STDINT_H` to use `stdint.h` unconditionally. Also stop using ++ `inttypes.h` as an alternative there. `HAVE_INTTYPES_H` wasn't used ++ anywhere else, allowing to delete this feature check as well. + +- Closes #11303 ++ Closes #12275 + +-- test427: verify sending more cookies than fit in a 8190 bytes line ++Daniel Stenberg (6 Nov 2023) + +- curl will then only populate the header with cookies that fit, dropping +- ones that otherwise would have been sent ++- tool_operate: do not mix memory models + +- Ref: https://curl.se/mail/lib-2023-06/0020.html ++ Make sure 'inputpath' only points to memory allocated by libcurl so that ++ curl_free works correctly. + +- Closes #11303 ++ Pointed out by Coverity + +-- testutil: allow multiple %-operators on the same line ++ Follow-up to 859e88f6533f9e1f890 + +- Closes #11303 ++ Closes #12280 + +-Oleg Jukovec (12 Jun 2023) ++Stefan Eissing (6 Nov 2023) + +-- docs: update CURLOPT_UPLOAD.3 ++- lib: client writer, part 2, accounting + logging + +- The behavior of CURLOPT_UPLOAD differs from what is described in the +- documentation. The option automatically adds the 'Transfer-Encoding: +- chunked' header if the upload size is unknown. ++ This PR has these changes: + +- Closes #11300 ++ Renaming of unencode_* to cwriter, e.g. client writers ++ - documentation of sendf.h functions ++ - move max decode stack checks back to content_encoding.c ++ - define writer phase which was used as order before ++ - introduce phases for monitoring inbetween decode phases ++ - offering default implementations for init/write/close + +-Daniel Stenberg (12 Jun 2023) ++ Add type paramter to client writer's do_write() ++ - always pass all writes through the writer stack ++ - writers who only care about BODY data will pass other writes unchanged + +-- RELEASE-NOTES: synced ++ add RAW and PROTOCOL client writers ++ - RAW used for Curl_debug() logging of CURLINFO_DATA_IN ++ - PROTOCOL used for updates to data->req.bytecount, max_filesize checks and ++ Curl_pgrsSetDownloadCounter() ++ - remove all updates of data->req.bytecount and calls to ++ Curl_pgrsSetDownloadCounter() and Curl_debug() from other code ++ - adjust test457 expected output to no longer see the excess write + +-- CURLOPT_AWS_SIGV4.3: remove unused variable from example ++ Closes #12184 + +- Closes #11302 ++Daniel Stenberg (6 Nov 2023) + +-- examples/https.c: use CURLOPT_CA_CACHE_TIMEOUT ++- VULN-DISCLOSURE-POLICY: escape sequences are not a security flaw + +- for demonstration purposes ++ Closes #12278 + +- Closes #11290 ++Viktor Szakats (6 Nov 2023) + +-- example/ipv6: feature CURLOPT_ADDRESS_SCOPE in use ++- rand: fix build error with autotools + LibreSSL + +- Closes #11282 ++ autotools unexpectedly detects `arc4random` because it is also looking ++ into dependency libs. One dependency, LibreSSL, happens to publish an ++ `arc4random` function (via its shared lib before v3.7, also via static ++ lib as of v3.8.2). When trying to use this function in `lib/rand.c`, ++ its protoype is missing. To fix that, curl included a prototype, but ++ that used a C99 type without including `stdint.h`, causing: + +-Karthikdasari0423 (10 Jun 2023) ++ ``` ++ ../../lib/rand.c:37:1: error: unknown type name 'uint32_t' ++ 37 | uint32_t arc4random(void); ++ | ^ ++ 1 error generated. ++ ``` + +-- docs: Update HTTP3.md for newer ngtcp2 and nghttp3 ++ This patch improves this by dropping the local prototype and instead ++ limiting `arc4random` use for non-OpenSSL builds. OpenSSL builds provide ++ their own random source anyway. + +- Follow-up to fb9b9b58 ++ The better fix would be to teach autotools to not link dependency libs ++ while detecting `arc4random`. + +- Ref: #11184 +- Closes #11295 ++ LibreSSL publishing a non-namespaced `arc4random` tracked here: ++ https://github.com/libressl/portable/issues/928 + +-Dan Fandrich (10 Jun 2023) ++ Regression from 755ddbe901cd0c921fbc3ac5b3775c0dc683bc73 #10672 + +-- docs: update the supported ngtcp2 and nghttp3 versions ++ Reviewed-by: Daniel Stenberg ++ Fixes #12257 ++ Closes #12274 + +- Follow-up to cae9d10b ++Daniel Stenberg (5 Nov 2023) + +- Ref: #11184 +- Closes #11294 ++- RELEASE-NOTES: synced + +-- tests: fix error messages & handling around sockets ++- strdup: do Curl_strndup without strncpy + +- The wrong error code was checked on Windows on UNIX socket failures, +- which could have caused all UNIX sockets to be reported as having +- errored and the tests therefore skipped. Also, a useless error message +- was displayed on socket errors in many test servers on Windows because +- strerror() doesn't work on WinSock error codes; perror() is overridden +- there to work on all errors and is used instead. ++ To avoid (false positive) gcc-13 compiler warnings. + +- Ref #11258 +- Closes #11265 ++ Follow-up to 4855debd8a2c1cb + +-Daniel Stenberg (9 Jun 2023) ++ Assisted-by: Jay Satiro ++ Reported-by: Viktor Szakats ++ Fixes #12258 + +-- CURLOPT_SSH_PRIVATE_KEYFILE.3: expand on the file search ++Enno Boland (5 Nov 2023) + +- Reported-by: atjg on github +- Ref: #11287 +- Closes #11289 ++- HTTP: fix empty-body warning + +-Stefan Eissing (9 Jun 2023) ++ This change fixes a compiler warning with gcc-12.2.0 when ++ `-DCURL_DISABLE_BEARER_AUTH=ON` is used. + +-- ngtcp2: use ever increasing timestamp in io ++ /home/tox/src/curl/lib/http.c: In function 'Curl_http_input_auth': ++ /home/tox/src/curl/lib/http.c:1147:12: warning: suggest braces around emp ++ ty body in an 'else' statement [-Wempty-body] ++ 1147 | ; ++ | ^ + +- - ngtcp2 v0.16.0 asserts that timestamps passed to its function +- will only ever increase. +- - Use a context shared between ingress/egress operations that +- uses a shared timestamp, regularly updated during calls. ++ Closes #12262 + +- Closes #11288 ++Daniel Stenberg (5 Nov 2023) + +-Daniel Stenberg (9 Jun 2023) ++- openssl: identify the "quictls" backend correctly + +-- GHA: use nghttp2 1.54.0 for the ngtcp2 jobs ++ Since vanilla OpenSSL does not support the QUIC API I think it helps ++ users to identify the correct OpenSSL fork in version output. The best ++ (crude) way to do that right now seems to be to check if ngtcp2 support ++ is enabled. + +-Philip Heiduck (9 Jun 2023) ++ Closes #12270 + +-- GHA: ngtcp2: use 0.16.0 and nghttp3 0.12.0 ++Mark Gaiser (5 Nov 2023) + +-Daniel Stenberg (9 Jun 2023) ++- curl: improved IPFS and IPNS URL support + +-- ngtcp2: build with 0.16.0 and nghttp3 0.12.0 ++ Previously just ipfs:// and ipns:// was supported, which is ++ too strict for some usecases. + +- - moved to qlog_write +- - crypto => encryption +- - CRYPTO => ENCRYPTION +- - removed "_is_" +- - ngtcp2_conn_shutdown_stream_read and +- ngtcp2_conn_shutdown_stream_write got flag arguments +- - the nghttp3_callbacks struct got a recv_settings callback ++ This patch allows paths and query arguments to be used too. ++ Making this work according to normal http semantics: + +- Closes #11184 ++ ipfs:///foo/bar?key=val ++ ipns:///foo/bar?key=val + +-- example/http2-download: set CURLOPT_BUFFERSIZE ++ The gateway url support is changed. ++ It now only supports gateways in the form of: + +- Primarily because no other example sets it, and remove the disabling of +- the certificate check because we should not recommend that. ++ http:///foo/bar ++ http:// + +- Closes #11284 ++ Query arguments here are explicitly not allowed and trigger an intended ++ malformed url error. + +-- example/crawler: also set CURLOPT_AUTOREFERER ++ There also was a crash when IPFS_PATH was set with a non trailing ++ forward slash. This has been fixed. + +- Could make sense, and it was not used in any example before. ++ Lastly, a load of test cases have been added to verify the above. + +- Closes #11283 ++ Reported-by: Steven Allen ++ Fixes #12148 ++ Closes #12152 + +-Wyatt OʼDay (9 Jun 2023) ++Harry Mallon (5 Nov 2023) + +-- tls13-ciphers.d: include Schannel ++- docs: KNOWN_BUGS cleanup + +- Closes #11271 ++ * Remove other mention of hyper memory-leaks from `KNOWN_BUGS`. ++ Should have been removed in 629723ecf22a8eae78d64cceec2f3bdae703ec95 + +-Daniel Stenberg (9 Jun 2023) ++ * Remove mention of aws-sigv4 sort query string from `KNOWN_BUGS`. ++ Fixed in #11806 + +-- curl_pushheader_byname/bynum.3: document in their own man pages ++ * Remove mention of aws-sigv4 query empty value problems + +- These two functions were added in 7.44.0 when CURLMOPT_PUSHFUNCTION was +- introduced but always lived a life in the shadows, embedded in the +- CURLMOPT_PUSHFUNCTION man page. Until now. ++ * Remove mention of aws-sigv4 missing amz-content-sha256 ++ Fixed in #9995 + +- It makes better sense and gives more visibility to document them in +- their own stand-alone man pages. ++- http_aws_sigv4: canonicalise valueless query params + +- Closes #11286 ++ Fixes #8107 ++ Closes #12244 + +-- curl_mprintf.3: minor fix of the example ++Michael Kaufmann (4 Nov 2023) + +-- curl_url_set: enforce the max string length check for all parts ++- docs: preserve the modification date when copying the prebuilt man page + +- Update the docs and test 1559 accordingly ++ The previously built man page "curl.1" must be copied with the original ++ modification date, otherwise the man page is never updated. + +- Closes #11273 ++ This fixes a bug that has been introduced with commit 2568441cab. + +-- examples/ftpuploadresume.c: add use of CURLOPT_ACCEPTTIMEOUT_MS ++ Reviewed-by: Dan Fandrich ++ Reviewed-by: Daniel Stenberg + +- For show ++ Closes #12199 + +- Closes #11277 ++Daniel Stenberg (4 Nov 2023) + +-- examples/unixsocket.c: example using CURLOPT_UNIX_SOCKET_PATH ++- docs: remove bold from some man page SYNOPSIS sections + +- and alternatively CURLOPT_ABSTRACT_UNIX_SOCKET ++ In the name of consistency + +- Closes #11276 ++ Closes #12267 + +-Anssi Kolehmainen (8 Jun 2023) ++- openssl: two multi pointer checks should probably rather be asserts + +-- docs: fix missing parameter names in examples ++ ... so add the asserts now and consider removing the dynamic checks in a ++ future. + +- Closes #11278 ++ Ref: #12261 ++ Closes #12264 + +-Daniel Stenberg (8 Jun 2023) ++boilingoden (4 Nov 2023) + +-- urlapi: have *set(PATH) prepend a slash if one is missing ++- docs: add supported version for the json write-out + +- Previously the code would just do that for the path when extracting the +- full URL, which made a subsequent curl_url_get() of the path to +- (unexpectedly) still return it without the leading path. ++ xref: https://curl.se/changes.html#7_70_0 + +- Amend lib1560 to verify this. Clarify the curl_url_set() docs about it. ++ Closes #12266 + +- Bug: https://curl.se/mail/lib-2023-06/0015.html +- Closes #11272 +- Reported-by: Pedro Henrique ++Viktor Szakats (3 Nov 2023) + +-Dan Fandrich (7 Jun 2023) ++- appveyor: make VS2008-built curl tool runnable + +-- runtests; give each server a unique log lock file ++ By linking the CRT statically. This avoids the error about missing ++ runtime DLL `MSVCR90.dll` when running the freshly built `curl.exe`. + +- Logs are written by several servers and all of them must be finished +- writing before the test results can be determined. This means each +- server must have its own lock file rather than sharing a single one, +- which is how it was done up to now. Previously, the first server to +- complete a test would clear the lock before the other server was done, +- which caused flaky tests. ++ Closes #12263 + +- Lock files are now all found in their own directory, so counting locks +- equals counting the files in that directory. The result is that the +- proxy logs are now reliably written which actually changes the expected +- output for two tests. ++Stefan Eissing (3 Nov 2023) + +- Fixes #11231 +- Closes #11259 ++- url: proxy ssl connection reuse fix + +-- runtests: make test file directories in log/N ++ - tunnel https proxy used for http: transfers does ++ no check if proxy-ssl configuration matches ++ - test cases added, test_10_12 fails on 8.4.0 + +- Test files in subdirectories were not created after parallel test log +- directories were moved down a level due to a now-bad comparison. ++ Closes #12255 + +- Follow-up to 92d7dd39 ++Jay Satiro (3 Nov 2023) + +- Ref #11264 +- Closes #11267 ++- curl_sspi: support more revocation error names in error messages + +-Daniel Stenberg (7 Jun 2023) ++ - Add these revocation errors to sspi error list: ++ CRYPT_E_NO_REVOCATION_DLL, CRYPT_E_NO_REVOCATION_CHECK, ++ CRYPT_E_REVOCATION_OFFLINE and CRYPT_E_NOT_IN_REVOCATION_DATABASE. + +-- ws: make the curl_ws_meta() return pointer a const ++ Prior to this change those error codes were not matched to their macro ++ name and instead shown as "unknown error". + +- The returned info is read-only for the user. ++ Before: + +- Closes #11261 ++ schannel: next InitializeSecurityContext failed: ++ Unknown error (0x80092013) - The revocation function was ++ unable to check revocation because the revocation server was offline. + +-- RELEASE-NOTES: synced ++ After: + +-- runtests: move parallel log dirs from logN to log/N ++ schannel: next InitializeSecurityContext failed: ++ CRYPT_E_REVOCATION_OFFLINE (0x80092013) - The revocation function was ++ unable to check revocation because the revocation server was offline. + +- Having several hundreds of them in there gets annoying. ++ Bug: https://github.com/curl/curl/issues/12239 ++ Reported-by: Niracler Li + +- Closes #11264 ++ Closes https://github.com/curl/curl/pull/12241 + +-Dan Fandrich (7 Jun 2023) ++- strdup: don't allow Curl_strndup to read past a null terminator + +-- test447: move the test file into %LOGDIR ++ - Use malloc + strncpy instead of Curl_memdup to dupe the string before ++ null terminating it. + +-Viktor Szakats (7 Jun 2023) ++ Prior to this change if Curl_strndup was passed a length longer than ++ the allocated string then it could copy out of bounds. + +-- cmake: add support for "unity" builds ++ This change is for posterity. Curl_strndup was added in the parent ++ commit and currently none of the calls to it pass a length that would ++ cause it to read past the allocated length of the input. + +- Aka "jumbo" or "amalgamation" builds. It means to compile all sources +- per target as a single C source. This is experimental. ++ Follow-up to d3b3ba35. + +- You can enable it by passing `-DCMAKE_UNITY_BUILD=ON` to cmake. +- It requires CMake 3.16 or newer. ++ Closes https://github.com/curl/curl/pull/12254 + +- It makes builds (much) faster, allows for better optimizations and tends +- to promote less ambiguous code. ++Daniel Stenberg (2 Nov 2023) + +- Also add a new AppVeyor CI job and convert an existing one to use +- "unity" mode (one MSVC, one MinGW), and enable it for one macOS CI job. ++- lib: add and use Curl_strndup() + +- Fix related issues: +- - add missing include guard to `easy_lock.h`. +- - rename static variables and functions (and a macro) with names reused +- across sources, or shadowed by local variables. +- - add an `#undef` after use. +- - add a missing `#undef` before use. +- - move internal definitions from `ftp.h` to `ftp.c`. +- - `curl_memory.h` fixes to make it work when included repeatedly. +- - stop building/linking curlx bits twice for a static-mode curl tool. +- These caused doubly defined symbols in unity builds. +- - silence missing extern declarations compiler warning for ` _CRT_glob`. +- - fix extern declarations for `tool_freq` and `tool_isVistaOrGreater`. +- - fix colliding static symbols in debug mode: `debugtime()` and +- `statename`. +- - rename `ssl_backend_data` structure to unique names for each +- TLS-backend, along with the `ssl_connect_data` struct member +- referencing them. This required adding casts for each access. +- - add workaround for missing `[P]UNICODE_STRING` types in certain Windows +- builds when compiling `lib/ldap.c`. To support "unity" builds, we had +- to enable `SCHANNEL_USE_BLACKLISTS` for Schannel (a Windows +- `schannel.h` option) _globally_. This caused an indirect inclusion of +- Windows `schannel.h` from `ldap.c` via `winldap.h` to have it enabled +- as well. This requires `[P]UNICODE_STRING` types, which is apperantly +- not defined automatically (as seen with both MSVS and mingw-w64). +- This patch includes `` to fix it. +- Ref: https://github.com/curl/curl/runs/13987772013 +- Ref: https://dev.azure.com/daniel0244/curl/_build/results?buildId=15827&vie +- w=logs&jobId=2c9f582d-e278-56b6-4354-f38a4d851906&j=2c9f582d-e278-56b6-4354-f +- 38a4d851906&t=90509b00-34fa-5a81-35d7-5ed9569d331c +- - tweak unity builds to compile `lib/memdebug.c` separately in memory +- trace builds to avoid PP confusion. +- - force-disable unity for test programs. +- - do not compile and link libcurl sources to libtests _twice_ when libcurl +- is built in static mode. ++ The Curl_strndup() function is similar to memdup(), but copies 'n' bytes ++ then adds a terminating null byte ('\0'). + +- KNOWN ISSUES: +- - running tests with unity builds may fail in cases. +- - some build configurations/env may not compile in unity mode. E.g.: +- https://ci.appveyor.com/project/curlorg/curl/builds/47230972/job/51wfesgnfu +- auwl8q#L250 ++ Closes #12251 + +- Ref: https://github.com/libssh2/libssh2/issues/1034 +- Ref: https://cmake.org/cmake/help/latest/prop_tgt/UNITY_BUILD.html +- Ref: https://en.wikipedia.org/wiki/Unity_build ++- CURPOST_POSTFIELDS.3: add CURLOPT_COPYPOSTFIELDS in SEE ALSO + +- Closes #11095 ++Stefan Eissing (2 Nov 2023) + +-Daniel Stenberg (7 Jun 2023) ++- pytest: use lower count in repeat tests + +-- examples/websocket.c: websocket example using CONNECT_ONLY ++ - lower large iteration counts in some tests somewhat for ++ the same coverage with less duration + +- Closes #11262 ++ Closes #12248 + +-- websocket-cb: example doing WebSocket download using callback ++Daniel Stenberg (2 Nov 2023) + +- Very basic ++- RELEASE-NOTES: synced + +- Closes #11260 ++- docs: clarify that curl passes on input unfiltered + +-- test/.gitignore: ignore log* ++ ... for several options. + +-Dan Fandrich (5 Jun 2023) ++ Reported-by: Ophir Lojkine + +-- runtests: document the -j parallel testing option ++ Closes #12249 + +- Reported-by: Daniel Stenberg +- Ref: #10818 +- Closes #11255 ++- urlapi: when URL encoding the fragment, pass in the right length + +-- runtests: create multiple test runners when requested ++ A benign bug because it would only add an extra null terminator. + +- Parallel testing is enabled by using a nonzero value for the -j option +- to runtests.pl. Performant values seem to be about 7*num CPU cores, or +- 1.3*num CPU cores if Valgrind is in use. ++ Made lib1560 get a test that runs this code. + +- Flaky tests due to improper log locking (bug #11231) are exacerbated +- while parallel testing, so it is not enabled by default yet. ++ Closes #12250 + +- Fixes #10818 +- Closes #11246 ++Stefan Eissing (2 Nov 2023) + +-- runtests: handle repeating tests in multiprocess mode ++- vtls: late clone of connection ssl config + +- Such as what happens with the --repeat option. Some functions are +- changed to pass the runner ID instead of relying on the non-unique test +- number. ++ - perform connection cache matching against `data->set.ssl.primary` ++ and proxy counterpart ++ - fully clone connection ssl config only when connection is used + +- Ref: #10818 ++ Closes #12237 + +-- runtests: buffer logmsg while running singletest() ++- msh3: error when built with CURL_DISABLE_SOCKETPAIR set + +- This allows all messages relating to a single test case to be displayed +- together at the end of the test. ++ Reported-by: Gisle Vanem ++ Closes #12252 ++ Fixes #12213 + +- Ref: #10818 ++Daniel Stenberg (2 Nov 2023) + +-- runtests: call initserverconfig() in the runner ++- hsts: skip single-dot hostname + +- This must be done so variables pick up the runner's unique $LOGDIR. ++ Reported-by: Maksymilian Arciemowicz + +- Ref: #10818 ++ Closes #12247 + +-- runtests: use a per-runner random seed ++- vtls: fix build without proxy + +- Each runner needs a unique random seed to reduce the chance of port +- number collisions. The new scheme uses a consistent per-runner source of +- randomness which results in deterministic behaviour, as it did before. ++ Follow-up to bf0e278a3c54bc7fee7360da17c + +- Ref: #10818 ++ closes #12243 + +-- runtests: complete main test loop refactor for multiple runners ++- docs/example/keepalive.c: show TCP keep-alive options + +- The main test loop is now able to handle multiple runners, or no +- additional runner processes at all. At most one process is still +- created, however. ++ Closes #12242 + +- Ref: #10818 ++- lib1560: verify appending blank URL encoded query string + +-- runtests: prepare main test loop for multiple runners ++- urlapi: skip appending NULL pointer query + +- Some variables are expanded to arrays and hashes so that multiple +- runners can be used for running tests. ++ Reported-by: kirbyn17 on hackerone + +- Ref: #10818 ++ Closes #12240 + +-Stefan Eissing (5 Jun 2023) ++- lib1560: verify setting host to "" with and without URL encode + +-- bufq: make write/pass methods more robust ++- urlapi: avoid null deref if setting blank host to url encode + +- - related to #11242 where curl enters busy loop when +- sending http2 data to the server ++ Reported-by: kirbyn17 on hackerone + +- Closes #11247 ++ Closes #12240 + +-Boris Verkhovskiy (5 Jun 2023) ++- dynbuf: assert for NULL pointer inputs + +-- tool_getparam: fix comment ++ Help us catch more mistakes. + +- Closes #11253 ++ Closes #12238 + +-Raito Bezarius (5 Jun 2023) ++- HTTP3: ngtcp2 builds are no longer experimental + +-- haproxy: add --haproxy-clientip flag to spoof client IPs ++ The other HTTP/3 backends are still experimental. + +- CURLOPT_HAPROXY_CLIENT_IP in the library ++ Closes #12235 + +- Closes #10779 ++Stefan Eissing (31 Oct 2023) + +-Daniel Stenberg (5 Jun 2023) ++- vtls: cleanup SSL config management + +-- curl: add --ca-native and --proxy-ca-native ++ - remove `Curl_ssl_get_config()`, no longer needed + +- These are two boolean options to ask curl to use the native OS's CA +- store when verifying TLS servers. For peers and for proxies +- respectively. ++ Closes #12204 + +- They currently only have an effect for curl on Windows when built to use +- OpenSSL for TLS. ++Daniel Stenberg (31 Oct 2023) + +- Closes #11049 ++- libcurl-thread.3: simplify the TLS section + +-Viktor Szakats (5 Jun 2023) ++ All TLS libraries curl can use are threadsafe since OpenSSL 1.1.x, August ++ 2016. + +-- build: drop unused/redundant `HAVE_WINLDAP_H` ++ Closes #12233 + +- Sources did not use it. Autotools used it when checking for the +- `winldap` library, which is redundant. ++- configure: better --disable-http + +- With CMake, detection was broken: +- ``` +- Run Build Command(s):/usr/local/Cellar/cmake/3.26.3/bin/cmake -E env VERBOSE= +- 1 /usr/bin/make -f Makefile cmTC_2d8fe/fast && /Library/Developer/CommandLine +- Tools/usr/bin/make -f CMakeFiles/cmTC_2d8fe.dir/build.make CMakeFiles/cmTC_2 +- d8fe.dir/build +- Building C object CMakeFiles/cmTC_2d8fe.dir/HAVE_WINLDAP_H.c.obj +- /usr/local/opt/llvm/bin/clang --target=x86_64-w64-mingw32 --sysroot=/usr/loca +- l/opt/mingw-w64/toolchain-x86_64 -D_WINSOCKAPI_="" -I/my/quictls/x64-ucrt/usr +- /include -I/my/zlib/x64-ucrt/usr/include -I/my/brotli/x64-ucrt/usr/include -W +- no-unused-command-line-argument -D_UCRT -DCURL_HIDDEN_SYMBOLS -DHAVE_SSL_SE +- T0_WBIO -DHAS_ALPN -DNGHTTP2_STATICLIB -DNGHTTP3_STATICLIB -DNGTCP2_STATICLIB +- -DUSE_MANUAL=1 -fuse-ld=lld -Wl,-s -static-libgcc -lucrt -Wextra -Wall -p +- edantic -Wbad-function-cast -Wconversion -Winline -Wmissing-declarations -Wmi +- ssing-prototypes -Wnested-externs -Wno-long-long -Wno-multichar -Wpointer-ari +- th -Wshadow -Wsign-compare -Wundef -Wunused -Wwrite-strings -Wcast-align -Wde +- claration-after-statement -Wempty-body -Wendif-labels -Wfloat-equal -Wignored +- -qualifiers -Wno-format-nonliteral -Wno-sign-conversion -Wno-system-headers - +- Wstrict-prototypes -Wtype-limits -Wvla -Wshift-sign-overflow -Wshorten-64-to- +- 32 -Wdouble-promotion -Wenum-conversion -Wunused-const-variable -Wcomma -Wmis +- sing-variable-declarations -Wassign-enum -Wextra-semi-stmt -MD -MT CMakeFile +- s/cmTC_2d8fe.dir/HAVE_WINLDAP_H.c.obj -MF CMakeFiles/cmTC_2d8fe.dir/HAVE_WINL +- DAP_H.c.obj.d -o CMakeFiles/cmTC_2d8fe.dir/HAVE_WINLDAP_H.c.obj -c /my/curl/b +- ld-cmake-llvm-x64-shared/CMakeFiles/CMakeScratch/TryCompile-3JP6dR/HAVE_WINLD +- AP_H.c +- In file included from /my/curl/bld-cmake-llvm-x64-shared/CMakeFiles/CMakeScra +- tch/TryCompile-3JP6dR/HAVE_WINLDAP_H.c:2: +- In file included from /usr/local/opt/mingw-w64/toolchain-x86_64/x86_64-w64-mi +- ngw32/include/winldap.h:17: +- In file included from /usr/local/opt/mingw-w64/toolchain-x86_64/x86_64-w64-mi +- ngw32/include/schnlsp.h:9: +- In file included from /usr/local/opt/mingw-w64/toolchain-x86_64/x86_64-w64-mi +- ngw32/include/schannel.h:10: +- /usr/local/opt/mingw-w64/toolchain-x86_64/x86_64-w64-mingw32/include/wincrypt +- .h:5041:254: error: unknown type name 'PSYSTEMTIME' +- WINIMPM PCCERT_CONTEXT WINAPI CertCreateSelfSignCertificate (HCRYPTPROV_OR_ +- NCRYPT_KEY_HANDLE hCryptProvOrNCryptKey, PCERT_NAME_BLOB pSubjectIssuerBlob, +- DWORD dwFlags, PCRYPT_KEY_PROV_INFO pKeyProvInfo, PCRYPT_ALGORITHM_IDENTIFIER +- pSignatureAlgorithm, PSYSTEMTIME pStartTime, PSYSTEMTIME pEndTime, PCERT_EXT +- ENSIONS pExtensions); +- +- +- +- ^ +- /usr/local/opt/mingw-w64/toolchain-x86_64/x86_64-w64-mingw32/include/wincrypt +- .h:5041:278: error: unknown type name 'PSYSTEMTIME' +- WINIMPM PCCERT_CONTEXT WINAPI CertCreateSelfSignCertificate (HCRYPTPROV_OR_ +- NCRYPT_KEY_HANDLE hCryptProvOrNCryptKey, PCERT_NAME_BLOB pSubjectIssuerBlob, +- DWORD dwFlags, PCRYPT_KEY_PROV_INFO pKeyProvInfo, PCRYPT_ALGORITHM_IDENTIFIER +- pSignatureAlgorithm, PSYSTEMTIME pStartTime, PSYSTEMTIME pEndTime, PCERT_EXT +- ENSIONS pExtensions); +- +- +- +- ^ +- 2 errors generated. +- make[1]: *** [CMakeFiles/cmTC_2d8fe.dir/HAVE_WINLDAP_H.c.obj] Error 1 +- make: *** [cmTC_2d8fe/fast] Error 2 +- exitCode: 2 +- ``` ++ - disable HTTPS-proxy as well, since it can't work without HTTP + +- Cherry-picked from #11095 88e4a21ff70ccef391cf99c8165281ff81374503 +- Reviewed-by: Daniel Stenberg +- Closes #11245 ++ - curl_setup: when HTTP is disabled, also disable all features that are ++ HTTP-only + +-Daniel Stenberg (5 Jun 2023) ++ - version: HTTPS-proxy only exists if HTTP support exists + +-- urlapi: scheme starts with alpha ++ Closes #12223 + +- Add multiple tests to lib1560 to verify ++- http: consider resume with CURLOPT_FAILONERRROR and 416 to be fine + +- Fixes #11249 +- Reported-by: ad0p on github +- Closes #11250 ++ Finding a 'Content-Range:' in the response changed the handling. + +-- RELEASE-NOTES: synced ++ Add test case 1475 to verify -C - with 416 and Content-Range: header, ++ which is almost exactly like test 194 which instead uses a fixed -C ++ offset. Adjusted test 194 to also be considered fine. + +-- CURLOPT_MAIL_RCPT_ALLOWFAILS: replace CURLOPT_MAIL_RCPT_ALLLOWFAILS ++ Fixes #10521 ++ Reported-by: Smackd0wn ++ Fixes #12174 ++ Reported-by: Anubhav Rai ++ Closes #12176 + +- Deprecate the name using three Ls and prefer the name with two. ++Stefan Eissing (30 Oct 2023) + +- Replaces #10047 +- Closes #11218 ++- GHA: fix checkout of quictls repository to use correct branch name + +-- tests/servers: generate temp names in /tmp for unix domain sockets ++ Follow-up to c868b0e30f10cd0ac7 + +- ... instead of putting them in the regular pid directories because +- systems generally have strict length requirements for the path name to +- be shorter than 107 bytes and we easily hit that boundary otherwise. ++ Closes #12232 + +- The new concept generates two random names: one for the socks daemon and +- one for http. ++Daniel Stenberg (30 Oct 2023) + +- Reported-by: Andy Fiddaman +- Fixes #11152 +- Closes #11166 ++- docs/example/localport.c: show off CURLOPT_LOCALPORT + +-Stefan Eissing (2 Jun 2023) ++ Closes #12230 + +-- http2: better support for --limit-rate ++- docs/examples/interface.c: show CURLOPT_INTERFACE use + +- - leave transfer loop when --limit-rate is in effect and has +- been received +- - adjust stream window size to --limit-rate plus some slack +- to make the server observe the pacing we want +- - add test case to confirm behaviour ++ Although super simple. + +- Closes #11115 ++ Closes #12229 + +-- curl_log: evaluate log statement only when transfer is verbose ++Viktor Szakats (30 Oct 2023) + +- Closes #11238 ++- build: fix compiler warning with auths disabled + +-Daniel Stenberg (2 Jun 2023) ++ ``` ++ ./curl/lib/http.c:979:12: warning: unused function 'is_valid_auth_separator' ++ [-Wunused-function] ++ static int is_valid_auth_separator(char ch) ++ ^ ++ 5 warnings generated. ++ ``` + +-- libssh2: provide error message when setting host key type fails ++ Follow-up to e92edfbef64448ef461117769881f3ed776dec4e #11490 + +- Ref: https://curl.se/mail/archive-2023-06/0001.html ++ Closes #12227 + +- Closes #11240 ++- build: require Windows XP or newer + +-Igor Todorovski (2 Jun 2023) ++ After this patch we assume availability of `getaddrinfo` and ++ `freeaddrinfo`, first introduced in Windows XP. Meaning curl ++ now requires building for Windows XP as a minimum. + +-- system.h: remove __IBMC__/__IBMCPP__ guards and apply to all z/OS compiles ++ TODO: assume these also in autotools. + +- Closes #11241 ++ Ref: https://github.com/curl/curl/pull/12221#issuecomment-1783761806 ++ Closes #12225 + +-Daniel Stenberg (2 Jun 2023) ++- appveyor: bump one job to OpenSSL 3.1 (was 1.1.1) + +-- docs/SECURITY-PROCESS.md: link to example of previous critical flaw ++ Use 3.1 with the modern runner image. + +-Mark Seuffert (2 Jun 2023) ++ We still use 1.1.1 in 8 jobs. + +-- README.md: updated link to opencollective ++ 1.1.1 is EOL since 2023-09-11: ++ https://www.openssl.org/blog/blog/2023/03/28/1.1.1-EOL/ + +- Closes #11232 ++ Also: ++ - add missing SSL-backend to job descriptions. ++ - tidy up CPU in job descriptions. + +-Daniel Stenberg (1 Jun 2023) ++ Closes #12226 + +-- libssh2: use custom memory functions ++Daniel Stenberg (30 Oct 2023) + +- Because of how libssh2_userauth_keyboard_interactive_ex() works: the +- libcurl callback allocates memory that is later free()d by libssh2, we +- must set the custom memory functions. ++- RELEASE-NOTES: synced + +- Reverts 8b5f100db388ee60118c08aa28 ++- GHA: bump ngtcp2, nghttp3, nghttp2 and quictls versions + +- Ref: https://github.com/libssh2/libssh2/issues/1078 +- Closes #11235 ++ ngtcp2 1.0.1 ++ nghttp3 1.0.0 ++ nghttp2 1.58.0 ++ quictls 3.1.4+quic + +-- test447: test PUTting a file that grows ++ also sync HTTP3.md with these changes + +- ... and have curl trim the end when it reaches the expected total amount +- of bytes instead of over-sending. ++ Closes #12132 + +- Reported-by: JustAnotherArchivist on github +- Closes #11223 ++Kareem (29 Oct 2023) + +-- curl: count uploaded data to stop at the originally given size ++- wolfssl: add default case for wolfssl_connect_step1 switch + +- Closes #11223 +- Fixes #11222 +- Reported-by: JustAnotherArchivist on github ++ Closes #12218 + +-- tool: remove exclamation marks from error/warning messages ++Jay Satiro (29 Oct 2023) + +-- tool: use errorf() for error output ++- curl_setup: disallow Windows IPv6 builds missing getaddrinfo + +- Convert a number of fprintf() calls. ++ - On Windows if IPv6 is enabled but getaddrinfo is missing then #error ++ the build. + +-- tool: remove newlines from all helpf/notef/warnf/errorf calls ++ curl can be built with IPv6 support (ENABLE_IPV6) but without the ++ ability to resolve hosts to IPv6 addresses (HAVE_GETADDRINFO). On ++ Windows this is highly unlikely and should be considered a bad build ++ configuration. + +- Make voutf() always add one. ++ Such a bad configuration has already given us a bug that was hard to ++ diagnose. See #12134 and #12136 for discussion. + +- Closes #11226 ++ Ref: https://github.com/curl/curl/issues/12134 ++ Ref: https://github.com/curl/curl/pull/12136 + +-- tests/servers.pm: pick unused port number with a server socket ++ Closes https://github.com/curl/curl/pull/12221 + +- This change replaces the previous method of picking a port number at +- random to try to start servers on, then retrying up to ten times with +- new random numbers each time, with a function that creates a server +- socket on port zero, thereby getting a suitable random port set by the +- kernel. That server socket is then closed and that port number is used +- to setup the actual test server on. ++Nico Rieck (29 Oct 2023) + +- There is a risk that *another* server can be started on the machine in +- the time gap, but the server verification feature will detect that. ++- openssl: make CURLSSLOPT_NATIVE_CA import Windows intermediate CAs + +- Closes #11220 ++ - If CURLSSLOPT_NATIVE_CA on Windows then import from intermediate CA ++ "CA" store after importing from root CA "ROOT" store. + +-- RELEASE-NOTES: synced ++ This change allows curl to work in situations where a server does not ++ send all intermediate certs and they are present in the "CA" store (the ++ store with intermediate CAs). This is already allowed by the Schannel ++ backend. + +- bump to 8.2.0 ++ Also this change makes partial chain verification possible for those ++ certs since we allow partial chain verification by default for OpenSSL ++ (unless CURLSSLOPT_NO_PARTIALCHAIN). This is not allowed by the Schannel ++ backend. + +-Alejandro R. Sedeño (31 May 2023) ++ Prior to this change CURLSSLOPT_NATIVE_CA only imported "ROOT" certs. + +-- configure: fix run-compiler for old /bin/sh ++ Fixes https://github.com/curl/curl/issues/12155 ++ Closes https://github.com/curl/curl/pull/12185 + +- If you try to assign and export on the same line on some older /bin/sh +- implementations, it complains: ++Viktor Szakats (28 Oct 2023) + +- ``` +- $ export "NAME=value" +- NAME=value: is not an identifier +- ``` ++- Makefile.mk: fix `-rtmp` option for non-Windows [ci skip] + +- This commit rewrites run-compiler's assignments and exports to work with +- old /bin/sh, splitting assignment and export into two separate +- statements, and only quote the value. So now we have: ++Daniel Stenberg (28 Oct 2023) + +- ``` +- NAME="value" +- export NAME +- ``` ++- asyn-ares: handle no connection in the addrinfo callback + +- While we're here, make the same change to the two supporting +- assign+export lines preceeding the script to be consistent with how +- exports work throughout the rest of configure.ac. ++ To avoid crashing. + +- Closes #11228 ++ Follow-up from 56a4db2 ++ Closes #12219 + +-Philip Heiduck (31 May 2023) ++Jay Satiro (28 Oct 2023) + +-- circleci: install impacket & wolfssl 5.6.0 ++- hostip6: fix DEBUG_ADDRINFO builds + +- Closes #11221 ++ - Removed unused and incorrect parameter from dump_addrinfo(). + +-Daniel Stenberg (31 May 2023) ++ Bug: https://github.com/curl/curl/commit/56a4db2e#commitcomment-131050442 ++ Reported-by: Gisle Vanem + +-- tool_urlglob: use curl_off_t instead of longs ++ Closes https://github.com/curl/curl/pull/12212 + +- To handle more globs better (especially on Windows) ++Viktor Szakats (28 Oct 2023) + +- Closes #11224 ++- Makefile.mk: restore `_mingw.h` for default `_WIN32_WINNT` + +-Dan Fandrich (30 May 2023) ++ In 8.4.0 we deleted `_mingw.h` as part of purging old-mingw support. ++ Turns out `_mingw.h` had the side-effect of setting a default ++ `_WIN32_WINNT` value expected by `lib/config-win32.h` to enable ++ `getaddrinfo` support in `Makefile.mk` mingw-w64 builds. This caused ++ disabling support for this unless specifying the value manually. + +-- scripts: Fix GHA matrix job detection in cijobs.pl ++ Restore this header and update its comment to tell why we continue ++ to need it. + +- The parsing is pretty brittle and it broke detecting some jobs at some +- point. Also, detect if Windows is used in GHA. ++ This triggered a regression in official Windows curl builds starting ++ with 8.4.0_1. Fixed in 8.4.0_6. (8.5.0 will be using CMake.) + +-- runtests: abort test run after failure without -a ++ Regression from 38029101e2d78ba125732b3bab6ec267b80a0e72 #11625 + +- This was broken in a recent refactor and test runs would not stop. ++ Reported-by: zhengqwe on github ++ Helped-by: Nico Rieck ++ Fixes #12134 ++ Fixes #12136 ++ Closes #12217 + +- Follow-up to d4a1b5b6 ++- hostip: silence compiler warning `-Wparentheses-equality` + +- Reported-by: Daniel Stenberg +- Fixes #11225 +- Closes #11227 ++ Seen with LLVM 17. + +-Version 8.1.2 (30 May 2023) ++ ``` ++ hostip.c:1336:22: warning: equality comparison with extraneous parentheses [- ++ Wparentheses-equality] ++ 1336 | (a->ai_family == PF_INET)) { ++ | ~~~~~~~~~~~~~^~~~~~~~~~ ++ hostip.c:1336:22: note: remove extraneous parentheses around the comparison t ++ o silence this warning ++ 1336 | (a->ai_family == PF_INET)) { ++ | ~ ^ ~ ++ hostip.c:1336:22: note: use '=' to turn this equality comparison into an assi ++ gnment ++ 1336 | (a->ai_family == PF_INET)) { ++ | ^~ ++ | = ++ 1 warning generated. ++ ``` + +-Daniel Stenberg (30 May 2023) ++ Follow-up to b651aba0962bb31353f55de4dc35f745952a1b10 #12145 + +-- RELEASE-NOTES: synced ++ Reviewed-by: Daniel Stenberg ++ Closes #12215 + +- 8.1.2 release ++Stefan Eissing (27 Oct 2023) + +-- THANKS: contributors from 8.1.2 ++- doh: use PIPEWAIT when HTTP/2 is attempted + +-- lib1560: verify more scheme guessing ++ Closes #12214 + +- - on 2nd level domains +- - on names without dots ++Daniel Stenberg (27 Oct 2023) + +- As mentioned in #11161, "imap.com" will be guessed IMAP ++- setopt: remove outdated cookie comment + +- Closes #11219 ++ Closes #12206 + +-- page-header: minor wording polish in the URL segment ++Stefan Eissing (27 Oct 2023) + +- Closes #11217 ++- cfilter: provide call to tell connection to forget a socket + +-- page-header: mention curl version and how to figure out current release ++ - fixed libssh.c workaround for a socket being closed by ++ the library ++ - eliminate the terrible hack in cf-socket.c to guess when ++ this happened and try not closing the socket again. ++ - fixes race in eyeballing when socket could have failed to ++ be closed for a discarded connect attempt + +- Closes #11216 ++ Closes #12207 + +-- RELEASE-NOTES: synced ++- url: protocol handler lookup tidy-up + +-- configure: without pkg-config and no custom path, use -lnghttp2 ++ - rename lookup to what it does ++ - use ARRAYSIZE instead of NULL check for end ++ - offer alternate lookup for 0-terminated strings + +- Reported-by: correctmost on github +- Fixes #11186 +- Closes #11210 ++ Closes #12216 + +-Stefan Eissing (28 May 2023) ++Viktor Szakats (27 Oct 2023) + +-- curl: cache the --trace-time value for a second ++- build: variadic macro tidy-ups + +- - caches HH:MM:SS computed and reuses it for logging during +- the same second. +- - common function for plain log line start formatting ++ - delete unused `HAVE_VARIADIC_MACROS_C99/GCC` feature checks. ++ (both autotools and CMake.) ++ - delete duplicate `NULL` check in `Curl_trc_cf_infof()`. ++ - fix compiler warning in `CURL_DISABLE_VERBOSE_STRINGS` builds. ++ ``` ++ ./lib/cf-socket.c:122:41: warning: unused parameter 'data' [-Wunused-parame ++ ter] ++ static void nosigpipe(struct Curl_easy *data, ++ ^ ++ ``` ++ - fix `#ifdef` comments in `lib/curl_trc.{c,h}`. ++ - fix indentation in some `infof()` calls. + +- Closes #11211 ++ Follow-up to dac293cfb7026b1ca4175d88b80f1432d3d3c684 #12167 + +-Kev Jackson (28 May 2023) ++ Cherry-picked from #12105 ++ Closes #12210 + +-- libcurl.m4: remove trailing 'dnl' that causes this to break autoconf ++- cmake: speed up threads setup for Windows + +- Closes #11212 ++ Win32 threads are always available. We enabled them unconditionally ++ (with `ENABLE_THREADED_RESOLVER`). CMake built-in thread detection ++ logic has this condition hard-coded for Windows as well (since at least ++ 2007). + +-Stefan Eissing (26 May 2023) ++ Instead of doing all the work of detecting pthread combinations on ++ Windows, then discarding those results, skip these efforts and assume ++ built-in thread support when building for Windows. + +-- http3: send EOF indicator early as possible ++ This saves 1-3 slow CMake configuration steps. + +- - ngtcp2 and quiche implementations relied on the DONE_SEND event +- to forward the EOF for uploads to the libraries. This often +- result in a last 0 length EOF data. Tracking the amount of +- data left to upload allows EOF indication earlier. +- - refs #11205 where CloudFlare DoH servers did not like to +- receive the initial upload DATA without EOF and returned +- a 400 Bad Request ++ Reviewed-by: Daniel Stenberg ++ Closes #12202 + +- Reported-by: Sergey Fionov +- Fixes #11205 +- Closes #11207 ++- cmake: speed up zstd detection + +-Daniel Stenberg (26 May 2023) ++ Before this patch we detected the presence of a specific zstd API to ++ see if we can use the library. zstd published that API in its first ++ stable release: v1.0.0 (2016-08-31). + +-- scripts/contri*sh: no longer grep -v ' ' ++ Replace that method by detecting the zstd library version instead and ++ accepting if it's v1.0.0 or newer. Also display this detected version ++ and display a warning if the zstd found is unfit for curl. + +- Originally these scripts filtered out names that have no space so that +- they better avoid nick names not intended for credits. Such names are +- not too commonly used, plus we now give credit even to those. ++ We use the same version detection method as zstd itself, via its public ++ C header. + +- Additionally: non-latin names, like Asian, don't have spaces at all so +- they were also filtered out and had to be manually added which made it +- an error-prone operation where Asian names eventually easily fell off by +- mistake. ++ This deviates from autotools which keeps using the slow method of ++ looking for the API by building a test program. The outcome is the same ++ as long as zstd keeps offering this API. + +- Closes #11206 ++ Ref: https://github.com/facebook/zstd/commit/5a0c8e24395079f8e8cdc90aa1659cd5 ++ ab1b7427 (2016-08-12, committed) ++ Ref: https://github.com/facebook/zstd/releases/tag/v0.8.1 (2016-08-18, first ++ released) ++ Ref: https://github.com/facebook/zstd/releases/tag/v1.0.0 + +-- cf-socket: restore Curl_sock_assign_addr() ++ Reviewed-by: Daniel Stenberg ++ Closes #12200 + +- Regression since it was not private. Also used by msh3.c ++Daniel Stenberg (26 Oct 2023) + +- Follow-up to 8e85764b7bd7f05f5 +- Reported-by: Gisle Vanem +- Fixes #11202 +- Closes #11204 ++- openssl: fix infof() to avoid compiler warning for %s with null + +-- RELEASE-NOTES: synced ++ vtls/openssl.c: In function ‘ossl_connect_step2’: ++ ../lib/curl_trc.h:120:10: error: ‘%s’ directive argument is null [-Werror ++ =format-overflow=] ++ 120 | Curl_infof(data, __VA_ARGS__); } while(0) ++ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ++ vtls/openssl.c:4008:5: note: in expansion of macro ‘infof’ ++ 4008 | infof(data, "SSL connection using %s / %s / %s / %s", ++ | ^~~~~ ++ vtls/openssl.c:4008:49: note: format string is defined here ++ 4008 | infof(data, "SSL connection using %s / %s / %s / %s", ++ | ^~ + +- Taken down to 8.1.2 now for pending patch release ++ Follow-up to b6e6d4ff8f253c8b8055bab ++ Closes #12196 + +-- libssh: when keyboard-interactive auth fails, try password ++Stefan Eissing (26 Oct 2023) + +- The state machine had a mistake in that it would not carry on to that +- next step. ++- lib: apache style infof and trace macros/functions + +- This also adds a verbose output what methods that are available from the +- server and renames the macros that change to the next auth methods to +- try. ++ - test for a simplified C99 variadic check ++ - args to infof() in --disable-verbose are no longer disregarded but ++ must compile. + +- Reported-by: 左潇峰 +- Fixes #11196 +- Closes #11197 ++ Closes #12167 ++ Fixes #12083 ++ Fixes #11880 ++ Fixes #11891 + +-Emanuele Torre (25 May 2023) ++Daniel Stenberg (26 Oct 2023) + +-- configure: fix build with arbitrary CC and LD_LIBRARY_PATH ++- RELEASE-NOTES: synced + +- Since ./configure and processes that inherit its environment variables +- are the only callers of the run-compiler script, we can just save the +- current value of the LD_LIBRARY_PATH and CC variables to another pair of +- environment variables, and make run-compiler a static script that +- simply restores CC and LD_LIBRARY_PATH to the saved value, and before +- running the compiler. ++Stefan Eissing (26 Oct 2023) + +- This avoids having to inject the values of the variables in the script, +- possibly causing problems if they contains spaces, quotes, and other +- special characters. ++- urldata: move async resolver state from easy handle to connectdata + +- Also add exports in the script just in case LD_LIBRARY_PATH and CC are +- not already in the environment. ++ - resolving is done for a connection, not for every transfer ++ - save create/dup/free of a cares channel for each transfer ++ - check values of setopt calls against a local channel if no ++ connection has been attached yet, when needed. + +- follow-up from 471dab2 ++ Closes #12198 + +- Closes #11182 ++Daniel Stenberg (26 Oct 2023) + +-Daniel Stenberg (25 May 2023) ++- CURLOPT_WRITEFUNCTION.3: clarify what libcurl returns for CURL_WRITEFUNC_ERRO ++ R + +-- urlapi: remove superfluous host name check ++ It returns CURLE_WRITE_ERROR. It was not previously stated clearly. + +- ... as it is checked later more proper. ++ Reported-by: enWILLYado on github ++ Fixes #12201 ++ Closes #12203 + +- Closes #11195 ++Viktor Szakats (25 Oct 2023) + +-Stefan Eissing (25 May 2023) ++- autotools: update references to deleted `crypt-auth` option + +-- http2: fix EOF handling on uploads with auth negotiation ++ Delete leftovers of the `crypt-auth` `./configure` option and ++ add the new ones that replaced them. + +- - doing a POST with `--digest` does an override on the initial request +- with `Content-Length: 0`, but the http2 filter was unaware of that +- and expected the originally request body. It did therefore not +- send a final DATA frame with EOF flag to the server. +- - The fix overrides any initial notion of post size when the `done_send` +- event is triggered by the transfer loop, leading to the EOF that +- is necessary. +- - refs #11194. The fault did not happen in testing, as Apache httpd +- never tries to read the request body of the initial request, +- sends the 401 reply and closes the stream. The server used in the +- reported issue however tried to read the EOF and timed out on the +- request. ++ Follow-up to e92edfbef64448ef461117769881f3ed776dec4e #11490 + +- Reported-by: Aleksander Mazur +- Fixes #11194 +- Cloes #11200 ++ Reviewed-by: Daniel Stenberg ++ Closes #12194 + +-Daniel Stenberg (23 May 2023) ++Stefan Eissing (25 Oct 2023) + +-- RELEASE-NOTES: synced ++- lib: introduce struct easy_poll_set for poll information + +- bump to 8.2.0 ++ Connection filter had a `get_select_socks()` method, inspired by the ++ various `getsocks` functions involved during the lifetime of a ++ transfer. These, depending on transfer state (CONNECT/DO/DONE/ etc.), ++ return sockets to monitor and flag if this shall be done for POLLIN ++ and/or POLLOUT. + +-- lib: remove unused functions, make single-use static ++ Due to this design, sockets and flags could only be added, not ++ removed. This led to problems in filters like HTTP/2 where flow control ++ prohibits the sending of data until the peer increases the flow ++ window. The general transfer loop wants to write, adds POLLOUT, the ++ socket is writeable but no data can be written. + +- Closes #11174 ++ This leads to cpu busy loops. To prevent that, HTTP/2 did set the ++ `SEND_HOLD` flag of such a blocked transfer, so the transfer loop cedes ++ further attempts. This works if only one such filter is involved. If a ++ HTTP/2 transfer goes through a HTTP/2 proxy, two filters are ++ setting/clearing this flag and may step on each other's toes. + +-- scripts/singleuse.pl: add more API calls ++ Connection filters `get_select_socks()` is replaced by ++ `adjust_pollset()`. They get passed a `struct easy_pollset` that keeps ++ up to `MAX_SOCKSPEREASYHANDLE` sockets and their `POLLIN|POLLOUT` ++ flags. This struct is initialized in `multi_getsock()` by calling the ++ various `getsocks()` implementations based on transfer state, as before. + +-Christian Hesse (23 May 2023) ++ After protocol handlers/transfer loop have set the sockets and flags ++ they want, the `easy_pollset` is *always* passed to the filters. Filters ++ "higher" in the chain are called first, starting at the first ++ not-yet-connection one. Each filter may add sockets and/or change ++ flags. When all flags are removed, the socket itself is removed from the ++ pollset. + +-- configure: quote the assignments for run-compiler ++ Example: + +- Building for multilib failed, as the compiler command contains an +- extra argument. That needs quoting. ++ * transfer wants to send, adds POLLOUT ++ * http/2 filter has a flow control block, removes POLLOUT and adds ++ POLLIN (it is waiting on a WINDOW_UPDATE from the server) ++ * TLS filter is connected and changes nothing ++ * h2-proxy filter also has a flow control block on its tunnel stream, ++ removes POLLOUT and adds POLLIN also. ++ * socket filter is connected and changes nothing ++ * The resulting pollset is then mixed together with all other transfers ++ and their pollsets, just as before. + +- Regression from b78ca50cb3dda361f9c1 ++ Use of `SEND_HOLD` is no longer necessary in the filters. + +- Fixes #11179 +- Closes #11180 ++ All filters are adapted for the changed method. The handling in ++ `multi.c` has been adjusted, but its state handling the the protocol ++ handlers' `getsocks` method are untouched. + +-Daniel Stenberg (23 May 2023) ++ The most affected filters are http/2, ngtcp2, quiche and h2-proxy. TLS ++ filters needed to be adjusted for the connecting handshake read/write ++ handling. + +-- misc: fix spelling mistakes ++ No noticeable difference in performance was detected in local scorecard ++ runs. + +- Reported-by: musvaage on github +- Fixes #11171 +- Closes #11172 ++ Closes #11833 + +-Version 8.1.1 (23 May 2023) ++Daniel Stenberg (25 Oct 2023) + +-Daniel Stenberg (23 May 2023) ++- tests/README: SOCKS tests are not using OpenSSH, it has its own server + +-- RELEASE-NOTES: synced ++ Follow-up to 04fd67555cc + +- curl 8.1.1 ++ Closes #12195 + +-- THANKS: contributors from the 8.1.1 release ++Jacob Hoffman-Andrews (25 Oct 2023) + +-Dan Fandrich (22 May 2023) ++- tets: make test documentation more user-friendly + +-- docs: fix fuzzing documentation link ++ Put the instructions to run tests right at the top of tests/README.md. + +- Follow-up to 4c712a1b ++ Give instructions to read the runtests.1 man page for information ++ about flags. Delete redundant copy of the flags documentation in the ++ README. + +-- CI: add an Alpine build with MUSL ++ Add a mention in README.md of the important parallelism flag, to make ++ test runs go much faster. + +- MUSL is another libc implementation which has its own unique issues +- worth testing. ++ Move documentation of output line format into the runtests.1 man page, ++ and update it with missing flags. + +- Ref: #11140 +- Closes #11178 ++ Fix the order of two flags in the man page. + +-- runtests: add a missing \n at the end of a log message ++ Closes #12193 + +-correctmost on github (22 May 2023) ++Viktor Szakats (24 Oct 2023) + +-- SECURITY-PROCESS.md: link security advisory doc and fix typo ++- cmake: pre-fill rest of detection values for Windows + +- Closes #11177 ++ The goal of this patch is to avoid unnecessary feature detection work ++ when doing Windows builds with CMake. Do this by pre-filling well-known ++ detection results for Windows and specifically for mingw-w64 and MSVC ++ compilers. Also limit feature checks to platforms where the results are ++ actually used. Drop a few redundant ones. And some tidying up. + +-Daniel Stenberg (22 May 2023) ++ - pre-fill remaining detection values in Windows CMake builds. + +-- TODO: build curl with Windows Unicode support ++ Based on actual detection results observed in CI runs, preceding ++ similar work over libssh2 and matching up values with ++ `lib/config-win32.h`. + +- Closes #7229 ++ This brings down CMake configuration time from 58 to 14 seconds on the ++ same local machine. + +-- KNOWN_BUGS: hyper memory-leaks ++ On AppVeyor CI this translates to: ++ - 128 seconds -> 50 seconds VS2022 MSVC with OpenSSL (per CMake job): ++ https://ci.appveyor.com/project/curlorg/curl/builds/48208419/job/4gw66ecr ++ jpy7necb#L296 ++ https://ci.appveyor.com/project/curlorg/curl/builds/48217440/job/8m4fwrr2 ++ fe249uo8#L186 ++ - 62 seconds -> 16 seconds VS2017 MINGW (per CMake job): ++ https://ci.appveyor.com/project/curlorg/curl/builds/48208419/job/s1y8q5iv ++ lcs7ub29?fullLog=true#L290 ++ https://ci.appveyor.com/project/curlorg/curl/builds/48217440/job/pchpxyjs ++ yc9kl13a?fullLog=true#L194 + +- Closes #10803 ++ The formula is about 1-3 seconds delay for each detection. Almost all ++ of these trigger a full compile-link cycle behind the scenes, slow ++ even today, both cross and native, mingw-w64 and apparently MSVC too. ++ Enabling .map files or other custom build features slows it down ++ further. (Similar is expected for autotools configure.) + +-Stefan Eissing (22 May 2023) ++ - stop detecting `idn2.h` if idn2 was deselected. ++ autotools does this. + +-- http/2: unstick uploads ++ - stop detecting `idn2.h` if idn2 was not found. ++ This deviates from autotools. Source code requires both header and ++ lib, so this is still correct, but faster. + +- - refs #11157 and #11175 where uploads get stuck or lead to RST streams +- - fixes our h2 send behaviour to continue sending in the nghttp2 session +- as long as it wants to. This will empty our send buffer as long as +- the remote stream/connection window allows. +- - in case the window is exhausted, the data remaining in the send buffer +- will wait for a WINDOW_UPDATE from the server. Which is a socket event +- that engages our transfer loop again +- - the problem in the issue was that we did not exhaust the window, but +- left data in the sendbuffer and no further socket events did happen. +- The server was just waiting for us to send more. +- - relatedly, there was an issue fixed that closing a stream with KEEP_HOLD +- set kept the transfer from shutting down - as it should have - leading +- to a timeout. ++ - limit `ADDRESS_FAMILY` detection to Windows. + +- Closes #11176 ++ - normalize `HAVE_WIN32_WINNT` value to lowercase `0x0a12` format. + +-Daniel Stenberg (21 May 2023) ++ - pre-fill `HAVE_WIN32_WINNT`-dependent detection results. ++ Saving 4 (slow) feature-detections in most builds: `getaddrinfo`, ++ `freeaddrinfo`, `inet_ntop`, `inet_pton` + +-- workflows/macos: add a job using gcc + debug + secure transport ++ - fix pre-filled `HAVE_SYS_TIME_H`, `HAVE_SYS_PARAM_H`, ++ `HAVE_GETTIMEOFDAY` for mingw-w64. ++ Luckily this do not change build results, as `WIN32` took ++ priority over `HAVE_GETTIMEOFDAY` with the current source ++ code. + +-Jay Satiro (21 May 2023) ++ - limit `HAVE_CLOCK_GETTIME_MONOTONIC_RAW` and ++ `HAVE_CLOCK_GETTIME_MONOTONIC` detections to non-Windows. ++ We're not using these in the source code for Windows. + +-- lib: fix conversion warnings with gcc on macOS ++ - reduce compiler warning noise in CMake internal logs: ++ - fix to include `winsock2.h` before `windows.h`. ++ Apply it to autotools test snippets too. ++ - delete previous `-D_WINSOCKAPI_=` hack that aimed to fix the above. ++ - cleanup `CMake/CurlTests.c` to emit less warnings. + +-Daniel Stenberg (21 May 2023) ++ - delete redundant `HAVE_MACRO_SIGSETJMP` feature check. ++ It was the same check as `HAVE_SIGSETJMP`. + +-- sectransp.c: make the code c89 compatible ++ - delete 'experimental' marking from `CURL_USE_OPENSSL`. + +- Follow-up to dd2bb485521c2ec713001b3a ++ - show CMake version via `CMakeLists.txt`. ++ Credit to the `zlib-ng` project for the idea: ++ https://github.com/zlib-ng/zlib-ng/blob/61e181c8ae93dbf56040336179c9954078b ++ d1399/CMakeLists.txt#L7 + +- Reported-by: FeignClaims on github +- Fixes #11155 +- Closes #11159 ++ - make `CMake/CurlTests.c` pass `checksrc`. + +-Emanuele Torre (21 May 2023) ++ - `CMake/WindowsCache.cmake` tidy-ups. + +-- Revert "urlapi: respect CURLU_ALLOW_SPACE and CURLU_NO_AUTHORITY for redirect +- s" ++ - replace `WIN32` guard with `_WIN32` in `CMake/CurlTests.c`. + +- This reverts commit df6c2f7b544f1f35f2a3e0be11f345affeb6fe9c. +- (It only keep the test case that checks redirection to an absolute URL +- without hostname and CURLU_NO_AUTHORITY). ++ Closes #12044 + +- I originally wanted to make CURLU_ALLOW_SPACE accept spaces in the +- hostname only because I thought +- curl_url_set(CURLUPART_URL, CURLU_ALLOW_SPACE) was already accepting +- them, and they were only not being accepted in the hostname when +- curl_url_set(CURLUPART_URL) was used for a redirection. ++Jay Satiro (24 Oct 2023) + +- That is not actually the case, urlapi never accepted hostnames with +- spaces, and a hostname with a space in it never makes sense. +- I probably misread the output of my original test when I they were +- normally accepted when using CURLU_ALLOW_SPACE, and not redirecting. ++- page-footer: clarify exit code 25 + +- Some other URL parsers seems to allow space in the host part of the URL, +- e.g. both python3's urllib.parse module, and Chromium's javascript URL +- object allow spaces (chromium percent escapes the spaces with %20), +- (they also both ignore TABs, and other whitespace characters), but those +- URLs with spaces in the hostname are useless, neither python3's requests +- module nor Chromium's window.location can actually use them. ++ - Clarify that curl tool exit code 25 means an upload failed to start. + +- There is no reason to add support for URLs with spaces in the host, +- since it was not a inconsistency bug; let's revert that patch before it +- makes it into release. Sorry about that. ++ Exit code 25 is equivalent to CURLE_UPLOAD_FAILED (25). Prior to this ++ change the documentation only mentioned the case of FTP STOR failing. + +- I also reverted the extra check for CURLU_NO_AUTHORITY since that does +- not seem to be necessary, CURLU_NO_AUTHORITY already worked for +- redirects. ++ Reported-by: Emanuele Torre + +- Closes #11169 ++ Ref: https://github.com/curl/curl/blob/curl-8_4_0/docs/libcurl/libcurl-errors ++ .3#L113-L115 + +-Dan Fandrich (20 May 2023) ++ Fixes https://github.com/curl/curl/issues/12189 ++ Closes https://github.com/curl/curl/pull/12190 + +-- runtests: use the correct fd after select ++Daniel Stenberg (24 Oct 2023) + +- The code was using the wrong fd when determining which runner was ready +- with a response. ++- scripts/cijobs.pl: adjust for appveyor + +- Ref: #10818 +- Closes #11160 ++ Follow-up to a1d73a6bb + +-- test425: fix the log directory for the upload ++Alex Bozarth (24 Oct 2023) + +- This must be %LOGDIR to let it work with parallel tests. ++- OpenSSL: Include SIG and KEM algorithms in verbose + +- Ref: #10969 ++ Currently the verbose output does not include which algorithms are used ++ for the signature and key exchange when using OpenSSL. Including the ++ algorithms used will enable better debugging when working on using new ++ algorithm implementations. Know what algorithms are used has become more ++ important with the fast growing research into new quantum-safe ++ algorithms. + +-- runtests: handle interrupted reads from IPC pipes ++ This implementation includes a build time check for the OpenSSL version ++ to use a new function that will be included in OpenSSL 3.2 that was ++ introduced in openssl/openssl@6866824 + +- These can be interrupted by signals, especially SIGINT to shut down, and +- must be restarted so the IPC call arrives correctly. If the read just +- returns an error instead, the IPC calling state will go out of sync and +- a proper shutdown won't happen. ++ Based-on-patch-by: Martin Schmatz ++ Closes #12030 + +- Ref: #10818 ++Daniel Stenberg (23 Oct 2023) + +-Stefan Eissing (20 May 2023) ++- http2: provide an error callback and failf the message + +-- http2: upload improvements ++ Getting nghttp2's error message helps users understand what's going ++ on. For example when the connection is brought down due a forbidden ++ header is used - as that header is then not displayed by curl itself. + +- Make send buffer smaller to have progress and "upload done" reporting +- closer to reality. Fix handling of send "drain" condition to no longer +- trigger once the transfer loop reports it is done sending. Also do not +- trigger the send "drain" on RST streams. ++ Example: + +- Background: +- - a upload stall was reported in #11157 that timed out +- - test_07_33a reproduces a problem with such a stall if the +- server 404s the request and RSTs the stream. +- - test_07_33b verifies a successful PUT, using the parameters +- from #11157 and checks success ++ curl: (92) Invalid HTTP header field was received: frame type: 1, ++ stream: 1, name: [upgrade], value: [h2,h2c] + +- Ref: #11157 +- Closes #11165 ++ Ref: #12172 ++ Closes #12179 + +-- http2: increase stream window size to 10 MB ++Turiiya (23 Oct 2023) + +- Reported-by: pandada8 on github ++- BINDINGS: add V binding + +- Fixes #11162 +- Closes #11167 ++ Closes #12182 + +-Daniel Stenberg (20 May 2023) ++Daniel Stenberg (22 Oct 2023) + +-- lib: rename struct 'http_req' to 'httpreq' ++- configure: check for the fseeko declaration too + +- Because FreeBSD 14 kidnapped the name. +- Ref: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271526 ++ ... and make the code require both symbol and declaration. + +- Fixes #11163 +- Closes #11164 ++ This is because for Android, the symbol is always present in the lib at ++ build-time even when not actually available in run-time. + +-Viktor Szakats (20 May 2023) ++ Assisted-by: Viktor Szakats ++ Reported-by: 12932 on github ++ Fixes #12086 ++ Closes #12158 + +-- cmake: avoid `list(PREPEND)` for compatibility ++Viktor Szakats (22 Oct 2023) + +- `list(PREPEND)` requires CMake v3.15, our minimum is v3.7. ++- cmake: fix OpenSSL quic detection in quiche builds + +- Ref: https://cmake.org/cmake/help/latest/command/list.html#prepend ++ An orphan call to `CheckQuicSupportInOpenSSL()` remained after a recent ++ update when checking QUIC for quiche. Move back QUIC detection to ++ a function and fixup callers to use that. Also make sure that quiche ++ gets QUIC from BoringSSL, because it doesn't support other forks at this ++ time. + +- Regression from 1e3319a167d2f32d295603167486e9e88af9bb4e ++ Regression from dee310d54261f9a8416e87d50bccfe2cbe404949 #11555 + +- Reported-by: Keitagit-kun on Github +- Fixes #11141 +- Closes #11144 ++ Reported-by: Casey Bodley ++ Fixes #12160 ++ Closes #12162 + +-Daniel Stenberg (19 May 2023) ++Daniel Stenberg (22 Oct 2023) + + - RELEASE-NOTES: synced + +-Stefan Eissing (19 May 2023) +- +-- ngtcp2: proper handling of uint64_t when adjusting send buffer ++ bump to 8.5.0 for pending release + +- Fixes #11149 +- Closes #11153 ++Dan Fandrich (21 Oct 2023) + +-- ngtcp2: fix compiler warning about possible null-deref ++- test3103: add missing quotes around a test tag attribute + +- - compiler analyzer did not include the call context for this +- static function where the condition had already been checked. +- - eleminating the problem by making stream a call parameter ++Loïc Yhuel (21 Oct 2023) + +- Fixes #11147 +- Closes #11151 ++- tool: fix --capath when proxy support is disabled + +-Emanuele Torre (19 May 2023) ++ After 95e8515ca0, --capath always sets CURLOPT_PROXY_CAPATH, which fails ++ with CURLE_UNKNOWN_OPTION when proxy support is disabled. + +-- docs: document that curl_url_cleanup(NULL) is a safe no-op ++ Closes #12089 + +- This has always been the case, but it was not documented. ++Daniel Stenberg (21 Oct 2023) + +- The paragraph was copied verbatim from curl_easy_cleanup.3 ++- openldap: move the alloc of ldapconninfo to *connect() + +- Closes #11150 ++ Fixes a minor memory leak on LDAP connection reuse. + +-Antoine Pitrou (19 May 2023) ++ Doing the allocation already in *setup_connection() is wrong since that ++ connect struct might get discarded early when an existing connection is ++ reused instead. + +-- select: avoid returning an error on EINTR from select() or poll() ++ Closes #12166 + +- This was already done for the poll() and select() calls +- made directly from Curl_poll(), but was missed in +- Curl_wait_ms(), which is called when there are no fds +- to wait on. ++- openldap: set the callback argument in oldap_do + +- Fixes #11135 +- Closes #11143 ++ ... to make sure it has the current 'data' pointer and not a stale old ++ one. + +-Daniel Stenberg (19 May 2023) ++ Reported-by: Dan Fandrich ++ Closes #12166 + +-- vquic.c: make recvfrom_packets static, avoid compiler warning ++- gnutls: support CURLSSLOPT_NATIVE_CA + +- warning: no previous prototype for 'recvfrom_packets' ++ Remove the CURL_CA_FALLBACK logic. That build option was added to allow ++ primarily OpenSSL to use the default paths for loading the CA certs. For ++ GnuTLS it was instead made to load the "system certs", which is ++ different and not desirable. + +- Reported-by: Keitagit-kun on github +- Fixes #11146 +- Closes #11148 ++ The native CA store loading is now asked for with this option. + +-- urlapi: allow numerical parts in the host name ++ Follow-up to 7b55279d1d856 + +- It can only be an IPv4 address if all parts are all digits and no more than +- four parts, otherwise it is a host name. Even slightly wrong IPv4 will now be +- passed through as a host name. ++ Co-authored-by: Jay Satiro + +- Regression from 17a15d88467 shipped in 8.1.0 ++ Closes #12137 + +- Extended test 1560 accordingly. ++Stefan Eissing (21 Oct 2023) + +- Reported-by: Pavel Kalyugin +- Fixes #11129 +- Closes #11131 ++- RTSP: improved RTP parser + +-Emilio Cobos Ãlvarez (19 May 2023) ++ - fix HTTP header parsing to report incomplete ++ lines it buffers as consumed! ++ - re-implement the RTP parser for interleave RTP ++ messages for robustness. It is now keeping its ++ state at the connection ++ - RTSP protocol handler "readwrite" implementation ++ now tracks if the response is before/in/after ++ header parsing or "in" a bod by calling ++ "Curl_http_readwrite_headers()" itself. This ++ allows it to know when non-RTP bytes are "junk" ++ or HEADER or BODY. ++ - tested with #12035 and various small receive ++ sizes where current master fails + +-- http2: double http request parser max line length ++ Closes #12052 + +- This works around #11138, by doubling the limit, and should be a +- relatively safe fix. ++- http2: header conversion tightening + +- Ideally the buffer would grow as needed and there would be no need for a +- limit? But that might be follow-up material. ++ - fold the code to convert dynhds to the nghttp2 structs ++ into a dynhds internal method ++ - saves code duplication ++ - pacifies compiler analyzers + +- Fixes #11138 +- Closes #11139 ++ Closes #12097 + +-Emanuele Torre (18 May 2023) ++Daniel Stenberg (21 Oct 2023) + +-- configure: fix --help alignment ++- curl_ntlm_wb: fix elif typo + +- AC_ARG_ENABLE seems to only trim off whitespace from the start and end +- of its help-string argument, while prepending two spaces of indentation +- to all lines. ++ Reported-by: Manfred Schwarb ++ Follow-up to d4314cdf65ae ++ Bug: https://github.com/curl/curl/commit/d4314cdf65aee295db627016934bd9eb621a ++ b077#r130551295 + +- This means that the two spaces of indentation between the --enable-rtsp +- and the --disable-rtsp line were not removed causing ./configure --help +- to print: ++Dan Fandrich (20 Oct 2023) + +- Optional Features: +- [...] +- --enable-rtsp Enable RTSP support +- --disable-rtsp Disable RTSP support ++- test1683: remove commented-out check alternatives + +- I removed the indentation to fix the issue, now it prints: ++ Python precheck/postcheck alternatives were included but commented out. ++ Since these are not used and perl is guaranteed to be available to run ++ the perl versions anyway, the Python ones are removed. + +- Optional Features: +- [...] +- --enable-rtsp Enable RTSP support +- --disable-rtsp Disable RTSP support ++Daniel Stenberg (20 Oct 2023) + +- The --enable-hsts and --disable-hsts lines had the same problems, and +- have been fixed too. ++- hostip: show the list of IPs when resolving is done + +- Closes #11142 ++ Getting 'curl.se' today then gets this verbose output which might help ++ debugging connectivity related matters. + +-Deal(一线çµ) (18 May 2023) ++ * Host curl.se:80 was resolved. ++ * IPv6: 2a04:4e42::347, 2a04:4e42:200::347, 2a04:4e42:400::347, ++ 2a04:4e42:600::347, 2a04:4e42:800::347, 2a04:4e42:a00::347, ++ 2a04:4e42:c00::347, 2a04:4e42:e00::347 ++ * IPv4: 151.101.193.91, 151.101.1.91, 151.101.65.91, 151.101.129.91 + +-- cmake: repair cross compiling ++ Co-authored-by: Jay Satiro ++ Closes #12145 + +- It cannot *run* code for testing purposes when cross-compiling. ++rilysh (20 Oct 2023) + +- Closes #11130 ++- docs: fix function typo in curl_easy_option_next.3 + +-Daniel Stenberg (18 May 2023) ++ Closes #12170 + +-- configure: generate a script to run the compiler ++Daniel Stenberg (20 Oct 2023) + +- in the CURL_RUN_IFELSE macro, with LD_LIBRARY_PATH set to the value of +- the configure invoke, and not the value that might be used later, +- intended for the execution of the output the compiler ouputs. ++- vssh: remove the #ifdef for Curl_ssh_init, use empty macro + +- For example when the compiler uses the same library (like libz) that +- configure checks for. ++ In the same style as other init calls + +- Reported-by: Jonas Bülow +- Fixes #11114 +- Closes #11120 ++- easy: remove duplicate wolfSSH init call + +-Stefan Eissing (18 May 2023) ++ It is already done in Curl_ssh_init() where it belongs. + +-- cf-socket: completely remove the disabled USE_RECV_BEFORE_SEND_WORKAROUND ++ Closes #12168 + +- Closes #11118 ++- socks: make SOCKS5 use the CURLOPT_IPRESOLVE choice + +-Emanuele Torre (18 May 2023) ++ Fixes #11949 ++ Reported-by: Ammar Faizi ++ Closes #12163 + +-- urlapi: respect CURLU_ALLOW_SPACE and CURLU_NO_AUTHORITY for redirects ++- urldata: move the 'internal' boolean to the state struct + +- curl_url_set(uh, CURLUPART_URL, redirurl, flags) was not respecing +- CURLU_ALLOW_SPACE and CURLU_NO_AUTHORITY in the host part of redirurl +- when redirecting to an absolute URL. ++ ... where all the other state bits for the easy handles live. + +- Closes #11136 ++ Closes #12165 + +-Colin Cross (18 May 2023) ++- url: don't touch the multi handle when closing internal handles + +-- hostip: move easy_lock.h include above curl_memory.h ++ Reported-by: Maksymilian Arciemowicz ++ Closes #12165 + +- Similar to #9561, move easy_lock.h above curl_memory.h to fix building +- against musl libc. ++Faraz Fallahi (19 Oct 2023) + +- Closes #11140 ++- getenv: PlayStation doesn't have getenv() + +-Hind Montassif (18 May 2023) ++ Closes #12140 + +-- curl_easy_getinfo: clarify on return data types ++Daniel Stenberg (19 Oct 2023) + +- Closes #11126 ++- transfer: only reset the FTP wildcard engine in CLEAR state + +-Emanuele Torre (18 May 2023) ++ To avoid the state machine to start over and redownload all the files ++ *again*. + +-- checksrc: disallow spaces before labels ++ Reported-by: lkordos on github ++ Regression from 843b3baa3e3cb228 (shipped in 8.1.0) ++ Bisect-by: Dan Fandrich ++ Fixes #11775 ++ Closes #12156 + +- Out of 415 labels throughout the code base, 86 of those labels were +- not at the start of the line. Which means labels always at the start of +- the line is the favoured style overall with 329 instances. ++Stefan Eissing (19 Oct 2023) + +- Out of the 86 labels not at the start of the line: +- * 75 were indented with the same indentation level of the following line +- * 8 were indented with exactly one space +- * 2 were indented with one fewer indentation level then the following +- line +- * 1 was indented with the indentation level of the following line minus +- three space (probably unintentional) ++- GHA: move mod_h2 version in CI to v2.0.25 + +- Co-Authored-By: Viktor Szakats ++ Closes #12157 + +- Closes #11134 ++Daniel Stenberg (19 Oct 2023) + +-Daniel Stenberg (18 May 2023) ++- ntlm_wb: use pipe instead of socketpair when possible + +-- cookie: update the comment on cookie length and size limits ++ Closes #12149 + +- To refer to the proper cookie RFC and the upcoming RFC refresh. ++- RELEASE-NOTES: synced + +- Closes #11127 ++- asyn-thread: use pipe instead of socketpair for IPC when available + +-- url: provide better error message when URLs fail to parse ++ If pipe() is present. Less overhead. + +- By providing the URL API error message into the error message. ++ Helped-by: Viktor Szakats ++ Closes #12146 + +- Ref: #11129 +- Closes #11137 ++Dan Fandrich (17 Oct 2023) + +-- RELEASE-NOTES: synced ++- tests: Fix Windows test helper tool search & use it for handle64 + +- bumped to 8.1.1 ++ The checkcmd() and checktestcmd() functions would not have worked on ++ Windows due to hard-coding the UNIX PATH separator character and not ++ adding .exe file extension. This meant that tools like stunnel, valgrind ++ and nghttpx would not have been found and used on Windows, and ++ inspection of previous test runs show none of those being found in pure ++ Windows CI builds. + +-Jon Rumsey (18 May 2023) ++ With this fixed, they can be used to detect the handle64.exe program ++ before attempting to use it. When handle64.exe was called ++ unconditionally without it existing, it caused perl to abort the test ++ run with the error + +-- os400: update chkstrings.c ++ The running command stopped because the preference variable ++ "ErrorActionPreference" or common parameter is set to Stop: ++ sh: handle64.exe: command not found + +- Compensate changes for recent changes to urldata.h to reclassify +- STRING_AWS_SIGV4. ++ Closes #12115 + +- Fixes #11132 +- Closes #11133 ++Daniel Stenberg (17 Oct 2023) + +-Version 8.1.0 (17 May 2023) ++- multi: use pipe instead of socketpair to *wakeup() + +-Daniel Stenberg (17 May 2023) ++ If pipe() is present. Less overhead. + +-- RELEASE-NOTES: synced ++ Closes #12142 + +-- THANKS: contributors from the 8.1.0 release ++Jay Satiro (17 Oct 2023) + +-- hostip: include easy_lock.h before using GLOBAL_INIT_IS_THREADSAFE ++- build: fix 'threadsafe' feature detection for older gcc + +- Since that header file is the only place that define can be defined. ++ - Add 'threadsafe' to the feature list shown during build if POSIX ++ threads are being used. + +- Reported-by: Marc Deslauriers ++ This is a follow-up to 5adb6000 which added support for building a ++ thread-safe libcurl with older versions of gcc where atomic is not ++ available but pthread is. + +- Follow-up to 13718030ad4b3209 ++ Reported-by: Dan Fandrich ++ Co-authored-by: Dan Fandrich + +- Closes #11121 ++ Fixes https://github.com/curl/curl/issues/12125 ++ Closes https://github.com/curl/curl/pull/12127 + +-Thomas Taylor (16 May 2023) ++Daniel Stenberg (16 Oct 2023) + +-- aws-sigv4.d: fix region identifier in example ++- test729: verify socks4a with excessive proxy user name length + +- Closes #11117 ++- socks: better buffer size checks for socks4a user and hostname + +-Philip Heiduck (15 May 2023) ++ Also limit the proxy user name to 255 bytes, which is the same limit as ++ in SOCKS5. + +-- mlc_config.json: remove this linkcheck CI job config file ++ Reported-by: sd0 on hackerone ++ Closes #12139 + +- Closes #11113 ++- curl.h: on FreeBSD include sys/param.h instead of osreldate.h + +-Daniel Silverstone (15 May 2023) ++ Should things build on Playstation as well + +-- ssh: Add support for libssh2 read timeout ++ Fixes #12107 ++ Reported-by: Faraz Fallahi ++ Closes #12123 + +- Hook the new (1.11.0 or newer) libssh2 support for setting a read timeout +- into the SERVER_RESPONSE_TIMEOUT option. With this done, clients can use +- the standard curl response timeout setting to also control the time that +- libssh2 will wait for packets from a slow server. This is necessary to +- enable use of very slow SFTP servers. ++Marcin Rataj (16 Oct 2023) + +- Signed-off-by: Daniel Silverstone ++- tool_operate: fix links in ipfs errors + +- Closes #10965 ++ URL fragment links generated from headers in ++ https://curl.se/docs/ipfs.html are lowercase. + +-Osama Albahrani (14 May 2023) ++ Closes #12133 + +-- GIT-INFO: add --with-openssl ++Viktor Szakats (15 Oct 2023) + +- Closes #11110 ++- cmake: replace `check_library_exists_concat()` + +-Daniel Stenberg (13 May 2023) ++ The idea of `check_library_exists_concat()` is that it detects an ++ optional component and adds it to the list of libs that we also use in ++ subsequent component checks. This caused problems when detecting ++ components with unnecessary dependencies that were not yet built. + +-- RELEASE-NOTES: synced ++ CMake offers the `CMAKE_REQUIRED_LIBRARIES` variable to set libs used ++ for component checks, which we already use in most cases. That left 4 ++ uses of `check_library_exists_concat()`. Only one of these actually ++ needed the 'concat' feature (ldap/lber). + +-Marcel Raad (13 May 2023) ++ Delete this function and replace it with standard ++ `check_library_exists()` and manual management of our `CURL_LIBS` ++ list we use when linking build targets. And special logic to handle the ++ ldap/lber case. + +-- md(4|5): don't use deprecated iOS functions ++ (We have a similar function for headers: `check_include_file_concat()`. ++ It works, but problematic for performance reasons and because it hides ++ the actual headers required in `check_symbol_exists()` calls.) + +- They are marked as deprecated in iOS 13.0, which might result in +- warnings-as-errors. ++ Ref: #11537 #11558 ++ Fixes #11285 ++ Fixes #11648 ++ Closes #12070 + +- Also, use `*_MIN_REQUIRED` instead of `*_MIN_ALLOWED`, which seems to +- be what's currently used. ++LoRd_MuldeR (15 Oct 2023) + +- Bug: https://github.com/curl/curl/issues/11098 +- Closes https://github.com/curl/curl/pull/11102 ++- tool_cb_wrt: fix write output for very old Windows versions + +-- md4: only build when used ++ - Pass missing parameter for 'lpNumberOfCharsWritten' to WriteConsoleW() ++ function. + +- Its only usage in curl_ntlm_core.c is guarded by `USE_CURL_NTLM_CORE`, +- so let's use this here too. ++ Apparently this parameter was *not* optional on older Windows versions. + +- Ref: https://github.com/curl/curl/issues/11098 +- Closes https://github.com/curl/curl/pull/11102 ++ Issue observed on Windows XP SP2. Issue not observed on Windows 7 SP1. ++ So at some point between those two Microsoft changed the behavior. + +-Vítor Galvão (12 May 2023) ++ Prior to this change, on those versions if parameter is NULL then the ++ function call fails with error ERROR_INVALID_ACCESS. + +-- write-out.d: Use response_code in example ++ Regression since af3f4e41. + +- Closes #11107 ++ Ref: https://github.com/MicrosoftDocs/Console-Docs/issues/299 + +-Shohei Maeda (12 May 2023) ++ Fixes https://github.com/curl/curl/issues/12131 ++ Closes https://github.com/curl/curl/pull/12130 + +-- url: fix null dispname for --connect-to option ++Jay Satiro (15 Oct 2023) + +- Closes #11106 ++- tool_urlglob: fix build for old gcc versions + +-Daniel Stenberg (12 May 2023) ++ - Don't use __builtin_mul_overflow for GCC 4 and earlier. + +-- test2306: verify getting a second response with folded headers ++ The function was added in GCC 5. + +- Reproduces the isue #11101 and verifies the fix. ++ Ref: https://gcc.gnu.org/gcc-5/changes.html + +- Verifies a17b2a503f ++ Reported-by: Dan Fandrich + +-- headers: clear (possibly) lingering pointer in init ++ Fixes https://github.com/curl/curl/issues/12124 ++ Closes https://github.com/curl/curl/pull/12128 + +- The "prevhead" pointer is used for the headers storage but was not +- cleared correctly in init, which made it possible to act up when a +- handle is reused. ++Carlos Henrique Lima Melara (14 Oct 2023) + +- Reported-by: Steve Herrell +- Fixes #11101 +- Closes #11103 ++- docs/libcurl: fix three minor man page format mistakes + +-- RELEASE-NOTES: synced ++ Reported-by: Samuel Henrique + +-- ngtcp2: use 0.15.0 ++ Closes https://github.com/curl/curl/pull/12126 + +- - nghttp3 0.11.0 +- - nghttp2 1.53.0 ++Jay Satiro (14 Oct 2023) + +- Adapt to new API calls ++- tests/server: add more SOCKS5 handshake error checking + +- Closes #11031 ++ - Add additional checking for missing and too-short SOCKS5 handshake ++ messages. + +-Jay Satiro (10 May 2023) ++ Prior to this change the SOCKS5 test server did not check that all parts ++ of the handshake were received successfully. If those parts were missing ++ or too short then the server would access uninitialized memory. + +-- openssl: fix indent ++ This issue was discovered in CI job 'memory-sanitizer' test results. ++ Test 2055 was failing due to the SOCKS5 test server not running. It was ++ not running because either it crashed or memory sanitizer aborted it ++ during Test 728. Test 728 connects to the SOCKS5 test server on a ++ redirect but does not send any data on purpose. The test server was not ++ prepared for that. + +-Daniel Stenberg (10 May 2023) ++ Reported-by: Dan Fandrich + +-- CURLOPT_DNS_CACHE_TIMEOUT.3: fix spelling ++ Fixes https://github.com/curl/curl/issues/12117 ++ Closes https://github.com/curl/curl/pull/12118 + +- Follow-up to 9ed7d56e044f5aa1b29 ++Daniel Stenberg (14 Oct 2023) + +- Closes #11096 ++- RELEASE-NOTES: synced + +-- hostip: use time_t for storing oldest DNS entry ++Sohom Datta (14 Oct 2023) + +- Theoretically, the oldest time could overflow an int. In practice that +- won't happen, but let's do this to please analyzers. ++- tool_getparam: limit --rate to be smaller than number of ms + +- Follow-up to 9ed7d56e044f5aa1b2928ccde6245d0 ++ Currently, curl allows users to specify absurd request rates that might ++ be higher than the number of milliseconds in the unit (ex: curl --rate ++ 3600050/h http://localhost:8080 does not error out despite there being ++ only 3600000ms in a hour). + +- Pointed out by Coverity. +- Closes #11094 ++ This change adds a conditional check before the millisecond calculation ++ making sure that the number is not higher than the numerator (the unit) ++ If the number is higher, curl errors out with PARAM_NUMBER_TOO_LARGE + +-- http: free the url before storing a new copy ++ Closes #12116 + +- To avoid a memory-leak. ++Daniel Stenberg (14 Oct 2023) + +- Reported-by: Hiroki Kurosawa ++- opts: fix two minor man page format mistakes + +- Closes #11093 ++Jay Satiro (14 Oct 2023) + +-- compressed.d: clarify the words on "not notifying headers" ++- curl_trc: remove a bad assertion + +- Reported-by: Dylan Anthony +- Fixes #11091 +- Closes #11092 ++ - Remove DEBUGASSERT that an internal handle must not have user ++ private_data set before calling the user's debug callback. + +-- libssh2: free fingerprint better ++ This is a follow-up to 0dc40b2a. The user can distinguish their easy ++ handle from an internal easy handle by setting CURLOPT_PRIVATE on their ++ easy handle. I had wrongly assumed that meant the user couldn't then ++ set CURLOPT_PRIVATE on an internal handle as well. + +- Reported-by: Wei Chong Tan +- Closes #11088 ++ Bug: https://github.com/curl/curl/pull/12060#issuecomment-1754594697 ++ Reported-by: Daniel Stenberg + +-- CURLOPT_IPRESOLVE.3: clarify that this for host names, not IP addresses ++ Closes https://github.com/curl/curl/pull/12104 + +- Reported-by: Harry Sintonen +- Closes #11087 ++Dan Fandrich (13 Oct 2023) + +-- hostip: enforce a maximum DNS cache size independent of timeout value ++- test613: stop showing an error on missing output file + +- To reduce the damage an application can cause if using -1 or other +- ridiculous timeout values and letting the cache live long times. ++ This test would show an error message if the output was missing during ++ the log post-processing step, but the message was not captured by the ++ test harness and wasn't useful since the normal golden log file ++ comparison would the problem more clearly. + +- The maximum number of entries in the DNS cache is now totally +- arbitrarily and hard-coded set to 29999. ++Stefan Eissing (13 Oct 2023) + +- Closes #11084 ++- quic: manage connection idle timeouts + +-- hostip: store dns timeout as 'int' ++ - configure a 120s idle timeout on our side of the connection ++ - track the timestamp when actual socket IO happens ++ - check IO timestamp to our *and* the peer's idle timeouts ++ in "is this connection alive" checks + +- ... because it set and held as an 'int' elsewhere and can never be +- larger. ++ Reported-by: calvin2021y on github ++ Fixes #12064 ++ Closes #12077 + +-- RELEASE-NOTES: synced ++Dan Fandrich (13 Oct 2023) + +-- tool_operate: refuse (--data or --form) and --continue-at combo ++- CI: ignore test 286 on Appveyor gcc 9 build + +- libcurl assumes that a --continue-at resumption is done to continue an +- upload using the read callback and neither --data nor --form use +- that and thus won't do what the user wants. Whatever the user wants +- with this strange combination. ++ This test fails sometimes with a super fast retry loop due to what may ++ just be a compiler bug. The test results are ignored on the one CI job ++ where it occurs because there seems to be nothing we can do to fix it. + +- Add test 426 to verify. ++ Fixes #12040 ++ Closes #12106 + +- Reported-by: Smackd0wn on github +- Fixes #11081 +- Closes #11083 ++Viktor Szakats (13 Oct 2023) + +-- transfer: refuse POSTFIELDS + RESUME_FROM combo ++- lib: fix gcc warning in printf call + +- The code assumes that such a resume is wanting to continue an upload +- using the read callback, and since POSTFIELDS is done without callback +- libcurl will just misbehave. ++ Do not pass NULL to printf %s. + +- This combo will make the transfer fail with CURLE_BAD_FUNCTION_ARGUMENT +- with an explanation in the error message. ++ Seen with gcc 13.2.0 on Debian: ++ ``` ++ .../curl/lib/connect.c:696:27: warning: '%s' directive argument is null [-Wfo ++ rmat-overflow=] ++ ``` ++ Ref: https://github.com/curl/curl-for-win/actions/runs/6476161689/job/1758442 ++ 6483#step:3:11104 + +- Reported-by: Smackd0wn on github +- Fixes #11081 +- Closes #11083 ++ Ref: #10284 ++ Co-authored-by: Jay Satiro ++ Closes #12082 + +-- ipv4.d/ipv6.d: they are "mutex", not "boolean" ++Alex Klyubin (13 Oct 2023) + +- ... which for example means they do not have --no-* versions. ++- http2: safer invocation of populate_binsettings + +- Reported-by: Harry Sintonen +- Fixes #11085 +- Closes #11086 ++ populate_binsettings now returns a negative value on error, instead of a ++ huge positive value. Both places which call this function have been ++ updated to handle this change in its contract. + +-- docs/SECURITY-ADVISORY.md: how to write a curl security advisory ++ The way populate_binsettings had been used prior to this change the huge ++ positive values -- due to signed->unsigned conversion of the potentially ++ negative result of nghttp2_pack_settings_payload which returns negative ++ values on error -- are not possible. But only because http2.c currently ++ always provides a large enough output buffer and provides H2 SETTINGS ++ IVs which pass the verification logic inside nghttp2. If the ++ verification logic were to change or if http2.c started passing in more ++ IVs without increasing the output buffer size, the overflow could become ++ reachable, and libcurl/curl might start leaking memory contents to ++ servers/proxies... + +- Closes #11080 ++ Closes #12101 + +-nobedee on github (5 May 2023) ++Daniel Stenberg (13 Oct 2023) + +-- MANUAL.md: add dict example for looking up a single definition ++- openssl: avoid BN_num_bits() NULL pointer derefs + +- Closes #11077 ++ Reported-by: icy17 on github ++ Fixes #12099 ++ Closes #12100 + +-Dan Fandrich (5 May 2023) ++- wolfssl: require WOLFSSL_SYS_CA_CERTS for loading system CA + +-- runtests: fix -c option when run with valgrind ++ This define is set in wolfssl's options.h file when this function and ++ feature is present. Handles both builds with the feature explicitly ++ disabled and wolfSSL versions before 5.5.2 - which introduced this API ++ call. + +- The curl binary argument wasn't being quoted properly. This seems to +- have broken at some point after quoting was added in commit 606b29fe. ++ Closes #12108 + +- Reported-by: Daniel Stenberg +- Ref: #11073 +- Fixes #11074 +- Closes #11076 ++- tool_urlglob: make multiply() bail out on negative values + +-- runtests: support creating more than one runner process ++ - Does not work correctly with negative values ++ - use __builtin_mul_overflow() on gcc + +- The controller currently only creates and uses one, but more are now +- possible. ++ Reported-by: Torben Dury ++ Closes #12102 + +- Ref: #10818 ++Loïc Yhuel (13 Oct 2023) + +-- runtests: spawn a new process for the test runner ++- cmake: fix CURL_DISABLE_GETOPTIONS + +- When the -j option is given, a new process is spawned in which the test +- programs are run and from which test servers are started. Only one +- process can be started at once, but this is sufficient to test that the +- infrastructure can isolate those functions in a new task. There should +- be no visible difference between the two modes at the moment. ++ - Add CURL_DISABLE_GETOPTIONS to curl_config.h.cmake. + +- Ref: #10818 +- Closes #11064 ++ Prior to this change the option had no effect because it was missing ++ from that file. + +-- runtests: turn singletest() into a state machine ++ Closes https://github.com/curl/curl/pull/12091 + +- This allows it to run in a non-blocking manner. ++- easy_lock: add a pthread_mutex_t fallback + +- Ref: #10818 ++ This allows to keep the init threadsafe with gcc < 4.9.0 (no C11 ++ atomics). + +-- runtests: change runner interface to be asynchronous ++ Closes https://github.com/curl/curl/pull/12090 + +- Program arguments are marshalled and then written to the end of a pipe +- which is later read from and the arguments unmarshalled before the +- desired function is called normally. The function return values are +- then marshalled and written into another pipe when is later read from +- and unmarshalled before being returned to the caller. ++Viktor Szakats (12 Oct 2023) + +- The implementation is currently blocking but can be made non-blocking +- without any changes to the API. This allows calling multiple runners +- without blocking in the future. ++- CI: add autotools, out-of-tree, debug build to distro check job + +- Ref: #10818 ++ Add a job that builds curl from a generated source tarball sample, with ++ autotools, out-of-tree, in debug mode. + +-- runtests: call citest_finishtest in singletest ++ Ref: #12085 ++ Closes #12088 + +- This is where citest_starttest is called. ++Daniel Stenberg (12 Oct 2023) + +- Ref: #10818 ++- http: avoid Expect: 100-continue if Upgrade: is used + +-- runtests: add a runner initialization function ++ Reported-by: Daniel Jelinski ++ Fixes #12022 ++ Closes #12062 + +- This sets up the runner environment to start running tests. ++Jan Alexander Steffens (heftig) (12 Oct 2023) + +- Ref: #10818 ++- docs: use SOURCE_DATE_EPOCH for generated manpages + +-- runtests: remove directory from server filename variables ++ This should make builds from Git reproducible. + +- There will soon be multiple log directories so the paths will no longer +- be static in runtests.pl. Also, get rid of $SERVER2IN which was not +- used. ++ Closes #12092 + +- Ref: #10818 ++Daniel Stenberg (12 Oct 2023) + +-- runtests: reduce package exports after refactoring ++- RELEASE-NOTES: synced + +- Some recent refactoring made these export no longer necessary. Also, +- stop displaying the Unix socket paths at startup since there will soon +- be many of them and they're not that interesting. ++ Bumped to 8.4.1 + +- Ref: #10818 ++Viktor Szakats (12 Oct 2023) + +-- runtests: use a function to obtain $LOGDIR for a test ++- cmake: fix `HAVE_H_ERRNO_ASSIGNABLE` detection + +- This will no longer be static soon. ++ Fix `HAVE_H_ERRNO_ASSIGNABLE` to not run, only compile its test snippet, ++ aligning this with autotools. This fixes an error when doing ++ cross-builds and also actually detects this feature. It affected systems ++ not allowlisted into this, e.g. SerenityOS. + +- Ref: #10818 ++ We used this detection result to enable `HAVE_GETADDRINFO_THREADSAFE`. + +-Jay Satiro (5 May 2023) ++ Follow-up to 04a3a377d83fd72c4cf7a96c9cb6d44785e33264 #11979 ++ Ref: #12095 (closed in favour of this patch) ++ Ref: #11964 (effort to sync cmake detections with autotools) + +-- tool_cb_hdr: Fix 'Location:' formatting for early VTE terminals ++ Reported-by: Kartatz on Github ++ Assisted-by: Kartatz on Github ++ Fixes #12093 ++ Closes #12094 + +- - Disable hyperlink formatting for the 'Location:' header value in VTE +- 0.48.1 and earlier, since it is buggy in some of those versions. ++- build: add `src/.checksrc` to source tarball + +- Prior to this change those terminals may show the location header value +- as gibberish or show it twice. ++ Regression from e5bb88b8f824ed87620bd923552534c83c2a516e #11958 + +- Ref: https://gist.github.com/egmontkob/eb114294efbcd5adb1944c9f3cb5feda#backw +- ard-compatibility ++ Bug: https://github.com/curl/curl/pull/11958#issuecomment-1757079071 ++ Reported-by: Romain Geissler ++ Fixes #12084 ++ Closes #12085 + +- Fixes https://github.com/curl/curl/issues/10428 +- Closes https://github.com/curl/curl/pull/11071 ++Version 8.4.0 (11 Oct 2023) + +-François Michel (3 May 2023) ++Daniel Stenberg (11 Oct 2023) + +-- quiche: disable pacing while pacing is not actually performed ++- RELEASE-NOTES: synced + +- Closes #11068 ++- THANKS: add contributors from 8.4.0 + +-Daniel Stenberg (2 May 2023) ++Jay Satiro (11 Oct 2023) + +-- easy_cleanup: require a "good" handle to act ++- socks: return error if hostname too long for remote resolve + +- By insisting that the passed in handle is "good" (the magic number is +- intact), this can limit the potential damage if a bad pointer is passed +- in. Like when this function is called twice on the same handle pointer. ++ Prior to this change the state machine attempted to change the remote ++ resolve to a local resolve if the hostname was longer than 255 ++ characters. Unfortunately that did not work as intended and caused a ++ security issue. + +- Ref: #10964 +- Closes #11061 ++ Bug: https://curl.se/docs/CVE-2023-38545.html + +-Andreas Falkenhahn (1 May 2023) ++Stefan Eissing (10 Oct 2023) + +-- amiga: Fix CA certificate paths for AmiSSL and MorphOS ++- CI: remove slowed-network tests + +- AmiSSL stores certificates in `AmiSSL:Certs` and MorphOS stores them in +- `MOSSYS:Data/SSL/curl-ca-bundle.crt`. ++ - remove these tests as they are currently not reliable in our CI ++ setups. + +- Closes https://github.com/curl/curl/pull/11059 ++ curl handles the test cases, but CI sometimes fails on these due to ++ additional conditions. Rather than mix them in, an additional CI job ++ will be added in the future that is specific to them. + +-Daniel Stenberg (30 Apr 2023) ++ Closes https://github.com/curl/curl/pull/12075 + +-- http2: (void)-mark when we explicitly ignore the return code ++Jay Satiro (10 Oct 2023) + +- When h2_progress_egress() is called. Pointed out by Coverity. ++- libcurl-env-dbg.3: move debug variables from libcurl-env.3 + +- Closes #11057 ++ - Move documentation of libcurl environment variables used only in debug ++ builds from libcurl-env into a separate document libcurl-env-dbg. + +-- checksrc: find bad indentation in conditions without open brace ++ - Document more debug environment variables. + +- If the previous line starts with if/while/for AND ends with a closed +- parenthesis and there's an equal number of open and closed parentheses +- on that line, verify that this line is indented $indent more steps, if +- not a cpp line. ++ Previously undocumented or missing a description: + +- Also adjust the fall-out from this fix. ++ CURL_ALTSVC_HTTP, CURL_DBG_SOCK_WBLOCK, CURL_DBG_SOCK_WPARTIAL, ++ CURL_DBG_QUIC_WBLOCK, CURL_DEBUG, CURL_DEBUG_SIZE, CURL_GETHOSTNAME, ++ CURL_HSTS_HTTP, CURL_FORCETIME, CURL_SMALLREQSEND, CURL_SMALLSENDS, ++ CURL_TIME. + +- Closes #11054 ++ Closes https://github.com/curl/curl/pull/11811 + +-Diogo Teles Sant'Anna (28 Apr 2023) ++Dan Fandrich (9 Oct 2023) + +-- CI: Set minimal permissions on workflow ngtcp2-quictls.yml ++- test670: increase the test timeout + +- Signed-off-by: Diogo Teles Sant'Anna ++ This should make it more immune to loaded servers. + +- Closes #11055 ++ Ref: #11328 + +-Dan Fandrich (28 Apr 2023) ++Stefan Eissing (9 Oct 2023) + +-- CI: use another glob syntax for matching files on Appveyor ++- MQTT: improve receive of ACKs + +- The previous globbing syntax was not matching files recursively in +- directories, so try appending a /* to more closely match the examples at +- https://www.appveyor.com/docs/how-to/filtering-commits/ ++ - add `mq->recvbuf` to provide buffering of incomplete ++ ACK responses ++ - continue ACK reading until sufficient bytes available ++ - fixes test failures on low network receives + +-Daniel Stenberg (28 Apr 2023) ++ Closes #12071 + +-- multi: add multi-ignore logic to multi_socket_action ++Viktor Szakats (9 Oct 2023) + +- The multi-ignore logic that was previously applied to +- curl_multi_perform() (#10750) is here applied to the loop within +- curl_multi_socket_action() to make it use the same optimization: most +- handles have the same signal-ignore option state so this drastically +- reduces the number of ignore/unignore calls per libcurl function invoke. ++- quic: fix BoringSSL build + +- Follow-up to bc90308328afb8 ++ Add guard around `SSL_CTX_set_ciphersuites()` use. + +- Closes #11045 ++ Bug: https://github.com/curl/curl/pull/12065#issuecomment-1752171885 + +-Stefan Eissing (28 Apr 2023) ++ Follow-up to aa9a6a177017e4b74d33cdf85a3594900f4a7f81 + +-- http2: do flow window accounting for cancelled streams ++ Co-authored-by: Jay Satiro ++ Reviewed-by: Daniel Stenberg ++ Closes #12067 + +- - nghttp2 does not free connection level window flow for +- aborted streams +- - when closing transfers, make sure that any buffered +- response data is "given back" to the flow control window +- - add tests test_02_22 and test_02_23 to reproduce ++Stefan Eissing (9 Oct 2023) + +- Closes #11052 ++- test1540: improve reliability + +-- pingpong: fix compiler warning "assigning an enum to unsigned char" ++ - print that bytes have been received on pausing, but not how many + +- Closes #11050 ++ Closes #12069 + +-Daniel Stenberg (28 Apr 2023) ++- test2302: improve reliability + +-- configure: fix detection of apxs (for httpd) ++ - make result print collected write data, unless ++ change in meta flags is detected ++ - will show same result even when data arrives via ++ several writecb invocations + +- The condition check was turned the wrong way around! ++ Closes #12068 + +- Closes #11051 ++Daniel Stenberg (9 Oct 2023) + +-Viktor Szakats (28 Apr 2023) ++- curl_easy_pause: set "in callback" true on exit if true + +-- ci: `-Wno-vla` no longer necessary ++ Because it might have called another callback in the mean time that then ++ set the bit FALSE on exit. + +- We handle this issue in the source now. ++ Reported-by: Jay Satiro ++ Fixes #12059 ++ Closes #12061 + +- Follow-up to b725fe1944b45406676ea3aff333ae3085a848d9 ++Viktor Szakats (8 Oct 2023) + +- Reviewed-by: Marcel Raad +- Reviewed-by: Daniel Stenberg +- Closes #11048 ++- h3: add support for ngtcp2 with AWS-LC builds + +-Marcel Raad (28 Apr 2023) ++ ``` ++ curl 8.4.0-DEV (x86_64-apple-darwin) libcurl/8.4.0-DEV (SecureTransport) AWS- ++ LC/1.15.0 nghttp2/1.56.0 ngtcp2/0.19.1 nghttp3/0.15.0 ++ Release-Date: [unreleased] ++ Protocols: dict file ftp ftps gopher gophers http https imap imaps ldap ldaps ++ mqtt pop3 pop3s rtsp smb smbs smtp smtps telnet tftp ws wss ++ Features: alt-svc AsynchDNS HSTS HTTP2 HTTP3 HTTPS-proxy IPv6 Largefile Multi ++ SSL NTLM SSL threadsafe UnixSockets ++ ``` + +-- tests/http: make curl_setup.h the first include ++ Also delete an obsolete GnuTLS TODO and update the header comment in ++ `FindNGTCP2.cmake`. + +- This is required for the macros there to take effect for system +- libraries. Specifically, including the system libraries first led to +- warnings about `_FILE_OFFSET_BITS` being redefined in curl_config.h on +- the Solaris autobuilds for ws-data.c and ws-pingpong.c. +- Also make the curl includes come first for the other source files here +- for consistency. ++ Reviewed-by: Daniel Stenberg ++ Closes #12066 + +- Closes https://github.com/curl/curl/pull/11046 ++- build: do not publish `HAVE_BORINGSSL`, `HAVE_AWSLC` macros + +-Emanuele Torre (27 Apr 2023) ++ Syncing this up with CMake. + +-- checksrc: check for spaces before the colon of switch labels ++ Source code uses the built-in `OPENSSL_IS_AWSLC` and ++ `OPENSSL_IS_BORINSSL` macros to detect BoringSSL and AWS-LC. No help is ++ necessary from the build tools. + +- Closes #11047 ++ The one use of `HAVE_BORINGSSL` in the source turned out to be no longer ++ necessary for warning-free BoringSSL + Schannel builds. Ref: #1610 #2634 + +-Daniel Stenberg (27 Apr 2023) ++ autotools detects this anyway for display purposes. ++ CMake detects this to decide whether to use the BoringSSL-specific ++ crypto lib with ngtcp2. It detects AWS-LC, but doesn't use the detection ++ result just yet (planned in #12066). + +-- RELEASE-NOTES: synced ++ Ref: #11964 + +-- libssh: tell it to use SFTP non-blocking ++ Reviewed-by: Daniel Stenberg ++ Reviewed-by: Jay Satiro ++ Closes #12065 + +- Reported-by: Andreas Huebner +- Fixes #11020 +- Closes #11039 ++Marc Hoersken (8 Oct 2023) + +-Stefan Eissing (27 Apr 2023) ++- CI: move distcheck job from Azure Pipelines to GitHub Actions + +-- http2: enlarge the connection window ++ This will allow for more trigger excludes within Azure Pipelines. + +- - fixes stalled connections ++ Also fixes seemingly broken check with scripts/installcheck.sh. ++ Ref: 190374c74ec4e5247d9066544c86e8d095e1d7b5 + +- - Make the connection window large enough, so that there is +- some room left should 99/100 streams be PAUSED by the application ++ Assisted-by: Philip Heiduck ++ Closes #9532 + +- Reported-by: PaweÅ‚ Wegner +- Fixes #10988 +- Closes #11043 ++Daniel Stenberg (8 Oct 2023) + +-Daniel Stenberg (27 Apr 2023) ++- url: fall back to http/https proxy env-variable if ws/wss not set + +-- checksrc: fix SPACEBEFOREPAREN for conditions starting with "*" ++ Reported-by: Craig Andrews ++ Fixes #12031 ++ Closes #12058 + +- The open paren check wants to warn for spaces before open parenthesis +- for if/while/for but also for any function call. In order to avoid +- catching function pointer declarations, the logic allows a space if the +- first character after the open parenthesis is an asterisk. ++Stefan Eissing (8 Oct 2023) + +- I also spotted what we did not include "switch" in the check but we should. ++- cf-socket: simulate slow/blocked receives in debug + +- This check is a little lame, but we reduce this problem by not allowing +- that space for if/while/for/switch. ++ add 2 env variables for non-UDP sockets: ++ 1. CURL_DBG_SOCK_RBLOCK: percentage of receive calls that randomly ++ should return EAGAIN ++ 2. CURL_DBG_SOCK_RMAX: max amount of bytes read from socket + +- Reported-by: Emanuele Torre +- Closes #11044 ++ Closes #12035 + +-- docs: minor polish ++- http2: refused stream handling for retry + +- - "an HTTP*" (not "a") +- - remove a few contractions +- - remove a spurious "a" +- - reduce use of "I" in texts ++ - answer HTTP/2 streams refused via a GOAWAY from the server to ++ respond with CURLE_RECV_ERROR in order to trigger a retry ++ on another connection + +- Closes #11040 ++ Reported-by: black-desk on github ++ Ref #11859 ++ Closes #12054 + +-- ws: fix CONT opcode check ++Jay Satiro (8 Oct 2023) + +- Detected by Coverity. Follow-up to 930c00c259 ++- CURLOPT_DEBUGFUNCTION.3: warn about internal handles + +- Closes #11037 ++ - Warn that the user's debug callback may be called with the handle ++ parameter set to an internal handle. + +-Dan Fandrich (27 Apr 2023) ++ Without this warning the user may assume that the only handles their ++ debug callback receives are the easy handles on which they set ++ CURLOPT_DEBUGFUNCTION. + +-- CI: switch the awslc builds to build out-of-tree ++ This is a follow-up to f8cee8cc which changed DoH handles to inherit ++ the debug callback function set in the user's easy handle. As a result ++ those handles are now passed to the user's debug callback function. + +- This is a common configuration that should be tested to avoid +- regressions. The awsls cmake build was already out-of-tree so the +- automake build now joins it. ++ Closes https://github.com/curl/curl/pull/12034 + +- Ref: #11006 ++- url: fix typo + +-- tests/http: fix out-of-tree builds ++Daniel Stenberg (8 Oct 2023) + +- Add both lib/ directories (src & build) to the search path so +- curl_setup.h and its dependencies can be found. ++- test458: verify --expand-output, expanding a file name accepting option + +- Followup-to acd82c8b ++ Verifies the fix in #12055 (commit f2c8086ff15e6e995e1) + +- Ref: #11006 +- Closes #11036 ++- tool_getparam: accept variable expansion on file names too + +-Daniel Stenberg (27 Apr 2023) ++ Reported-by: PBudmark on github ++ Fixes #12048 ++ Closes #12055 + +-- urlapi: make internal function start with Curl_ ++- RELEASE-NOTES: synced + +- Curl_url_set_authority() it is. ++- multi: do CURLM_CALL_MULTI_PERFORM at two more places + +- Follow-up to acd82c8bfd ++ ... when it does a state transition but there is no particular socket or ++ timer activity. This was made apparent when commit b5bb84c removed a ++ superfluous timer expiry. + +- Closes #11035 ++ Reported-by: Dan Fandrich. ++ Fixes #12033 ++ Closes #12056 + +-YX Hao (26 Apr 2023) ++Viktor Szakats (7 Oct 2023) + +-- cf-socket: turn off IPV6_V6ONLY on Windows if it is supported ++- GHA/linux: mbedtls 3.5.0 + minor dep bumps + +- IPV6_V6ONLY refs: +- https://en.wikipedia.org/wiki/IPv6#IPv4-mapped_IPv6_addresses +- https://github.com/golang/go/blob/master/src/net/ipsock_posix.go +- https://en.wikipedia.org/wiki/Unix-like +- https://learn.microsoft.com/en-us/windows/win32/winsock/ipproto-ipv6-socket-o +- ptions ++ Closes #12057 + +- default value refs: +- https://datatracker.ietf.org/doc/html/rfc3493#section-5.3 +- https://www.kernel.org/doc/html/latest/networking/ip-sysctl.html#proc-sys-net +- -ipv6-variables ++Dan Fandrich (7 Oct 2023) + +- Closes #10975 ++- CI: bump OpenLDAP package version on FreeBSD + +-Daniel Stenberg (26 Apr 2023) ++ The old one is no longer available. + +-- urldata: shrink *select_bits int => unsigned char ++Marc Hoersken (7 Oct 2023) + +- - dselect_bits +- - cselect_bits ++- docs/libcurl/opts/Makefile.inc: add missing manpage files + +- ... are using less than 8 bits. Changed types and moved them towards +- the end of the structs to fit better. ++ Detected with #9532 + +- Closes #11025 ++Dan Fandrich (7 Oct 2023) + +-Stefan Eissing (26 Apr 2023) ++- tests: fix a race condition in ftp server disconnect + +-- tests/http: more tests with specific clients ++ If a client disconnected and reconnected quickly, before the ftp server ++ had a chance to respond, the protocol message/ack (ping/pong) sequence ++ got out of sync, causing messages sent to the old client to be delivered ++ to the new. A disconnect must now be acknowledged and intermediate ++ requests thrown out until it is, which ensures that such synchronization ++ problems can't occur. This problem could affect ftp, pop3, imap and smtp ++ tests. + +- - Makefile support for building test specific clients in tests/http/clients +- - auto-make of clients when invoking pytest +- - added test_09_02 for server PUSH_PROMISEs using clients/h2-serverpush +- - added test_02_21 for lib based downloads and pausing/unpausing transfers ++ Fixes #12002 ++ Closes #12049 + +- curl url parser: +- - added internal method `curl_url_set_authority()` for setting the +- authority part of a url (used for PUSH_PROMISE) ++Viktor Szakats (7 Oct 2023) + +- http2: +- - made logging of PUSH_PROMISE handling nicer ++- appveyor: bump mingw-w64 job to gcc 13 (was: 8) + +- Placing python test requirements in requirements.txt files +- - separate files to base test suite and http tests since use +- and module lists differ +- - using the files in the gh workflows ++ This sets gcc 6, 7, 9, 13 in our test mix (was: 6, 7, 8, 9). ++ Adding a modern gcc version to the tests. + +- websocket test cases, fixes for we and bufq +- - bufq: account for spare chunks in space calculation +- - bufq: reset chunks that are skipped empty +- - ws: correctly encode frames with 126 bytes payload +- - ws: update frame meta information on first call of collect +- callback that fills user buffer +- - test client ws-data: some test/reporting improvements ++ (The gcc 8 job used to take around 50 minutes. The new image with gcc 13 ++ finished in 32, 35, 34 minutes in the 3 test runs so far.) + +- Closes #11006 ++ It also adds a modern CMake version and OS env to our mingw-w64 builds. + +-Jay Satiro (26 Apr 2023) ++ Closes #12051 + +-- libssh2: fix crash in keyboard callback ++David Benjamin (6 Oct 2023) + +- - Always set the libssh2 'abstract' user-pointer to the libcurl easy +- handle associated with the ssh session, so it is always passed to the +- ssh keyboard callback. ++- openssl: use X509_ALGOR_get0 instead of reaching into X509_ALGOR + +- Prior to this change and since 8b5f100 (precedes curl 8.0.0), if libcurl +- was built without CURL_DEBUG then it could crash during the ssh auth +- phase due to a null dereference in the ssh keyboard callback. ++ While the struct is still public in OpenSSL, there is a (somewhat ++ inconvenient) accessor. Use it to remain compatible if it becomes opaque ++ in the future. + +- Reported-by: Andreas Falkenhahn ++ Closes #12038 + +- Fixes https://github.com/curl/curl/pull/11024 +- Closes https://github.com/curl/curl/pull/11026 ++Daniel Stenberg (6 Oct 2023) + +-Daniel Stenberg (26 Apr 2023) ++- curl_easy_pause.3: mention it works within callbacks + +-- docs: clarify that more backends have HTTPS proxy support ++ Reported-by: Maxim Dzhura ++ Bug: https://curl.se/mail/lib-2023-10/0010.html ++ Closes #12046 + +- Closes #11033 ++- curl_easy_pause.3: mention h2/h3 buffering + +-- KNOWN_BUGS: remove two not-bugs ++ Asked-by: Maxim Dzhura ++ Ref: https://curl.se/mail/lib-2023-10/0011.html + +- - 11.7 signal-based resolver timeouts ++ Closes #12045 + +- Not considered a bug anymore but just implementation details. People +- should avoid using timeouts with the synchronous name resolver. ++Viktor Szakats (6 Oct 2023) + +- - 11.16 libcurl uses renames instead of locking for atomic operations ++- cmake: re-add missed C89 headers for specific detections + +- Not a bug, just a description of how it works ++ We removed C89 `setjmp.h` and `signal.h` detections and excluded them ++ from the global header list we use when detecting functions [1]. Then ++ missed to re-add these headers to the specific functions which need ++ them to be detected [2]. Fix this omission in this patch. + +- Closes #11032 ++ [1] Follow-up to 3795fcde995d96db641ddbcc8a04f9f0f03bef9f #11951 ++ [2] Follow-up to 96c29900bcec32dd6bc8e9857c8871ff4b8b8ed9 #11940 + +-Harry Sintonen (26 Apr 2023) ++ Closes #12043 + +-- hostip: add locks around use of global buffer for alarm() ++Daniel Stenberg (6 Oct 2023) + +- When building with the sync name resolver and timeout ability we now +- require thread-safety to be present to enable it. ++- multi: set CURLM_CALL_MULTI_PERFORM after switch to DOING_MORE + +- Closes #11030 ++ Since there is nothing to wait for there. Avoids the test 1233 hang ++ reported in #12033. + +-Daniel Stenberg (26 Apr 2023) ++ Reported-by: Dan Fandrich ++ Closes #12042 + +-- curl_path: bring back support for SFTP path ending in /~ ++Dan Fandrich (5 Oct 2023) + +- libcurl used to do a directory listing for this case (even though the +- documentation says a URL needs to end in a slash for this), but +- 4e2b52b5f7a3 modified the behavior. ++- test1903: actually verify the cookies after the test + +- This change brings back a directory listing for SFTP paths that are +- specified exactly as /~ in the URL. ++ The test otherwise could do just about anything (except leak memory in ++ debug mode) and its bad behaviour wouldn't be detected. Now, check the ++ resulting cookie file to ensure the cookies are still there. + +- Reported-by: Pavel Mayorov +- Fixes #11001 +- Closes #11023 ++ Closes #12041 + +-Emanuele Torre (26 Apr 2023) ++- test: add missing s + +-- docs/libcurl/curl_*escape.3: rename "url" argument to "input"/"string" ++ The tests will otherwise fail if curl has them disabled. + +- Also reword the DESCRIPTION section to mention "input"/"string" argument +- in bold. ++- test1906: set a lower timeout since it's hit on Windows + +- Closes #11027 ++ msys2 builds actually hit the connect timeout in normal operation, so ++ lower the timeout from 5 minutes to 5 seconds to reduce test time. + +-- docs/libcurl: minor cleanups ++ Ref: #11328 ++ Closes #12036 + +- I was reading curl_unescape(3) and I noticed that there was an extra +- space after the open parenthesis in the SYNOPSIS; I removed the extra +- space. ++Daniel Stenberg (5 Oct 2023) + +- I also ran a few grep -r commands to find and remove extra spaces +- after '(' in other files, and to find and replace uses of `T*' instead +- of `T *'. Some of the instances of `T*` where unnecessary casts that I +- removed. ++- RELEASE-NOTES: synced + +- I also fixed a comment that was misaligned in CURLMOPT_SOCKETFUNCTION.3. ++Jay Satiro (5 Oct 2023) + +- And I fixed some formatting inconsistencies: in curl_unescape(3), all +- function parameter were mentioned with bold text except length, that was +- mentioned as 'length'; and, in curl_easy_unescape(3), all parameters +- were mentioned in bold text except url that was italicised. Now they are +- all mentioned in bold. +- Documentation is not very consistent in how function parameter are +- formatted: many pages italicise them, and others display them in bold +- text; but I think it makes sense to at least be consistent with +- formatting within the same page. ++- idn: fix WinIDN null ptr deref on bad host + +- Closes #11027 ++ - Return CURLE_URL_MALFORMAT if IDN hostname cannot be converted from ++ UTF-8 to UTF-16. + +-Daniel Stenberg (26 Apr 2023) ++ Prior to this change a failed conversion erroneously returned CURLE_OK ++ which meant 'decoded' pointer (what would normally point to the ++ punycode) would not be written to, remain NULL and be dereferenced ++ causing an access violation. + +-- man pages: simplify the .TH sections ++ Closes https://github.com/curl/curl/pull/11983 + +- - remove the version numbers +- - simplify the texts ++Dan Fandrich (4 Oct 2023) + +- The date and version number will be put there for releases when maketgz +- runs the updatemanpages.pl script. ++- tests: close the shell used to start sshd + +- Closes #11029 ++ This shell isn't needed once sshd starts, so use "exec" so it doesn't ++ stick around. + +-- hostcheck: fix host name wildcard checking ++ Closes #12032 + +- The leftmost "label" of the host name can now only match against single +- '*'. Like the browsers have worked for a long time. ++Daniel Stenberg (4 Oct 2023) + +- - extended unit test 1397 for this +- - move some SOURCE variables from unit/Makefile.am to unit/Makefile.inc ++- base64: also build for curl + +- Reported-by: Hiroki Kurosawa +- Closes #11018 ++ Since the tool itself now uses the base64 code using the curlx way, it ++ needs to build also when the tool needs it. Starting now, the tool build ++ defines BULDING_CURL to allow lib-side code to use it. + +-Dan Fandrich (25 Apr 2023) ++ Follow-up to 2e160c9c6525 + +-- smbserver: remove temporary files before exit ++ Closes #12010 + +- Each execution of test 1451 would leave a file in /tmp before. Since +- Windows can't delete a file while it's open, all the temporary file +- names are stored and deleted on exit. ++Eduard Strehlau (4 Oct 2023) + +- Closes #10990 ++- tests: Fix zombie processes left behind by FTP tests. + +-Stefan Eissing (25 Apr 2023) ++ ftpserver.pl correctly cleans up spawned server processes, ++ but forgets to wait for the shell used to spawn them. ++ This is barely noticeable during a normal testrun, ++ but causes process exhaustion and test failure ++ during a complete torture run of the FTP tests. + +-- Websocket en-/decoding ++ Fixes #12018 ++ Closes #12020 + +- - state is fully kept at connection, since curl_ws_send() and +- curl_ws_rec() have lifetime beyond usual transfers +- - no more limit on frame sizes ++Dan Fandrich (4 Oct 2023) + +- Reported-by: simplerobot on github +- Fixes #10962 +- Closes #10999 ++- github/labeler: improve labeler matches + +-Patrick Monnerat (25 Apr 2023) ++- test574: add a timeout to the test + +-- urldata: copy CURLOPT_AWS_SIGV4 value on handle duplication ++ This one hangs occasionally, so this will speed up a test run and allow ++ logs to be seen when it does. + +- Prior to this change STRING_AWS_SIGV4 (CURLOPT_AWS_SIGV4) was wrongly +- marked as binary data that could not be duplicated. ++ Closes #12025 + +- Without this fix, this option's value is not copied upon calling +- curl_easy_duphandle(). ++- tests: propagate errors in libtests + +- Closes https://github.com/curl/curl/pull/11021 ++ Use the test macros to automatically propagate some errors, and check ++ and log others while running the tests. This can help in debugging ++ exactly why a test has failed. + +-Stefan Eissing (25 Apr 2023) ++- tests: set --expect100-timeout to improve test reliability + +-- http3: expire unpaused transfers in all HTTP/3 backends ++ On an overloaded server, the default 1 second timeout can go by without ++ the test server having a chance to respond with the expected headers, ++ causing tests to fail. Increase the 1 second timeout to 99 seconds so ++ this failure mode is no longer a problem on test 1129. Some other tests ++ already set a high value, but make them consistently 99 seconds so if ++ something goes wrong the test is stalled for less time. + +- Closes #11005 ++ Ref: #11328 + +-- http2: always EXPIRE_RUN_NOW unpaused http/2 transfers ++- CI: ignore the "flaky" and "timing-dependent" test results in CMake + +- - just increasing the http/2 flow window does not necessarily +- make a server send new data. It may already have exhausted +- the window before ++ This was already done for automake builds but CMake builds were missed. ++ Test 1086 actually causes the test harness to crash with: + +- Closes #11005 ++ Warning: unable to close filehandle DWRITE properly: Broken pipe at C:/projec ++ ts/curl/tests/ftpserver.pl line 527 + +-- http2: pass `stream` to http2_handle_stream_close to avoid NULL checks ++ Rather than fix it now, this change leaves test 1086 entirely skipped on ++ those builds that show this problem. + +- Closes #11005 ++ Follow-up to 589dca761 + +-- h2/h3: replace `state.drain` counter with `state.dselect_bits` ++ Ref: #11865 + +- - `drain` was used by http/2 and http/3 implementations to indicate +- that the transfer requires send/recv independant from its socket +- poll state. Intended as a counter, it was used as bool flag only. +- - a similar mechanism exists on `connectdata->cselect_bits` where +- specific protocols can indicate something similar, only for the +- whole connection. +- - `cselect_bits` are cleard in transfer.c on use and, importantly, +- also set when the transfer loop expended its `maxloops` tries. +- `drain` was not cleared by transfer and the http2/3 implementations +- had to take care of that. +- - `dselect_bits` is cleared *and* set by the transfer loop. http2/3 +- does no longer clear it, only set when new events happen. ++Viktor Szakats (4 Oct 2023) + +- This change unifies the handling of socket poll overrides, extending +- `cselect_bits` by a easy handle specific value and a common treatment in +- transfers. ++- cmake: improve OpenLDAP builds + +- Closes #11005 ++ - cmake: detect OpenLDAP based on function `ldap_init_fd`. ++ autotools does this. autotools also publishes this detection result ++ in `HAVE_LDAP_INIT_FD`. We don't mimic that with CMake as the source ++ doesn't use this value. (it might need to be remove-listed in ++ `scripts/cmp-config.pl` for future OpenLDAP test builds.) ++ This also deletes existing self-declaration method via the ++ CMake-specific `CURL_USE_OPENLDAP` configuration. + +-Daniel Stenberg (25 Apr 2023) ++ - cmake: define `LDAP_DEPRECATED=1` for OpenLDAP. ++ Like autotools does. This fixes a long list of these warnings: ++ ``` ++ /usr/local/opt/openldap/include/ldap.h:1049:5: warning: 'LDAP_DEPRECATED' i ++ s not defined, evaluates to 0 [-Wundef] ++ ``` + +-- socketpair: verify with a random value ++ - cmake: delete LDAP TODO comment no longer relevant. + +- ... instead of using the curl time struct, since it would use a few +- uninitialized bytes and the sanitizers would complain. This is a neater +- approach I think. ++ Also: + +- Reported-by: Boris Kuschel +- Fixes #10993 +- Closes #11015 ++ - autotools: replace domain name `dummy` with `0.0.0.0` in LDAP feature ++ detection functions. + +-Stefan Eissing (25 Apr 2023) ++ Ref: #11964 (effort to sync cmake detections with autotools) + +-- HTTP3: document the ngtcp2/nghttp3 versions to use for building curl ++ Closes #12024 + +- - refs #11011 to clarify this for people building curl themselves ++- cmake: fix unity builds for more build combinations + +- Closes #11019 ++ By using unique static function/variable names in source files ++ implementing these interfaces. + +-Daniel Stenberg (25 Apr 2023) ++ - OpenLDAP combined with any SSH backend. + +-- lib: unify the upload/method handling ++ - MultiSSL with mbedTLS, OpenSSL, wolfSSL, SecureTransport. + +- By making sure we set state.upload based on the set.method value and not +- independently as set.upload, we reduce confusion and mixup risks, both +- internally and externally. ++ Closes #12027 + +- Closes #11017 ++Daniel Stenberg (4 Oct 2023) + +-- RELEASE-NOTES: synced ++- tests: remove leading spaces from some tags + +-Dan Fandrich (24 Apr 2023) ++ The threee tags ``, `` and `` were frequently used ++ with a leading space that this removes. The reason this habbit is so ++ widespread in testcases is probably that they have been copy and pasted. + +-- CI: don't run CI jobs if only another CI was changed ++ Hence, fixing them all now might curb this practice from now on. + +- A few paths were missed in the last commit, as well as a job added since +- then. ++ Closes #12028 + +- Followup-to 395b9175 ++Viktor Szakats (4 Oct 2023) + +-- CI: adjust labeler match patterns ++- GHA: bump actions/checkout + +-- runtests: support buffering log messages in runner & servers ++ Follow-up to 2e0fa50fc16b9339f51e0a7bfff0352829323acb #11964 ++ Follow-up to c39585d9b7ef3cbfc1380812dec60e7b275b6af3 #12000 + +- Log messages generated with logmsg can now be buffered and returned from +- the runner as a return value. This will be needed with parallel testing +- to allow all messages for one test to be displayed together instead of +- interspersed with messages of multiple tests. Buffering can be disabled +- by setting a logging callback function with setlogfunc, which is +- currently being done to preserve existing logging behaviour for now. ++ Closes #12023 + +- Some additional output is generated in verbose and debugprotocol modes, +- which don't always use logmsg. These modes also impact some servers +- which generate extra messages. No attempt is made to buffer everything +- if these modes are enabled. ++- spelling: fix codespell 2.2.6 typos + +- Ref: #10818 +- Closes #11016 ++ Closes #12019 + +-- runtests: more consistently use logmsg in server control code ++Daniel Stenberg (3 Oct 2023) + +- Also, display an error when sshversioninfo returns one. ++- GHA: add workflow to compare configure vs cmake outputs + +- Ref: #10818 ++ Uses scripts/cmp-config.pl two compare two curl_config.h files, ++ presumbly generated with configure and cmake. It displays the ++ differences and filters out a lot of known lines we ignore. + +-- runtests: create runner functions for clearlocks and stopservers ++ The script also shows the matches that were *not* used. Possibly ++ subjects for removal. + +- runtests.pl now uses runner for all server actions beyond the initial +- variable configuration. ++ Closes #11964 + +- Ref: #10818 ++- appveyor: enable test 571 + +-- runtests: tightened servers package exports ++ Follow-up from 8a940fd55c175f7 / #12013 + +- The defaults are intended for runtests.pl, whereas runner.pm needs to +- explicitly specify them. ++ Closes #12017 + +-- runtests: display logs on server failure in singletest() ++Viktor Szakats (3 Oct 2023) + +- This is closer to the place where logs are displayed on test failure. +- Also, only display these logs if -p is given, which is the same flag +- that controls display of test failure logs. Some server log files +- need to be deleted later so that they stay around long enough to be +- displayed on failure. ++- build: alpha-sort source files for lib and src + +- Ref: #10818 ++ Closes #12014 + +-- runtests: turn a print into a logmsg ++- cmake: delete old `HAVE_LDAP_URL_PARSE` logic + +- Also enable another couple of useful messages in verbose mode. ++ Left there by accident after adding proper detection for this. + +- Ref: #10818 ++ Follow-up to 772f0d8edf1c3c2745543f42388ccec5a16ee2c0 #12006 + +-Daniel Stenberg (24 Apr 2023) ++ Ref: #11964 (effort to sync cmake detections with autotools) + +-- http: store the password in the correct variable ++ Closes #12015 + +- Typo from fc2f1e547a4a, detected by Coverity (because there's dead code +- due to this). ++Stefan Eissing (3 Oct 2023) + +- Closes #11002 ++- tests: increase lib571 timeout from 3s to 30s + +-Stefan Eissing (24 Apr 2023) ++ - 3s is too short for our CI, making this test fail occasionally ++ - test usually experiences no delay run locally, so 30s wont hurt + +-- HTTP3/quiche: terminate h1 response header when no body is sent ++ Closes #12013 + +- - fixes a failure in test2501 where a response without body was missing +- the final empty line ++Viktor Szakats (3 Oct 2023) + +- Closes #11003 ++- cmake: fix unity with Windows Unicode + TrackMemory + +-Dan Fandrich (22 Apr 2023) ++ Found the root cause of the startup crash in unity builds with Unicode ++ and TrackMemory enabled at the same time. + +-- runtests: move showdiff into runtests.pl ++ We must make sure that the `memdebug.h` header doesn't apply to ++ `lib/curl_multibyte.c` (as even noted in a comment there.) In unity ++ builds all headers apply to all sources, including `curl_multibyte.c`. ++ This probably resulted in an infinite loop on startup. + +- It's not used anywhere else. ++ Exclude this source from unity compilation with TrackMemory enabled, ++ in both libcurl and curl tool. Enable unity mode for a debug Unicode ++ CI job to keep it tested. Also delete the earlier workaround that ++ fully disabled unity for affected builds. + +-- devtest: add a new script for testing the test harness ++ Follow-up to d82b080f6374433ce7c98241329189ad2d3976f8 #12005 ++ Follow-up to 3f8fc25720900b14b7432f4bd93407ca15311719 #11095 + +- This is currently useful for starting a test server on its own without +- an associated test, which can be used for interactive curl testing or +- for validating parts of the test harness itself. More commands can be +- added to perform additional functions in the future. ++ Closes #11928 + +- Ref: #10818 +- Closes #11008 ++- cmake: disable unity mode with Windows Unicode + TrackMemory + +-- runtests: refactor the main test loop into two ++ "TrackMemory" is `ENABLE_DEBUG=ON` (aka `ENABLE_CURLDEBUG=ON`, ++ aka `-DCURLDEBUG`). + +- The test loop now has an initial loop that first runs through all +- possible tests to build a set of those to attempt on this run based on +- features and keywords and only then goes through that new list to run +- them. This actually makes it three loops through all tests cases, as +- there is an existing loop that gathers possible test numbers from the +- test files on disk. ++ There is an issue with memory tracking and Unicode when built in "unity" ++ mode, which results in the curl tool crashing right on startup, even ++ without any command-line option. Interestingly this doesn't happen under ++ WINE (at least on the system I tested this on), but consistenly happens ++ on real Windows machines. Crash is 0xC0000374 heap corruption. Both ++ shared and static curl executables are affected. ++ ++ This limitation probably won't hit too many people, but it remains ++ a TODO to find and fix the root cause and drop this workaround. ++ ++ Example builds and runs: ++ https://ci.appveyor.com/project/curlorg/curl/builds/48169111/job/17cptxhtpubd ++ 7iwj#L313 (static) ++ https://ci.appveyor.com/project/curlorg/curl/builds/48169111/job/76e1ge758tby ++ qu9c#L317 (shared) ++ ++ Follow-up to 3f8fc25720900b14b7432f4bd93407ca15311719 #11095 ++ ++ Ref: #11928 ++ Closes #12005 ++ ++- cmake: tidy-up `NOT_NEED_LBER_H` detection ++ ++ Follow-up to 772f0d8edf1c3c2745543f42388ccec5a16ee2c0 #12006 ++ ++- appveyor: rewrite batch in PowerShell + CI improvements ++ ++ 1. Rewrite in PowerShell: ++ ++ - rewrite MS-DOS batch build script in PowerShell. ++ - move some bash operations into native PowerShell. ++ - fixups for PowerShell insisting on failure when a command outputs ++ something to stderr. ++ - fix to actually run `curl -V` after every build. ++ (and exclude ARM64 builds.) ++ - also say why we skipped `curl -V` if we had to skip. ++ - fix CMake warnings about unused configuration variables, by adapting ++ these dynamically for build cases. ++ - dedupe OpenSSL path into a variable. ++ - disable `test1451` failing with a warning anyway due to missing python ++ impacket. (after trying and failing to install impacket) ++ PowerShell promotes these warnings to errors by PowerShell. We can also ++ suppress they wholesale if they start causing issues in the future, ++ like we already to with `autoreconf` and `./configure`. ++ ++ PowerShell is better than MS-DOS batches, so the hope is this makes it ++ easier to extend and maintain the AppVeyor build logic. POSIX/bash isn't ++ supported inline by AppVeyor on Windows build machines, but we are okay ++ to keep it in an external script, so it's also an option. ++ ++ 2. CI improvements: ++ ++ - enable tests for a "unity" build job. ++ - speed-up CI initialization by using shallow clones of the curl repo. ++ - speed-up CMake MSVC jobs with `TrackFileAccess=false`. ++ - enable parallelism in `VisualStudioSolution` builds. ++ - display CMake version before builds. ++ - always show the CPU in job names. ++ - tell which jobs are build-only in job names. ++ - move `TESTING:` value next to `DISABLED_TESTS:` in two jobs. ++ - add `config.log` (autotools) to dumped logs (need to enable manually). ++ ++ 3. Style: ++ ++ - use single-quotes in YAML like we do in other CI YAML files. ++ It also allows to drop quoting characters and lighter to write/read. ++ (keep double quotes for PowerShell strings needing expansion.) ++ ++ Closes #11999 + +- This has two minor effects on the output: all the tests that will be +- skipped are displayed at the start (instead of being interspersed with +- other tests) and the -l option no longer shows a count of tests at the +- end or a (misleading) statement that tests have run successfully. The +- skipped tests are also omitted from the test results sent to AppVeyor +- and Azure in CI builds. ++- cmake: fix `HAVE_LDAP_SSL`, `HAVE_LDAP_URL_PARSE` on non-Windows + +- Another effect is a reduction in the amount of work considered part of +- the "Test definition reading and preparation time" reported with -r +- making those figures slightly lower than before. ++ - set `HAVE_LDAP_URL_PARSE` if `ldap_url_parse` function exists. ++ Before this patch we set it based it on the presence of `stricmp`, ++ which correctly enabled it on e.g. Windows, but was inaccurate for ++ other platforms. + +- Ref: #10818 ++ - always set `HAVE_LDAP_SSL` if an LDAP backend is detected and ++ LDAPS is not explicitly disabled. This mimics autotools behaviour. ++ Previously we set it only for Windows LDAP. After this fix, LDAPS is ++ correctly enabled in default macOS builds. + +-- runtests: track only the current test timings in runner.pm ++ - enable LDAP[S] for a CMake macOS CI job. Target OS X 10.9 (Mavericks) ++ to avoid deprecation warnings for LDAP API. + +- This avoids passing these data through through global variables, which +- soon won't be possible. ++ - always detect `HAVE_LDAP_SSL_H`, even with LDAPS explicitly disabled. ++ This doesn't make much sense, but let's do it to sync behaviour with ++ autotools. + +- Ref: #10818 ++ - fix benign typo in variable name. + +-- runtests: skip test preprocessing when doing -l ++ Ref: #11964 (effort to sync cmake detections with autotools) + +- This speeds up the output tremendously by avoiding unnecessary work. ++ Closes #12006 + +-- runtests: simplify value returned regarding use of valgrind ++- autotools: restore `HAVE_IOCTL_*` detections + +- As a side effect this will now also show in verbose mode that valgrind +- is being skipped on tests that explicitly disable it, such as 600. ++ This restores `CURL_CHECK_FUNC_IOCTL` detection. I deleted it in ++ 4d73854462f30948acab12984b611e9e33ee41e6 and ++ c3456652a0c72d1845d08df9769667db7e159949 (2022-08), because the ++ `HAVE_IOCTL` result it generated was unused in the source. But, ++ I did miss the fact that this had two dependent checks: ++ `CURL_CHECK_FUNC_IOCTL_FIONBIO`, ++ `CURL_CHECK_FUNC_IOCTL_SIOCGIFADDR` that we do actually need: ++ `HAVE_IOCTL_FIONBIO`, `HAVE_IOCTL_SIOCGIFADDR`. + +- Ref: #10818 ++ Regression from 4d73854462f30948acab12984b611e9e33ee41e6 + +-- runtests: fix quoting in Appveyor and Azure test integration ++ Ref: #11964 (effort to sync cmake detections with autotools) + +- Test 1442's name was not quoted correctly so wasn't registered in +- Appveyor and it had the wrong name in Azure. The JSON string quotes were +- also invalid, even though both servers happened to accept it regardless. ++ Closes #12008 + +- Closes #11010 ++Daniel Stenberg (2 Oct 2023) + +-Daniel Stenberg (19 Apr 2023) ++- RELEASE-PROCEDURE.md: updated coming release dates + + - RELEASE-NOTES: synced + +-Dan Fandrich (18 Apr 2023) ++Viktor Szakats (1 Oct 2023) ++ ++- cmake: pre-cache `HAVE_POLL_FINE` on Windows ++ ++ Windows doesn't support `poll()`, so we can safely skip checking for ++ fine poll. ++ ++ Closes #12003 + +-- runtests: spread out the port numbers used by servers ++- gha: bump actions to latest versions + +- The server ports are chosen randomly for each server, but the random +- ranges chosen were inconsistently-sized and overlapping. Now, they are +- spread out more so at least the first random port chosen for each server +- is guaranteed to not also be chosen by another server. The starting port +- numbers are also raised to put them in the Ephemeral Port range—not the +- range defined by RFC 6335 but the one used by Linux, which starts lower +- and gives us more room to work with. ++ - actions@checkout@v4 (from v3 and v2) + +- Reported-by: Daniel Stenberg ++ - fsfe/reuse-action@v2 (from v1) ++ ++ Closes #12000 ++ ++Stefan Eissing (30 Sep 2023) ++ ++- h2: testcase and fix for pausing h2 streams ++ ++ - refs #11982 where it was noted that paused transfers may ++ close successfully without delivering the complete data ++ - made sample poc into tests/http/client/h2-pausing.c and ++ added test_02_27 to reproduce ++ ++ Closes #11989 ++ Fixes #11982 ++ Reported-by: Harry Sintonen ++ ++Viktor Szakats (30 Sep 2023) ++ ++- cmake: validate `CURL_DEFAULT_SSL_BACKEND` config value ++ ++ Before this patch CMake builds accepted any value and it was used at ++ runtime as-is. This patch make sure that the selected default backend ++ is also enabled in the build. It also enforces a full lowercase value. ++ ++ This improves reproducibility and brings CMake in sync with autotools ++ which already worked like described above. ++ ++ Follow-up to 26c7feb8b9d51a57fab3325571b4bbfa03b11af0 #11774 ++ ++ Closes #11998 ++ ++- autotools: adjust `CURL_CA_PATH` value to CMake ++ ++ autotools was using the same value as CMake, but with an ending ++ slash. Delete the ending slash to match configurations. ++ ++ Ref: #11964 (effort to sync cmake detections with autotools) ++ ++ Closes #11997 ++ ++- cmake: detect `sys/wait.h` and `netinet/udp.h` ++ ++ Ref: #11964 (effort to sync cmake detections with autotools) ++ ++ Closes #11996 ++ ++Daniel Stenberg (30 Sep 2023) ++ ++- lib: provide and use Curl_hexencode ++ ++ Generates a lower case ASCII hex output from a binary input. ++ ++ Closes #11990 ++ ++- configure: check for the capath by default ++ ++ ... if the chosen TLS backend supports it: OpenSSL, GnuTLS, mbedTLS or wolfSS ++ L ++ ++ cmake: synced ++ ++ Assisted-by: Viktor Szakats ++ Closes #11987 ++ ++- wolfssl: ignore errors in CA path ++ ++ The default wolfSSL_CTX_load_verify_locations() function is quite picky ++ with the certificates it loads and will for example return error if just ++ one of the certs has expired. ++ ++ With the *_ex() function and its WOLFSSL_LOAD_FLAG_IGNORE_ERR flag, it ++ behaves more similar to what OpenSSL does by default. ++ ++ Even the set of default certs on my Debian unstable has several expired ++ ones. ++ ++ Assisted-by: Juliusz Sosinowicz ++ Assisted-by: Michael Osipov ++ ++ Closes #11987 + +-- runtests: fix problems on failure ++- create-dirs.d: clarify it also uses --output-dirs ++ ++ Reported-by: Robert Simpson ++ Fixes #11991 ++ Closes #11995 + +- The verify time must be set in this case, like all cases. An error +- message needs to be displayed as well. ++Viktor Szakats (30 Sep 2023) + +-- runtests: fix perl warning when is wrong ++- appveyor: fix yamlint issues, indent + +-- runtests: don't try to stop stunnel before trying again ++ Also: ++ - use double quotes in all batch if statements. + +- Calling stopserver() before retrying stunnel due to an error would stop +- the dependent server (such as HTTP) meaning stunnel would have nothing +- to talk to when it came up. Don't try to force a stop when it didn't +- actually start. Also, don't mark the server as bad for future use when +- it starts up on a retry. ++ Closes #11994 + +- Reported-by: eaglegai at github +- Tested-by: eaglegai at github +- Fixes #10976 ++- cmake: detect `HAVE_CLOCK_GETTIME_MONOTONIC_RAW` + +-- runtests: don't accidentally randomly choose the same port ++ Based on existing autotools logic. + +- If a server couldn't be started on a port, a new one is randomly chosen +- and the server is tried again. Avoid accidentally using a +- randomly-chosen 0 port offset by adding 1 to the random number. ++ Ref: #11964 (effort to sync cmake detections with autotools) + +- Found-by: Daniel Stenberg ++ Closes #11981 + +-- runtests: don't attempt to use a port we know is in use ++- cmake: detect `HAVE_GETADDRINFO_THREADSAFE` + +- This reduces the startup time when there is a known conflict on the +- random port chosen for a server. This was already done for stunnel, but +- now it's done for all servers. ++ Based on existing autotools logic. + +-- http-server: fix server name in a log message ++ autotools checks for old versions of the allowlisted target OSes and ++ disables this feature when seeing them. In CMake we assume we're running ++ on newer systems and enable regardless of OS version. + +- This changed when the file was renamed in commit cbf57176 ++ autotools always runs all 3 probes for non-fast-tracked systems and ++ enables this feature if any one of them was successful. To save ++ configuration time, CMake stops at the first successful check. + +-- runtests: refactor into more packages ++ OpenBSD is not fast-tracked and then gets blocklisted as a generic BSD ++ system. I haven't double-checked if this is correct, but looks odd. + +- testutil.pm now contains a few miscellaneous functions that are used in +- several places but have no better place to live. subvariables moves to +- servers.pm since most variables that it substitutes relate to servers, +- so this is the most appropriate place. Rename a few functions for better +- naming consistency. ++ Ref: #11964 (effort to sync cmake detections with autotools) + +- Ref: #10818 +- Closes #10995 ++ Closes #11979 + +-- runtests: call timestampskippedevents() in singletest ++- cmake: fix `HAVE_WRITABLE_ARGV` detection + +- ..rather than by the runner ++ Move detection before the creation of detection results in ++ `curl_config.h`. + +-- runtests: assume a newer Valgrind by default ++ Ref: #11964 (effort to sync cmake detections with autotools) + +- The tests for an older Valgrind version should probably just be deleted, +- given that they're testing for an 18-year-old version. ++ Closes #11978 + +-- runtests: refactor test runner code into runner.pm ++- appveyor: minor improvements + +- This is code that is directly responsible for running a single test. +- This will eventually run in a separate process as part of the parallel +- testing project. ++ - run `curl -V` after builds to see if they run and with what features. ++ Except for one job where a CRT DLL is missing. And ARM64 which should ++ fail, but is silently not launched instead. + +- Ref: #10818 ++ - copy libcurl DLL next to curl tool and tests binaries in shared mode. ++ This makes it possible to run the tests. (We don't run tests after ++ these builds yet.) + +-- runtests: skip unneeded work if test won't be running ++ - list the DLLs and EXEs present after the builds. + +- This speeds up tests by avoiding unnecessary processing. ++ - add `DEBUG` variable for CMake builds to allow disabling it, for ++ testing non-debug builds. (currently enabled for all) + +- Ref: #10818 ++ - add commented lines that dump CMake configuration logs for debugging ++ build/auto-detection issues. + +-- runtests: factor out singletest_postcheck ++ - add gcc version to jobs where missing. + +- This will eventually need to be part of the test runner. ++ - switch a job to the native MSYS2 mingw-w64 toolchain. This adds gcc 9 ++ to the build mix. + +- Ref: #10818 ++ - make `SHARED=OFF` and `OPENSSL=OFF` defaults global. + +-- test303: kill server after test ++ - delete a duplicate backslash. + +- Otherwise, an HTTP test closely following this one with a tight time +- constraint (e.g. 672) could fail because the test server stays sitting +- with the wait command for a while. ++ Closes #11976 + +-Patrick Monnerat (18 Apr 2023) ++- configure: replace adhoc domain with `localhost` in tests + +-- OS400: provide ILE/RPG usage examples ++ Reviewed-by: Daniel Stenberg ++ Closes #11988 + +- Closes https://github.com/curl/curl/pull/10994 ++- tidy-up: use more example domains + +-- OS400: improve vararg emulation ++ Also make use of the example TLD: ++ https://en.wikipedia.org/wiki/.example + +- - Use V7R4 RPG procedure overloading to improve vararg emulation. ++ Reviewed-by: Daniel Stenberg ++ Closes #11992 + +- From OS400 V7R4 and above, ILE/RPG implements a limited procedure +- overloading feature that can be used to improve curl's typed +- implementation of varargs procedures. This commit applies it to +- curl_easy_setopt(), curl_multi_setopt(), curl_share_setopt() and +- curl_easy_getinfo(). ++Dan Fandrich (29 Sep 2023) + +- Closes https://github.com/curl/curl/pull/10994 ++- runtests: display the test status if tests appear hung + +-- OS400: fix and complete ILE/RPG binding ++ It sometimes happens that a test hangs during a test run and never ++ returns. The test harness will wait indefinitely for the results and on ++ CI servers the CI job will eventually be killed after an hour or two. ++ At the end of a test run, if results haven't come in within a couple of ++ minutes, display the status of all test runners and what tests they're ++ running to help in debugging the problem. ++ ++ This feature is really only kick in with parallel testing enabled, which ++ is fine because without parallel testing it's usually easy to tell what ++ test has hung. ++ ++ Closes #11980 ++ ++- github/labeler: remove workaround for labeler ++ ++ This was added due to what seemed to be a bug regarding the sync-labels: ++ config option, but it looks like it wasn't necessary. ++ ++ Follow-up to b2b0534e7 ++ ++Viktor Szakats (29 Sep 2023) ++ ++- docs: upgrade an URL to HTTPS in `BINDINGS.md` [ci skip] ++ ++Daniel Stenberg (29 Sep 2023) ++ ++- docs: replace made up domains with example.com ++ ++ in FAQ and MANUAL.md ++ ++ - example.com was made for this purpose. ++ ++ - reduces the risk that one of those domains suddenly start hosting ++ something nasty and we provide links to them ++ ++ Closes #11986 ++ ++Michael Osipov (29 Sep 2023) ++ ++- acinclude.m4: Document proper system truststore on FreeBSD ++ ++ The default system truststore on FreeBSD has been /etc/ssl/certs for many ++ years now. It is managed canonically through certctl(8) and contains hashed ++ symlinks for OpenSSL and other TLS providers. ++ The previous ones require security/ca_root_nss which might not be installed o ++ r ++ will not contain any custom CA certificates. ++ ++ Closes #11985 ++ ++Daniel Stenberg (29 Sep 2023) ++ ++- FAQ: How do I upgrade curl.exe in Windows? ++ ++ This is a growing question, better answer it here to get somewhere to ++ point users to. ++ ++ Closes #11984 ++ ++Viktor Szakats (28 Sep 2023) ++ ++- cmake: pre-cache `HAVE_BASENAME` for mingw-w64 and MSVC ++ ++ `basename` is present in mingw-w64, missing from MSVC. Pre-cache ++ accordingly to make configure faster. ++ ++ Notice that `basename` has a bug so we later disable it even with ++ mingw-w64: ++ https://github.com/curl/curl/blob/781242ffa44a9f9b95b6da5ac5a1bf6372ec6257/li ++ b/curl_setup.h#L820-L825 ++ ++ Closes #11974 ++ ++Daniel Stenberg (28 Sep 2023) ++ ++- cmake: add missing checks ++ ++ - check for arc4random. To make rand.c use it accordingly. ++ - check for fcntl ++ - fix fseek detection ++ - add SIZEOF_CURL_SOCKET_T ++ - fix USE_UNIX_SOCKETS ++ - define HAVE_SNPRINTF to 1 ++ - check for fnmatch ++ - check for sched_yield ++ - remove HAVE_GETPPID duplicate from curl_config.h ++ - add HAVE_SENDMSG ++ ++ Ref: #11964 ++ ++ Co-authored-by: Viktor Szakats ++ Closes #11973 ++ ++- configure: remove unused checks ++ ++ - for sys/uio.h ++ - for fork ++ - for connect ++ ++ Ref: #11964 ++ ++ Closes #11973 ++ ++- lib: remove TIME_WITH_SYS_TIME ++ ++ It is not used in any code anywhere. ++ ++ Ref: #11964 ++ Closes #11975 ++ ++- docs: update curl man page references ++ ++ Detected by the manpage-syntax update ++ ++ Closes #11963 ++ ++- manpage-syntax: verify curl man page references ++ ++ 1. References to curl symbols are now checked that they indeed exist as ++ man pages. This for \f references as well as the names referenced in the ++ SEE ALSO section. ++ ++ Allowlist curl.1 since it is not always built in builds ++ ++ 2. References to curl symbols that lack section now causes warning, since tha ++ t ++ will prevent them from getting linked properly ++ ++ 3. Check for "bare" references to curl functions and warn, they should be ++ references ++ ++ Closes #11963 ++ ++- cmake: add check for suseconds_t ++ ++ And fix the HAVE_LONGLONG define ++ ++ Ref: #11964 ++ Closes #11977 ++ ++Viktor Szakats (28 Sep 2023) ++ ++- tidy-up: whitespace fixes ++ ++ Closes #11972 ++ ++- cmake: detect TLS-SRP in OpenSSL/wolfSSL/GnuTLS ++ ++ With new option `CURL_DISABLE_SRP=ON` to force-disable it. ++ To match existing option and detection logic in autotools. ++ ++ Also: ++ - fix detecting GnuTLS. ++ We assume `nettle` as a GnuTLS dependency. ++ - add CMake GnuTLS CI job. ++ - bump AppVeyor CMake OpenSSL MSVC job to OpenSSL 1.1.1 (from 1.0.2) ++ TLS-SRP fails to detect with 1.0.2 due to an OpenSSL header bug. ++ - fix compiler warning when building with GnuTLS and disabled TLS-SRP. ++ - fix comment typos, whitespace. ++ ++ Ref: #11964 ++ ++ Closes #11967 ++ ++- tool: use our own stderr variable ++ ++ Earlier this year we changed our own stderr variable to use the standard ++ name `stderr` (to avoid bugs where someone is using `stderr` instead of ++ the curl-tool specific variable). This solution needed to override the ++ standard `stderr` symbol via the preprocessor. This in turn didn't play ++ well with unity builds and caused curl tool to crash or stay silent due ++ to an uninitialized stderr. This was a hard to find issue, fixed by ++ manually breaking out one file from the unity sources. ++ ++ To avoid two these two tricks, this patch implements a different ++ solution: Restore using our own local variable for our stderr output and ++ leave `stderr` as-is. To avoid using `stderr` by mistake, add a ++ `checksrc` rule (based on logic we already used in lib for `strerror`) ++ that detects any `stderr` use in `src` and points to using our own ++ variable instead: `tool_stderr`. ++ ++ Follow-up to 06133d3e9b8aeb9e9ca0b3370c246bdfbfc8619e ++ Follow-up to 2f17a9b654121dd1ecf4fc043c6d08a9da3522db ++ ++ Closes #11958 ++ ++Loïc Yhuel (28 Sep 2023) ++ ++- connect: only start the happy eyeballs timer when needed ++ ++ The timeout is only used when there is a second address family, for the ++ delayed eyeballer. ++ ++ Closes #11939 ++ ++Daniel Stenberg (28 Sep 2023) ++ ++- tool_operate: free 'gateway' correctly ++ ++ Pointed out by Coverity. The fix in 93885cf3a8d4e was incomplete. ++ ++ Also removed repeated wording in IPFS related error messages. ++ ++ Closes #11969 ++ ++Stefan Eissing (28 Sep 2023) ++ ++- lib: move handling of `data->req.writer_stack` into Curl_client_write() ++ ++ - move definitions from content_encoding.h to sendf.h ++ - move create/cleanup/add code into sendf.c ++ - installed content_encoding writers will always be called ++ on Curl_client_write(CLIENTWRITE_BODY) ++ - Curl_client_cleanup() frees writers and tempbuffers from ++ paused transfers, irregardless of protocol ++ ++ Closes #11908 ++ ++Loïc Yhuel (28 Sep 2023) ++ ++- multi: round the timeout up to prevent early wakeups ++ ++ Curl_timediff rounds down to the millisecond, so curl_multi_perform can ++ be called too early, then we get a timeout of 0 and call it again. ++ ++ The code already handled the case of timeouts which expired less than ++ 1ms in the future. By rounding up, we make sure we will never ask the ++ platform to wake up too early. ++ ++ Closes #11938 ++ ++Daniel Stenberg (28 Sep 2023) ++ ++- RELEASE-NOTES: spell out that IPFS is via gateway ++ ++- RELEASE-NOTES: synced ++ ++- tool_operate: avoid strlen() -1 on zero length content from file ++ ++ Follow-up to 65b563a96a226649ba12cb1e ++ ++ Closes #11959 ++ ++- tool_operate: fix memory mixups ++ ++ Switch to plain getenv() from curl_getenv() to avoid the allocation and ++ having to keep track of which free() or curl_free() that need to be ++ used. ++ ++ Coverity found issues and a memory leak. ++ ++ Follow-up to 65b563a96a226649ba12cb1e ++ ++ Closes #11959 ++ ++Viktor Szakats (27 Sep 2023) ++ ++- curl-functions.m4: fixup recent bad edits ++ ++ Follow-up to 96c29900bcec32dd6bc8e9857c8871ff4b8b8ed9 #11940 ++ ++ Closes #11966 ++ ++Daniel Stenberg (27 Sep 2023) ++ ++- curl-functions.m4: fix include line ++ ++ This made the getaddrinfo detection fail, but we did not spot it in the ++ CI because it graciously falled back to using legacy functions instead! ++ ++ Follow-up to 96c29900bcec (#11940) ++ ++ Closes #11965 ++ ++- inet_ntop: add typecast to silence Coverity ++ ++ CID 1024653: Integer handling issues (SIGN_EXTENSION) ++ ++ Suspicious implicit sign extension: "src[i]" with type "unsigned char ++ const" (8 bits, unsigned) is promoted in "src[i] << (1 - i % 2 << 3)" to ++ type "int" (32 bits, signed), then sign-extended to type "unsigned long" ++ (64 bits, unsigned). If "src[i] << (1 - i % 2 << 3)" is greater than ++ 0x7FFFFFFF, the upper bits of the result will all be 1. ++ ++ 111 words[i/2] |= (src[i] << ((1 - (i % 2)) << 3)); ++ ++ The value will not be greater than 0x7FFFFFFF so this still cannot ++ happen. ++ ++ Also, switch to ints here instead of longs. The values stored are 16 bit ++ so at least no need to use 64 bit variables. Also, longs are 32 bit on ++ some platforms so this logic still needs to work with 32 bits. ++ ++ Closes #11960 ++ ++- docs: adapt SEE ALSO sections to new requirements ++ ++ To please manpage-syntax.pl used by test 1173 ++ ++ Closes #11957 ++ ++- manpage-syntax.pl: verify SEE ALSO syntax ++ ++ - Enforce a single reference per .BR line ++ - Skip the quotes around the section number for example (3) ++ - Insist on trailing commas on all lines except the last ++ - Error on comma on the last SEE ALSO entry ++ ++ - List the entries alpha-sorted, not enforced just recommended ++ ++ Closes #11957 ++ ++- connect: expire the timeout when trying next ++ ++ ... so that it gets called again immediately and can continue trying ++ addresses to connect to. Otherwise it might unnecessarily wait for a ++ while there. ++ ++ Fixes #11920 ++ Reported-by: Loïc Yhuel ++ Closes #11935 ++ ++- http: remove wrong comment for http_should_fail ++ ++ Reported-by: Christian Schmitz ++ Ref: #11936 ++ Closes #11941 ++ ++Dan Fandrich (26 Sep 2023) ++ ++- tool_setopt: remove unused function tool_setopt_flags ++ ++ This function is identical to tool_setopt_bitmask except that it treats ++ the argument as unsigned. ++ ++ Closes #11943 ++ ++Viktor Szakats (26 Sep 2023) ++ ++- cmake: add feature checks for `memrchr` and `getifaddrs` ++ ++ - `HAVE_MEMRCHR` for `memrchr`. ++ - `HAVE_GETIFADDRS` for `getifaddrs`. ++ This was present in `lib/curl_config.h.cmake` but missed the detection ++ logic. ++ ++ To match existing autotools feature checks. ++ ++ Closes #11954 ++ ++- cmake: move global headers to specific checks ++ ++ Before this patch we added standard headers unconditionally to the ++ global list of headers used for feature checks. This is unnecessary ++ and also doesn't help CMake 'Generate' performance. This patch moves ++ these headers to each feature check where they are actually needed. ++ Stop using `stddef.h`, as it seems unnecessary. ++ ++ I've used autotools' `m4/curl-functions.m4` to figure out these ++ dependencies. ++ ++ Also delete checking for the C89 standard header `time.h`, that I ++ missed in the earlier commit. ++ ++ Ref: 96c29900bcec32dd6bc8e9857c8871ff4b8b8ed9 #11940 ++ ++ Closes #11951 ++ ++- src/mkhelp: make generated code pass `checksrc` ++ ++ Closes #11955 ++ ++- tests: show which curl tool `runtests.pl` is using ++ ++ To help debugging when there is issue finding or running it. ++ ++ Closes #11953 ++ ++- CI/azure: make `MAKEFLAGS` global to parallelize all jobs ++ ++ https://dev.azure.com/daniel0244/curl/_build/results?buildId=17528 (before) ++ https://dev.azure.com/daniel0244/curl/_build/results?buildId=17545 (after, wi ++ th -j3) ++ ++ Closes #11952 ++ ++- CI/azure: migrate old mingw MSYS1 jobs to MSYS2 ++ ++ Also delete an accidental variable reference. ++ ++ Follow-up to 38029101e2d78ba125732b3bab6ec267b80a0e72 ++ ++ Closes #11945 ++ ++Daniel Stenberg (26 Sep 2023) ++ ++- docs: add see also curl_multi_get_handles to some man pages ++ ++ Assisted-by: Jay Satiro ++ ++ Closes #11942 ++ ++Viktor Szakats (26 Sep 2023) ++ ++- cmake: assume `_fseeki64` and no `fseeko` on Windows ++ ++ `_fseeki64` is present in mingw-w64 1.0 (2011-09-26) headers, and ++ at least Watcom C 1.9 (2010) headers and MSVS 2008 [1]. ++ ++ `fseeko` is not present in any of these. ++ ++ (mingw-w64 1.0 also offers `fseeko64`.) ++ ++ [1] https://github.com/curl/curl/pull/11944#issuecomment-1734995004 ++ ++ Follow-up to 9c7165e96a3a9a2d0b7059c87c699b5ca8cdae93 #11918 ++ ++ Closes #11950 ++ ++- build: delete checks for C89 standard headers ++ ++ Delete checks and guards for standard C89 headers and assume these are ++ available: `stdio.h`, `string.h`, `time.h`, `setjmp.h`, `stdlib.h`, ++ `stddef.h`, `signal.h`. ++ ++ Some of these we already used unconditionally, some others we only used ++ for feature checks. ++ ++ Follow-up to 9c7165e96a3a9a2d0b7059c87c699b5ca8cdae93 #11918 (for `stdio.h` i ++ n CMake) ++ ++ Closes #11940 ++ ++Stefan Eissing (26 Sep 2023) ++ ++- multiif.h: remove Curl_multi_dump declaration ++ ++ Follow-up to d850eea2 which removed the Curl_multi_dump definition. ++ ++ Closes https://github.com/curl/curl/pull/11946 ++ ++Jay Satiro (26 Sep 2023) ++ ++- config-win32: define HAVE__FSEEKI64 ++ ++ Follow-up to 9c7165e9 which added an fseeko wrapper to the lib that ++ calls _fseeki64 if it is available. ++ ++ Closes https://github.com/curl/curl/pull/11944 ++ ++- docs: explain how PINNEDPUBLICKEY is independent of VERIFYPEER ++ ++ - Explain that peer verification via CURLOPT_PINNEDPUBLICKEY takes place ++ even if peer verification via CURLOPT_SSL_VERIFYPEER is turned off. ++ ++ The behavior is verified by test2048. ++ ++ Bug: https://github.com/curl/curl/issues/2935#issuecomment-418371872 ++ Reported-by: claudiusaiz@users.noreply.github.com ++ ++ Bug: https://github.com/curl/curl/discussions/11910 ++ Reported-by: Hakan Sunay Halil ++ ++ Closes https://github.com/curl/curl/pull/11930 ++ ++Stefan Eissing (26 Sep 2023) ++ ++- openssl: improve ssl shutdown handling ++ ++ - If SSL shutdown is not finished then make an additional call to ++ SSL_read to gather additional tracing. ++ ++ - Fix http2 and h2-proxy filters to forward do_close() calls to the next ++ filter. ++ ++ For example h2 and SSL shutdown before and after this change: ++ ++ Before: ++ ++ Curl_conn_close -> cf_hc_close -> Curl_conn_cf_discard_chain -> ++ ssl_cf_destroy ++ ++ After: ++ ++ Curl_conn_close -> cf_hc_close -> cf_h2_close -> cf_setup_close -> ++ ssl_cf_close ++ ++ Note that currently the tracing does not show output on the connection ++ closure handle. Refer to discussion in #11878. ++ ++ Ref: https://github.com/curl/curl/discussions/11878 ++ ++ Closes https://github.com/curl/curl/pull/11858 ++ ++Loïc Yhuel (26 Sep 2023) ++ ++- multi: fix small timeouts ++ ++ Since Curl_timediff rounds down to the millisecond, timeouts which ++ expire in less than 1ms are considered as outdated and removed from the ++ list. We can use Curl_timediff_us instead, big timeouts could saturate ++ but this is not an issue. ++ ++ Closes #11937 ++ ++Viktor Szakats (25 Sep 2023) ++ ++- cmake: fix stderr initialization in unity builds ++ ++ Before this patch, in certain build configurations the curl tool may ++ not have displayed anything (debug, macOS), or crashed at startup ++ (debug, Windows). ++ ++ Follow-up to 3f8fc25720900b14b7432f4bd93407ca15311719 ++ Necessary after 2f17a9b654121dd1ecf4fc043c6d08a9da3522db ++ ++ Closes #11929 ++ ++- cmake: fix missing `zlib.h` when compiling `libcurltool` ++ ++ Came up while testing debug/testing build for Windows. I'm not sure why ++ it didn't come up in earlier tests with similar config. ++ `tool_hugehelp.c` might indeed require `zlib.h` and without linking ++ `CURL_LIBS` to the `curltool` target, CMake doesn't seem to add detected ++ dependency headers to the compiler command. ++ ++ ``` ++ [ 25%] Building C object src/CMakeFiles/curltool.dir/tool_hugehelp.c.obj ++ cd .../curl/bld-cmake-llvm-x64/src && /usr/local/opt/llvm/bin/clang ++ --target=x86_64-w64-mingw32 --sysroot=/usr/local/opt/mingw-w64/toolchain-x8 ++ 6_64 ++ -DCURLDEBUG -DCURL_STATICLIB -DHAVE_CONFIG_H -DUNICODE -DUNITTESTS -D_UNICO ++ DE ++ -I.../curl/include -I.../curl/lib -I.../curl/bld-cmake-llvm-x64/lib ++ -I.../curl/bld-cmake-llvm-x64/include -I.../curl/src -Wno-unused-command-li ++ ne-argument ++ -D_UCRT -DDEBUGBUILD -DHAS_ALPN -DUSE_MANUAL=1 -fuse-ld=lld -Wl,-s -static ++ -libgcc ++ -lucrt [...] -O3 -DNDEBUG -municode -MD ++ -MT src/CMakeFiles/curltool.dir/tool_hugehelp.c.obj ++ -MF CMakeFiles/curltool.dir/tool_hugehelp.c.obj.d ++ -o CMakeFiles/curltool.dir/tool_hugehelp.c.obj -c .../curl/bld-cmake-llvm-x ++ 64/src/tool_hugehelp.c ++ .../curl/bld-cmake-llvm-x64/src/tool_hugehelp.c:6:10: fatal error: 'zlib.h' f ++ ile not found ++ 6 | #include ++ | ^~~~~~~~ ++ ``` ++ ++ Follow-up to 39e7c22bb459c2e818f079984989a26a09741860 ++ ++ Closes #11927 ++ ++- cmake: fix duplicate symbols when linking tests ++ ++ The linker resolves this automatically in non-unity builds. In unity ++ builds the linker cannot drop a single object with the duplicates, ++ resulting in these errors. The root issue is that we started including ++ certain objects both via both libcurlu and libcurltool libs. ++ ++ Regression from 39e7c22bb459c2e818f079984989a26a09741860 ++ ++ Windows errors: ++ ``` ++ [ 3%] Linking C executable unit1303.exe ++ [ 3%] Building C object tests/server/CMakeFiles/rtspd.dir/__/__/lib/curl_mul ++ tibyte.c.obj ++ ../../lib/libcurlu-d.a(unity_0.c.obj): In function `curlx_convert_UTF8_to_wch ++ ar': ++ C:/projects/curl/lib/curl_multibyte.c:44: multiple definition of `curlx_conve ++ rt_UTF8_to_wchar' ++ ../../src/libcurltool-d.a(unity_0.c.obj):C:/projects/curl/lib/curl_multibyte. ++ c:44: first defined here ++ ../../lib/libcurlu-d.a(unity_0.c.obj): In function `curlx_convert_wchar_to_UT ++ F8': ++ C:/projects/curl/lib/curl_multibyte.c:66: multiple definition of `curlx_conve ++ rt_wchar_to_UTF8' ++ ../../src/libcurltool-d.a(unity_0.c.obj):C:/projects/curl/lib/curl_multibyte. ++ c:66: first defined here ++ ../../lib/libcurlu-d.a(unity_0.c.obj): In function `curlx_win32_open': ++ C:/projects/curl/lib/curl_multibyte.c:92: multiple definition of `curlx_win32 ++ _open' ++ ../../src/libcurltool-d.a(unity_0.c.obj):C:/projects/curl/lib/curl_multibyte. ++ c:92: first defined here ++ ../../lib/libcurlu-d.a(unity_0.c.obj): In function `curlx_win32_fopen': ++ C:/projects/curl/lib/curl_multibyte.c:120: multiple definition of `curlx_win3 ++ 2_fopen' ++ ../../src/libcurltool-d.a(unity_0.c.obj):C:/projects/curl/lib/curl_multibyte. ++ c:120: first defined here ++ ../../lib/libcurlu-d.a(unity_0.c.obj): In function `curlx_win32_stat': ++ [...] ++ ``` ++ Ref: https://ci.appveyor.com/project/curlorg/curl/builds/48110107/job/nvlhpt9 ++ aa4ehny5q#L247 ++ ++ macOS errors: ++ ``` ++ [ 56%] Linking C executable unit1302 ++ duplicate symbol '_curlx_sotouz' in: ++ ../../lib/libcurlu.a(unity_0_c.c.o) ++ ../../src/libcurltool.a(unity_0_c.c.o) ++ duplicate symbol '_curlx_sitouz' in: ++ ../../lib/libcurlu.a(unity_0_c.c.o) ++ ../../src/libcurltool.a(unity_0_c.c.o) ++ duplicate symbol '_curlx_uztosz' in: ++ ../../lib/libcurlu.a(unity_0_c.c.o) ++ ../../src/libcurltool.a(unity_0_c.c.o) ++ [...] ++ ``` ++ with config: ++ ``` ++ -DCMAKE_UNITY_BUILD=ON \ ++ -DENABLE_DEBUG=ON -DBUILD_TESTING=ON -DCMAKE_C_FLAGS=-DDEBUGBUILD \ ++ -DBUILD_SHARED_LIBS=ON \ ++ -DBUILD_STATIC_LIBS=OFF ++ ``` ++ ++ Closes #11926 ++ ++- cmake: lib `CURL_STATICLIB` fixes (Windows) ++ ++ - always define `CURL_STATICLIB` when building libcurl for Windows. ++ ++ This disables `__declspec(dllexport)` for exported libcurl symbols. ++ In normal mode (hide symbols) these exported symbols are specified ++ via `libcurl.def`. When not hiding symbols, all symbols are exported ++ by default. ++ ++ Regression from 1199308dbc902c52be67fc805c72dd2582520d30 ++ ++ Fixes #11844 ++ ++ - fix to omit `libcurl.def` when not hiding private symbols. ++ ++ Regression from 2ebc74c36a19a1700af394c16855ce144d9878e3 ++ ++ - fix `ENABLED_DEBUG=ON` + shared curl tool Windows builds by also ++ omitting `libcurl.def` in this case, and exporting all symbols ++ instead. This ensures that a shared curl tool can access all debug ++ functions which are not normally exported from libcurl DLL. ++ ++ - delete `INTERFACE_COMPILE_DEFINITIONS "CURL_STATICLIB"` for "objects" ++ target. ++ ++ Follow-up to 2ebc74c36a19a1700af394c16855ce144d9878e3 ++ ++ - delete duplicate `BUILDING_LIBCURL` definitions. ++ ++ - fix `HIDES_CURL_PRIVATE_SYMBOLS` to not overwrite earlier build settings. ++ ++ Follow-up to 1199308dbc902c52be67fc805c72dd2582520d30 ++ ++ Closes #11914 ++ ++Daniel Stenberg (25 Sep 2023) ++ ++- RELEASE-NOTES: synced ++ ++Dan Fandrich (25 Sep 2023) ++ ++- tests: fix log directory path in IPFS tests ++ ++ Hard-coding the log directory name fails with parallel tests. ++ ++ Follow-up to 65b563a96 ++ ++ Ref: #8805 ++ ++Daniel Stenberg (25 Sep 2023) ++ ++- curl_multi_get_handles: get easy handles from a multi handle ++ ++ Closes #11750 ++ ++Stefan Eissing (25 Sep 2023) ++ ++- http: h1/h2 proxy unification ++ ++ - use shared code for setting up the CONNECT request ++ when tunneling, used in HTTP/1.x and HTTP/2 proxying ++ - eliminate use of Curl_buffer_send() and other manipulations ++ of `data->req` or `data->state.ulbuf` ++ ++ Closes #11808 ++ ++Natanael Copa (25 Sep 2023) ++ ++- lib: use wrapper for curl_mime_data fseek callback ++ ++ fseek uses long offset which does not match with curl_off_t. This leads ++ to undefined behavior when calling the callback and caused failure on ++ arm 32 bit. ++ ++ Use a wrapper to solve this and use fseeko which uses off_t instead of ++ long. ++ ++ Thanks to the nice people at Libera IRC #musl for helping finding this ++ out. ++ ++ Fixes #11882 ++ Fixes #11900 ++ Closes #11918 ++ ++- configure: sort AC_CHECK_FUNCS ++ ++ No functional changes. ++ ++Daniel Stenberg (25 Sep 2023) ++ ++- warnless: remove unused functions ++ ++ Previously put there for use with the intel compiler ++ ++ Closes #11932 ++ ++- GHA/linux: run singleuse to detect single-use global functions ++ ++ Use --unit for configure --enable-debug builds ++ ++ Closes #11932 ++ ++- singleuse: add scan for use in other source codes ++ ++ This should reduce false-positive to almost zero. Checks for presence in ++ unit tests if --unit is specified, which is intended for debug builds ++ where unit testing is enabled. ++ ++ Closes #11932 ++ ++- multi: remove Curl_multi_dump ++ ++ A debug-only function that is basically never used. Removed to ease the ++ use of the singleuse script to detect non-static functions not used ++ outside the file where it is defined. ++ ++ Closes #11931 ++ ++Viktor Szakats (24 Sep 2023) ++ ++- tests: fix compiler warnings ++ ++ Seen with llvm 17 on Windows x64. ++ ++ ``` ++ .../curl/tests/server/rtspd.c:136:13: warning: no previous extern declaration ++ for non-static variable 'logdir' [-Wmissing-variable-declarations] ++ 136 | const char *logdir = "log"; ++ | ^ ++ .../curl/tests/server/rtspd.c:136:7: note: declare 'static' if the variable i ++ s not intended to be used outside of this translation unit ++ 136 | const char *logdir = "log"; ++ | ^ ++ .../curl/tests/server/rtspd.c:137:6: warning: no previous extern declaration ++ for non-static variable 'loglockfile' [-Wmissing-variable-declarations] ++ 137 | char loglockfile[256]; ++ | ^ ++ .../curl/tests/server/rtspd.c:137:1: note: declare 'static' if the variable i ++ s not intended to be used outside of this translation unit ++ 137 | char loglockfile[256]; ++ | ^ ++ .../curl/tests/server/fake_ntlm.c:43:13: warning: no previous extern declarat ++ ion for non-static variable 'logdir' [-Wmissing-variable-declarations] ++ 43 | const char *logdir = "log"; ++ | ^ ++ .../curl/tests/server/fake_ntlm.c:43:7: note: declare 'static' if the variabl ++ e is not intended to be used outside of this translation unit ++ 43 | const char *logdir = "log"; ++ | ^ ++ .../curl/src/tool_doswin.c:350:8: warning: possible misuse of comma operator ++ here [-Wcomma] ++ 350 | ++d, ++s; ++ | ^ ++ .../curl/src/tool_doswin.c:350:5: note: cast expression to void to silence wa ++ rning ++ 350 | ++d, ++s; ++ | ^~~ ++ | (void)( ) ++ ``` ++ ++ ``` ++ .../curl/tests/libtest/lib540.c:146:27: warning: result of comparison 'long' ++ > 2147483647 is always false [-Wtautological-type-limit-compare] ++ 146 | int itimeout = (L > (long)INT_MAX) ? INT_MAX : (int)L; ++ | ~ ^ ~~~~~~~~~~~~~ ++ 1 warning generated. ++ ++ .../curl/tests/libtest/libntlmconnect.c:195:31: warning: result of comparison ++ 'long' > 2147483647 is always false [-Wtautological-type-limit-compare] ++ 195 | int itimeout = (timeout > (long)INT_MAX) ? INT_MAX : (int)timeo ++ ut; ++ | ~~~~~~~ ^ ~~~~~~~~~~~~~ ++ 1 warning generated. ++ ++ .../curl/tests/libtest/lib591.c:117:31: warning: result of comparison 'long' ++ > 2147483647 is always false [-Wtautological-type-limit-compare] ++ 117 | int itimeout = (timeout > (long)INT_MAX) ? INT_MAX : (int)timeo ++ ut; ++ | ~~~~~~~ ^ ~~~~~~~~~~~~~ ++ 1 warning generated. ++ .../curl/tests/libtest/lib597.c:99:31: warning: result of comparison 'long' > ++ 2147483647 is always false [-Wtautological-type-limit-compare] ++ 99 | int itimeout = (timeout > (long)INT_MAX) ? INT_MAX : (int)timeo ++ ut; ++ | ~~~~~~~ ^ ~~~~~~~~~~~~~ ++ 1 warning generated. ++ ``` + +- - Fix wrong definitions of CURL_ZERO_TERNINATED, curl_mime_data() and +- curl_mime_data_ccsid(). ++ Seen on macOS Intel: ++ ``` ++ .../curl/tests/server/sws.c:440:64: warning: field precision should have type ++ 'int', but argument has type 'size_t' (aka 'unsigned long') [-Wformat] ++ msnprintf(logbuf, sizeof(logbuf), "Got request: %s %.*s HTTP/%d.%d" ++ , ++ ~~^~ ++ 1 warning generated. ++ ``` + +- - Add recent definitions, in particular blob, header API and WebSockets +- API. ++ Closes #11925 + +- - Support for CURLVERSION_ELEVENTH. ++Jay Satiro (24 Sep 2023) + +- - New functions for EBCDIC support. ++- url: fix netrc info message + +- Reflect these changes in README.OS400. ++ - Fix netrc info message to use the generic ".netrc" filename if the ++ user did not specify a netrc location. + +- Closes https://github.com/curl/curl/pull/10994 ++ - Update --netrc doc to add that recent versions of curl on Windows ++ prefer .netrc over _netrc. + +-- OS400: implement EBCDIC support for recent features ++ Before: ++ * Couldn't find host google.com in the (nil) file; using defaults + +- - Support CURLVERSION_ELEVENTH. ++ After: ++ * Couldn't find host google.com in the .netrc file; using defaults + +- - New function curl_url_strerror_ccsid(). ++ Closes https://github.com/curl/curl/pull/11904 + +- - curl_easy_setopt_ccsid() supports blobs and 3 recent string options. ++Dan Fandrich (23 Sep 2023) + +- - New function curl_easy_header_ccsid(). ++- wolfssh: do cleanup in Curl_ssh_cleanup + +- - New generic latin1<-->ccsid conversion functions curl_from_ccsid() and +- curl_to_ccsid() for user convenience. ++ Closes: #11921 + +- - README.OS400 updated accordingly. ++Daniel Stenberg (24 Sep 2023) + +- - Removed a leftover QsoSSL support identifier. ++- tool_listhelp: regenerated + +- Closes https://github.com/curl/curl/pull/10994 ++ Polished the --ipfs-gateway description + +-- OS400: rework build scripts ++ Fixed the --trace-config description + +- - Rename shell function "system" to "CLcommand" to avoid confusion with +- built-in command. ++ The script also fixed some other small mistakes + +- - Reformat scripts. Fix some indentations. Avoid lines > 80 characters +- where possible. ++ Closes #11923 + +- - Support ASCII runtime development files in a user-defined directory +- path. ++Viktor Szakats (23 Sep 2023) + +- - FIX SONAME detection. ++- Makefile.mk: always set `CURL_STATICLIB` for lib (Windows) + +- - Drop form API test program compilation (does not exist anymore). ++ Also fix to export all symbols in Windows debug builds, making ++ `-debug-dyn` builds work with `-DCURL_STATICLIB` set. + +- Closes https://github.com/curl/curl/pull/10994 ++ Ref: https://github.com/curl/curl/pull/11914 (same for CMake) + +-Sevan Janiyan (18 Apr 2023) ++ Closes #11924 + +-- tests/sshserver.pl: Define AddressFamily earlier ++Daniel Stenberg (23 Sep 2023) + +- As the comment states "Address family must be specified before ListenAddress" +- , otherwise the tests fail to run +- `"failed starting SSH server" 52 times (582, 583, 600, 601, 602, 603, 604, 60 +- 5, 606 and 43 more)` ++- quic: set ciphers/curves the same way regular TLS does + +- Closes #10983 ++ for OpenSSL/BoringSSL + +-Stefan Eissing (18 Apr 2023) ++ Fixes #11796 ++ Reported-by: Karthikdasari0423 on github ++ Assisted-by: Jay Satiro ++ Closes #11836 + +-- quiche: Enable IDLE egress handling ++- test457: verify --max-filesize with chunked encoding + +- Follow-up to 544abeea which added the handling but wrongly left it +- commented out. ++- lib: let the max filesize option stop too big transfers too + +- Closes https://github.com/curl/curl/pull/11000 ++ Previously it would only stop them from getting started if the size is ++ known to be too big then. + +-Daniel Stenberg (18 Apr 2023) ++ Update the libcurl and curl docs accordingly. + +-- docs/examples/protofeats.c: Outputs all protocols and features ++ Fixes #11810 ++ Reported-by: Elliot Killick ++ Assisted-by: Jay Satiro ++ Closes #11820 + +- Showing off one way to get to char pointer arrays of info returned by +- curl_version_info() ++Viktor Szakats (23 Sep 2023) + +- Closes #10991 ++- mingw: delete support for legacy mingw.org toolchain + +-- tests/keywords.pl: remove ++ Drop support for "old" / "legacy" / "classic" / "v1" / "mingw32" MinGW: ++ https://en.wikipedia.org/wiki/MinGW, https://osdn.net/projects/mingw/ ++ Its homepage used to be http://mingw.org/ [no HTTPS], and broken now. ++ It supported the x86 CPU only and used a old Windows API header and ++ implib set, often causing issues. It also misses most modern Windows ++ features, offering old versions of both binutils and gcc (no llvm/clang ++ support). It was last updated 2 years ago. + +- This script does not work since the introduction of the test +- preprocessing. If we need this functionality, it probably needs to be +- moved into the runtests tool or similar. ++ curl now relies on toolchains based on the mingw-w64 project: ++ https://www.mingw-w64.org/ https://sourceforge.net/projects/mingw-w64/ ++ https://www.msys2.org/ https://github.com/msys2/msys2 ++ https://github.com/mstorsjo/llvm-mingw ++ (Also available via Linux and macOS package managers.) + +- Reported-by: Dan Fandrich +- Fixes #10895 +- Closes #10987 ++ Closes #11625 + +-Stefan Eissing (17 Apr 2023) ++Mark Gaiser (23 Sep 2023) + +-- http2: support HTTP/2 to forward proxies, non-tunneling ++- curl: add support for the IPFS protocols: + +- - with `--proxy-http2` allow h2 ALPN negotiation to +- forward proxies +- - applies to http: requests against a https: proxy only, +- as https: requests will auto-tunnel +- - adding a HTTP/1 request parser in http1.c +- - removed h2h3.c +- - using new request parser in nghttp2 and all h3 backends +- - adding test 2603 for request parser +- - adding h2 proxy test cases to test_10_* ++ - ipfs:// ++ - ipns:// + +- scorecard.py: request scoring accidentally always run curl +- with '-v'. Removed that, expect double numbers. ++ This allows you tu use ipfs in curl like: ++ curl ipfs:// ++ and ++ curl ipns:// + +- labeller: added http1.* and h2-proxy sources to detection ++ For more information consult the readme at: ++ https://curl.se/docs/ipfs.html + +- Closes #10967 ++ Closes #8805 + +-Daniel Stenberg (17 Apr 2023) ++Daniel Stenberg (23 Sep 2023) + +-- curl_easy_unescape.3: rename the argument ++- bufq: remove Curl_bufq_skip_and_shift (unused) + +- and highlight it appropriately in the text. ++ Closes #11915 + +- Closes #10979 ++- scripts/singleuse.pl: add curl_global_trace + +-Viktor Szakats (17 Apr 2023) ++Viktor Szakats (22 Sep 2023) + +-- autotools: sync up clang picky warnings with cmake ++- cmake: fix unity symbol collisions in h2 builds + +- Bringing missing options over from CMake. ++ Regression from 331b89a319d0067fa1e6441719307cfef9c7960f + +- Move around existing `-Wno-pointer-bool-conversion` option to come +- _after_ `-Wconversion`. ++ Reviewed-by: Daniel Stenberg ++ Reviewed-by: Jay Satiro ++ Closes #11912 + +- Reviewed-by: Marcel Raad +- Closes #10974 ++Daniel Stenberg (22 Sep 2023) + +-Daniel Stenberg (17 Apr 2023) ++- RELEASE-NOTES: synced + +-- tests/libtest/lib1900.c: remove ++Dan Fandrich (21 Sep 2023) + +- This file was left behind when the rest of the test was previously removed. ++- github/labeler: improve the match patterns + +- Follow-up to e50a877df74f ++ This includes new rules for setting the appleOS and logging labels and ++ matches on some example files. Also, enable dot mode for wildcard ++ matches in the .github directory. + +-- src/tool_operhlp.c: fix value stored to 'uerr' is never read ++Daniel Stenberg (21 Sep 2023) + +- Ref: https://github.com/curl/curl/pull/10974#issuecomment-1510461343 +- Reported-by: Viktor Szakats +- Closes #10982 ++- upload-file.d: describe the file name slash/backslash handling + +-Viktor Szakats (16 Apr 2023) ++ Closes #11911 + +-- cmake: speed up and extend picky clang/gcc options ++Jakub Jelen (21 Sep 2023) + +- Extend existing picky compiler options with ones missing compared to +- autotools builds. Also sync options between clang and gcc. ++- libssh: cap SFTP packet size sent + +- Redesign the way we enable these options to avoid the slow option +- detection almost completely. ++ Due to libssh limitations + +- This reduces the number of detections from 35 to zero for clang and +- 3 for gcc, even after adding a bunch of new options. ++ Signed-off-by: Jakub Jelen + +- clang 3.0 (2011-11-29) and gcc 2.95 (1999-07-31) now required. ++ Closes #11804 + +- Also show enabled picky options. ++Daniel Stenberg (21 Sep 2023) + +- Ref: https://github.com/libssh2/libssh2/pull/952 ++- curl.h: mark CURLSSLBACKEND_NSS as deprecated since 8.3.0 + +- Reviewed-by: Daniel Stenberg +- Closes #10973 ++ Closes #11905 + +-Andreas Falkenhahn (16 Apr 2023) ++- mailmap: unify Michael Osipov under a single email + +-- nbtlm: use semicolons instead of commas for (void) args ++Ted Lyngmo (21 Sep 2023) + +- Closes #10978 ++- docs: use CURLSSLBACKEND_NONE + +-Daniel Stenberg (15 Apr 2023) ++ [ssl] use CURLSSLBACKEND_NONE instead of (curl_sslbackend)-1 in ++ documentation and examples. + +-- multi: free up more data earleier in DONE ++ Signed-off-by: Ted Lyngmo + +- Before checking for more users of the connection and possibly bailing +- out. ++ Closes #11909 + +- Fixes #10971 +- Reported-by: PaweÅ‚ Wegner +- Closes #10972 ++Dan Fandrich (21 Sep 2023) + +-- RELEASE-NOTES: synced ++- github/labeler: give the sync-labels config item a default value + +-- curl: do NOT append file name to path for upload when there's a query ++ This shouldn't be necessary and is likely a bug with this beta version ++ of the labeller. + +- Added test 425 to verify. ++ Also, fix the negative matches for the documentation label. + +- Reported-by: Dirk Rosenkranz +- Bug: https://curl.se/mail/archive-2023-04/0008.html +- Closes #10969 ++ Follow-up to dd12b452a ++ Closes #11907 + +-- libcurl-thread.3: improved name resolver wording ++- github/labeler: fix up more the labeler config format + +- And make better .SH sections ++ The new version didn't like the workaround we had for a bug in the ++ previous labeler version, and it should no longer be needed. + +- Closes #10966 ++ Follow-up to dd12b452a ++ Closes #11906 + +-Colman Mbuya (14 Apr 2023) ++- github/labeler: fix indenting to try to appease labeller + +-- CURLOPT_PROXY_SSL_VERIFYPEER.3: fix minor grammar mistake ++ Follow-up to dd12b452a + +- Closes #10968 ++Jay Satiro (21 Sep 2023) + +-Daniel Stenberg (14 Apr 2023) ++- libssh2: fix error message on failed pubkey-from-file + +-- curl: add --proxy-http2 ++ - If libssh2_userauth_publickey_fromfile_ex returns -1 then show error ++ message "SSH public key authentication failed: Reason unknown (-1)". + +- For trying HTTP/2 with an HTTPS proxy. ++ When libssh2_userauth_publickey_fromfile_ex returns -1 it does so as a ++ generic error and therefore doesn't set an error message. AFAICT that is ++ not documented behavior. + +- Closes #10926 ++ Prior to this change libcurl retrieved the last set error message which ++ would be from a previous function failing. That resulted in misleading ++ auth failed error messages in verbose mode. + +-- KNOWN_BUGS: remove fixed or outdated issues, move non-bugs ++ Bug: https://github.com/curl/curl/issues/11837#issue-1891827355 ++ Reported-by: consulion@users.noreply.github.com + +- - remove h3 issues believed to be fixed ++ Closes https://github.com/curl/curl/pull/11881 + +- - make the flaky CI issue be generic and not Windows specific ++Stefan Eissing (21 Sep 2023) + +- - "TLS session cache does not work with TFO" now documented ++- pytest: exclude test_03_goaway in CI runs due to timing dependency + +- This is now a documented restriction and not a bug. TFO in general is +- rarely used and has other problems, making it a low-priotity thing to +- work on. ++ Closes #11860 + +- - remove "Renegotiate from server may cause hang for OpenSSL backend" ++- lib: disambiguate Curl_client_write flag semantics + +- This is an OpenSSL issue, not a curl one. Even if it taints curl. ++ - use CLIENTWRITE_BODY *only* when data is actually body data ++ - add CLIENTWRITE_INFO for meta data that is *not* a HEADER ++ - debug assertions that BODY/INFO/HEADER is not used mixed ++ - move `data->set.include_header` check into Curl_client_write ++ so protocol handlers no longer have to care ++ - add special in FTP for `data->set.include_header` for historic, ++ backward compatible reasons ++ - move unpausing of client writes from easy.c to sendf.c, so that ++ code is in one place and can forward flags correctly + +- - rm "make distclean loops forever" ++ Closes #11885 + +- - rm "configure finding libs in wrong directory" ++Patrick Monnerat (21 Sep 2023) + +- Added a section to docs/INSTALL.md about it. ++- tftpd: always use curl's own tftp.h + +- - "A shared connection cache is not thread-safe" ++ Using the system's provided arpa/tftp.h and optimizing, GCC 12 detects ++ and reports a stringop-overread warning: + +- Moved over to TODO and expanded for other sharing improvements we +- could do ++ tftpd.c: In function ‘write_behind.isra’: ++ tftpd.c:485:12: warning: ‘write’ reading between 1 and 2147483647 bytes f ++ rom a region of size 0 [-Wstringop-overread] ++ 485 | return write(test->ofile, writebuf, count); ++ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ++ In file included from tftpd.c:71: ++ /usr/include/arpa/tftp.h:58:30: note: source object ‘tu_data’ of size 0 ++ 58 | char tu_data[0]; /* data or error stri ++ ng */ ++ | ^~~~~~~ + +- - rm "CURLOPT_OPENSOCKETPAIRFUNCTION is missing" ++ This occurs because writebuf points to this field and the latter ++ cannot be considered as being of dynamic length because it is not ++ the last field in the structure. Thus it is bound to its declared ++ size. + +- - rm "Blocking socket operations in non-blocking API" ++ This commit always uses curl's own version of tftp.h where the ++ target field is last in its structure, effectively avoiding the ++ warning. + +- Already listed as a TODO ++ As HAVE_ARPA_TFTP_H is not used anymore, cmake/configure checks for ++ arpa/tftp.h are removed. + +- - rm "curl compiled on OSX 10.13 failed to run on OSX 10.10" ++ Closes #11897 + +- Water under the bridge. No one cares about this anymore. ++Dan Fandrich (20 Sep 2023) + +- - rm "build on Linux links libcurl to libdl" ++- test1474: make precheck more robust on non-Solaris systems + +- Verified to not be true (anymore). ++ If uname -r returns something odd, perl could return an error code and ++ the test would be erroneously skipped. The qx// syntax avoid this. + +- - rm "libpsl is not supported" ++ Followup to 08f9b2148 + +- The cmake build supports it since cafb356e19cda22 ++- github/labeler: switch to the 5 beta version + +- Closes #10963 ++ This version adds an important feature that will allow more PRs to be ++ labelled. Rather than being limited to labeling PRs with files that ++ match a single glob, it can now label them if multiple changed files ++ match any one of a number of globs. + +-- url: fix PVS nits ++Daniel Stenberg (20 Sep 2023) + +- - expression 'hostptr' is always true +- - a part of conditional expression is always true: proxypasswd +- - expression 'proxyuser' is always true +- - avoid multiple Curl_now() calls in allocate_conn ++- lib: enable hmac for digest as well + +- Ref: #10929 +- Closes #10959 ++ Previously a build that disabled NTLM and aws-sigv4 would fail to build ++ since the hmac was disabled, but it is also needed for digest auth. + +-- bufq: simplify since expression is always true ++ Follow-up to e92edfbef64448ef + +- The check for 'len' is already done so it will remain true until +- updated. Pointed out by PVS. ++ Fixes #11890 ++ Reported-by: Aleksander Mazur ++ Closes #11896 + +- Ref: #10929 +- Closes #10958 ++- idn: if idn2_check_version returns NULL, return error + +-- hash: fix assigning same value ++ ... this avoids a NULL dereference for this unusual case. + +- Pointed out by PVS ++ Reported-by: s0urc3_ on hackerone ++ Closes #11898 + +- Ref: #10929 +- Closes #10956 ++- http: fix CURL_DISABLE_BEARER_AUTH breakage + +-- cookie: address PVS nits ++ When bearer auth was disabled, the if/else logic got wrong and caused ++ problems. + +- - avoid assigning the same value again +- - remove superfluous check of co->domain +- - reduce variable scope for namep/valuep ++ Follow-up to e92edfbef64448ef461 ++ Fixes #11892 ++ Reported-by: Aleksander Mazur ++ Closes #11895 + +- Ref: #10929 +- Closes #10954 ++Michael Osipov (20 Sep 2023) + +-Stefan Eissing (14 Apr 2023) ++- wolfssl: allow capath with CURLOPT_CAINFO_BLOB + +-- cf-socket: Disable socket receive buffer by default ++ Remain consistent with OpenSSL. While CAfile is nulled as documented ++ with CURLOPT_CAINFO_BLOB, CApath remains intact. + +- - Disable socket receive buffer unless USE_RECV_BEFORE_SEND_WORKAROUND +- is in place. ++ Closes #11886 + +- While we would like to use the receive buffer, we have stalls in +- parallel transfers where not all buffered data is consumed and no socket +- events happen. ++- wolfssl: use ssl_cafile/ssl_capath variables consistent with openssl.c + +- Note USE_RECV_BEFORE_SEND_WORKAROUND is a Windows sockets workaround +- that has been disabled by default since b4b6e4f1, due to other bugs. ++ Closes #11886 + +- Closes https://github.com/curl/curl/pull/10961 ++Dan Fandrich (19 Sep 2023) + +-- cf-h2-proxy: fix processing ingress to stop too early ++- test1474: disable test on NetBSD, OpenBSD and Solaris 10 + +- - progress ingress stopped too early, causing data +- from the underlying filters to not be processed and +- report that no tunnel data was available +- - this lead to "hangers" where no socket activity was +- seen but data rested in buffers ++ These kernels only send a fraction of the requested amount of the first ++ large block, invalidating the assumptions of the test and causing it to ++ fail. + +- Closes #10952 ++ Assisted-by: Christian Weisgerber ++ Ref: https://curl.se/mail/lib-2023-09/0021.html ++ Closes #11888 + +-- http3: check stream_ctx more thoroughly in all backends ++Ryan Schmidt (20 Sep 2023) + +- - callbacks and filter methods might be invoked at unexpected +- times, e.g. when the transfer's stream_ctx has not been initialized +- yet or, more likely, has already been taken down. +- - check for existance of stream_ctx in such places and return +- an error or silently succeed the call. ++- cmake, configure: also link with CoreServices + +- Closes #10951 ++ When linking with CoreFoundation, also link with CoreServices which is ++ apparently required to avoid an NSInvalidArgumentException in software ++ linking with libcurl on macOS Sonoma 14 and later. + +-Daniel Stenberg (13 Apr 2023) ++ Fixes #11893 ++ Closes #11894 + +-- ftp: fix 'portsock' variable was assigned the same value ++Marc Hoersken (19 Sep 2023) + +- Pointed out by PVS ++- CI/azure: remove pip, wheel, cryptography, pyopenssl and impacket + +- Ref: #10929 +- Closes #10955 ++ These dependencies are now already included in the Docker image. + +-- ftp: remove dead code ++ Ref: https://github.com/mback2k/curl-docker-winbuildenv/commit/2607a31bcab544 ++ b41d15606e97f38cf312c1ce56 + +- This condition can never be true here since it is handled already 28 +- lines above. ++ Closes #11889 + +- Pointed out by PVS. ++Daniel Stenberg (19 Sep 2023) + +- Ref: #10929 +- Closes #10957 ++- wolfssl: if CURLOPT_CAINFO_BLOB is set, ignore the CA files + +-- cf-h1-proxy: skip an extra NULL assign ++ Ref: #11883 ++ Reported-by: Michael Osipov ++ Closes #11884 + +- and use Curl_safefree() once to save another NULL assign. Found by PVS. ++- RELEASE-NOTES: synced + +- Ref. #10929 +- Closes #10953 ++- test3103: CURLOPT_COOKIELIST test + +-Philip Heiduck (13 Apr 2023) ++- cookie: set ->running in cookie_init even if data is NULL + +-- GHA: suppress git clone output ++ This is a regression introduced in b1b326ec500 (shipped in curl 8.1.0) + +- Follow-up: https://github.com/curl/curl/commit/8203aa6ed405ec832d2c62f18dfda2 +- 93f89a23f9 ++ Test 3103 verifies. + +- Closes #10949 ++ Fixes #11875 ++ Reported-by: wangp on github ++ Closes #11876 + +-Stefan Eissing (13 Apr 2023) ++- test498: total header size for all redirects is larger than accepted + +-- cf-socket: remove dead code discovered by PVS ++- http: use per-request counter to check too large headers + +- Closes #10960 ++ Not the counter that accumulates all headers over all redirects. + +-Daniel Stenberg (13 Apr 2023) ++ Follow-up to 3ee79c1674fd6 + +-- http: skip a double NULL assign ++ Do a second check for 20 times the limit for the accumulated size for ++ all headers. + +- and also use a local variable to shorten the long names and increase +- readability in the function. Pointed out by PVS. ++ Fixes #11871 ++ Reported-by: Joshix-1 on github ++ Closes #11872 + +- Ref: #10929 +- Closes #10950 ++Jay Satiro (18 Sep 2023) + +-- mime: skip NULL assigns after Curl_safefree() ++- THANKS: add Eric Murphy + +- Pointed out by PVS. ++ He reported #11850 (quiche build error) but I forgot to add a ++ 'reported-by' entry in the fix 267e14f1. + +- Ref: #10929 +- Closes #10947 ++Daniel Stenberg (18 Sep 2023) + +-- rtsp: skip NULL assigns after Curl_safefree() ++- h2-proxy: remove left-over mistake in drain_tunnel() + +- ... since this is a macro that assigns NULL itself. Pointed out by PVS. ++ Left-over from 331b89a319 + +- Ref: #10929 +- Closes #10946 ++ Reported-by: å—å®«é›ªçŠ + +-- smb: remove double assign ++ Closes https://github.com/curl/curl/pull/11877 + +- The same value is assigned the same value already a few lines above. +- Pointed out by PVS. ++vvb2060 (18 Sep 2023) + +- Ref: #10929 +- Closes #10945 ++- lib: failf/infof compiler warnings + +-- transfer: skip extra assign ++ Closes #11874 + +- The 'result' variable already contains CURLE_OK at this point, no use in +- setting it again. Pointed out by PVS. ++Daniel Stenberg (17 Sep 2023) + +- Ref: #10929 +- Closes #10944 ++- rand: fix 'alnum': array is too small to include a terminating null character + +-- urlapi: skip a pointless assign ++ It was that small on purpose, but this change now adds the null byte to ++ avoid the error. + +- It stores a null byte after already having confirmed there is a null +- byte there. Detected by PVS. ++ Follow-up to 3aa3cc9b052353b1 + +- Ref: #10929 +- Closes #10943 ++ Reported-by: Dan Fandrich ++ Ref: #11838 ++ Closes #11870 + +-Philip Heiduck (13 Apr 2023) ++Mathias Fuchs (16 Sep 2023) + +-- GHA: suppress git clone output ++- cmake: fix the help text to the static build option in CMakeLists.txt + +- Closes #10939 ++ Closes #11843 + +-Stefan Eissing (13 Apr 2023) ++John Haugabook (16 Sep 2023) + +-- tests: make test_12_01 a bit more forgiving on connection counts ++- MANUAL.md: change domain to example.com + +-- cf-socket: add socket recv buffering for most tcp cases ++ Closes #11866 + +- - use bufq as recv buffer, also for Windows pre-receive handling +- - catch small reads followed by larger ones in a single socket +- call. A common pattern on TLS connections. ++Daniel Stenberg (16 Sep 2023) + +- Closes #10787 ++- doh: inherit DEBUGFUNCTION/DATA + +-Daniel Stenberg (13 Apr 2023) ++ When creating new transfers for doing DoH, they now inherit the debug ++ settings from the initiating transfer, so that the application can ++ redirect and handle the verbose output correctly even for the DoH ++ transfers. + +-- urlapi: cleanups ++ Reported-by: calvin2021y on github ++ Fixes #11864 ++ Closes #11869 + +- - move host checks together +- - simplify the scheme parser loop and the end of host name parser +- - avoid itermediate buffer storing in multiple places +- - reduce scope for several variables +- - skip the Curl_dyn_tail() call for speed +- - detect IPv6 earlier and skip extra checks for such hosts +- - normalize directly in dynbuf instead of itermediate buffer +- - split out the IPv6 parser into its own funciton +- - call the IPv6 parser directly for ipv6 addresses +- - remove (unused) special treatment of % in host names +- - junkscan() once in the beginning instead of scattered +- - make junkscan return error code +- - remove unused query management from dedotdotify() +- - make Curl_parse_login_details use memchr +- - more use of memchr() instead of strchr() and less strlen() calls +- - make junkscan check and return the URL length ++Dan Fandrich (16 Sep 2023) + +- An optimized build runs one of my benchmark URL parsing programs ~41% +- faster using this branch. (compared against the shipped 7.88.1 library +- in Debian) ++- http_aws_sigv4: fix sorting with empty parts + +- Closes #10935 ++ When comparing with an empty part, the non-empty one is always ++ considered greater-than. Previously, the two would be considered equal ++ which would randomly place empty parts amongst non-empty ones. This ++ showed as a test 439 failure on Solaris as it uses a different ++ implementation of qsort() that compares parts differently. + +-Josh McCullough (13 Apr 2023) ++ Fixes #11855 ++ Closes #11868 + +-- http2: fix typo in infof() call ++- CI: ignore the "flaky" and "timing-dependent" test results + +- Closes #10940 ++ CI builds will now run these tests, but will ignore the results if they ++ fail. The relevant tests are ones that are sensitive to timing or ++ have edge conditions that make them more likely to fail on CI servers, ++ which are often heavily overloaded and slow. + +-Daniel Stenberg (12 Apr 2023) ++ This change only adds two additional tests to be ignored, since the ++ others already had the flaky keyword. + +-- noproxy: pointer to local array 'hostip' is stored outside scope ++ Closes #11865 + +- Ref: #10929 +- Closes #10933 ++- runtests: eliminate a warning on old perl versions + +-Stefan Eissing (12 Apr 2023) ++ The warning "Use of implicit split to @_ is deprecated" showed between ++ perl versions about 5.8 through 5.11. + +-- connect: fix https connection setup to treat ssl_mode correctly ++- tests: log the test result code after each libtest + +- - for HTTPS protocol, a disabled ssl should never be acceptables. ++ This makes it easier to determine the test status. Also, capitalize ++ FAILURE and ABORT messages in log lines to make them easier to spot. + +- Closes #10934 ++Harry Sintonen (16 Sep 2023) + +-Douglas R. Reno (12 Apr 2023) ++- misc: better random strings + +-- CMakeLists.txt: fix typo for Haiku detection ++ Generate alphanumerical random strings. + +- Closes #10937 ++ Prior this change curl used to create random hex strings. This was ++ mostly okay, but having alphanumerical random strings is better: The ++ strings have more entropy in the same space. + +-Dan Fandrich (11 Apr 2023) ++ The MIME multipart boundary used to be mere 64-bits of randomness due ++ to being 16 hex chars. With these changes the boundary is 22 ++ alphanumerical chars, or little over 130 bits of randomness. + +-- pathhelp: use the cached $use_cygpath when available ++ Closes #11838 + +-- runtests: eliminate unneeded variable ++Daniel Stenberg (15 Sep 2023) + +-- runtests: make the # of server start attempts a constant ++- cookie: reduce variable scope, add const + +-- runtests: on startup failure call displaylogs only in serverfortest ++- cookie: do not store the expire or max-age strings + +- This reduces the number of calls spread throughout the code. ++ Convert it to an expire time at once and save memory. + +- Ref: #10818 +- Closes #10919 ++ Closes #11862 + +-- runtests: return an error code with startservers() ++- cookie: remove unnecessary struct fields + +- The code indicates the kind of failure encountered in starting a server, +- which can be used by the caller to tailor the user experience. ++ Plus: reduce the hash table size from 256 to 63. It seems unlikely to ++ make much of a speed difference for most use cases but saves 1.5KB of ++ data per instance. + +- Ref: #10818 ++ Closes #11862 + +-- runtests: abort early if runpingpongserver is given a bad server type ++- RELEASE-NOTES: synced + +-- runtests: don't use the SMB server verification time as reference ++ Bumped to 8.4.0, the next presumed version + +- %FTPTIME2 and %FTPTIME3 should be set by the FTP server only, for +- consistency. ++Dan Fandrich (14 Sep 2023) + +-- tests: factor out the test server management code ++- test2600: remove special case handling for USE_ALARM_TIMEOUT + +- This now lives in servers.pm with some configuration variables moved to +- globalconfig.pm ++ This was originally added to handle platforms that supported only 1 ++ second granularity in connect timeouts, but after some recent changes ++ the test currently permafails on several Windows platforms. + +- Ref: #10818 ++ The need for this special-case was removed in commit 8627416, which ++ increased the connect timeout in all cases to well above 1 second. + +-- runtests: remove an inappropriate use of runclientoutput ++ Fixes #11767 ++ Closes #11849 + +- This function is intended for running client code, not servers. ++Daniel Stenberg (14 Sep 2023) + +-- runtests: only add $LIBDIR to the path for checktestcmd ++- SECURITY-PROCESS.md. call it vulnerability disclosure policy + +- Since checkcmd is for finding servers, there will never be anything in +- this directory of interest to them. ++ SECURITY-PROCESS.md -> VULN-DISCLOSURE-POLICY.md + +- Ref: #10818 ++ This a name commonly used for a document like this. This name helps ++ users find it. + +-- tests: log sshserver.pl messages to a file ++ Closes #11852 + +- The logmsg messages were thrown away before, so they are now available +- for debugging. ++Junho Choi (14 Sep 2023) + +-- runtests: also show DISABLED tests with -l ++- quiche: fix build error with --with-ca-fallback + +- Other reasons for skipping tests are ignored for -l, so being explicitly +- disabled should be too. ++ - Fix build error when curl is built with --with-quiche ++ and --with-ca-fallback. + +-- runtests: move the UNIX sockets into $PIDDIR ++ - Add --with-ca-fallback to the quiche CI job. + +- These were missed when the other server files were moved there. ++ Fixes https://github.com/curl/curl/issues/11850 ++ Closes https://github.com/curl/curl/pull/11847 + +- Follow-up to 70d2fca2 ++Jay Satiro (14 Sep 2023) + +- Ref: #10818 ++- escape: replace Curl_isunreserved with ISUNRESERVED + +-- tests: tighten up perl exports ++ - Use the ALLCAPS version of the macro so that it is clear a macro is ++ being called that evaluates the variable multiple times. + +- This reduces namespace pollution a little. ++ - Also capitalize macro isurlpuntcs => ISURLPUNTCS since it evaluates ++ a variable multiple times. + +- Ref: #10818 ++ This is a follow-up to 291d225a which changed Curl_isunreserved into an ++ alias macro for ISUNRESERVED. The problem is the former is not easily ++ identified as a macro by the caller, which could lead to a bug. + +-- tests: turn perl modules into full packages ++ For example, ISUNRESERVED(*foo++) is easily identifiable as wrong but ++ Curl_isunreserved(*foo++) is not even though they both are the same. + +- This helps enforce more modularization and encapsulation. Enable and fix +- warnings on a few packages. Also, rename ftp.pm to processhelp.pm since +- there's really nothing ftp-specific in it. ++ Closes https://github.com/curl/curl/pull/11846 + +- Ref: #10818 ++Dan Fandrich (13 Sep 2023) + +-Daniel Stenberg (11 Apr 2023) ++- tests: increase the default server logs lock timeout + +-- multi: remove a few superfluous assigns ++ This timeout is used to wait for the server to finish writing its logs ++ before checking them against the expected values. An overloaded machine ++ could take more than the two seconds previously allocated, so increase ++ the timeout to 5 seconds. + +- PVS found these "The 'rc' variable was assigned the same value." cases. ++ Ref: #11328 ++ Closes #11834 + +- Ref: #10929 +- Closes #10932 ++- tests: increase TEST_HANG_TIMEOUT in two tests + +-- schannel: add clarifying comment ++ These tests had a 5 second timeout compared to 60 seconds for all other ++ tests. Make these consistent with the others for more reliability on ++ heavily-loaded machines. + +- Explaining how the PVS warning in #10929 is wrong: Dereferencing of the +- null pointer 'backend->cred' might take place. ++ Ref: #11328 + +- Closes #10931 ++- test1056: disable on Windows + +-- cookie: clarify that init with data set to NULL reads no file ++ This test relies on the IPv6 scope field being ignored when connecting to ++ ipv6-localhost (i.e. [::1%259999] is treated as [::1]). Maybe this is a bit ++ dodgy, but it works on all our test platforms except Windows. This ++ test was disabled manually on all Windows CI builds already, so instead ++ add an incompatible feature and precheck so it's skipped on Windows ++ everywhere automatically. + +- ... and make Curl_cookie_add() require 'data' being set proper with an +- assert. ++- test587: add a slight delay after test + +- The function has not worked with a NULL data for quite some time so this +- just corrects the code and comment. ++ This test is designed to connect to the server, then immediately send a ++ few bytes and disconnect. In some situations, such as on a loaded ++ server, this doesn't give the server enough time to write its lock file ++ before its existence is checked. The test harness then fails to find the ++ server's input log file (because it hasn't been written yet) and fails ++ the test. By adding a short delay after the test, the HTTP server has ++ enough time to write its lock file which gives itself more time to write ++ its remaining files. + +- This is a different take than the proposed fixed in #10927 ++ Ref: #11328 + +- Reported-by: Kvarec Lezki +- Ref: #10929 +- Closes #10930 ++- tests: stop overriding the lock timeout + +-Kvarec Lezki (11 Apr 2023) ++ These tests reduce the server lock wait timeout which can increase ++ flakiness on loaded machines. Since this is merely an optimization, ++ eliminate them in favour of reliability. + +-- vtls: remove int typecast for sizeof() ++ Ref: #11328 + +- V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> +- memsize. The value being cast: 'sizeof +- (buf->data)'. curl\lib\vtls\vtls.c 2025 ++- tests: add some --expect100-timeout to reduce timing dependencies + +- https://pvs-studio.com/en/docs/warnings/v220/ ++ These tests can fail when the test machine is so slow that the test HTTP ++ server didn't get a chance to complete before the client's one second ++ 100-continue timeout triggered. Increase that 1 second to 999 seconds so ++ this situation doesn't happen. + +- Closes #10928 ++ Ref: #11328 + +-Stefan Eissing (11 Apr 2023) ++- test661: return from test early in case of curl error + +-- http2: fix copynpaste error reported by coverity ++- tests: add the timing-dependent keyword on several tests + +- - move all code handling HTTP/2 frames for a particular +- stream into a separate function to keep from confusing +- the call `data` with the stream `data`. ++ These are ones likely to fail on heavily-loaded machines that alter the ++ normal test timing. Most of these tests already had the flaky keyword ++ since this condition makes them more likely to fail on CI. + +- Closes #10924 ++- test1592: greatly increase the maximum test timeout + +-Dan Fandrich (11 Apr 2023) ++ It was too short to be reliable on heavily loaded CI machines, and ++ as a fail-safe only, it didn't need to be short. + +-- tests: log a too-long Unix socket path in sws and socksd ++ Ref: #11328 + +- Ref: #10919 ++- test: minor test cleanups + +-Daniel Stenberg (11 Apr 2023) ++ Remove an obsolete block of code in tests 2032 & 576. ++ Add a comment in test 1474. + +-- gen.pl: error on duplicated See-Also fields ++- tests: quadruple the %FTPTIME2 and %FTPTIME3 timeouts + +- Updated http2.d accordingly. ++ This gives more of a margin for error when running on overloaded CI ++ servers. + +- Closes #10925 ++ Ref: #11328 + +-- http2: avoid possible null pointer dereference ++- tests: improve SLOWDOWN test reliability by reducing sent data + +- Reported-by: Dan Fandrich +- Fixes #10920 +- Closes #10923 ++ These tests are run in SLOWDOWN mode which adds a 10 msec delay after ++ each character output, which means it takes at least 1.6 seconds (and ++ 320 kernel calls) just to get through the long welcome banner. On an ++ overloaded system, this can end up taking much more than 1.6 seconds, ++ and even more than the 7 or 16 second curl timeout that the tests rely ++ on, causing them to fail. Reducing the size of the welcome banner drops ++ the total number of characters sent before the transfer starts by more ++ than half, which reduces the opportunity for test-breaking slowdowns by ++ the same amount. + +-- lib1560: verify that more bad host names are rejected ++ Ref: #11328 + +- when setting the hostname component of a URL ++- test650: fix an end tag typo + +- Closes #10922 ++Jay Satiro (13 Sep 2023) + +-- curl_url_set.3: mention that users can set content rather freely ++- tool_cb_wrt: fix debug assertion + +- ... which then might render bad URLs if you extract a URL later. ++ - Fix off-by-one out-of-bounds array index in Windows debug assertion. + +- Closes #10921 ++ Bug: https://github.com/curl/curl/commit/af3f4e41#r127212213 ++ Reported-by: Gisle Vanem + +-Dan Fandrich (10 Apr 2023) ++Daniel Stenberg (13 Sep 2023) + +-- CI: retry failed downloads of aws-lc ++- ctype: add ISUNRESERVED() + +- Don't fail the build in case of a temporary server problem. ++ ... and make Curl_isunreserved() use that macro instead of providing a ++ separate funtion for the purpose. + +-- test1169: fix so it works properly everywhere ++ Closes #11840 + +- - Use an absolute path for the -L option since the module isn't in the +- perl path +- - Create the needed test file in a section; isn't +- intended for this +- - Fix the test number in the file name, which was wrong ++Version 8.3.0 (13 Sep 2023) + +- Follow-up to f754990a ++Daniel Stenberg (13 Sep 2023) + +- Ref: #10818 +- Fixes #10889 +- Closes #10917 ++- RELEASE-NOTES: syn ced + +-- tests: stop using strndup(), which isn't portable ++ curl 8.3.0 release + +- It's not available on Solaris 10, for example. Since this is just test +- code that doesn't need to use an optimized system version, replace it +- with the implementation copied from tool_cb_hdr.c. ++- THANKS: contributors from 8.3.0 + +-- runtests: fix an incorrect comment about the ld_preload feature ++Thorsten Klein (12 Sep 2023) + +- Follow-up to 1f631864 ++- cmake: set SIZEOF_LONG_LONG in curl_config.h + +- Ref: #10818 ++ in order to support 32bit builds regarding wolfssl CTC_SETTINGS + +-Daniel Stenberg (9 Apr 2023) ++ Closes #11839 + +-- urlapi: prevent setting invalid schemes with *url_set() ++Jay Satiro (12 Sep 2023) + +- A typical mistake would be to try to set "https://" - including the +- separator - this is now rejected as that would then lead to +- url_get(... URL...) would get an invalid URL extracted. ++- curl_ngtcp2: fix error message + +- Extended test 1560 to verify. ++- http_aws_sigv4: handle no-value user header entries + +- Closes #10911 ++ - Handle user headers in format 'name:' and 'name;' with no value. + +-Biswapriyo Nath (9 Apr 2023) ++ The former is used when the user wants to remove an internal libcurl ++ header and the latter is used when the user actually wants to send a ++ no-value header in the format 'name:' (note the semi-colon is converted ++ by libcurl to a colon). + +-- http2: remove unused Curl_http2_strerror function declaration ++ Prior to this change the AWS header import code did not special case ++ either of those and the generated AWS SignedHeaders would be incorrect. + +- Curl_http2_strerror was renamed to http2_strerror in +- 05b100aee247bb9bec8e9a1b0 and then http2_strerror was removed in +- 5808a0d0f5ea0399d4a2a2 ++ Reported-by: apparentorder@users.noreply.github.com + +- This also fixes the following compiler error ++ Ref: https://curl.se/docs/manpage.html#-H + +- lib/http2.h:41:33: error: unknown type name 'uint32_t' +- lib/http2.h:1:1: note: 'uint32_t' is defined in header '' ++ Fixes https://github.com/curl/curl/issues/11664 ++ Closes https://github.com/curl/curl/pull/11668 + +- Closes #10912 ++Dan Fandrich (11 Sep 2023) + +-Daniel Stenberg (8 Apr 2023) ++- CI: run pytest with the -v option + +-- RELEASE-NOTES: synced ++ This lists of the test cases being run so it can be tracked over time. + +-SuperIlu on github (8 Apr 2023) ++ Closes #11824 + +-- config-dos.h: fix SIZEOF_CURL_OFF_T for MS-DOS/DJGPP ++Daniel Stenberg (11 Sep 2023) + +- Fixes #10905 +- Closes #10910 ++- HTTP3: the msquic backend is not functional + +-Daniel Stenberg (8 Apr 2023) ++ I ask that we do not submit bugs for this backend just yet as we know it ++ does not fully work. + +-- lib: remove CURLX_NO_MEMORY_CALLBACKS ++ Closes #11831 ++ Closes #11819 + +- The only user of this define was 'chkdecimalpoint' - a special purpose +- test tool that was built but not used anymore (since 17c18fbc3 - Apr +- 2020). ++- aws_sigv4: the query canon code miscounted URL encoded input + +- Closes #10908 ++ Added some extra ampersands to test 439 to verify "blank" query parts + +-- CURLPROXY_HTTPS2: for HTTPS proxy that may speak HTTP/2 ++ Follow-up to fc76a24c53b08cdf + +- Setting this proxy type allows curl to negotiate and use HTTP/2 with +- HTTPS proxies. ++ Closes #11829 + +- Closes #10900 ++vvb2060 (11 Sep 2023) + +-Ali Khodkar (8 Apr 2023) ++- quic: don't set SNI if hostname is an IP address + +-- write-out.d: add missing periods ++ We already do this for TLS connections. + +- Closes #10897 ++ RFC 6066 says: Literal IPv4 and IPv6 addresses are not permitted in ++ "HostName". + +-Daniel Stenberg (7 Apr 2023) ++ Ref: https://www.rfc-editor.org/rfc/rfc6066#section-3 + +-- http2: remove check for !data after it was already dereferenced ++ Fixes https://github.com/curl/curl/issues/11827 ++ Closes https://github.com/curl/curl/pull/11828 + +- Pointed out by Coverity ++Daniel Stenberg (10 Sep 2023) + +- Closes #10906 ++- RELEASE-NOTES: synced +diff --git a/CMake/CurlTests.c b/CMake/CurlTests.c +index ea80ec8..83d743d 100644 +--- a/CMake/CurlTests.c ++++ b/CMake/CurlTests.c +@@ -23,7 +23,6 @@ + ***************************************************************************/ + + #ifdef HAVE_FCNTL_O_NONBLOCK +- + /* headers for FCNTL_O_NONBLOCK test */ + #include + #include +@@ -45,14 +44,13 @@ + #error "O_NONBLOCK does not work on this platform" + #endif + +-int +-main () ++int main(void) + { +- /* O_NONBLOCK source test */ +- int flags = 0; +- if(0 != fcntl(0, F_SETFL, flags | O_NONBLOCK)) +- return 1; +- return 0; ++ /* O_NONBLOCK source test */ ++ int flags = 0; ++ if(0 != fcntl(0, F_SETFL, flags | O_NONBLOCK)) ++ return 1; ++ return 0; + } + #endif + +@@ -108,36 +106,16 @@ int main(void) + } + #endif + +-#ifdef HAVE_SOCKLEN_T +-#ifdef _WIN32 +-#include +-#else +-#include +-#include +-#endif +-int +-main () +-{ +-if ((socklen_t *) 0) +- return 0; +-if (sizeof (socklen_t)) +- return 0; +- ; +- return 0; +-} +-#endif + #ifdef HAVE_IN_ADDR_T + #include + #include + #include +- +-int +-main () ++int main(void) + { +-if ((in_addr_t *) 0) +- return 0; +-if (sizeof (in_addr_t)) +- return 0; ++ if((in_addr_t *) 0) ++ return 0; ++ if(sizeof(in_addr_t)) ++ return 0; + ; + return 0; + } +@@ -150,11 +128,10 @@ if (sizeof (in_addr_t)) + #ifdef HAVE_STDBOOL_H + #include + #endif +-int +-main () ++int main(void) + { +-if (sizeof (bool *) ) +- return 0; ++ if(sizeof(bool *)) ++ return 0; + ; + return 0; + } +@@ -165,8 +142,9 @@ if (sizeof (bool *) ) + #include + #include + #include +-int main() { return 0; } ++int main(void) { return 0; } + #endif ++ + #ifdef HAVE_FILE_OFFSET_BITS + #ifdef _FILE_OFFSET_BITS + #undef _FILE_OFFSET_BITS +@@ -181,104 +159,83 @@ int main() { return 0; } + int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 + && LARGE_OFF_T % 2147483647 == 1) + ? 1 : -1]; +-int main () { ; return 0; } ++int main(void) { ; return 0; } + #endif ++ + #ifdef HAVE_IOCTLSOCKET + /* includes start */ +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + # ifndef WIN32_LEAN_AND_MEAN + # define WIN32_LEAN_AND_MEAN + # endif +-# include +-# ifdef HAVE_WINSOCK2_H +-# include +-# endif ++# include + #endif +- +-int +-main () ++int main(void) + { +- +-/* ioctlsocket source code */ +- int socket; +- unsigned long flags = ioctlsocket(socket, FIONBIO, &flags); +- ++ /* ioctlsocket source code */ ++ int socket; ++ unsigned long flags = ioctlsocket(socket, FIONBIO, &flags); + ; + return 0; + } + + #endif ++ + #ifdef HAVE_IOCTLSOCKET_CAMEL + /* includes start */ +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + # ifndef WIN32_LEAN_AND_MEAN + # define WIN32_LEAN_AND_MEAN + # endif +-# include +-# ifdef HAVE_WINSOCK2_H +-# include +-# endif ++# include + #endif +- +-int +-main () ++int main(void) + { +- +-/* IoctlSocket source code */ +- if(0 != IoctlSocket(0, 0, 0)) +- return 1; ++ /* IoctlSocket source code */ ++ if(0 != IoctlSocket(0, 0, 0)) ++ return 1; + ; + return 0; + } + #endif ++ + #ifdef HAVE_IOCTLSOCKET_CAMEL_FIONBIO + /* includes start */ +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + # ifndef WIN32_LEAN_AND_MEAN + # define WIN32_LEAN_AND_MEAN + # endif +-# include +-# ifdef HAVE_WINSOCK2_H +-# include +-# endif ++# include + #endif +- +-int +-main () ++int main(void) + { +- +-/* IoctlSocket source code */ +- long flags = 0; +- if(0 != IoctlSocket(0, FIONBIO, &flags)) +- return 1; ++ /* IoctlSocket source code */ ++ long flags = 0; ++ if(0 != IoctlSocket(0, FIONBIO, &flags)) ++ return 1; + ; + return 0; + } + #endif ++ + #ifdef HAVE_IOCTLSOCKET_FIONBIO + /* includes start */ +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + # ifndef WIN32_LEAN_AND_MEAN + # define WIN32_LEAN_AND_MEAN + # endif +-# include +-# ifdef HAVE_WINSOCK2_H +-# include +-# endif ++# include + #endif +- +-int +-main () ++int main(void) + { +- +- int flags = 0; +- if(0 != ioctlsocket(0, FIONBIO, &flags)) +- return 1; +- ++ int flags = 0; ++ if(0 != ioctlsocket(0, FIONBIO, &flags)) ++ return 1; + ; + return 0; + } + #endif ++ + #ifdef HAVE_IOCTL_FIONBIO + /* headers for FIONBIO test */ + /* includes start */ +@@ -297,19 +254,16 @@ main () + #ifdef HAVE_STROPTS_H + # include + #endif +- +-int +-main () ++int main(void) + { +- +- int flags = 0; +- if(0 != ioctl(0, FIONBIO, &flags)) +- return 1; +- ++ int flags = 0; ++ if(0 != ioctl(0, FIONBIO, &flags)) ++ return 1; + ; + return 0; + } + #endif ++ + #ifdef HAVE_IOCTL_SIOCGIFADDR + /* headers for FIONBIO test */ + /* includes start */ +@@ -329,28 +283,23 @@ main () + # include + #endif + #include +- +-int +-main () ++int main(void) + { +- struct ifreq ifr; +- if(0 != ioctl(0, SIOCGIFADDR, &ifr)) +- return 1; +- ++ struct ifreq ifr; ++ if(0 != ioctl(0, SIOCGIFADDR, &ifr)) ++ return 1; + ; + return 0; + } + #endif ++ + #ifdef HAVE_SETSOCKOPT_SO_NONBLOCK + /* includes start */ +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + # ifndef WIN32_LEAN_AND_MEAN + # define WIN32_LEAN_AND_MEAN + # endif +-# include +-# ifdef HAVE_WINSOCK2_H +-# include +-# endif ++# include + #endif + /* includes start */ + #ifdef HAVE_SYS_TYPES_H +@@ -360,30 +309,30 @@ main () + # include + #endif + /* includes end */ +- +-int +-main () ++int main(void) + { +- if(0 != setsockopt(0, SOL_SOCKET, SO_NONBLOCK, 0, 0)) +- return 1; ++ if(0 != setsockopt(0, SOL_SOCKET, SO_NONBLOCK, 0, 0)) ++ return 1; + ; + return 0; + } + #endif ++ + #ifdef HAVE_GLIBC_STRERROR_R + #include + #include + + void check(char c) {} + +-int +-main () { ++int main(void) ++{ + char buffer[1024]; + /* This will not compile if strerror_r does not return a char* */ + check(strerror_r(EACCES, buffer, sizeof(buffer))[0]); + return 0; + } + #endif ++ + #ifdef HAVE_POSIX_STRERROR_R + #include + #include +@@ -391,92 +340,51 @@ main () { + /* float, because a pointer can't be implicitly cast to float */ + void check(float f) {} + +-int +-main () { ++int main(void) ++{ + char buffer[1024]; + /* This will not compile if strerror_r does not return an int */ + check(strerror_r(EACCES, buffer, sizeof(buffer))); + return 0; + } + #endif ++ + #ifdef HAVE_FSETXATTR_6 + #include /* header from libc, not from libattr */ +-int +-main() { ++int main(void) ++{ + fsetxattr(0, 0, 0, 0, 0, 0); + return 0; + } + #endif ++ + #ifdef HAVE_FSETXATTR_5 + #include /* header from libc, not from libattr */ +-int +-main() { ++int main(void) ++{ + fsetxattr(0, 0, 0, 0, 0); + return 0; + } + #endif ++ + #ifdef HAVE_CLOCK_GETTIME_MONOTONIC + #include +-int +-main() { ++int main(void) ++{ + struct timespec ts = {0, 0}; + clock_gettime(CLOCK_MONOTONIC, &ts); + return 0; + } + #endif ++ + #ifdef HAVE_BUILTIN_AVAILABLE +-int +-main() { ++int main(void) ++{ + if(__builtin_available(macOS 10.12, *)) {} + return 0; + } + #endif +-#ifdef HAVE_VARIADIC_MACROS_C99 +-#define c99_vmacro3(first, ...) fun3(first, __VA_ARGS__) +-#define c99_vmacro2(first, ...) fun2(first, __VA_ARGS__) +- +-int fun3(int arg1, int arg2, int arg3); +-int fun2(int arg1, int arg2); +- +-int fun3(int arg1, int arg2, int arg3) { +- return arg1 + arg2 + arg3; +-} +-int fun2(int arg1, int arg2) { +- return arg1 + arg2; +-} +- +-int +-main() { +- int res3 = c99_vmacro3(1, 2, 3); +- int res2 = c99_vmacro2(1, 2); +- (void)res3; +- (void)res2; +- return 0; +-} +-#endif +-#ifdef HAVE_VARIADIC_MACROS_GCC +-#define gcc_vmacro3(first, args...) fun3(first, args) +-#define gcc_vmacro2(first, args...) fun2(first, args) + +-int fun3(int arg1, int arg2, int arg3); +-int fun2(int arg1, int arg2); +- +-int fun3(int arg1, int arg2, int arg3) { +- return arg1 + arg2 + arg3; +-} +-int fun2(int arg1, int arg2) { +- return arg1 + arg2; +-} +- +-int +-main() { +- int res3 = gcc_vmacro3(1, 2, 3); +- int res2 = gcc_vmacro2(1, 2); +- (void)res3; +- (void)res2; +- return 0; +-} +-#endif + #ifdef HAVE_ATOMIC + /* includes start */ + #ifdef HAVE_SYS_TYPES_H +@@ -490,17 +398,24 @@ main() { + #endif + /* includes end */ + +-int +-main() { ++int main(void) ++{ + _Atomic int i = 1; + i = 0; /* Force an atomic-write operation. */ + return i; + } + #endif ++ + #ifdef HAVE_WIN32_WINNT + /* includes start */ +-#ifdef WIN32 +-# include "../lib/setup-win32.h" ++#ifdef _WIN32 ++# ifndef WIN32_LEAN_AND_MEAN ++# define WIN32_LEAN_AND_MEAN ++# endif ++# ifndef NOGDI ++# define NOGDI ++# endif ++# include + #endif + /* includes end */ + +@@ -508,8 +423,8 @@ main() { + #define expand(x) enquote(x) + #pragma message("_WIN32_WINNT=" expand(_WIN32_WINNT)) + +-int +-main() { ++int main(void) ++{ + return 0; + } + #endif +diff --git a/CMake/FindZstd.cmake b/CMake/FindZstd.cmake +index 973e6ad..0ea9e0c 100644 +--- a/CMake/FindZstd.cmake ++++ b/CMake/FindZstd.cmake +@@ -56,11 +56,18 @@ find_library(Zstd_LIBRARY NAMES zstd + ${PC_Zstd_LIBRARY_DIRS} + ) + ++if(Zstd_INCLUDE_DIR) ++ file(READ "${Zstd_INCLUDE_DIR}/zstd.h" _zstd_header) ++ string(REGEX MATCH ".*define ZSTD_VERSION_MAJOR *([0-9]+).*define ZSTD_VERSION_MINOR *([0-9]+).*define ZSTD_VERSION_RELEASE *([0-9]+)" _zstd_ver "${_zstd_header}") ++ set(Zstd_VERSION "${CMAKE_MATCH_1}.${CMAKE_MATCH_2}.${CMAKE_MATCH_3}") ++endif() ++ + include(FindPackageHandleStandardArgs) + find_package_handle_standard_args(Zstd + REQUIRED_VARS + Zstd_LIBRARY + Zstd_INCLUDE_DIR ++ VERSION_VAR Zstd_VERSION + ) + + if(Zstd_FOUND) +diff --git a/CMake/Macros.cmake b/CMake/Macros.cmake +index e12bf30..d5439fc 100644 +--- a/CMake/Macros.cmake ++++ b/CMake/Macros.cmake +@@ -23,19 +23,6 @@ + ########################################################################### + #File defines convenience macros for available feature testing + +-# This macro checks if the symbol exists in the library and if it +-# does, it prepends library to the list. It is intended to be called +-# multiple times with a sequence of possibly dependent libraries in +-# order of least-to-most-dependent. Some libraries depend on others +-# to link correctly. +-macro(check_library_exists_concat LIBRARY SYMBOL VARIABLE) +- check_library_exists("${LIBRARY};${CURL_LIBS}" ${SYMBOL} "${CMAKE_LIBRARY_PATH}" +- ${VARIABLE}) +- if(${VARIABLE}) +- set(CURL_LIBS ${LIBRARY} ${CURL_LIBS}) +- endif() +-endmacro() +- + # Check if header file exists and add it to the list. + # This macro is intended to be called multiple times with a sequence of + # possibly dependent header files. Some headers depend on others to be +@@ -58,7 +45,7 @@ macro(curl_internal_test CURL_TEST) + "-DLINK_LIBRARIES:STRING=${CMAKE_REQUIRED_LIBRARIES}") + endif() + +- message(STATUS "Performing Curl Test ${CURL_TEST}") ++ message(STATUS "Performing Test ${CURL_TEST}") + try_compile(${CURL_TEST} + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR}/CMake/CurlTests.c +@@ -67,49 +54,20 @@ macro(curl_internal_test CURL_TEST) + OUTPUT_VARIABLE OUTPUT) + if(${CURL_TEST}) + set(${CURL_TEST} 1 CACHE INTERNAL "Curl test ${FUNCTION}") +- message(STATUS "Performing Curl Test ${CURL_TEST} - Success") ++ message(STATUS "Performing Test ${CURL_TEST} - Success") + file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeOutput.log +- "Performing Curl Test ${CURL_TEST} passed with the following output:\n" ++ "Performing Test ${CURL_TEST} passed with the following output:\n" + "${OUTPUT}\n") + else() +- message(STATUS "Performing Curl Test ${CURL_TEST} - Failed") ++ message(STATUS "Performing Test ${CURL_TEST} - Failed") + set(${CURL_TEST} "" CACHE INTERNAL "Curl test ${FUNCTION}") + file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeError.log +- "Performing Curl Test ${CURL_TEST} failed with the following output:\n" ++ "Performing Test ${CURL_TEST} failed with the following output:\n" + "${OUTPUT}\n") + endif() + endif() + endmacro() + +-macro(curl_nroff_check) +- find_program(NROFF NAMES gnroff nroff) +- if(NROFF) +- # Need a way to write to stdin, this will do +- file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/nroff-input.txt" "test") +- # Tests for a valid nroff option to generate a manpage +- foreach(_MANOPT "-man" "-mandoc") +- execute_process(COMMAND "${NROFF}" ${_MANOPT} +- OUTPUT_VARIABLE NROFF_MANOPT_OUTPUT +- INPUT_FILE "${CMAKE_CURRENT_BINARY_DIR}/nroff-input.txt" +- ERROR_QUIET) +- # Save the option if it was valid +- if(NROFF_MANOPT_OUTPUT) +- message("Found *nroff option: -- ${_MANOPT}") +- set(NROFF_MANOPT ${_MANOPT}) +- set(NROFF_USEFUL ON) +- break() +- endif() +- endforeach() +- # No need for the temporary file +- file(REMOVE "${CMAKE_CURRENT_BINARY_DIR}/nroff-input.txt") +- if(NOT NROFF_USEFUL) +- message(WARNING "Found no *nroff option to get plaintext from man pages") +- endif() +- else() +- message(WARNING "Found no *nroff program") +- endif() +-endmacro() +- + macro(optional_dependency DEPENDENCY) + set(CURL_${DEPENDENCY} AUTO CACHE STRING "Build curl with ${DEPENDENCY} support (AUTO, ON or OFF)") + set_property(CACHE CURL_${DEPENDENCY} PROPERTY STRINGS AUTO ON OFF) +diff --git a/CMake/OtherTests.cmake b/CMake/OtherTests.cmake +index d67a905..7701c0e 100644 +--- a/CMake/OtherTests.cmake ++++ b/CMake/OtherTests.cmake +@@ -23,115 +23,89 @@ + ########################################################################### + include(CheckCSourceCompiles) + include(CheckCSourceRuns) +- +-# The begin of the sources (macros and includes) +-set(_source_epilogue "#undef inline") ++include(CheckTypeSize) + + macro(add_header_include check header) + if(${check}) +- set(_source_epilogue "${_source_epilogue}\n#include <${header}>") ++ set(_source_epilogue "${_source_epilogue} ++ #include <${header}>") + endif() + endmacro() + +-set(signature_call_conv) +-if(HAVE_WINDOWS_H) +- add_header_include(HAVE_WINSOCK2_H "winsock2.h") +- add_header_include(HAVE_WINDOWS_H "windows.h") +- set(_source_epilogue +- "${_source_epilogue}\n#ifndef WIN32_LEAN_AND_MEAN\n#define WIN32_LEAN_AND_MEAN\n#endif") +- set(signature_call_conv "PASCAL") ++set(CMAKE_TRY_COMPILE_TARGET_TYPE STATIC_LIBRARY) ++ ++if(NOT DEFINED HAVE_STRUCT_SOCKADDR_STORAGE) ++ set(CMAKE_EXTRA_INCLUDE_FILES) + if(WIN32) +- set(CMAKE_REQUIRED_LIBRARIES ws2_32) ++ set(CMAKE_EXTRA_INCLUDE_FILES "winsock2.h") ++ set(CMAKE_REQUIRED_DEFINITIONS "-DWIN32_LEAN_AND_MEAN") ++ set(CMAKE_REQUIRED_LIBRARIES "ws2_32") ++ elseif(HAVE_SYS_SOCKET_H) ++ set(CMAKE_EXTRA_INCLUDE_FILES "sys/socket.h") + endif() +-else() ++ check_type_size("struct sockaddr_storage" SIZEOF_STRUCT_SOCKADDR_STORAGE) ++ set(HAVE_STRUCT_SOCKADDR_STORAGE ${HAVE_SIZEOF_STRUCT_SOCKADDR_STORAGE}) ++endif() ++ ++if(NOT WIN32) ++ set(_source_epilogue "#undef inline") + add_header_include(HAVE_SYS_TYPES_H "sys/types.h") + add_header_include(HAVE_SYS_SOCKET_H "sys/socket.h") ++ check_c_source_compiles("${_source_epilogue} ++ int main(void) ++ { ++ int flag = MSG_NOSIGNAL; ++ (void)flag; ++ return 0; ++ }" HAVE_MSG_NOSIGNAL) + endif() + +-set(CMAKE_TRY_COMPILE_TARGET_TYPE STATIC_LIBRARY) +- ++set(_source_epilogue "#undef inline") ++add_header_include(HAVE_SYS_TIME_H "sys/time.h") + check_c_source_compiles("${_source_epilogue} +- int main(void) { +- int flag = MSG_NOSIGNAL; +- (void)flag; ++ #include ++ int main(void) ++ { ++ struct timeval ts; ++ ts.tv_sec = 0; ++ ts.tv_usec = 0; ++ (void)ts; + return 0; +- }" HAVE_MSG_NOSIGNAL) +- +-if(NOT HAVE_WINDOWS_H) +- add_header_include(HAVE_SYS_TIME_H "sys/time.h") +-endif() +-check_c_source_compiles("${_source_epilogue} +-#include +-int main(void) { +- struct timeval ts; +- ts.tv_sec = 0; +- ts.tv_usec = 0; +- (void)ts; +- return 0; +-}" HAVE_STRUCT_TIMEVAL) +- +-if(HAVE_WINDOWS_H) +- set(CMAKE_EXTRA_INCLUDE_FILES winsock2.h) +-else() +- set(CMAKE_EXTRA_INCLUDE_FILES) +- if(HAVE_SYS_SOCKET_H) +- set(CMAKE_EXTRA_INCLUDE_FILES sys/socket.h) +- endif() +-endif() +- +-check_type_size("struct sockaddr_storage" SIZEOF_STRUCT_SOCKADDR_STORAGE) +-if(HAVE_SIZEOF_STRUCT_SOCKADDR_STORAGE) +- set(HAVE_STRUCT_SOCKADDR_STORAGE 1) +-endif() ++ }" HAVE_STRUCT_TIMEVAL) + + unset(CMAKE_TRY_COMPILE_TARGET_TYPE) + +-if(NOT CMAKE_CROSSCOMPILING) +- if(NOT ${CMAKE_SYSTEM_NAME} MATCHES "Darwin" AND NOT ${CMAKE_SYSTEM_NAME} MATCHES "iOS") +- # only try this on non-apple platforms +- +- # if not cross-compilation... +- set(CMAKE_REQUIRED_FLAGS "") +- if(HAVE_SYS_POLL_H) +- set(CMAKE_REQUIRED_FLAGS "-DHAVE_SYS_POLL_H") +- elseif(HAVE_POLL_H) +- set(CMAKE_REQUIRED_FLAGS "-DHAVE_POLL_H") +- endif() +- check_c_source_runs(" +- #include +- #include +- +- #ifdef HAVE_SYS_POLL_H +- # include +- #elif HAVE_POLL_H +- # include +- #endif +- +- int main(void) +- { +- if(0 != poll(0, 0, 10)) { +- return 1; /* fail */ +- } +- else { +- /* detect the 10.12 poll() breakage */ +- struct timeval before, after; +- int rc; +- size_t us; +- +- gettimeofday(&before, NULL); +- rc = poll(NULL, 0, 500); +- gettimeofday(&after, NULL); +- +- us = (after.tv_sec - before.tv_sec) * 1000000 + +- (after.tv_usec - before.tv_usec); +- +- if(us < 400000) { +- return 1; +- } +- } +- return 0; ++if(NOT CMAKE_CROSSCOMPILING AND NOT APPLE) ++ set(_source_epilogue "#undef inline") ++ add_header_include(HAVE_SYS_POLL_H "sys/poll.h") ++ add_header_include(HAVE_POLL_H "poll.h") ++ check_c_source_runs("${_source_epilogue} ++ #include ++ #include ++ int main(void) ++ { ++ if(0 != poll(0, 0, 10)) { ++ return 1; /* fail */ ++ } ++ else { ++ /* detect the 10.12 poll() breakage */ ++ struct timeval before, after; ++ int rc; ++ size_t us; ++ ++ gettimeofday(&before, NULL); ++ rc = poll(NULL, 0, 500); ++ gettimeofday(&after, NULL); ++ ++ us = (after.tv_sec - before.tv_sec) * 1000000 + ++ (after.tv_usec - before.tv_usec); ++ ++ if(us < 400000) { ++ return 1; ++ } ++ } ++ return 0; + }" HAVE_POLL_FINE) +- endif() + endif() + + # Detect HAVE_GETADDRINFO_THREADSAFE +@@ -140,8 +114,8 @@ if(WIN32) + set(HAVE_GETADDRINFO_THREADSAFE ${HAVE_GETADDRINFO}) + elseif(NOT HAVE_GETADDRINFO) + set(HAVE_GETADDRINFO_THREADSAFE FALSE) +-elseif(CMAKE_SYSTEM_NAME STREQUAL "AIX" OR +- CMAKE_SYSTEM_NAME STREQUAL "Darwin" OR ++elseif(APPLE OR ++ CMAKE_SYSTEM_NAME STREQUAL "AIX" OR + CMAKE_SYSTEM_NAME STREQUAL "FreeBSD" OR + CMAKE_SYSTEM_NAME STREQUAL "HP-UX" OR + CMAKE_SYSTEM_NAME STREQUAL "MidnightBSD" OR +@@ -153,14 +127,10 @@ elseif(CMAKE_SYSTEM_NAME MATCHES "BSD") + endif() + + if(NOT DEFINED HAVE_GETADDRINFO_THREADSAFE) +- +- set(_save_epilogue "${_source_epilogue}") + set(_source_epilogue "#undef inline") +- + add_header_include(HAVE_SYS_SOCKET_H "sys/socket.h") + add_header_include(HAVE_SYS_TIME_H "sys/time.h") + add_header_include(HAVE_NETDB_H "netdb.h") +- + check_c_source_compiles("${_source_epilogue} + int main(void) + { +@@ -172,7 +142,7 @@ if(NOT DEFINED HAVE_GETADDRINFO_THREADSAFE) + }" HAVE_H_ERRNO) + + if(NOT HAVE_H_ERRNO) +- check_c_source_runs("${_source_epilogue} ++ check_c_source_compiles("${_source_epilogue} + int main(void) + { + h_errno = 2; +@@ -197,17 +167,12 @@ if(NOT DEFINED HAVE_GETADDRINFO_THREADSAFE) + if(HAVE_H_ERRNO OR HAVE_H_ERRNO_ASSIGNABLE OR HAVE_H_ERRNO_SBS_ISSUE_7) + set(HAVE_GETADDRINFO_THREADSAFE TRUE) + endif() +- +- set(_source_epilogue "${_save_epilogue}") + endif() + +-if(NOT DEFINED HAVE_CLOCK_GETTIME_MONOTONIC_RAW) +- set(_save_epilogue "${_source_epilogue}") ++if(NOT WIN32 AND NOT DEFINED HAVE_CLOCK_GETTIME_MONOTONIC_RAW) + set(_source_epilogue "#undef inline") +- + add_header_include(HAVE_SYS_TYPES_H "sys/types.h") + add_header_include(HAVE_SYS_TIME_H "sys/time.h") +- + check_c_source_compiles("${_source_epilogue} + #include + int main(void) +@@ -216,6 +181,4 @@ if(NOT DEFINED HAVE_CLOCK_GETTIME_MONOTONIC_RAW) + (void)clock_gettime(CLOCK_MONOTONIC_RAW, &ts); + return 0; + }" HAVE_CLOCK_GETTIME_MONOTONIC_RAW) +- +- set(_source_epilogue "${_save_epilogue}") + endif() +diff --git a/CMake/PickyWarnings.cmake b/CMake/PickyWarnings.cmake +index 1310cb4..d82bbb1 100644 +--- a/CMake/PickyWarnings.cmake ++++ b/CMake/PickyWarnings.cmake +@@ -23,6 +23,12 @@ + ########################################################################### + include(CheckCCompilerFlag) + ++unset(WPICKY) ++ ++if(CURL_WERROR AND CMAKE_COMPILER_IS_GNUCC AND NOT CMAKE_C_COMPILER_VERSION VERSION_LESS 5.0) ++ set(WPICKY "${WPICKY} -pedantic-errors") ++endif() ++ + if(PICKY_COMPILER) + if(CMAKE_COMPILER_IS_GNUCC OR CMAKE_C_COMPILER_ID MATCHES "Clang") + +@@ -52,8 +58,8 @@ if(PICKY_COMPILER) + # Assume these options always exist with both clang and gcc. + # Require clang 3.0 / gcc 2.95 or later. + list(APPEND WPICKY_ENABLE +- -Wbad-function-cast # clang 3.0 gcc 2.95 +- -Wconversion # clang 3.0 gcc 2.95 ++ -Wbad-function-cast # clang 2.7 gcc 2.95 ++ -Wconversion # clang 2.7 gcc 2.95 + -Winline # clang 1.0 gcc 1.0 + -Wmissing-declarations # clang 1.0 gcc 2.7 + -Wmissing-prototypes # clang 1.0 gcc 1.0 +@@ -70,23 +76,38 @@ if(PICKY_COMPILER) + + # Always enable with clang, version dependent with gcc + set(WPICKY_COMMON_OLD ++ -Waddress # clang 2.7 gcc 4.3 ++ -Wattributes # clang 2.7 gcc 4.1 + -Wcast-align # clang 1.0 gcc 4.2 + -Wdeclaration-after-statement # clang 1.0 gcc 3.4 +- -Wempty-body # clang 3.0 gcc 4.3 ++ -Wdiv-by-zero # clang 2.7 gcc 4.1 ++ -Wempty-body # clang 2.7 gcc 4.3 + -Wendif-labels # clang 1.0 gcc 3.3 + -Wfloat-equal # clang 1.0 gcc 2.96 (3.0) +- -Wignored-qualifiers # clang 3.0 gcc 4.3 ++ -Wformat-security # clang 2.7 gcc 4.1 ++ -Wignored-qualifiers # clang 2.8 gcc 4.3 ++ -Wmissing-field-initializers # clang 2.7 gcc 4.1 ++ -Wmissing-noreturn # clang 2.7 gcc 4.1 + -Wno-format-nonliteral # clang 1.0 gcc 2.96 (3.0) +- -Wno-sign-conversion # clang 3.0 gcc 4.3 + -Wno-system-headers # clang 1.0 gcc 3.0 ++ # -Wpadded # clang 2.9 gcc 4.1 # Not used because we cannot change public structs ++ -Wold-style-definition # clang 2.7 gcc 3.4 ++ -Wredundant-decls # clang 2.7 gcc 4.1 ++ -Wsign-conversion # clang 2.9 gcc 4.3 ++ -Wno-error=sign-conversion # FIXME + -Wstrict-prototypes # clang 1.0 gcc 3.3 +- -Wtype-limits # clang 3.0 gcc 4.3 ++ # -Wswitch-enum # clang 2.7 gcc 4.1 # Not used because this basically disallows default case ++ -Wtype-limits # clang 2.7 gcc 4.3 ++ -Wunreachable-code # clang 2.7 gcc 4.1 ++ # -Wunused-macros # clang 2.7 gcc 4.1 # Not practical ++ -Wunused-parameter # clang 2.7 gcc 4.1 + -Wvla # clang 2.8 gcc 4.3 + ) + + set(WPICKY_COMMON + -Wdouble-promotion # clang 3.6 gcc 4.6 appleclang 6.3 + -Wenum-conversion # clang 3.2 gcc 10.0 appleclang 4.6 g++ 11.0 ++ -Wpragmas # clang 3.5 gcc 4.1 appleclang 6.0 + -Wunused-const-variable # clang 3.4 gcc 6.0 appleclang 5.1 + ) + +@@ -95,12 +116,17 @@ if(PICKY_COMPILER) + ${WPICKY_COMMON_OLD} + -Wshift-sign-overflow # clang 2.9 + -Wshorten-64-to-32 # clang 1.0 ++ -Wlanguage-extension-token # clang 3.0 ++ -Wformat=2 # clang 3.0 gcc 4.8 + ) + # Enable based on compiler version + if((CMAKE_C_COMPILER_ID STREQUAL "Clang" AND NOT CMAKE_C_COMPILER_VERSION VERSION_LESS 3.6) OR + (CMAKE_C_COMPILER_ID STREQUAL "AppleClang" AND NOT CMAKE_C_COMPILER_VERSION VERSION_LESS 6.3)) + list(APPEND WPICKY_ENABLE + ${WPICKY_COMMON} ++ -Wunreachable-code-break # clang 3.5 appleclang 6.0 ++ -Wheader-guard # clang 3.4 appleclang 5.1 ++ -Wsometimes-uninitialized # clang 3.2 appleclang 4.6 + ) + endif() + if((CMAKE_C_COMPILER_ID STREQUAL "Clang" AND NOT CMAKE_C_COMPILER_VERSION VERSION_LESS 3.9) OR +@@ -117,6 +143,12 @@ if(PICKY_COMPILER) + -Wextra-semi-stmt # clang 7.0 appleclang 10.3 + ) + endif() ++ if((CMAKE_C_COMPILER_ID STREQUAL "Clang" AND NOT CMAKE_C_COMPILER_VERSION VERSION_LESS 10.0) OR ++ (CMAKE_C_COMPILER_ID STREQUAL "AppleClang" AND NOT CMAKE_C_COMPILER_VERSION VERSION_LESS 12.4)) ++ list(APPEND WPICKY_ENABLE ++ -Wimplicit-fallthrough # clang 4.0 gcc 7.0 appleclang 12.4 # we have silencing markup for clang 10.0 and above only ++ ) ++ endif() + else() # gcc + list(APPEND WPICKY_DETECT + ${WPICKY_COMMON} +@@ -125,9 +157,11 @@ if(PICKY_COMPILER) + if(NOT CMAKE_C_COMPILER_VERSION VERSION_LESS 4.3) + list(APPEND WPICKY_ENABLE + ${WPICKY_COMMON_OLD} ++ -Wclobbered # gcc 4.3 + -Wmissing-parameter-type # gcc 4.3 + -Wold-style-declaration # gcc 4.3 + -Wstrict-aliasing=3 # gcc 4.0 ++ -Wtrampolines # gcc 4.3 + ) + endif() + if(NOT CMAKE_C_COMPILER_VERSION VERSION_LESS 4.5 AND MINGW) +@@ -137,7 +171,7 @@ if(PICKY_COMPILER) + endif() + if(NOT CMAKE_C_COMPILER_VERSION VERSION_LESS 4.8) + list(APPEND WPICKY_ENABLE +- -Wformat=2 # clang 3.0 gcc 4.8 (clang part-default, enabling it fully causes -Wformat-nonliteral warnings) ++ -Wformat=2 # clang 3.0 gcc 4.8 + ) + endif() + if(NOT CMAKE_C_COMPILER_VERSION VERSION_LESS 5.0) +@@ -159,7 +193,8 @@ if(PICKY_COMPILER) + -Walloc-zero # gcc 7.0 + -Wduplicated-branches # gcc 7.0 + -Wformat-overflow=2 # gcc 7.0 +- -Wformat-truncation=1 # gcc 7.0 ++ -Wformat-truncation=2 # gcc 7.0 ++ -Wimplicit-fallthrough # clang 4.0 gcc 7.0 + -Wrestrict # gcc 7.0 + ) + endif() +@@ -172,13 +207,11 @@ if(PICKY_COMPILER) + + # + +- unset(WPICKY) +- +- foreach(_CCOPT ${WPICKY_ENABLE}) ++ foreach(_CCOPT IN LISTS WPICKY_ENABLE) + set(WPICKY "${WPICKY} ${_CCOPT}") + endforeach() + +- foreach(_CCOPT ${WPICKY_DETECT}) ++ foreach(_CCOPT IN LISTS WPICKY_DETECT) + # surprisingly, CHECK_C_COMPILER_FLAG needs a new variable to store each new + # test result in. + string(MAKE_C_IDENTIFIER "OPT${_CCOPT}" _optvarname) +@@ -190,8 +223,10 @@ if(PICKY_COMPILER) + set(WPICKY "${WPICKY} ${_CCOPT}") + endif() + endforeach() +- +- message(STATUS "Picky compiler options:${WPICKY}") +- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${WPICKY}") + endif() + endif() ++ ++if(WPICKY) ++ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${WPICKY}") ++ message(STATUS "Picky compiler options:${WPICKY}") ++endif() +diff --git a/CMake/Platforms/WindowsCache.cmake b/CMake/Platforms/WindowsCache.cmake +index 5daec0e..d3391d9 100644 +--- a/CMake/Platforms/WindowsCache.cmake ++++ b/CMake/Platforms/WindowsCache.cmake +@@ -21,113 +21,168 @@ + # SPDX-License-Identifier: curl + # + ########################################################################### +-if(NOT UNIX) +- if(WIN32) ++if(NOT WIN32) ++ message(FATAL_ERROR "This file should be included on Windows platform only") ++endif() + +- set(HAVE_WINDOWS_H 1) +- set(HAVE_WS2TCPIP_H 1) +- set(HAVE_WINSOCK2_H 1) ++set(HAVE_LOCALE_H 1) + +- if(MINGW) +- set(HAVE_SNPRINTF 1) +- set(HAVE_UNISTD_H 1) +- set(HAVE_INTTYPES_H 1) ++if(MINGW) ++ set(HAVE_SNPRINTF 1) ++ set(HAVE_UNISTD_H 1) ++ set(HAVE_LIBGEN_H 1) ++ set(HAVE_STDDEF_H 1) # detected by CMake internally in check_type_size() ++ set(HAVE_STDBOOL_H 1) ++ set(HAVE_BOOL_T "${HAVE_STDBOOL_H}") ++ set(HAVE_STRTOLL 1) ++ set(HAVE_BASENAME 1) ++ set(HAVE_STRCASECMP 1) ++ set(HAVE_FTRUNCATE 1) ++ set(HAVE_SYS_PARAM_H 1) ++ set(HAVE_SYS_TIME_H 1) ++ set(HAVE_GETTIMEOFDAY 1) ++else() ++ set(HAVE_LIBGEN_H 0) ++ set(HAVE_STRCASECMP 0) ++ set(HAVE_FTRUNCATE 0) ++ set(HAVE_SYS_PARAM_H 0) ++ set(HAVE_SYS_TIME_H 0) ++ set(HAVE_GETTIMEOFDAY 0) ++ if(MSVC) ++ set(HAVE_UNISTD_H 0) ++ set(HAVE_LOCALE_H 1) ++ set(HAVE_STDDEF_H 1) # detected by CMake internally in check_type_size() ++ set(HAVE_STDATOMIC_H 0) ++ if(NOT MSVC_VERSION LESS 1800) ++ set(HAVE_STDBOOL_H 1) + set(HAVE_STRTOLL 1) +- set(HAVE_BASENAME 1) +- elseif(MSVC) +- if(NOT MSVC_VERSION LESS 1800) +- set(HAVE_INTTYPES_H 1) +- set(HAVE_STRTOLL 1) +- else() +- set(HAVE_INTTYPES_H 0) +- set(HAVE_STRTOLL 0) +- endif() +- if(NOT MSVC_VERSION LESS 1900) +- set(HAVE_SNPRINTF 1) +- else() +- set(HAVE_SNPRINTF 0) +- endif() +- set(HAVE_BASENAME 0) ++ else() ++ set(HAVE_STDBOOL_H 0) ++ set(HAVE_STRTOLL 0) + endif() ++ set(HAVE_BOOL_T "${HAVE_STDBOOL_H}") ++ if(NOT MSVC_VERSION LESS 1900) ++ set(HAVE_SNPRINTF 1) ++ else() ++ set(HAVE_SNPRINTF 0) ++ endif() ++ set(HAVE_BASENAME 0) ++ set(HAVE_STRTOK_R 0) ++ set(HAVE_FILE_OFFSET_BITS 0) ++ set(HAVE_ATOMIC 0) ++ endif() ++endif() + +- set(HAVE_LIBSOCKET 0) +- set(HAVE_GETHOSTNAME 1) +- set(HAVE_LIBZ 0) ++# Available in Windows XP and newer ++set(HAVE_GETADDRINFO 1) ++set(HAVE_FREEADDRINFO 1) + +- set(HAVE_ARC4RANDOM 0) +- set(HAVE_FNMATCH 0) +- set(HAVE_SCHED_YIELD 0) +- set(HAVE_ARPA_INET_H 0) +- set(HAVE_FCNTL_H 1) +- set(HAVE_IFADDRS_H 0) +- set(HAVE_IO_H 1) +- set(HAVE_NETDB_H 0) +- set(HAVE_NETINET_IN_H 0) +- set(HAVE_NETINET_TCP_H 0) +- set(HAVE_NETINET_UDP_H 0) +- set(HAVE_NET_IF_H 0) +- set(HAVE_IOCTL_SIOCGIFADDR 0) +- set(HAVE_POLL_H 0) +- set(HAVE_POLL_FINE 0) +- set(HAVE_PWD_H 0) +- set(HAVE_STRINGS_H 0) +- set(HAVE_SYS_FILIO_H 0) +- set(HAVE_SYS_WAIT_H 0) +- set(HAVE_SYS_IOCTL_H 0) +- set(HAVE_SYS_PARAM_H 0) +- set(HAVE_SYS_POLL_H 0) +- set(HAVE_SYS_RESOURCE_H 0) +- set(HAVE_SYS_SELECT_H 0) +- set(HAVE_SYS_SOCKET_H 0) +- set(HAVE_SYS_SOCKIO_H 0) +- set(HAVE_SYS_STAT_H 1) +- set(HAVE_SYS_TIME_H 0) +- set(HAVE_SYS_TYPES_H 1) +- set(HAVE_SYS_UN_H 0) +- set(HAVE_SYS_UTIME_H 1) +- set(HAVE_TERMIOS_H 0) +- set(HAVE_TERMIO_H 0) +- set(HAVE_UTIME_H 0) ++set(HAVE_FCHMOD 0) ++set(HAVE_SOCKETPAIR 0) ++set(HAVE_SENDMSG 0) ++set(HAVE_ALARM 0) ++set(HAVE_FCNTL 0) ++set(HAVE_GETPPID 0) ++set(HAVE_UTIMES 0) ++set(HAVE_GETPWUID_R 0) ++set(HAVE_STRERROR_R 0) ++set(HAVE_SIGINTERRUPT 0) ++set(HAVE_PIPE 0) ++set(HAVE_IF_NAMETOINDEX 0) ++set(HAVE_GETRLIMIT 0) ++set(HAVE_SETRLIMIT 0) ++set(HAVE_FSETXATTR 0) ++set(HAVE_LIBSOCKET 0) ++set(HAVE_SETLOCALE 1) ++set(HAVE_SETMODE 1) ++set(HAVE_GETPEERNAME 1) ++set(HAVE_GETSOCKNAME 1) ++set(HAVE_GETHOSTNAME 1) ++set(HAVE_LIBZ 0) + +- set(HAVE_FSEEKO 0) +- set(HAVE__FSEEKI64 1) +- set(HAVE_SOCKET 1) +- set(HAVE_SELECT 1) +- set(HAVE_STRDUP 1) +- set(HAVE_STRICMP 1) +- set(HAVE_STRCMPI 1) +- set(HAVE_MEMRCHR 0) +- set(HAVE_GETTIMEOFDAY 0) +- set(HAVE_CLOSESOCKET 1) +- set(HAVE_SIGSETJMP 0) +- set(HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1) +- set(HAVE_GETPASS_R 0) +- set(HAVE_GETPWUID 0) +- set(HAVE_GETEUID 0) +- set(HAVE_UTIME 1) +- set(HAVE_GMTIME_R 0) +- set(HAVE_CLOCK_GETTIME_MONOTONIC_RAW 0) +- set(HAVE_GETHOSTBYNAME_R 0) +- set(HAVE_SIGNAL 1) +- set(HAVE_LINUX_TCP_H 0) +- set(HAVE_GLIBC_STRERROR_R 0) +- set(HAVE_MACH_ABSOLUTE_TIME 0) +- set(HAVE_GETIFADDRS 0) ++set(HAVE_RECV 1) ++set(HAVE_SEND 1) ++set(HAVE_STROPTS_H 0) ++set(HAVE_SYS_XATTR_H 0) ++set(HAVE_ARC4RANDOM 0) ++set(HAVE_FNMATCH 0) ++set(HAVE_SCHED_YIELD 0) ++set(HAVE_ARPA_INET_H 0) ++set(HAVE_FCNTL_H 1) ++set(HAVE_IFADDRS_H 0) ++set(HAVE_IO_H 1) ++set(HAVE_NETDB_H 0) ++set(HAVE_NETINET_IN_H 0) ++set(HAVE_NETINET_TCP_H 0) ++set(HAVE_NETINET_UDP_H 0) ++set(HAVE_NET_IF_H 0) ++set(HAVE_IOCTL_SIOCGIFADDR 0) ++set(HAVE_POLL_H 0) ++set(HAVE_POLL_FINE 0) ++set(HAVE_PWD_H 0) ++set(HAVE_STRINGS_H 0) # mingw-w64 has it (wrapper to string.h) ++set(HAVE_SYS_FILIO_H 0) ++set(HAVE_SYS_WAIT_H 0) ++set(HAVE_SYS_IOCTL_H 0) ++set(HAVE_SYS_POLL_H 0) ++set(HAVE_SYS_RESOURCE_H 0) ++set(HAVE_SYS_SELECT_H 0) ++set(HAVE_SYS_SOCKET_H 0) ++set(HAVE_SYS_SOCKIO_H 0) ++set(HAVE_SYS_STAT_H 1) ++set(HAVE_SYS_TYPES_H 1) ++set(HAVE_SYS_UN_H 0) ++set(HAVE_SYS_UTIME_H 1) ++set(HAVE_TERMIOS_H 0) ++set(HAVE_TERMIO_H 0) ++set(HAVE_UTIME_H 0) # mingw-w64 has it (wrapper to sys/utime.h) + +- set(HAVE_GETHOSTBYNAME_R_3 0) +- set(HAVE_GETHOSTBYNAME_R_3_REENTRANT 0) +- set(HAVE_GETHOSTBYNAME_R_5 0) +- set(HAVE_GETHOSTBYNAME_R_5_REENTRANT 0) +- set(HAVE_GETHOSTBYNAME_R_6 0) +- set(HAVE_GETHOSTBYNAME_R_6_REENTRANT 0) ++set(HAVE_FSEEKO 0) ++set(HAVE__FSEEKI64 1) ++set(HAVE_SOCKET 1) ++set(HAVE_SELECT 1) ++set(HAVE_STRDUP 1) ++set(HAVE_STRICMP 1) ++set(HAVE_STRCMPI 1) ++set(HAVE_MEMRCHR 0) ++set(HAVE_CLOSESOCKET 1) ++set(HAVE_SIGSETJMP 0) ++set(HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1) ++set(HAVE_GETPASS_R 0) ++set(HAVE_GETPWUID 0) ++set(HAVE_GETEUID 0) ++set(HAVE_UTIME 1) ++set(HAVE_GMTIME_R 0) ++set(HAVE_GETHOSTBYNAME_R 0) ++set(HAVE_SIGNAL 1) ++set(HAVE_SIGACTION 0) ++set(HAVE_LINUX_TCP_H 0) ++set(HAVE_GLIBC_STRERROR_R 0) ++set(HAVE_MACH_ABSOLUTE_TIME 0) ++set(HAVE_GETIFADDRS 0) ++set(HAVE_FCNTL_O_NONBLOCK 0) ++set(HAVE_IOCTLSOCKET 1) ++set(HAVE_IOCTLSOCKET_CAMEL 0) ++set(HAVE_IOCTLSOCKET_CAMEL_FIONBIO 0) ++set(HAVE_IOCTLSOCKET_FIONBIO 1) ++set(HAVE_IOCTL_FIONBIO 0) ++set(HAVE_SETSOCKOPT_SO_NONBLOCK 0) ++set(HAVE_POSIX_STRERROR_R 0) ++set(HAVE_BUILTIN_AVAILABLE 0) ++set(HAVE_MSG_NOSIGNAL 0) ++set(HAVE_STRUCT_TIMEVAL 1) ++set(HAVE_STRUCT_SOCKADDR_STORAGE 1) + +- set(HAVE_O_NONBLOCK 0) +- set(HAVE_IN_ADDR_T 0) +- set(STDC_HEADERS 1) ++set(HAVE_GETHOSTBYNAME_R_3 0) ++set(HAVE_GETHOSTBYNAME_R_3_REENTRANT 0) ++set(HAVE_GETHOSTBYNAME_R_5 0) ++set(HAVE_GETHOSTBYNAME_R_5_REENTRANT 0) ++set(HAVE_GETHOSTBYNAME_R_6 0) ++set(HAVE_GETHOSTBYNAME_R_6_REENTRANT 0) + +- set(HAVE_SIGACTION 0) +- set(HAVE_MACRO_SIGSETJMP 0) +- else() +- message("This file should be included on Windows platform only") +- endif() +-endif() ++set(HAVE_O_NONBLOCK 0) ++set(HAVE_IN_ADDR_T 0) ++set(STDC_HEADERS 1) ++ ++set(HAVE_SIZEOF_SUSECONDS_T 0) ++set(HAVE_SIZEOF_SA_FAMILY_T 0) +diff --git a/CMake/Utilities.cmake b/CMake/Utilities.cmake +index 9ff38e3..84a40f4 100644 +--- a/CMake/Utilities.cmake ++++ b/CMake/Utilities.cmake +@@ -23,7 +23,7 @@ + ########################################################################### + # File containing various utilities + +-# Returns a list of arguments that evaluate to true ++# Returns number of arguments that evaluate to true + function(count_true output_count_var) + set(lst_len 0) + foreach(option_var IN LISTS ARGN) +diff --git a/CMake/curl-config.cmake.in b/CMake/curl-config.cmake.in +index 056907c..9adb96e 100644 +--- a/CMake/curl-config.cmake.in ++++ b/CMake/curl-config.cmake.in +@@ -35,4 +35,6 @@ include("${CMAKE_CURRENT_LIST_DIR}/@TARGETS_EXPORT_NAME@.cmake") + check_required_components("@PROJECT_NAME@") + + # Alias for either shared or static library +-add_library(@PROJECT_NAME@::libcurl ALIAS @PROJECT_NAME@::@LIB_SELECTED@) ++if(NOT TARGET @PROJECT_NAME@::libcurl) ++ add_library(@PROJECT_NAME@::libcurl ALIAS @PROJECT_NAME@::@LIB_SELECTED@) ++endif() +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 1b19c68..656aa7c 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -21,25 +21,8 @@ + # SPDX-License-Identifier: curl + # + ########################################################################### +-# curl/libcurl CMake script + # by Tetetest and Sukender (Benoit Neil) + +-# TODO: +-# The output .so file lacks the soname number which we currently have within the lib/Makefile.am file +-# Add full (4 or 5 libs) SSL support +-# Add INSTALL target (EXTRA_DIST variables in Makefile.am may be moved to Makefile.inc so that CMake/CPack is aware of what's to include). +-# Check on all possible platforms +-# Test with as many configurations possible (With or without any option) +-# Create scripts that help keeping the CMake build system up to date (to reduce maintenance). According to Tetetest: +-# - lists of headers that 'configure' checks for; +-# - curl-specific tests (the ones that are in m4/curl-*.m4 files); +-# - (most obvious thing:) curl version numbers. +-# Add documentation subproject +-# +-# To check: +-# (From Daniel Stenberg) The cmake build selected to run gcc with -fPIC on my box while the plain configure script did not. +-# (From Daniel Stenberg) The gcc command line use neither -g nor any -O options. As a developer, I also treasure our configure scripts's --enable-debug option that sets a long range of "picky" compiler options. +- + # Note: By default this CMake build script detects the version of some + # dependencies using `check_symbol_exists`. Those checks do not work + # in the case that both CURL and its dependency are included as +@@ -54,13 +37,13 @@ + # HAVE_GNUTLS_SRP: `gnutls_srp_verifier` present in GnuTLS + # HAVE_SSL_CTX_SET_QUIC_METHOD: `SSL_CTX_set_quic_method` present in OpenSSL/wolfSSL + # HAVE_QUICHE_CONN_SET_QLOG_FD: `quiche_conn_set_qlog_fd` present in QUICHE +-# HAVE_ZSTD_CREATEDSTREAM: `ZSTD_createDStream` present in Zstd + # + # For each of the above variables, if the variable is DEFINED (either + # to ON or OFF), the symbol detection will be skipped. If the + # variable is NOT DEFINED, the symbol detection will be performed. + + cmake_minimum_required(VERSION 3.7...3.16 FATAL_ERROR) ++message(STATUS "Using CMake version ${CMAKE_VERSION}") + + set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/CMake;${CMAKE_MODULE_PATH}") + include(Utilities) +@@ -105,6 +88,8 @@ option(BUILD_SHARED_LIBS "Build shared libraries" ON) + option(BUILD_STATIC_LIBS "Build static libraries" OFF) + option(BUILD_STATIC_CURL "Build curl executable with static libcurl" OFF) + option(ENABLE_ARES "Set to ON to enable c-ares support" OFF) ++option(CURL_DISABLE_INSTALL "Set to ON to disable installation targets" OFF) ++ + if(WIN32) + option(CURL_STATIC_CRT "Set to ON to build libcurl with static CRT on Windows (/MT)." OFF) + option(ENABLE_UNICODE "Set to ON to use the Unicode version of the Windows API functions" OFF) +@@ -220,6 +205,8 @@ option(CURL_DISABLE_GETOPTIONS "disables curl_easy_options API for existing opti + mark_as_advanced(CURL_DISABLE_GETOPTIONS) + option(CURL_DISABLE_GOPHER "disables Gopher" OFF) + mark_as_advanced(CURL_DISABLE_GOPHER) ++option(CURL_DISABLE_HEADERS_API "disables headers-api support" OFF) ++mark_as_advanced(CURL_DISABLE_HEADERS_API) + option(CURL_DISABLE_HSTS "disables HSTS support" OFF) + mark_as_advanced(CURL_DISABLE_HSTS) + option(CURL_DISABLE_HTTP "disables HTTP" OFF) +@@ -237,6 +224,8 @@ mark_as_advanced(CURL_DISABLE_LIBCURL_OPTION) + option(CURL_DISABLE_MIME "disables MIME support" OFF) + mark_as_advanced(CURL_DISABLE_MIME) + option(CURL_DISABLE_MQTT "disables MQTT" OFF) ++mark_as_advanced(CURL_DISABLE_BINDLOCAL) ++option(CURL_DISABLE_BINDLOCAL "disables local binding support" OFF) + mark_as_advanced(CURL_DISABLE_MQTT) + option(CURL_DISABLE_NETRC "disables netrc parser" OFF) + mark_as_advanced(CURL_DISABLE_NETRC) +@@ -315,18 +304,18 @@ if(ENABLE_IPV6 AND NOT WIN32) + endif() + endif() + +-if(USE_MANUAL) +- #nroff is currently only used when USE_MANUAL is set, so we can prevent the warning of no *NROFF if USE_MANUAL is OFF (or not defined), by not even looking for NROFF.. +- curl_nroff_check() +-endif() + find_package(Perl) + +-cmake_dependent_option(ENABLE_MANUAL "to provide the built-in manual" +- ON "NROFF_USEFUL;PERL_FOUND" +- OFF) ++option(BUILD_LIBCURL_DOCS "to build libcurl man pages" ON) ++option(ENABLE_CURL_MANUAL "to build the man page for curl and enable its -M/--manual option" ON) + +-if(ENABLE_MANUAL) +- set(USE_MANUAL ON) ++if(ENABLE_CURL_MANUAL OR BUILD_LIBCURL_DOCS) ++ if(PERL_FOUND) ++ set(HAVE_MANUAL_TOOLS ON) ++ endif() ++ if(NOT HAVE_MANUAL_TOOLS) ++ message(WARNING "Perl not found. Will not build manuals.") ++ endif() + endif() + + if(CURL_STATIC_CRT) +@@ -362,28 +351,30 @@ include(CheckCSourceCompiles) + + # On windows preload settings + if(WIN32) +- list(APPEND CMAKE_REQUIRED_DEFINITIONS -D_WINSOCKAPI_=) + include(${CMAKE_CURRENT_SOURCE_DIR}/CMake/Platforms/WindowsCache.cmake) + endif() + + if(ENABLE_THREADED_RESOLVER) +- find_package(Threads REQUIRED) + if(WIN32) + set(USE_THREADS_WIN32 ON) + else() ++ find_package(Threads REQUIRED) + set(USE_THREADS_POSIX ${CMAKE_USE_PTHREADS_INIT}) + set(HAVE_PTHREAD_H ${CMAKE_USE_PTHREADS_INIT}) ++ set(CURL_LIBS ${CURL_LIBS} ${CMAKE_THREAD_LIBS_INIT}) + endif() +- set(CURL_LIBS ${CURL_LIBS} ${CMAKE_THREAD_LIBS_INIT}) + endif() + + # Check for all needed libraries +-check_library_exists_concat("socket" connect HAVE_LIBSOCKET) ++check_library_exists("socket" "connect" "" HAVE_LIBSOCKET) ++if(HAVE_LIBSOCKET) ++ set(CURL_LIBS "socket;${CURL_LIBS}") ++endif() + + check_function_exists(gethostname HAVE_GETHOSTNAME) + + if(WIN32) +- list(APPEND CURL_LIBS "ws2_32") ++ list(APPEND CURL_LIBS "ws2_32" "bcrypt") + if(USE_LIBRTMP) + list(APPEND CURL_LIBS "winmm") + endif() +@@ -401,8 +392,7 @@ if(APPLE) + endif() + if(WIN32) + cmake_dependent_option(CURL_USE_SCHANNEL "Enable Windows native SSL/TLS" OFF CURL_ENABLE_SSL OFF) +- cmake_dependent_option(CURL_WINDOWS_SSPI "Use windows libraries to allow NTLM authentication without OpenSSL" ON +- CURL_USE_SCHANNEL OFF) ++ option(CURL_WINDOWS_SSPI "Enable SSPI on Windows" ${CURL_USE_SCHANNEL}) + endif() + cmake_dependent_option(CURL_USE_MBEDTLS "Enable mbedTLS for SSL/TLS" OFF CURL_ENABLE_SSL OFF) + cmake_dependent_option(CURL_USE_BEARSSL "Enable BearSSL for SSL/TLS" OFF CURL_ENABLE_SSL OFF) +@@ -413,7 +403,7 @@ set(openssl_default ON) + if(WIN32 OR CURL_USE_SECTRANSP OR CURL_USE_SCHANNEL OR CURL_USE_MBEDTLS OR CURL_USE_WOLFSSL) + set(openssl_default OFF) + endif() +-cmake_dependent_option(CURL_USE_OPENSSL "Use OpenSSL code. Experimental" ${openssl_default} CURL_ENABLE_SSL OFF) ++cmake_dependent_option(CURL_USE_OPENSSL "Enable OpenSSL for SSL/TLS" ${openssl_default} CURL_ENABLE_SSL OFF) + option(CURL_DISABLE_OPENSSL_AUTO_LOAD_CONFIG "Disable automatic loading of OpenSSL configuration" OFF) + + count_true(enabled_ssl_options_count +@@ -487,11 +477,6 @@ if(CURL_USE_OPENSSL) + include_directories(${OPENSSL_INCLUDE_DIR}) + endif() + +- if(WIN32) +- list(APPEND CURL_LIBS "ws2_32") +- list(APPEND CURL_LIBS "bcrypt") # for OpenSSL/LibreSSL +- endif() +- + if(CURL_DEFAULT_SSL_BACKEND AND CURL_DEFAULT_SSL_BACKEND STREQUAL "openssl") + set(valid_default_ssl_backend TRUE) + endif() +@@ -604,17 +589,12 @@ option(CURL_ZSTD "Set to ON to enable building curl with zstd support." OFF) + set(HAVE_ZSTD OFF) + if(CURL_ZSTD) + find_package(Zstd REQUIRED) +- if(NOT DEFINED HAVE_ZSTD_CREATEDSTREAM) +- cmake_push_check_state() +- set(CMAKE_REQUIRED_INCLUDES ${Zstd_INCLUDE_DIRS}) +- set(CMAKE_REQUIRED_LIBRARIES ${Zstd_LIBRARIES}) +- check_symbol_exists(ZSTD_createDStream "zstd.h" HAVE_ZSTD_CREATEDSTREAM) +- cmake_pop_check_state() +- endif() +- if(Zstd_FOUND AND HAVE_ZSTD_CREATEDSTREAM) ++ if(Zstd_FOUND AND NOT Zstd_VERSION VERSION_LESS "1.0.0") + set(HAVE_ZSTD ON) + list(APPEND CURL_LIBS ${Zstd_LIBRARIES}) + include_directories(${Zstd_INCLUDE_DIRS}) ++ else() ++ message(WARNING "zstd v1.0.0 or newer is required, disabling zstd support.") + endif() + endif() + +@@ -647,6 +627,20 @@ macro(openssl_check_symbol_exists SYMBOL FILES VARIABLE) + cmake_pop_check_state() + endmacro() + ++# Ensure that the OpenSSL fork actually supports QUIC. ++macro(openssl_check_quic) ++ if(NOT DEFINED HAVE_SSL_CTX_SET_QUIC_METHOD) ++ if(USE_OPENSSL) ++ openssl_check_symbol_exists(SSL_CTX_set_quic_method "openssl/ssl.h" HAVE_SSL_CTX_SET_QUIC_METHOD) ++ elseif(USE_WOLFSSL) ++ openssl_check_symbol_exists(wolfSSL_set_quic_method "wolfssl/options.h;wolfssl/openssl/ssl.h" HAVE_SSL_CTX_SET_QUIC_METHOD) ++ endif() ++ endif() ++ if(NOT HAVE_SSL_CTX_SET_QUIC_METHOD) ++ message(FATAL_ERROR "QUIC support is missing in OpenSSL fork. Try setting -DOPENSSL_ROOT_DIR") ++ endif() ++endmacro() ++ + if(USE_OPENSSL OR USE_WOLFSSL) + if(NOT DEFINED HAVE_SSL_SET0_WBIO) + openssl_check_symbol_exists(SSL_set0_wbio "openssl/ssl.h" HAVE_SSL_SET0_WBIO) +@@ -673,18 +667,7 @@ if(USE_NGTCP2) + else() + find_package(NGTCP2 REQUIRED quictls) + endif() +- +- # Be sure that the OpenSSL/wolfSSL library actually supports QUIC. +- if(NOT DEFINED HAVE_SSL_CTX_SET_QUIC_METHOD) +- if(USE_OPENSSL) +- openssl_check_symbol_exists(SSL_CTX_set_quic_method "openssl/ssl.h" HAVE_SSL_CTX_SET_QUIC_METHOD) +- elseif(USE_WOLFSSL) +- openssl_check_symbol_exists(wolfSSL_set_quic_method "wolfssl/options.h;wolfssl/openssl/ssl.h" HAVE_SSL_CTX_SET_QUIC_METHOD) +- endif() +- endif() +- if(NOT HAVE_SSL_CTX_SET_QUIC_METHOD) +- message(FATAL_ERROR "QUIC support is missing in OpenSSL/LibreSSL/BoringSSL/wolfSSL. Try setting -DOPENSSL_ROOT_DIR") +- endif() ++ openssl_check_quic() + elseif(USE_GNUTLS) + find_package(NGTCP2 REQUIRED GnuTLS) + else() +@@ -706,7 +689,10 @@ if(USE_QUICHE) + message(FATAL_ERROR "Only one HTTP/3 backend can be selected!") + endif() + find_package(QUICHE REQUIRED) +- CheckQuicSupportInOpenSSL() ++ if(NOT HAVE_BORINGSSL) ++ message(FATAL_ERROR "quiche requires BoringSSL") ++ endif() ++ openssl_check_quic() + set(USE_QUICHE ON) + include_directories(${QUICHE_INCLUDE_DIRS}) + list(APPEND CURL_LIBS ${QUICHE_LIBRARIES}) +@@ -729,6 +715,29 @@ if(USE_MSH3) + list(APPEND CURL_LIBS ${MSH3_LIBRARIES}) + endif() + ++option(USE_OPENSSL_QUIC "Use openssl and nghttp3 libraries for HTTP/3 support" OFF) ++if(USE_OPENSSL_QUIC) ++ if(USE_NGTCP2 OR USE_QUICHE OR USE_MSH3) ++ message(FATAL_ERROR "Only one HTTP/3 backend can be selected!") ++ endif() ++ find_package(OpenSSL 3.2.0 REQUIRED) ++ ++ find_package(NGHTTP3 REQUIRED) ++ set(USE_NGHTTP3 ON) ++ include_directories(${NGHTTP3_INCLUDE_DIRS}) ++ list(APPEND CURL_LIBS ${NGHTTP3_LIBRARIES}) ++endif() ++ ++if(USE_MBEDTLS OR ++ USE_BEARSSL OR ++ USE_SECTRANSP) ++ message(WARNING "A selected TLS library does not support TLS 1.3.") ++endif() ++ ++if(CURL_WITH_MULTI_SSL AND (USE_NGTCP2 OR USE_QUICHE OR USE_MSH3 OR USE_OPENSSL_QUIC)) ++ message(FATAL_ERROR "MultiSSL cannot be enabled with HTTP/3 and vice versa.") ++endif() ++ + if(NOT CURL_DISABLE_SRP AND (HAVE_GNUTLS_SRP OR HAVE_OPENSSL_SRP)) + set(USE_TLS_SRP 1) + endif() +@@ -751,8 +760,12 @@ if(NOT CURL_DISABLE_LDAP) + if(NOT USE_WIN32_LDAP) + # Check for LDAP + set(CMAKE_REQUIRED_LIBRARIES ${OPENSSL_LIBRARIES}) +- check_library_exists_concat(${CMAKE_LDAP_LIB} ldap_init HAVE_LIBLDAP) +- check_library_exists_concat(${CMAKE_LBER_LIB} ber_init HAVE_LIBLBER) ++ check_library_exists("${CMAKE_LDAP_LIB}" "ldap_init" "" HAVE_LIBLDAP) ++ if(HAVE_LIBLDAP) ++ check_library_exists("${CMAKE_LDAP_LIB};${CMAKE_LBER_LIB}" "ber_init" "" HAVE_LIBLBER) ++ else() ++ check_library_exists("${CMAKE_LBER_LIB}" "ber_init" "" HAVE_LIBLBER) ++ endif() + + set(CMAKE_REQUIRED_INCLUDES_BAK ${CMAKE_REQUIRED_INCLUDES}) + set(CMAKE_LDAP_INCLUDE_DIR "" CACHE STRING "Path to LDAP include directory") +@@ -776,7 +789,7 @@ if(NOT CURL_DISABLE_LDAP) + endif() + set(NEED_LBER_H ON) + set(_HEADER_LIST) +- if(HAVE_WINDOWS_H) ++ if(WIN32) + list(APPEND _HEADER_LIST "windows.h") + endif() + if(HAVE_SYS_TYPES_H) +@@ -791,8 +804,10 @@ if(NOT CURL_DISABLE_LDAP) + + list(APPEND CMAKE_REQUIRED_DEFINITIONS -DLDAP_DEPRECATED=1) + list(APPEND CMAKE_REQUIRED_LIBRARIES ${CMAKE_LDAP_LIB}) ++ set(CURL_LIBS "${CMAKE_LDAP_LIB};${CURL_LIBS}") + if(HAVE_LIBLBER) + list(APPEND CMAKE_REQUIRED_LIBRARIES ${CMAKE_LBER_LIB}) ++ set(CURL_LIBS "${CMAKE_LBER_LIB};${CURL_LIBS}") + endif() + + check_c_source_compiles(" +@@ -839,7 +854,11 @@ endif() + # Check for idn2 + option(USE_LIBIDN2 "Use libidn2 for IDN support" ON) + if(USE_LIBIDN2) +- check_library_exists_concat("idn2" idn2_lookup_ul HAVE_LIBIDN2) ++ check_library_exists("idn2" "idn2_lookup_ul" "" HAVE_LIBIDN2) ++ if(HAVE_LIBIDN2) ++ set(CURL_LIBS "idn2;${CURL_LIBS}") ++ check_include_file_concat("idn2.h" HAVE_IDN2_H) ++ endif() + else() + set(HAVE_LIBIDN2 OFF) + endif() +@@ -910,10 +929,8 @@ if(CURL_USE_GSSAPI) + check_include_file_concat("gssapi/gssapi_generic.h" HAVE_GSSAPI_GSSAPI_GENERIC_H) + check_include_file_concat("gssapi/gssapi_krb5.h" HAVE_GSSAPI_GSSAPI_KRB5_H) + +- if(GSS_FLAVOUR STREQUAL "Heimdal") +- set(HAVE_GSSHEIMDAL ON) +- else() # MIT +- set(HAVE_GSSMIT ON) ++ if(NOT GSS_FLAVOUR STREQUAL "Heimdal") ++ # MIT + set(_INCLUDE_LIST "") + if(HAVE_GSSAPI_GSSAPI_H) + list(APPEND _INCLUDE_LIST "gssapi/gssapi.h") +@@ -1052,13 +1069,46 @@ if(CURL_CA_PATH_SET AND + endif() + + # Check for header files +-if(NOT UNIX) +- check_include_file_concat("windows.h" HAVE_WINDOWS_H) +- check_include_file_concat("ws2tcpip.h" HAVE_WS2TCPIP_H) +- check_include_file_concat("winsock2.h" HAVE_WINSOCK2_H) ++if(WIN32) ++ set(CURL_INCLUDES ${CURL_INCLUDES} "winsock2.h") ++ set(CURL_INCLUDES ${CURL_INCLUDES} "ws2tcpip.h") ++ set(CURL_INCLUDES ${CURL_INCLUDES} "windows.h") ++endif() ++ ++if(WIN32) ++ # detect actual value of _WIN32_WINNT and store as HAVE_WIN32_WINNT ++ curl_internal_test(HAVE_WIN32_WINNT) ++ if(HAVE_WIN32_WINNT) ++ string(REGEX MATCH ".*_WIN32_WINNT=0x[0-9a-fA-F]+" OUTPUT "${OUTPUT}") ++ string(REGEX REPLACE ".*_WIN32_WINNT=" "" OUTPUT "${OUTPUT}") ++ string(REGEX REPLACE "0x([0-9a-f][0-9a-f][0-9a-f])$" "0x0\\1" OUTPUT "${OUTPUT}") # pad to 4 digits ++ string(TOLOWER "${OUTPUT}" HAVE_WIN32_WINNT) ++ message(STATUS "Found _WIN32_WINNT=${HAVE_WIN32_WINNT}") ++ endif() ++ # avoid storing HAVE_WIN32_WINNT in CMake cache ++ unset(HAVE_WIN32_WINNT CACHE) ++ ++ if(HAVE_WIN32_WINNT) ++ if(HAVE_WIN32_WINNT STRLESS "0x0501") ++ # Windows XP is required for freeaddrinfo, getaddrinfo ++ message(FATAL_ERROR "Building for Windows XP or newer is required.") ++ endif() ++ ++ # pre-fill detection results based on target OS version ++ if(MINGW OR MSVC) ++ if(HAVE_WIN32_WINNT STRLESS "0x0600") ++ set(HAVE_INET_NTOP 0) ++ set(HAVE_INET_PTON 0) ++ else() # Windows Vista or newer ++ set(HAVE_INET_NTOP 1) ++ set(HAVE_INET_PTON 1) ++ endif() ++ unset(HAVE_INET_NTOP CACHE) ++ unset(HAVE_INET_PTON CACHE) ++ endif() ++ endif() + endif() + +-check_include_file_concat("inttypes.h" HAVE_INTTYPES_H) + check_include_file_concat("sys/filio.h" HAVE_SYS_FILIO_H) + check_include_file_concat("sys/wait.h" HAVE_SYS_WAIT_H) + check_include_file_concat("sys/ioctl.h" HAVE_SYS_IOCTL_H) +@@ -1076,7 +1126,6 @@ check_include_file_concat("sys/utime.h" HAVE_SYS_UTIME_H) + check_include_file_concat("sys/xattr.h" HAVE_SYS_XATTR_H) + check_include_file_concat("arpa/inet.h" HAVE_ARPA_INET_H) + check_include_file_concat("fcntl.h" HAVE_FCNTL_H) +-check_include_file_concat("idn2.h" HAVE_IDN2_H) + check_include_file_concat("ifaddrs.h" HAVE_IFADDRS_H) + check_include_file_concat("io.h" HAVE_IO_H) + check_include_file_concat("libgen.h" HAVE_LIBGEN_H) +@@ -1092,7 +1141,6 @@ check_include_file_concat("poll.h" HAVE_POLL_H) + check_include_file_concat("pwd.h" HAVE_PWD_H) + check_include_file_concat("stdatomic.h" HAVE_STDATOMIC_H) + check_include_file_concat("stdbool.h" HAVE_STDBOOL_H) +-check_include_file_concat("stdint.h" HAVE_STDINT_H) + check_include_file_concat("strings.h" HAVE_STRINGS_H) + check_include_file_concat("stropts.h" HAVE_STROPTS_H) + check_include_file_concat("termio.h" HAVE_TERMIO_H) +@@ -1137,7 +1185,6 @@ elseif(HAVE_LIBSOCKET) + set(CMAKE_REQUIRED_LIBRARIES socket) + endif() + +-check_symbol_exists(fchmod "${CURL_INCLUDES}" HAVE_FCHMOD) + check_symbol_exists(fnmatch "${CURL_INCLUDES};fnmatch.h" HAVE_FNMATCH) + check_symbol_exists(basename "${CURL_INCLUDES};string.h" HAVE_BASENAME) + check_symbol_exists(socket "${CURL_INCLUDES}" HAVE_SOCKET) +@@ -1174,6 +1221,7 @@ check_symbol_exists(gethostbyname_r "${CURL_INCLUDES}" HAVE_GETHOSTBYNAME_R) + check_symbol_exists(signal "${CURL_INCLUDES};signal.h" HAVE_SIGNAL) + check_symbol_exists(strtoll "${CURL_INCLUDES};stdlib.h" HAVE_STRTOLL) + check_symbol_exists(strerror_r "${CURL_INCLUDES};stdlib.h;string.h" HAVE_STRERROR_R) ++check_symbol_exists(sigaction "signal.h" HAVE_SIGACTION) + check_symbol_exists(siginterrupt "${CURL_INCLUDES};signal.h" HAVE_SIGINTERRUPT) + check_symbol_exists(getaddrinfo "${CURL_INCLUDES};stdlib.h;string.h" HAVE_GETADDRINFO) + check_symbol_exists(getifaddrs "${CURL_INCLUDES};stdlib.h" HAVE_GETIFADDRS) +@@ -1190,6 +1238,10 @@ check_symbol_exists(setlocale "${CURL_INCLUDES}" HAVE_SETLOCALE) + check_symbol_exists(setmode "${CURL_INCLUDES}" HAVE_SETMODE) + check_symbol_exists(setrlimit "${CURL_INCLUDES}" HAVE_SETRLIMIT) + ++if(HAVE_FSEEKO) ++ set(HAVE_DECL_FSEEKO 1) ++endif() ++ + if(NOT MSVC OR (MSVC_VERSION GREATER_EQUAL 1900)) + # earlier MSVC compilers had faulty snprintf implementations + check_symbol_exists(snprintf "stdio.h" HAVE_SNPRINTF) +@@ -1213,20 +1265,11 @@ check_type_size("sa_family_t" SIZEOF_SA_FAMILY_T) + set(HAVE_SA_FAMILY_T ${HAVE_SIZEOF_SA_FAMILY_T}) + set(CMAKE_EXTRA_INCLUDE_FILES "") + +-set(CMAKE_EXTRA_INCLUDE_FILES "ws2def.h") +-check_type_size("ADDRESS_FAMILY" SIZEOF_ADDRESS_FAMILY) +-set(HAVE_ADDRESS_FAMILY ${HAVE_SIZEOF_ADDRESS_FAMILY}) +-set(CMAKE_EXTRA_INCLUDE_FILES "") +- +-# sigaction and sigsetjmp are special. Use special mechanism for +-# detecting those, but only if previous attempt failed. +-check_symbol_exists(sigaction "signal.h" HAVE_SIGACTION) +- +-if(NOT HAVE_SIGSETJMP) +- check_symbol_exists(sigsetjmp "setjmp.h" HAVE_MACRO_SIGSETJMP) +- if(HAVE_MACRO_SIGSETJMP) +- set(HAVE_SIGSETJMP 1) +- endif() ++if(WIN32) ++ set(CMAKE_EXTRA_INCLUDE_FILES "winsock2.h") ++ check_type_size("ADDRESS_FAMILY" SIZEOF_ADDRESS_FAMILY) ++ set(HAVE_ADDRESS_FAMILY ${HAVE_SIZEOF_ADDRESS_FAMILY}) ++ set(CMAKE_EXTRA_INCLUDE_FILES "") + endif() + + # Do curl specific tests +@@ -1250,8 +1293,6 @@ foreach(CURL_TEST + HAVE_BOOL_T + STDC_HEADERS + HAVE_FILE_OFFSET_BITS +- HAVE_VARIADIC_MACROS_C99 +- HAVE_VARIADIC_MACROS_GCC + HAVE_ATOMIC + ) + curl_internal_test(${CURL_TEST}) +@@ -1271,18 +1312,6 @@ set(CMAKE_EXTRA_INCLUDE_FILES "curl/curl.h") + check_type_size("curl_socket_t" SIZEOF_CURL_SOCKET_T) + set(CMAKE_EXTRA_INCLUDE_FILES "") + +-if(WIN32) +- # detect actual value of _WIN32_WINNT and store as HAVE_WIN32_WINNT +- curl_internal_test(HAVE_WIN32_WINNT) +- if(HAVE_WIN32_WINNT) +- string(REGEX MATCH ".*_WIN32_WINNT=0x[0-9a-fA-F]+" OUTPUT "${OUTPUT}") +- string(REGEX REPLACE ".*_WIN32_WINNT=" "" HAVE_WIN32_WINNT "${OUTPUT}") +- message(STATUS "Found _WIN32_WINNT=${HAVE_WIN32_WINNT}") +- endif() +- # avoid storing HAVE_WIN32_WINNT in CMake cache +- unset(HAVE_WIN32_WINNT CACHE) +-endif() +- + if(NOT WIN32 AND NOT CMAKE_CROSSCOMPILING) + # on not-Windows and not-crosscompiling, check for writable argv[] + include(CheckCSourceRuns) +@@ -1338,8 +1367,10 @@ if(NEED_REENTRANT) + endforeach() + endif() + +-# Check clock_gettime(CLOCK_MONOTONIC, x) support +-curl_internal_test(HAVE_CLOCK_GETTIME_MONOTONIC) ++if(NOT WIN32) ++ # Check clock_gettime(CLOCK_MONOTONIC, x) support ++ curl_internal_test(HAVE_CLOCK_GETTIME_MONOTONIC) ++endif() + + # Check compiler support of __builtin_available() + curl_internal_test(HAVE_BUILTIN_AVAILABLE) +@@ -1375,15 +1406,6 @@ if(CMAKE_COMPILER_IS_GNUCC AND APPLE) + endif() + endif() + +-# TODO test which of these headers are required +-if(WIN32) +- set(CURL_PULL_WS2TCPIP_H ${HAVE_WS2TCPIP_H}) +-else() +- set(CURL_PULL_SYS_TYPES_H ${HAVE_SYS_TYPES_H}) +- set(CURL_PULL_SYS_SOCKET_H ${HAVE_SYS_SOCKET_H}) +- set(CURL_PULL_SYS_POLL_H ${HAVE_SYS_POLL_H}) +-endif() +- + include(CMake/OtherTests.cmake) + + add_definitions(-DHAVE_CONFIG_H) +@@ -1404,8 +1426,6 @@ if(WIN32) + if(USE_WIN32_CRYPTO OR USE_SCHANNEL) + list(APPEND CURL_LIBS "advapi32" "crypt32") + endif() +- +- list(APPEND CURL_LIBS "bcrypt") + endif() + + if(MSVC) +@@ -1475,7 +1495,7 @@ set(generated_dir "${CMAKE_CURRENT_BINARY_DIR}/generated") + set(project_config "${generated_dir}/${PROJECT_NAME}Config.cmake") + set(version_config "${generated_dir}/${PROJECT_NAME}ConfigVersion.cmake") + +-if(USE_MANUAL) ++if(HAVE_MANUAL_TOOLS) + add_subdirectory(docs) + endif() + +@@ -1492,258 +1512,297 @@ if(BUILD_TESTING) + add_subdirectory(tests) + endif() + +-# Helper to populate a list (_items) with a label when conditions (the remaining +-# args) are satisfied +-macro(_add_if label) +- # needs to be a macro to allow this indirection +- if(${ARGN}) +- set(_items ${_items} "${label}") ++if(NOT CURL_DISABLE_INSTALL) ++ ++ # Helper to populate a list (_items) with a label when conditions (the remaining ++ # args) are satisfied ++ macro(_add_if label) ++ # needs to be a macro to allow this indirection ++ if(${ARGN}) ++ set(_items ${_items} "${label}") ++ endif() ++ endmacro() ++ ++ # NTLM support requires crypto function adaptions from various SSL libs ++ if(NOT (CURL_DISABLE_NTLM) AND ++ (USE_OPENSSL OR USE_MBEDTLS OR USE_DARWINSSL OR USE_WIN32_CRYPTO OR USE_GNUTLS)) ++ set(use_curl_ntlm_core ON) + endif() +-endmacro() + +-# NTLM support requires crypto function adaptions from various SSL libs +-# TODO alternative SSL libs tests for SSP1, GnuTLS, NSS +-if(NOT (CURL_DISABLE_NTLM) AND +- (USE_OPENSSL OR USE_MBEDTLS OR USE_DARWINSSL OR USE_WIN32_CRYPTO OR USE_GNUTLS)) +- set(use_curl_ntlm_core ON) +-endif() +- +-# Clear list and try to detect available features +-set(_items) +-_add_if("SSL" SSL_ENABLED) +-_add_if("IPv6" ENABLE_IPV6) +-_add_if("unixsockets" USE_UNIX_SOCKETS) +-_add_if("libz" HAVE_LIBZ) +-_add_if("brotli" HAVE_BROTLI) +-_add_if("zstd" HAVE_ZSTD) +-_add_if("AsynchDNS" USE_ARES OR USE_THREADS_POSIX OR USE_THREADS_WIN32) +-_add_if("IDN" HAVE_LIBIDN2 OR USE_WIN32_IDN) +-_add_if("Largefile" (SIZEOF_CURL_OFF_T GREATER 4) AND +- ((SIZEOF_OFF_T GREATER 4) OR USE_WIN32_LARGE_FILES)) +-# TODO SSP1 (Schannel) check is missing +-_add_if("SSPI" USE_WINDOWS_SSPI) +-_add_if("GSS-API" HAVE_GSSAPI) +-_add_if("alt-svc" NOT CURL_DISABLE_ALTSVC) +-_add_if("HSTS" NOT CURL_DISABLE_HSTS) +-# TODO SSP1 missing for SPNEGO +-_add_if("SPNEGO" NOT CURL_DISABLE_NEGOTIATE_AUTH AND +- (HAVE_GSSAPI OR USE_WINDOWS_SSPI)) +-_add_if("Kerberos" NOT CURL_DISABLE_KERBEROS_AUTH AND +- (HAVE_GSSAPI OR USE_WINDOWS_SSPI)) +-# NTLM support requires crypto function adaptions from various SSL libs +-# TODO alternative SSL libs tests for SSP1, GnuTLS, NSS +-_add_if("NTLM" NOT (CURL_DISABLE_NTLM) AND +- (use_curl_ntlm_core OR USE_WINDOWS_SSPI)) +-# TODO missing option (autoconf: --enable-ntlm-wb) +-_add_if("NTLM_WB" NOT (CURL_DISABLE_NTLM) AND +- (use_curl_ntlm_core OR USE_WINDOWS_SSPI) AND +- NOT CURL_DISABLE_HTTP AND NTLM_WB_ENABLED) +-_add_if("TLS-SRP" USE_TLS_SRP) +-# TODO option --with-nghttp2 tests for nghttp2 lib and nghttp2/nghttp2.h header +-_add_if("HTTP2" USE_NGHTTP2) +-_add_if("HTTP3" USE_NGTCP2 OR USE_QUICHE) +-_add_if("MultiSSL" CURL_WITH_MULTI_SSL) +-# TODO wolfSSL only support this from v5.0.0 onwards +-_add_if("HTTPS-proxy" SSL_ENABLED AND (USE_OPENSSL OR USE_GNUTLS +- OR USE_SCHANNEL OR USE_RUSTLS OR USE_BEARSSL OR +- USE_MBEDTLS OR USE_SECTRANSP)) +-_add_if("unicode" ENABLE_UNICODE) +-_add_if("threadsafe" HAVE_ATOMIC OR (WIN32 AND +- HAVE_WIN32_WINNT GREATER_EQUAL 0x600)) +-_add_if("PSL" USE_LIBPSL) +-string(REPLACE ";" " " SUPPORT_FEATURES "${_items}") +-message(STATUS "Enabled features: ${SUPPORT_FEATURES}") +- +-# Clear list and try to detect available protocols +-set(_items) +-_add_if("HTTP" NOT CURL_DISABLE_HTTP) +-_add_if("HTTPS" NOT CURL_DISABLE_HTTP AND SSL_ENABLED) +-_add_if("FTP" NOT CURL_DISABLE_FTP) +-_add_if("FTPS" NOT CURL_DISABLE_FTP AND SSL_ENABLED) +-_add_if("FILE" NOT CURL_DISABLE_FILE) +-_add_if("TELNET" NOT CURL_DISABLE_TELNET) +-_add_if("LDAP" NOT CURL_DISABLE_LDAP) +-# CURL_DISABLE_LDAP implies CURL_DISABLE_LDAPS +-_add_if("LDAPS" NOT CURL_DISABLE_LDAPS AND +- ((USE_OPENLDAP AND SSL_ENABLED) OR +- (NOT USE_OPENLDAP AND HAVE_LDAP_SSL))) +-_add_if("DICT" NOT CURL_DISABLE_DICT) +-_add_if("TFTP" NOT CURL_DISABLE_TFTP) +-_add_if("GOPHER" NOT CURL_DISABLE_GOPHER) +-_add_if("GOPHERS" NOT CURL_DISABLE_GOPHER AND SSL_ENABLED) +-_add_if("POP3" NOT CURL_DISABLE_POP3) +-_add_if("POP3S" NOT CURL_DISABLE_POP3 AND SSL_ENABLED) +-_add_if("IMAP" NOT CURL_DISABLE_IMAP) +-_add_if("IMAPS" NOT CURL_DISABLE_IMAP AND SSL_ENABLED) +-_add_if("SMB" NOT CURL_DISABLE_SMB AND +- use_curl_ntlm_core AND (SIZEOF_CURL_OFF_T GREATER 4)) +-_add_if("SMBS" NOT CURL_DISABLE_SMB AND SSL_ENABLED AND +- use_curl_ntlm_core AND (SIZEOF_CURL_OFF_T GREATER 4)) +-_add_if("SMTP" NOT CURL_DISABLE_SMTP) +-_add_if("SMTPS" NOT CURL_DISABLE_SMTP AND SSL_ENABLED) +-_add_if("SCP" USE_LIBSSH2 OR USE_LIBSSH) +-_add_if("SFTP" USE_LIBSSH2 OR USE_LIBSSH) +-_add_if("RTSP" NOT CURL_DISABLE_RTSP) +-_add_if("RTMP" USE_LIBRTMP) +-_add_if("MQTT" NOT CURL_DISABLE_MQTT) +-_add_if("WS" USE_WEBSOCKETS) +-_add_if("WSS" USE_WEBSOCKETS) +-if(_items) +- list(SORT _items) +-endif() +-string(REPLACE ";" " " SUPPORT_PROTOCOLS "${_items}") +-message(STATUS "Enabled protocols: ${SUPPORT_PROTOCOLS}") +- +-# Clear list and collect SSL backends +-set(_items) +-_add_if("Schannel" SSL_ENABLED AND USE_SCHANNEL) +-_add_if("OpenSSL" SSL_ENABLED AND USE_OPENSSL) +-_add_if("Secure Transport" SSL_ENABLED AND USE_SECTRANSP) +-_add_if("mbedTLS" SSL_ENABLED AND USE_MBEDTLS) +-_add_if("BearSSL" SSL_ENABLED AND USE_BEARSSL) +-_add_if("wolfSSL" SSL_ENABLED AND USE_WOLFSSL) +-_add_if("GnuTLS" SSL_ENABLED AND USE_GNUTLS) +- +-if(_items) +- list(SORT _items) +-endif() +-string(REPLACE ";" " " SSL_BACKENDS "${_items}") +-message(STATUS "Enabled SSL backends: ${SSL_BACKENDS}") +-if(CURL_DEFAULT_SSL_BACKEND) +- message(STATUS "Default SSL backend: ${CURL_DEFAULT_SSL_BACKEND}") +-endif() +- +-# curl-config needs the following options to be set. +-set(CC "${CMAKE_C_COMPILER}") +-# TODO probably put a -D... options here? +-set(CONFIGURE_OPTIONS "") +-set(CURLVERSION "${CURL_VERSION}") +-set(exec_prefix "\${prefix}") +-set(includedir "\${prefix}/include") +-set(LDFLAGS "${CMAKE_SHARED_LINKER_FLAGS}") +-set(LIBCURL_LIBS "") +-set(libdir "${CMAKE_INSTALL_PREFIX}/lib") +-foreach(_lib ${CMAKE_C_IMPLICIT_LINK_LIBRARIES} ${CURL_LIBS}) +- if(TARGET "${_lib}") +- set(_libname "${_lib}") +- get_target_property(_imported "${_libname}" IMPORTED) +- if(NOT _imported) +- # Reading the LOCATION property on non-imported target will error out. +- # Assume the user won't need this information in the .pc file. +- continue() ++ # Clear list and try to detect available features ++ set(_items) ++ _add_if("SSL" SSL_ENABLED) ++ _add_if("IPv6" ENABLE_IPV6) ++ _add_if("UnixSockets" USE_UNIX_SOCKETS) ++ _add_if("libz" HAVE_LIBZ) ++ _add_if("brotli" HAVE_BROTLI) ++ _add_if("zstd" HAVE_ZSTD) ++ _add_if("AsynchDNS" USE_ARES OR USE_THREADS_POSIX OR USE_THREADS_WIN32) ++ _add_if("IDN" HAVE_LIBIDN2 OR USE_WIN32_IDN) ++ _add_if("Largefile" (SIZEOF_CURL_OFF_T GREATER 4) AND ++ ((SIZEOF_OFF_T GREATER 4) OR USE_WIN32_LARGE_FILES)) ++ _add_if("SSPI" USE_WINDOWS_SSPI) ++ _add_if("GSS-API" HAVE_GSSAPI) ++ _add_if("alt-svc" NOT CURL_DISABLE_ALTSVC) ++ _add_if("HSTS" NOT CURL_DISABLE_HSTS) ++ _add_if("SPNEGO" NOT CURL_DISABLE_NEGOTIATE_AUTH AND ++ (HAVE_GSSAPI OR USE_WINDOWS_SSPI)) ++ _add_if("Kerberos" NOT CURL_DISABLE_KERBEROS_AUTH AND ++ (HAVE_GSSAPI OR USE_WINDOWS_SSPI)) ++ _add_if("NTLM" NOT (CURL_DISABLE_NTLM) AND ++ (use_curl_ntlm_core OR USE_WINDOWS_SSPI)) ++ _add_if("NTLM_WB" NOT (CURL_DISABLE_NTLM) AND ++ (use_curl_ntlm_core OR USE_WINDOWS_SSPI) AND ++ NOT CURL_DISABLE_HTTP AND NTLM_WB_ENABLED) ++ _add_if("TLS-SRP" USE_TLS_SRP) ++ _add_if("HTTP2" USE_NGHTTP2) ++ _add_if("HTTP3" USE_NGTCP2 OR USE_QUICHE OR USE_OPENSSL_QUIC) ++ _add_if("MultiSSL" CURL_WITH_MULTI_SSL) ++ # TODO wolfSSL only support this from v5.0.0 onwards ++ _add_if("HTTPS-proxy" SSL_ENABLED AND (USE_OPENSSL OR USE_GNUTLS ++ OR USE_SCHANNEL OR USE_RUSTLS OR USE_BEARSSL OR ++ USE_MBEDTLS OR USE_SECTRANSP)) ++ _add_if("unicode" ENABLE_UNICODE) ++ _add_if("threadsafe" HAVE_ATOMIC OR ++ (USE_THREADS_POSIX AND HAVE_PTHREAD_H) OR ++ (WIN32 AND HAVE_WIN32_WINNT GREATER_EQUAL 0x600)) ++ _add_if("PSL" USE_LIBPSL) ++ string(REPLACE ";" " " SUPPORT_FEATURES "${_items}") ++ message(STATUS "Enabled features: ${SUPPORT_FEATURES}") ++ ++ # Clear list and try to detect available protocols ++ set(_items) ++ _add_if("HTTP" NOT CURL_DISABLE_HTTP) ++ _add_if("IPFS" NOT CURL_DISABLE_HTTP) ++ _add_if("IPNS" NOT CURL_DISABLE_HTTP) ++ _add_if("HTTPS" NOT CURL_DISABLE_HTTP AND SSL_ENABLED) ++ _add_if("FTP" NOT CURL_DISABLE_FTP) ++ _add_if("FTPS" NOT CURL_DISABLE_FTP AND SSL_ENABLED) ++ _add_if("FILE" NOT CURL_DISABLE_FILE) ++ _add_if("TELNET" NOT CURL_DISABLE_TELNET) ++ _add_if("LDAP" NOT CURL_DISABLE_LDAP) ++ # CURL_DISABLE_LDAP implies CURL_DISABLE_LDAPS ++ _add_if("LDAPS" NOT CURL_DISABLE_LDAPS AND ++ ((USE_OPENLDAP AND SSL_ENABLED) OR ++ (NOT USE_OPENLDAP AND HAVE_LDAP_SSL))) ++ _add_if("DICT" NOT CURL_DISABLE_DICT) ++ _add_if("TFTP" NOT CURL_DISABLE_TFTP) ++ _add_if("GOPHER" NOT CURL_DISABLE_GOPHER) ++ _add_if("GOPHERS" NOT CURL_DISABLE_GOPHER AND SSL_ENABLED) ++ _add_if("POP3" NOT CURL_DISABLE_POP3) ++ _add_if("POP3S" NOT CURL_DISABLE_POP3 AND SSL_ENABLED) ++ _add_if("IMAP" NOT CURL_DISABLE_IMAP) ++ _add_if("IMAPS" NOT CURL_DISABLE_IMAP AND SSL_ENABLED) ++ _add_if("SMB" NOT CURL_DISABLE_SMB AND ++ use_curl_ntlm_core AND (SIZEOF_CURL_OFF_T GREATER 4)) ++ _add_if("SMBS" NOT CURL_DISABLE_SMB AND SSL_ENABLED AND ++ use_curl_ntlm_core AND (SIZEOF_CURL_OFF_T GREATER 4)) ++ _add_if("SMTP" NOT CURL_DISABLE_SMTP) ++ _add_if("SMTPS" NOT CURL_DISABLE_SMTP AND SSL_ENABLED) ++ _add_if("SCP" USE_LIBSSH2 OR USE_LIBSSH) ++ _add_if("SFTP" USE_LIBSSH2 OR USE_LIBSSH) ++ _add_if("RTSP" NOT CURL_DISABLE_RTSP) ++ _add_if("RTMP" USE_LIBRTMP) ++ _add_if("MQTT" NOT CURL_DISABLE_MQTT) ++ _add_if("WS" USE_WEBSOCKETS) ++ _add_if("WSS" USE_WEBSOCKETS) ++ if(_items) ++ list(SORT _items) ++ endif() ++ string(REPLACE ";" " " SUPPORT_PROTOCOLS "${_items}") ++ message(STATUS "Enabled protocols: ${SUPPORT_PROTOCOLS}") ++ ++ # Clear list and collect SSL backends ++ set(_items) ++ _add_if("Schannel" SSL_ENABLED AND USE_SCHANNEL) ++ _add_if("OpenSSL" SSL_ENABLED AND USE_OPENSSL) ++ _add_if("Secure Transport" SSL_ENABLED AND USE_SECTRANSP) ++ _add_if("mbedTLS" SSL_ENABLED AND USE_MBEDTLS) ++ _add_if("BearSSL" SSL_ENABLED AND USE_BEARSSL) ++ _add_if("wolfSSL" SSL_ENABLED AND USE_WOLFSSL) ++ _add_if("GnuTLS" SSL_ENABLED AND USE_GNUTLS) ++ ++ if(_items) ++ list(SORT _items) ++ endif() ++ string(REPLACE ";" " " SSL_BACKENDS "${_items}") ++ message(STATUS "Enabled SSL backends: ${SSL_BACKENDS}") ++ if(CURL_DEFAULT_SSL_BACKEND) ++ message(STATUS "Default SSL backend: ${CURL_DEFAULT_SSL_BACKEND}") ++ endif() ++ ++ # curl-config needs the following options to be set. ++ set(CC "${CMAKE_C_COMPILER}") ++ # TODO probably put a -D... options here? ++ set(CONFIGURE_OPTIONS "") ++ set(CURLVERSION "${CURL_VERSION}") ++ set(exec_prefix "\${prefix}") ++ set(includedir "\${prefix}/include") ++ set(LDFLAGS "${CMAKE_SHARED_LINKER_FLAGS}") ++ set(LIBCURL_LIBS "") ++ set(libdir "${CMAKE_INSTALL_PREFIX}/lib") ++ ++ # For processing full path libraries into -L and -l ld options, ++ # the directories that go with the -L option are cached, so they ++ # only get added once per such directory. ++ set(_libcurl_libs_dirs) ++ # To avoid getting unnecessary -L options for known system directories, ++ # _libcurl_libs_dirs is seeded with them. ++ foreach(_libdir ${CMAKE_SYSTEM_PREFIX_PATH}) ++ if(_libdir MATCHES "/$") ++ set(_libdir "${_libdir}lib") ++ else() ++ set(_libdir "${_libdir}/lib") ++ endif() ++ if(IS_DIRECTORY "${_libdir}") ++ list(APPEND _libcurl_libs_dirs "${_libdir}") + endif() +- get_target_property(_lib "${_libname}" LOCATION) +- if(NOT _lib) +- message(WARNING "Bad lib in library list: ${_libname}") +- continue() ++ if(DEFINED CMAKE_LIBRARY_ARCHITECTURE) ++ set(_libdir "${_libdir}/${CMAKE_LIBRARY_ARCHITECTURE}") ++ if(IS_DIRECTORY "${_libdir}") ++ list(APPEND _libcurl_libs_dirs "${_libdir}") ++ endif() + endif() ++ endforeach() ++ ++ foreach(_lib ${CMAKE_C_IMPLICIT_LINK_LIBRARIES} ${CURL_LIBS}) ++ if(TARGET "${_lib}") ++ set(_libname "${_lib}") ++ get_target_property(_imported "${_libname}" IMPORTED) ++ if(NOT _imported) ++ # Reading the LOCATION property on non-imported target will error out. ++ # Assume the user won't need this information in the .pc file. ++ continue() ++ endif() ++ get_target_property(_lib "${_libname}" LOCATION) ++ if(NOT _lib) ++ message(WARNING "Bad lib in library list: ${_libname}") ++ continue() ++ endif() ++ endif() ++ if(_lib MATCHES "^-") ++ set(LIBCURL_LIBS "${LIBCURL_LIBS} ${_lib}") ++ elseif(_lib MATCHES ".*/.*") ++ # This gets a bit more complex, because we want to specify the ++ # directory separately, and only once per directory ++ string(REGEX REPLACE "^(.*)/[^/]*$" "\\1" _libdir "${_lib}") ++ string(REGEX REPLACE "^.*/([^/.]*).*$" "\\1" _libname "${_lib}") ++ if(_libname MATCHES "^lib") ++ list(FIND _libcurl_libs_dirs "${_libdir}" _libdir_index) ++ if(_libdir_index LESS 0) ++ list(APPEND _libcurl_libs_dirs "${_libdir}") ++ set(LIBCURL_LIBS "${LIBCURL_LIBS} -L${_libdir}") ++ endif() ++ string(REGEX REPLACE "^lib" "" _libname "${_libname}") ++ set(LIBCURL_LIBS "${LIBCURL_LIBS} -l${_libname}") ++ else() ++ set(LIBCURL_LIBS "${LIBCURL_LIBS} ${_lib}") ++ endif() ++ else() ++ set(LIBCURL_LIBS "${LIBCURL_LIBS} -l${_lib}") ++ endif() ++ endforeach() ++ if(BUILD_SHARED_LIBS) ++ set(ENABLE_SHARED "yes") ++ set(LIBCURL_NO_SHARED "") ++ set(CPPFLAG_CURL_STATICLIB "") ++ else() ++ set(ENABLE_SHARED "no") ++ set(LIBCURL_NO_SHARED "${LIBCURL_LIBS}") ++ set(CPPFLAG_CURL_STATICLIB "-DCURL_STATICLIB") + endif() +- if(_lib MATCHES ".*/.*" OR _lib MATCHES "^-") +- set(LIBCURL_LIBS "${LIBCURL_LIBS} ${_lib}") ++ if(BUILD_STATIC_LIBS) ++ set(ENABLE_STATIC "yes") + else() +- set(LIBCURL_LIBS "${LIBCURL_LIBS} -l${_lib}") ++ set(ENABLE_STATIC "no") + endif() +-endforeach() +-if(BUILD_SHARED_LIBS) +- set(ENABLE_SHARED "yes") +- set(LIBCURL_NO_SHARED "") +- set(CPPFLAG_CURL_STATICLIB "") +-else() +- set(ENABLE_SHARED "no") +- set(LIBCURL_NO_SHARED "${LIBCURL_LIBS}") +- set(CPPFLAG_CURL_STATICLIB "-DCURL_STATICLIB") +-endif() +-if(BUILD_STATIC_LIBS) +- set(ENABLE_STATIC "yes") +-else() +- set(ENABLE_STATIC "no") +-endif() +-# "a" (Linux) or "lib" (Windows) +-string(REPLACE "." "" libext "${CMAKE_STATIC_LIBRARY_SUFFIX}") +-set(prefix "${CMAKE_INSTALL_PREFIX}") +-# Set this to "yes" to append all libraries on which -lcurl is dependent +-set(REQUIRE_LIB_DEPS "no") +-# SUPPORT_FEATURES +-# SUPPORT_PROTOCOLS +-set(VERSIONNUM "${CURL_VERSION_NUM}") +- +-# Finally generate a "curl-config" matching this config +-# Use: +-# * ENABLE_SHARED +-# * ENABLE_STATIC +-configure_file("${CURL_SOURCE_DIR}/curl-config.in" +- "${CURL_BINARY_DIR}/curl-config" @ONLY) +-install(FILES "${CURL_BINARY_DIR}/curl-config" +- DESTINATION ${CMAKE_INSTALL_BINDIR} +- PERMISSIONS +- OWNER_READ OWNER_WRITE OWNER_EXECUTE +- GROUP_READ GROUP_EXECUTE +- WORLD_READ WORLD_EXECUTE) +- +-# Finally generate a pkg-config file matching this config +-configure_file("${CURL_SOURCE_DIR}/libcurl.pc.in" +- "${CURL_BINARY_DIR}/libcurl.pc" @ONLY) +-install(FILES "${CURL_BINARY_DIR}/libcurl.pc" +- DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig) +- +-# install headers +-install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/include/curl" +- DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} +- FILES_MATCHING PATTERN "*.h") +- +-include(CMakePackageConfigHelpers) +-write_basic_package_version_file( +- "${version_config}" +- VERSION ${CURL_VERSION} +- COMPATIBILITY SameMajorVersion +-) +-file(READ "${version_config}" generated_version_config) +-file(WRITE "${version_config}" +-"if(NOT PACKAGE_FIND_VERSION_RANGE AND PACKAGE_FIND_VERSION_MAJOR STREQUAL \"7\") +- # Version 8 satisfies version 7... requirements +- set(PACKAGE_FIND_VERSION_MAJOR 8) +- set(PACKAGE_FIND_VERSION_COUNT 1) +-endif() +-${generated_version_config}" +-) ++ # "a" (Linux) or "lib" (Windows) ++ string(REPLACE "." "" libext "${CMAKE_STATIC_LIBRARY_SUFFIX}") ++ set(prefix "${CMAKE_INSTALL_PREFIX}") ++ # Set this to "yes" to append all libraries on which -lcurl is dependent ++ set(REQUIRE_LIB_DEPS "no") ++ # SUPPORT_FEATURES ++ # SUPPORT_PROTOCOLS ++ set(VERSIONNUM "${CURL_VERSION_NUM}") ++ ++ # Finally generate a "curl-config" matching this config ++ # Use: ++ # * ENABLE_SHARED ++ # * ENABLE_STATIC ++ configure_file("${CURL_SOURCE_DIR}/curl-config.in" ++ "${CURL_BINARY_DIR}/curl-config" @ONLY) ++ install(FILES "${CURL_BINARY_DIR}/curl-config" ++ DESTINATION ${CMAKE_INSTALL_BINDIR} ++ PERMISSIONS ++ OWNER_READ OWNER_WRITE OWNER_EXECUTE ++ GROUP_READ GROUP_EXECUTE ++ WORLD_READ WORLD_EXECUTE) ++ ++ # Finally generate a pkg-config file matching this config ++ configure_file("${CURL_SOURCE_DIR}/libcurl.pc.in" ++ "${CURL_BINARY_DIR}/libcurl.pc" @ONLY) ++ install(FILES "${CURL_BINARY_DIR}/libcurl.pc" ++ DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig) ++ ++ # install headers ++ install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/include/curl" ++ DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} ++ FILES_MATCHING PATTERN "*.h") ++ ++ include(CMakePackageConfigHelpers) ++ write_basic_package_version_file( ++ "${version_config}" ++ VERSION ${CURL_VERSION} ++ COMPATIBILITY SameMajorVersion ++ ) ++ file(READ "${version_config}" generated_version_config) ++ file(WRITE "${version_config}" ++ "if(NOT PACKAGE_FIND_VERSION_RANGE AND PACKAGE_FIND_VERSION_MAJOR STREQUAL \"7\") ++ # Version 8 satisfies version 7... requirements ++ set(PACKAGE_FIND_VERSION_MAJOR 8) ++ set(PACKAGE_FIND_VERSION_COUNT 1) ++ endif() ++ ${generated_version_config}" ++ ) + +-# Use: +-# * TARGETS_EXPORT_NAME +-# * PROJECT_NAME +-configure_package_config_file(CMake/curl-config.cmake.in +- "${project_config}" +- INSTALL_DESTINATION ${CURL_INSTALL_CMAKE_DIR} +-) ++ # Use: ++ # * TARGETS_EXPORT_NAME ++ # * PROJECT_NAME ++ configure_package_config_file(CMake/curl-config.cmake.in ++ "${project_config}" ++ INSTALL_DESTINATION ${CURL_INSTALL_CMAKE_DIR} ++ ) ++ ++ if(CURL_ENABLE_EXPORT_TARGET) ++ install( ++ EXPORT "${TARGETS_EXPORT_NAME}" ++ NAMESPACE "${PROJECT_NAME}::" ++ DESTINATION ${CURL_INSTALL_CMAKE_DIR} ++ ) ++ endif() + +-if(CURL_ENABLE_EXPORT_TARGET) + install( +- EXPORT "${TARGETS_EXPORT_NAME}" +- NAMESPACE "${PROJECT_NAME}::" ++ FILES ${version_config} ${project_config} + DESTINATION ${CURL_INSTALL_CMAKE_DIR} + ) +-endif() +- +-install( +- FILES ${version_config} ${project_config} +- DESTINATION ${CURL_INSTALL_CMAKE_DIR} +-) + +-# Workaround for MSVS10 to avoid the Dialog Hell +-# FIXME: This could be removed with future version of CMake. +-if(MSVC_VERSION EQUAL 1600) +- set(CURL_SLN_FILENAME "${CMAKE_CURRENT_BINARY_DIR}/CURL.sln") +- if(EXISTS "${CURL_SLN_FILENAME}") +- file(APPEND "${CURL_SLN_FILENAME}" "\n# This should be regenerated!\n") ++ # Workaround for MSVS10 to avoid the Dialog Hell ++ # FIXME: This could be removed with future version of CMake. ++ if(MSVC_VERSION EQUAL 1600) ++ set(CURL_SLN_FILENAME "${CMAKE_CURRENT_BINARY_DIR}/CURL.sln") ++ if(EXISTS "${CURL_SLN_FILENAME}") ++ file(APPEND "${CURL_SLN_FILENAME}" "\n# This should be regenerated!\n") ++ endif() + endif() +-endif() + +-if(NOT TARGET curl_uninstall) +- configure_file( +- ${CMAKE_CURRENT_SOURCE_DIR}/CMake/cmake_uninstall.cmake.in +- ${CMAKE_CURRENT_BINARY_DIR}/CMake/cmake_uninstall.cmake +- IMMEDIATE @ONLY) ++ if(NOT TARGET curl_uninstall) ++ configure_file( ++ ${CMAKE_CURRENT_SOURCE_DIR}/CMake/cmake_uninstall.cmake.in ++ ${CMAKE_CURRENT_BINARY_DIR}/CMake/cmake_uninstall.cmake ++ IMMEDIATE @ONLY) + +- add_custom_target(curl_uninstall +- COMMAND ${CMAKE_COMMAND} -P +- ${CMAKE_CURRENT_BINARY_DIR}/CMake/cmake_uninstall.cmake) ++ add_custom_target(curl_uninstall ++ COMMAND ${CMAKE_COMMAND} -P ++ ${CMAKE_CURRENT_BINARY_DIR}/CMake/cmake_uninstall.cmake) ++ endif() + endif() +diff --git a/COPYING b/COPYING +index d1eab3e..d9e7e0b 100644 +--- a/COPYING ++++ b/COPYING +@@ -1,6 +1,6 @@ + COPYRIGHT AND PERMISSION NOTICE + +-Copyright (c) 1996 - 2023, Daniel Stenberg, , and many ++Copyright (c) 1996 - 2024, Daniel Stenberg, , and many + contributors, see the THANKS file. + + All rights reserved. +diff --git a/Makefile b/Makefile +index a5818e1..3db331a 100644 +--- a/Makefile ++++ b/Makefile +@@ -30,27 +30,6 @@ ssl: + ./configure --with-openssl + make + +-mingw32: +- $(MAKE) -C lib -f Makefile.mk +- $(MAKE) -C src -f Makefile.mk +- +-mingw32-clean: +- $(MAKE) -C lib -f Makefile.mk clean +- $(MAKE) -C src -f Makefile.mk clean +- $(MAKE) -C docs/examples -f Makefile.mk clean +- +-mingw32-vclean mingw32-distclean: +- $(MAKE) -C lib -f Makefile.mk vclean +- $(MAKE) -C src -f Makefile.mk vclean +- $(MAKE) -C docs/examples -f Makefile.mk vclean +- +-mingw32-examples%: +- $(MAKE) -C docs/examples -f Makefile.mk CFG=$@ +- +-mingw32%: +- $(MAKE) -C lib -f Makefile.mk CFG=$@ +- $(MAKE) -C src -f Makefile.mk CFG=$@ +- + vc: + cd winbuild + nmake /f Makefile.vc MACHINE=x86 +diff --git a/Makefile.am b/Makefile.am +index 6c780a8..658189e 100644 +--- a/Makefile.am ++++ b/Makefile.am +@@ -53,27 +53,6 @@ CMAKE_DIST = \ + CMake/Utilities.cmake \ + CMakeLists.txt + +-VC10_LIBTMPL = projects/Windows/VC10/lib/libcurl.tmpl +-VC10_LIBVCXPROJ = projects/Windows/VC10/lib/libcurl.vcxproj.dist +-VC10_LIBVCXPROJ_DEPS = $(VC10_LIBTMPL) Makefile.am lib/Makefile.inc +-VC10_SRCTMPL = projects/Windows/VC10/src/curl.tmpl +-VC10_SRCVCXPROJ = projects/Windows/VC10/src/curl.vcxproj.dist +-VC10_SRCVCXPROJ_DEPS = $(VC10_SRCTMPL) Makefile.am src/Makefile.inc +- +-VC11_LIBTMPL = projects/Windows/VC11/lib/libcurl.tmpl +-VC11_LIBVCXPROJ = projects/Windows/VC11/lib/libcurl.vcxproj.dist +-VC11_LIBVCXPROJ_DEPS = $(VC11_LIBTMPL) Makefile.am lib/Makefile.inc +-VC11_SRCTMPL = projects/Windows/VC11/src/curl.tmpl +-VC11_SRCVCXPROJ = projects/Windows/VC11/src/curl.vcxproj.dist +-VC11_SRCVCXPROJ_DEPS = $(VC11_SRCTMPL) Makefile.am src/Makefile.inc +- +-VC12_LIBTMPL = projects/Windows/VC12/lib/libcurl.tmpl +-VC12_LIBVCXPROJ = projects/Windows/VC12/lib/libcurl.vcxproj.dist +-VC12_LIBVCXPROJ_DEPS = $(VC12_LIBTMPL) Makefile.am lib/Makefile.inc +-VC12_SRCTMPL = projects/Windows/VC12/src/curl.tmpl +-VC12_SRCVCXPROJ = projects/Windows/VC12/src/curl.vcxproj.dist +-VC12_SRCVCXPROJ_DEPS = $(VC12_SRCTMPL) Makefile.am src/Makefile.inc +- + VC14_LIBTMPL = projects/Windows/VC14/lib/libcurl.tmpl + VC14_LIBVCXPROJ = projects/Windows/VC14/lib/libcurl.vcxproj.dist + VC14_LIBVCXPROJ_DEPS = $(VC14_LIBTMPL) Makefile.am lib/Makefile.inc +@@ -88,6 +67,13 @@ VC14_10_SRCTMPL = projects/Windows/VC14.10/src/curl.tmpl + VC14_10_SRCVCXPROJ = projects/Windows/VC14.10/src/curl.vcxproj.dist + VC14_10_SRCVCXPROJ_DEPS = $(VC14_10_SRCTMPL) Makefile.am src/Makefile.inc + ++VC14_20_LIBTMPL = projects/Windows/VC14.20/lib/libcurl.tmpl ++VC14_20_LIBVCXPROJ = projects/Windows/VC14.20/lib/libcurl.vcxproj.dist ++VC14_20_LIBVCXPROJ_DEPS = $(VC14_20_LIBTMPL) Makefile.am lib/Makefile.inc ++VC14_20_SRCTMPL = projects/Windows/VC14.20/src/curl.tmpl ++VC14_20_SRCVCXPROJ = projects/Windows/VC14.20/src/curl.vcxproj.dist ++VC14_20_SRCVCXPROJ_DEPS = $(VC14_20_SRCTMPL) Makefile.am src/Makefile.inc ++ + VC14_30_LIBTMPL = projects/Windows/VC14.30/lib/libcurl.tmpl + VC14_30_LIBVCXPROJ = projects/Windows/VC14.30/lib/libcurl.vcxproj.dist + VC14_30_LIBVCXPROJ_DEPS = $(VC14_30_LIBTMPL) Makefile.am lib/Makefile.inc +@@ -99,21 +85,6 @@ VC_DIST = projects/README.md \ + projects/build-openssl.bat \ + projects/build-wolfssl.bat \ + projects/checksrc.bat \ +- projects/Windows/VC10/curl-all.sln \ +- projects/Windows/VC10/lib/libcurl.sln \ +- projects/Windows/VC10/lib/libcurl.vcxproj.filters \ +- projects/Windows/VC10/src/curl.sln \ +- projects/Windows/VC10/src/curl.vcxproj.filters \ +- projects/Windows/VC11/curl-all.sln \ +- projects/Windows/VC11/lib/libcurl.sln \ +- projects/Windows/VC11/lib/libcurl.vcxproj.filters \ +- projects/Windows/VC11/src/curl.sln \ +- projects/Windows/VC11/src/curl.vcxproj.filters \ +- projects/Windows/VC12/curl-all.sln \ +- projects/Windows/VC12/lib/libcurl.sln \ +- projects/Windows/VC12/lib/libcurl.vcxproj.filters \ +- projects/Windows/VC12/src/curl.sln \ +- projects/Windows/VC12/src/curl.vcxproj.filters \ + projects/Windows/VC14/curl-all.sln \ + projects/Windows/VC14/lib/libcurl.sln \ + projects/Windows/VC14/lib/libcurl.vcxproj.filters \ +@@ -124,6 +95,11 @@ VC_DIST = projects/README.md \ + projects/Windows/VC14.10/lib/libcurl.vcxproj.filters \ + projects/Windows/VC14.10/src/curl.sln \ + projects/Windows/VC14.10/src/curl.vcxproj.filters \ ++ projects/Windows/VC14.20/curl-all.sln \ ++ projects/Windows/VC14.20/lib/libcurl.sln \ ++ projects/Windows/VC14.20/lib/libcurl.vcxproj.filters \ ++ projects/Windows/VC14.20/src/curl.sln \ ++ projects/Windows/VC14.20/src/curl.vcxproj.filters \ + projects/Windows/VC14.30/curl-all.sln \ + projects/Windows/VC14.30/lib/libcurl.sln \ + projects/Windows/VC14.30/lib/libcurl.vcxproj.filters \ +@@ -151,14 +127,14 @@ EXTRA_DIST = CHANGES COPYING maketgz Makefile.dist curl-config.in \ + $(VC_DIST) $(WINBUILD_DIST) $(PLAN9_DIST) lib/libcurl.vers.in buildconf.bat \ + libcurl.def + +-CLEANFILES = $(VC10_LIBVCXPROJ) $(VC10_SRCVCXPROJ) $(VC11_LIBVCXPROJ) \ +- $(VC11_SRCVCXPROJ) $(VC12_LIBVCXPROJ) $(VC12_SRCVCXPROJ) $(VC14_LIBVCXPROJ) \ +- $(VC14_SRCVCXPROJ) $(VC14_10_LIBVCXPROJ) $(VC14_10_SRCVCXPROJ) \ ++CLEANFILES = $(VC14_LIBVCXPROJ) $(VC14_SRCVCXPROJ) \ ++ $(VC14_10_LIBVCXPROJ) $(VC14_10_SRCVCXPROJ) \ ++ $(VC14_20_LIBVCXPROJ) $(VC14_20_SRCVCXPROJ) \ + $(VC14_30_LIBVCXPROJ) $(VC14_30_SRCVCXPROJ) + + bin_SCRIPTS = curl-config + +-SUBDIRS = lib src ++SUBDIRS = lib docs src scripts + DIST_SUBDIRS = $(SUBDIRS) tests packages scripts include docs + + pkgconfigdir = $(libdir)/pkgconfig +@@ -177,12 +153,6 @@ dist-hook: + cp -p $$file $(distdir)$$strip; \ + done) + +-html: +- cd docs && $(MAKE) html +- +-pdf: +- cd docs && $(MAKE) pdf +- + check: test examples check-docs + + if CROSSCOMPILING +@@ -271,10 +241,16 @@ cygwinbin: + $(MAKE) -C packages/Win32/cygwin cygwinbin + + # We extend the standard install with a custom hook: ++if BUILD_DOCS + install-data-hook: + (cd include && $(MAKE) install) + (cd docs && $(MAKE) install) + (cd docs/libcurl && $(MAKE) install) ++else ++install-data-hook: ++ (cd include && $(MAKE) install) ++ (cd docs && $(MAKE) install) ++endif + + # We extend the standard uninstall with a custom hook: + uninstall-hook: +@@ -300,10 +276,9 @@ checksrc: + + .PHONY: vc-ide + +-vc-ide: $(VC10_LIBVCXPROJ_DEPS) $(VC10_SRCVCXPROJ_DEPS) \ +- $(VC11_LIBVCXPROJ_DEPS) $(VC11_SRCVCXPROJ_DEPS) $(VC12_LIBVCXPROJ_DEPS) \ +- $(VC12_SRCVCXPROJ_DEPS) $(VC14_LIBVCXPROJ_DEPS) $(VC14_SRCVCXPROJ_DEPS) \ +- $(VC14_10_LIBVCXPROJ_DEPS) $(VC14_10_SRCVCXPROJ_DEPS) \ ++vc-ide: $(VC14_LIBVCXPROJ_DEPS) $(VC14_SRCVCXPROJ_DEPS) \ ++ $(VC14_10_LIBVCXPROJ_DEPS) $(VC14_10_SRCVCXPROJ_DEPS) \ ++ $(VC14_20_LIBVCXPROJ_DEPS) $(VC14_20_SRCVCXPROJ_DEPS) \ + $(VC14_30_LIBVCXPROJ_DEPS) $(VC14_30_SRCVCXPROJ_DEPS) + @(win32_lib_srcs='$(LIB_CFILES)'; \ + win32_lib_hdrs='$(LIB_HFILES) config-win32.h'; \ +@@ -465,55 +440,7 @@ function gen_element(type, dir, file)\ + printf("%s\r\n", $$0);\ + }';\ + \ +- echo "generating '$(VC10_LIBVCXPROJ)'"; \ +- awk -v proj_type=vcxproj \ +- -v lib_srcs="$$sorted_lib_srcs" \ +- -v lib_hdrs="$$sorted_lib_hdrs" \ +- -v lib_rc="$$win32_lib_rc" \ +- -v lib_vauth_srcs="$$sorted_lib_vauth_srcs" \ +- -v lib_vauth_hdrs="$$sorted_lib_vauth_hdrs" \ +- -v lib_vquic_srcs="$$sorted_lib_vquic_srcs" \ +- -v lib_vquic_hdrs="$$sorted_lib_vquic_hdrs" \ +- -v lib_vssh_srcs="$$sorted_lib_vssh_srcs" \ +- -v lib_vssh_hdrs="$$sorted_lib_vssh_hdrs" \ +- -v lib_vtls_srcs="$$sorted_lib_vtls_srcs" \ +- -v lib_vtls_hdrs="$$sorted_lib_vtls_hdrs" \ +- "$$awk_code" $(srcdir)/$(VC10_LIBTMPL) > $(VC10_LIBVCXPROJ) || { exit 1; }; \ +- \ +- echo "generating '$(VC10_SRCVCXPROJ)'"; \ +- awk -v proj_type=vcxproj \ +- -v src_srcs="$$sorted_src_srcs" \ +- -v src_hdrs="$$sorted_src_hdrs" \ +- -v src_rc="$$win32_src_rc" \ +- -v src_x_srcs="$$sorted_src_x_srcs" \ +- -v src_x_hdrs="$$sorted_src_x_hdrs" \ +- "$$awk_code" $(srcdir)/$(VC10_SRCTMPL) > $(VC10_SRCVCXPROJ) || { exit 1; }; \ +- \ +- echo "generating '$(VC11_LIBVCXPROJ)'"; \ +- awk -v proj_type=vcxproj \ +- -v lib_srcs="$$sorted_lib_srcs" \ +- -v lib_hdrs="$$sorted_lib_hdrs" \ +- -v lib_rc="$$win32_lib_rc" \ +- -v lib_vauth_srcs="$$sorted_lib_vauth_srcs" \ +- -v lib_vauth_hdrs="$$sorted_lib_vauth_hdrs" \ +- -v lib_vquic_srcs="$$sorted_lib_vquic_srcs" \ +- -v lib_vquic_hdrs="$$sorted_lib_vquic_hdrs" \ +- -v lib_vssh_srcs="$$sorted_lib_vssh_srcs" \ +- -v lib_vssh_hdrs="$$sorted_lib_vssh_hdrs" \ +- -v lib_vtls_srcs="$$sorted_lib_vtls_srcs" \ +- -v lib_vtls_hdrs="$$sorted_lib_vtls_hdrs" \ +- "$$awk_code" $(srcdir)/$(VC11_LIBTMPL) > $(VC11_LIBVCXPROJ) || { exit 1; }; \ +- \ +- echo "generating '$(VC11_SRCVCXPROJ)'"; \ +- awk -v proj_type=vcxproj \ +- -v src_srcs="$$sorted_src_srcs" \ +- -v src_hdrs="$$sorted_src_hdrs" \ +- -v src_rc="$$win32_src_rc" \ +- -v src_x_srcs="$$sorted_src_x_srcs" \ +- -v src_x_hdrs="$$sorted_src_x_hdrs" \ +- "$$awk_code" $(srcdir)/$(VC11_SRCTMPL) > $(VC11_SRCVCXPROJ) || { exit 1; }; \ +- \ +- echo "generating '$(VC12_LIBVCXPROJ)'"; \ ++ echo "generating '$(VC14_LIBVCXPROJ)'"; \ + awk -v proj_type=vcxproj \ + -v lib_srcs="$$sorted_lib_srcs" \ + -v lib_hdrs="$$sorted_lib_hdrs" \ +@@ -526,18 +453,18 @@ function gen_element(type, dir, file)\ + -v lib_vssh_hdrs="$$sorted_lib_vssh_hdrs" \ + -v lib_vtls_srcs="$$sorted_lib_vtls_srcs" \ + -v lib_vtls_hdrs="$$sorted_lib_vtls_hdrs" \ +- "$$awk_code" $(srcdir)/$(VC12_LIBTMPL) > $(VC12_LIBVCXPROJ) || { exit 1; }; \ ++ "$$awk_code" $(srcdir)/$(VC14_LIBTMPL) > $(VC14_LIBVCXPROJ) || { exit 1; }; \ + \ +- echo "generating '$(VC12_SRCVCXPROJ)'"; \ ++ echo "generating '$(VC14_SRCVCXPROJ)'"; \ + awk -v proj_type=vcxproj \ + -v src_srcs="$$sorted_src_srcs" \ + -v src_hdrs="$$sorted_src_hdrs" \ + -v src_rc="$$win32_src_rc" \ + -v src_x_srcs="$$sorted_src_x_srcs" \ + -v src_x_hdrs="$$sorted_src_x_hdrs" \ +- "$$awk_code" $(srcdir)/$(VC12_SRCTMPL) > $(VC12_SRCVCXPROJ) || { exit 1; }; \ ++ "$$awk_code" $(srcdir)/$(VC14_SRCTMPL) > $(VC14_SRCVCXPROJ) || { exit 1; }; \ + \ +- echo "generating '$(VC14_LIBVCXPROJ)'"; \ ++ echo "generating '$(VC14_10_LIBVCXPROJ)'"; \ + awk -v proj_type=vcxproj \ + -v lib_srcs="$$sorted_lib_srcs" \ + -v lib_hdrs="$$sorted_lib_hdrs" \ +@@ -550,18 +477,18 @@ function gen_element(type, dir, file)\ + -v lib_vssh_hdrs="$$sorted_lib_vssh_hdrs" \ + -v lib_vtls_srcs="$$sorted_lib_vtls_srcs" \ + -v lib_vtls_hdrs="$$sorted_lib_vtls_hdrs" \ +- "$$awk_code" $(srcdir)/$(VC14_LIBTMPL) > $(VC14_LIBVCXPROJ) || { exit 1; }; \ ++ "$$awk_code" $(srcdir)/$(VC14_10_LIBTMPL) > $(VC14_10_LIBVCXPROJ) || { exit 1; }; \ + \ +- echo "generating '$(VC14_SRCVCXPROJ)'"; \ ++ echo "generating '$(VC14_10_SRCVCXPROJ)'"; \ + awk -v proj_type=vcxproj \ + -v src_srcs="$$sorted_src_srcs" \ + -v src_hdrs="$$sorted_src_hdrs" \ + -v src_rc="$$win32_src_rc" \ + -v src_x_srcs="$$sorted_src_x_srcs" \ + -v src_x_hdrs="$$sorted_src_x_hdrs" \ +- "$$awk_code" $(srcdir)/$(VC14_SRCTMPL) > $(VC14_SRCVCXPROJ) || { exit 1; }; \ ++ "$$awk_code" $(srcdir)/$(VC14_10_SRCTMPL) > $(VC14_10_SRCVCXPROJ) || { exit 1; }; \ + \ +- echo "generating '$(VC14_10_LIBVCXPROJ)'"; \ ++ echo "generating '$(VC14_20_LIBVCXPROJ)'"; \ + awk -v proj_type=vcxproj \ + -v lib_srcs="$$sorted_lib_srcs" \ + -v lib_hdrs="$$sorted_lib_hdrs" \ +@@ -574,16 +501,16 @@ function gen_element(type, dir, file)\ + -v lib_vssh_hdrs="$$sorted_lib_vssh_hdrs" \ + -v lib_vtls_srcs="$$sorted_lib_vtls_srcs" \ + -v lib_vtls_hdrs="$$sorted_lib_vtls_hdrs" \ +- "$$awk_code" $(srcdir)/$(VC14_10_LIBTMPL) > $(VC14_10_LIBVCXPROJ) || { exit 1; }; \ ++ "$$awk_code" $(srcdir)/$(VC14_20_LIBTMPL) > $(VC14_20_LIBVCXPROJ) || { exit 1; }; \ + \ +- echo "generating '$(VC14_10_SRCVCXPROJ)'"; \ ++ echo "generating '$(VC14_20_SRCVCXPROJ)'"; \ + awk -v proj_type=vcxproj \ + -v src_srcs="$$sorted_src_srcs" \ + -v src_hdrs="$$sorted_src_hdrs" \ + -v src_rc="$$win32_src_rc" \ + -v src_x_srcs="$$sorted_src_x_srcs" \ + -v src_x_hdrs="$$sorted_src_x_hdrs" \ +- "$$awk_code" $(srcdir)/$(VC14_10_SRCTMPL) > $(VC14_10_SRCVCXPROJ) || { exit 1; }; \ ++ "$$awk_code" $(srcdir)/$(VC14_20_SRCTMPL) > $(VC14_20_SRCVCXPROJ) || { exit 1; }; \ + \ + echo "generating '$(VC14_30_LIBVCXPROJ)'"; \ + awk -v proj_type=vcxproj \ +diff --git a/Makefile.in b/Makefile.in +index 210e3da..ba66a92 100644 +--- a/Makefile.in ++++ b/Makefile.in +@@ -408,6 +408,7 @@ HAVE_BROTLI = @HAVE_BROTLI@ + HAVE_GNUTLS_SRP = @HAVE_GNUTLS_SRP@ + HAVE_LDAP_SSL = @HAVE_LDAP_SSL@ + HAVE_LIBZ = @HAVE_LIBZ@ ++HAVE_OPENSSL_QUIC = @HAVE_OPENSSL_QUIC@ + HAVE_OPENSSL_SRP = @HAVE_OPENSSL_SRP@ + HAVE_PROTO_BSDSOCKET_H = @HAVE_PROTO_BSDSOCKET_H@ + HAVE_ZSTD = @HAVE_ZSTD@ +@@ -435,11 +436,9 @@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ + MAINT = @MAINT@ + MAKEINFO = @MAKEINFO@ + MANIFEST_TOOL = @MANIFEST_TOOL@ +-MANOPT = @MANOPT@ + MKDIR_P = @MKDIR_P@ + NM = @NM@ + NMEDIT = @NMEDIT@ +-NROFF = @NROFF@ + OBJDUMP = @OBJDUMP@ + OBJEXT = @OBJEXT@ + OTOOL = @OTOOL@ +@@ -475,6 +474,7 @@ USE_ARES = @USE_ARES@ + USE_BEARSSL = @USE_BEARSSL@ + USE_GNUTLS = @USE_GNUTLS@ + USE_HYPER = @USE_HYPER@ ++USE_LIBPSL = @USE_LIBPSL@ + USE_LIBRTMP = @USE_LIBRTMP@ + USE_LIBSSH = @USE_LIBSSH@ + USE_LIBSSH2 = @USE_LIBSSH2@ +@@ -483,10 +483,14 @@ USE_MSH3 = @USE_MSH3@ + USE_NGHTTP2 = @USE_NGHTTP2@ + USE_NGHTTP3 = @USE_NGHTTP3@ + USE_NGTCP2 = @USE_NGTCP2@ ++USE_NGTCP2_CRYPTO_BORINGSSL = @USE_NGTCP2_CRYPTO_BORINGSSL@ + USE_NGTCP2_CRYPTO_GNUTLS = @USE_NGTCP2_CRYPTO_GNUTLS@ + USE_NGTCP2_CRYPTO_QUICTLS = @USE_NGTCP2_CRYPTO_QUICTLS@ + USE_NGTCP2_CRYPTO_WOLFSSL = @USE_NGTCP2_CRYPTO_WOLFSSL@ ++USE_NGTCP2_H3 = @USE_NGTCP2_H3@ + USE_OPENLDAP = @USE_OPENLDAP@ ++USE_OPENSSL_H3 = @USE_OPENSSL_H3@ ++USE_OPENSSL_QUIC = @USE_OPENSSL_QUIC@ + USE_QUICHE = @USE_QUICHE@ + USE_RUSTLS = @USE_RUSTLS@ + USE_SCHANNEL = @USE_SCHANNEL@ +@@ -585,24 +589,6 @@ CMAKE_DIST = \ + CMake/Utilities.cmake \ + CMakeLists.txt + +-VC10_LIBTMPL = projects/Windows/VC10/lib/libcurl.tmpl +-VC10_LIBVCXPROJ = projects/Windows/VC10/lib/libcurl.vcxproj.dist +-VC10_LIBVCXPROJ_DEPS = $(VC10_LIBTMPL) Makefile.am lib/Makefile.inc +-VC10_SRCTMPL = projects/Windows/VC10/src/curl.tmpl +-VC10_SRCVCXPROJ = projects/Windows/VC10/src/curl.vcxproj.dist +-VC10_SRCVCXPROJ_DEPS = $(VC10_SRCTMPL) Makefile.am src/Makefile.inc +-VC11_LIBTMPL = projects/Windows/VC11/lib/libcurl.tmpl +-VC11_LIBVCXPROJ = projects/Windows/VC11/lib/libcurl.vcxproj.dist +-VC11_LIBVCXPROJ_DEPS = $(VC11_LIBTMPL) Makefile.am lib/Makefile.inc +-VC11_SRCTMPL = projects/Windows/VC11/src/curl.tmpl +-VC11_SRCVCXPROJ = projects/Windows/VC11/src/curl.vcxproj.dist +-VC11_SRCVCXPROJ_DEPS = $(VC11_SRCTMPL) Makefile.am src/Makefile.inc +-VC12_LIBTMPL = projects/Windows/VC12/lib/libcurl.tmpl +-VC12_LIBVCXPROJ = projects/Windows/VC12/lib/libcurl.vcxproj.dist +-VC12_LIBVCXPROJ_DEPS = $(VC12_LIBTMPL) Makefile.am lib/Makefile.inc +-VC12_SRCTMPL = projects/Windows/VC12/src/curl.tmpl +-VC12_SRCVCXPROJ = projects/Windows/VC12/src/curl.vcxproj.dist +-VC12_SRCVCXPROJ_DEPS = $(VC12_SRCTMPL) Makefile.am src/Makefile.inc + VC14_LIBTMPL = projects/Windows/VC14/lib/libcurl.tmpl + VC14_LIBVCXPROJ = projects/Windows/VC14/lib/libcurl.vcxproj.dist + VC14_LIBVCXPROJ_DEPS = $(VC14_LIBTMPL) Makefile.am lib/Makefile.inc +@@ -615,6 +601,12 @@ VC14_10_LIBVCXPROJ_DEPS = $(VC14_10_LIBTMPL) Makefile.am lib/Makefile.inc + VC14_10_SRCTMPL = projects/Windows/VC14.10/src/curl.tmpl + VC14_10_SRCVCXPROJ = projects/Windows/VC14.10/src/curl.vcxproj.dist + VC14_10_SRCVCXPROJ_DEPS = $(VC14_10_SRCTMPL) Makefile.am src/Makefile.inc ++VC14_20_LIBTMPL = projects/Windows/VC14.20/lib/libcurl.tmpl ++VC14_20_LIBVCXPROJ = projects/Windows/VC14.20/lib/libcurl.vcxproj.dist ++VC14_20_LIBVCXPROJ_DEPS = $(VC14_20_LIBTMPL) Makefile.am lib/Makefile.inc ++VC14_20_SRCTMPL = projects/Windows/VC14.20/src/curl.tmpl ++VC14_20_SRCVCXPROJ = projects/Windows/VC14.20/src/curl.vcxproj.dist ++VC14_20_SRCVCXPROJ_DEPS = $(VC14_20_SRCTMPL) Makefile.am src/Makefile.inc + VC14_30_LIBTMPL = projects/Windows/VC14.30/lib/libcurl.tmpl + VC14_30_LIBVCXPROJ = projects/Windows/VC14.30/lib/libcurl.vcxproj.dist + VC14_30_LIBVCXPROJ_DEPS = $(VC14_30_LIBTMPL) Makefile.am lib/Makefile.inc +@@ -625,21 +617,6 @@ VC_DIST = projects/README.md \ + projects/build-openssl.bat \ + projects/build-wolfssl.bat \ + projects/checksrc.bat \ +- projects/Windows/VC10/curl-all.sln \ +- projects/Windows/VC10/lib/libcurl.sln \ +- projects/Windows/VC10/lib/libcurl.vcxproj.filters \ +- projects/Windows/VC10/src/curl.sln \ +- projects/Windows/VC10/src/curl.vcxproj.filters \ +- projects/Windows/VC11/curl-all.sln \ +- projects/Windows/VC11/lib/libcurl.sln \ +- projects/Windows/VC11/lib/libcurl.vcxproj.filters \ +- projects/Windows/VC11/src/curl.sln \ +- projects/Windows/VC11/src/curl.vcxproj.filters \ +- projects/Windows/VC12/curl-all.sln \ +- projects/Windows/VC12/lib/libcurl.sln \ +- projects/Windows/VC12/lib/libcurl.vcxproj.filters \ +- projects/Windows/VC12/src/curl.sln \ +- projects/Windows/VC12/src/curl.vcxproj.filters \ + projects/Windows/VC14/curl-all.sln \ + projects/Windows/VC14/lib/libcurl.sln \ + projects/Windows/VC14/lib/libcurl.vcxproj.filters \ +@@ -650,6 +627,11 @@ VC_DIST = projects/README.md \ + projects/Windows/VC14.10/lib/libcurl.vcxproj.filters \ + projects/Windows/VC14.10/src/curl.sln \ + projects/Windows/VC14.10/src/curl.vcxproj.filters \ ++ projects/Windows/VC14.20/curl-all.sln \ ++ projects/Windows/VC14.20/lib/libcurl.sln \ ++ projects/Windows/VC14.20/lib/libcurl.vcxproj.filters \ ++ projects/Windows/VC14.20/src/curl.sln \ ++ projects/Windows/VC14.20/src/curl.vcxproj.filters \ + projects/Windows/VC14.30/curl-all.sln \ + projects/Windows/VC14.30/lib/libcurl.sln \ + projects/Windows/VC14.30/lib/libcurl.vcxproj.filters \ +@@ -677,13 +659,13 @@ EXTRA_DIST = CHANGES COPYING maketgz Makefile.dist curl-config.in \ + $(VC_DIST) $(WINBUILD_DIST) $(PLAN9_DIST) lib/libcurl.vers.in buildconf.bat \ + libcurl.def + +-CLEANFILES = $(VC10_LIBVCXPROJ) $(VC10_SRCVCXPROJ) $(VC11_LIBVCXPROJ) \ +- $(VC11_SRCVCXPROJ) $(VC12_LIBVCXPROJ) $(VC12_SRCVCXPROJ) $(VC14_LIBVCXPROJ) \ +- $(VC14_SRCVCXPROJ) $(VC14_10_LIBVCXPROJ) $(VC14_10_SRCVCXPROJ) \ ++CLEANFILES = $(VC14_LIBVCXPROJ) $(VC14_SRCVCXPROJ) \ ++ $(VC14_10_LIBVCXPROJ) $(VC14_10_SRCVCXPROJ) \ ++ $(VC14_20_LIBVCXPROJ) $(VC14_20_SRCVCXPROJ) \ + $(VC14_30_LIBVCXPROJ) $(VC14_30_SRCVCXPROJ) + + bin_SCRIPTS = curl-config +-SUBDIRS = lib src ++SUBDIRS = lib docs src scripts + DIST_SUBDIRS = $(SUBDIRS) tests packages scripts include docs + pkgconfigdir = $(libdir)/pkgconfig + pkgconfig_DATA = libcurl.pc +@@ -743,15 +725,19 @@ LIB_VTLS_HFILES = \ + LIB_VQUIC_CFILES = \ + vquic/curl_msh3.c \ + vquic/curl_ngtcp2.c \ ++ vquic/curl_osslq.c \ + vquic/curl_quiche.c \ +- vquic/vquic.c ++ vquic/vquic.c \ ++ vquic/vquic-tls.c + + LIB_VQUIC_HFILES = \ + vquic/curl_msh3.h \ + vquic/curl_ngtcp2.h \ ++ vquic/curl_osslq.h \ + vquic/curl_quiche.h \ + vquic/vquic.h \ +- vquic/vquic_int.h ++ vquic/vquic_int.h \ ++ vquic/vquic-tls.h + + LIB_VSSH_CFILES = \ + vssh/libssh.c \ +@@ -795,9 +781,11 @@ LIB_CFILES = \ + curl_range.c \ + curl_rtmp.c \ + curl_sasl.c \ ++ curl_sha512_256.c \ + curl_sspi.c \ + curl_threads.c \ + curl_trc.c \ ++ cw-out.c \ + dict.c \ + doh.c \ + dynbuf.c \ +@@ -860,6 +848,7 @@ LIB_CFILES = \ + psl.c \ + rand.c \ + rename.c \ ++ request.c \ + rtsp.c \ + select.c \ + sendf.c \ +@@ -938,10 +927,12 @@ LIB_HFILES = \ + curl_setup.h \ + curl_setup_once.h \ + curl_sha256.h \ ++ curl_sha512_256.h \ + curl_sspi.h \ + curl_threads.h \ + curl_trc.h \ + curlx.h \ ++ cw-out.h \ + dict.h \ + doh.h \ + dynbuf.h \ +@@ -994,6 +985,7 @@ LIB_HFILES = \ + psl.h \ + rand.h \ + rename.h \ ++ request.h \ + rtsp.h \ + select.h \ + sendf.h \ +@@ -1086,6 +1078,7 @@ CURL_CFILES = \ + tool_help.c \ + tool_helpers.c \ + tool_hugehelp.c \ ++ tool_ipfs.c \ + tool_libinfo.c \ + tool_listhelp.c \ + tool_main.c \ +@@ -1129,6 +1122,7 @@ CURL_HFILES = \ + tool_help.h \ + tool_helpers.h \ + tool_hugehelp.h \ ++ tool_ipfs.h \ + tool_libinfo.h \ + tool_main.h \ + tool_msgs.h \ +@@ -1621,6 +1615,8 @@ dvi: dvi-recursive + + dvi-am: + ++html: html-recursive ++ + html-am: + + info: info-recursive +@@ -1666,6 +1662,8 @@ mostlyclean: mostlyclean-recursive + + mostlyclean-am: mostlyclean-generic mostlyclean-libtool + ++pdf: pdf-recursive ++ + pdf-am: + + ps: ps-recursive +@@ -1711,12 +1709,6 @@ dist-hook: + cp -p $$file $(distdir)$$strip; \ + done) + +-html: +- cd docs && $(MAKE) html +- +-pdf: +- cd docs && $(MAKE) pdf +- + check: test examples check-docs + + @CROSSCOMPILING_TRUE@test-full: test +@@ -1800,10 +1792,13 @@ cygwinbin: + $(MAKE) -C packages/Win32/cygwin cygwinbin + + # We extend the standard install with a custom hook: +-install-data-hook: +- (cd include && $(MAKE) install) +- (cd docs && $(MAKE) install) +- (cd docs/libcurl && $(MAKE) install) ++@BUILD_DOCS_TRUE@install-data-hook: ++@BUILD_DOCS_TRUE@ (cd include && $(MAKE) install) ++@BUILD_DOCS_TRUE@ (cd docs && $(MAKE) install) ++@BUILD_DOCS_TRUE@ (cd docs/libcurl && $(MAKE) install) ++@BUILD_DOCS_FALSE@install-data-hook: ++@BUILD_DOCS_FALSE@ (cd include && $(MAKE) install) ++@BUILD_DOCS_FALSE@ (cd docs && $(MAKE) install) + + # We extend the standard uninstall with a custom hook: + uninstall-hook: +@@ -1829,10 +1824,9 @@ checksrc: + + .PHONY: vc-ide + +-vc-ide: $(VC10_LIBVCXPROJ_DEPS) $(VC10_SRCVCXPROJ_DEPS) \ +- $(VC11_LIBVCXPROJ_DEPS) $(VC11_SRCVCXPROJ_DEPS) $(VC12_LIBVCXPROJ_DEPS) \ +- $(VC12_SRCVCXPROJ_DEPS) $(VC14_LIBVCXPROJ_DEPS) $(VC14_SRCVCXPROJ_DEPS) \ +- $(VC14_10_LIBVCXPROJ_DEPS) $(VC14_10_SRCVCXPROJ_DEPS) \ ++vc-ide: $(VC14_LIBVCXPROJ_DEPS) $(VC14_SRCVCXPROJ_DEPS) \ ++ $(VC14_10_LIBVCXPROJ_DEPS) $(VC14_10_SRCVCXPROJ_DEPS) \ ++ $(VC14_20_LIBVCXPROJ_DEPS) $(VC14_20_SRCVCXPROJ_DEPS) \ + $(VC14_30_LIBVCXPROJ_DEPS) $(VC14_30_SRCVCXPROJ_DEPS) + @(win32_lib_srcs='$(LIB_CFILES)'; \ + win32_lib_hdrs='$(LIB_HFILES) config-win32.h'; \ +@@ -1994,55 +1988,7 @@ function gen_element(type, dir, file)\ + printf("%s\r\n", $$0);\ + }';\ + \ +- echo "generating '$(VC10_LIBVCXPROJ)'"; \ +- awk -v proj_type=vcxproj \ +- -v lib_srcs="$$sorted_lib_srcs" \ +- -v lib_hdrs="$$sorted_lib_hdrs" \ +- -v lib_rc="$$win32_lib_rc" \ +- -v lib_vauth_srcs="$$sorted_lib_vauth_srcs" \ +- -v lib_vauth_hdrs="$$sorted_lib_vauth_hdrs" \ +- -v lib_vquic_srcs="$$sorted_lib_vquic_srcs" \ +- -v lib_vquic_hdrs="$$sorted_lib_vquic_hdrs" \ +- -v lib_vssh_srcs="$$sorted_lib_vssh_srcs" \ +- -v lib_vssh_hdrs="$$sorted_lib_vssh_hdrs" \ +- -v lib_vtls_srcs="$$sorted_lib_vtls_srcs" \ +- -v lib_vtls_hdrs="$$sorted_lib_vtls_hdrs" \ +- "$$awk_code" $(srcdir)/$(VC10_LIBTMPL) > $(VC10_LIBVCXPROJ) || { exit 1; }; \ +- \ +- echo "generating '$(VC10_SRCVCXPROJ)'"; \ +- awk -v proj_type=vcxproj \ +- -v src_srcs="$$sorted_src_srcs" \ +- -v src_hdrs="$$sorted_src_hdrs" \ +- -v src_rc="$$win32_src_rc" \ +- -v src_x_srcs="$$sorted_src_x_srcs" \ +- -v src_x_hdrs="$$sorted_src_x_hdrs" \ +- "$$awk_code" $(srcdir)/$(VC10_SRCTMPL) > $(VC10_SRCVCXPROJ) || { exit 1; }; \ +- \ +- echo "generating '$(VC11_LIBVCXPROJ)'"; \ +- awk -v proj_type=vcxproj \ +- -v lib_srcs="$$sorted_lib_srcs" \ +- -v lib_hdrs="$$sorted_lib_hdrs" \ +- -v lib_rc="$$win32_lib_rc" \ +- -v lib_vauth_srcs="$$sorted_lib_vauth_srcs" \ +- -v lib_vauth_hdrs="$$sorted_lib_vauth_hdrs" \ +- -v lib_vquic_srcs="$$sorted_lib_vquic_srcs" \ +- -v lib_vquic_hdrs="$$sorted_lib_vquic_hdrs" \ +- -v lib_vssh_srcs="$$sorted_lib_vssh_srcs" \ +- -v lib_vssh_hdrs="$$sorted_lib_vssh_hdrs" \ +- -v lib_vtls_srcs="$$sorted_lib_vtls_srcs" \ +- -v lib_vtls_hdrs="$$sorted_lib_vtls_hdrs" \ +- "$$awk_code" $(srcdir)/$(VC11_LIBTMPL) > $(VC11_LIBVCXPROJ) || { exit 1; }; \ +- \ +- echo "generating '$(VC11_SRCVCXPROJ)'"; \ +- awk -v proj_type=vcxproj \ +- -v src_srcs="$$sorted_src_srcs" \ +- -v src_hdrs="$$sorted_src_hdrs" \ +- -v src_rc="$$win32_src_rc" \ +- -v src_x_srcs="$$sorted_src_x_srcs" \ +- -v src_x_hdrs="$$sorted_src_x_hdrs" \ +- "$$awk_code" $(srcdir)/$(VC11_SRCTMPL) > $(VC11_SRCVCXPROJ) || { exit 1; }; \ +- \ +- echo "generating '$(VC12_LIBVCXPROJ)'"; \ ++ echo "generating '$(VC14_LIBVCXPROJ)'"; \ + awk -v proj_type=vcxproj \ + -v lib_srcs="$$sorted_lib_srcs" \ + -v lib_hdrs="$$sorted_lib_hdrs" \ +@@ -2055,18 +2001,18 @@ function gen_element(type, dir, file)\ + -v lib_vssh_hdrs="$$sorted_lib_vssh_hdrs" \ + -v lib_vtls_srcs="$$sorted_lib_vtls_srcs" \ + -v lib_vtls_hdrs="$$sorted_lib_vtls_hdrs" \ +- "$$awk_code" $(srcdir)/$(VC12_LIBTMPL) > $(VC12_LIBVCXPROJ) || { exit 1; }; \ ++ "$$awk_code" $(srcdir)/$(VC14_LIBTMPL) > $(VC14_LIBVCXPROJ) || { exit 1; }; \ + \ +- echo "generating '$(VC12_SRCVCXPROJ)'"; \ ++ echo "generating '$(VC14_SRCVCXPROJ)'"; \ + awk -v proj_type=vcxproj \ + -v src_srcs="$$sorted_src_srcs" \ + -v src_hdrs="$$sorted_src_hdrs" \ + -v src_rc="$$win32_src_rc" \ + -v src_x_srcs="$$sorted_src_x_srcs" \ + -v src_x_hdrs="$$sorted_src_x_hdrs" \ +- "$$awk_code" $(srcdir)/$(VC12_SRCTMPL) > $(VC12_SRCVCXPROJ) || { exit 1; }; \ ++ "$$awk_code" $(srcdir)/$(VC14_SRCTMPL) > $(VC14_SRCVCXPROJ) || { exit 1; }; \ + \ +- echo "generating '$(VC14_LIBVCXPROJ)'"; \ ++ echo "generating '$(VC14_10_LIBVCXPROJ)'"; \ + awk -v proj_type=vcxproj \ + -v lib_srcs="$$sorted_lib_srcs" \ + -v lib_hdrs="$$sorted_lib_hdrs" \ +@@ -2079,18 +2025,18 @@ function gen_element(type, dir, file)\ + -v lib_vssh_hdrs="$$sorted_lib_vssh_hdrs" \ + -v lib_vtls_srcs="$$sorted_lib_vtls_srcs" \ + -v lib_vtls_hdrs="$$sorted_lib_vtls_hdrs" \ +- "$$awk_code" $(srcdir)/$(VC14_LIBTMPL) > $(VC14_LIBVCXPROJ) || { exit 1; }; \ ++ "$$awk_code" $(srcdir)/$(VC14_10_LIBTMPL) > $(VC14_10_LIBVCXPROJ) || { exit 1; }; \ + \ +- echo "generating '$(VC14_SRCVCXPROJ)'"; \ ++ echo "generating '$(VC14_10_SRCVCXPROJ)'"; \ + awk -v proj_type=vcxproj \ + -v src_srcs="$$sorted_src_srcs" \ + -v src_hdrs="$$sorted_src_hdrs" \ + -v src_rc="$$win32_src_rc" \ + -v src_x_srcs="$$sorted_src_x_srcs" \ + -v src_x_hdrs="$$sorted_src_x_hdrs" \ +- "$$awk_code" $(srcdir)/$(VC14_SRCTMPL) > $(VC14_SRCVCXPROJ) || { exit 1; }; \ ++ "$$awk_code" $(srcdir)/$(VC14_10_SRCTMPL) > $(VC14_10_SRCVCXPROJ) || { exit 1; }; \ + \ +- echo "generating '$(VC14_10_LIBVCXPROJ)'"; \ ++ echo "generating '$(VC14_20_LIBVCXPROJ)'"; \ + awk -v proj_type=vcxproj \ + -v lib_srcs="$$sorted_lib_srcs" \ + -v lib_hdrs="$$sorted_lib_hdrs" \ +@@ -2103,16 +2049,16 @@ function gen_element(type, dir, file)\ + -v lib_vssh_hdrs="$$sorted_lib_vssh_hdrs" \ + -v lib_vtls_srcs="$$sorted_lib_vtls_srcs" \ + -v lib_vtls_hdrs="$$sorted_lib_vtls_hdrs" \ +- "$$awk_code" $(srcdir)/$(VC14_10_LIBTMPL) > $(VC14_10_LIBVCXPROJ) || { exit 1; }; \ ++ "$$awk_code" $(srcdir)/$(VC14_20_LIBTMPL) > $(VC14_20_LIBVCXPROJ) || { exit 1; }; \ + \ +- echo "generating '$(VC14_10_SRCVCXPROJ)'"; \ ++ echo "generating '$(VC14_20_SRCVCXPROJ)'"; \ + awk -v proj_type=vcxproj \ + -v src_srcs="$$sorted_src_srcs" \ + -v src_hdrs="$$sorted_src_hdrs" \ + -v src_rc="$$win32_src_rc" \ + -v src_x_srcs="$$sorted_src_x_srcs" \ + -v src_x_hdrs="$$sorted_src_x_hdrs" \ +- "$$awk_code" $(srcdir)/$(VC14_10_SRCTMPL) > $(VC14_10_SRCVCXPROJ) || { exit 1; }; \ ++ "$$awk_code" $(srcdir)/$(VC14_20_SRCTMPL) > $(VC14_20_SRCVCXPROJ) || { exit 1; }; \ + \ + echo "generating '$(VC14_30_LIBVCXPROJ)'"; \ + awk -v proj_type=vcxproj \ +diff --git a/RELEASE-NOTES b/RELEASE-NOTES +index 0b331a4..620578a 100644 +--- a/RELEASE-NOTES ++++ b/RELEASE-NOTES +@@ -1,155 +1,183 @@ +-curl and libcurl 8.4.0 ++curl and libcurl 8.7.0 + +- Public curl releases: 252 ++ Public curl releases: 255 + Command line options: 258 +- curl_easy_setopt() options: 303 ++ curl_easy_setopt() options: 304 + Public functions in libcurl: 93 +- Contributors: 2995 ++ Contributors: 3134 + + This release includes the following changes: + +- o curl: add support for the IPFS protocols via HTTP gateway [46] +- o curl_multi_get_handles: get easy handles from a multi handle [20] +- o mingw: delete support for legacy mingw.org toolchain [45] ++ o configure: add --disable-docs flag [16] ++ o CURLINFO_USED_PROXY: return bool whether the proxy was used [24] ++ o digest: support SHA-512/256 [118] ++ o DoH: add trace configuration [61] ++ o write-out: add '%{proxy_used}' [24] + + This release includes the following bugfixes: + +- o acinclude.m4: Document proper system truststore on FreeBSD [83] +- o appveyor: fix yamlint issues, indent [67] +- o appveyor: rewrite batch in PowerShell + CI improvements [109] +- o autotools: adjust `CURL_CA_PATH` value to CMake [53] +- o autotools: restore `HAVE_IOCTL_*` detections [111] +- o base64: also build for curl [78] +- o bufq: remove Curl_bufq_skip_and_shift (unused) [47] +- o build: delete checks for C89 standard headers [65] +- o build: do not publish `HAVE_BORINGSSL`, `HAVE_AWSLC` macros [114] +- o cf-socket: simulate slow/blocked receives in debug [120] +- o cmake, configure: also link with CoreServices [32] +- o cmake: add check for suseconds_t [91] +- o cmake: add feature checks for `memrchr` and `getifaddrs` [57] +- o cmake: add missing checks [86] +- o cmake: delete old `HAVE_LDAP_URL_PARSE` logic [105] +- o cmake: detect `HAVE_CLOCK_GETTIME_MONOTONIC_RAW` [75] +- o cmake: detect `HAVE_GETADDRINFO_THREADSAFE` [76] +- o cmake: detect `sys/wait.h` and `netinet/udp.h` [61] +- o cmake: detect TLS-SRP in OpenSSL/wolfSSL/GnuTLS [93] +- o cmake: disable unity mode with Windows Unicode + TrackMemory [108] +- o cmake: fix `HAVE_LDAP_SSL`, `HAVE_LDAP_URL_PARSE` on non-Windows [110] +- o cmake: fix `HAVE_WRITABLE_ARGV` detection [77] +- o cmake: fix duplicate symbols when linking tests [73] +- o cmake: fix missing `zlib.h` when compiling `libcurltool` [72] +- o cmake: fix stderr initialization in unity builds [71] +- o cmake: fix the help text to the static build option in CMakeLists.txt [10] +- o cmake: fix unity builds for more build combinations [96] +- o cmake: fix unity symbol collisions in h2 builds [48] +- o cmake: fix unity with Windows Unicode + TrackMemory [107] +- o cmake: improve OpenLDAP builds [92] +- o cmake: lib `CURL_STATICLIB` fixes (Windows) [74] +- o cmake: move global headers to specific checks [58] +- o cmake: pre-cache `HAVE_BASENAME` for mingw-w64 and MSVC [85] +- o cmake: pre-cache `HAVE_POLL_FINE` on Windows [36] +- o cmake: tidy-up `NOT_NEED_LBER_H` detection +- o cmake: validate `CURL_DEFAULT_SSL_BACKEND` config value [50] +- o configure: check for the capath by default [63] +- o configure: remove unused checks [87] +- o configure: replace adhoc domain with `localhost` in tests [79] +- o configure: sort AC_CHECK_FUNCS +- o connect: expire the timeout when trying next [54] +- o connect: only start the happy eyeballs timer when needed [95] +- o cookie: do not store the expire or max-age strings [16] +- o cookie: remove unnecessary struct fields [17] +- o cookie: set ->running in cookie_init even if data is NULL [5] +- o create-dirs.d: clarify it also uses --output-dirs [66] +- o curl.h: mark CURLSSLBACKEND_NSS as deprecated since 8.3.0 [18] +- o curl_easy_pause.3: mention h2/h3 buffering [113] +- o curl_easy_pause.3: mention it works within callbacks [112] +- o curl_easy_pause: set "in callback" true on exit if true [100] +- o CURLOPT_DEBUGFUNCTION.3: warn about internal handles [122] +- o docs/libcurl/opts/Makefile.inc: add missing manpage files +- o docs: adapt SEE ALSO sections to new requirements [52] +- o docs: explain how PINNEDPUBLICKEY is independent of VERIFYPEER [68] +- o docs: replace made up domains with example.com [82] +- o docs: update curl man page references [89] +- o docs: use CURLSSLBACKEND_NONE [19] +- o doh: inherit DEBUGFUNCTION/DATA [12] +- o escape: replace Curl_isunreserved with ISUNRESERVED [2] +- o FAQ: How do I upgrade curl.exe in Windows? [84] +- o GHA/linux: run singleuse to detect single-use global functions [35] +- o GHA: add workflow to compare configure vs cmake outputs [102] +- o h2-proxy: remove left-over mistake in drain_tunnel() [7] +- o h2: testcase and fix for pausing h2 streams [49] +- o h3: add support for ngtcp2 with AWS-LC builds [103] +- o http2: refused stream handling for retry [121] +- o http: fix CURL_DISABLE_BEARER_AUTH breakage [28] +- o http: h1/h2 proxy unification [21] +- o http: remove wrong comment for http_should_fail [55] +- o http: use per-request counter to check too large headers [6] +- o http_aws_sigv4: fix sorting with empty parts [13] +- o idn: fix WinIDN null ptr deref on bad host [90] +- o idn: if idn2_check_version returns NULL, return error [27] +- o inet_ntop: add typecast to silence Coverity [51] +- o lib: disambiguate Curl_client_write flag semantics [24] +- o lib: enable hmac for digest as well [26] +- o lib: failf/infof compiler warnings [8] +- o lib: let the max filesize option stop too big transfers too [44] +- o lib: move handling of `data->req.writer_stack` into Curl_client_write() [97] +- o lib: provide and use Curl_hexencode [62] +- o lib: remove TIME_WITH_SYS_TIME [88] +- o lib: use wrapper for curl_mime_data fseek callback [30] +- o libssh2: fix error message on failed pubkey-from-file [22] +- o libssh: cap SFTP packet size sent [14] +- o Makefile.mk: always set `CURL_STATICLIB` for lib (Windows) [42] +- o MANUAL.md: change domain to example.com [11] +- o misc: better random strings [15] +- o MQTT: improve receive of ACKs [125] +- o multi: do CURLM_CALL_MULTI_PERFORM at two more places [99] +- o multi: fix small timeouts [70] +- o multi: remove Curl_multi_dump [37] +- o multi: round the timeout up to prevent early wakeups [98] +- o multi: set CURLM_CALL_MULTI_PERFORM after switch to DOING_MORE [115] +- o openssl: improve ssl shutdown handling [69] +- o openssl: use X509_ALGOR_get0 instead of reaching into X509_ALGOR [104] +- o pytest: exclude test_03_goaway in CI runs due to timing dependency [23] +- o quic: set ciphers/curves the same way regular TLS does [43] +- o quiche: fix build error with --with-ca-fallback [1] +- o RELEASE-PROCEDURE.md: updated coming release dates +- o runtests: display the test status if tests appear hung [81] +- o runtests: eliminate a warning on old perl versions +- o socks: return error if hostname too long for remote resolve [118] +- o src/mkhelp: make generated code pass `checksrc` [59] +- o test1056: disable on Windows +- o test1474: disable test on NetBSD, OpenBSD and Solaris 10 [31] +- o test1592: greatly increase the maximum test timeout +- o test1903: actually verify the cookies after the test [116] +- o test1906: set a lower timeout since it's hit on Windows [117] +- o test2600: remove special case handling for USE_ALARM_TIMEOUT [3] +- o test650: fix an end tag typo +- o test661: return from test early in case of curl error +- o test: add missing s +- o tests: close the shell used to start sshd [41] +- o tests: fix a race condition in ftp server disconnect [101] +- o tests: fix compiler warnings [38] +- o tests: Fix zombie processes left behind by FTP tests. [80] +- o tests: improve SLOWDOWN test reliability by reducing sent data +- o tests: increase lib571 timeout from 3s to 30s [106] +- o tests: log the test result code after each libtest +- o tests: propagate errors in libtests +- o tests: set --expect100-timeout to improve test reliability +- o tests: show which curl tool `runtests.pl` is using [60] +- o tests: stop overriding the lock timeout +- o tftpd: always use curl's own tftp.h [25] +- o tool: use our own stderr variable [94] +- o tool_cb_wrt: fix debug assertion [4] +- o tool_getparam: accept variable expansion on file names too [123] +- o tool_setopt: remove unused function tool_setopt_flags [56] +- o upload-file.d: describe the file name slash/backslash handling [9] +- o url: fall back to http/https proxy env-variable if ws/wss not set [119] +- o url: fix netrc info message [39] +- o warnless: remove unused functions [33] +- o wolfssh: do cleanup in Curl_ssh_cleanup [40] +- o wolfssl: allow capath with CURLOPT_CAINFO_BLOB [29] +- o wolfssl: if CURLOPT_CAINFO_BLOB is set, ignore the CA files [34] +- o wolfssl: ignore errors in CA path [64] ++ o ALTSVC.md: correct a typo [14] ++ o asyn-ares: fix data race warning [88] ++ o asyn-thread: use wakeup_close to close the read descriptor [1] ++ o badwords: use hostname, not host name [46] ++ o BINDINGS: add mcurl, the python binding [67] ++ o bufq: writing into a softlimit queue cannot be partial [49] ++ o c-hyper: add header collection writer in hyper builds [70] ++ o cd2nroff: gen: make `\>` in input to render as plain '>' in output ++ o cd2nroff: remove backticks from titles ++ o checksrc.pl: fix handling .checksrc with CRLF [43] ++ o cmake: add USE_OPENSSL_QUIC support [21] ++ o cmake: add warning for using TLS libraries without 1.3 support [25] ++ o cmake: enable `ENABLE_CURL_MANUAL` by default [112] ++ o cmake: fix `CURL_WINDOWS_SSPI=ON` with Schannel disabled [117] ++ o cmake: fix function description in comment [47] ++ o cmake: fix install for older CMake versions [53] ++ o cmake: fix libcurl.pc and curl-config library specifications [115] ++ o cmdline-docs/Makefile: avoid using a fixed temp file name [5] ++ o cmdline-docs: quote and angle bracket cleanup [45] ++ o cmdline-opts/_EXITCODES: sync with libcurl-errors [80] ++ o cmdline-opts/_VARIABLES.md: improve the description [105] ++ o cmdline-opts/_VERSION: provide %VERSION correctly [87] ++ o cmdline-opts: shorter help texts [148] ++ o configure: add pkg-config support to rustls detection [151] ++ o configure: add warning for using TLS libraries without 1.3 support [26] ++ o configure: build & install shell completions when enabled [85] ++ o configure: do not link with nghttp3 unless necessary [7] ++ o configure: Don't build shell completions when disabled [68] ++ o configure: Don't make shell completions without perl [83] ++ o configure: find libpsl with pkg-config [79] ++ o connect.c: fix typo [17] ++ o CONTRIBUTE: update the section on documentation format [96] ++ o cookie.md: provide an example sending a fixed cookie [13] ++ o cookie: if psl fails, reject the cookie [107] ++ o curl: exit on config file parser errors [40] ++ o curl: make --libcurl output better CURLOPT_*SSLVERSION [127] ++ o curl: when allocating variables, add the name into the struct [37] ++ o curl_setup.h: add curl_uint64_t internal type ++ o curldown: fix email address in Copyright [89] ++ o CURLMOPT_MAX*: mention what happens if changed mid-transfer [154] ++ o CURLOPT_INTERFACE.md: remove spurious amp, add see-also [137] ++ o CURLOPT_POSTQUOTE.md: fix typo [36] ++ o CURLOPT_SSL_CTX_FUNCTION.md: no promises of lifetime after return [104] ++ o CURLOPT_WRITEFUNCTION.md: typo fix [41] ++ o digest: add check for hashing error [111] ++ o dist: make sure the http tests are in the tarball [29] ++ o DISTROS: add document with distro pointers [144] ++ o docs/libcurl: add TLS backend info for all TLS options [155] ++ o docs/libcurl: generate PROTOCOLS from meta-data [153] ++ o docs: add missing slashes to SChannel client certificate documentation [11] ++ o docs: add necessary setup for nghttp3 [51] ++ o docs: ascii version of manpage without nroff [121] ++ o docs: dist curl*.1 and install without perl [64] ++ o docs: make curldown do angle brackets like markdown [54] ++ o docs: make each libcurl man specify protocol(s) [157] ++ o docs: make sure curl.1 is included in dist tarballs [35] ++ o docs: update minimal binary size in INSTALL.md ++ o docs: use present tense [103] ++ o examples: use present tense in comments [97] ++ o file: use xfer buf for file:// transfers [23] ++ o fopen: fix narrowing conversion warning on 32-bit Android [100] ++ o form-string.md: correct the example [4] ++ o ftp: do lineend conversions in client writer [32] ++ o ftp: fix socket wait activity in ftp_domore_getsock [28] ++ o ftp: tracing improvements [33] ++ o ftp: treat a 226 arriving before data as a signal to read data [19] ++ o gen.pl: make the "manpageification" faster [95] ++ o gen: make `\>` in input to render as plain '>' in output [78] ++ o getparam: make --ftp-ssl work again [90] ++ o GHA/linux: add sysctl trick to work-around GitHub runner issue [129] ++ o GIT-INFO: convert to markdown [114] ++ o GOVERNANCE: document the core team [133] ++ o header.md: remove backslash, make nicer markdown [48] ++ o HTTP/2: write response directly [12] ++ o http2, http3: return CURLE_PARTIAL_FILE when bytes were received [160] ++ o http2: fix push discard [124] ++ o http2: memory errors in the push callbacks are fatal [132] ++ o http2: minor tweaks to optimize two struct sizes [130] ++ o http2: push headers better cleanup [113] ++ o http2: remove the third (unused) argument from http2_data_done() [159] ++ o HTTP3.md: adjust the OpenSSL QUIC install instructions [34] ++ o http: better error message for HTTP/1.x response without status line [86] ++ o http: improve response header handling, save cpu cycles [138] ++ o http: move headers collecting to writer [71] ++ o http: remove stale comment about rewindbeforesend [136] ++ o http: separate response parsing from response action [158] ++ o http_chunks: fix the accounting of consumed bytes [22] ++ o http_chunks: remove unused 'endptr' variable [58] ++ o https-proxy: use IP address and cert with ip in alt names [50] ++ o hyper: implement unpausing via client reader [98] ++ o ipv6.md: mention IPv4 mapped addresses [147] ++ o KNOWN_BUGS: POP3 issue when reading small chunks [134] ++ o lib1598: fix `CURLOPT_POSTFIELDSIZE` usage [128] ++ o lib582: remove code causing warning that is never run [38] ++ o lib: add `void *ctx` to reader/writer instances [122] ++ o lib: convert Curl_get_line to use dynbuf [42] ++ o lib: Curl_read/Curl_write clarifications [101] ++ o lib: enhance client reader resume + rewind [92] ++ o lib: initialize output pointers to NULL before calling strto[ff,l,ul] [63] ++ o lib: keep conn IP information together [109] ++ o lib: move 'done' parameter to SingleRequests [142] ++ o lib: remove curl_mimepart object when CURL_DISABLE_MIME [72] ++ o libcurl-docs: cleanups ++ o libcurl-security.md: Active FTP passes on the local IP address [6] ++ o libssh/libssh2: return error on too big range [75] ++ o MANUAL.md: fix typo [66] ++ o mbedtls: fix building when MBEDTLS_X509_REMOVE_INFO flag is defined [27] ++ o mbedtls: fix pytest for newer versions [146] ++ o mbedtls: properly cleanup the thread-shared entropy [140] ++ o mbedtls: use mbedtls_ssl_conf_{min|max}_tls_version [59] ++ o md4: include strdup.h for the memdup proto [10] ++ o mime: add client reader [126] ++ o misc: fix typos in docs and lib [84] ++ o mkhelp: simplify the generated hugehelp program [120] ++ o mprintf: fix format prefix I32/I64 for windows compilers [77] ++ o multi: add xfer_buf to multi handle [30] ++ o multi: fix multi_sock handling of select_bits [81] ++ o multi: make add_handle free any multi_easy [102] ++ o ngtcp2: no recvbuf for stream [108] ++ o ntml_wb: fix buffer type typo [2] ++ o OpenSSL QUIC: adapt to v3.3.x [65] ++ o openssl-quic: check on Windows that socket conv to int is possible [8] ++ o openssl-quic: fix BIO leak and Windows warning [93] ++ o openssl-quic: fix unity build, casing, indentation [94] ++ o OS400: avoid using awk in the build scripts [20] ++ o paramhlp: fix CRLF-stripping files with "-d @file" [116] ++ o proxy1.0.md: fix example [15] ++ o pytest: adapt to API change [106] ++ o request: clarify message when request has been sent off [143] ++ o rustls: make curl compile with 0.12.0 [73] ++ o schannel: fix hang on unexpected server close [57] ++ o scripts: fix cijobs.pl for Azure and GHA ++ o sendf: ignore response body to HEAD [18] ++ o setopt: fix check for CURLOPT_PROXY_TLSAUTH_TYPE value [76] ++ o setopt: fix disabling all protocols [99] ++ o sha512_256: add support for GnuTLS and OpenSSL [110] ++ o smtp: fix STARTTLS [91] ++ o SPONSORS: describe the basics [131] ++ o strtoofft: fix the overflow check [74] ++ o test 1541: verify getinfo values on first header callback [149] ++ o test1165: improve pattern matching [60] ++ o tests: support setting/using blank content env variables ++ o TIMER_STARTTRANSFER: set the same for everyone [82] ++ o TLS: start shutdown only when peer did not already close [150] ++ o TODO: update 13.11 with more information [152] ++ o tool_cb_hdr: only parse etag + content-disposition for 2xx [9] ++ o tool_getparam: accept a blank -w "" [139] ++ o tool_getparam: handle non-existing (out of range) short-options [141] ++ o tool_operate: change precedence of server Retry-After time [44] ++ o tool_operate: do not set CURLOPT_QUICK_EXIT in debug builds [3] ++ o trace-config.md: remove the mutexed options list [119] ++ o transfer.c: break receive loop in speed limited transfers [125] ++ o transfer: improve Windows SO_SNDBUF update limit [56] ++ o urldata: move authneg bit from conn to Curl_easy [69] ++ o version: allow building with ancient libpsl [52] ++ o vquic-tls: fix the error code returned for bad CA file [135] ++ o vtls: fix tls proxy peer verification [55] ++ o vtls: revert "receive max buffer" + add test case [39] ++ o VULN-DISCLOSURE-POLICY.md: update detail about CVE requests [123] ++ o websocket: fix curl_ws_recv() [62] ++ o wolfSSL: do not call the stub function wolfSSL_BIO_set_init() [145] ++ o write-out.md: clarify error handling details [31] + + This release includes the following known bugs: + +@@ -164,143 +192,188 @@ Planned upcoming removals include: + This release would not have looked like this without help, code, reports and + advice from friends like these: + +- Aleksander Mazur, black-desk on github, calvin2021y on github, +- Christian Schmitz, Christian Weisgerber, claudiusaiz on github, +- consulion on github, Craig Andrews, Dan Fandrich, Daniel Stenberg, +- David Benjamin, Douglas R. Reno, Eduard Strehlau, Elliot Killick, +- Gisle Vanem, Hakan Sunay Halil, Harry Sintonen, Jakub Jelen, John Haugabook, +- Joshix-1 on github, Juliusz Sosinowicz, Junho Choi, +- Karthikdasari0423 on github, Lars Francke, Loïc Yhuel, Marc Hörsken, +- Mark Gaiser, Mathias Fuchs, Maxim Dzhura, Michael Osipov, Natanael Copa, +- Patrick Monnerat, PBudmark on github, Peter Wang, Philip Heiduck, Ray Satiro, +- Robert Simpson, Ryan Schmidt, s0urc3_ on hackerone, Samuel Henrique, +- Stefan Eissing, Ted Lyngmo, Viktor Szakats, vvb2060, w0x42 on hackerone, +- å—å®«é›ªçŠ +- (46 contributors) ++ 5533asdg on github, Alan Coopersmith, Andreas Kiefer, Andrew Kaster, ++ Andy Fiddaman, Arjan van de Ven, av223119 on github, awesomekosm on github, ++ Boris Verkhovskiy, Brett Buddin, Brian Clemens, chensong1211 on github, ++ Chris Webb, chrysos349 on github, Dan Fandrich, Daniel Gustafsson, ++ Daniel Stenberg, Daniel Szmulewicz, Dan McDonald, DasKutti on github, ++ dependabot[bot], Dexter Gerig, dfdity on github, Dirk Hünniger, ++ Dmitry Karpov, Dmitry Tretyakov, edmcln on github, Erik Schnetter, ++ Evgeny Grin (Karlson2k), Fabian Keil, Fabian Vogt, Fabrice Fontaine, ++ Faraz Fallahi, Gaelan Steele, Geeknik Labs, Gisle Vanem, graywolf on github, ++ Harry Sintonen, HsiehYuho on github, Jan Macku, Jiawen Geng, Jiří Bok, ++ Joel Depooter, John Marshall, Jonathan Perkin, Jon Rumsey, Jordan Brown, ++ Josh Soref, Karthikdasari0423, Karthikdasari0423 on github, Kevin Daudt, ++ Konstantin Vlasov, kpcyrd, Lars Kellogg-Stedman, LeeRiva, Louis Solofrizzo, ++ Lukáš Zaoral, Marcel Raad, Marcus Müller, Matt Jolly, Michael Forney, ++ Michael Kaufmann, MichaÅ‚ Antoniak, MichaÅ‚ Górny, Mohammadreza Hendiani, ++ Nikita Taranov, Outvi V, Patrick Monnerat, PaweÅ‚ Witas, PÄ“teris Caune, ++ Peter Krefting, RainRat, Ramiro Garcia, Ray Satiro, Richard Levitte, ++ Robert Moreton, Ross Burton, Rudi Heitbaum, Ryan Carsten Schmidt, ++ Scott Mutter, Scott Talbert, Sean Molenaar, Sebastian Neubauer, ++ Sergey Bronnikov, Simon K, Stefan Eissing, Tal Regev, Thomas Pyle, ++ Till Wegmüller, Viktor Szakats, vulnerabilityspotter on hackerone, ++ Winni Neessen ++ (92 contributors) + + References to bug reports and discussions on issues: + +- [1] = https://curl.se/bug/?i=11850 +- [2] = https://curl.se/bug/?i=11846 +- [3] = https://curl.se/bug/?i=11767 +- [4] = https://github.com/curl/curl/commit/af3f4e41#r127212213 +- [5] = https://curl.se/bug/?i=11875 +- [6] = https://curl.se/bug/?i=11871 +- [7] = https://curl.se/bug/?i=11877 +- [8] = https://curl.se/bug/?i=11874 +- [9] = https://curl.se/bug/?i=11911 +- [10] = https://curl.se/bug/?i=11843 +- [11] = https://curl.se/bug/?i=11866 +- [12] = https://curl.se/bug/?i=11864 +- [13] = https://curl.se/bug/?i=11855 +- [14] = https://curl.se/bug/?i=11804 +- [15] = https://curl.se/bug/?i=11838 +- [16] = https://curl.se/bug/?i=11862 +- [17] = https://curl.se/bug/?i=11862 +- [18] = https://curl.se/bug/?i=11905 +- [19] = https://curl.se/bug/?i=11909 +- [20] = https://curl.se/bug/?i=11750 +- [21] = https://curl.se/bug/?i=11808 +- [22] = https://curl.se/bug/?i=11837 +- [23] = https://curl.se/bug/?i=11860 +- [24] = https://curl.se/bug/?i=11885 +- [25] = https://curl.se/bug/?i=11897 +- [26] = https://curl.se/bug/?i=11890 +- [27] = https://curl.se/bug/?i=11898 +- [28] = https://curl.se/bug/?i=11892 +- [29] = https://curl.se/bug/?i=11886 +- [30] = https://curl.se/bug/?i=11882 +- [31] = https://curl.se/bug/?i=11888 +- [32] = https://curl.se/bug/?i=11893 +- [33] = https://curl.se/bug/?i=11932 +- [34] = https://curl.se/bug/?i=11884 +- [35] = https://curl.se/bug/?i=11932 +- [36] = https://curl.se/bug/?i=12003 +- [37] = https://curl.se/bug/?i=11931 +- [38] = https://curl.se/bug/?i=11925 +- [39] = https://curl.se/bug/?i=11904 +- [40] = https://curl.se/bug/?i=11921 +- [41] = https://curl.se/bug/?i=12032 +- [42] = https://curl.se/bug/?i=11924 +- [43] = https://curl.se/bug/?i=11796 +- [44] = https://curl.se/bug/?i=11810 +- [45] = https://curl.se/bug/?i=11625 +- [46] = https://curl.se/bug/?i=8805 +- [47] = https://curl.se/bug/?i=11915 +- [48] = https://curl.se/bug/?i=11912 +- [49] = https://curl.se/bug/?i=11982 +- [50] = https://curl.se/bug/?i=11998 +- [51] = https://curl.se/bug/?i=11960 +- [52] = https://curl.se/bug/?i=11957 +- [53] = https://curl.se/bug/?i=11997 +- [54] = https://curl.se/bug/?i=11920 +- [55] = https://curl.se/bug/?i=11941 +- [56] = https://curl.se/bug/?i=11943 +- [57] = https://curl.se/bug/?i=11954 +- [58] = https://curl.se/bug/?i=11951 +- [59] = https://curl.se/bug/?i=11955 +- [60] = https://curl.se/bug/?i=11953 +- [61] = https://curl.se/bug/?i=11996 +- [62] = https://curl.se/bug/?i=11990 +- [63] = https://curl.se/bug/?i=11987 +- [64] = https://curl.se/bug/?i=11987 +- [65] = https://curl.se/bug/?i=11940 +- [66] = https://curl.se/bug/?i=11991 +- [67] = https://curl.se/bug/?i=11994 +- [68] = https://curl.se/bug/?i=2935 +- [69] = https://curl.se/bug/?i=11858 +- [70] = https://curl.se/bug/?i=11937 +- [71] = https://curl.se/bug/?i=11929 +- [72] = https://curl.se/bug/?i=11927 +- [73] = https://curl.se/bug/?i=11926 +- [74] = https://curl.se/bug/?i=11914 +- [75] = https://curl.se/bug/?i=11981 +- [76] = https://curl.se/bug/?i=11979 +- [77] = https://curl.se/bug/?i=11978 +- [78] = https://curl.se/bug/?i=12010 +- [79] = https://curl.se/bug/?i=11988 +- [80] = https://curl.se/bug/?i=12018 +- [81] = https://curl.se/bug/?i=11980 +- [82] = https://curl.se/bug/?i=11986 +- [83] = https://curl.se/bug/?i=11985 +- [84] = https://curl.se/bug/?i=11984 +- [85] = https://curl.se/bug/?i=11974 +- [86] = https://curl.se/bug/?i=11973 +- [87] = https://curl.se/bug/?i=11973 +- [88] = https://curl.se/bug/?i=11975 +- [89] = https://curl.se/bug/?i=11963 +- [90] = https://curl.se/bug/?i=11983 +- [91] = https://curl.se/bug/?i=11977 +- [92] = https://curl.se/bug/?i=12024 +- [93] = https://curl.se/bug/?i=11967 +- [94] = https://curl.se/bug/?i=11958 +- [95] = https://curl.se/bug/?i=11939 +- [96] = https://curl.se/bug/?i=12027 +- [97] = https://curl.se/bug/?i=11908 +- [98] = https://curl.se/bug/?i=11938 +- [99] = https://curl.se/bug/?i=12033 +- [100] = https://curl.se/bug/?i=12059 +- [101] = https://curl.se/bug/?i=12002 +- [102] = https://curl.se/bug/?i=11964 +- [103] = https://curl.se/bug/?i=12066 +- [104] = https://curl.se/bug/?i=12038 +- [105] = https://curl.se/bug/?i=12015 +- [106] = https://curl.se/bug/?i=12013 +- [107] = https://curl.se/bug/?i=11928 +- [108] = https://curl.se/bug/?i=12005 +- [109] = https://curl.se/bug/?i=11999 +- [110] = https://curl.se/bug/?i=12006 +- [111] = https://curl.se/bug/?i=12008 +- [112] = https://curl.se/mail/lib-2023-10/0010.html +- [113] = https://curl.se/bug/?i=12045 +- [114] = https://curl.se/bug/?i=12065 +- [115] = https://curl.se/bug/?i=12042 +- [116] = https://curl.se/bug/?i=12041 +- [117] = https://curl.se/bug/?i=12036 +- [118] = https://curl.se/docs/CVE-2023-38545.html +- [119] = https://curl.se/bug/?i=12031 +- [120] = https://curl.se/bug/?i=12035 +- [121] = https://curl.se/bug/?i=12054 +- [122] = https://curl.se/bug/?i=12034 +- [123] = https://curl.se/bug/?i=12048 +- [125] = https://curl.se/bug/?i=12071 ++ [1] = https://curl.se/bug/?i=12836 ++ [2] = https://curl.se/bug/?i=12825 ++ [3] = https://curl.se/bug/?i=12834 ++ [4] = https://curl.se/bug/?i=12822 ++ [5] = https://curl.se/bug/?i=12829 ++ [6] = https://curl.se/bug/?i=12867 ++ [7] = https://curl.se/bug/?i=12833 ++ [8] = https://curl.se/bug/?i=12861 ++ [9] = https://curl.se/bug/?i=12866 ++ [10] = https://curl.se/bug/?i=12849 ++ [11] = https://curl.se/bug/?i=12854 ++ [12] = https://curl.se/bug/?i=12828 ++ [13] = https://curl.se/bug/?i=12868 ++ [14] = https://curl.se/bug/?i=12852 ++ [15] = https://curl.se/bug/?i=12856 ++ [16] = https://curl.se/bug/?i=12832 ++ [17] = https://curl.se/bug/?i=12858 ++ [18] = https://curl.se/mail/lib-2024-02/0000.html ++ [19] = https://curl.se/bug/?i=12823 ++ [20] = https://curl.se/bug/?i=12826 ++ [21] = https://curl.se/bug/?i=13034 ++ [22] = https://curl.se/bug/?i=12937 ++ [23] = https://curl.se/bug/?i=12750 ++ [24] = https://curl.se/bug/?i=12719 ++ [25] = https://curl.se/bug/?i=12900 ++ [26] = https://curl.se/bug/?i=12900 ++ [27] = https://curl.se/bug/?i=12904 ++ [28] = https://curl.se/bug/?i=12901 ++ [29] = https://curl.se/bug/?i=12914 ++ [30] = https://curl.se/bug/?i=12805 ++ [31] = https://curl.se/bug/?i=12909 ++ [32] = https://curl.se/bug/?i=12878 ++ [33] = https://curl.se/bug/?i=12902 ++ [34] = https://curl.se/bug/?i=12896 ++ [35] = https://curl.se/bug/?i=12892 ++ [36] = https://curl.se/bug/?i=12926 ++ [37] = https://curl.se/bug/?i=12891 ++ [38] = https://curl.se/bug/?i=12890 ++ [39] = https://curl.se/bug/?i=12885 ++ [40] = https://curl.se/mail/archive-2024-02/0008.html ++ [41] = https://curl.se/bug/?i=12889 ++ [42] = https://curl.se/bug/?i=12846 ++ [43] = https://curl.se/bug/?i=12924 ++ [44] = https://curl.se/mail/archive-2024-01/0022.html ++ [45] = https://curl.se/bug/?i=12884 ++ [46] = https://curl.se/bug/?i=12888 ++ [47] = https://curl.se/bug/?i=12879 ++ [48] = https://curl.se/bug/?i=12877 ++ [49] = https://curl.se/bug/?i=13020 ++ [50] = https://curl.se/bug/?i=12838 ++ [51] = https://curl.se/bug/?i=12859 ++ [52] = https://curl.se/mail/archive-2024-02/0004.html ++ [53] = https://curl.se/bug/?i=12920 ++ [54] = https://curl.se/bug/?i=12869 ++ [55] = https://curl.se/bug/?i=12831 ++ [56] = https://curl.se/bug/?i=12911 ++ [57] = https://curl.se/bug/?i=12894 ++ [58] = https://curl.se/bug/?i=12996 ++ [59] = https://curl.se/bug/?i=12905 ++ [60] = https://curl.se/bug/?i=12903 ++ [61] = https://curl.se/bug/?i=12411 ++ [62] = https://curl.se/bug/?i=12945 ++ [63] = https://curl.se/bug/?i=12995 ++ [64] = https://curl.se/bug/?i=12921 ++ [65] = https://curl.se/bug/?i=12933 ++ [66] = https://curl.se/bug/?i=12965 ++ [67] = https://curl.se/bug/?i=12962 ++ [68] = https://curl.se/bug/?i=13027 ++ [69] = https://curl.se/bug/?i=12949 ++ [70] = https://curl.se/bug/?i=12880 ++ [71] = https://curl.se/bug/?i=12880 ++ [72] = https://curl.se/bug/?i=12948 ++ [73] = https://curl.se/bug/?i=12989 ++ [74] = https://curl.se/bug/?i=12990 ++ [75] = https://curl.se/bug/?i=12983 ++ [76] = https://curl.se/bug/?i=12981 ++ [77] = https://curl.se/bug/?i=12944 ++ [78] = https://curl.se/bug/?i=12977 ++ [79] = https://curl.se/bug/?i=12947 ++ [80] = https://curl.se/bug/?i=13015 ++ [81] = https://curl.se/bug/?i=12971 ++ [82] = https://curl.se/bug/?i=13052 ++ [83] = https://curl.se/bug/?i=13022 ++ [84] = https://curl.se/bug/?i=13019 ++ [85] = https://curl.se/bug/?i=12906 ++ [86] = https://curl.se/bug/?i=13045 ++ [87] = https://curl.se/bug/?i=13008 ++ [88] = https://curl.se/bug/?i=13065 ++ [89] = https://curl.se/bug/?i=12997 ++ [90] = https://curl.se/bug/?i=13006 ++ [91] = https://curl.se/bug/?i=13048 ++ [92] = https://curl.se/bug/?i=13026 ++ [93] = https://curl.se/bug/?i=13043 ++ [94] = https://curl.se/bug/?i=13044 ++ [95] = https://curl.se/bug/?i=13041 ++ [96] = https://curl.se/bug/?i=13046 ++ [97] = https://curl.se/bug/?i=13003 ++ [98] = https://curl.se/bug/?i=13075 ++ [99] = https://curl.se/bug/?i=13004 ++ [100] = https://curl.se/bug/?i=12998 ++ [101] = https://curl.se/bug/?i=12964 ++ [102] = https://curl.se/bug/?i=12992 ++ [103] = https://curl.se/bug/?i=13001 ++ [104] = https://curl.se/bug/?i=12999 ++ [105] = https://curl.se/bug/?i=13040 ++ [106] = https://curl.se/bug/?i=13037 ++ [107] = https://curl.se/bug/?i=13033 ++ [108] = https://curl.se/bug/?i=13073 ++ [109] = https://curl.se/bug/?i=13084 ++ [110] = https://curl.se/bug/?i=13070 ++ [111] = https://curl.se/bug/?i=13072 ++ [112] = https://curl.se/bug/?i=13028 ++ [113] = https://curl.se/bug/?i=13054 ++ [114] = https://curl.se/bug/?i=13074 ++ [115] = https://curl.se/bug/?i=6169 ++ [116] = https://curl.se/bug/?i=13063 ++ [117] = https://curl.se/bug/?i=13061 ++ [118] = https://curl.se/bug/?i=12897 ++ [119] = https://curl.se/bug/?i=13031 ++ [120] = https://curl.se/bug/?i=13047 ++ [121] = https://curl.se/bug/?i=13047 ++ [122] = https://curl.se/bug/?i=13035 ++ [123] = https://curl.se/bug/?i=13088 ++ [124] = https://curl.se/bug/?i=13055 ++ [125] = https://curl.se/mail/lib-2024-03/0001.html ++ [126] = https://curl.se/bug/?i=13039 ++ [127] = https://curl.se/bug/?i=13127 ++ [128] = https://curl.se/bug/?i=13085 ++ [129] = https://curl.se/bug/?i=13124 ++ [130] = https://curl.se/bug/?i=13082 ++ [131] = https://curl.se/bug/?i=13119 ++ [132] = https://curl.se/bug/?i=13081 ++ [133] = https://curl.se/bug/?i=13118 ++ [134] = https://curl.se/bug/?i=12063 ++ [135] = https://curl.se/bug/?i=13115 ++ [136] = https://curl.se/bug/?i=13187 ++ [137] = https://curl.se/bug/?i=13149 ++ [138] = https://curl.se/bug/?i=13143 ++ [139] = https://curl.se/bug/?i=13144 ++ [140] = https://curl.se/bug/?i=11919 ++ [141] = https://curl.se/bug/?i=13101 ++ [142] = https://curl.se/bug/?i=13096 ++ [143] = https://curl.se/bug/?i=13093 ++ [144] = https://curl.se/bug/?i=13178 ++ [145] = https://curl.se/bug/?i=13164 ++ [146] = https://curl.se/bug/?i=13132 ++ [147] = https://curl.se/bug/?i=13112 ++ [148] = https://curl.se/bug/?i=13169 ++ [149] = https://curl.se/bug/?i=13128 ++ [150] = https://curl.se/bug/?i=10290 ++ [151] = https://curl.se/bug/?i=13179 ++ [152] = https://curl.se/bug/?i=13173 ++ [153] = https://curl.se/bug/?i=13175 ++ [154] = https://curl.se/bug/?i=13176 ++ [155] = https://curl.se/bug/?i=13168 ++ [157] = https://curl.se/bug/?i=13166 ++ [158] = https://curl.se/bug/?i=13134 ++ [159] = https://curl.se/bug/?i=13154 ++ [160] = https://curl.se/bug/?i=13151 +diff --git a/acinclude.m4 b/acinclude.m4 +index 5fdd51e..a44ae35 100644 +--- a/acinclude.m4 ++++ b/acinclude.m4 +@@ -156,7 +156,6 @@ AC_DEFUN([CURL_CHECK_AIX_ALL_SOURCE], [ + #endif]) + AC_BEFORE([$0], [AC_SYS_LARGEFILE])dnl + AC_BEFORE([$0], [CURL_CONFIGURE_REENTRANT])dnl +- AC_BEFORE([$0], [CURL_CONFIGURE_PULL_SYS_POLL])dnl + AC_MSG_CHECKING([if OS is AIX (to define _ALL_SOURCE)]) + AC_EGREP_CPP([yes_this_is_aix],[ + #ifdef _AIX +@@ -171,144 +170,28 @@ AC_DEFUN([CURL_CHECK_AIX_ALL_SOURCE], [ + ]) + + +-dnl CURL_CHECK_HEADER_WINDOWS +-dnl ------------------------------------------------- +-dnl Check for compilable and valid windows.h header +- +-AC_DEFUN([CURL_CHECK_HEADER_WINDOWS], [ +- AC_CACHE_CHECK([for windows.h], [curl_cv_header_windows_h], [ +- AC_COMPILE_IFELSE([ +- AC_LANG_PROGRAM([[ +-#undef inline +-#ifndef WIN32_LEAN_AND_MEAN +-#define WIN32_LEAN_AND_MEAN +-#endif +-#include +- ]],[[ +-#if defined(__CYGWIN__) || defined(__CEGCC__) +- HAVE_WINDOWS_H shall not be defined. +-#else +- int dummy=2*WINVER; +-#endif +- ]]) +- ],[ +- curl_cv_header_windows_h="yes" +- ],[ +- curl_cv_header_windows_h="no" +- ]) +- ]) +- case "$curl_cv_header_windows_h" in +- yes) +- AC_DEFINE_UNQUOTED(HAVE_WINDOWS_H, 1, +- [Define to 1 if you have the windows.h header file.]) +- ;; +- esac +-]) +- +- + dnl CURL_CHECK_NATIVE_WINDOWS + dnl ------------------------------------------------- + dnl Check if building a native Windows target + + AC_DEFUN([CURL_CHECK_NATIVE_WINDOWS], [ +- AC_REQUIRE([CURL_CHECK_HEADER_WINDOWS])dnl + AC_CACHE_CHECK([whether build target is a native Windows one], [curl_cv_native_windows], [ +- if test "$curl_cv_header_windows_h" = "no"; then +- curl_cv_native_windows="no" +- else +- AC_COMPILE_IFELSE([ +- AC_LANG_PROGRAM([[ +- ]],[[ +-#if defined(__MINGW32__) || defined(__MINGW32CE__) || \ +- (defined(_MSC_VER) && (defined(_WIN32) || defined(_WIN64))) +- int dummy=1; +-#else +- Not a native Windows build target. +-#endif +- ]]) +- ],[ +- curl_cv_native_windows="yes" +- ],[ +- curl_cv_native_windows="no" +- ]) +- fi +- ]) +- AM_CONDITIONAL(DOING_NATIVE_WINDOWS, test "x$curl_cv_native_windows" = xyes) +-]) +- +- +-dnl CURL_CHECK_HEADER_WINSOCK2 +-dnl ------------------------------------------------- +-dnl Check for compilable and valid winsock2.h header +- +-AC_DEFUN([CURL_CHECK_HEADER_WINSOCK2], [ +- AC_REQUIRE([CURL_CHECK_HEADER_WINDOWS])dnl +- AC_CACHE_CHECK([for winsock2.h], [curl_cv_header_winsock2_h], [ + AC_COMPILE_IFELSE([ + AC_LANG_PROGRAM([[ +-#undef inline +-#ifndef WIN32_LEAN_AND_MEAN +-#define WIN32_LEAN_AND_MEAN +-#endif +-#include +-#include +- ]],[[ +-#if defined(__CYGWIN__) || defined(__CEGCC__) || defined(__MINGW32CE__) +- HAVE_WINSOCK2_H shall not be defined. +-#else +- int dummy=2*IPPROTO_ESP; +-#endif +- ]]) +- ],[ +- curl_cv_header_winsock2_h="yes" +- ],[ +- curl_cv_header_winsock2_h="no" +- ]) +- ]) +- case "$curl_cv_header_winsock2_h" in +- yes) +- AC_DEFINE_UNQUOTED(HAVE_WINSOCK2_H, 1, +- [Define to 1 if you have the winsock2.h header file.]) +- ;; +- esac +-]) +- +- +-dnl CURL_CHECK_HEADER_WS2TCPIP +-dnl ------------------------------------------------- +-dnl Check for compilable and valid ws2tcpip.h header +- +-AC_DEFUN([CURL_CHECK_HEADER_WS2TCPIP], [ +- AC_REQUIRE([CURL_CHECK_HEADER_WINSOCK2])dnl +- AC_CACHE_CHECK([for ws2tcpip.h], [curl_cv_header_ws2tcpip_h], [ +- AC_COMPILE_IFELSE([ +- AC_LANG_PROGRAM([[ +-#undef inline +-#ifndef WIN32_LEAN_AND_MEAN +-#define WIN32_LEAN_AND_MEAN +-#endif +-#include +-#include +-#include + ]],[[ +-#if defined(__CYGWIN__) || defined(__CEGCC__) || defined(__MINGW32CE__) +- HAVE_WS2TCPIP_H shall not be defined. ++#ifdef _WIN32 ++ int dummy=1; + #else +- int dummy=2*IP_PKTINFO; ++ Not a native Windows build target. + #endif + ]]) + ],[ +- curl_cv_header_ws2tcpip_h="yes" ++ curl_cv_native_windows="yes" + ],[ +- curl_cv_header_ws2tcpip_h="no" ++ curl_cv_native_windows="no" + ]) + ]) +- case "$curl_cv_header_ws2tcpip_h" in +- yes) +- AC_DEFINE_UNQUOTED(HAVE_WS2TCPIP_H, 1, +- [Define to 1 if you have the ws2tcpip.h header file.]) +- ;; +- esac ++ AM_CONDITIONAL(DOING_NATIVE_WINDOWS, test "x$curl_cv_native_windows" = xyes) + ]) + + +@@ -318,12 +201,12 @@ dnl Check for compilable and valid lber.h header, + dnl and check if it is needed even with ldap.h + + AC_DEFUN([CURL_CHECK_HEADER_LBER], [ +- AC_REQUIRE([CURL_CHECK_HEADER_WINDOWS])dnl ++ AC_REQUIRE([CURL_CHECK_NATIVE_WINDOWS])dnl + AC_CACHE_CHECK([for lber.h], [curl_cv_header_lber_h], [ + AC_COMPILE_IFELSE([ + AC_LANG_PROGRAM([[ + #undef inline +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + #ifndef WIN32_LEAN_AND_MEAN + #define WIN32_LEAN_AND_MEAN + #endif +@@ -355,7 +238,7 @@ AC_DEFUN([CURL_CHECK_HEADER_LBER], [ + AC_COMPILE_IFELSE([ + AC_LANG_PROGRAM([[ + #undef inline +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + #ifndef WIN32_LEAN_AND_MEAN + #define WIN32_LEAN_AND_MEAN + #endif +@@ -403,7 +286,7 @@ AC_DEFUN([CURL_CHECK_HEADER_LDAP], [ + AC_COMPILE_IFELSE([ + AC_LANG_PROGRAM([[ + #undef inline +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + #ifndef WIN32_LEAN_AND_MEAN + #define WIN32_LEAN_AND_MEAN + #endif +@@ -449,7 +332,7 @@ AC_DEFUN([CURL_CHECK_HEADER_LDAP_SSL], [ + AC_COMPILE_IFELSE([ + AC_LANG_PROGRAM([[ + #undef inline +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + #ifndef WIN32_LEAN_AND_MEAN + #define WIN32_LEAN_AND_MEAN + #endif +@@ -534,7 +417,7 @@ AC_DEFUN([CURL_CHECK_LIBS_WINLDAP], [ + AC_LINK_IFELSE([ + AC_LANG_PROGRAM([[ + #undef inline +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + #ifndef WIN32_LEAN_AND_MEAN + #define WIN32_LEAN_AND_MEAN + #endif +@@ -632,7 +515,7 @@ AC_DEFUN([CURL_CHECK_LIBS_LDAP], [ + AC_LINK_IFELSE([ + AC_LANG_PROGRAM([[ + #undef inline +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + #ifndef WIN32_LEAN_AND_MEAN + #define WIN32_LEAN_AND_MEAN + #endif +@@ -701,14 +584,11 @@ AC_DEFUN([TYPE_SOCKADDR_STORAGE], + [if struct sockaddr_storage is defined]), , + [ + #undef inline +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + #ifndef WIN32_LEAN_AND_MEAN + #define WIN32_LEAN_AND_MEAN + #endif +-#include +-#ifdef HAVE_WINSOCK2_H + #include +-#endif + #else + #ifdef HAVE_SYS_TYPES_H + #include +@@ -731,7 +611,7 @@ dnl ------------------------------------------------- + dnl Test if the socket recv() function is available, + + AC_DEFUN([CURL_CHECK_FUNC_RECV], [ +- AC_REQUIRE([CURL_CHECK_HEADER_WINSOCK2])dnl ++ AC_REQUIRE([CURL_CHECK_NATIVE_WINDOWS])dnl + AC_REQUIRE([CURL_INCLUDES_BSDSOCKET])dnl + AC_CHECK_HEADERS(sys/types.h sys/socket.h) + # +@@ -739,14 +619,11 @@ AC_DEFUN([CURL_CHECK_FUNC_RECV], [ + AC_LINK_IFELSE([ + AC_LANG_PROGRAM([[ + #undef inline +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + #ifndef WIN32_LEAN_AND_MEAN + #define WIN32_LEAN_AND_MEAN + #endif +-#include +-#ifdef HAVE_WINSOCK2_H + #include +-#endif + #else + $curl_includes_bsdsocket + #ifdef HAVE_SYS_TYPES_H +@@ -782,7 +659,7 @@ dnl ------------------------------------------------- + dnl Test if the socket send() function is available, + + AC_DEFUN([CURL_CHECK_FUNC_SEND], [ +- AC_REQUIRE([CURL_CHECK_HEADER_WINSOCK2])dnl ++ AC_REQUIRE([CURL_CHECK_NATIVE_WINDOWS])dnl + AC_REQUIRE([CURL_INCLUDES_BSDSOCKET])dnl + AC_CHECK_HEADERS(sys/types.h sys/socket.h) + # +@@ -790,14 +667,11 @@ AC_DEFUN([CURL_CHECK_FUNC_SEND], [ + AC_LINK_IFELSE([ + AC_LANG_PROGRAM([[ + #undef inline +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + #ifndef WIN32_LEAN_AND_MEAN + #define WIN32_LEAN_AND_MEAN + #endif +-#include +-#ifdef HAVE_WINSOCK2_H + #include +-#endif + #else + $curl_includes_bsdsocket + #ifdef HAVE_SYS_TYPES_H +@@ -837,14 +711,11 @@ AC_DEFUN([CURL_CHECK_MSG_NOSIGNAL], [ + AC_COMPILE_IFELSE([ + AC_LANG_PROGRAM([[ + #undef inline +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + #ifndef WIN32_LEAN_AND_MEAN + #define WIN32_LEAN_AND_MEAN + #endif +-#include +-#ifdef HAVE_WINSOCK2_H + #include +-#endif + #else + #ifdef HAVE_SYS_TYPES_H + #include +@@ -876,21 +747,18 @@ dnl ------------------------------------------------- + dnl Check for timeval struct + + AC_DEFUN([CURL_CHECK_STRUCT_TIMEVAL], [ +- AC_REQUIRE([CURL_CHECK_HEADER_WINSOCK2])dnl ++ AC_REQUIRE([CURL_CHECK_NATIVE_WINDOWS])dnl + AC_CHECK_HEADERS(sys/types.h sys/time.h sys/socket.h) + AC_CACHE_CHECK([for struct timeval], [curl_cv_struct_timeval], [ + AC_COMPILE_IFELSE([ + AC_LANG_PROGRAM([[ + #undef inline +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + #ifndef WIN32_LEAN_AND_MEAN + #define WIN32_LEAN_AND_MEAN + #endif +-#include +-#ifdef HAVE_WINSOCK2_H + #include + #endif +-#endif + #ifdef HAVE_SYS_TYPES_H + #include + #endif +@@ -937,14 +805,11 @@ AC_DEFUN([TYPE_IN_ADDR_T], [ + AC_LINK_IFELSE([ + AC_LANG_PROGRAM([[ + #undef inline +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + #ifndef WIN32_LEAN_AND_MEAN + #define WIN32_LEAN_AND_MEAN + #endif +-#include +-#ifdef HAVE_WINSOCK2_H + #include +-#endif + #else + #ifdef HAVE_SYS_TYPES_H + #include +@@ -979,14 +844,11 @@ AC_DEFUN([TYPE_IN_ADDR_T], [ + esac + ],[ + #undef inline +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + #ifndef WIN32_LEAN_AND_MEAN + #define WIN32_LEAN_AND_MEAN + #endif +-#include +-#ifdef HAVE_WINSOCK2_H + #include +-#endif + #else + #ifdef HAVE_SYS_TYPES_H + #include +@@ -1197,7 +1059,7 @@ AC_DEFUN([CURL_CHECK_LIBS_CONNECT], [ + AC_LANG_PROGRAM([[ + $curl_includes_winsock2 + $curl_includes_bsdsocket +- #if !defined(HAVE_WINDOWS_H) && !defined(HAVE_PROTO_BSDSOCKET_H) ++ #if !defined(_WIN32) && !defined(HAVE_PROTO_BSDSOCKET_H) + int connect(int, void*, int); + #endif + ]],[[ +@@ -1246,40 +1108,6 @@ cat >>confdefs.h <<_EOF + _EOF + ]) + +-dnl CURL_CONFIGURE_PULL_SYS_POLL +-dnl ------------------------------------------------- +-dnl The need for the sys/poll.h inclusion arises mainly to properly +-dnl interface AIX systems which define macros 'events' and 'revents'. +- +-AC_DEFUN([CURL_CONFIGURE_PULL_SYS_POLL], [ +- AC_REQUIRE([CURL_INCLUDES_POLL])dnl +- # +- tst_poll_events_macro_defined="unknown" +- # +- AC_COMPILE_IFELSE([ +- AC_LANG_PROGRAM([[ +- $curl_includes_poll +- ]],[[ +-#if defined(events) || defined(revents) +- return 0; +-#else +- force compilation error +-#endif +- ]]) +- ],[ +- tst_poll_events_macro_defined="yes" +- ],[ +- tst_poll_events_macro_defined="no" +- ]) +- # +- if test "$tst_poll_events_macro_defined" = "yes"; then +- if test "x$ac_cv_header_sys_poll_h" = "xyes"; then +- CURL_DEFINE_UNQUOTED([CURL_PULL_SYS_POLL_H]) +- fi +- fi +- # +-]) +- + + dnl CURL_CHECK_FUNC_SELECT + dnl ------------------------------------------------- +@@ -1294,15 +1122,12 @@ AC_DEFUN([CURL_CHECK_FUNC_SELECT], [ + AC_LINK_IFELSE([ + AC_LANG_PROGRAM([[ + #undef inline +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + #ifndef WIN32_LEAN_AND_MEAN + #define WIN32_LEAN_AND_MEAN + #endif +-#include +-#ifdef HAVE_WINSOCK2_H + #include + #endif +-#endif + #ifdef HAVE_SYS_TYPES_H + #include + #endif +@@ -1310,7 +1135,7 @@ AC_DEFUN([CURL_CHECK_FUNC_SELECT], [ + #include + #endif + #include +-#ifndef HAVE_WINDOWS_H ++#ifndef _WIN32 + #ifdef HAVE_SYS_SELECT_H + #include + #elif defined(HAVE_UNISTD_H) +@@ -1374,70 +1199,6 @@ int main() + ]) + + +-dnl CURL_CHECK_VARIADIC_MACROS +-dnl ------------------------------------------------- +-dnl Check compiler support of variadic macros +- +-AC_DEFUN([CURL_CHECK_VARIADIC_MACROS], [ +- AC_CACHE_CHECK([for compiler support of C99 variadic macro style], +- [curl_cv_variadic_macros_c99], [ +- AC_COMPILE_IFELSE([ +- AC_LANG_PROGRAM([[ +-#define c99_vmacro3(first, ...) fun3(first, __VA_ARGS__) +-#define c99_vmacro2(first, ...) fun2(first, __VA_ARGS__) +- int fun3(int arg1, int arg2, int arg3); +- int fun2(int arg1, int arg2); +- int fun3(int arg1, int arg2, int arg3) +- { return arg1 + arg2 + arg3; } +- int fun2(int arg1, int arg2) +- { return arg1 + arg2; } +- ]],[[ +- int res3 = c99_vmacro3(1, 2, 3); +- int res2 = c99_vmacro2(1, 2); +- ]]) +- ],[ +- curl_cv_variadic_macros_c99="yes" +- ],[ +- curl_cv_variadic_macros_c99="no" +- ]) +- ]) +- case "$curl_cv_variadic_macros_c99" in +- yes) +- AC_DEFINE_UNQUOTED(HAVE_VARIADIC_MACROS_C99, 1, +- [Define to 1 if compiler supports C99 variadic macro style.]) +- ;; +- esac +- AC_CACHE_CHECK([for compiler support of old gcc variadic macro style], +- [curl_cv_variadic_macros_gcc], [ +- AC_COMPILE_IFELSE([ +- AC_LANG_PROGRAM([[ +-#define gcc_vmacro3(first, args...) fun3(first, args) +-#define gcc_vmacro2(first, args...) fun2(first, args) +- int fun3(int arg1, int arg2, int arg3); +- int fun2(int arg1, int arg2); +- int fun3(int arg1, int arg2, int arg3) +- { return arg1 + arg2 + arg3; } +- int fun2(int arg1, int arg2) +- { return arg1 + arg2; } +- ]],[[ +- int res3 = gcc_vmacro3(1, 2, 3); +- int res2 = gcc_vmacro2(1, 2); +- ]]) +- ],[ +- curl_cv_variadic_macros_gcc="yes" +- ],[ +- curl_cv_variadic_macros_gcc="no" +- ]) +- ]) +- case "$curl_cv_variadic_macros_gcc" in +- yes) +- AC_DEFINE_UNQUOTED(HAVE_VARIADIC_MACROS_GCC, 1, +- [Define to 1 if compiler supports old gcc variadic macro style.]) +- ;; +- esac +-]) +- +- + dnl CURL_CHECK_CA_BUNDLE + dnl ------------------------------------------------- + dnl Check if a default ca-bundle should be used +@@ -1611,17 +1372,15 @@ dnl ------------------------------------------------- + dnl Check if curl's WIN32 large file will be used + + AC_DEFUN([CURL_CHECK_WIN32_LARGEFILE], [ +- AC_REQUIRE([CURL_CHECK_HEADER_WINDOWS])dnl ++ AC_REQUIRE([CURL_CHECK_NATIVE_WINDOWS])dnl + AC_MSG_CHECKING([whether build target supports WIN32 file API]) + curl_win32_file_api="no" +- if test "$curl_cv_header_windows_h" = "yes"; then ++ if test "$curl_cv_native_windows" = "yes"; then + if test x"$enable_largefile" != "xno"; then + AC_COMPILE_IFELSE([ + AC_LANG_PROGRAM([[ + ]],[[ +-#if !defined(_WIN32_WCE) && \ +- (defined(__MINGW32__) || \ +- (defined(_MSC_VER) && (defined(_WIN32) || defined(_WIN64)))) ++#if !defined(_WIN32_WCE) && (defined(__MINGW32__) || defined(_MSC_VER)) + int dummy=1; + #else + WIN32 large file API not supported. +@@ -1670,10 +1429,10 @@ dnl ------------------------------------------------- + dnl Check if curl's WIN32 crypto lib can be used + + AC_DEFUN([CURL_CHECK_WIN32_CRYPTO], [ +- AC_REQUIRE([CURL_CHECK_HEADER_WINDOWS])dnl ++ AC_REQUIRE([CURL_CHECK_NATIVE_WINDOWS])dnl + AC_MSG_CHECKING([whether build target supports WIN32 crypto API]) + curl_win32_crypto_api="no" +- if test "$curl_cv_header_windows_h" = "yes"; then ++ if test "$curl_cv_native_windows" = "yes"; then + AC_COMPILE_IFELSE([ + AC_LANG_PROGRAM([[ + #undef inline +diff --git a/autom4te.cache/output.0 b/autom4te.cache/output.0 +index 3516c7a..8b33c64 100644 +--- a/autom4te.cache/output.0 ++++ b/autom4te.cache/output.0 +@@ -923,16 +923,24 @@ BUILD_LIBHOSTNAME_TRUE + USE_ARES + USE_MANUAL_FALSE + USE_MANUAL_TRUE +-MANOPT +-NROFF ++BUILD_DOCS_FALSE ++BUILD_DOCS_TRUE + PERL ++USE_FISH_COMPLETION_FALSE ++USE_FISH_COMPLETION_TRUE + FISH_FUNCTIONS_DIR ++USE_ZSH_COMPLETION_FALSE ++USE_ZSH_COMPLETION_TRUE + ZSH_FUNCTIONS_DIR + USE_MSH3 + USE_QUICHE ++USE_OPENSSL_H3 ++USE_NGTCP2_H3 + USE_NGHTTP3 ++USE_OPENSSL_QUIC + USE_NGTCP2_CRYPTO_WOLFSSL + USE_NGTCP2_CRYPTO_GNUTLS ++USE_NGTCP2_CRYPTO_BORINGSSL + USE_NGTCP2_CRYPTO_QUICTLS + USE_NGTCP2 + USE_NGHTTP2 +@@ -949,6 +957,7 @@ USE_GSASL_FALSE + USE_GSASL_TRUE + USE_LIBPSL_FALSE + USE_LIBPSL_TRUE ++USE_LIBPSL + CURL_CA_BUNDLE + CURL_WITH_MULTI_SSL + SSL_ENABLED +@@ -958,6 +967,7 @@ USE_WOLFSSL + USE_MBEDTLS + HAVE_GNUTLS_SRP + USE_GNUTLS ++HAVE_OPENSSL_QUIC + HAVE_OPENSSL_SRP + RANDOM_FILE + SSL_LIBS +@@ -1000,13 +1010,13 @@ HAVE_WINDRES_TRUE + USE_WIN32_CRYPTO + USE_WIN32_SMALL_FILES + USE_WIN32_LARGE_FILES +-DOING_NATIVE_WINDOWS_FALSE +-DOING_NATIVE_WINDOWS_TRUE + BUILD_UNITTESTS_FALSE + BUILD_UNITTESTS_TRUE + CURLDEBUG_FALSE + CURLDEBUG_TRUE + CURL_CFLAG_EXTRAS ++DOING_NATIVE_WINDOWS_FALSE ++DOING_NATIVE_WINDOWS_TRUE + USE_EXPLICIT_LIB_DEPS_FALSE + USE_EXPLICIT_LIB_DEPS_TRUE + REQUIRE_LIB_DEPS +@@ -1214,6 +1224,7 @@ enable_smb + enable_smtp + enable_gopher + enable_mqtt ++enable_docs + enable_manual + enable_libcurl_option + enable_libgcc +@@ -1244,6 +1255,7 @@ with_winidn + with_libidn2 + with_nghttp2 + with_ngtcp2 ++with_openssl_quic + with_nghttp3 + with_quiche + with_msh3 +@@ -1982,6 +1994,8 @@ Optional Features: + --disable-gopher Disable Gopher support + --enable-mqtt Enable MQTT support + --disable-mqtt Disable MQTT support ++ --enable-docs Enable documentation ++ --disable-docs Disable documentation + --enable-manual Enable built-in manual + --disable-manual Disable built-in manual + --enable-libcurl-option Enable --libcurl C code generation support +@@ -2140,7 +2154,10 @@ Optional Packages: + --without-ca-path Don't use a default CA path + --with-ca-fallback Use the built in CA store of the SSL library + --without-ca-fallback Don't use the built in CA store of the SSL library +- --without-libpsl disable support for libpsl cookie checking ++ --with-libpsl=PATH Where to look for libpsl, PATH points to the LIBPSL ++ installation; when possible, set the PKG_CONFIG_PATH ++ environment variable instead of using this option ++ --without-libpsl disable LIBPSL + --without-libgsasl disable libgsasl support for SCRAM + --with-libssh2=PATH Where to look for libssh2, PATH points to the + libssh2 installation; when possible, set the +@@ -2169,6 +2186,8 @@ Optional Packages: + --without-nghttp2 Disable nghttp2 usage + --with-ngtcp2=PATH Enable ngtcp2 usage + --without-ngtcp2 Disable ngtcp2 usage ++ --with-openssl-quic Enable OpenSSL QUIC usage ++ --without-openssl-quic Disable OpenSSL QUIC usage + --with-nghttp3=PATH Enable nghttp3 usage + --without-nghttp3 Disable nghttp3 usage + --with-quiche=PATH Enable quiche usage +@@ -6662,6 +6681,7 @@ curl_tls_srp_msg="no (--enable-tls-srp)" + curl_ipv6_msg="no (--enable-ipv6)" + curl_unix_sockets_msg="no (--enable-unix-sockets)" + curl_idn_msg="no (--with-{libidn2,winidn})" ++ curl_docs_msg="enabled (--disable-docs)" + curl_manual_msg="no (--enable-manual)" + curl_libcurl_msg="enabled (--disable-libcurl-option)" + curl_verbose_msg="enabled (--disable-verbose)" +@@ -6677,8 +6697,8 @@ curl_headers_msg="enabled (--disable-headers-api)" + curl_ws_msg="no (--enable-websockets)" + ssl_backends= + curl_h1_msg="enabled (internal)" +- curl_h2_msg="no (--with-nghttp2, --with-hyper)" +- curl_h3_msg="no (--with-ngtcp2 --with-nghttp3, --with-quiche, --with-msh3)" ++ curl_h2_msg="no (--with-nghttp2)" ++ curl_h3_msg="no (--with-ngtcp2 --with-nghttp3, --with-quiche, --with-openssl-quic, --with-msh3)" + + enable_altsvc="yes" + hsts="yes" +@@ -7511,7 +7531,7 @@ printf "%s\n" "$ac_cv_path_EGREP" >&6; } + + + +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if OS is AIX (to define _ALL_SOURCE)" >&5 ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if OS is AIX (to define _ALL_SOURCE)" >&5 + printf %s "checking if OS is AIX (to define _ALL_SOURCE)... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ +@@ -17666,7 +17686,11 @@ rm -f conftest.err conftest.i conftest.$ac_ext + if test "$curl_cv_have_def___INTEL_COMPILER" = "yes"; then + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 + printf "%s\n" "yes" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking compiler version" >&5 ++printf %s "checking compiler version... " >&6; } + compiler_num="$curl_cv_def___INTEL_COMPILER" ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: Intel C '$compiler_num'" >&5 ++printf "%s\n" "Intel C '$compiler_num'" >&6; } + + OLDCPPFLAGS=$CPPFLAGS + # CPPPFLAG comes from CURL_CPP_P +@@ -17837,18 +17861,41 @@ printf "%s\n" "yes" >&6; } + printf "%s\n" "no" >&6; } + compiler_id="CLANG" + fi ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking compiler version" >&5 ++printf %s "checking compiler version... " >&6; } + fullclangver=`$CC -v 2>&1 | grep version` ++ if echo $fullclangver | grep 'Apple' >/dev/null; then ++ appleclang=1 ++ else ++ appleclang=0 ++ fi + clangver=`echo $fullclangver | grep "based on LLVM " | "$SED" 's/.*(based on LLVM \(@<:@0-9@:>@*\.@<:@0-9@:>@*\).*)/\1/'` + if test -z "$clangver"; then +- if echo $fullclangver | grep "Apple LLVM version " >/dev/null; then +- clangver="3.7" +- else +- clangver=`echo $fullclangver | "$SED" 's/.*version \(@<:@0-9@:>@*\.@<:@0-9@:>@*\).*/\1/'` +- fi ++ clangver=`echo $fullclangver | "$SED" 's/.*version \(@<:@0-9@:>@*\.@<:@0-9@:>@*\).*/\1/'` ++ oldapple=0 ++ else ++ oldapple=1 + fi + clangvhi=`echo $clangver | cut -d . -f1` + clangvlo=`echo $clangver | cut -d . -f2` + compiler_num=`(expr $clangvhi "*" 100 + $clangvlo) 2>/dev/null` ++ if test "$appleclang" = '1' && test "$oldapple" = '0'; then ++ if test "$compiler_num" -ge '1300'; then compiler_num='1200' ++ elif test "$compiler_num" -ge '1205'; then compiler_num='1101' ++ elif test "$compiler_num" -ge '1204'; then compiler_num='1000' ++ elif test "$compiler_num" -ge '1107'; then compiler_num='900' ++ elif test "$compiler_num" -ge '1103'; then compiler_num='800' ++ elif test "$compiler_num" -ge '1003'; then compiler_num='700' ++ elif test "$compiler_num" -ge '1001'; then compiler_num='600' ++ elif test "$compiler_num" -ge '904'; then compiler_num='500' ++ elif test "$compiler_num" -ge '902'; then compiler_num='400' ++ elif test "$compiler_num" -ge '803'; then compiler_num='309' ++ elif test "$compiler_num" -ge '703'; then compiler_num='308' ++ else compiler_num='307' ++ fi ++ fi ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: clang '$compiler_num' (raw: '$fullclangver' / '$clangver')" >&5 ++printf "%s\n" "clang '$compiler_num' (raw: '$fullclangver' / '$clangver')" >&6; } + flags_dbg_yes="-g" + flags_opt_all="-O -O0 -O1 -O2 -Os -O3 -O4" + flags_opt_yes="-O2" +@@ -17911,120 +17958,23 @@ rm -f conftest.err conftest.i conftest.$ac_ext + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 + printf "%s\n" "yes" >&6; } + compiler_id="GNU_C" +- gccver=`$CC -dumpversion` ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking compiler version" >&5 ++printf %s "checking compiler version... " >&6; } ++ # strip '-suffix' parts, e.g. Ubuntu Windows cross-gcc returns '10-win32' ++ gccver=`$CC -dumpversion | sed -E 's/-.+$//'` + gccvhi=`echo $gccver | cut -d . -f1` +- gccvlo=`echo $gccver | cut -d . -f2` ++ if echo $gccver | grep -F '.' >/dev/null; then ++ gccvlo=`echo $gccver | cut -d . -f2` ++ else ++ gccvlo="0" ++ fi + compiler_num=`(expr $gccvhi "*" 100 + $gccvlo) 2>/dev/null` ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: gcc '$compiler_num' (raw: '$gccver')" >&5 ++printf "%s\n" "gcc '$compiler_num' (raw: '$gccver')" >&6; } + flags_dbg_yes="-g" + flags_opt_all="-O -O0 -O1 -O2 -O3 -Os -Og -Ofast" + flags_opt_yes="-O2" + flags_opt_off="-O0" +- +- OLDCPPFLAGS=$CPPFLAGS +- # CPPPFLAG comes from CURL_CPP_P +- CPPFLAGS="$CPPFLAGS $CPPPFLAG" +- if test -z "$SED"; then +- as_fn_error $? "SED not set. Cannot continue without SED being set." "$LINENO" 5 +- fi +- if test -z "$GREP"; then +- as_fn_error $? "GREP not set. Cannot continue without GREP being set." "$LINENO" 5 +- fi +- +- tmp_exp="" +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext +-/* end confdefs.h. */ +- +- +-#ifdef _WIN32 +-CURL_DEF_TOKEN _WIN32 +-#endif +- +- +-_ACEOF +-if ac_fn_c_try_cpp "$LINENO" +-then : +- +- tmp_exp=`eval "$ac_cpp conftest.$ac_ext" 2>/dev/null | \ +- "$GREP" CURL_DEF_TOKEN 2>/dev/null | \ +- "$SED" 's/.*CURL_DEF_TOKEN[ ][ ]*//' 2>/dev/null | \ +- "$SED" 's/["][ ]*["]//g' 2>/dev/null` +- if test -z "$tmp_exp" || test "$tmp_exp" = "_WIN32"; then +- tmp_exp="" +- fi +- +-fi +-rm -f conftest.err conftest.i conftest.$ac_ext +- if test -z "$tmp_exp"; then +- curl_cv_have_def__WIN32=no +- +- else +- curl_cv_have_def__WIN32=yes +- curl_cv_def__WIN32=$tmp_exp +- +- fi +- CPPFLAGS=$OLDCPPFLAGS +- +- else +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-printf "%s\n" "no" >&6; } +- fi +- +- +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler is LCC" >&5 +-printf %s "checking if compiler is LCC... " >&6; } +- +- OLDCPPFLAGS=$CPPFLAGS +- # CPPPFLAG comes from CURL_CPP_P +- CPPFLAGS="$CPPFLAGS $CPPPFLAG" +- if test -z "$SED"; then +- as_fn_error $? "SED not set. Cannot continue without SED being set." "$LINENO" 5 +- fi +- if test -z "$GREP"; then +- as_fn_error $? "GREP not set. Cannot continue without GREP being set." "$LINENO" 5 +- fi +- +- tmp_exp="" +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext +-/* end confdefs.h. */ +- +- +-#ifdef __LCC__ +-CURL_DEF_TOKEN __LCC__ +-#endif +- +- +-_ACEOF +-if ac_fn_c_try_cpp "$LINENO" +-then : +- +- tmp_exp=`eval "$ac_cpp conftest.$ac_ext" 2>/dev/null | \ +- "$GREP" CURL_DEF_TOKEN 2>/dev/null | \ +- "$SED" 's/.*CURL_DEF_TOKEN[ ][ ]*//' 2>/dev/null | \ +- "$SED" 's/["][ ]*["]//g' 2>/dev/null` +- if test -z "$tmp_exp" || test "$tmp_exp" = "__LCC__"; then +- tmp_exp="" +- fi +- +-fi +-rm -f conftest.err conftest.i conftest.$ac_ext +- if test -z "$tmp_exp"; then +- curl_cv_have_def___LCC__=no +- +- else +- curl_cv_have_def___LCC__=yes +- curl_cv_def___LCC__=$tmp_exp +- +- fi +- CPPFLAGS=$OLDCPPFLAGS +- +- if test "$curl_cv_have_def___LCC__" = "yes"; then +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +-printf "%s\n" "yes" >&6; } +- compiler_id="LCC" +- flags_dbg_yes="-g" +- flags_opt_all="" +- flags_opt_yes="" +- flags_opt_off="" + else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 + printf "%s\n" "no" >&6; } +@@ -18431,6 +18381,57 @@ _EOF + fi + + ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build target is a native Windows one" >&5 ++printf %s "checking whether build target is a native Windows one... " >&6; } ++if test ${curl_cv_native_windows+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ ++ ++int main (void) ++{ ++ ++#ifdef _WIN32 ++ int dummy=1; ++#else ++ Not a native Windows build target. ++#endif ++ ++ ; ++ return 0; ++} ++ ++_ACEOF ++if ac_fn_c_try_compile "$LINENO" ++then : ++ ++ curl_cv_native_windows="yes" ++ ++else $as_nop ++ ++ curl_cv_native_windows="no" ++ ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ++ ++fi ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_native_windows" >&5 ++printf "%s\n" "$curl_cv_native_windows" >&6; } ++ if test "x$curl_cv_native_windows" = xyes; then ++ DOING_NATIVE_WINDOWS_TRUE= ++ DOING_NATIVE_WINDOWS_FALSE='#' ++else ++ DOING_NATIVE_WINDOWS_TRUE='#' ++ DOING_NATIVE_WINDOWS_FALSE= ++fi ++ ++ ++ + squeeze() { + _sqz_result="" + eval _sqz_input=\$$1 +@@ -18501,11 +18502,6 @@ squeeze() { + tmp_CFLAGS="$tmp_CFLAGS" + ;; + # +- LCC) +- # +- tmp_CFLAGS="$tmp_CFLAGS -n" +- ;; +- # + SGI_MIPS_C) + # + tmp_CFLAGS="$tmp_CFLAGS" +@@ -19215,7 +19211,7 @@ printf "%s\n" "$as_me: WARNING: compiler options rejected: $tmp_options" >&2;} + + + ac_var_added_warnings="" +- for warning in no-multichar sign-compare; do ++ for warning in sign-compare; do + + ac_var_match_word="no" + for word1 in $CFLAGS; do +@@ -19233,6 +19229,7 @@ printf "%s\n" "$as_me: WARNING: compiler options rejected: $tmp_options" >&2;} + tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" + squeeze tmp_CFLAGS + ++ tmp_CFLAGS="$tmp_CFLAGS -Wno-multichar" + + ac_var_added_warnings="" + for warning in undef; do +@@ -19359,10 +19356,10 @@ printf "%s\n" "$as_me: WARNING: compiler options rejected: $tmp_options" >&2;} + + fi + # +- if test "$compiler_num" -ge "208"; then ++ if test "$compiler_num" -ge "207"; then + + ac_var_added_warnings="" +- for warning in vla; do ++ for warning in address; do + + ac_var_match_word="no" + for word1 in $CFLAGS; do +@@ -19380,12 +19377,9 @@ printf "%s\n" "$as_me: WARNING: compiler options rejected: $tmp_options" >&2;} + tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" + squeeze tmp_CFLAGS + +- fi +- # +- if test "$compiler_num" -ge "209"; then + + ac_var_added_warnings="" +- for warning in shift-sign-overflow; do ++ for warning in attributes; do + + ac_var_match_word="no" + for word1 in $CFLAGS; do +@@ -19403,9 +19397,6 @@ printf "%s\n" "$as_me: WARNING: compiler options rejected: $tmp_options" >&2;} + tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" + squeeze tmp_CFLAGS + +- fi +- # +- if test "$compiler_num" -ge "300"; then + + ac_var_added_warnings="" + for warning in bad-function-cast; do +@@ -19430,6 +19421,26 @@ printf "%s\n" "$as_me: WARNING: compiler options rejected: $tmp_options" >&2;} + ac_var_added_warnings="" + for warning in conversion; do + ++ ac_var_match_word="no" ++ for word1 in $CFLAGS; do ++ for word2 in -Wno-$warning -W$warning; do ++ if test "$word1" = "$word2"; then ++ ac_var_match_word="yes" ++ fi ++ done ++ done ++ ++ if test "$ac_var_match_word" = "no"; then ++ ac_var_added_warnings="$ac_var_added_warnings -W$warning" ++ fi ++ done ++ tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" ++ squeeze tmp_CFLAGS ++ ++ ++ ac_var_added_warnings="" ++ for warning in div-by-zero format-security; do ++ + ac_var_match_word="no" + for word1 in $CFLAGS; do + for word2 in -Wno-$warning -W$warning; do +@@ -19468,7 +19479,7 @@ printf "%s\n" "$as_me: WARNING: compiler options rejected: $tmp_options" >&2;} + + + ac_var_added_warnings="" +- for warning in ignored-qualifiers; do ++ for warning in missing-field-initializers; do + + ac_var_match_word="no" + for word1 in $CFLAGS; do +@@ -19487,6 +19498,67 @@ printf "%s\n" "$as_me: WARNING: compiler options rejected: $tmp_options" >&2;} + squeeze tmp_CFLAGS + + ++ ac_var_added_warnings="" ++ for warning in missing-noreturn; do ++ ++ ac_var_match_word="no" ++ for word1 in $CFLAGS; do ++ for word2 in -Wno-$warning -W$warning; do ++ if test "$word1" = "$word2"; then ++ ac_var_match_word="yes" ++ fi ++ done ++ done ++ ++ if test "$ac_var_match_word" = "no"; then ++ ac_var_added_warnings="$ac_var_added_warnings -W$warning" ++ fi ++ done ++ tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" ++ squeeze tmp_CFLAGS ++ ++ ++ ac_var_added_warnings="" ++ for warning in old-style-definition; do ++ ++ ac_var_match_word="no" ++ for word1 in $CFLAGS; do ++ for word2 in -Wno-$warning -W$warning; do ++ if test "$word1" = "$word2"; then ++ ac_var_match_word="yes" ++ fi ++ done ++ done ++ ++ if test "$ac_var_match_word" = "no"; then ++ ac_var_added_warnings="$ac_var_added_warnings -W$warning" ++ fi ++ done ++ tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" ++ squeeze tmp_CFLAGS ++ ++ ++ ac_var_added_warnings="" ++ for warning in redundant-decls; do ++ ++ ac_var_match_word="no" ++ for word1 in $CFLAGS; do ++ for word2 in -Wno-$warning -W$warning; do ++ if test "$word1" = "$word2"; then ++ ac_var_match_word="yes" ++ fi ++ done ++ done ++ ++ if test "$ac_var_match_word" = "no"; then ++ ac_var_added_warnings="$ac_var_added_warnings -W$warning" ++ fi ++ done ++ tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" ++ squeeze tmp_CFLAGS ++ ++ # CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [switch-enum]) # Not used because this basically disallows default case ++ + ac_var_added_warnings="" + for warning in type-limits; do + +@@ -19506,9 +19578,10 @@ printf "%s\n" "$as_me: WARNING: compiler options rejected: $tmp_options" >&2;} + tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" + squeeze tmp_CFLAGS + ++ # CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [unused-macros]) # Not practical + + ac_var_added_warnings="" +- for warning in no-sign-conversion; do ++ for warning in unreachable-code unused-parameter; do + + ac_var_match_word="no" + for word1 in $CFLAGS; do +@@ -19527,12 +19600,144 @@ printf "%s\n" "$as_me: WARNING: compiler options rejected: $tmp_options" >&2;} + squeeze tmp_CFLAGS + + fi ++ # ++ if test "$compiler_num" -ge "208"; then ++ ++ ac_var_added_warnings="" ++ for warning in ignored-qualifiers; do ++ ++ ac_var_match_word="no" ++ for word1 in $CFLAGS; do ++ for word2 in -Wno-$warning -W$warning; do ++ if test "$word1" = "$word2"; then ++ ac_var_match_word="yes" ++ fi ++ done ++ done ++ ++ if test "$ac_var_match_word" = "no"; then ++ ac_var_added_warnings="$ac_var_added_warnings -W$warning" ++ fi ++ done ++ tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" ++ squeeze tmp_CFLAGS ++ ++ ++ ac_var_added_warnings="" ++ for warning in vla; do ++ ++ ac_var_match_word="no" ++ for word1 in $CFLAGS; do ++ for word2 in -Wno-$warning -W$warning; do ++ if test "$word1" = "$word2"; then ++ ac_var_match_word="yes" ++ fi ++ done ++ done ++ ++ if test "$ac_var_match_word" = "no"; then ++ ac_var_added_warnings="$ac_var_added_warnings -W$warning" ++ fi ++ done ++ tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" ++ squeeze tmp_CFLAGS ++ ++ fi ++ # ++ if test "$compiler_num" -ge "209"; then ++ ++ ac_var_added_warnings="" ++ for warning in sign-conversion; do ++ ++ ac_var_match_word="no" ++ for word1 in $CFLAGS; do ++ for word2 in -Wno-$warning -W$warning; do ++ if test "$word1" = "$word2"; then ++ ac_var_match_word="yes" ++ fi ++ done ++ done ++ ++ if test "$ac_var_match_word" = "no"; then ++ ac_var_added_warnings="$ac_var_added_warnings -W$warning" ++ fi ++ done ++ tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" ++ squeeze tmp_CFLAGS ++ ++ tmp_CFLAGS="$tmp_CFLAGS -Wno-error=sign-conversion" # FIXME ++ ++ ac_var_added_warnings="" ++ for warning in shift-sign-overflow; do ++ ++ ac_var_match_word="no" ++ for word1 in $CFLAGS; do ++ for word2 in -Wno-$warning -W$warning; do ++ if test "$word1" = "$word2"; then ++ ac_var_match_word="yes" ++ fi ++ done ++ done ++ ++ if test "$ac_var_match_word" = "no"; then ++ ac_var_added_warnings="$ac_var_added_warnings -W$warning" ++ fi ++ done ++ tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" ++ squeeze tmp_CFLAGS ++ ++ # CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [padded]) # Not used because we cannot change public structs ++ fi ++ # ++ if test "$compiler_num" -ge "300"; then ++ ++ ac_var_added_warnings="" ++ for warning in language-extension-token; do ++ ++ ac_var_match_word="no" ++ for word1 in $CFLAGS; do ++ for word2 in -Wno-$warning -W$warning; do ++ if test "$word1" = "$word2"; then ++ ac_var_match_word="yes" ++ fi ++ done ++ done ++ ++ if test "$ac_var_match_word" = "no"; then ++ ac_var_added_warnings="$ac_var_added_warnings -W$warning" ++ fi ++ done ++ tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" ++ squeeze tmp_CFLAGS ++ ++ tmp_CFLAGS="$tmp_CFLAGS -Wformat=2" ++ fi + # + if test "$compiler_num" -ge "302"; then + + ac_var_added_warnings="" + for warning in enum-conversion; do + ++ ac_var_match_word="no" ++ for word1 in $CFLAGS; do ++ for word2 in -Wno-$warning -W$warning; do ++ if test "$word1" = "$word2"; then ++ ac_var_match_word="yes" ++ fi ++ done ++ done ++ ++ if test "$ac_var_match_word" = "no"; then ++ ac_var_added_warnings="$ac_var_added_warnings -W$warning" ++ fi ++ done ++ tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" ++ squeeze tmp_CFLAGS ++ ++ ++ ac_var_added_warnings="" ++ for warning in sometimes-uninitialized; do ++ + ac_var_match_word="no" + for word1 in $CFLAGS; do + for word2 in -Wno-$warning -W$warning; do +@@ -19579,9 +19784,72 @@ printf "%s\n" "$as_me: WARNING: compiler options rejected: $tmp_options" >&2;} + # + if test "$compiler_num" -ge "304"; then + ++ ac_var_added_warnings="" ++ for warning in header-guard; do ++ ++ ac_var_match_word="no" ++ for word1 in $CFLAGS; do ++ for word2 in -Wno-$warning -W$warning; do ++ if test "$word1" = "$word2"; then ++ ac_var_match_word="yes" ++ fi ++ done ++ done ++ ++ if test "$ac_var_match_word" = "no"; then ++ ac_var_added_warnings="$ac_var_added_warnings -W$warning" ++ fi ++ done ++ tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" ++ squeeze tmp_CFLAGS ++ ++ + ac_var_added_warnings="" + for warning in unused-const-variable; do + ++ ac_var_match_word="no" ++ for word1 in $CFLAGS; do ++ for word2 in -Wno-$warning -W$warning; do ++ if test "$word1" = "$word2"; then ++ ac_var_match_word="yes" ++ fi ++ done ++ done ++ ++ if test "$ac_var_match_word" = "no"; then ++ ac_var_added_warnings="$ac_var_added_warnings -W$warning" ++ fi ++ done ++ tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" ++ squeeze tmp_CFLAGS ++ ++ fi ++ # ++ if test "$compiler_num" -ge "305"; then ++ ++ ac_var_added_warnings="" ++ for warning in pragmas; do ++ ++ ac_var_match_word="no" ++ for word1 in $CFLAGS; do ++ for word2 in -Wno-$warning -W$warning; do ++ if test "$word1" = "$word2"; then ++ ac_var_match_word="yes" ++ fi ++ done ++ done ++ ++ if test "$ac_var_match_word" = "no"; then ++ ac_var_added_warnings="$ac_var_added_warnings -W$warning" ++ fi ++ done ++ tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" ++ squeeze tmp_CFLAGS ++ ++ ++ ac_var_added_warnings="" ++ for warning in unreachable-code-break; do ++ + ac_var_match_word="no" + for word1 in $CFLAGS; do + for word2 in -Wno-$warning -W$warning; do +@@ -19691,6 +19959,9 @@ printf "%s\n" "$as_me: WARNING: compiler options rejected: $tmp_options" >&2;} + tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" + squeeze tmp_CFLAGS + ++ fi ++ if test "$compiler_num" -ge "1000"; then ++ tmp_CFLAGS="$tmp_CFLAGS -Wimplicit-fallthrough" # we have silencing markup for clang 10.0 and above only + fi + fi + tmp_CFLAGS="$tmp_CFLAGS -Wno-pointer-bool-conversion" +@@ -19706,7 +19977,6 @@ printf "%s\n" "$as_me: WARNING: compiler options rejected: $tmp_options" >&2;} + GNU_C) + # + if test "$want_warnings" = "yes"; then +- tmp_CFLAGS="$tmp_CFLAGS -std=gnu89" + # + if test "x$cross_compiling" != "xyes" || + test "$compiler_num" -ge "300"; then +@@ -20012,6 +20282,158 @@ printf "%s\n" "$as_me: WARNING: compiler options rejected: $tmp_options" >&2;} + if test "$compiler_num" -ge "400"; then + tmp_CFLAGS="$tmp_CFLAGS -Wstrict-aliasing=3" + fi ++ # ++ if test "$compiler_num" -ge "401"; then ++ ++ ac_var_added_warnings="" ++ for warning in attributes; do ++ ++ ac_var_match_word="no" ++ for word1 in $CFLAGS; do ++ for word2 in -Wno-$warning -W$warning; do ++ if test "$word1" = "$word2"; then ++ ac_var_match_word="yes" ++ fi ++ done ++ done ++ ++ if test "$ac_var_match_word" = "no"; then ++ ac_var_added_warnings="$ac_var_added_warnings -W$warning" ++ fi ++ done ++ tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" ++ squeeze tmp_CFLAGS ++ ++ ++ ac_var_added_warnings="" ++ for warning in div-by-zero format-security; do ++ ++ ac_var_match_word="no" ++ for word1 in $CFLAGS; do ++ for word2 in -Wno-$warning -W$warning; do ++ if test "$word1" = "$word2"; then ++ ac_var_match_word="yes" ++ fi ++ done ++ done ++ ++ if test "$ac_var_match_word" = "no"; then ++ ac_var_added_warnings="$ac_var_added_warnings -W$warning" ++ fi ++ done ++ tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" ++ squeeze tmp_CFLAGS ++ ++ ++ ac_var_added_warnings="" ++ for warning in missing-field-initializers; do ++ ++ ac_var_match_word="no" ++ for word1 in $CFLAGS; do ++ for word2 in -Wno-$warning -W$warning; do ++ if test "$word1" = "$word2"; then ++ ac_var_match_word="yes" ++ fi ++ done ++ done ++ ++ if test "$ac_var_match_word" = "no"; then ++ ac_var_added_warnings="$ac_var_added_warnings -W$warning" ++ fi ++ done ++ tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" ++ squeeze tmp_CFLAGS ++ ++ case $host in ++ *-*-msys*) ++ ;; ++ *) ++ ++ ac_var_added_warnings="" ++ for warning in missing-noreturn; do ++ ++ ac_var_match_word="no" ++ for word1 in $CFLAGS; do ++ for word2 in -Wno-$warning -W$warning; do ++ if test "$word1" = "$word2"; then ++ ac_var_match_word="yes" ++ fi ++ done ++ done ++ ++ if test "$ac_var_match_word" = "no"; then ++ ac_var_added_warnings="$ac_var_added_warnings -W$warning" ++ fi ++ done ++ tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" ++ squeeze tmp_CFLAGS ++ # Seen to clash with libtool-generated stub code ++ ;; ++ esac ++ ++ ac_var_added_warnings="" ++ for warning in unreachable-code unused-parameter; do ++ ++ ac_var_match_word="no" ++ for word1 in $CFLAGS; do ++ for word2 in -Wno-$warning -W$warning; do ++ if test "$word1" = "$word2"; then ++ ac_var_match_word="yes" ++ fi ++ done ++ done ++ ++ if test "$ac_var_match_word" = "no"; then ++ ac_var_added_warnings="$ac_var_added_warnings -W$warning" ++ fi ++ done ++ tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" ++ squeeze tmp_CFLAGS ++ ++ # CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [padded]) # Not used because we cannot change public structs ++ ++ ac_var_added_warnings="" ++ for warning in pragmas; do ++ ++ ac_var_match_word="no" ++ for word1 in $CFLAGS; do ++ for word2 in -Wno-$warning -W$warning; do ++ if test "$word1" = "$word2"; then ++ ac_var_match_word="yes" ++ fi ++ done ++ done ++ ++ if test "$ac_var_match_word" = "no"; then ++ ac_var_added_warnings="$ac_var_added_warnings -W$warning" ++ fi ++ done ++ tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" ++ squeeze tmp_CFLAGS ++ ++ ++ ac_var_added_warnings="" ++ for warning in redundant-decls; do ++ ++ ac_var_match_word="no" ++ for word1 in $CFLAGS; do ++ for word2 in -Wno-$warning -W$warning; do ++ if test "$word1" = "$word2"; then ++ ac_var_match_word="yes" ++ fi ++ done ++ done ++ ++ if test "$ac_var_match_word" = "no"; then ++ ac_var_added_warnings="$ac_var_added_warnings -W$warning" ++ fi ++ done ++ tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" ++ squeeze tmp_CFLAGS ++ ++ # CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [switch-enum]) # Not used because this basically disallows default case ++ # CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [unused-macros]) # Not practical ++ fi + # + if test "$compiler_num" -ge "402"; then + +@@ -20038,6 +20460,26 @@ printf "%s\n" "$as_me: WARNING: compiler options rejected: $tmp_options" >&2;} + # + if test "$compiler_num" -ge "403"; then + ++ ac_var_added_warnings="" ++ for warning in address; do ++ ++ ac_var_match_word="no" ++ for word1 in $CFLAGS; do ++ for word2 in -Wno-$warning -W$warning; do ++ if test "$word1" = "$word2"; then ++ ac_var_match_word="yes" ++ fi ++ done ++ done ++ ++ if test "$ac_var_match_word" = "no"; then ++ ac_var_added_warnings="$ac_var_added_warnings -W$warning" ++ fi ++ done ++ tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" ++ squeeze tmp_CFLAGS ++ ++ + ac_var_added_warnings="" + for warning in type-limits old-style-declaration; do + +@@ -20099,7 +20541,27 @@ printf "%s\n" "$as_me: WARNING: compiler options rejected: $tmp_options" >&2;} + + + ac_var_added_warnings="" +- for warning in conversion; do ++ for warning in conversion trampolines; do ++ ++ ac_var_match_word="no" ++ for word1 in $CFLAGS; do ++ for word2 in -Wno-$warning -W$warning; do ++ if test "$word1" = "$word2"; then ++ ac_var_match_word="yes" ++ fi ++ done ++ done ++ ++ if test "$ac_var_match_word" = "no"; then ++ ac_var_added_warnings="$ac_var_added_warnings -W$warning" ++ fi ++ done ++ tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" ++ squeeze tmp_CFLAGS ++ ++ ++ ac_var_added_warnings="" ++ for warning in sign-conversion; do + + ac_var_match_word="no" + for word1 in $CFLAGS; do +@@ -20117,7 +20579,7 @@ printf "%s\n" "$as_me: WARNING: compiler options rejected: $tmp_options" >&2;} + tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" + squeeze tmp_CFLAGS + +- tmp_CFLAGS="$tmp_CFLAGS -Wno-sign-conversion" ++ tmp_CFLAGS="$tmp_CFLAGS -Wno-error=sign-conversion" # FIXME + + ac_var_added_warnings="" + for warning in vla; do +@@ -20142,7 +20604,7 @@ printf "%s\n" "$as_me: WARNING: compiler options rejected: $tmp_options" >&2;} + fi + # + if test "$compiler_num" -ge "405"; then +- if test "$curl_cv_have_def__WIN32" = "yes"; then ++ if test "$curl_cv_native_windows" = "yes"; then + tmp_CFLAGS="$tmp_CFLAGS -Wno-pedantic-ms-format" + fi + fi +@@ -20326,9 +20788,7 @@ printf "%s\n" "$as_me: WARNING: compiler options rejected: $tmp_options" >&2;} + + tmp_CFLAGS="$tmp_CFLAGS -Wformat-overflow=2" + tmp_CFLAGS="$tmp_CFLAGS -Wformat-truncation=2" +- if test "$compiler_num" -lt "1200"; then +- tmp_CFLAGS="$tmp_CFLAGS -Wimplicit-fallthrough=4" +- fi ++ tmp_CFLAGS="$tmp_CFLAGS -Wimplicit-fallthrough" + fi + # + if test "$compiler_num" -ge "1000"; then +@@ -20430,13 +20890,6 @@ printf "%s\n" "$as_me: WARNING: compiler options rejected: $tmp_options" >&2;} + tmp_CFLAGS="$tmp_CFLAGS" + ;; + # +- LCC) +- # +- if test "$want_warnings" = "yes"; then +- tmp_CFLAGS="$tmp_CFLAGS" +- fi +- ;; +- # + SGI_MIPS_C) + # + if test "$want_warnings" = "yes"; then +@@ -21081,243 +21534,10 @@ fi + + + +- +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for windows.h" >&5 +-printf %s "checking for windows.h... " >&6; } +-if test ${curl_cv_header_windows_h+y} +-then : +- printf %s "(cached) " >&6 +-else $as_nop +- +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext +-/* end confdefs.h. */ +- +- +-#undef inline +-#ifndef WIN32_LEAN_AND_MEAN +-#define WIN32_LEAN_AND_MEAN +-#endif +-#include +- +-int main (void) +-{ +- +-#if defined(__CYGWIN__) || defined(__CEGCC__) +- HAVE_WINDOWS_H shall not be defined. +-#else +- int dummy=2*WINVER; +-#endif +- +- ; +- return 0; +-} +- +-_ACEOF +-if ac_fn_c_try_compile "$LINENO" +-then : +- +- curl_cv_header_windows_h="yes" +- +-else $as_nop +- +- curl_cv_header_windows_h="no" +- +-fi +-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +- +-fi +-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_header_windows_h" >&5 +-printf "%s\n" "$curl_cv_header_windows_h" >&6; } +- case "$curl_cv_header_windows_h" in +- yes) +- +-printf "%s\n" "@%:@define HAVE_WINDOWS_H 1" >>confdefs.h +- +- ;; +- esac +- +- +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build target is a native Windows one" >&5 +-printf %s "checking whether build target is a native Windows one... " >&6; } +-if test ${curl_cv_native_windows+y} +-then : +- printf %s "(cached) " >&6 +-else $as_nop +- +- if test "$curl_cv_header_windows_h" = "no"; then +- curl_cv_native_windows="no" +- else +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext +-/* end confdefs.h. */ +- +- +- +-int main (void) +-{ +- +-#if defined(__MINGW32__) || defined(__MINGW32CE__) || \ +- (defined(_MSC_VER) && (defined(_WIN32) || defined(_WIN64))) +- int dummy=1; +-#else +- Not a native Windows build target. +-#endif +- +- ; +- return 0; +-} +- +-_ACEOF +-if ac_fn_c_try_compile "$LINENO" +-then : +- +- curl_cv_native_windows="yes" +- +-else $as_nop +- +- curl_cv_native_windows="no" +- +-fi +-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +- fi +- +-fi +-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_native_windows" >&5 +-printf "%s\n" "$curl_cv_native_windows" >&6; } +- if test "x$curl_cv_native_windows" = xyes; then +- DOING_NATIVE_WINDOWS_TRUE= +- DOING_NATIVE_WINDOWS_FALSE='#' +-else +- DOING_NATIVE_WINDOWS_TRUE='#' +- DOING_NATIVE_WINDOWS_FALSE= +-fi +- +- +-case X-"$curl_cv_native_windows" in +- X-yes) +- +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for winsock2.h" >&5 +-printf %s "checking for winsock2.h... " >&6; } +-if test ${curl_cv_header_winsock2_h+y} +-then : +- printf %s "(cached) " >&6 +-else $as_nop +- +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext +-/* end confdefs.h. */ +- +- +-#undef inline +-#ifndef WIN32_LEAN_AND_MEAN +-#define WIN32_LEAN_AND_MEAN +-#endif +-#include +-#include +- +-int main (void) +-{ +- +-#if defined(__CYGWIN__) || defined(__CEGCC__) || defined(__MINGW32CE__) +- HAVE_WINSOCK2_H shall not be defined. +-#else +- int dummy=2*IPPROTO_ESP; +-#endif +- +- ; +- return 0; +-} +- +-_ACEOF +-if ac_fn_c_try_compile "$LINENO" +-then : +- +- curl_cv_header_winsock2_h="yes" +- +-else $as_nop +- +- curl_cv_header_winsock2_h="no" +- +-fi +-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +- +-fi +-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_header_winsock2_h" >&5 +-printf "%s\n" "$curl_cv_header_winsock2_h" >&6; } +- case "$curl_cv_header_winsock2_h" in +- yes) +- +-printf "%s\n" "@%:@define HAVE_WINSOCK2_H 1" >>confdefs.h +- +- ;; +- esac +- +- +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ws2tcpip.h" >&5 +-printf %s "checking for ws2tcpip.h... " >&6; } +-if test ${curl_cv_header_ws2tcpip_h+y} +-then : +- printf %s "(cached) " >&6 +-else $as_nop +- +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext +-/* end confdefs.h. */ +- +- +-#undef inline +-#ifndef WIN32_LEAN_AND_MEAN +-#define WIN32_LEAN_AND_MEAN +-#endif +-#include +-#include +-#include +- +-int main (void) +-{ +- +-#if defined(__CYGWIN__) || defined(__CEGCC__) || defined(__MINGW32CE__) +- HAVE_WS2TCPIP_H shall not be defined. +-#else +- int dummy=2*IP_PKTINFO; +-#endif +- +- ; +- return 0; +-} +- +-_ACEOF +-if ac_fn_c_try_compile "$LINENO" +-then : +- +- curl_cv_header_ws2tcpip_h="yes" +- +-else $as_nop +- +- curl_cv_header_ws2tcpip_h="no" +- +-fi +-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +- +-fi +-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_header_ws2tcpip_h" >&5 +-printf "%s\n" "$curl_cv_header_ws2tcpip_h" >&6; } +- case "$curl_cv_header_ws2tcpip_h" in +- yes) +- +-printf "%s\n" "@%:@define HAVE_WS2TCPIP_H 1" >>confdefs.h +- +- ;; +- esac +- +- ;; +- *) +- curl_cv_header_winsock2_h="no" +- curl_cv_header_ws2tcpip_h="no" +- ;; +-esac +- + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build target supports WIN32 file API" >&5 + printf %s "checking whether build target supports WIN32 file API... " >&6; } + curl_win32_file_api="no" +- if test "$curl_cv_header_windows_h" = "yes"; then ++ if test "$curl_cv_native_windows" = "yes"; then + if test x"$enable_largefile" != "xno"; then + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ +@@ -21327,9 +21547,7 @@ printf %s "checking whether build target supports WIN32 file API... " >&6; } + int main (void) + { + +-#if !defined(_WIN32_WCE) && \ +- (defined(__MINGW32__) || \ +- (defined(_MSC_VER) && (defined(_WIN32) || defined(_WIN64)))) ++#if !defined(_WIN32_WCE) && (defined(__MINGW32__) || defined(_MSC_VER)) + int dummy=1; + #else + WIN32 large file API not supported. +@@ -21406,7 +21624,7 @@ printf "%s\n" "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build target supports WIN32 crypto API" >&5 + printf %s "checking whether build target supports WIN32 crypto API... " >&6; } + curl_win32_crypto_api="no" +- if test "$curl_cv_header_windows_h" = "yes"; then ++ if test "$curl_cv_native_windows" = "yes"; then + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + +@@ -22047,7 +22265,6 @@ then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Hyper support is experimental" >&5 + printf "%s\n" "$as_me: Hyper support is experimental" >&6;} + curl_h1_msg="enabled (Hyper)" +- curl_h2_msg=$curl_h1_msg + HYPER_ENABLED=1 + + printf "%s\n" "@%:@define USE_HYPER 1" >>confdefs.h +@@ -22385,6 +22602,32 @@ fi + + + ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build documentation" >&5 ++printf %s "checking whether to build documentation... " >&6; } ++@%:@ Check whether --enable-docs was given. ++if test ${enable_docs+y} ++then : ++ enableval=$enable_docs; case "$enableval" in ++ no) ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++ BUILD_DOCS=0 ++ curl_docs_msg="no" ++ ;; ++ *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++ BUILD_DOCS=1 ++ ;; ++ esac ++else $as_nop ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++ BUILD_DOCS=1 ++ ++fi ++ ++ ++ + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to provide built-in manual" >&5 + printf %s "checking whether to provide built-in manual... " >&6; } + @%:@ Check whether --enable-manual was given. +@@ -22676,10 +22919,8 @@ fi + + if test "$HAVE_GETHOSTBYNAME" != "1" + then +- if test "$curl_cv_header_windows_h" = "yes"; then +- if test "$curl_cv_header_winsock2_h" = "yes"; then +- winsock_LIB="-lws2_32" +- fi ++ if test "$curl_cv_native_windows" = "yes"; then ++ winsock_LIB="-lws2_32" + if test ! -z "$winsock_LIB"; then + my_ac_save_LIBS=$LIBS + LIBS="$winsock_LIB $LIBS" +@@ -22689,15 +22930,12 @@ printf %s "checking for gethostbyname in $winsock_LIB... " >&6; } + /* end confdefs.h. */ + + +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + #ifndef WIN32_LEAN_AND_MEAN + #define WIN32_LEAN_AND_MEAN + #endif +-#include +-#ifdef HAVE_WINSOCK2_H + #include + #endif +-#endif + + int main (void) + { +@@ -22908,20 +23146,17 @@ fi + + curl_includes_winsock2="\ + /* includes start */ +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + # ifndef WIN32_LEAN_AND_MEAN + # define WIN32_LEAN_AND_MEAN + # endif +-# include +-# ifdef HAVE_WINSOCK2_H +-# include +-# endif ++# include + #endif + /* includes end */" + +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for windows.h" >&5 +-printf %s "checking for windows.h... " >&6; } +-if test ${curl_cv_header_windows_h+y} ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build target is a native Windows one" >&5 ++printf %s "checking whether build target is a native Windows one... " >&6; } ++if test ${curl_cv_native_windows+y} + then : + printf %s "(cached) " >&6 + else $as_nop +@@ -22930,19 +23165,14 @@ else $as_nop + /* end confdefs.h. */ + + +-#undef inline +-#ifndef WIN32_LEAN_AND_MEAN +-#define WIN32_LEAN_AND_MEAN +-#endif +-#include + + int main (void) + { + +-#if defined(__CYGWIN__) || defined(__CEGCC__) +- HAVE_WINDOWS_H shall not be defined. ++#ifdef _WIN32 ++ int dummy=1; + #else +- int dummy=2*WINVER; ++ Not a native Windows build target. + #endif + + ; +@@ -22953,81 +23183,26 @@ _ACEOF + if ac_fn_c_try_compile "$LINENO" + then : + +- curl_cv_header_windows_h="yes" ++ curl_cv_native_windows="yes" + + else $as_nop + +- curl_cv_header_windows_h="no" ++ curl_cv_native_windows="no" + + fi + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + + fi +-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_header_windows_h" >&5 +-printf "%s\n" "$curl_cv_header_windows_h" >&6; } +- case "$curl_cv_header_windows_h" in +- yes) +- +-printf "%s\n" "@%:@define HAVE_WINDOWS_H 1" >>confdefs.h +- +- ;; +- esac +- +- +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for winsock2.h" >&5 +-printf %s "checking for winsock2.h... " >&6; } +-if test ${curl_cv_header_winsock2_h+y} +-then : +- printf %s "(cached) " >&6 +-else $as_nop +- +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext +-/* end confdefs.h. */ +- +- +-#undef inline +-#ifndef WIN32_LEAN_AND_MEAN +-#define WIN32_LEAN_AND_MEAN +-#endif +-#include +-#include +- +-int main (void) +-{ +- +-#if defined(__CYGWIN__) || defined(__CEGCC__) || defined(__MINGW32CE__) +- HAVE_WINSOCK2_H shall not be defined. +-#else +- int dummy=2*IPPROTO_ESP; +-#endif +- +- ; +- return 0; +-} +- +-_ACEOF +-if ac_fn_c_try_compile "$LINENO" +-then : +- +- curl_cv_header_winsock2_h="yes" +- +-else $as_nop +- +- curl_cv_header_winsock2_h="no" +- +-fi +-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +- ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_native_windows" >&5 ++printf "%s\n" "$curl_cv_native_windows" >&6; } ++ if test "x$curl_cv_native_windows" = xyes; then ++ DOING_NATIVE_WINDOWS_TRUE= ++ DOING_NATIVE_WINDOWS_FALSE='#' ++else ++ DOING_NATIVE_WINDOWS_TRUE='#' ++ DOING_NATIVE_WINDOWS_FALSE= + fi +-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_header_winsock2_h" >&5 +-printf "%s\n" "$curl_cv_header_winsock2_h" >&6; } +- case "$curl_cv_header_winsock2_h" in +- yes) +- +-printf "%s\n" "@%:@define HAVE_WINSOCK2_H 1" >>confdefs.h + +- ;; +- esac + + + +@@ -23071,7 +23246,7 @@ printf %s "checking for connect in libraries... " >&6; } + + $curl_includes_winsock2 + $curl_includes_bsdsocket +- #if !defined(HAVE_WINDOWS_H) && !defined(HAVE_PROTO_BSDSOCKET_H) ++ #if !defined(_WIN32) && !defined(HAVE_PROTO_BSDSOCKET_H) + int connect(int, void*, int); + #endif + +@@ -24351,7 +24526,7 @@ else $as_nop + + + #undef inline +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + #ifndef WIN32_LEAN_AND_MEAN + #define WIN32_LEAN_AND_MEAN + #endif +@@ -24403,7 +24578,7 @@ printf "%s\n" "@%:@define HAVE_LBER_H 1" >>confdefs.h + + + #undef inline +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + #ifndef WIN32_LEAN_AND_MEAN + #define WIN32_LEAN_AND_MEAN + #endif +@@ -24467,7 +24642,7 @@ else $as_nop + + + #undef inline +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + #ifndef WIN32_LEAN_AND_MEAN + #define WIN32_LEAN_AND_MEAN + #endif +@@ -24532,7 +24707,7 @@ else $as_nop + + + #undef inline +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + #ifndef WIN32_LEAN_AND_MEAN + #define WIN32_LEAN_AND_MEAN + #endif +@@ -24691,7 +24866,7 @@ printf %s "checking for LDAP libraries... " >&6; } + + + #undef inline +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + #ifndef WIN32_LEAN_AND_MEAN + #define WIN32_LEAN_AND_MEAN + #endif +@@ -24921,7 +25096,7 @@ else $as_nop + + /* are AF_INET6 and sockaddr_in6 available? */ + #include +-#ifdef HAVE_WINSOCK2_H ++#ifdef _WIN32 + #include + #include + #else +@@ -24931,15 +25106,12 @@ else $as_nop + # include + #endif + #endif +-#include /* for exit() */ +-main() ++ ++int main(void) + { + struct sockaddr_in6 s; + (void)s; +- if (socket(AF_INET6, SOCK_STREAM, 0) < 0) +- exit(1); +- else +- exit(0); ++ return socket(AF_INET6, SOCK_STREAM, 0) < 0; + } + + +@@ -24975,7 +25147,7 @@ printf %s "checking if struct sockaddr_in6 has sin6_scope_id member... " >&6; } + /* end confdefs.h. */ + + #include +-#ifdef HAVE_WINSOCK2_H ++#ifdef _WIN32 + #include + #include + #else +@@ -25509,10 +25681,6 @@ done + if test "x$ac_cv_header_gssapi_h" = xyes + then : + +- +-printf "%s\n" "@%:@define HAVE_GSSHEIMDAL 1" >>confdefs.h +- +- + else $as_nop + + want_gss=no +@@ -25523,10 +25691,7 @@ printf "%s\n" "$as_me: WARNING: disabling GSS-API support since no header files + fi + + else +- +-printf "%s\n" "@%:@define HAVE_GSSMIT 1" >>confdefs.h +- +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if GSS-API headers declare GSS_C_NT_HOSTBASED_SERVICE" >&5 ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if GSS-API headers declare GSS_C_NT_HOSTBASED_SERVICE" >&5 + printf %s "checking if GSS-API headers declare GSS_C_NT_HOSTBASED_SERVICE... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ +@@ -26072,7 +26237,7 @@ int main (void) + { + + #if defined(AMISSL_CURRENT_VERSION) && defined(AMISSL_V3xx) && \ +- defined(OPENSSL_VERSION_MAJOR) && (OPENSSL_VERSION_MAJOR >= 3) && \ ++ (OPENSSL_VERSION_NUMBER >= 0x30000000L) && \ + defined(PROTO_AMISSL_H) + return 0; + #else +@@ -26809,6 +26974,7 @@ then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 + printf "%s\n" "yes" >&6; } + ssl_msg="BoringSSL" ++ OPENSSL_IS_BORINGSSL=1 + + else $as_nop + +@@ -26844,6 +27010,7 @@ then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 + printf "%s\n" "yes" >&6; } + ssl_msg="AWS-LC" ++ OPENSSL_IS_BORINGSSL=1 + + else $as_nop + +@@ -26900,7 +27067,7 @@ printf %s "checking for OpenSSL >= v3... " >&6; } + int main (void) + { + +- #if defined(OPENSSL_VERSION_MAJOR) && (OPENSSL_VERSION_MAJOR >= 3) ++ #if (OPENSSL_VERSION_NUMBER >= 0x30000000L) + return 0; + #else + #error older than 3 +@@ -26930,6 +27097,25 @@ fi + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + fi + ++ ++ for ac_func in SSL_set_quic_use_legacy_codepoint ++do : ++ ac_fn_c_check_func "$LINENO" "SSL_set_quic_use_legacy_codepoint" "ac_cv_func_SSL_set_quic_use_legacy_codepoint" ++if test "x$ac_cv_func_SSL_set_quic_use_legacy_codepoint" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_SSL_SET_QUIC_USE_LEGACY_CODEPOINT 1" >>confdefs.h ++ QUIC_ENABLED=yes ++fi ++ ++done ++ if test "$QUIC_ENABLED" = "yes"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: OpenSSL fork speaks QUIC API" >&5 ++printf "%s\n" "$as_me: OpenSSL fork speaks QUIC API" >&6;} ++ else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: OpenSSL version does not speak QUIC API" >&5 ++printf "%s\n" "$as_me: OpenSSL version does not speak QUIC API" >&6;} ++ fi ++ + if test "$OPENSSL_ENABLED" = "1"; then + if test -n "$LIB_OPENSSL"; then + if test "x$cross_compiling" != "xyes"; then +@@ -27060,6 +27246,45 @@ fi + + fi + ++if test "$OPENSSL_ENABLED" = "1"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for QUIC support in OpenSSL" >&5 ++printf %s "checking for QUIC support in OpenSSL... " >&6; } ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ ++#include ++ ++int main (void) ++{ ++ ++ OSSL_QUIC_client_method(); ++ ++ ; ++ return 0; ++} ++ ++_ACEOF ++if ac_fn_c_try_link "$LINENO" ++then : ++ ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++ ++printf "%s\n" "@%:@define HAVE_OPENSSL_QUIC 1" >>confdefs.h ++ ++ HAVE_OPENSSL_QUIC=1 ++ ++ ++else $as_nop ++ ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++ ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ ++ conftest$ac_exeext conftest.$ac_ext ++fi + + + if test "x$OPT_GNUTLS" != xno; then +@@ -27305,6 +27530,7 @@ printf "%s\n" "@%:@define USE_GNUTLS 1" >>confdefs.h + GNUTLS_ENABLED=1 + USE_GNUTLS="yes" + ssl_msg="GnuTLS" ++ QUIC_ENABLED=yes + test gnutls != "$DEFAULT_SSL_BACKEND" || VALID_DEFAULT_SSL_BACKEND=yes + + else $as_nop +@@ -27896,6 +28122,7 @@ printf "%s\n" "@%:@define USE_WOLFSSL 1" >>confdefs.h + WOLFSSL_ENABLED=1 + USE_WOLFSSL="yes" + ssl_msg="WolfSSL" ++ QUIC_ENABLED=yes + test wolfssl != "$DEFAULT_SSL_BACKEND" || VALID_DEFAULT_SSL_BACKEND=yes + + else $as_nop +@@ -28189,89 +28416,59 @@ fi + + + if test "x$OPT_RUSTLS" != xno; then +- _cppflags=$CPPFLAGS +- _ldflags=$LDFLAGS + ssl_msg= + +- if test X"$OPT_RUSTLS" != Xno; then +- +- if test "$OPT_RUSTLS" = "yes"; then +- OPT_RUSTLS="" +- fi +- +- case $host_os in +- darwin*) +- LDFLAGS="$LDFLAGS -framework Security" +- ;; +- *) +- ;; +- esac +- +- if test -z "$OPT_RUSTLS" ; then +- +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for rustls_client_session_read in -lrustls" >&5 +-printf %s "checking for rustls_client_session_read in -lrustls... " >&6; } +-if test ${ac_cv_lib_rustls_rustls_client_session_read+y} +-then : +- printf %s "(cached) " >&6 +-else $as_nop +- ac_check_lib_save_LIBS=$LIBS +-LIBS="-lrustls -lpthread -ldl -lm $LIBS" +-cat confdefs.h - <<_ACEOF >conftest.$ac_ext +-/* end confdefs.h. */ +- ++ CLEANLDFLAGS="$LDFLAGS" ++ CLEANCPPFLAGS="$CPPFLAGS" + +-#ifdef __cplusplus +-extern "C" +-#endif +-char rustls_client_session_read (); +-int main (void) +-{ +-return rustls_client_session_read (); +- ; +- return 0; +-} +-_ACEOF +-if ac_fn_c_try_link "$LINENO" +-then : +- ac_cv_lib_rustls_rustls_client_session_read=yes +-else $as_nop +- ac_cv_lib_rustls_rustls_client_session_read=no +-fi +-rm -f core conftest.err conftest.$ac_objext conftest.beam \ +- conftest$ac_exeext conftest.$ac_ext +-LIBS=$ac_check_lib_save_LIBS +-fi +-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rustls_rustls_client_session_read" >&5 +-printf "%s\n" "$ac_cv_lib_rustls_rustls_client_session_read" >&6; } +-if test "x$ac_cv_lib_rustls_rustls_client_session_read" = xyes +-then : +- +- +-printf "%s\n" "@%:@define USE_RUSTLS 1" >>confdefs.h ++ case $host_os in ++ darwin*) ++ LDFLAGS="$LDFLAGS -framework Security" ++ ;; ++ *) ++ ;; ++ esac ++ ## NEW CODE + +- USE_RUSTLS=1 ++ ++ case "$OPT_RUSTLS" in ++ yes) ++ PKGTEST="yes" ++ PREFIX_RUSTLS= ++ ;; ++ *) ++ PKGTEST="no" ++ PREFIX_RUSTLS=$OPT_RUSTLS + +- RUSTLS_ENABLED=1 +- USE_RUSTLS="yes" +- ssl_msg="rustls" +- test rustls != "$DEFAULT_SSL_BACKEND" || VALID_DEFAULT_SSL_BACKEND=yes +- +-fi ++ ++ RUSTLS_PCDIR="$PREFIX_RUSTLS/lib/pkgconfig" ++ if test -f "$RUSTLS_PCDIR/rustls.pc"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: PKG_CONFIG_LIBDIR will be set to \"$RUSTLS_PCDIR\"" >&5 ++printf "%s\n" "$as_me: PKG_CONFIG_LIBDIR will be set to \"$RUSTLS_PCDIR\"" >&6;} ++ PKGTEST="yes" ++ fi + +- fi ++ if test "$PKGTEST" != "yes"; then ++ # try lib64 instead ++ RUSTLS_PCDIR="$PREFIX_RUSTLS/lib64/pkgconfig" ++ if test -f "$RUSTLS_PCDIR/rustls.pc"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: PKG_CONFIG_LIBDIR will be set to \"$RUSTLS_PCDIR\"" >&5 ++printf "%s\n" "$as_me: PKG_CONFIG_LIBDIR will be set to \"$RUSTLS_PCDIR\"" >&6;} ++ PKGTEST="yes" ++ fi ++ fi + +- if test "x$USE_RUSTLS" != "xyes"; then +- addld=-L$OPT_RUSTLS/lib$libsuff +- addcflags=-I$OPT_RUSTLS/include +- rustlslib=$OPT_RUSTLS/lib$libsuff ++ if test "$PKGTEST" != "yes"; then ++ ++ addld=-L$PREFIX_RUSTLS/lib$libsuff ++ addcflags=-I$PREFIX_RUSTLS/include + +- LDFLAGS="$LDFLAGS $addld" +- if test "$addcflags" != "-I/usr/include"; then +- CPPFLAGS="$CPPFLAGS $addcflags" +- fi ++ LDFLAGS="$LDFLAGS $addld" ++ if test "$addcflags" != "-I/usr/include"; then ++ CPPFLAGS="$CPPFLAGS $addcflags" ++ fi + +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for rustls_connection_read in -lrustls" >&5 ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for rustls_connection_read in -lrustls" >&5 + printf %s "checking for rustls_connection_read in -lrustls... " >&6; } + if test ${ac_cv_lib_rustls_rustls_connection_read+y} + then : +@@ -28309,40 +28506,233 @@ printf "%s\n" "$ac_cv_lib_rustls_rustls_connection_read" >&6; } + if test "x$ac_cv_lib_rustls_rustls_connection_read" = xyes + then : + +- ++ + printf "%s\n" "@%:@define USE_RUSTLS 1" >>confdefs.h + +- USE_RUSTLS=1 ++ USE_RUSTLS=1 + +- RUSTLS_ENABLED=1 +- USE_RUSTLS="yes" +- ssl_msg="rustls" +- test rustls != "$DEFAULT_SSL_BACKEND" || VALID_DEFAULT_SSL_BACKEND=yes +- ++ RUSTLS_ENABLED=1 ++ USE_RUSTLS="yes" ++ ssl_msg="rustls" ++ test rustls != "$DEFAULT_SSL_BACKEND" || VALID_DEFAULT_SSL_BACKEND=yes ++ + else $as_nop + as_fn_error $? "--with-rustls was specified but could not find rustls." "$LINENO" 5 + fi + ++ ++ USE_RUSTLS="yes" ++ ssl_msg="rustls" ++ ++ LIB_RUSTLS="$PREFIX_RUSTLS/lib$libsuff" ++ if test "$PREFIX_RUSTLS" != "/usr" ; then ++ SSL_LDFLAGS="-L$LIB_RUSTLS" ++ SSL_CPPFLAGS="-I$PREFIX_RUSTLS/include" ++ fi ++ fi ++ ;; ++ esac ++ ++ if test "$PKGTEST" = "yes"; then ++ ++ ++ if test -n "$PKG_CONFIG"; then ++ PKGCONFIG="$PKG_CONFIG" ++ else ++ if test -n "$ac_tool_prefix"; then ++ # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. ++set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_path_PKGCONFIG+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ case $PKGCONFIG in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_PKGCONFIG="$PKGCONFIG" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++as_dummy="$PATH:/usr/bin:/usr/local/bin" ++for as_dir in $as_dummy ++do ++ IFS=$as_save_IFS ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ++ ac_cv_path_PKGCONFIG="$as_dir$ac_word$ac_exec_ext" ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++ ;; ++esac ++fi ++PKGCONFIG=$ac_cv_path_PKGCONFIG ++if test -n "$PKGCONFIG"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5 ++printf "%s\n" "$PKGCONFIG" >&6; } ++else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++fi ++ ++ ++fi ++if test -z "$ac_cv_path_PKGCONFIG"; then ++ ac_pt_PKGCONFIG=$PKGCONFIG ++ # Extract the first word of "pkg-config", so it can be a program name with args. ++set dummy pkg-config; ac_word=$2 ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_path_ac_pt_PKGCONFIG+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ case $ac_pt_PKGCONFIG in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_ac_pt_PKGCONFIG="$ac_pt_PKGCONFIG" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++as_dummy="$PATH:/usr/bin:/usr/local/bin" ++for as_dir in $as_dummy ++do ++ IFS=$as_save_IFS ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ++ ac_cv_path_ac_pt_PKGCONFIG="$as_dir$ac_word$ac_exec_ext" ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++ ;; ++esac ++fi ++ac_pt_PKGCONFIG=$ac_cv_path_ac_pt_PKGCONFIG ++if test -n "$ac_pt_PKGCONFIG"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5 ++printf "%s\n" "$ac_pt_PKGCONFIG" >&6; } ++else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++fi ++ ++ if test "x$ac_pt_PKGCONFIG" = x; then ++ PKGCONFIG="no" ++ else ++ case $cross_compiling:$ac_tool_warned in ++yes:) ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 ++printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ++ac_tool_warned=yes ;; ++esac ++ PKGCONFIG=$ac_pt_PKGCONFIG ++ fi ++else ++ PKGCONFIG="$ac_cv_path_PKGCONFIG" ++fi ++ + fi + +- if test "x$USE_RUSTLS" = "xyes"; then +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: detected rustls" >&5 +-printf "%s\n" "$as_me: detected rustls" >&6;} +- check_for_ca_bundle=1 ++ if test "x$PKGCONFIG" != "xno"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for rustls options with pkg-config" >&5 ++printf %s "checking for rustls options with pkg-config... " >&6; } ++ itexists=` ++ if test -n "$RUSTLS_PCDIR"; then ++ PKG_CONFIG_LIBDIR="$RUSTLS_PCDIR" ++ export PKG_CONFIG_LIBDIR ++ fi ++ $PKGCONFIG --exists rustls >/dev/null 2>&1 && echo 1` + +- LIBS="-lrustls -lpthread -ldl -lm $LIBS" ++ if test -z "$itexists"; then ++ PKGCONFIG="no" ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++ else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5 ++printf "%s\n" "found" >&6; } ++ fi ++ fi + +- if test -n "$rustlslib"; then +- if test "x$cross_compiling" != "xyes"; then +- CURL_LIBRARY_PATH="$CURL_LIBRARY_PATH:$rustlslib" +- export CURL_LIBRARY_PATH +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Added $rustlslib to CURL_LIBRARY_PATH" >&5 +-printf "%s\n" "$as_me: Added $rustlslib to CURL_LIBRARY_PATH" >&6;} +- fi ++ ++ if test "$PKGCONFIG" != "no" ; then ++ SSL_LIBS=` ++ if test -n "$RUSTLS_PCDIR"; then ++ PKG_CONFIG_LIBDIR="$RUSTLS_PCDIR" ++ export PKG_CONFIG_LIBDIR ++ fi ++ $PKGCONFIG --libs-only-l --libs-only-other rustls 2>/dev/null` ++ ++ SSL_LDFLAGS=` ++ if test -n "$RUSTLS_PCDIR"; then ++ PKG_CONFIG_LIBDIR="$RUSTLS_PCDIR" ++ export PKG_CONFIG_LIBDIR ++ fi ++ $PKGCONFIG --libs-only-L rustls 2>/dev/null` ++ ++ SSL_CPPFLAGS=` ++ if test -n "$RUSTLS_PCDIR"; then ++ PKG_CONFIG_LIBDIR="$RUSTLS_PCDIR" ++ export PKG_CONFIG_LIBDIR ++ fi ++ $PKGCONFIG --cflags-only-I rustls 2>/dev/null` ++ ++ ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: pkg-config: SSL_LIBS: \"$SSL_LIBS\"" >&5 ++printf "%s\n" "$as_me: pkg-config: SSL_LIBS: \"$SSL_LIBS\"" >&6;} ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: pkg-config: SSL_LDFLAGS: \"$SSL_LDFLAGS\"" >&5 ++printf "%s\n" "$as_me: pkg-config: SSL_LDFLAGS: \"$SSL_LDFLAGS\"" >&6;} ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: pkg-config: SSL_CPPFLAGS: \"$SSL_CPPFLAGS\"" >&5 ++printf "%s\n" "$as_me: pkg-config: SSL_CPPFLAGS: \"$SSL_CPPFLAGS\"" >&6;} ++ ++ LIB_RUSTLS=`echo $SSL_LDFLAGS | sed -e 's/^-L//'` ++ ++ LIBS="$SSL_LIBS $LIBS" ++ USE_RUSTLS="yes" ++ ssl_msg="rustls" ++ else ++ as_fn_error $? "pkg-config: Could not find rustls" "$LINENO" 5 ++ fi ++ ++ else ++ LIBS="-lrustls -lpthread -ldl -lm $LIBS" ++ fi ++ ++ CPPFLAGS="$CLEAN_CPPFLAGS $SSL_CPPFLAGS" ++ LDFLAGS="$CLAN_LDFLAGS $SSL_LDFLAGS" ++ ++ if test "x$USE_RUSTLS" = "xyes"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: detected rustls" >&5 ++printf "%s\n" "$as_me: detected rustls" >&6;} ++ check_for_ca_bundle=1 ++ ++ if test -n "$LIB_RUSTLS"; then ++ if test "x$cross_compiling" != "xyes"; then ++ CURL_LIBRARY_PATH="$CURL_LIBRARY_PATH:$LIB_RUSTLS" ++ export CURL_LIBRARY_PATH ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Added $LIB_RUSTLS to CURL_LIBRARY_PATH" >&5 ++printf "%s\n" "$as_me: Added $LIB_RUSTLS to CURL_LIBRARY_PATH" >&6;} + fi + fi ++ fi + +- fi + test -z "$ssl_msg" || ssl_backends="${ssl_backends:+$ssl_backends, }$ssl_msg" + fi + +@@ -28579,23 +28969,194 @@ printf "%s\n" "@%:@define CURL_CA_FALLBACK 1" >>confdefs.h + fi + + ++OPT_LIBPSL=off + + @%:@ Check whether --with-libpsl was given. + if test ${with_libpsl+y} + then : +- withval=$with_libpsl; with_libpsl=$withval ++ withval=$with_libpsl; OPT_LIBPSL=$withval ++fi ++ ++ ++if test X"$OPT_LIBPSL" != Xno; then ++ CLEANLDFLAGS="$LDFLAGS" ++ CLEANCPPFLAGS="$CPPFLAGS" ++ CLEANLIBS="$LIBS" ++ ++ case "$OPT_LIBPSL" in ++ yes) ++ ++ if test -n "$PKG_CONFIG"; then ++ PKGCONFIG="$PKG_CONFIG" ++ else ++ if test -n "$ac_tool_prefix"; then ++ # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. ++set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_path_PKGCONFIG+y} ++then : ++ printf %s "(cached) " >&6 + else $as_nop +- with_libpsl=yes ++ case $PKGCONFIG in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_PKGCONFIG="$PKGCONFIG" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++as_dummy="$PATH:/usr/bin:/usr/local/bin" ++for as_dir in $as_dummy ++do ++ IFS=$as_save_IFS ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ++ ac_cv_path_PKGCONFIG="$as_dir$ac_word$ac_exec_ext" ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++ ;; ++esac ++fi ++PKGCONFIG=$ac_cv_path_PKGCONFIG ++if test -n "$PKGCONFIG"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5 ++printf "%s\n" "$PKGCONFIG" >&6; } ++else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + fi + +-if test $with_libpsl != "no"; then +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing psl_builtin" >&5 +-printf %s "checking for library containing psl_builtin... " >&6; } +-if test ${ac_cv_search_psl_builtin+y} ++ ++fi ++if test -z "$ac_cv_path_PKGCONFIG"; then ++ ac_pt_PKGCONFIG=$PKGCONFIG ++ # Extract the first word of "pkg-config", so it can be a program name with args. ++set dummy pkg-config; ac_word=$2 ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_path_ac_pt_PKGCONFIG+y} + then : + printf %s "(cached) " >&6 + else $as_nop +- ac_func_search_save_LIBS=$LIBS ++ case $ac_pt_PKGCONFIG in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_ac_pt_PKGCONFIG="$ac_pt_PKGCONFIG" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++as_dummy="$PATH:/usr/bin:/usr/local/bin" ++for as_dir in $as_dummy ++do ++ IFS=$as_save_IFS ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ++ ac_cv_path_ac_pt_PKGCONFIG="$as_dir$ac_word$ac_exec_ext" ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++ ;; ++esac ++fi ++ac_pt_PKGCONFIG=$ac_cv_path_ac_pt_PKGCONFIG ++if test -n "$ac_pt_PKGCONFIG"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5 ++printf "%s\n" "$ac_pt_PKGCONFIG" >&6; } ++else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++fi ++ ++ if test "x$ac_pt_PKGCONFIG" = x; then ++ PKGCONFIG="no" ++ else ++ case $cross_compiling:$ac_tool_warned in ++yes:) ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 ++printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ++ac_tool_warned=yes ;; ++esac ++ PKGCONFIG=$ac_pt_PKGCONFIG ++ fi ++else ++ PKGCONFIG="$ac_cv_path_PKGCONFIG" ++fi ++ ++ fi ++ ++ if test "x$PKGCONFIG" != "xno"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libpsl options with pkg-config" >&5 ++printf %s "checking for libpsl options with pkg-config... " >&6; } ++ itexists=` ++ if test -n ""; then ++ PKG_CONFIG_LIBDIR="" ++ export PKG_CONFIG_LIBDIR ++ fi ++ $PKGCONFIG --exists libpsl >/dev/null 2>&1 && echo 1` ++ ++ if test -z "$itexists"; then ++ PKGCONFIG="no" ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++ else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5 ++printf "%s\n" "found" >&6; } ++ fi ++ fi ++ ++ ++ if test "$PKGCONFIG" != "no" ; then ++ LIB_PSL=`$PKGCONFIG --libs-only-l libpsl` ++ LD_PSL=`$PKGCONFIG --libs-only-L libpsl` ++ CPP_PSL=`$PKGCONFIG --cflags-only-I libpsl` ++ else ++ LIB_PSL="-lpsl" ++ fi ++ ++ ;; ++ off) ++ LIB_PSL="-lpsl" ++ ;; ++ *) ++ LIB_PSL="-lpsl" ++ PREFIX_PSL=$OPT_LIBPSL ++ ;; ++ esac ++ ++ if test -n "$PREFIX_PSL"; then ++ LD_PSL=-L${PREFIX_PSL}/lib$libsuff ++ CPP_PSL=-I${PREFIX_PSL}/include ++ fi ++ ++ LDFLAGS="$LDFLAGS $LD_PSL" ++ CPPFLAGS="$CPPFLAGS $CPP_PSL" ++ LIBS="$LIB_PSL $LIBS" ++ ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for psl_builtin in -lpsl" >&5 ++printf %s "checking for psl_builtin in -lpsl... " >&6; } ++if test ${ac_cv_lib_psl_psl_builtin+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lpsl $LIBS" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + +@@ -28611,53 +29172,51 @@ return psl_builtin (); + return 0; + } + _ACEOF +-for ac_lib in '' psl +-do +- if test -z "$ac_lib"; then +- ac_res="none required" +- else +- ac_res=-l$ac_lib +- LIBS="-l$ac_lib $ac_func_search_save_LIBS" +- fi +- if ac_fn_c_try_link "$LINENO" ++if ac_fn_c_try_link "$LINENO" + then : +- ac_cv_search_psl_builtin=$ac_res ++ ac_cv_lib_psl_psl_builtin=yes ++else $as_nop ++ ac_cv_lib_psl_psl_builtin=no + fi + rm -f core conftest.err conftest.$ac_objext conftest.beam \ +- conftest$ac_exeext +- if test ${ac_cv_search_psl_builtin+y} +-then : +- break ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS + fi +-done +-if test ${ac_cv_search_psl_builtin+y} ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_psl_psl_builtin" >&5 ++printf "%s\n" "$ac_cv_lib_psl_psl_builtin" >&6; } ++if test "x$ac_cv_lib_psl_psl_builtin" = xyes + then : + +-else $as_nop +- ac_cv_search_psl_builtin=no +-fi +-rm conftest.$ac_ext +-LIBS=$ac_func_search_save_LIBS +-fi +-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_psl_builtin" >&5 +-printf "%s\n" "$ac_cv_search_psl_builtin" >&6; } +-ac_res=$ac_cv_search_psl_builtin +-if test "$ac_res" != no ++ for ac_header in libpsl.h ++do : ++ ac_fn_c_check_header_compile "$LINENO" "libpsl.h" "ac_cv_header_libpsl_h" "$ac_includes_default" ++if test "x$ac_cv_header_libpsl_h" = xyes + then : +- test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" +- curl_psl_msg="enabled"; +- ++ printf "%s\n" "@%:@define HAVE_LIBPSL_H 1" >>confdefs.h ++ curl_psl_msg="enabled" ++ LIBPSL_ENABLED=1 ++ + printf "%s\n" "@%:@define USE_LIBPSL 1" >>confdefs.h + ++ USE_LIBPSL=1 ++ + ++fi ++ ++done ++ + else $as_nop +- curl_psl_msg="no (libpsl not found)"; +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: libpsl was not found" >&5 +-printf "%s\n" "$as_me: WARNING: libpsl was not found" >&2;} +- ++ LDFLAGS=$CLEANLDFLAGS ++ CPPFLAGS=$CLEANCPPFLAGS ++ LIBS=$CLEANLIBS + + fi + ++ ++ if test X"$OPT_LIBPSL" != Xoff && ++ test "$LIBPSL_ENABLED" != "1"; then ++ as_fn_error $? "libpsl libs and/or directories were not found where specified!" "$LINENO" 5 ++ fi + fi + if test "$curl_psl_msg" = "enabled"; then + USE_LIBPSL_TRUE= +@@ -30616,6 +31175,11 @@ esac + + curl_tcp2_msg="no (--with-ngtcp2)" + if test X"$want_tcp2" != Xno; then ++ ++ if test "$QUIC_ENABLED" != "yes"; then ++ as_fn_error $? "the detected TLS library does not support QUIC, making --with-ngtcp2 a no-no" "$LINENO" 5 ++ fi ++ + CLEANLDFLAGS="$LDFLAGS" + CLEANCPPFLAGS="$CPPFLAGS" + CLEANLIBS="$LIBS" +@@ -30869,7 +31433,260 @@ fi + + fi + +-if test "x$NGTCP2_ENABLED" = "x1" -a "x$OPENSSL_ENABLED" = "x1"; then ++if test "x$NGTCP2_ENABLED" = "x1" -a "x$OPENSSL_ENABLED" = "x1" -a "x$OPENSSL_IS_BORINGSSL" != "x1"; then ++ CLEANLDFLAGS="$LDFLAGS" ++ CLEANCPPFLAGS="$CPPFLAGS" ++ CLEANLIBS="$LIBS" ++ ++ ++ if test -n "$PKG_CONFIG"; then ++ PKGCONFIG="$PKG_CONFIG" ++ else ++ if test -n "$ac_tool_prefix"; then ++ # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. ++set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_path_PKGCONFIG+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ case $PKGCONFIG in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_PKGCONFIG="$PKGCONFIG" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++as_dummy="$PATH:/usr/bin:/usr/local/bin" ++for as_dir in $as_dummy ++do ++ IFS=$as_save_IFS ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ++ ac_cv_path_PKGCONFIG="$as_dir$ac_word$ac_exec_ext" ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++ ;; ++esac ++fi ++PKGCONFIG=$ac_cv_path_PKGCONFIG ++if test -n "$PKGCONFIG"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5 ++printf "%s\n" "$PKGCONFIG" >&6; } ++else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++fi ++ ++ ++fi ++if test -z "$ac_cv_path_PKGCONFIG"; then ++ ac_pt_PKGCONFIG=$PKGCONFIG ++ # Extract the first word of "pkg-config", so it can be a program name with args. ++set dummy pkg-config; ac_word=$2 ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_path_ac_pt_PKGCONFIG+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ case $ac_pt_PKGCONFIG in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_ac_pt_PKGCONFIG="$ac_pt_PKGCONFIG" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++as_dummy="$PATH:/usr/bin:/usr/local/bin" ++for as_dir in $as_dummy ++do ++ IFS=$as_save_IFS ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ++ ac_cv_path_ac_pt_PKGCONFIG="$as_dir$ac_word$ac_exec_ext" ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++ ;; ++esac ++fi ++ac_pt_PKGCONFIG=$ac_cv_path_ac_pt_PKGCONFIG ++if test -n "$ac_pt_PKGCONFIG"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5 ++printf "%s\n" "$ac_pt_PKGCONFIG" >&6; } ++else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++fi ++ ++ if test "x$ac_pt_PKGCONFIG" = x; then ++ PKGCONFIG="no" ++ else ++ case $cross_compiling:$ac_tool_warned in ++yes:) ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 ++printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ++ac_tool_warned=yes ;; ++esac ++ PKGCONFIG=$ac_pt_PKGCONFIG ++ fi ++else ++ PKGCONFIG="$ac_cv_path_PKGCONFIG" ++fi ++ ++ fi ++ ++ if test "x$PKGCONFIG" != "xno"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libngtcp2_crypto_quictls options with pkg-config" >&5 ++printf %s "checking for libngtcp2_crypto_quictls options with pkg-config... " >&6; } ++ itexists=` ++ if test -n "$want_tcp2_path"; then ++ PKG_CONFIG_LIBDIR="$want_tcp2_path" ++ export PKG_CONFIG_LIBDIR ++ fi ++ $PKGCONFIG --exists libngtcp2_crypto_quictls >/dev/null 2>&1 && echo 1` ++ ++ if test -z "$itexists"; then ++ PKGCONFIG="no" ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++ else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5 ++printf "%s\n" "found" >&6; } ++ fi ++ fi ++ ++ ++ if test "$PKGCONFIG" != "no" ; then ++ LIB_NGTCP2_CRYPTO_QUICTLS=` ++ if test -n "$want_tcp2_path"; then ++ PKG_CONFIG_LIBDIR="$want_tcp2_path" ++ export PKG_CONFIG_LIBDIR ++ fi ++ ++ $PKGCONFIG --libs-only-l libngtcp2_crypto_quictls` ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -l is $LIB_NGTCP2_CRYPTO_QUICTLS" >&5 ++printf "%s\n" "$as_me: -l is $LIB_NGTCP2_CRYPTO_QUICTLS" >&6;} ++ ++ CPP_NGTCP2_CRYPTO_QUICTLS=` ++ if test -n "$want_tcp2_path"; then ++ PKG_CONFIG_LIBDIR="$want_tcp2_path" ++ export PKG_CONFIG_LIBDIR ++ fi ++ $PKGCONFIG --cflags-only-I libngtcp2_crypto_quictls` ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -I is $CPP_NGTCP2_CRYPTO_QUICTLS" >&5 ++printf "%s\n" "$as_me: -I is $CPP_NGTCP2_CRYPTO_QUICTLS" >&6;} ++ ++ LD_NGTCP2_CRYPTO_QUICTLS=` ++ if test -n "$want_tcp2_path"; then ++ PKG_CONFIG_LIBDIR="$want_tcp2_path" ++ export PKG_CONFIG_LIBDIR ++ fi ++ ++ $PKGCONFIG --libs-only-L libngtcp2_crypto_quictls` ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -L is $LD_NGTCP2_CRYPTO_QUICTLS" >&5 ++printf "%s\n" "$as_me: -L is $LD_NGTCP2_CRYPTO_QUICTLS" >&6;} ++ ++ LDFLAGS="$LDFLAGS $LD_NGTCP2_CRYPTO_QUICTLS" ++ CPPFLAGS="$CPPFLAGS $CPP_NGTCP2_CRYPTO_QUICTLS" ++ LIBS="$LIB_NGTCP2_CRYPTO_QUICTLS $LIBS" ++ ++ if test "x$cross_compiling" != "xyes"; then ++ DIR_NGTCP2_CRYPTO_QUICTLS=`echo $LD_NGTCP2_CRYPTO_QUICTLS | $SED -e 's/^-L//'` ++ fi ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ngtcp2_crypto_recv_client_initial_cb in -lngtcp2_crypto_quictls" >&5 ++printf %s "checking for ngtcp2_crypto_recv_client_initial_cb in -lngtcp2_crypto_quictls... " >&6; } ++if test ${ac_cv_lib_ngtcp2_crypto_quictls_ngtcp2_crypto_recv_client_initial_cb+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lngtcp2_crypto_quictls $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ ++#ifdef __cplusplus ++extern "C" ++#endif ++char ngtcp2_crypto_recv_client_initial_cb (); ++int main (void) ++{ ++return ngtcp2_crypto_recv_client_initial_cb (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO" ++then : ++ ac_cv_lib_ngtcp2_crypto_quictls_ngtcp2_crypto_recv_client_initial_cb=yes ++else $as_nop ++ ac_cv_lib_ngtcp2_crypto_quictls_ngtcp2_crypto_recv_client_initial_cb=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ngtcp2_crypto_quictls_ngtcp2_crypto_recv_client_initial_cb" >&5 ++printf "%s\n" "$ac_cv_lib_ngtcp2_crypto_quictls_ngtcp2_crypto_recv_client_initial_cb" >&6; } ++if test "x$ac_cv_lib_ngtcp2_crypto_quictls_ngtcp2_crypto_recv_client_initial_cb" = xyes ++then : ++ ++ for ac_header in ngtcp2/ngtcp2_crypto.h ++do : ++ ac_fn_c_check_header_compile "$LINENO" "ngtcp2/ngtcp2_crypto.h" "ac_cv_header_ngtcp2_ngtcp2_crypto_h" "$ac_includes_default" ++if test "x$ac_cv_header_ngtcp2_ngtcp2_crypto_h" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_NGTCP2_NGTCP2_CRYPTO_H 1" >>confdefs.h ++ NGTCP2_ENABLED=1 ++ ++printf "%s\n" "@%:@define USE_NGTCP2_CRYPTO_QUICTLS 1" >>confdefs.h ++ ++ USE_NGTCP2_CRYPTO_QUICTLS=1 ++ ++ CURL_LIBRARY_PATH="$CURL_LIBRARY_PATH:$DIR_NGTCP2_CRYPTO_QUICTLS" ++ export CURL_LIBRARY_PATH ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Added $DIR_NGTCP2_CRYPTO_QUICTLS to CURL_LIBRARY_PATH" >&5 ++printf "%s\n" "$as_me: Added $DIR_NGTCP2_CRYPTO_QUICTLS to CURL_LIBRARY_PATH" >&6;} ++ ++fi ++ ++done ++ ++else $as_nop ++ LDFLAGS=$CLEANLDFLAGS ++ CPPFLAGS=$CLEANCPPFLAGS ++ LIBS=$CLEANLIBS ++ ++fi ++ ++ ++ else ++ if test X"$want_tcp2" != Xdefault; then ++ as_fn_error $? "--with-ngtcp2 was specified but could not find ngtcp2_crypto_quictls pkg-config file." "$LINENO" 5 ++ fi ++ fi ++fi ++ ++if test "x$NGTCP2_ENABLED" = "x1" -a "x$OPENSSL_ENABLED" = "x1" -a "x$OPENSSL_IS_BORINGSSL" = "x1"; then + CLEANLDFLAGS="$LDFLAGS" + CLEANCPPFLAGS="$CPPFLAGS" + CLEANLIBS="$LIBS" +@@ -30991,14 +31808,14 @@ fi + fi + + if test "x$PKGCONFIG" != "xno"; then +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libngtcp2_crypto_quictls options with pkg-config" >&5 +-printf %s "checking for libngtcp2_crypto_quictls options with pkg-config... " >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libngtcp2_crypto_boringssl options with pkg-config" >&5 ++printf %s "checking for libngtcp2_crypto_boringssl options with pkg-config... " >&6; } + itexists=` + if test -n "$want_tcp2_path"; then + PKG_CONFIG_LIBDIR="$want_tcp2_path" + export PKG_CONFIG_LIBDIR + fi +- $PKGCONFIG --exists libngtcp2_crypto_quictls >/dev/null 2>&1 && echo 1` ++ $PKGCONFIG --exists libngtcp2_crypto_boringssl >/dev/null 2>&1 && echo 1` + + if test -z "$itexists"; then + PKGCONFIG="no" +@@ -31012,50 +31829,50 @@ printf "%s\n" "found" >&6; } + + + if test "$PKGCONFIG" != "no" ; then +- LIB_NGTCP2_CRYPTO_QUICTLS=` ++ LIB_NGTCP2_CRYPTO_BORINGSSL=` + if test -n "$want_tcp2_path"; then + PKG_CONFIG_LIBDIR="$want_tcp2_path" + export PKG_CONFIG_LIBDIR + fi + +- $PKGCONFIG --libs-only-l libngtcp2_crypto_quictls` +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -l is $LIB_NGTCP2_CRYPTO_QUICTLS" >&5 +-printf "%s\n" "$as_me: -l is $LIB_NGTCP2_CRYPTO_QUICTLS" >&6;} ++ $PKGCONFIG --libs-only-l libngtcp2_crypto_boringssl` ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -l is $LIB_NGTCP2_CRYPTO_BORINGSSL" >&5 ++printf "%s\n" "$as_me: -l is $LIB_NGTCP2_CRYPTO_BORINGSSL" >&6;} + +- CPP_NGTCP2_CRYPTO_QUICTLS=` ++ CPP_NGTCP2_CRYPTO_BORINGSSL=` + if test -n "$want_tcp2_path"; then + PKG_CONFIG_LIBDIR="$want_tcp2_path" + export PKG_CONFIG_LIBDIR + fi +- $PKGCONFIG --cflags-only-I libngtcp2_crypto_quictls` +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -I is $CPP_NGTCP2_CRYPTO_QUICTLS" >&5 +-printf "%s\n" "$as_me: -I is $CPP_NGTCP2_CRYPTO_QUICTLS" >&6;} ++ $PKGCONFIG --cflags-only-I libngtcp2_crypto_boringssl` ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -I is $CPP_NGTCP2_CRYPTO_BORINGSSL" >&5 ++printf "%s\n" "$as_me: -I is $CPP_NGTCP2_CRYPTO_BORINGSSL" >&6;} + +- LD_NGTCP2_CRYPTO_QUICTLS=` ++ LD_NGTCP2_CRYPTO_BORINGSSL=` + if test -n "$want_tcp2_path"; then + PKG_CONFIG_LIBDIR="$want_tcp2_path" + export PKG_CONFIG_LIBDIR + fi + +- $PKGCONFIG --libs-only-L libngtcp2_crypto_quictls` +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -L is $LD_NGTCP2_CRYPTO_QUICTLS" >&5 +-printf "%s\n" "$as_me: -L is $LD_NGTCP2_CRYPTO_QUICTLS" >&6;} ++ $PKGCONFIG --libs-only-L libngtcp2_crypto_boringssl` ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -L is $LD_NGTCP2_CRYPTO_BORINGSSL" >&5 ++printf "%s\n" "$as_me: -L is $LD_NGTCP2_CRYPTO_BORINGSSL" >&6;} + +- LDFLAGS="$LDFLAGS $LD_NGTCP2_CRYPTO_QUICTLS" +- CPPFLAGS="$CPPFLAGS $CPP_NGTCP2_CRYPTO_QUICTLS" +- LIBS="$LIB_NGTCP2_CRYPTO_QUICTLS $LIBS" ++ LDFLAGS="$LDFLAGS $LD_NGTCP2_CRYPTO_BORINGSSL" ++ CPPFLAGS="$CPPFLAGS $CPP_NGTCP2_CRYPTO_BORINGSSL" ++ LIBS="$LIB_NGTCP2_CRYPTO_BORINGSSL $LIBS" + + if test "x$cross_compiling" != "xyes"; then +- DIR_NGTCP2_CRYPTO_QUICTLS=`echo $LD_NGTCP2_CRYPTO_QUICTLS | $SED -e 's/^-L//'` ++ DIR_NGTCP2_CRYPTO_BORINGSSL=`echo $LD_NGTCP2_CRYPTO_BORINGSSL | $SED -e 's/^-L//'` + fi +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ngtcp2_crypto_recv_client_initial_cb in -lngtcp2_crypto_quictls" >&5 +-printf %s "checking for ngtcp2_crypto_recv_client_initial_cb in -lngtcp2_crypto_quictls... " >&6; } +-if test ${ac_cv_lib_ngtcp2_crypto_quictls_ngtcp2_crypto_recv_client_initial_cb+y} ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ngtcp2_crypto_recv_client_initial_cb in -lngtcp2_crypto_boringssl" >&5 ++printf %s "checking for ngtcp2_crypto_recv_client_initial_cb in -lngtcp2_crypto_boringssl... " >&6; } ++if test ${ac_cv_lib_ngtcp2_crypto_boringssl_ngtcp2_crypto_recv_client_initial_cb+y} + then : + printf %s "(cached) " >&6 + else $as_nop + ac_check_lib_save_LIBS=$LIBS +-LIBS="-lngtcp2_crypto_quictls $LIBS" ++LIBS="-lngtcp2_crypto_boringssl $LIBS" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + +@@ -31073,17 +31890,17 @@ return ngtcp2_crypto_recv_client_initial_cb (); + _ACEOF + if ac_fn_c_try_link "$LINENO" + then : +- ac_cv_lib_ngtcp2_crypto_quictls_ngtcp2_crypto_recv_client_initial_cb=yes ++ ac_cv_lib_ngtcp2_crypto_boringssl_ngtcp2_crypto_recv_client_initial_cb=yes + else $as_nop +- ac_cv_lib_ngtcp2_crypto_quictls_ngtcp2_crypto_recv_client_initial_cb=no ++ ac_cv_lib_ngtcp2_crypto_boringssl_ngtcp2_crypto_recv_client_initial_cb=no + fi + rm -f core conftest.err conftest.$ac_objext conftest.beam \ + conftest$ac_exeext conftest.$ac_ext + LIBS=$ac_check_lib_save_LIBS + fi +-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ngtcp2_crypto_quictls_ngtcp2_crypto_recv_client_initial_cb" >&5 +-printf "%s\n" "$ac_cv_lib_ngtcp2_crypto_quictls_ngtcp2_crypto_recv_client_initial_cb" >&6; } +-if test "x$ac_cv_lib_ngtcp2_crypto_quictls_ngtcp2_crypto_recv_client_initial_cb" = xyes ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ngtcp2_crypto_boringssl_ngtcp2_crypto_recv_client_initial_cb" >&5 ++printf "%s\n" "$ac_cv_lib_ngtcp2_crypto_boringssl_ngtcp2_crypto_recv_client_initial_cb" >&6; } ++if test "x$ac_cv_lib_ngtcp2_crypto_boringssl_ngtcp2_crypto_recv_client_initial_cb" = xyes + then : + + for ac_header in ngtcp2/ngtcp2_crypto.h +@@ -31094,14 +31911,14 @@ then : + printf "%s\n" "@%:@define HAVE_NGTCP2_NGTCP2_CRYPTO_H 1" >>confdefs.h + NGTCP2_ENABLED=1 + +-printf "%s\n" "@%:@define USE_NGTCP2_CRYPTO_QUICTLS 1" >>confdefs.h ++printf "%s\n" "@%:@define USE_NGTCP2_CRYPTO_BORINGSSL 1" >>confdefs.h + +- USE_NGTCP2_CRYPTO_QUICTLS=1 ++ USE_NGTCP2_CRYPTO_BORINGSSL=1 + +- CURL_LIBRARY_PATH="$CURL_LIBRARY_PATH:$DIR_NGTCP2_CRYPTO_QUICTLS" ++ CURL_LIBRARY_PATH="$CURL_LIBRARY_PATH:$DIR_NGTCP2_CRYPTO_BORINGSSL" + export CURL_LIBRARY_PATH +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Added $DIR_NGTCP2_CRYPTO_QUICTLS to CURL_LIBRARY_PATH" >&5 +-printf "%s\n" "$as_me: Added $DIR_NGTCP2_CRYPTO_QUICTLS to CURL_LIBRARY_PATH" >&6;} ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Added $DIR_NGTCP2_CRYPTO_BORINGSSL to CURL_LIBRARY_PATH" >&5 ++printf "%s\n" "$as_me: Added $DIR_NGTCP2_CRYPTO_BORINGSSL to CURL_LIBRARY_PATH" >&6;} + + fi + +@@ -31117,7 +31934,7 @@ fi + + else + if test X"$want_tcp2" != Xdefault; then +- as_fn_error $? "--with-ngtcp2 was specified but could not find ngtcp2_crypto_quictls pkg-config file." "$LINENO" 5 ++ as_fn_error $? "--with-ngtcp2 was specified but could not find ngtcp2_crypto_boringssl pkg-config file." "$LINENO" 5 + fi + fi + fi +@@ -31629,11 +32446,52 @@ fi + fi + + ++OPT_OPENSSL_QUIC="no" ++ ++if test "x$disable_http" = "xyes" -o "x$OPENSSL_ENABLED" != "x1"; then ++ # without HTTP or without openssl, no use ++ OPT_OPENSSL_QUIC="no" ++fi ++ ++ ++@%:@ Check whether --with-openssl-quic was given. ++if test ${with_openssl_quic+y} ++then : ++ withval=$with_openssl_quic; OPT_OPENSSL_QUIC=$withval ++fi ++ ++case "$OPT_OPENSSL_QUIC" in ++ no) ++ want_openssl_quic="no" ++ ;; ++ yes) ++ want_openssl_quic="yes" ++ ;; ++esac ++ ++curl_openssl_quic_msg="no (--with-openssl-quic)" ++if test "x$want_openssl_quic" = "xyes"; then ++ ++ if test "$NGTCP2_ENABLED" = 1; then ++ as_fn_error $? "--with-openssl-quic and --with-ngtcp2 are mutually exclusive" "$LINENO" 5 ++ fi ++ if test "$HAVE_OPENSSL_QUIC" != 1; then ++ as_fn_error $? "--with-openssl-quic requires quic support in OpenSSL" "$LINENO" 5 ++ fi ++ ++printf "%s\n" "@%:@define USE_OPENSSL_QUIC 1" >>confdefs.h ++ ++ USE_OPENSSL_QUIC=1 ++ ++fi ++ ++ + OPT_NGHTTP3="yes" + +-if test "x$NGTCP2_ENABLED" = "x"; then +- # without ngtcp2, nghttp3 is of no use for us ++if test "x$USE_NGTCP2" != "x1" -a "x$USE_OPENSSL_QUIC" != "x1"; then ++ # without ngtcp2 or openssl quic, nghttp3 is of no use for us + OPT_NGHTTP3="no" ++ want_nghttp3="no" + fi + + +@@ -31659,6 +32517,7 @@ esac + + curl_http3_msg="no (--with-nghttp3)" + if test X"$want_nghttp3" != Xno; then ++ + CLEANLDFLAGS="$LDFLAGS" + CLEANCPPFLAGS="$CPPFLAGS" + CLEANLIBS="$LIBS" +@@ -31881,9 +32740,7 @@ do : + if test "x$ac_cv_header_nghttp3_nghttp3_h" = xyes + then : + printf "%s\n" "@%:@define HAVE_NGHTTP3_NGHTTP3_H 1" >>confdefs.h +- curl_h3_msg="enabled (ngtcp2 + nghttp3)" +- NGHTTP3_ENABLED=1 +- ++ + printf "%s\n" "@%:@define USE_NGHTTP3 1" >>confdefs.h + + USE_NGHTTP3=1 +@@ -31892,7 +32749,6 @@ printf "%s\n" "@%:@define USE_NGHTTP3 1" >>confdefs.h + export CURL_LIBRARY_PATH + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Added $DIR_NGHTTP3 to CURL_LIBRARY_PATH" >&5 + printf "%s\n" "$as_me: Added $DIR_NGHTTP3 to CURL_LIBRARY_PATH" >&6;} +- experimental="$experimental HTTP3" + + fi + +@@ -31915,6 +32771,31 @@ fi + fi + + ++if test "x$NGTCP2_ENABLED" = "x1" -a "x$USE_NGHTTP3" = "x1"; then ++ ++printf "%s\n" "@%:@define USE_NGTCP2_H3 1" >>confdefs.h ++ ++ USE_NGTCP2_H3=1 ++ ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: HTTP3 support is experimental" >&5 ++printf "%s\n" "$as_me: HTTP3 support is experimental" >&6;} ++ curl_h3_msg="enabled (ngtcp2 + nghttp3)" ++fi ++ ++ ++if test "x$USE_OPENSSL_QUIC" = "x1" -a "x$USE_NGHTTP3" = "x1"; then ++ experimental="$experimental HTTP3" ++ ++printf "%s\n" "@%:@define USE_OPENSSL_H3 1" >>confdefs.h ++ ++ USE_OPENSSL_H3=1 ++ ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: HTTP3 support is experimental" >&5 ++printf "%s\n" "$as_me: HTTP3 support is experimental" >&6;} ++ curl_h3_msg="enabled (openssl + nghttp3)" ++fi ++ ++ + OPT_QUICHE="no" + + if test "x$disable_http" = "xyes" -o "x$USE_NGTCP" = "x1"; then +@@ -31945,6 +32826,10 @@ esac + + if test X"$want_quiche" != Xno; then + ++ if test "$QUIC_ENABLED" != "yes"; then ++ as_fn_error $? "the detected TLS library does not support QUIC, making --with-quiche a no-no" "$LINENO" 5 ++ fi ++ + if test "$NGHTTP3_ENABLED" = 1; then + as_fn_error $? "--with-quiche and --with-ngtcp2 are mutually exclusive" "$LINENO" 5 + fi +@@ -32244,9 +33129,21 @@ esac + + if test X"$want_msh3" != Xno; then + ++ if test "$curl_cv_native_windows" != "yes"; then ++ if test "$QUIC_ENABLED" != "yes"; then ++ as_fn_error $? "the detected TLS library does not support QUIC, making --with-msh3 a no-no" "$LINENO" 5 ++ fi ++ if test "$OPENSSL_ENABLED" != "1"; then ++ as_fn_error $? "msh3 requires OpenSSL" "$LINENO" 5 ++ fi ++ fi ++ + if test "$NGHTTP3_ENABLED" = 1; then + as_fn_error $? "--with-msh3 and --with-ngtcp2 are mutually exclusive" "$LINENO" 5 + fi ++ if test "$QUICHE_ENABLED" = 1; then ++ as_fn_error $? "--with-msh3 and --with-quiche are mutually exclusive" "$LINENO" 5 ++ fi + + CLEANLDFLAGS="$LDFLAGS" + CLEANCPPFLAGS="$CPPFLAGS" +@@ -32342,9 +33239,9 @@ then : + fi + + case "$OPT_ZSH_FPATH" in +- no) ++ default|no) + ;; +- default|yes) ++ yes) + ZSH_FUNCTIONS_DIR="$datarootdir/zsh/site-functions" + + ;; +@@ -32353,6 +33250,14 @@ case "$OPT_ZSH_FPATH" in + + ;; + esac ++ if test x"$ZSH_FUNCTIONS_DIR" != x; then ++ USE_ZSH_COMPLETION_TRUE= ++ USE_ZSH_COMPLETION_FALSE='#' ++else ++ USE_ZSH_COMPLETION_TRUE='#' ++ USE_ZSH_COMPLETION_FALSE= ++fi ++ + + + OPT_FISH_FPATH=default +@@ -32364,9 +33269,9 @@ then : + fi + + case "$OPT_FISH_FPATH" in +- no) ++ default|no) + ;; +- default|yes) ++ yes) + + if test -n "$PKG_CONFIG"; then + PKGCONFIG="$PKG_CONFIG" +@@ -32515,6 +33420,14 @@ printf "%s\n" "found" >&6; } + + ;; + esac ++ if test x"$FISH_FUNCTIONS_DIR" != x; then ++ USE_FISH_COMPLETION_TRUE= ++ USE_FISH_COMPLETION_FALSE='#' ++else ++ USE_FISH_COMPLETION_TRUE='#' ++ USE_FISH_COMPLETION_FALSE= ++fi ++ + + ac_fn_c_check_header_compile "$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" " + #ifdef HAVE_SYS_TYPES_H +@@ -33753,114 +34666,6 @@ printf "%s\n" "@%:@define const /**/" >>confdefs.h + + fi + +- +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for compiler support of C99 variadic macro style" >&5 +-printf %s "checking for compiler support of C99 variadic macro style... " >&6; } +-if test ${curl_cv_variadic_macros_c99+y} +-then : +- printf %s "(cached) " >&6 +-else $as_nop +- +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext +-/* end confdefs.h. */ +- +- +-#define c99_vmacro3(first, ...) fun3(first, __VA_ARGS__) +-#define c99_vmacro2(first, ...) fun2(first, __VA_ARGS__) +- int fun3(int arg1, int arg2, int arg3); +- int fun2(int arg1, int arg2); +- int fun3(int arg1, int arg2, int arg3) +- { return arg1 + arg2 + arg3; } +- int fun2(int arg1, int arg2) +- { return arg1 + arg2; } +- +-int main (void) +-{ +- +- int res3 = c99_vmacro3(1, 2, 3); +- int res2 = c99_vmacro2(1, 2); +- +- ; +- return 0; +-} +- +-_ACEOF +-if ac_fn_c_try_compile "$LINENO" +-then : +- +- curl_cv_variadic_macros_c99="yes" +- +-else $as_nop +- +- curl_cv_variadic_macros_c99="no" +- +-fi +-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +- +-fi +-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_variadic_macros_c99" >&5 +-printf "%s\n" "$curl_cv_variadic_macros_c99" >&6; } +- case "$curl_cv_variadic_macros_c99" in +- yes) +- +-printf "%s\n" "@%:@define HAVE_VARIADIC_MACROS_C99 1" >>confdefs.h +- +- ;; +- esac +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for compiler support of old gcc variadic macro style" >&5 +-printf %s "checking for compiler support of old gcc variadic macro style... " >&6; } +-if test ${curl_cv_variadic_macros_gcc+y} +-then : +- printf %s "(cached) " >&6 +-else $as_nop +- +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext +-/* end confdefs.h. */ +- +- +-#define gcc_vmacro3(first, args...) fun3(first, args) +-#define gcc_vmacro2(first, args...) fun2(first, args) +- int fun3(int arg1, int arg2, int arg3); +- int fun2(int arg1, int arg2); +- int fun3(int arg1, int arg2, int arg3) +- { return arg1 + arg2 + arg3; } +- int fun2(int arg1, int arg2) +- { return arg1 + arg2; } +- +-int main (void) +-{ +- +- int res3 = gcc_vmacro3(1, 2, 3); +- int res2 = gcc_vmacro2(1, 2); +- +- ; +- return 0; +-} +- +-_ACEOF +-if ac_fn_c_try_compile "$LINENO" +-then : +- +- curl_cv_variadic_macros_gcc="yes" +- +-else $as_nop +- +- curl_cv_variadic_macros_gcc="no" +- +-fi +-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +- +-fi +-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_variadic_macros_gcc" >&5 +-printf "%s\n" "$curl_cv_variadic_macros_gcc" >&6; } +- case "$curl_cv_variadic_macros_gcc" in +- yes) +- +-printf "%s\n" "@%:@define HAVE_VARIADIC_MACROS_GCC 1" >>confdefs.h +- +- ;; +- esac +- + ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" + if test "x$ac_cv_type_size_t" = xyes + then : +@@ -33904,15 +34709,12 @@ else $as_nop + + + #undef inline +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + #ifndef WIN32_LEAN_AND_MEAN + #define WIN32_LEAN_AND_MEAN + #endif +-#include +-#ifdef HAVE_WINSOCK2_H + #include + #endif +-#endif + #ifdef HAVE_SYS_TYPES_H + #include + #endif +@@ -34459,6 +35261,12 @@ else $as_nop + + # The windows name? + ac_fn_c_check_type "$LINENO" "ADDRESS_FAMILY" "ac_cv_type_ADDRESS_FAMILY" " ++#ifdef _WIN32 ++#ifndef WIN32_LEAN_AND_MEAN ++#define WIN32_LEAN_AND_MEAN ++#endif ++#include ++#endif + #ifdef HAVE_SYS_SOCKET_H + #include + #endif +@@ -34586,100 +35394,13 @@ fi + + + +-curl_includes_poll="\ +-/* includes start */ +-#ifdef HAVE_SYS_TYPES_H +-# include +-#endif +-#ifdef HAVE_POLL_H +-# include +-#endif +-#ifdef HAVE_SYS_POLL_H +-# include +-#endif +-/* includes end */" +- ac_fn_c_check_header_compile "$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "$curl_includes_poll +-" +-if test "x$ac_cv_header_sys_types_h" = xyes +-then : +- printf "%s\n" "@%:@define HAVE_SYS_TYPES_H 1" >>confdefs.h +- +-fi +-ac_fn_c_check_header_compile "$LINENO" "poll.h" "ac_cv_header_poll_h" "$curl_includes_poll +-" +-if test "x$ac_cv_header_poll_h" = xyes +-then : +- printf "%s\n" "@%:@define HAVE_POLL_H 1" >>confdefs.h +- +-fi +-ac_fn_c_check_header_compile "$LINENO" "sys/poll.h" "ac_cv_header_sys_poll_h" "$curl_includes_poll +-" +-if test "x$ac_cv_header_sys_poll_h" = xyes +-then : +- printf "%s\n" "@%:@define HAVE_SYS_POLL_H 1" >>confdefs.h +- +-fi +- +- +- +- # +- tst_poll_events_macro_defined="unknown" +- # +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext +-/* end confdefs.h. */ +- +- +- $curl_includes_poll +- +-int main (void) +-{ +- +-#if defined(events) || defined(revents) +- return 0; +-#else +- force compilation error +-#endif +- +- ; +- return 0; +-} +- +-_ACEOF +-if ac_fn_c_try_compile "$LINENO" +-then : +- +- tst_poll_events_macro_defined="yes" +- +-else $as_nop +- +- tst_poll_events_macro_defined="no" +- +-fi +-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +- # +- if test "$tst_poll_events_macro_defined" = "yes"; then +- if test "x$ac_cv_header_sys_poll_h" = "xyes"; then +- +-cat >>confdefs.h <<_EOF +-@%:@define CURL_PULL_SYS_POLL_H 1 +-_EOF +- +- fi +- fi +- # +- +- +- + ac_fn_c_check_type "$LINENO" "in_addr_t" "ac_cv_type_in_addr_t" " + #undef inline +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + #ifndef WIN32_LEAN_AND_MEAN + #define WIN32_LEAN_AND_MEAN + #endif +-#include +-#ifdef HAVE_WINSOCK2_H + #include +-#endif + #else + #ifdef HAVE_SYS_TYPES_H + #include +@@ -34716,14 +35437,11 @@ else $as_nop + + + #undef inline +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + #ifndef WIN32_LEAN_AND_MEAN + #define WIN32_LEAN_AND_MEAN + #endif +-#include +-#ifdef HAVE_WINSOCK2_H + #include +-#endif + #else + #ifdef HAVE_SYS_TYPES_H + #include +@@ -34781,14 +35499,11 @@ fi + + ac_fn_c_check_type "$LINENO" "struct sockaddr_storage" "ac_cv_type_struct_sockaddr_storage" " + #undef inline +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + #ifndef WIN32_LEAN_AND_MEAN + #define WIN32_LEAN_AND_MEAN + #endif +-#include +-#ifdef HAVE_WINSOCK2_H + #include +-#endif + #else + #ifdef HAVE_SYS_TYPES_H + #include +@@ -34836,15 +35551,12 @@ printf %s "checking for select... " >&6; } + + + #undef inline +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + #ifndef WIN32_LEAN_AND_MEAN + #define WIN32_LEAN_AND_MEAN + #endif +-#include +-#ifdef HAVE_WINSOCK2_H + #include + #endif +-#endif + #ifdef HAVE_SYS_TYPES_H + #include + #endif +@@ -34852,7 +35564,7 @@ printf %s "checking for select... " >&6; } + #include + #endif + #include +-#ifndef HAVE_WINDOWS_H ++#ifndef _WIN32 + #ifdef HAVE_SYS_SELECT_H + #include + #elif defined(HAVE_UNISTD_H) +@@ -34921,14 +35633,11 @@ printf %s "checking for recv... " >&6; } + + + #undef inline +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + #ifndef WIN32_LEAN_AND_MEAN + #define WIN32_LEAN_AND_MEAN + #endif +-#include +-#ifdef HAVE_WINSOCK2_H + #include +-#endif + #else + $curl_includes_bsdsocket + #ifdef HAVE_SYS_TYPES_H +@@ -34997,14 +35706,11 @@ printf %s "checking for send... " >&6; } + + + #undef inline +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + #ifndef WIN32_LEAN_AND_MEAN + #define WIN32_LEAN_AND_MEAN + #endif +-#include +-#ifdef HAVE_WINSOCK2_H + #include +-#endif + #else + $curl_includes_bsdsocket + #ifdef HAVE_SYS_TYPES_H +@@ -35077,14 +35783,11 @@ else $as_nop + + + #undef inline +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + #ifndef WIN32_LEAN_AND_MEAN + #define WIN32_LEAN_AND_MEAN + #endif +-#include +-#ifdef HAVE_WINSOCK2_H + #include +-#endif + #else + #ifdef HAVE_SYS_TYPES_H + #include +@@ -36117,78 +36820,18 @@ printf "%s\n" "no" >&6; } + + curl_includes_ws2tcpip="\ + /* includes start */ +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + # ifndef WIN32_LEAN_AND_MEAN + # define WIN32_LEAN_AND_MEAN + # endif +-# include +-# ifdef HAVE_WINSOCK2_H +-# include +-# ifdef HAVE_WS2TCPIP_H +-# include +-# endif +-# endif ++# include ++# include + #endif + /* includes end */" + +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for windows.h" >&5 +-printf %s "checking for windows.h... " >&6; } +-if test ${curl_cv_header_windows_h+y} +-then : +- printf %s "(cached) " >&6 +-else $as_nop +- +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext +-/* end confdefs.h. */ +- +- +-#undef inline +-#ifndef WIN32_LEAN_AND_MEAN +-#define WIN32_LEAN_AND_MEAN +-#endif +-#include +- +-int main (void) +-{ +- +-#if defined(__CYGWIN__) || defined(__CEGCC__) +- HAVE_WINDOWS_H shall not be defined. +-#else +- int dummy=2*WINVER; +-#endif +- +- ; +- return 0; +-} +- +-_ACEOF +-if ac_fn_c_try_compile "$LINENO" +-then : +- +- curl_cv_header_windows_h="yes" +- +-else $as_nop +- +- curl_cv_header_windows_h="no" +- +-fi +-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +- +-fi +-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_header_windows_h" >&5 +-printf "%s\n" "$curl_cv_header_windows_h" >&6; } +- case "$curl_cv_header_windows_h" in +- yes) +- +-printf "%s\n" "@%:@define HAVE_WINDOWS_H 1" >>confdefs.h +- +- ;; +- esac +- +- +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for winsock2.h" >&5 +-printf %s "checking for winsock2.h... " >&6; } +-if test ${curl_cv_header_winsock2_h+y} ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build target is a native Windows one" >&5 ++printf %s "checking whether build target is a native Windows one... " >&6; } ++if test ${curl_cv_native_windows+y} + then : + printf %s "(cached) " >&6 + else $as_nop +@@ -36197,20 +36840,14 @@ else $as_nop + /* end confdefs.h. */ + + +-#undef inline +-#ifndef WIN32_LEAN_AND_MEAN +-#define WIN32_LEAN_AND_MEAN +-#endif +-#include +-#include + + int main (void) + { + +-#if defined(__CYGWIN__) || defined(__CEGCC__) || defined(__MINGW32CE__) +- HAVE_WINSOCK2_H shall not be defined. ++#ifdef _WIN32 ++ int dummy=1; + #else +- int dummy=2*IPPROTO_ESP; ++ Not a native Windows build target. + #endif + + ; +@@ -36221,82 +36858,26 @@ _ACEOF + if ac_fn_c_try_compile "$LINENO" + then : + +- curl_cv_header_winsock2_h="yes" ++ curl_cv_native_windows="yes" + + else $as_nop + +- curl_cv_header_winsock2_h="no" ++ curl_cv_native_windows="no" + + fi + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + + fi +-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_header_winsock2_h" >&5 +-printf "%s\n" "$curl_cv_header_winsock2_h" >&6; } +- case "$curl_cv_header_winsock2_h" in +- yes) +- +-printf "%s\n" "@%:@define HAVE_WINSOCK2_H 1" >>confdefs.h +- +- ;; +- esac +- +- +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ws2tcpip.h" >&5 +-printf %s "checking for ws2tcpip.h... " >&6; } +-if test ${curl_cv_header_ws2tcpip_h+y} +-then : +- printf %s "(cached) " >&6 +-else $as_nop +- +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext +-/* end confdefs.h. */ +- +- +-#undef inline +-#ifndef WIN32_LEAN_AND_MEAN +-#define WIN32_LEAN_AND_MEAN +-#endif +-#include +-#include +-#include +- +-int main (void) +-{ +- +-#if defined(__CYGWIN__) || defined(__CEGCC__) || defined(__MINGW32CE__) +- HAVE_WS2TCPIP_H shall not be defined. +-#else +- int dummy=2*IP_PKTINFO; +-#endif +- +- ; +- return 0; +-} +- +-_ACEOF +-if ac_fn_c_try_compile "$LINENO" +-then : +- +- curl_cv_header_ws2tcpip_h="yes" +- +-else $as_nop +- +- curl_cv_header_ws2tcpip_h="no" +- +-fi +-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +- ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_native_windows" >&5 ++printf "%s\n" "$curl_cv_native_windows" >&6; } ++ if test "x$curl_cv_native_windows" = xyes; then ++ DOING_NATIVE_WINDOWS_TRUE= ++ DOING_NATIVE_WINDOWS_FALSE='#' ++else ++ DOING_NATIVE_WINDOWS_TRUE='#' ++ DOING_NATIVE_WINDOWS_FALSE= + fi +-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_header_ws2tcpip_h" >&5 +-printf "%s\n" "$curl_cv_header_ws2tcpip_h" >&6; } +- case "$curl_cv_header_ws2tcpip_h" in +- yes) +- +-printf "%s\n" "@%:@define HAVE_WS2TCPIP_H 1" >>confdefs.h + +- ;; +- esac + + + +@@ -37020,10 +37601,10 @@ int main (void) + struct addrinfo *ai = 0; + int error; + +- #ifdef HAVE_WINSOCK2_H ++ #ifdef _WIN32 + WSADATA wsa; +- if (WSAStartup(MAKEWORD(2,2), &wsa)) +- exit(2); ++ if(WSAStartup(MAKEWORD(2, 2), &wsa)) ++ exit(2); + #endif + + memset(&hints, 0, sizeof(hints)); +@@ -37088,10 +37669,10 @@ int main (void) + struct addrinfo *ai = 0; + int error; + +- #ifdef HAVE_WINSOCK2_H ++ #ifdef _WIN32 + WSADATA wsa; +- if (WSAStartup(MAKEWORD(2,2), &wsa)) +- exit(2); ++ if(WSAStartup(MAKEWORD(2, 2), &wsa)) ++ exit(2); + #endif + + memset(&hints, 0, sizeof(hints)); +@@ -37746,7 +38327,7 @@ printf "%s\n" "no" >&6; } + + curl_preprocess_callconv="\ + /* preprocess start */ +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + # define FUNCALLCONV __stdcall + #else + # define FUNCALLCONV +@@ -39022,7 +39603,7 @@ curl_includes_arpa_inet="\ + #ifdef HAVE_ARPA_INET_H + # include + #endif +-#ifdef HAVE_WINSOCK2_H ++#ifdef _WIN32 + #include + #include + #endif +@@ -40716,6 +41297,42 @@ printf "%s\n" "no" >&6; } + fi + + ++curl_includes_poll="\ ++/* includes start */ ++#ifdef HAVE_SYS_TYPES_H ++# include ++#endif ++#ifdef HAVE_POLL_H ++# include ++#endif ++#ifdef HAVE_SYS_POLL_H ++# include ++#endif ++/* includes end */" ++ ac_fn_c_check_header_compile "$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "$curl_includes_poll ++" ++if test "x$ac_cv_header_sys_types_h" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_SYS_TYPES_H 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_header_compile "$LINENO" "poll.h" "ac_cv_header_poll_h" "$curl_includes_poll ++" ++if test "x$ac_cv_header_poll_h" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_POLL_H 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_header_compile "$LINENO" "sys/poll.h" "ac_cv_header_sys_poll_h" "$curl_includes_poll ++" ++if test "x$ac_cv_header_sys_poll_h" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_SYS_POLL_H 1" >>confdefs.h ++ ++fi ++ ++ ++ + # + tst_links_poll="unknown" + tst_proto_poll="unknown" +@@ -43520,8 +44137,7 @@ fi + + + +- +- for ac_func in _fseeki64 arc4random fchmod fnmatch fseeko geteuid getpass_r getppid getpwuid getpwuid_r getrlimit gettimeofday if_nametoindex mach_absolute_time pipe sched_yield sendmsg setlocale setmode setrlimit snprintf utime utimes ++ for ac_func in _fseeki64 arc4random fnmatch fseeko geteuid getpass_r getppid getpwuid getpwuid_r getrlimit gettimeofday if_nametoindex mach_absolute_time pipe sched_yield sendmsg setlocale setmode setrlimit snprintf utime utimes + do : + as_ac_var=`printf "%s\n" "ac_cv_func_$ac_func" | $as_tr_sh` + ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +@@ -43580,6 +44196,15 @@ fi + + done + ++ac_fn_check_decl "$LINENO" "fseeko" "ac_cv_have_decl_fseeko" "#include ++" "$ac_c_undeclared_builtin_options" "CFLAGS" ++if test "x$ac_cv_have_decl_fseeko" = xyes ++then : ++ ++printf "%s\n" "@%:@define HAVE_DECL_FSEEKO 1" >>confdefs.h ++ ++fi ++ + + # + tst_method="unknown" +@@ -43605,7 +44230,6 @@ printf "%s\n" "$as_me: WARNING: cannot determine non-blocking socket method." >& + fi + + +- + # Extract the first word of "perl", so it can be a program name with args. + set dummy perl; ac_word=$2 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +@@ -43654,91 +44278,21 @@ fi + + + +-for ac_prog in gnroff nroff +-do +- # Extract the first word of "$ac_prog", so it can be a program name with args. +-set dummy $ac_prog; ac_word=$2 +-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +-printf %s "checking for $ac_word... " >&6; } +-if test ${ac_cv_path_NROFF+y} +-then : +- printf %s "(cached) " >&6 +-else $as_nop +- case $NROFF in +- [\\/]* | ?:[\\/]*) +- ac_cv_path_NROFF="$NROFF" # Let the user override the test with a path. +- ;; +- *) +- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +-as_dummy="$PATH:/usr/bin/:/usr/local/bin " +-for as_dir in $as_dummy +-do +- IFS=$as_save_IFS +- case $as_dir in #((( +- '') as_dir=./ ;; +- */) ;; +- *) as_dir=$as_dir/ ;; +- esac +- for ac_exec_ext in '' $ac_executable_extensions; do +- if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then +- ac_cv_path_NROFF="$as_dir$ac_word$ac_exec_ext" +- printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 +- break 2 +- fi +-done +- done +-IFS=$as_save_IFS +- +- ;; +-esac ++if test -z "$PERL"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: disabling documentation" >&5 ++printf "%s\n" "$as_me: WARNING: disabling documentation" >&2;} ++ BUILD_DOCS=0 ++ curl_docs_msg="no" + fi +-NROFF=$ac_cv_path_NROFF +-if test -n "$NROFF"; then +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NROFF" >&5 +-printf "%s\n" "$NROFF" >&6; } +-else +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-printf "%s\n" "no" >&6; } +-fi +- +- +- test -n "$NROFF" && break +-done +- + +- +-if test -n "$NROFF"; then +- +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to use *nroff to get plain text from man pages" >&5 +-printf %s "checking how to use *nroff to get plain text from man pages... " >&6; } +- MANOPT="-man" +- mancheck=`echo foo | $NROFF $MANOPT 2>/dev/null` +- if test -z "$mancheck"; then +- MANOPT="-mandoc" +- mancheck=`echo foo | $NROFF $MANOPT 2>/dev/null` +- if test -z "$mancheck"; then +- MANOPT="" +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5 +-printf "%s\n" "failed" >&6; } +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: found no *nroff option to get plaintext from man pages" >&5 +-printf "%s\n" "$as_me: WARNING: found no *nroff option to get plaintext from man pages" >&2;} +- else +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANOPT" >&5 +-printf "%s\n" "$MANOPT" >&6; } +- fi +- else +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANOPT" >&5 +-printf "%s\n" "$MANOPT" >&6; } +- fi +- ++ if test x"$BUILD_DOCS" = x1; then ++ BUILD_DOCS_TRUE= ++ BUILD_DOCS_FALSE='#' ++else ++ BUILD_DOCS_TRUE='#' ++ BUILD_DOCS_FALSE= + fi + +-if test -z "$MANOPT" +-then +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: disabling built-in manual" >&5 +-printf "%s\n" "$as_me: WARNING: disabling built-in manual" >&2;} +- USE_MANUAL="no"; +-fi + + + if test "$USE_MANUAL" = "1"; then +@@ -45399,12 +45953,15 @@ if test "x$USE_TLS_SRP" = "x1"; then + SUPPORT_FEATURES="$SUPPORT_FEATURES TLS-SRP" + fi + +-if test "x$USE_NGHTTP2" = "x1" -o "x$USE_HYPER" = "x1"; then ++if test "x$USE_NGHTTP2" = "x1"; then + SUPPORT_FEATURES="$SUPPORT_FEATURES HTTP2" + fi + +-if test "x$USE_NGTCP2" = "x1" -o "x$USE_QUICHE" = "x1" \ +- -o "x$USE_MSH3" = "x1"; then ++if test "x$USE_NGTCP2_H3" = "x1" -o "x$USE_QUICHE" = "x1" \ ++ -o "x$USE_OPENSSL_H3" = "x1" -o "x$USE_MSH3" = "x1"; then ++ if test "x$CURL_WITH_MULTI_SSL" = "x1"; then ++ as_fn_error $? "MultiSSL cannot be enabled with HTTP/3 and vice versa" "$LINENO" 5 ++ fi + SUPPORT_FEATURES="$SUPPORT_FEATURES HTTP3" + fi + +@@ -45412,19 +45969,36 @@ if test "x$CURL_WITH_MULTI_SSL" = "x1"; then + SUPPORT_FEATURES="$SUPPORT_FEATURES MultiSSL" + fi + +-if test "x$https_proxy" != "xno"; then +- if test "x$OPENSSL_ENABLED" = "x1" \ +- -o "x$GNUTLS_ENABLED" = "x1" \ +- -o "x$SECURETRANSPORT_ENABLED" = "x1" \ +- -o "x$RUSTLS_ENABLED" = "x1" \ +- -o "x$BEARSSL_ENABLED" = "x1" \ +- -o "x$SCHANNEL_ENABLED" = "x1" \ +- -o "x$GNUTLS_ENABLED" = "x1" \ +- -o "x$MBEDTLS_ENABLED" = "x1"; then +- SUPPORT_FEATURES="$SUPPORT_FEATURES HTTPS-proxy" +- elif test "x$WOLFSSL_ENABLED" = "x1" -a "x$WOLFSSL_FULL_BIO" = "x1"; then +- SUPPORT_FEATURES="$SUPPORT_FEATURES HTTPS-proxy" ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if this build supports HTTPS-proxy" >&5 ++printf %s "checking if this build supports HTTPS-proxy... " >&6; } ++if test "x$CURL_DISABLE_HTTP" != "x1"; then ++ if test "x$https_proxy" != "xno"; then ++ if test "x$OPENSSL_ENABLED" = "x1" \ ++ -o "x$GNUTLS_ENABLED" = "x1" \ ++ -o "x$SECURETRANSPORT_ENABLED" = "x1" \ ++ -o "x$RUSTLS_ENABLED" = "x1" \ ++ -o "x$BEARSSL_ENABLED" = "x1" \ ++ -o "x$SCHANNEL_ENABLED" = "x1" \ ++ -o "x$GNUTLS_ENABLED" = "x1" \ ++ -o "x$MBEDTLS_ENABLED" = "x1"; then ++ SUPPORT_FEATURES="$SUPPORT_FEATURES HTTPS-proxy" ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++ elif test "x$WOLFSSL_ENABLED" = "x1" -a "x$WOLFSSL_FULL_BIO" = "x1"; then ++ SUPPORT_FEATURES="$SUPPORT_FEATURES HTTPS-proxy" ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++ else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++ fi ++ else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + fi ++else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + fi + + if test "x$ECH_ENABLED" = "x1"; then +@@ -45440,6 +46014,9 @@ fi + + if test "$tst_atomic" = "yes"; then + SUPPORT_FEATURES="$SUPPORT_FEATURES threadsafe" ++elif test "x$USE_THREADS_POSIX" = "x1" -a \ ++ "x$ac_cv_header_pthread_h" = "xyes"; then ++ SUPPORT_FEATURES="$SUPPORT_FEATURES threadsafe" + else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ +@@ -45472,7 +46049,7 @@ SUPPORT_FEATURES=`echo $SUPPORT_FEATURES | tr ' ' '\012' | sort | tr '\012' ' '` + + + if test "x$CURL_DISABLE_HTTP" != "x1"; then +- SUPPORT_PROTOCOLS="$SUPPORT_PROTOCOLS HTTP" ++ SUPPORT_PROTOCOLS="$SUPPORT_PROTOCOLS HTTP IPFS IPNS" + if test "x$SSL_ENABLED" = "x1"; then + SUPPORT_PROTOCOLS="$SUPPORT_PROTOCOLS HTTPS" + fi +@@ -45909,6 +46486,10 @@ if test -z "${USE_EXPLICIT_LIB_DEPS_TRUE}" && test -z "${USE_EXPLICIT_LIB_DEPS_F + as_fn_error $? "conditional \"USE_EXPLICIT_LIB_DEPS\" was never defined. + Usually this means the macro was only invoked conditionally." "$LINENO" 5 + fi ++if test -z "${DOING_NATIVE_WINDOWS_TRUE}" && test -z "${DOING_NATIVE_WINDOWS_FALSE}"; then ++ as_fn_error $? "conditional \"DOING_NATIVE_WINDOWS\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi + if test -z "${CURLDEBUG_TRUE}" && test -z "${CURLDEBUG_FALSE}"; then + as_fn_error $? "conditional \"CURLDEBUG\" was never defined. + Usually this means the macro was only invoked conditionally." "$LINENO" 5 +@@ -45917,14 +46498,14 @@ if test -z "${BUILD_UNITTESTS_TRUE}" && test -z "${BUILD_UNITTESTS_FALSE}"; then + as_fn_error $? "conditional \"BUILD_UNITTESTS\" was never defined. + Usually this means the macro was only invoked conditionally." "$LINENO" 5 + fi +-if test -z "${DOING_NATIVE_WINDOWS_TRUE}" && test -z "${DOING_NATIVE_WINDOWS_FALSE}"; then +- as_fn_error $? "conditional \"DOING_NATIVE_WINDOWS\" was never defined. +-Usually this means the macro was only invoked conditionally." "$LINENO" 5 +-fi + if test -z "${HAVE_WINDRES_TRUE}" && test -z "${HAVE_WINDRES_FALSE}"; then + as_fn_error $? "conditional \"HAVE_WINDRES\" was never defined. + Usually this means the macro was only invoked conditionally." "$LINENO" 5 + fi ++if test -z "${DOING_NATIVE_WINDOWS_TRUE}" && test -z "${DOING_NATIVE_WINDOWS_FALSE}"; then ++ as_fn_error $? "conditional \"DOING_NATIVE_WINDOWS\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi + if test -z "${HAVE_LIBZ_TRUE}" && test -z "${HAVE_LIBZ_FALSE}"; then + as_fn_error $? "conditional \"HAVE_LIBZ\" was never defined. + Usually this means the macro was only invoked conditionally." "$LINENO" 5 +@@ -45945,6 +46526,22 @@ if test -z "${CURL_LT_SHLIB_USE_VERSIONED_SYMBOLS_TRUE}" && test -z "${CURL_LT_S + as_fn_error $? "conditional \"CURL_LT_SHLIB_USE_VERSIONED_SYMBOLS\" was never defined. + Usually this means the macro was only invoked conditionally." "$LINENO" 5 + fi ++if test -z "${USE_ZSH_COMPLETION_TRUE}" && test -z "${USE_ZSH_COMPLETION_FALSE}"; then ++ as_fn_error $? "conditional \"USE_ZSH_COMPLETION\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++if test -z "${USE_FISH_COMPLETION_TRUE}" && test -z "${USE_FISH_COMPLETION_FALSE}"; then ++ as_fn_error $? "conditional \"USE_FISH_COMPLETION\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++if test -z "${DOING_NATIVE_WINDOWS_TRUE}" && test -z "${DOING_NATIVE_WINDOWS_FALSE}"; then ++ as_fn_error $? "conditional \"DOING_NATIVE_WINDOWS\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++if test -z "${BUILD_DOCS_TRUE}" && test -z "${BUILD_DOCS_FALSE}"; then ++ as_fn_error $? "conditional \"BUILD_DOCS\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi + if test -z "${USE_MANUAL_TRUE}" && test -z "${USE_MANUAL_FALSE}"; then + as_fn_error $? "conditional \"USE_MANUAL\" was never defined. + Usually this means the macro was only invoked conditionally." "$LINENO" 5 +@@ -48409,6 +49006,7 @@ _EOF + IPv6: ${curl_ipv6_msg} + Unix sockets: ${curl_unix_sockets_msg} + IDN: ${curl_idn_msg} ++ Build docs: ${curl_docs_msg} + Build libcurl: Shared=${enable_shared}, Static=${enable_static} + Built-in manual: ${curl_manual_msg} + --libcurl option: ${curl_libcurl_msg} +@@ -48457,6 +49055,7 @@ printf "%s\n" "$as_me: Configured to build curl/libcurl: + IPv6: ${curl_ipv6_msg} + Unix sockets: ${curl_unix_sockets_msg} + IDN: ${curl_idn_msg} ++ Build docs: ${curl_docs_msg} + Build libcurl: Shared=${enable_shared}, Static=${enable_static} + Built-in manual: ${curl_manual_msg} + --libcurl option: ${curl_libcurl_msg} +@@ -48482,6 +49081,14 @@ printf "%s\n" "$as_me: Configured to build curl/libcurl: + Protocols: ${SUPPORT_PROTOCOLS} + Features: ${SUPPORT_FEATURES} + " >&6;} ++ ++non13=`echo "$TLSCHOICE" | grep -Ei 'bearssl|secure-transport|mbedtls'`; ++if test -n "$non13"; then ++ cat >&2 << _EOF ++ WARNING: A selected TLS library ($TLSCHOICE) does not support TLS 1.3! ++_EOF ++fi ++ + if test -n "$experimental"; then + cat >&2 << _EOF + WARNING: $experimental enabled but marked EXPERIMENTAL. Use with caution! +diff --git a/autom4te.cache/output.1 b/autom4te.cache/output.1 +index 3516c7a..8b33c64 100644 +--- a/autom4te.cache/output.1 ++++ b/autom4te.cache/output.1 +@@ -923,16 +923,24 @@ BUILD_LIBHOSTNAME_TRUE + USE_ARES + USE_MANUAL_FALSE + USE_MANUAL_TRUE +-MANOPT +-NROFF ++BUILD_DOCS_FALSE ++BUILD_DOCS_TRUE + PERL ++USE_FISH_COMPLETION_FALSE ++USE_FISH_COMPLETION_TRUE + FISH_FUNCTIONS_DIR ++USE_ZSH_COMPLETION_FALSE ++USE_ZSH_COMPLETION_TRUE + ZSH_FUNCTIONS_DIR + USE_MSH3 + USE_QUICHE ++USE_OPENSSL_H3 ++USE_NGTCP2_H3 + USE_NGHTTP3 ++USE_OPENSSL_QUIC + USE_NGTCP2_CRYPTO_WOLFSSL + USE_NGTCP2_CRYPTO_GNUTLS ++USE_NGTCP2_CRYPTO_BORINGSSL + USE_NGTCP2_CRYPTO_QUICTLS + USE_NGTCP2 + USE_NGHTTP2 +@@ -949,6 +957,7 @@ USE_GSASL_FALSE + USE_GSASL_TRUE + USE_LIBPSL_FALSE + USE_LIBPSL_TRUE ++USE_LIBPSL + CURL_CA_BUNDLE + CURL_WITH_MULTI_SSL + SSL_ENABLED +@@ -958,6 +967,7 @@ USE_WOLFSSL + USE_MBEDTLS + HAVE_GNUTLS_SRP + USE_GNUTLS ++HAVE_OPENSSL_QUIC + HAVE_OPENSSL_SRP + RANDOM_FILE + SSL_LIBS +@@ -1000,13 +1010,13 @@ HAVE_WINDRES_TRUE + USE_WIN32_CRYPTO + USE_WIN32_SMALL_FILES + USE_WIN32_LARGE_FILES +-DOING_NATIVE_WINDOWS_FALSE +-DOING_NATIVE_WINDOWS_TRUE + BUILD_UNITTESTS_FALSE + BUILD_UNITTESTS_TRUE + CURLDEBUG_FALSE + CURLDEBUG_TRUE + CURL_CFLAG_EXTRAS ++DOING_NATIVE_WINDOWS_FALSE ++DOING_NATIVE_WINDOWS_TRUE + USE_EXPLICIT_LIB_DEPS_FALSE + USE_EXPLICIT_LIB_DEPS_TRUE + REQUIRE_LIB_DEPS +@@ -1214,6 +1224,7 @@ enable_smb + enable_smtp + enable_gopher + enable_mqtt ++enable_docs + enable_manual + enable_libcurl_option + enable_libgcc +@@ -1244,6 +1255,7 @@ with_winidn + with_libidn2 + with_nghttp2 + with_ngtcp2 ++with_openssl_quic + with_nghttp3 + with_quiche + with_msh3 +@@ -1982,6 +1994,8 @@ Optional Features: + --disable-gopher Disable Gopher support + --enable-mqtt Enable MQTT support + --disable-mqtt Disable MQTT support ++ --enable-docs Enable documentation ++ --disable-docs Disable documentation + --enable-manual Enable built-in manual + --disable-manual Disable built-in manual + --enable-libcurl-option Enable --libcurl C code generation support +@@ -2140,7 +2154,10 @@ Optional Packages: + --without-ca-path Don't use a default CA path + --with-ca-fallback Use the built in CA store of the SSL library + --without-ca-fallback Don't use the built in CA store of the SSL library +- --without-libpsl disable support for libpsl cookie checking ++ --with-libpsl=PATH Where to look for libpsl, PATH points to the LIBPSL ++ installation; when possible, set the PKG_CONFIG_PATH ++ environment variable instead of using this option ++ --without-libpsl disable LIBPSL + --without-libgsasl disable libgsasl support for SCRAM + --with-libssh2=PATH Where to look for libssh2, PATH points to the + libssh2 installation; when possible, set the +@@ -2169,6 +2186,8 @@ Optional Packages: + --without-nghttp2 Disable nghttp2 usage + --with-ngtcp2=PATH Enable ngtcp2 usage + --without-ngtcp2 Disable ngtcp2 usage ++ --with-openssl-quic Enable OpenSSL QUIC usage ++ --without-openssl-quic Disable OpenSSL QUIC usage + --with-nghttp3=PATH Enable nghttp3 usage + --without-nghttp3 Disable nghttp3 usage + --with-quiche=PATH Enable quiche usage +@@ -6662,6 +6681,7 @@ curl_tls_srp_msg="no (--enable-tls-srp)" + curl_ipv6_msg="no (--enable-ipv6)" + curl_unix_sockets_msg="no (--enable-unix-sockets)" + curl_idn_msg="no (--with-{libidn2,winidn})" ++ curl_docs_msg="enabled (--disable-docs)" + curl_manual_msg="no (--enable-manual)" + curl_libcurl_msg="enabled (--disable-libcurl-option)" + curl_verbose_msg="enabled (--disable-verbose)" +@@ -6677,8 +6697,8 @@ curl_headers_msg="enabled (--disable-headers-api)" + curl_ws_msg="no (--enable-websockets)" + ssl_backends= + curl_h1_msg="enabled (internal)" +- curl_h2_msg="no (--with-nghttp2, --with-hyper)" +- curl_h3_msg="no (--with-ngtcp2 --with-nghttp3, --with-quiche, --with-msh3)" ++ curl_h2_msg="no (--with-nghttp2)" ++ curl_h3_msg="no (--with-ngtcp2 --with-nghttp3, --with-quiche, --with-openssl-quic, --with-msh3)" + + enable_altsvc="yes" + hsts="yes" +@@ -7511,7 +7531,7 @@ printf "%s\n" "$ac_cv_path_EGREP" >&6; } + + + +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if OS is AIX (to define _ALL_SOURCE)" >&5 ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if OS is AIX (to define _ALL_SOURCE)" >&5 + printf %s "checking if OS is AIX (to define _ALL_SOURCE)... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ +@@ -17666,7 +17686,11 @@ rm -f conftest.err conftest.i conftest.$ac_ext + if test "$curl_cv_have_def___INTEL_COMPILER" = "yes"; then + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 + printf "%s\n" "yes" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking compiler version" >&5 ++printf %s "checking compiler version... " >&6; } + compiler_num="$curl_cv_def___INTEL_COMPILER" ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: Intel C '$compiler_num'" >&5 ++printf "%s\n" "Intel C '$compiler_num'" >&6; } + + OLDCPPFLAGS=$CPPFLAGS + # CPPPFLAG comes from CURL_CPP_P +@@ -17837,18 +17861,41 @@ printf "%s\n" "yes" >&6; } + printf "%s\n" "no" >&6; } + compiler_id="CLANG" + fi ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking compiler version" >&5 ++printf %s "checking compiler version... " >&6; } + fullclangver=`$CC -v 2>&1 | grep version` ++ if echo $fullclangver | grep 'Apple' >/dev/null; then ++ appleclang=1 ++ else ++ appleclang=0 ++ fi + clangver=`echo $fullclangver | grep "based on LLVM " | "$SED" 's/.*(based on LLVM \(@<:@0-9@:>@*\.@<:@0-9@:>@*\).*)/\1/'` + if test -z "$clangver"; then +- if echo $fullclangver | grep "Apple LLVM version " >/dev/null; then +- clangver="3.7" +- else +- clangver=`echo $fullclangver | "$SED" 's/.*version \(@<:@0-9@:>@*\.@<:@0-9@:>@*\).*/\1/'` +- fi ++ clangver=`echo $fullclangver | "$SED" 's/.*version \(@<:@0-9@:>@*\.@<:@0-9@:>@*\).*/\1/'` ++ oldapple=0 ++ else ++ oldapple=1 + fi + clangvhi=`echo $clangver | cut -d . -f1` + clangvlo=`echo $clangver | cut -d . -f2` + compiler_num=`(expr $clangvhi "*" 100 + $clangvlo) 2>/dev/null` ++ if test "$appleclang" = '1' && test "$oldapple" = '0'; then ++ if test "$compiler_num" -ge '1300'; then compiler_num='1200' ++ elif test "$compiler_num" -ge '1205'; then compiler_num='1101' ++ elif test "$compiler_num" -ge '1204'; then compiler_num='1000' ++ elif test "$compiler_num" -ge '1107'; then compiler_num='900' ++ elif test "$compiler_num" -ge '1103'; then compiler_num='800' ++ elif test "$compiler_num" -ge '1003'; then compiler_num='700' ++ elif test "$compiler_num" -ge '1001'; then compiler_num='600' ++ elif test "$compiler_num" -ge '904'; then compiler_num='500' ++ elif test "$compiler_num" -ge '902'; then compiler_num='400' ++ elif test "$compiler_num" -ge '803'; then compiler_num='309' ++ elif test "$compiler_num" -ge '703'; then compiler_num='308' ++ else compiler_num='307' ++ fi ++ fi ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: clang '$compiler_num' (raw: '$fullclangver' / '$clangver')" >&5 ++printf "%s\n" "clang '$compiler_num' (raw: '$fullclangver' / '$clangver')" >&6; } + flags_dbg_yes="-g" + flags_opt_all="-O -O0 -O1 -O2 -Os -O3 -O4" + flags_opt_yes="-O2" +@@ -17911,120 +17958,23 @@ rm -f conftest.err conftest.i conftest.$ac_ext + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 + printf "%s\n" "yes" >&6; } + compiler_id="GNU_C" +- gccver=`$CC -dumpversion` ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking compiler version" >&5 ++printf %s "checking compiler version... " >&6; } ++ # strip '-suffix' parts, e.g. Ubuntu Windows cross-gcc returns '10-win32' ++ gccver=`$CC -dumpversion | sed -E 's/-.+$//'` + gccvhi=`echo $gccver | cut -d . -f1` +- gccvlo=`echo $gccver | cut -d . -f2` ++ if echo $gccver | grep -F '.' >/dev/null; then ++ gccvlo=`echo $gccver | cut -d . -f2` ++ else ++ gccvlo="0" ++ fi + compiler_num=`(expr $gccvhi "*" 100 + $gccvlo) 2>/dev/null` ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: gcc '$compiler_num' (raw: '$gccver')" >&5 ++printf "%s\n" "gcc '$compiler_num' (raw: '$gccver')" >&6; } + flags_dbg_yes="-g" + flags_opt_all="-O -O0 -O1 -O2 -O3 -Os -Og -Ofast" + flags_opt_yes="-O2" + flags_opt_off="-O0" +- +- OLDCPPFLAGS=$CPPFLAGS +- # CPPPFLAG comes from CURL_CPP_P +- CPPFLAGS="$CPPFLAGS $CPPPFLAG" +- if test -z "$SED"; then +- as_fn_error $? "SED not set. Cannot continue without SED being set." "$LINENO" 5 +- fi +- if test -z "$GREP"; then +- as_fn_error $? "GREP not set. Cannot continue without GREP being set." "$LINENO" 5 +- fi +- +- tmp_exp="" +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext +-/* end confdefs.h. */ +- +- +-#ifdef _WIN32 +-CURL_DEF_TOKEN _WIN32 +-#endif +- +- +-_ACEOF +-if ac_fn_c_try_cpp "$LINENO" +-then : +- +- tmp_exp=`eval "$ac_cpp conftest.$ac_ext" 2>/dev/null | \ +- "$GREP" CURL_DEF_TOKEN 2>/dev/null | \ +- "$SED" 's/.*CURL_DEF_TOKEN[ ][ ]*//' 2>/dev/null | \ +- "$SED" 's/["][ ]*["]//g' 2>/dev/null` +- if test -z "$tmp_exp" || test "$tmp_exp" = "_WIN32"; then +- tmp_exp="" +- fi +- +-fi +-rm -f conftest.err conftest.i conftest.$ac_ext +- if test -z "$tmp_exp"; then +- curl_cv_have_def__WIN32=no +- +- else +- curl_cv_have_def__WIN32=yes +- curl_cv_def__WIN32=$tmp_exp +- +- fi +- CPPFLAGS=$OLDCPPFLAGS +- +- else +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-printf "%s\n" "no" >&6; } +- fi +- +- +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler is LCC" >&5 +-printf %s "checking if compiler is LCC... " >&6; } +- +- OLDCPPFLAGS=$CPPFLAGS +- # CPPPFLAG comes from CURL_CPP_P +- CPPFLAGS="$CPPFLAGS $CPPPFLAG" +- if test -z "$SED"; then +- as_fn_error $? "SED not set. Cannot continue without SED being set." "$LINENO" 5 +- fi +- if test -z "$GREP"; then +- as_fn_error $? "GREP not set. Cannot continue without GREP being set." "$LINENO" 5 +- fi +- +- tmp_exp="" +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext +-/* end confdefs.h. */ +- +- +-#ifdef __LCC__ +-CURL_DEF_TOKEN __LCC__ +-#endif +- +- +-_ACEOF +-if ac_fn_c_try_cpp "$LINENO" +-then : +- +- tmp_exp=`eval "$ac_cpp conftest.$ac_ext" 2>/dev/null | \ +- "$GREP" CURL_DEF_TOKEN 2>/dev/null | \ +- "$SED" 's/.*CURL_DEF_TOKEN[ ][ ]*//' 2>/dev/null | \ +- "$SED" 's/["][ ]*["]//g' 2>/dev/null` +- if test -z "$tmp_exp" || test "$tmp_exp" = "__LCC__"; then +- tmp_exp="" +- fi +- +-fi +-rm -f conftest.err conftest.i conftest.$ac_ext +- if test -z "$tmp_exp"; then +- curl_cv_have_def___LCC__=no +- +- else +- curl_cv_have_def___LCC__=yes +- curl_cv_def___LCC__=$tmp_exp +- +- fi +- CPPFLAGS=$OLDCPPFLAGS +- +- if test "$curl_cv_have_def___LCC__" = "yes"; then +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +-printf "%s\n" "yes" >&6; } +- compiler_id="LCC" +- flags_dbg_yes="-g" +- flags_opt_all="" +- flags_opt_yes="" +- flags_opt_off="" + else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 + printf "%s\n" "no" >&6; } +@@ -18431,6 +18381,57 @@ _EOF + fi + + ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build target is a native Windows one" >&5 ++printf %s "checking whether build target is a native Windows one... " >&6; } ++if test ${curl_cv_native_windows+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ ++ ++int main (void) ++{ ++ ++#ifdef _WIN32 ++ int dummy=1; ++#else ++ Not a native Windows build target. ++#endif ++ ++ ; ++ return 0; ++} ++ ++_ACEOF ++if ac_fn_c_try_compile "$LINENO" ++then : ++ ++ curl_cv_native_windows="yes" ++ ++else $as_nop ++ ++ curl_cv_native_windows="no" ++ ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ++ ++fi ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_native_windows" >&5 ++printf "%s\n" "$curl_cv_native_windows" >&6; } ++ if test "x$curl_cv_native_windows" = xyes; then ++ DOING_NATIVE_WINDOWS_TRUE= ++ DOING_NATIVE_WINDOWS_FALSE='#' ++else ++ DOING_NATIVE_WINDOWS_TRUE='#' ++ DOING_NATIVE_WINDOWS_FALSE= ++fi ++ ++ ++ + squeeze() { + _sqz_result="" + eval _sqz_input=\$$1 +@@ -18501,11 +18502,6 @@ squeeze() { + tmp_CFLAGS="$tmp_CFLAGS" + ;; + # +- LCC) +- # +- tmp_CFLAGS="$tmp_CFLAGS -n" +- ;; +- # + SGI_MIPS_C) + # + tmp_CFLAGS="$tmp_CFLAGS" +@@ -19215,7 +19211,7 @@ printf "%s\n" "$as_me: WARNING: compiler options rejected: $tmp_options" >&2;} + + + ac_var_added_warnings="" +- for warning in no-multichar sign-compare; do ++ for warning in sign-compare; do + + ac_var_match_word="no" + for word1 in $CFLAGS; do +@@ -19233,6 +19229,7 @@ printf "%s\n" "$as_me: WARNING: compiler options rejected: $tmp_options" >&2;} + tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" + squeeze tmp_CFLAGS + ++ tmp_CFLAGS="$tmp_CFLAGS -Wno-multichar" + + ac_var_added_warnings="" + for warning in undef; do +@@ -19359,10 +19356,10 @@ printf "%s\n" "$as_me: WARNING: compiler options rejected: $tmp_options" >&2;} + + fi + # +- if test "$compiler_num" -ge "208"; then ++ if test "$compiler_num" -ge "207"; then + + ac_var_added_warnings="" +- for warning in vla; do ++ for warning in address; do + + ac_var_match_word="no" + for word1 in $CFLAGS; do +@@ -19380,12 +19377,9 @@ printf "%s\n" "$as_me: WARNING: compiler options rejected: $tmp_options" >&2;} + tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" + squeeze tmp_CFLAGS + +- fi +- # +- if test "$compiler_num" -ge "209"; then + + ac_var_added_warnings="" +- for warning in shift-sign-overflow; do ++ for warning in attributes; do + + ac_var_match_word="no" + for word1 in $CFLAGS; do +@@ -19403,9 +19397,6 @@ printf "%s\n" "$as_me: WARNING: compiler options rejected: $tmp_options" >&2;} + tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" + squeeze tmp_CFLAGS + +- fi +- # +- if test "$compiler_num" -ge "300"; then + + ac_var_added_warnings="" + for warning in bad-function-cast; do +@@ -19430,6 +19421,26 @@ printf "%s\n" "$as_me: WARNING: compiler options rejected: $tmp_options" >&2;} + ac_var_added_warnings="" + for warning in conversion; do + ++ ac_var_match_word="no" ++ for word1 in $CFLAGS; do ++ for word2 in -Wno-$warning -W$warning; do ++ if test "$word1" = "$word2"; then ++ ac_var_match_word="yes" ++ fi ++ done ++ done ++ ++ if test "$ac_var_match_word" = "no"; then ++ ac_var_added_warnings="$ac_var_added_warnings -W$warning" ++ fi ++ done ++ tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" ++ squeeze tmp_CFLAGS ++ ++ ++ ac_var_added_warnings="" ++ for warning in div-by-zero format-security; do ++ + ac_var_match_word="no" + for word1 in $CFLAGS; do + for word2 in -Wno-$warning -W$warning; do +@@ -19468,7 +19479,7 @@ printf "%s\n" "$as_me: WARNING: compiler options rejected: $tmp_options" >&2;} + + + ac_var_added_warnings="" +- for warning in ignored-qualifiers; do ++ for warning in missing-field-initializers; do + + ac_var_match_word="no" + for word1 in $CFLAGS; do +@@ -19487,6 +19498,67 @@ printf "%s\n" "$as_me: WARNING: compiler options rejected: $tmp_options" >&2;} + squeeze tmp_CFLAGS + + ++ ac_var_added_warnings="" ++ for warning in missing-noreturn; do ++ ++ ac_var_match_word="no" ++ for word1 in $CFLAGS; do ++ for word2 in -Wno-$warning -W$warning; do ++ if test "$word1" = "$word2"; then ++ ac_var_match_word="yes" ++ fi ++ done ++ done ++ ++ if test "$ac_var_match_word" = "no"; then ++ ac_var_added_warnings="$ac_var_added_warnings -W$warning" ++ fi ++ done ++ tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" ++ squeeze tmp_CFLAGS ++ ++ ++ ac_var_added_warnings="" ++ for warning in old-style-definition; do ++ ++ ac_var_match_word="no" ++ for word1 in $CFLAGS; do ++ for word2 in -Wno-$warning -W$warning; do ++ if test "$word1" = "$word2"; then ++ ac_var_match_word="yes" ++ fi ++ done ++ done ++ ++ if test "$ac_var_match_word" = "no"; then ++ ac_var_added_warnings="$ac_var_added_warnings -W$warning" ++ fi ++ done ++ tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" ++ squeeze tmp_CFLAGS ++ ++ ++ ac_var_added_warnings="" ++ for warning in redundant-decls; do ++ ++ ac_var_match_word="no" ++ for word1 in $CFLAGS; do ++ for word2 in -Wno-$warning -W$warning; do ++ if test "$word1" = "$word2"; then ++ ac_var_match_word="yes" ++ fi ++ done ++ done ++ ++ if test "$ac_var_match_word" = "no"; then ++ ac_var_added_warnings="$ac_var_added_warnings -W$warning" ++ fi ++ done ++ tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" ++ squeeze tmp_CFLAGS ++ ++ # CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [switch-enum]) # Not used because this basically disallows default case ++ + ac_var_added_warnings="" + for warning in type-limits; do + +@@ -19506,9 +19578,10 @@ printf "%s\n" "$as_me: WARNING: compiler options rejected: $tmp_options" >&2;} + tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" + squeeze tmp_CFLAGS + ++ # CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [unused-macros]) # Not practical + + ac_var_added_warnings="" +- for warning in no-sign-conversion; do ++ for warning in unreachable-code unused-parameter; do + + ac_var_match_word="no" + for word1 in $CFLAGS; do +@@ -19527,12 +19600,144 @@ printf "%s\n" "$as_me: WARNING: compiler options rejected: $tmp_options" >&2;} + squeeze tmp_CFLAGS + + fi ++ # ++ if test "$compiler_num" -ge "208"; then ++ ++ ac_var_added_warnings="" ++ for warning in ignored-qualifiers; do ++ ++ ac_var_match_word="no" ++ for word1 in $CFLAGS; do ++ for word2 in -Wno-$warning -W$warning; do ++ if test "$word1" = "$word2"; then ++ ac_var_match_word="yes" ++ fi ++ done ++ done ++ ++ if test "$ac_var_match_word" = "no"; then ++ ac_var_added_warnings="$ac_var_added_warnings -W$warning" ++ fi ++ done ++ tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" ++ squeeze tmp_CFLAGS ++ ++ ++ ac_var_added_warnings="" ++ for warning in vla; do ++ ++ ac_var_match_word="no" ++ for word1 in $CFLAGS; do ++ for word2 in -Wno-$warning -W$warning; do ++ if test "$word1" = "$word2"; then ++ ac_var_match_word="yes" ++ fi ++ done ++ done ++ ++ if test "$ac_var_match_word" = "no"; then ++ ac_var_added_warnings="$ac_var_added_warnings -W$warning" ++ fi ++ done ++ tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" ++ squeeze tmp_CFLAGS ++ ++ fi ++ # ++ if test "$compiler_num" -ge "209"; then ++ ++ ac_var_added_warnings="" ++ for warning in sign-conversion; do ++ ++ ac_var_match_word="no" ++ for word1 in $CFLAGS; do ++ for word2 in -Wno-$warning -W$warning; do ++ if test "$word1" = "$word2"; then ++ ac_var_match_word="yes" ++ fi ++ done ++ done ++ ++ if test "$ac_var_match_word" = "no"; then ++ ac_var_added_warnings="$ac_var_added_warnings -W$warning" ++ fi ++ done ++ tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" ++ squeeze tmp_CFLAGS ++ ++ tmp_CFLAGS="$tmp_CFLAGS -Wno-error=sign-conversion" # FIXME ++ ++ ac_var_added_warnings="" ++ for warning in shift-sign-overflow; do ++ ++ ac_var_match_word="no" ++ for word1 in $CFLAGS; do ++ for word2 in -Wno-$warning -W$warning; do ++ if test "$word1" = "$word2"; then ++ ac_var_match_word="yes" ++ fi ++ done ++ done ++ ++ if test "$ac_var_match_word" = "no"; then ++ ac_var_added_warnings="$ac_var_added_warnings -W$warning" ++ fi ++ done ++ tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" ++ squeeze tmp_CFLAGS ++ ++ # CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [padded]) # Not used because we cannot change public structs ++ fi ++ # ++ if test "$compiler_num" -ge "300"; then ++ ++ ac_var_added_warnings="" ++ for warning in language-extension-token; do ++ ++ ac_var_match_word="no" ++ for word1 in $CFLAGS; do ++ for word2 in -Wno-$warning -W$warning; do ++ if test "$word1" = "$word2"; then ++ ac_var_match_word="yes" ++ fi ++ done ++ done ++ ++ if test "$ac_var_match_word" = "no"; then ++ ac_var_added_warnings="$ac_var_added_warnings -W$warning" ++ fi ++ done ++ tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" ++ squeeze tmp_CFLAGS ++ ++ tmp_CFLAGS="$tmp_CFLAGS -Wformat=2" ++ fi + # + if test "$compiler_num" -ge "302"; then + + ac_var_added_warnings="" + for warning in enum-conversion; do + ++ ac_var_match_word="no" ++ for word1 in $CFLAGS; do ++ for word2 in -Wno-$warning -W$warning; do ++ if test "$word1" = "$word2"; then ++ ac_var_match_word="yes" ++ fi ++ done ++ done ++ ++ if test "$ac_var_match_word" = "no"; then ++ ac_var_added_warnings="$ac_var_added_warnings -W$warning" ++ fi ++ done ++ tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" ++ squeeze tmp_CFLAGS ++ ++ ++ ac_var_added_warnings="" ++ for warning in sometimes-uninitialized; do ++ + ac_var_match_word="no" + for word1 in $CFLAGS; do + for word2 in -Wno-$warning -W$warning; do +@@ -19579,9 +19784,72 @@ printf "%s\n" "$as_me: WARNING: compiler options rejected: $tmp_options" >&2;} + # + if test "$compiler_num" -ge "304"; then + ++ ac_var_added_warnings="" ++ for warning in header-guard; do ++ ++ ac_var_match_word="no" ++ for word1 in $CFLAGS; do ++ for word2 in -Wno-$warning -W$warning; do ++ if test "$word1" = "$word2"; then ++ ac_var_match_word="yes" ++ fi ++ done ++ done ++ ++ if test "$ac_var_match_word" = "no"; then ++ ac_var_added_warnings="$ac_var_added_warnings -W$warning" ++ fi ++ done ++ tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" ++ squeeze tmp_CFLAGS ++ ++ + ac_var_added_warnings="" + for warning in unused-const-variable; do + ++ ac_var_match_word="no" ++ for word1 in $CFLAGS; do ++ for word2 in -Wno-$warning -W$warning; do ++ if test "$word1" = "$word2"; then ++ ac_var_match_word="yes" ++ fi ++ done ++ done ++ ++ if test "$ac_var_match_word" = "no"; then ++ ac_var_added_warnings="$ac_var_added_warnings -W$warning" ++ fi ++ done ++ tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" ++ squeeze tmp_CFLAGS ++ ++ fi ++ # ++ if test "$compiler_num" -ge "305"; then ++ ++ ac_var_added_warnings="" ++ for warning in pragmas; do ++ ++ ac_var_match_word="no" ++ for word1 in $CFLAGS; do ++ for word2 in -Wno-$warning -W$warning; do ++ if test "$word1" = "$word2"; then ++ ac_var_match_word="yes" ++ fi ++ done ++ done ++ ++ if test "$ac_var_match_word" = "no"; then ++ ac_var_added_warnings="$ac_var_added_warnings -W$warning" ++ fi ++ done ++ tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" ++ squeeze tmp_CFLAGS ++ ++ ++ ac_var_added_warnings="" ++ for warning in unreachable-code-break; do ++ + ac_var_match_word="no" + for word1 in $CFLAGS; do + for word2 in -Wno-$warning -W$warning; do +@@ -19691,6 +19959,9 @@ printf "%s\n" "$as_me: WARNING: compiler options rejected: $tmp_options" >&2;} + tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" + squeeze tmp_CFLAGS + ++ fi ++ if test "$compiler_num" -ge "1000"; then ++ tmp_CFLAGS="$tmp_CFLAGS -Wimplicit-fallthrough" # we have silencing markup for clang 10.0 and above only + fi + fi + tmp_CFLAGS="$tmp_CFLAGS -Wno-pointer-bool-conversion" +@@ -19706,7 +19977,6 @@ printf "%s\n" "$as_me: WARNING: compiler options rejected: $tmp_options" >&2;} + GNU_C) + # + if test "$want_warnings" = "yes"; then +- tmp_CFLAGS="$tmp_CFLAGS -std=gnu89" + # + if test "x$cross_compiling" != "xyes" || + test "$compiler_num" -ge "300"; then +@@ -20012,6 +20282,158 @@ printf "%s\n" "$as_me: WARNING: compiler options rejected: $tmp_options" >&2;} + if test "$compiler_num" -ge "400"; then + tmp_CFLAGS="$tmp_CFLAGS -Wstrict-aliasing=3" + fi ++ # ++ if test "$compiler_num" -ge "401"; then ++ ++ ac_var_added_warnings="" ++ for warning in attributes; do ++ ++ ac_var_match_word="no" ++ for word1 in $CFLAGS; do ++ for word2 in -Wno-$warning -W$warning; do ++ if test "$word1" = "$word2"; then ++ ac_var_match_word="yes" ++ fi ++ done ++ done ++ ++ if test "$ac_var_match_word" = "no"; then ++ ac_var_added_warnings="$ac_var_added_warnings -W$warning" ++ fi ++ done ++ tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" ++ squeeze tmp_CFLAGS ++ ++ ++ ac_var_added_warnings="" ++ for warning in div-by-zero format-security; do ++ ++ ac_var_match_word="no" ++ for word1 in $CFLAGS; do ++ for word2 in -Wno-$warning -W$warning; do ++ if test "$word1" = "$word2"; then ++ ac_var_match_word="yes" ++ fi ++ done ++ done ++ ++ if test "$ac_var_match_word" = "no"; then ++ ac_var_added_warnings="$ac_var_added_warnings -W$warning" ++ fi ++ done ++ tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" ++ squeeze tmp_CFLAGS ++ ++ ++ ac_var_added_warnings="" ++ for warning in missing-field-initializers; do ++ ++ ac_var_match_word="no" ++ for word1 in $CFLAGS; do ++ for word2 in -Wno-$warning -W$warning; do ++ if test "$word1" = "$word2"; then ++ ac_var_match_word="yes" ++ fi ++ done ++ done ++ ++ if test "$ac_var_match_word" = "no"; then ++ ac_var_added_warnings="$ac_var_added_warnings -W$warning" ++ fi ++ done ++ tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" ++ squeeze tmp_CFLAGS ++ ++ case $host in ++ *-*-msys*) ++ ;; ++ *) ++ ++ ac_var_added_warnings="" ++ for warning in missing-noreturn; do ++ ++ ac_var_match_word="no" ++ for word1 in $CFLAGS; do ++ for word2 in -Wno-$warning -W$warning; do ++ if test "$word1" = "$word2"; then ++ ac_var_match_word="yes" ++ fi ++ done ++ done ++ ++ if test "$ac_var_match_word" = "no"; then ++ ac_var_added_warnings="$ac_var_added_warnings -W$warning" ++ fi ++ done ++ tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" ++ squeeze tmp_CFLAGS ++ # Seen to clash with libtool-generated stub code ++ ;; ++ esac ++ ++ ac_var_added_warnings="" ++ for warning in unreachable-code unused-parameter; do ++ ++ ac_var_match_word="no" ++ for word1 in $CFLAGS; do ++ for word2 in -Wno-$warning -W$warning; do ++ if test "$word1" = "$word2"; then ++ ac_var_match_word="yes" ++ fi ++ done ++ done ++ ++ if test "$ac_var_match_word" = "no"; then ++ ac_var_added_warnings="$ac_var_added_warnings -W$warning" ++ fi ++ done ++ tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" ++ squeeze tmp_CFLAGS ++ ++ # CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [padded]) # Not used because we cannot change public structs ++ ++ ac_var_added_warnings="" ++ for warning in pragmas; do ++ ++ ac_var_match_word="no" ++ for word1 in $CFLAGS; do ++ for word2 in -Wno-$warning -W$warning; do ++ if test "$word1" = "$word2"; then ++ ac_var_match_word="yes" ++ fi ++ done ++ done ++ ++ if test "$ac_var_match_word" = "no"; then ++ ac_var_added_warnings="$ac_var_added_warnings -W$warning" ++ fi ++ done ++ tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" ++ squeeze tmp_CFLAGS ++ ++ ++ ac_var_added_warnings="" ++ for warning in redundant-decls; do ++ ++ ac_var_match_word="no" ++ for word1 in $CFLAGS; do ++ for word2 in -Wno-$warning -W$warning; do ++ if test "$word1" = "$word2"; then ++ ac_var_match_word="yes" ++ fi ++ done ++ done ++ ++ if test "$ac_var_match_word" = "no"; then ++ ac_var_added_warnings="$ac_var_added_warnings -W$warning" ++ fi ++ done ++ tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" ++ squeeze tmp_CFLAGS ++ ++ # CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [switch-enum]) # Not used because this basically disallows default case ++ # CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [unused-macros]) # Not practical ++ fi + # + if test "$compiler_num" -ge "402"; then + +@@ -20038,6 +20460,26 @@ printf "%s\n" "$as_me: WARNING: compiler options rejected: $tmp_options" >&2;} + # + if test "$compiler_num" -ge "403"; then + ++ ac_var_added_warnings="" ++ for warning in address; do ++ ++ ac_var_match_word="no" ++ for word1 in $CFLAGS; do ++ for word2 in -Wno-$warning -W$warning; do ++ if test "$word1" = "$word2"; then ++ ac_var_match_word="yes" ++ fi ++ done ++ done ++ ++ if test "$ac_var_match_word" = "no"; then ++ ac_var_added_warnings="$ac_var_added_warnings -W$warning" ++ fi ++ done ++ tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" ++ squeeze tmp_CFLAGS ++ ++ + ac_var_added_warnings="" + for warning in type-limits old-style-declaration; do + +@@ -20099,7 +20541,27 @@ printf "%s\n" "$as_me: WARNING: compiler options rejected: $tmp_options" >&2;} + + + ac_var_added_warnings="" +- for warning in conversion; do ++ for warning in conversion trampolines; do ++ ++ ac_var_match_word="no" ++ for word1 in $CFLAGS; do ++ for word2 in -Wno-$warning -W$warning; do ++ if test "$word1" = "$word2"; then ++ ac_var_match_word="yes" ++ fi ++ done ++ done ++ ++ if test "$ac_var_match_word" = "no"; then ++ ac_var_added_warnings="$ac_var_added_warnings -W$warning" ++ fi ++ done ++ tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" ++ squeeze tmp_CFLAGS ++ ++ ++ ac_var_added_warnings="" ++ for warning in sign-conversion; do + + ac_var_match_word="no" + for word1 in $CFLAGS; do +@@ -20117,7 +20579,7 @@ printf "%s\n" "$as_me: WARNING: compiler options rejected: $tmp_options" >&2;} + tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" + squeeze tmp_CFLAGS + +- tmp_CFLAGS="$tmp_CFLAGS -Wno-sign-conversion" ++ tmp_CFLAGS="$tmp_CFLAGS -Wno-error=sign-conversion" # FIXME + + ac_var_added_warnings="" + for warning in vla; do +@@ -20142,7 +20604,7 @@ printf "%s\n" "$as_me: WARNING: compiler options rejected: $tmp_options" >&2;} + fi + # + if test "$compiler_num" -ge "405"; then +- if test "$curl_cv_have_def__WIN32" = "yes"; then ++ if test "$curl_cv_native_windows" = "yes"; then + tmp_CFLAGS="$tmp_CFLAGS -Wno-pedantic-ms-format" + fi + fi +@@ -20326,9 +20788,7 @@ printf "%s\n" "$as_me: WARNING: compiler options rejected: $tmp_options" >&2;} + + tmp_CFLAGS="$tmp_CFLAGS -Wformat-overflow=2" + tmp_CFLAGS="$tmp_CFLAGS -Wformat-truncation=2" +- if test "$compiler_num" -lt "1200"; then +- tmp_CFLAGS="$tmp_CFLAGS -Wimplicit-fallthrough=4" +- fi ++ tmp_CFLAGS="$tmp_CFLAGS -Wimplicit-fallthrough" + fi + # + if test "$compiler_num" -ge "1000"; then +@@ -20430,13 +20890,6 @@ printf "%s\n" "$as_me: WARNING: compiler options rejected: $tmp_options" >&2;} + tmp_CFLAGS="$tmp_CFLAGS" + ;; + # +- LCC) +- # +- if test "$want_warnings" = "yes"; then +- tmp_CFLAGS="$tmp_CFLAGS" +- fi +- ;; +- # + SGI_MIPS_C) + # + if test "$want_warnings" = "yes"; then +@@ -21081,243 +21534,10 @@ fi + + + +- +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for windows.h" >&5 +-printf %s "checking for windows.h... " >&6; } +-if test ${curl_cv_header_windows_h+y} +-then : +- printf %s "(cached) " >&6 +-else $as_nop +- +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext +-/* end confdefs.h. */ +- +- +-#undef inline +-#ifndef WIN32_LEAN_AND_MEAN +-#define WIN32_LEAN_AND_MEAN +-#endif +-#include +- +-int main (void) +-{ +- +-#if defined(__CYGWIN__) || defined(__CEGCC__) +- HAVE_WINDOWS_H shall not be defined. +-#else +- int dummy=2*WINVER; +-#endif +- +- ; +- return 0; +-} +- +-_ACEOF +-if ac_fn_c_try_compile "$LINENO" +-then : +- +- curl_cv_header_windows_h="yes" +- +-else $as_nop +- +- curl_cv_header_windows_h="no" +- +-fi +-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +- +-fi +-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_header_windows_h" >&5 +-printf "%s\n" "$curl_cv_header_windows_h" >&6; } +- case "$curl_cv_header_windows_h" in +- yes) +- +-printf "%s\n" "@%:@define HAVE_WINDOWS_H 1" >>confdefs.h +- +- ;; +- esac +- +- +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build target is a native Windows one" >&5 +-printf %s "checking whether build target is a native Windows one... " >&6; } +-if test ${curl_cv_native_windows+y} +-then : +- printf %s "(cached) " >&6 +-else $as_nop +- +- if test "$curl_cv_header_windows_h" = "no"; then +- curl_cv_native_windows="no" +- else +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext +-/* end confdefs.h. */ +- +- +- +-int main (void) +-{ +- +-#if defined(__MINGW32__) || defined(__MINGW32CE__) || \ +- (defined(_MSC_VER) && (defined(_WIN32) || defined(_WIN64))) +- int dummy=1; +-#else +- Not a native Windows build target. +-#endif +- +- ; +- return 0; +-} +- +-_ACEOF +-if ac_fn_c_try_compile "$LINENO" +-then : +- +- curl_cv_native_windows="yes" +- +-else $as_nop +- +- curl_cv_native_windows="no" +- +-fi +-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +- fi +- +-fi +-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_native_windows" >&5 +-printf "%s\n" "$curl_cv_native_windows" >&6; } +- if test "x$curl_cv_native_windows" = xyes; then +- DOING_NATIVE_WINDOWS_TRUE= +- DOING_NATIVE_WINDOWS_FALSE='#' +-else +- DOING_NATIVE_WINDOWS_TRUE='#' +- DOING_NATIVE_WINDOWS_FALSE= +-fi +- +- +-case X-"$curl_cv_native_windows" in +- X-yes) +- +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for winsock2.h" >&5 +-printf %s "checking for winsock2.h... " >&6; } +-if test ${curl_cv_header_winsock2_h+y} +-then : +- printf %s "(cached) " >&6 +-else $as_nop +- +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext +-/* end confdefs.h. */ +- +- +-#undef inline +-#ifndef WIN32_LEAN_AND_MEAN +-#define WIN32_LEAN_AND_MEAN +-#endif +-#include +-#include +- +-int main (void) +-{ +- +-#if defined(__CYGWIN__) || defined(__CEGCC__) || defined(__MINGW32CE__) +- HAVE_WINSOCK2_H shall not be defined. +-#else +- int dummy=2*IPPROTO_ESP; +-#endif +- +- ; +- return 0; +-} +- +-_ACEOF +-if ac_fn_c_try_compile "$LINENO" +-then : +- +- curl_cv_header_winsock2_h="yes" +- +-else $as_nop +- +- curl_cv_header_winsock2_h="no" +- +-fi +-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +- +-fi +-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_header_winsock2_h" >&5 +-printf "%s\n" "$curl_cv_header_winsock2_h" >&6; } +- case "$curl_cv_header_winsock2_h" in +- yes) +- +-printf "%s\n" "@%:@define HAVE_WINSOCK2_H 1" >>confdefs.h +- +- ;; +- esac +- +- +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ws2tcpip.h" >&5 +-printf %s "checking for ws2tcpip.h... " >&6; } +-if test ${curl_cv_header_ws2tcpip_h+y} +-then : +- printf %s "(cached) " >&6 +-else $as_nop +- +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext +-/* end confdefs.h. */ +- +- +-#undef inline +-#ifndef WIN32_LEAN_AND_MEAN +-#define WIN32_LEAN_AND_MEAN +-#endif +-#include +-#include +-#include +- +-int main (void) +-{ +- +-#if defined(__CYGWIN__) || defined(__CEGCC__) || defined(__MINGW32CE__) +- HAVE_WS2TCPIP_H shall not be defined. +-#else +- int dummy=2*IP_PKTINFO; +-#endif +- +- ; +- return 0; +-} +- +-_ACEOF +-if ac_fn_c_try_compile "$LINENO" +-then : +- +- curl_cv_header_ws2tcpip_h="yes" +- +-else $as_nop +- +- curl_cv_header_ws2tcpip_h="no" +- +-fi +-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +- +-fi +-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_header_ws2tcpip_h" >&5 +-printf "%s\n" "$curl_cv_header_ws2tcpip_h" >&6; } +- case "$curl_cv_header_ws2tcpip_h" in +- yes) +- +-printf "%s\n" "@%:@define HAVE_WS2TCPIP_H 1" >>confdefs.h +- +- ;; +- esac +- +- ;; +- *) +- curl_cv_header_winsock2_h="no" +- curl_cv_header_ws2tcpip_h="no" +- ;; +-esac +- + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build target supports WIN32 file API" >&5 + printf %s "checking whether build target supports WIN32 file API... " >&6; } + curl_win32_file_api="no" +- if test "$curl_cv_header_windows_h" = "yes"; then ++ if test "$curl_cv_native_windows" = "yes"; then + if test x"$enable_largefile" != "xno"; then + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ +@@ -21327,9 +21547,7 @@ printf %s "checking whether build target supports WIN32 file API... " >&6; } + int main (void) + { + +-#if !defined(_WIN32_WCE) && \ +- (defined(__MINGW32__) || \ +- (defined(_MSC_VER) && (defined(_WIN32) || defined(_WIN64)))) ++#if !defined(_WIN32_WCE) && (defined(__MINGW32__) || defined(_MSC_VER)) + int dummy=1; + #else + WIN32 large file API not supported. +@@ -21406,7 +21624,7 @@ printf "%s\n" "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build target supports WIN32 crypto API" >&5 + printf %s "checking whether build target supports WIN32 crypto API... " >&6; } + curl_win32_crypto_api="no" +- if test "$curl_cv_header_windows_h" = "yes"; then ++ if test "$curl_cv_native_windows" = "yes"; then + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + +@@ -22047,7 +22265,6 @@ then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Hyper support is experimental" >&5 + printf "%s\n" "$as_me: Hyper support is experimental" >&6;} + curl_h1_msg="enabled (Hyper)" +- curl_h2_msg=$curl_h1_msg + HYPER_ENABLED=1 + + printf "%s\n" "@%:@define USE_HYPER 1" >>confdefs.h +@@ -22385,6 +22602,32 @@ fi + + + ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build documentation" >&5 ++printf %s "checking whether to build documentation... " >&6; } ++@%:@ Check whether --enable-docs was given. ++if test ${enable_docs+y} ++then : ++ enableval=$enable_docs; case "$enableval" in ++ no) ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++ BUILD_DOCS=0 ++ curl_docs_msg="no" ++ ;; ++ *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++ BUILD_DOCS=1 ++ ;; ++ esac ++else $as_nop ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++ BUILD_DOCS=1 ++ ++fi ++ ++ ++ + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to provide built-in manual" >&5 + printf %s "checking whether to provide built-in manual... " >&6; } + @%:@ Check whether --enable-manual was given. +@@ -22676,10 +22919,8 @@ fi + + if test "$HAVE_GETHOSTBYNAME" != "1" + then +- if test "$curl_cv_header_windows_h" = "yes"; then +- if test "$curl_cv_header_winsock2_h" = "yes"; then +- winsock_LIB="-lws2_32" +- fi ++ if test "$curl_cv_native_windows" = "yes"; then ++ winsock_LIB="-lws2_32" + if test ! -z "$winsock_LIB"; then + my_ac_save_LIBS=$LIBS + LIBS="$winsock_LIB $LIBS" +@@ -22689,15 +22930,12 @@ printf %s "checking for gethostbyname in $winsock_LIB... " >&6; } + /* end confdefs.h. */ + + +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + #ifndef WIN32_LEAN_AND_MEAN + #define WIN32_LEAN_AND_MEAN + #endif +-#include +-#ifdef HAVE_WINSOCK2_H + #include + #endif +-#endif + + int main (void) + { +@@ -22908,20 +23146,17 @@ fi + + curl_includes_winsock2="\ + /* includes start */ +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + # ifndef WIN32_LEAN_AND_MEAN + # define WIN32_LEAN_AND_MEAN + # endif +-# include +-# ifdef HAVE_WINSOCK2_H +-# include +-# endif ++# include + #endif + /* includes end */" + +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for windows.h" >&5 +-printf %s "checking for windows.h... " >&6; } +-if test ${curl_cv_header_windows_h+y} ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build target is a native Windows one" >&5 ++printf %s "checking whether build target is a native Windows one... " >&6; } ++if test ${curl_cv_native_windows+y} + then : + printf %s "(cached) " >&6 + else $as_nop +@@ -22930,19 +23165,14 @@ else $as_nop + /* end confdefs.h. */ + + +-#undef inline +-#ifndef WIN32_LEAN_AND_MEAN +-#define WIN32_LEAN_AND_MEAN +-#endif +-#include + + int main (void) + { + +-#if defined(__CYGWIN__) || defined(__CEGCC__) +- HAVE_WINDOWS_H shall not be defined. ++#ifdef _WIN32 ++ int dummy=1; + #else +- int dummy=2*WINVER; ++ Not a native Windows build target. + #endif + + ; +@@ -22953,81 +23183,26 @@ _ACEOF + if ac_fn_c_try_compile "$LINENO" + then : + +- curl_cv_header_windows_h="yes" ++ curl_cv_native_windows="yes" + + else $as_nop + +- curl_cv_header_windows_h="no" ++ curl_cv_native_windows="no" + + fi + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + + fi +-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_header_windows_h" >&5 +-printf "%s\n" "$curl_cv_header_windows_h" >&6; } +- case "$curl_cv_header_windows_h" in +- yes) +- +-printf "%s\n" "@%:@define HAVE_WINDOWS_H 1" >>confdefs.h +- +- ;; +- esac +- +- +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for winsock2.h" >&5 +-printf %s "checking for winsock2.h... " >&6; } +-if test ${curl_cv_header_winsock2_h+y} +-then : +- printf %s "(cached) " >&6 +-else $as_nop +- +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext +-/* end confdefs.h. */ +- +- +-#undef inline +-#ifndef WIN32_LEAN_AND_MEAN +-#define WIN32_LEAN_AND_MEAN +-#endif +-#include +-#include +- +-int main (void) +-{ +- +-#if defined(__CYGWIN__) || defined(__CEGCC__) || defined(__MINGW32CE__) +- HAVE_WINSOCK2_H shall not be defined. +-#else +- int dummy=2*IPPROTO_ESP; +-#endif +- +- ; +- return 0; +-} +- +-_ACEOF +-if ac_fn_c_try_compile "$LINENO" +-then : +- +- curl_cv_header_winsock2_h="yes" +- +-else $as_nop +- +- curl_cv_header_winsock2_h="no" +- +-fi +-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +- ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_native_windows" >&5 ++printf "%s\n" "$curl_cv_native_windows" >&6; } ++ if test "x$curl_cv_native_windows" = xyes; then ++ DOING_NATIVE_WINDOWS_TRUE= ++ DOING_NATIVE_WINDOWS_FALSE='#' ++else ++ DOING_NATIVE_WINDOWS_TRUE='#' ++ DOING_NATIVE_WINDOWS_FALSE= + fi +-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_header_winsock2_h" >&5 +-printf "%s\n" "$curl_cv_header_winsock2_h" >&6; } +- case "$curl_cv_header_winsock2_h" in +- yes) +- +-printf "%s\n" "@%:@define HAVE_WINSOCK2_H 1" >>confdefs.h + +- ;; +- esac + + + +@@ -23071,7 +23246,7 @@ printf %s "checking for connect in libraries... " >&6; } + + $curl_includes_winsock2 + $curl_includes_bsdsocket +- #if !defined(HAVE_WINDOWS_H) && !defined(HAVE_PROTO_BSDSOCKET_H) ++ #if !defined(_WIN32) && !defined(HAVE_PROTO_BSDSOCKET_H) + int connect(int, void*, int); + #endif + +@@ -24351,7 +24526,7 @@ else $as_nop + + + #undef inline +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + #ifndef WIN32_LEAN_AND_MEAN + #define WIN32_LEAN_AND_MEAN + #endif +@@ -24403,7 +24578,7 @@ printf "%s\n" "@%:@define HAVE_LBER_H 1" >>confdefs.h + + + #undef inline +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + #ifndef WIN32_LEAN_AND_MEAN + #define WIN32_LEAN_AND_MEAN + #endif +@@ -24467,7 +24642,7 @@ else $as_nop + + + #undef inline +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + #ifndef WIN32_LEAN_AND_MEAN + #define WIN32_LEAN_AND_MEAN + #endif +@@ -24532,7 +24707,7 @@ else $as_nop + + + #undef inline +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + #ifndef WIN32_LEAN_AND_MEAN + #define WIN32_LEAN_AND_MEAN + #endif +@@ -24691,7 +24866,7 @@ printf %s "checking for LDAP libraries... " >&6; } + + + #undef inline +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + #ifndef WIN32_LEAN_AND_MEAN + #define WIN32_LEAN_AND_MEAN + #endif +@@ -24921,7 +25096,7 @@ else $as_nop + + /* are AF_INET6 and sockaddr_in6 available? */ + #include +-#ifdef HAVE_WINSOCK2_H ++#ifdef _WIN32 + #include + #include + #else +@@ -24931,15 +25106,12 @@ else $as_nop + # include + #endif + #endif +-#include /* for exit() */ +-main() ++ ++int main(void) + { + struct sockaddr_in6 s; + (void)s; +- if (socket(AF_INET6, SOCK_STREAM, 0) < 0) +- exit(1); +- else +- exit(0); ++ return socket(AF_INET6, SOCK_STREAM, 0) < 0; + } + + +@@ -24975,7 +25147,7 @@ printf %s "checking if struct sockaddr_in6 has sin6_scope_id member... " >&6; } + /* end confdefs.h. */ + + #include +-#ifdef HAVE_WINSOCK2_H ++#ifdef _WIN32 + #include + #include + #else +@@ -25509,10 +25681,6 @@ done + if test "x$ac_cv_header_gssapi_h" = xyes + then : + +- +-printf "%s\n" "@%:@define HAVE_GSSHEIMDAL 1" >>confdefs.h +- +- + else $as_nop + + want_gss=no +@@ -25523,10 +25691,7 @@ printf "%s\n" "$as_me: WARNING: disabling GSS-API support since no header files + fi + + else +- +-printf "%s\n" "@%:@define HAVE_GSSMIT 1" >>confdefs.h +- +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if GSS-API headers declare GSS_C_NT_HOSTBASED_SERVICE" >&5 ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if GSS-API headers declare GSS_C_NT_HOSTBASED_SERVICE" >&5 + printf %s "checking if GSS-API headers declare GSS_C_NT_HOSTBASED_SERVICE... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ +@@ -26072,7 +26237,7 @@ int main (void) + { + + #if defined(AMISSL_CURRENT_VERSION) && defined(AMISSL_V3xx) && \ +- defined(OPENSSL_VERSION_MAJOR) && (OPENSSL_VERSION_MAJOR >= 3) && \ ++ (OPENSSL_VERSION_NUMBER >= 0x30000000L) && \ + defined(PROTO_AMISSL_H) + return 0; + #else +@@ -26809,6 +26974,7 @@ then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 + printf "%s\n" "yes" >&6; } + ssl_msg="BoringSSL" ++ OPENSSL_IS_BORINGSSL=1 + + else $as_nop + +@@ -26844,6 +27010,7 @@ then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 + printf "%s\n" "yes" >&6; } + ssl_msg="AWS-LC" ++ OPENSSL_IS_BORINGSSL=1 + + else $as_nop + +@@ -26900,7 +27067,7 @@ printf %s "checking for OpenSSL >= v3... " >&6; } + int main (void) + { + +- #if defined(OPENSSL_VERSION_MAJOR) && (OPENSSL_VERSION_MAJOR >= 3) ++ #if (OPENSSL_VERSION_NUMBER >= 0x30000000L) + return 0; + #else + #error older than 3 +@@ -26930,6 +27097,25 @@ fi + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + fi + ++ ++ for ac_func in SSL_set_quic_use_legacy_codepoint ++do : ++ ac_fn_c_check_func "$LINENO" "SSL_set_quic_use_legacy_codepoint" "ac_cv_func_SSL_set_quic_use_legacy_codepoint" ++if test "x$ac_cv_func_SSL_set_quic_use_legacy_codepoint" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_SSL_SET_QUIC_USE_LEGACY_CODEPOINT 1" >>confdefs.h ++ QUIC_ENABLED=yes ++fi ++ ++done ++ if test "$QUIC_ENABLED" = "yes"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: OpenSSL fork speaks QUIC API" >&5 ++printf "%s\n" "$as_me: OpenSSL fork speaks QUIC API" >&6;} ++ else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: OpenSSL version does not speak QUIC API" >&5 ++printf "%s\n" "$as_me: OpenSSL version does not speak QUIC API" >&6;} ++ fi ++ + if test "$OPENSSL_ENABLED" = "1"; then + if test -n "$LIB_OPENSSL"; then + if test "x$cross_compiling" != "xyes"; then +@@ -27060,6 +27246,45 @@ fi + + fi + ++if test "$OPENSSL_ENABLED" = "1"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for QUIC support in OpenSSL" >&5 ++printf %s "checking for QUIC support in OpenSSL... " >&6; } ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ ++#include ++ ++int main (void) ++{ ++ ++ OSSL_QUIC_client_method(); ++ ++ ; ++ return 0; ++} ++ ++_ACEOF ++if ac_fn_c_try_link "$LINENO" ++then : ++ ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++ ++printf "%s\n" "@%:@define HAVE_OPENSSL_QUIC 1" >>confdefs.h ++ ++ HAVE_OPENSSL_QUIC=1 ++ ++ ++else $as_nop ++ ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++ ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ ++ conftest$ac_exeext conftest.$ac_ext ++fi + + + if test "x$OPT_GNUTLS" != xno; then +@@ -27305,6 +27530,7 @@ printf "%s\n" "@%:@define USE_GNUTLS 1" >>confdefs.h + GNUTLS_ENABLED=1 + USE_GNUTLS="yes" + ssl_msg="GnuTLS" ++ QUIC_ENABLED=yes + test gnutls != "$DEFAULT_SSL_BACKEND" || VALID_DEFAULT_SSL_BACKEND=yes + + else $as_nop +@@ -27896,6 +28122,7 @@ printf "%s\n" "@%:@define USE_WOLFSSL 1" >>confdefs.h + WOLFSSL_ENABLED=1 + USE_WOLFSSL="yes" + ssl_msg="WolfSSL" ++ QUIC_ENABLED=yes + test wolfssl != "$DEFAULT_SSL_BACKEND" || VALID_DEFAULT_SSL_BACKEND=yes + + else $as_nop +@@ -28189,89 +28416,59 @@ fi + + + if test "x$OPT_RUSTLS" != xno; then +- _cppflags=$CPPFLAGS +- _ldflags=$LDFLAGS + ssl_msg= + +- if test X"$OPT_RUSTLS" != Xno; then +- +- if test "$OPT_RUSTLS" = "yes"; then +- OPT_RUSTLS="" +- fi +- +- case $host_os in +- darwin*) +- LDFLAGS="$LDFLAGS -framework Security" +- ;; +- *) +- ;; +- esac +- +- if test -z "$OPT_RUSTLS" ; then +- +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for rustls_client_session_read in -lrustls" >&5 +-printf %s "checking for rustls_client_session_read in -lrustls... " >&6; } +-if test ${ac_cv_lib_rustls_rustls_client_session_read+y} +-then : +- printf %s "(cached) " >&6 +-else $as_nop +- ac_check_lib_save_LIBS=$LIBS +-LIBS="-lrustls -lpthread -ldl -lm $LIBS" +-cat confdefs.h - <<_ACEOF >conftest.$ac_ext +-/* end confdefs.h. */ +- ++ CLEANLDFLAGS="$LDFLAGS" ++ CLEANCPPFLAGS="$CPPFLAGS" + +-#ifdef __cplusplus +-extern "C" +-#endif +-char rustls_client_session_read (); +-int main (void) +-{ +-return rustls_client_session_read (); +- ; +- return 0; +-} +-_ACEOF +-if ac_fn_c_try_link "$LINENO" +-then : +- ac_cv_lib_rustls_rustls_client_session_read=yes +-else $as_nop +- ac_cv_lib_rustls_rustls_client_session_read=no +-fi +-rm -f core conftest.err conftest.$ac_objext conftest.beam \ +- conftest$ac_exeext conftest.$ac_ext +-LIBS=$ac_check_lib_save_LIBS +-fi +-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rustls_rustls_client_session_read" >&5 +-printf "%s\n" "$ac_cv_lib_rustls_rustls_client_session_read" >&6; } +-if test "x$ac_cv_lib_rustls_rustls_client_session_read" = xyes +-then : +- +- +-printf "%s\n" "@%:@define USE_RUSTLS 1" >>confdefs.h ++ case $host_os in ++ darwin*) ++ LDFLAGS="$LDFLAGS -framework Security" ++ ;; ++ *) ++ ;; ++ esac ++ ## NEW CODE + +- USE_RUSTLS=1 ++ ++ case "$OPT_RUSTLS" in ++ yes) ++ PKGTEST="yes" ++ PREFIX_RUSTLS= ++ ;; ++ *) ++ PKGTEST="no" ++ PREFIX_RUSTLS=$OPT_RUSTLS + +- RUSTLS_ENABLED=1 +- USE_RUSTLS="yes" +- ssl_msg="rustls" +- test rustls != "$DEFAULT_SSL_BACKEND" || VALID_DEFAULT_SSL_BACKEND=yes +- +-fi ++ ++ RUSTLS_PCDIR="$PREFIX_RUSTLS/lib/pkgconfig" ++ if test -f "$RUSTLS_PCDIR/rustls.pc"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: PKG_CONFIG_LIBDIR will be set to \"$RUSTLS_PCDIR\"" >&5 ++printf "%s\n" "$as_me: PKG_CONFIG_LIBDIR will be set to \"$RUSTLS_PCDIR\"" >&6;} ++ PKGTEST="yes" ++ fi + +- fi ++ if test "$PKGTEST" != "yes"; then ++ # try lib64 instead ++ RUSTLS_PCDIR="$PREFIX_RUSTLS/lib64/pkgconfig" ++ if test -f "$RUSTLS_PCDIR/rustls.pc"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: PKG_CONFIG_LIBDIR will be set to \"$RUSTLS_PCDIR\"" >&5 ++printf "%s\n" "$as_me: PKG_CONFIG_LIBDIR will be set to \"$RUSTLS_PCDIR\"" >&6;} ++ PKGTEST="yes" ++ fi ++ fi + +- if test "x$USE_RUSTLS" != "xyes"; then +- addld=-L$OPT_RUSTLS/lib$libsuff +- addcflags=-I$OPT_RUSTLS/include +- rustlslib=$OPT_RUSTLS/lib$libsuff ++ if test "$PKGTEST" != "yes"; then ++ ++ addld=-L$PREFIX_RUSTLS/lib$libsuff ++ addcflags=-I$PREFIX_RUSTLS/include + +- LDFLAGS="$LDFLAGS $addld" +- if test "$addcflags" != "-I/usr/include"; then +- CPPFLAGS="$CPPFLAGS $addcflags" +- fi ++ LDFLAGS="$LDFLAGS $addld" ++ if test "$addcflags" != "-I/usr/include"; then ++ CPPFLAGS="$CPPFLAGS $addcflags" ++ fi + +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for rustls_connection_read in -lrustls" >&5 ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for rustls_connection_read in -lrustls" >&5 + printf %s "checking for rustls_connection_read in -lrustls... " >&6; } + if test ${ac_cv_lib_rustls_rustls_connection_read+y} + then : +@@ -28309,40 +28506,233 @@ printf "%s\n" "$ac_cv_lib_rustls_rustls_connection_read" >&6; } + if test "x$ac_cv_lib_rustls_rustls_connection_read" = xyes + then : + +- ++ + printf "%s\n" "@%:@define USE_RUSTLS 1" >>confdefs.h + +- USE_RUSTLS=1 ++ USE_RUSTLS=1 + +- RUSTLS_ENABLED=1 +- USE_RUSTLS="yes" +- ssl_msg="rustls" +- test rustls != "$DEFAULT_SSL_BACKEND" || VALID_DEFAULT_SSL_BACKEND=yes +- ++ RUSTLS_ENABLED=1 ++ USE_RUSTLS="yes" ++ ssl_msg="rustls" ++ test rustls != "$DEFAULT_SSL_BACKEND" || VALID_DEFAULT_SSL_BACKEND=yes ++ + else $as_nop + as_fn_error $? "--with-rustls was specified but could not find rustls." "$LINENO" 5 + fi + ++ ++ USE_RUSTLS="yes" ++ ssl_msg="rustls" ++ ++ LIB_RUSTLS="$PREFIX_RUSTLS/lib$libsuff" ++ if test "$PREFIX_RUSTLS" != "/usr" ; then ++ SSL_LDFLAGS="-L$LIB_RUSTLS" ++ SSL_CPPFLAGS="-I$PREFIX_RUSTLS/include" ++ fi ++ fi ++ ;; ++ esac ++ ++ if test "$PKGTEST" = "yes"; then ++ ++ ++ if test -n "$PKG_CONFIG"; then ++ PKGCONFIG="$PKG_CONFIG" ++ else ++ if test -n "$ac_tool_prefix"; then ++ # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. ++set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_path_PKGCONFIG+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ case $PKGCONFIG in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_PKGCONFIG="$PKGCONFIG" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++as_dummy="$PATH:/usr/bin:/usr/local/bin" ++for as_dir in $as_dummy ++do ++ IFS=$as_save_IFS ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ++ ac_cv_path_PKGCONFIG="$as_dir$ac_word$ac_exec_ext" ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++ ;; ++esac ++fi ++PKGCONFIG=$ac_cv_path_PKGCONFIG ++if test -n "$PKGCONFIG"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5 ++printf "%s\n" "$PKGCONFIG" >&6; } ++else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++fi ++ ++ ++fi ++if test -z "$ac_cv_path_PKGCONFIG"; then ++ ac_pt_PKGCONFIG=$PKGCONFIG ++ # Extract the first word of "pkg-config", so it can be a program name with args. ++set dummy pkg-config; ac_word=$2 ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_path_ac_pt_PKGCONFIG+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ case $ac_pt_PKGCONFIG in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_ac_pt_PKGCONFIG="$ac_pt_PKGCONFIG" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++as_dummy="$PATH:/usr/bin:/usr/local/bin" ++for as_dir in $as_dummy ++do ++ IFS=$as_save_IFS ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ++ ac_cv_path_ac_pt_PKGCONFIG="$as_dir$ac_word$ac_exec_ext" ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++ ;; ++esac ++fi ++ac_pt_PKGCONFIG=$ac_cv_path_ac_pt_PKGCONFIG ++if test -n "$ac_pt_PKGCONFIG"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5 ++printf "%s\n" "$ac_pt_PKGCONFIG" >&6; } ++else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++fi ++ ++ if test "x$ac_pt_PKGCONFIG" = x; then ++ PKGCONFIG="no" ++ else ++ case $cross_compiling:$ac_tool_warned in ++yes:) ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 ++printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ++ac_tool_warned=yes ;; ++esac ++ PKGCONFIG=$ac_pt_PKGCONFIG ++ fi ++else ++ PKGCONFIG="$ac_cv_path_PKGCONFIG" ++fi ++ + fi + +- if test "x$USE_RUSTLS" = "xyes"; then +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: detected rustls" >&5 +-printf "%s\n" "$as_me: detected rustls" >&6;} +- check_for_ca_bundle=1 ++ if test "x$PKGCONFIG" != "xno"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for rustls options with pkg-config" >&5 ++printf %s "checking for rustls options with pkg-config... " >&6; } ++ itexists=` ++ if test -n "$RUSTLS_PCDIR"; then ++ PKG_CONFIG_LIBDIR="$RUSTLS_PCDIR" ++ export PKG_CONFIG_LIBDIR ++ fi ++ $PKGCONFIG --exists rustls >/dev/null 2>&1 && echo 1` + +- LIBS="-lrustls -lpthread -ldl -lm $LIBS" ++ if test -z "$itexists"; then ++ PKGCONFIG="no" ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++ else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5 ++printf "%s\n" "found" >&6; } ++ fi ++ fi + +- if test -n "$rustlslib"; then +- if test "x$cross_compiling" != "xyes"; then +- CURL_LIBRARY_PATH="$CURL_LIBRARY_PATH:$rustlslib" +- export CURL_LIBRARY_PATH +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Added $rustlslib to CURL_LIBRARY_PATH" >&5 +-printf "%s\n" "$as_me: Added $rustlslib to CURL_LIBRARY_PATH" >&6;} +- fi ++ ++ if test "$PKGCONFIG" != "no" ; then ++ SSL_LIBS=` ++ if test -n "$RUSTLS_PCDIR"; then ++ PKG_CONFIG_LIBDIR="$RUSTLS_PCDIR" ++ export PKG_CONFIG_LIBDIR ++ fi ++ $PKGCONFIG --libs-only-l --libs-only-other rustls 2>/dev/null` ++ ++ SSL_LDFLAGS=` ++ if test -n "$RUSTLS_PCDIR"; then ++ PKG_CONFIG_LIBDIR="$RUSTLS_PCDIR" ++ export PKG_CONFIG_LIBDIR ++ fi ++ $PKGCONFIG --libs-only-L rustls 2>/dev/null` ++ ++ SSL_CPPFLAGS=` ++ if test -n "$RUSTLS_PCDIR"; then ++ PKG_CONFIG_LIBDIR="$RUSTLS_PCDIR" ++ export PKG_CONFIG_LIBDIR ++ fi ++ $PKGCONFIG --cflags-only-I rustls 2>/dev/null` ++ ++ ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: pkg-config: SSL_LIBS: \"$SSL_LIBS\"" >&5 ++printf "%s\n" "$as_me: pkg-config: SSL_LIBS: \"$SSL_LIBS\"" >&6;} ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: pkg-config: SSL_LDFLAGS: \"$SSL_LDFLAGS\"" >&5 ++printf "%s\n" "$as_me: pkg-config: SSL_LDFLAGS: \"$SSL_LDFLAGS\"" >&6;} ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: pkg-config: SSL_CPPFLAGS: \"$SSL_CPPFLAGS\"" >&5 ++printf "%s\n" "$as_me: pkg-config: SSL_CPPFLAGS: \"$SSL_CPPFLAGS\"" >&6;} ++ ++ LIB_RUSTLS=`echo $SSL_LDFLAGS | sed -e 's/^-L//'` ++ ++ LIBS="$SSL_LIBS $LIBS" ++ USE_RUSTLS="yes" ++ ssl_msg="rustls" ++ else ++ as_fn_error $? "pkg-config: Could not find rustls" "$LINENO" 5 ++ fi ++ ++ else ++ LIBS="-lrustls -lpthread -ldl -lm $LIBS" ++ fi ++ ++ CPPFLAGS="$CLEAN_CPPFLAGS $SSL_CPPFLAGS" ++ LDFLAGS="$CLAN_LDFLAGS $SSL_LDFLAGS" ++ ++ if test "x$USE_RUSTLS" = "xyes"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: detected rustls" >&5 ++printf "%s\n" "$as_me: detected rustls" >&6;} ++ check_for_ca_bundle=1 ++ ++ if test -n "$LIB_RUSTLS"; then ++ if test "x$cross_compiling" != "xyes"; then ++ CURL_LIBRARY_PATH="$CURL_LIBRARY_PATH:$LIB_RUSTLS" ++ export CURL_LIBRARY_PATH ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Added $LIB_RUSTLS to CURL_LIBRARY_PATH" >&5 ++printf "%s\n" "$as_me: Added $LIB_RUSTLS to CURL_LIBRARY_PATH" >&6;} + fi + fi ++ fi + +- fi + test -z "$ssl_msg" || ssl_backends="${ssl_backends:+$ssl_backends, }$ssl_msg" + fi + +@@ -28579,23 +28969,194 @@ printf "%s\n" "@%:@define CURL_CA_FALLBACK 1" >>confdefs.h + fi + + ++OPT_LIBPSL=off + + @%:@ Check whether --with-libpsl was given. + if test ${with_libpsl+y} + then : +- withval=$with_libpsl; with_libpsl=$withval ++ withval=$with_libpsl; OPT_LIBPSL=$withval ++fi ++ ++ ++if test X"$OPT_LIBPSL" != Xno; then ++ CLEANLDFLAGS="$LDFLAGS" ++ CLEANCPPFLAGS="$CPPFLAGS" ++ CLEANLIBS="$LIBS" ++ ++ case "$OPT_LIBPSL" in ++ yes) ++ ++ if test -n "$PKG_CONFIG"; then ++ PKGCONFIG="$PKG_CONFIG" ++ else ++ if test -n "$ac_tool_prefix"; then ++ # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. ++set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_path_PKGCONFIG+y} ++then : ++ printf %s "(cached) " >&6 + else $as_nop +- with_libpsl=yes ++ case $PKGCONFIG in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_PKGCONFIG="$PKGCONFIG" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++as_dummy="$PATH:/usr/bin:/usr/local/bin" ++for as_dir in $as_dummy ++do ++ IFS=$as_save_IFS ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ++ ac_cv_path_PKGCONFIG="$as_dir$ac_word$ac_exec_ext" ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++ ;; ++esac ++fi ++PKGCONFIG=$ac_cv_path_PKGCONFIG ++if test -n "$PKGCONFIG"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5 ++printf "%s\n" "$PKGCONFIG" >&6; } ++else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + fi + +-if test $with_libpsl != "no"; then +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing psl_builtin" >&5 +-printf %s "checking for library containing psl_builtin... " >&6; } +-if test ${ac_cv_search_psl_builtin+y} ++ ++fi ++if test -z "$ac_cv_path_PKGCONFIG"; then ++ ac_pt_PKGCONFIG=$PKGCONFIG ++ # Extract the first word of "pkg-config", so it can be a program name with args. ++set dummy pkg-config; ac_word=$2 ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_path_ac_pt_PKGCONFIG+y} + then : + printf %s "(cached) " >&6 + else $as_nop +- ac_func_search_save_LIBS=$LIBS ++ case $ac_pt_PKGCONFIG in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_ac_pt_PKGCONFIG="$ac_pt_PKGCONFIG" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++as_dummy="$PATH:/usr/bin:/usr/local/bin" ++for as_dir in $as_dummy ++do ++ IFS=$as_save_IFS ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ++ ac_cv_path_ac_pt_PKGCONFIG="$as_dir$ac_word$ac_exec_ext" ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++ ;; ++esac ++fi ++ac_pt_PKGCONFIG=$ac_cv_path_ac_pt_PKGCONFIG ++if test -n "$ac_pt_PKGCONFIG"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5 ++printf "%s\n" "$ac_pt_PKGCONFIG" >&6; } ++else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++fi ++ ++ if test "x$ac_pt_PKGCONFIG" = x; then ++ PKGCONFIG="no" ++ else ++ case $cross_compiling:$ac_tool_warned in ++yes:) ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 ++printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ++ac_tool_warned=yes ;; ++esac ++ PKGCONFIG=$ac_pt_PKGCONFIG ++ fi ++else ++ PKGCONFIG="$ac_cv_path_PKGCONFIG" ++fi ++ ++ fi ++ ++ if test "x$PKGCONFIG" != "xno"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libpsl options with pkg-config" >&5 ++printf %s "checking for libpsl options with pkg-config... " >&6; } ++ itexists=` ++ if test -n ""; then ++ PKG_CONFIG_LIBDIR="" ++ export PKG_CONFIG_LIBDIR ++ fi ++ $PKGCONFIG --exists libpsl >/dev/null 2>&1 && echo 1` ++ ++ if test -z "$itexists"; then ++ PKGCONFIG="no" ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++ else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5 ++printf "%s\n" "found" >&6; } ++ fi ++ fi ++ ++ ++ if test "$PKGCONFIG" != "no" ; then ++ LIB_PSL=`$PKGCONFIG --libs-only-l libpsl` ++ LD_PSL=`$PKGCONFIG --libs-only-L libpsl` ++ CPP_PSL=`$PKGCONFIG --cflags-only-I libpsl` ++ else ++ LIB_PSL="-lpsl" ++ fi ++ ++ ;; ++ off) ++ LIB_PSL="-lpsl" ++ ;; ++ *) ++ LIB_PSL="-lpsl" ++ PREFIX_PSL=$OPT_LIBPSL ++ ;; ++ esac ++ ++ if test -n "$PREFIX_PSL"; then ++ LD_PSL=-L${PREFIX_PSL}/lib$libsuff ++ CPP_PSL=-I${PREFIX_PSL}/include ++ fi ++ ++ LDFLAGS="$LDFLAGS $LD_PSL" ++ CPPFLAGS="$CPPFLAGS $CPP_PSL" ++ LIBS="$LIB_PSL $LIBS" ++ ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for psl_builtin in -lpsl" >&5 ++printf %s "checking for psl_builtin in -lpsl... " >&6; } ++if test ${ac_cv_lib_psl_psl_builtin+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lpsl $LIBS" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + +@@ -28611,53 +29172,51 @@ return psl_builtin (); + return 0; + } + _ACEOF +-for ac_lib in '' psl +-do +- if test -z "$ac_lib"; then +- ac_res="none required" +- else +- ac_res=-l$ac_lib +- LIBS="-l$ac_lib $ac_func_search_save_LIBS" +- fi +- if ac_fn_c_try_link "$LINENO" ++if ac_fn_c_try_link "$LINENO" + then : +- ac_cv_search_psl_builtin=$ac_res ++ ac_cv_lib_psl_psl_builtin=yes ++else $as_nop ++ ac_cv_lib_psl_psl_builtin=no + fi + rm -f core conftest.err conftest.$ac_objext conftest.beam \ +- conftest$ac_exeext +- if test ${ac_cv_search_psl_builtin+y} +-then : +- break ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS + fi +-done +-if test ${ac_cv_search_psl_builtin+y} ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_psl_psl_builtin" >&5 ++printf "%s\n" "$ac_cv_lib_psl_psl_builtin" >&6; } ++if test "x$ac_cv_lib_psl_psl_builtin" = xyes + then : + +-else $as_nop +- ac_cv_search_psl_builtin=no +-fi +-rm conftest.$ac_ext +-LIBS=$ac_func_search_save_LIBS +-fi +-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_psl_builtin" >&5 +-printf "%s\n" "$ac_cv_search_psl_builtin" >&6; } +-ac_res=$ac_cv_search_psl_builtin +-if test "$ac_res" != no ++ for ac_header in libpsl.h ++do : ++ ac_fn_c_check_header_compile "$LINENO" "libpsl.h" "ac_cv_header_libpsl_h" "$ac_includes_default" ++if test "x$ac_cv_header_libpsl_h" = xyes + then : +- test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" +- curl_psl_msg="enabled"; +- ++ printf "%s\n" "@%:@define HAVE_LIBPSL_H 1" >>confdefs.h ++ curl_psl_msg="enabled" ++ LIBPSL_ENABLED=1 ++ + printf "%s\n" "@%:@define USE_LIBPSL 1" >>confdefs.h + ++ USE_LIBPSL=1 ++ + ++fi ++ ++done ++ + else $as_nop +- curl_psl_msg="no (libpsl not found)"; +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: libpsl was not found" >&5 +-printf "%s\n" "$as_me: WARNING: libpsl was not found" >&2;} +- ++ LDFLAGS=$CLEANLDFLAGS ++ CPPFLAGS=$CLEANCPPFLAGS ++ LIBS=$CLEANLIBS + + fi + ++ ++ if test X"$OPT_LIBPSL" != Xoff && ++ test "$LIBPSL_ENABLED" != "1"; then ++ as_fn_error $? "libpsl libs and/or directories were not found where specified!" "$LINENO" 5 ++ fi + fi + if test "$curl_psl_msg" = "enabled"; then + USE_LIBPSL_TRUE= +@@ -30616,6 +31175,11 @@ esac + + curl_tcp2_msg="no (--with-ngtcp2)" + if test X"$want_tcp2" != Xno; then ++ ++ if test "$QUIC_ENABLED" != "yes"; then ++ as_fn_error $? "the detected TLS library does not support QUIC, making --with-ngtcp2 a no-no" "$LINENO" 5 ++ fi ++ + CLEANLDFLAGS="$LDFLAGS" + CLEANCPPFLAGS="$CPPFLAGS" + CLEANLIBS="$LIBS" +@@ -30869,7 +31433,260 @@ fi + + fi + +-if test "x$NGTCP2_ENABLED" = "x1" -a "x$OPENSSL_ENABLED" = "x1"; then ++if test "x$NGTCP2_ENABLED" = "x1" -a "x$OPENSSL_ENABLED" = "x1" -a "x$OPENSSL_IS_BORINGSSL" != "x1"; then ++ CLEANLDFLAGS="$LDFLAGS" ++ CLEANCPPFLAGS="$CPPFLAGS" ++ CLEANLIBS="$LIBS" ++ ++ ++ if test -n "$PKG_CONFIG"; then ++ PKGCONFIG="$PKG_CONFIG" ++ else ++ if test -n "$ac_tool_prefix"; then ++ # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. ++set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_path_PKGCONFIG+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ case $PKGCONFIG in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_PKGCONFIG="$PKGCONFIG" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++as_dummy="$PATH:/usr/bin:/usr/local/bin" ++for as_dir in $as_dummy ++do ++ IFS=$as_save_IFS ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ++ ac_cv_path_PKGCONFIG="$as_dir$ac_word$ac_exec_ext" ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++ ;; ++esac ++fi ++PKGCONFIG=$ac_cv_path_PKGCONFIG ++if test -n "$PKGCONFIG"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5 ++printf "%s\n" "$PKGCONFIG" >&6; } ++else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++fi ++ ++ ++fi ++if test -z "$ac_cv_path_PKGCONFIG"; then ++ ac_pt_PKGCONFIG=$PKGCONFIG ++ # Extract the first word of "pkg-config", so it can be a program name with args. ++set dummy pkg-config; ac_word=$2 ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_path_ac_pt_PKGCONFIG+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ case $ac_pt_PKGCONFIG in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_ac_pt_PKGCONFIG="$ac_pt_PKGCONFIG" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++as_dummy="$PATH:/usr/bin:/usr/local/bin" ++for as_dir in $as_dummy ++do ++ IFS=$as_save_IFS ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ++ ac_cv_path_ac_pt_PKGCONFIG="$as_dir$ac_word$ac_exec_ext" ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++ ;; ++esac ++fi ++ac_pt_PKGCONFIG=$ac_cv_path_ac_pt_PKGCONFIG ++if test -n "$ac_pt_PKGCONFIG"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5 ++printf "%s\n" "$ac_pt_PKGCONFIG" >&6; } ++else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++fi ++ ++ if test "x$ac_pt_PKGCONFIG" = x; then ++ PKGCONFIG="no" ++ else ++ case $cross_compiling:$ac_tool_warned in ++yes:) ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 ++printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ++ac_tool_warned=yes ;; ++esac ++ PKGCONFIG=$ac_pt_PKGCONFIG ++ fi ++else ++ PKGCONFIG="$ac_cv_path_PKGCONFIG" ++fi ++ ++ fi ++ ++ if test "x$PKGCONFIG" != "xno"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libngtcp2_crypto_quictls options with pkg-config" >&5 ++printf %s "checking for libngtcp2_crypto_quictls options with pkg-config... " >&6; } ++ itexists=` ++ if test -n "$want_tcp2_path"; then ++ PKG_CONFIG_LIBDIR="$want_tcp2_path" ++ export PKG_CONFIG_LIBDIR ++ fi ++ $PKGCONFIG --exists libngtcp2_crypto_quictls >/dev/null 2>&1 && echo 1` ++ ++ if test -z "$itexists"; then ++ PKGCONFIG="no" ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++ else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5 ++printf "%s\n" "found" >&6; } ++ fi ++ fi ++ ++ ++ if test "$PKGCONFIG" != "no" ; then ++ LIB_NGTCP2_CRYPTO_QUICTLS=` ++ if test -n "$want_tcp2_path"; then ++ PKG_CONFIG_LIBDIR="$want_tcp2_path" ++ export PKG_CONFIG_LIBDIR ++ fi ++ ++ $PKGCONFIG --libs-only-l libngtcp2_crypto_quictls` ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -l is $LIB_NGTCP2_CRYPTO_QUICTLS" >&5 ++printf "%s\n" "$as_me: -l is $LIB_NGTCP2_CRYPTO_QUICTLS" >&6;} ++ ++ CPP_NGTCP2_CRYPTO_QUICTLS=` ++ if test -n "$want_tcp2_path"; then ++ PKG_CONFIG_LIBDIR="$want_tcp2_path" ++ export PKG_CONFIG_LIBDIR ++ fi ++ $PKGCONFIG --cflags-only-I libngtcp2_crypto_quictls` ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -I is $CPP_NGTCP2_CRYPTO_QUICTLS" >&5 ++printf "%s\n" "$as_me: -I is $CPP_NGTCP2_CRYPTO_QUICTLS" >&6;} ++ ++ LD_NGTCP2_CRYPTO_QUICTLS=` ++ if test -n "$want_tcp2_path"; then ++ PKG_CONFIG_LIBDIR="$want_tcp2_path" ++ export PKG_CONFIG_LIBDIR ++ fi ++ ++ $PKGCONFIG --libs-only-L libngtcp2_crypto_quictls` ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -L is $LD_NGTCP2_CRYPTO_QUICTLS" >&5 ++printf "%s\n" "$as_me: -L is $LD_NGTCP2_CRYPTO_QUICTLS" >&6;} ++ ++ LDFLAGS="$LDFLAGS $LD_NGTCP2_CRYPTO_QUICTLS" ++ CPPFLAGS="$CPPFLAGS $CPP_NGTCP2_CRYPTO_QUICTLS" ++ LIBS="$LIB_NGTCP2_CRYPTO_QUICTLS $LIBS" ++ ++ if test "x$cross_compiling" != "xyes"; then ++ DIR_NGTCP2_CRYPTO_QUICTLS=`echo $LD_NGTCP2_CRYPTO_QUICTLS | $SED -e 's/^-L//'` ++ fi ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ngtcp2_crypto_recv_client_initial_cb in -lngtcp2_crypto_quictls" >&5 ++printf %s "checking for ngtcp2_crypto_recv_client_initial_cb in -lngtcp2_crypto_quictls... " >&6; } ++if test ${ac_cv_lib_ngtcp2_crypto_quictls_ngtcp2_crypto_recv_client_initial_cb+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lngtcp2_crypto_quictls $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ ++#ifdef __cplusplus ++extern "C" ++#endif ++char ngtcp2_crypto_recv_client_initial_cb (); ++int main (void) ++{ ++return ngtcp2_crypto_recv_client_initial_cb (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO" ++then : ++ ac_cv_lib_ngtcp2_crypto_quictls_ngtcp2_crypto_recv_client_initial_cb=yes ++else $as_nop ++ ac_cv_lib_ngtcp2_crypto_quictls_ngtcp2_crypto_recv_client_initial_cb=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ngtcp2_crypto_quictls_ngtcp2_crypto_recv_client_initial_cb" >&5 ++printf "%s\n" "$ac_cv_lib_ngtcp2_crypto_quictls_ngtcp2_crypto_recv_client_initial_cb" >&6; } ++if test "x$ac_cv_lib_ngtcp2_crypto_quictls_ngtcp2_crypto_recv_client_initial_cb" = xyes ++then : ++ ++ for ac_header in ngtcp2/ngtcp2_crypto.h ++do : ++ ac_fn_c_check_header_compile "$LINENO" "ngtcp2/ngtcp2_crypto.h" "ac_cv_header_ngtcp2_ngtcp2_crypto_h" "$ac_includes_default" ++if test "x$ac_cv_header_ngtcp2_ngtcp2_crypto_h" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_NGTCP2_NGTCP2_CRYPTO_H 1" >>confdefs.h ++ NGTCP2_ENABLED=1 ++ ++printf "%s\n" "@%:@define USE_NGTCP2_CRYPTO_QUICTLS 1" >>confdefs.h ++ ++ USE_NGTCP2_CRYPTO_QUICTLS=1 ++ ++ CURL_LIBRARY_PATH="$CURL_LIBRARY_PATH:$DIR_NGTCP2_CRYPTO_QUICTLS" ++ export CURL_LIBRARY_PATH ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Added $DIR_NGTCP2_CRYPTO_QUICTLS to CURL_LIBRARY_PATH" >&5 ++printf "%s\n" "$as_me: Added $DIR_NGTCP2_CRYPTO_QUICTLS to CURL_LIBRARY_PATH" >&6;} ++ ++fi ++ ++done ++ ++else $as_nop ++ LDFLAGS=$CLEANLDFLAGS ++ CPPFLAGS=$CLEANCPPFLAGS ++ LIBS=$CLEANLIBS ++ ++fi ++ ++ ++ else ++ if test X"$want_tcp2" != Xdefault; then ++ as_fn_error $? "--with-ngtcp2 was specified but could not find ngtcp2_crypto_quictls pkg-config file." "$LINENO" 5 ++ fi ++ fi ++fi ++ ++if test "x$NGTCP2_ENABLED" = "x1" -a "x$OPENSSL_ENABLED" = "x1" -a "x$OPENSSL_IS_BORINGSSL" = "x1"; then + CLEANLDFLAGS="$LDFLAGS" + CLEANCPPFLAGS="$CPPFLAGS" + CLEANLIBS="$LIBS" +@@ -30991,14 +31808,14 @@ fi + fi + + if test "x$PKGCONFIG" != "xno"; then +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libngtcp2_crypto_quictls options with pkg-config" >&5 +-printf %s "checking for libngtcp2_crypto_quictls options with pkg-config... " >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libngtcp2_crypto_boringssl options with pkg-config" >&5 ++printf %s "checking for libngtcp2_crypto_boringssl options with pkg-config... " >&6; } + itexists=` + if test -n "$want_tcp2_path"; then + PKG_CONFIG_LIBDIR="$want_tcp2_path" + export PKG_CONFIG_LIBDIR + fi +- $PKGCONFIG --exists libngtcp2_crypto_quictls >/dev/null 2>&1 && echo 1` ++ $PKGCONFIG --exists libngtcp2_crypto_boringssl >/dev/null 2>&1 && echo 1` + + if test -z "$itexists"; then + PKGCONFIG="no" +@@ -31012,50 +31829,50 @@ printf "%s\n" "found" >&6; } + + + if test "$PKGCONFIG" != "no" ; then +- LIB_NGTCP2_CRYPTO_QUICTLS=` ++ LIB_NGTCP2_CRYPTO_BORINGSSL=` + if test -n "$want_tcp2_path"; then + PKG_CONFIG_LIBDIR="$want_tcp2_path" + export PKG_CONFIG_LIBDIR + fi + +- $PKGCONFIG --libs-only-l libngtcp2_crypto_quictls` +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -l is $LIB_NGTCP2_CRYPTO_QUICTLS" >&5 +-printf "%s\n" "$as_me: -l is $LIB_NGTCP2_CRYPTO_QUICTLS" >&6;} ++ $PKGCONFIG --libs-only-l libngtcp2_crypto_boringssl` ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -l is $LIB_NGTCP2_CRYPTO_BORINGSSL" >&5 ++printf "%s\n" "$as_me: -l is $LIB_NGTCP2_CRYPTO_BORINGSSL" >&6;} + +- CPP_NGTCP2_CRYPTO_QUICTLS=` ++ CPP_NGTCP2_CRYPTO_BORINGSSL=` + if test -n "$want_tcp2_path"; then + PKG_CONFIG_LIBDIR="$want_tcp2_path" + export PKG_CONFIG_LIBDIR + fi +- $PKGCONFIG --cflags-only-I libngtcp2_crypto_quictls` +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -I is $CPP_NGTCP2_CRYPTO_QUICTLS" >&5 +-printf "%s\n" "$as_me: -I is $CPP_NGTCP2_CRYPTO_QUICTLS" >&6;} ++ $PKGCONFIG --cflags-only-I libngtcp2_crypto_boringssl` ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -I is $CPP_NGTCP2_CRYPTO_BORINGSSL" >&5 ++printf "%s\n" "$as_me: -I is $CPP_NGTCP2_CRYPTO_BORINGSSL" >&6;} + +- LD_NGTCP2_CRYPTO_QUICTLS=` ++ LD_NGTCP2_CRYPTO_BORINGSSL=` + if test -n "$want_tcp2_path"; then + PKG_CONFIG_LIBDIR="$want_tcp2_path" + export PKG_CONFIG_LIBDIR + fi + +- $PKGCONFIG --libs-only-L libngtcp2_crypto_quictls` +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -L is $LD_NGTCP2_CRYPTO_QUICTLS" >&5 +-printf "%s\n" "$as_me: -L is $LD_NGTCP2_CRYPTO_QUICTLS" >&6;} ++ $PKGCONFIG --libs-only-L libngtcp2_crypto_boringssl` ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -L is $LD_NGTCP2_CRYPTO_BORINGSSL" >&5 ++printf "%s\n" "$as_me: -L is $LD_NGTCP2_CRYPTO_BORINGSSL" >&6;} + +- LDFLAGS="$LDFLAGS $LD_NGTCP2_CRYPTO_QUICTLS" +- CPPFLAGS="$CPPFLAGS $CPP_NGTCP2_CRYPTO_QUICTLS" +- LIBS="$LIB_NGTCP2_CRYPTO_QUICTLS $LIBS" ++ LDFLAGS="$LDFLAGS $LD_NGTCP2_CRYPTO_BORINGSSL" ++ CPPFLAGS="$CPPFLAGS $CPP_NGTCP2_CRYPTO_BORINGSSL" ++ LIBS="$LIB_NGTCP2_CRYPTO_BORINGSSL $LIBS" + + if test "x$cross_compiling" != "xyes"; then +- DIR_NGTCP2_CRYPTO_QUICTLS=`echo $LD_NGTCP2_CRYPTO_QUICTLS | $SED -e 's/^-L//'` ++ DIR_NGTCP2_CRYPTO_BORINGSSL=`echo $LD_NGTCP2_CRYPTO_BORINGSSL | $SED -e 's/^-L//'` + fi +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ngtcp2_crypto_recv_client_initial_cb in -lngtcp2_crypto_quictls" >&5 +-printf %s "checking for ngtcp2_crypto_recv_client_initial_cb in -lngtcp2_crypto_quictls... " >&6; } +-if test ${ac_cv_lib_ngtcp2_crypto_quictls_ngtcp2_crypto_recv_client_initial_cb+y} ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ngtcp2_crypto_recv_client_initial_cb in -lngtcp2_crypto_boringssl" >&5 ++printf %s "checking for ngtcp2_crypto_recv_client_initial_cb in -lngtcp2_crypto_boringssl... " >&6; } ++if test ${ac_cv_lib_ngtcp2_crypto_boringssl_ngtcp2_crypto_recv_client_initial_cb+y} + then : + printf %s "(cached) " >&6 + else $as_nop + ac_check_lib_save_LIBS=$LIBS +-LIBS="-lngtcp2_crypto_quictls $LIBS" ++LIBS="-lngtcp2_crypto_boringssl $LIBS" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + +@@ -31073,17 +31890,17 @@ return ngtcp2_crypto_recv_client_initial_cb (); + _ACEOF + if ac_fn_c_try_link "$LINENO" + then : +- ac_cv_lib_ngtcp2_crypto_quictls_ngtcp2_crypto_recv_client_initial_cb=yes ++ ac_cv_lib_ngtcp2_crypto_boringssl_ngtcp2_crypto_recv_client_initial_cb=yes + else $as_nop +- ac_cv_lib_ngtcp2_crypto_quictls_ngtcp2_crypto_recv_client_initial_cb=no ++ ac_cv_lib_ngtcp2_crypto_boringssl_ngtcp2_crypto_recv_client_initial_cb=no + fi + rm -f core conftest.err conftest.$ac_objext conftest.beam \ + conftest$ac_exeext conftest.$ac_ext + LIBS=$ac_check_lib_save_LIBS + fi +-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ngtcp2_crypto_quictls_ngtcp2_crypto_recv_client_initial_cb" >&5 +-printf "%s\n" "$ac_cv_lib_ngtcp2_crypto_quictls_ngtcp2_crypto_recv_client_initial_cb" >&6; } +-if test "x$ac_cv_lib_ngtcp2_crypto_quictls_ngtcp2_crypto_recv_client_initial_cb" = xyes ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ngtcp2_crypto_boringssl_ngtcp2_crypto_recv_client_initial_cb" >&5 ++printf "%s\n" "$ac_cv_lib_ngtcp2_crypto_boringssl_ngtcp2_crypto_recv_client_initial_cb" >&6; } ++if test "x$ac_cv_lib_ngtcp2_crypto_boringssl_ngtcp2_crypto_recv_client_initial_cb" = xyes + then : + + for ac_header in ngtcp2/ngtcp2_crypto.h +@@ -31094,14 +31911,14 @@ then : + printf "%s\n" "@%:@define HAVE_NGTCP2_NGTCP2_CRYPTO_H 1" >>confdefs.h + NGTCP2_ENABLED=1 + +-printf "%s\n" "@%:@define USE_NGTCP2_CRYPTO_QUICTLS 1" >>confdefs.h ++printf "%s\n" "@%:@define USE_NGTCP2_CRYPTO_BORINGSSL 1" >>confdefs.h + +- USE_NGTCP2_CRYPTO_QUICTLS=1 ++ USE_NGTCP2_CRYPTO_BORINGSSL=1 + +- CURL_LIBRARY_PATH="$CURL_LIBRARY_PATH:$DIR_NGTCP2_CRYPTO_QUICTLS" ++ CURL_LIBRARY_PATH="$CURL_LIBRARY_PATH:$DIR_NGTCP2_CRYPTO_BORINGSSL" + export CURL_LIBRARY_PATH +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Added $DIR_NGTCP2_CRYPTO_QUICTLS to CURL_LIBRARY_PATH" >&5 +-printf "%s\n" "$as_me: Added $DIR_NGTCP2_CRYPTO_QUICTLS to CURL_LIBRARY_PATH" >&6;} ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Added $DIR_NGTCP2_CRYPTO_BORINGSSL to CURL_LIBRARY_PATH" >&5 ++printf "%s\n" "$as_me: Added $DIR_NGTCP2_CRYPTO_BORINGSSL to CURL_LIBRARY_PATH" >&6;} + + fi + +@@ -31117,7 +31934,7 @@ fi + + else + if test X"$want_tcp2" != Xdefault; then +- as_fn_error $? "--with-ngtcp2 was specified but could not find ngtcp2_crypto_quictls pkg-config file." "$LINENO" 5 ++ as_fn_error $? "--with-ngtcp2 was specified but could not find ngtcp2_crypto_boringssl pkg-config file." "$LINENO" 5 + fi + fi + fi +@@ -31629,11 +32446,52 @@ fi + fi + + ++OPT_OPENSSL_QUIC="no" ++ ++if test "x$disable_http" = "xyes" -o "x$OPENSSL_ENABLED" != "x1"; then ++ # without HTTP or without openssl, no use ++ OPT_OPENSSL_QUIC="no" ++fi ++ ++ ++@%:@ Check whether --with-openssl-quic was given. ++if test ${with_openssl_quic+y} ++then : ++ withval=$with_openssl_quic; OPT_OPENSSL_QUIC=$withval ++fi ++ ++case "$OPT_OPENSSL_QUIC" in ++ no) ++ want_openssl_quic="no" ++ ;; ++ yes) ++ want_openssl_quic="yes" ++ ;; ++esac ++ ++curl_openssl_quic_msg="no (--with-openssl-quic)" ++if test "x$want_openssl_quic" = "xyes"; then ++ ++ if test "$NGTCP2_ENABLED" = 1; then ++ as_fn_error $? "--with-openssl-quic and --with-ngtcp2 are mutually exclusive" "$LINENO" 5 ++ fi ++ if test "$HAVE_OPENSSL_QUIC" != 1; then ++ as_fn_error $? "--with-openssl-quic requires quic support in OpenSSL" "$LINENO" 5 ++ fi ++ ++printf "%s\n" "@%:@define USE_OPENSSL_QUIC 1" >>confdefs.h ++ ++ USE_OPENSSL_QUIC=1 ++ ++fi ++ ++ + OPT_NGHTTP3="yes" + +-if test "x$NGTCP2_ENABLED" = "x"; then +- # without ngtcp2, nghttp3 is of no use for us ++if test "x$USE_NGTCP2" != "x1" -a "x$USE_OPENSSL_QUIC" != "x1"; then ++ # without ngtcp2 or openssl quic, nghttp3 is of no use for us + OPT_NGHTTP3="no" ++ want_nghttp3="no" + fi + + +@@ -31659,6 +32517,7 @@ esac + + curl_http3_msg="no (--with-nghttp3)" + if test X"$want_nghttp3" != Xno; then ++ + CLEANLDFLAGS="$LDFLAGS" + CLEANCPPFLAGS="$CPPFLAGS" + CLEANLIBS="$LIBS" +@@ -31881,9 +32740,7 @@ do : + if test "x$ac_cv_header_nghttp3_nghttp3_h" = xyes + then : + printf "%s\n" "@%:@define HAVE_NGHTTP3_NGHTTP3_H 1" >>confdefs.h +- curl_h3_msg="enabled (ngtcp2 + nghttp3)" +- NGHTTP3_ENABLED=1 +- ++ + printf "%s\n" "@%:@define USE_NGHTTP3 1" >>confdefs.h + + USE_NGHTTP3=1 +@@ -31892,7 +32749,6 @@ printf "%s\n" "@%:@define USE_NGHTTP3 1" >>confdefs.h + export CURL_LIBRARY_PATH + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Added $DIR_NGHTTP3 to CURL_LIBRARY_PATH" >&5 + printf "%s\n" "$as_me: Added $DIR_NGHTTP3 to CURL_LIBRARY_PATH" >&6;} +- experimental="$experimental HTTP3" + + fi + +@@ -31915,6 +32771,31 @@ fi + fi + + ++if test "x$NGTCP2_ENABLED" = "x1" -a "x$USE_NGHTTP3" = "x1"; then ++ ++printf "%s\n" "@%:@define USE_NGTCP2_H3 1" >>confdefs.h ++ ++ USE_NGTCP2_H3=1 ++ ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: HTTP3 support is experimental" >&5 ++printf "%s\n" "$as_me: HTTP3 support is experimental" >&6;} ++ curl_h3_msg="enabled (ngtcp2 + nghttp3)" ++fi ++ ++ ++if test "x$USE_OPENSSL_QUIC" = "x1" -a "x$USE_NGHTTP3" = "x1"; then ++ experimental="$experimental HTTP3" ++ ++printf "%s\n" "@%:@define USE_OPENSSL_H3 1" >>confdefs.h ++ ++ USE_OPENSSL_H3=1 ++ ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: HTTP3 support is experimental" >&5 ++printf "%s\n" "$as_me: HTTP3 support is experimental" >&6;} ++ curl_h3_msg="enabled (openssl + nghttp3)" ++fi ++ ++ + OPT_QUICHE="no" + + if test "x$disable_http" = "xyes" -o "x$USE_NGTCP" = "x1"; then +@@ -31945,6 +32826,10 @@ esac + + if test X"$want_quiche" != Xno; then + ++ if test "$QUIC_ENABLED" != "yes"; then ++ as_fn_error $? "the detected TLS library does not support QUIC, making --with-quiche a no-no" "$LINENO" 5 ++ fi ++ + if test "$NGHTTP3_ENABLED" = 1; then + as_fn_error $? "--with-quiche and --with-ngtcp2 are mutually exclusive" "$LINENO" 5 + fi +@@ -32244,9 +33129,21 @@ esac + + if test X"$want_msh3" != Xno; then + ++ if test "$curl_cv_native_windows" != "yes"; then ++ if test "$QUIC_ENABLED" != "yes"; then ++ as_fn_error $? "the detected TLS library does not support QUIC, making --with-msh3 a no-no" "$LINENO" 5 ++ fi ++ if test "$OPENSSL_ENABLED" != "1"; then ++ as_fn_error $? "msh3 requires OpenSSL" "$LINENO" 5 ++ fi ++ fi ++ + if test "$NGHTTP3_ENABLED" = 1; then + as_fn_error $? "--with-msh3 and --with-ngtcp2 are mutually exclusive" "$LINENO" 5 + fi ++ if test "$QUICHE_ENABLED" = 1; then ++ as_fn_error $? "--with-msh3 and --with-quiche are mutually exclusive" "$LINENO" 5 ++ fi + + CLEANLDFLAGS="$LDFLAGS" + CLEANCPPFLAGS="$CPPFLAGS" +@@ -32342,9 +33239,9 @@ then : + fi + + case "$OPT_ZSH_FPATH" in +- no) ++ default|no) + ;; +- default|yes) ++ yes) + ZSH_FUNCTIONS_DIR="$datarootdir/zsh/site-functions" + + ;; +@@ -32353,6 +33250,14 @@ case "$OPT_ZSH_FPATH" in + + ;; + esac ++ if test x"$ZSH_FUNCTIONS_DIR" != x; then ++ USE_ZSH_COMPLETION_TRUE= ++ USE_ZSH_COMPLETION_FALSE='#' ++else ++ USE_ZSH_COMPLETION_TRUE='#' ++ USE_ZSH_COMPLETION_FALSE= ++fi ++ + + + OPT_FISH_FPATH=default +@@ -32364,9 +33269,9 @@ then : + fi + + case "$OPT_FISH_FPATH" in +- no) ++ default|no) + ;; +- default|yes) ++ yes) + + if test -n "$PKG_CONFIG"; then + PKGCONFIG="$PKG_CONFIG" +@@ -32515,6 +33420,14 @@ printf "%s\n" "found" >&6; } + + ;; + esac ++ if test x"$FISH_FUNCTIONS_DIR" != x; then ++ USE_FISH_COMPLETION_TRUE= ++ USE_FISH_COMPLETION_FALSE='#' ++else ++ USE_FISH_COMPLETION_TRUE='#' ++ USE_FISH_COMPLETION_FALSE= ++fi ++ + + ac_fn_c_check_header_compile "$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" " + #ifdef HAVE_SYS_TYPES_H +@@ -33753,114 +34666,6 @@ printf "%s\n" "@%:@define const /**/" >>confdefs.h + + fi + +- +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for compiler support of C99 variadic macro style" >&5 +-printf %s "checking for compiler support of C99 variadic macro style... " >&6; } +-if test ${curl_cv_variadic_macros_c99+y} +-then : +- printf %s "(cached) " >&6 +-else $as_nop +- +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext +-/* end confdefs.h. */ +- +- +-#define c99_vmacro3(first, ...) fun3(first, __VA_ARGS__) +-#define c99_vmacro2(first, ...) fun2(first, __VA_ARGS__) +- int fun3(int arg1, int arg2, int arg3); +- int fun2(int arg1, int arg2); +- int fun3(int arg1, int arg2, int arg3) +- { return arg1 + arg2 + arg3; } +- int fun2(int arg1, int arg2) +- { return arg1 + arg2; } +- +-int main (void) +-{ +- +- int res3 = c99_vmacro3(1, 2, 3); +- int res2 = c99_vmacro2(1, 2); +- +- ; +- return 0; +-} +- +-_ACEOF +-if ac_fn_c_try_compile "$LINENO" +-then : +- +- curl_cv_variadic_macros_c99="yes" +- +-else $as_nop +- +- curl_cv_variadic_macros_c99="no" +- +-fi +-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +- +-fi +-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_variadic_macros_c99" >&5 +-printf "%s\n" "$curl_cv_variadic_macros_c99" >&6; } +- case "$curl_cv_variadic_macros_c99" in +- yes) +- +-printf "%s\n" "@%:@define HAVE_VARIADIC_MACROS_C99 1" >>confdefs.h +- +- ;; +- esac +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for compiler support of old gcc variadic macro style" >&5 +-printf %s "checking for compiler support of old gcc variadic macro style... " >&6; } +-if test ${curl_cv_variadic_macros_gcc+y} +-then : +- printf %s "(cached) " >&6 +-else $as_nop +- +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext +-/* end confdefs.h. */ +- +- +-#define gcc_vmacro3(first, args...) fun3(first, args) +-#define gcc_vmacro2(first, args...) fun2(first, args) +- int fun3(int arg1, int arg2, int arg3); +- int fun2(int arg1, int arg2); +- int fun3(int arg1, int arg2, int arg3) +- { return arg1 + arg2 + arg3; } +- int fun2(int arg1, int arg2) +- { return arg1 + arg2; } +- +-int main (void) +-{ +- +- int res3 = gcc_vmacro3(1, 2, 3); +- int res2 = gcc_vmacro2(1, 2); +- +- ; +- return 0; +-} +- +-_ACEOF +-if ac_fn_c_try_compile "$LINENO" +-then : +- +- curl_cv_variadic_macros_gcc="yes" +- +-else $as_nop +- +- curl_cv_variadic_macros_gcc="no" +- +-fi +-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +- +-fi +-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_variadic_macros_gcc" >&5 +-printf "%s\n" "$curl_cv_variadic_macros_gcc" >&6; } +- case "$curl_cv_variadic_macros_gcc" in +- yes) +- +-printf "%s\n" "@%:@define HAVE_VARIADIC_MACROS_GCC 1" >>confdefs.h +- +- ;; +- esac +- + ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" + if test "x$ac_cv_type_size_t" = xyes + then : +@@ -33904,15 +34709,12 @@ else $as_nop + + + #undef inline +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + #ifndef WIN32_LEAN_AND_MEAN + #define WIN32_LEAN_AND_MEAN + #endif +-#include +-#ifdef HAVE_WINSOCK2_H + #include + #endif +-#endif + #ifdef HAVE_SYS_TYPES_H + #include + #endif +@@ -34459,6 +35261,12 @@ else $as_nop + + # The windows name? + ac_fn_c_check_type "$LINENO" "ADDRESS_FAMILY" "ac_cv_type_ADDRESS_FAMILY" " ++#ifdef _WIN32 ++#ifndef WIN32_LEAN_AND_MEAN ++#define WIN32_LEAN_AND_MEAN ++#endif ++#include ++#endif + #ifdef HAVE_SYS_SOCKET_H + #include + #endif +@@ -34586,100 +35394,13 @@ fi + + + +-curl_includes_poll="\ +-/* includes start */ +-#ifdef HAVE_SYS_TYPES_H +-# include +-#endif +-#ifdef HAVE_POLL_H +-# include +-#endif +-#ifdef HAVE_SYS_POLL_H +-# include +-#endif +-/* includes end */" +- ac_fn_c_check_header_compile "$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "$curl_includes_poll +-" +-if test "x$ac_cv_header_sys_types_h" = xyes +-then : +- printf "%s\n" "@%:@define HAVE_SYS_TYPES_H 1" >>confdefs.h +- +-fi +-ac_fn_c_check_header_compile "$LINENO" "poll.h" "ac_cv_header_poll_h" "$curl_includes_poll +-" +-if test "x$ac_cv_header_poll_h" = xyes +-then : +- printf "%s\n" "@%:@define HAVE_POLL_H 1" >>confdefs.h +- +-fi +-ac_fn_c_check_header_compile "$LINENO" "sys/poll.h" "ac_cv_header_sys_poll_h" "$curl_includes_poll +-" +-if test "x$ac_cv_header_sys_poll_h" = xyes +-then : +- printf "%s\n" "@%:@define HAVE_SYS_POLL_H 1" >>confdefs.h +- +-fi +- +- +- +- # +- tst_poll_events_macro_defined="unknown" +- # +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext +-/* end confdefs.h. */ +- +- +- $curl_includes_poll +- +-int main (void) +-{ +- +-#if defined(events) || defined(revents) +- return 0; +-#else +- force compilation error +-#endif +- +- ; +- return 0; +-} +- +-_ACEOF +-if ac_fn_c_try_compile "$LINENO" +-then : +- +- tst_poll_events_macro_defined="yes" +- +-else $as_nop +- +- tst_poll_events_macro_defined="no" +- +-fi +-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +- # +- if test "$tst_poll_events_macro_defined" = "yes"; then +- if test "x$ac_cv_header_sys_poll_h" = "xyes"; then +- +-cat >>confdefs.h <<_EOF +-@%:@define CURL_PULL_SYS_POLL_H 1 +-_EOF +- +- fi +- fi +- # +- +- +- + ac_fn_c_check_type "$LINENO" "in_addr_t" "ac_cv_type_in_addr_t" " + #undef inline +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + #ifndef WIN32_LEAN_AND_MEAN + #define WIN32_LEAN_AND_MEAN + #endif +-#include +-#ifdef HAVE_WINSOCK2_H + #include +-#endif + #else + #ifdef HAVE_SYS_TYPES_H + #include +@@ -34716,14 +35437,11 @@ else $as_nop + + + #undef inline +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + #ifndef WIN32_LEAN_AND_MEAN + #define WIN32_LEAN_AND_MEAN + #endif +-#include +-#ifdef HAVE_WINSOCK2_H + #include +-#endif + #else + #ifdef HAVE_SYS_TYPES_H + #include +@@ -34781,14 +35499,11 @@ fi + + ac_fn_c_check_type "$LINENO" "struct sockaddr_storage" "ac_cv_type_struct_sockaddr_storage" " + #undef inline +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + #ifndef WIN32_LEAN_AND_MEAN + #define WIN32_LEAN_AND_MEAN + #endif +-#include +-#ifdef HAVE_WINSOCK2_H + #include +-#endif + #else + #ifdef HAVE_SYS_TYPES_H + #include +@@ -34836,15 +35551,12 @@ printf %s "checking for select... " >&6; } + + + #undef inline +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + #ifndef WIN32_LEAN_AND_MEAN + #define WIN32_LEAN_AND_MEAN + #endif +-#include +-#ifdef HAVE_WINSOCK2_H + #include + #endif +-#endif + #ifdef HAVE_SYS_TYPES_H + #include + #endif +@@ -34852,7 +35564,7 @@ printf %s "checking for select... " >&6; } + #include + #endif + #include +-#ifndef HAVE_WINDOWS_H ++#ifndef _WIN32 + #ifdef HAVE_SYS_SELECT_H + #include + #elif defined(HAVE_UNISTD_H) +@@ -34921,14 +35633,11 @@ printf %s "checking for recv... " >&6; } + + + #undef inline +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + #ifndef WIN32_LEAN_AND_MEAN + #define WIN32_LEAN_AND_MEAN + #endif +-#include +-#ifdef HAVE_WINSOCK2_H + #include +-#endif + #else + $curl_includes_bsdsocket + #ifdef HAVE_SYS_TYPES_H +@@ -34997,14 +35706,11 @@ printf %s "checking for send... " >&6; } + + + #undef inline +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + #ifndef WIN32_LEAN_AND_MEAN + #define WIN32_LEAN_AND_MEAN + #endif +-#include +-#ifdef HAVE_WINSOCK2_H + #include +-#endif + #else + $curl_includes_bsdsocket + #ifdef HAVE_SYS_TYPES_H +@@ -35077,14 +35783,11 @@ else $as_nop + + + #undef inline +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + #ifndef WIN32_LEAN_AND_MEAN + #define WIN32_LEAN_AND_MEAN + #endif +-#include +-#ifdef HAVE_WINSOCK2_H + #include +-#endif + #else + #ifdef HAVE_SYS_TYPES_H + #include +@@ -36117,78 +36820,18 @@ printf "%s\n" "no" >&6; } + + curl_includes_ws2tcpip="\ + /* includes start */ +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + # ifndef WIN32_LEAN_AND_MEAN + # define WIN32_LEAN_AND_MEAN + # endif +-# include +-# ifdef HAVE_WINSOCK2_H +-# include +-# ifdef HAVE_WS2TCPIP_H +-# include +-# endif +-# endif ++# include ++# include + #endif + /* includes end */" + +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for windows.h" >&5 +-printf %s "checking for windows.h... " >&6; } +-if test ${curl_cv_header_windows_h+y} +-then : +- printf %s "(cached) " >&6 +-else $as_nop +- +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext +-/* end confdefs.h. */ +- +- +-#undef inline +-#ifndef WIN32_LEAN_AND_MEAN +-#define WIN32_LEAN_AND_MEAN +-#endif +-#include +- +-int main (void) +-{ +- +-#if defined(__CYGWIN__) || defined(__CEGCC__) +- HAVE_WINDOWS_H shall not be defined. +-#else +- int dummy=2*WINVER; +-#endif +- +- ; +- return 0; +-} +- +-_ACEOF +-if ac_fn_c_try_compile "$LINENO" +-then : +- +- curl_cv_header_windows_h="yes" +- +-else $as_nop +- +- curl_cv_header_windows_h="no" +- +-fi +-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +- +-fi +-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_header_windows_h" >&5 +-printf "%s\n" "$curl_cv_header_windows_h" >&6; } +- case "$curl_cv_header_windows_h" in +- yes) +- +-printf "%s\n" "@%:@define HAVE_WINDOWS_H 1" >>confdefs.h +- +- ;; +- esac +- +- +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for winsock2.h" >&5 +-printf %s "checking for winsock2.h... " >&6; } +-if test ${curl_cv_header_winsock2_h+y} ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build target is a native Windows one" >&5 ++printf %s "checking whether build target is a native Windows one... " >&6; } ++if test ${curl_cv_native_windows+y} + then : + printf %s "(cached) " >&6 + else $as_nop +@@ -36197,20 +36840,14 @@ else $as_nop + /* end confdefs.h. */ + + +-#undef inline +-#ifndef WIN32_LEAN_AND_MEAN +-#define WIN32_LEAN_AND_MEAN +-#endif +-#include +-#include + + int main (void) + { + +-#if defined(__CYGWIN__) || defined(__CEGCC__) || defined(__MINGW32CE__) +- HAVE_WINSOCK2_H shall not be defined. ++#ifdef _WIN32 ++ int dummy=1; + #else +- int dummy=2*IPPROTO_ESP; ++ Not a native Windows build target. + #endif + + ; +@@ -36221,82 +36858,26 @@ _ACEOF + if ac_fn_c_try_compile "$LINENO" + then : + +- curl_cv_header_winsock2_h="yes" ++ curl_cv_native_windows="yes" + + else $as_nop + +- curl_cv_header_winsock2_h="no" ++ curl_cv_native_windows="no" + + fi + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + + fi +-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_header_winsock2_h" >&5 +-printf "%s\n" "$curl_cv_header_winsock2_h" >&6; } +- case "$curl_cv_header_winsock2_h" in +- yes) +- +-printf "%s\n" "@%:@define HAVE_WINSOCK2_H 1" >>confdefs.h +- +- ;; +- esac +- +- +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ws2tcpip.h" >&5 +-printf %s "checking for ws2tcpip.h... " >&6; } +-if test ${curl_cv_header_ws2tcpip_h+y} +-then : +- printf %s "(cached) " >&6 +-else $as_nop +- +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext +-/* end confdefs.h. */ +- +- +-#undef inline +-#ifndef WIN32_LEAN_AND_MEAN +-#define WIN32_LEAN_AND_MEAN +-#endif +-#include +-#include +-#include +- +-int main (void) +-{ +- +-#if defined(__CYGWIN__) || defined(__CEGCC__) || defined(__MINGW32CE__) +- HAVE_WS2TCPIP_H shall not be defined. +-#else +- int dummy=2*IP_PKTINFO; +-#endif +- +- ; +- return 0; +-} +- +-_ACEOF +-if ac_fn_c_try_compile "$LINENO" +-then : +- +- curl_cv_header_ws2tcpip_h="yes" +- +-else $as_nop +- +- curl_cv_header_ws2tcpip_h="no" +- +-fi +-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +- ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_native_windows" >&5 ++printf "%s\n" "$curl_cv_native_windows" >&6; } ++ if test "x$curl_cv_native_windows" = xyes; then ++ DOING_NATIVE_WINDOWS_TRUE= ++ DOING_NATIVE_WINDOWS_FALSE='#' ++else ++ DOING_NATIVE_WINDOWS_TRUE='#' ++ DOING_NATIVE_WINDOWS_FALSE= + fi +-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_header_ws2tcpip_h" >&5 +-printf "%s\n" "$curl_cv_header_ws2tcpip_h" >&6; } +- case "$curl_cv_header_ws2tcpip_h" in +- yes) +- +-printf "%s\n" "@%:@define HAVE_WS2TCPIP_H 1" >>confdefs.h + +- ;; +- esac + + + +@@ -37020,10 +37601,10 @@ int main (void) + struct addrinfo *ai = 0; + int error; + +- #ifdef HAVE_WINSOCK2_H ++ #ifdef _WIN32 + WSADATA wsa; +- if (WSAStartup(MAKEWORD(2,2), &wsa)) +- exit(2); ++ if(WSAStartup(MAKEWORD(2, 2), &wsa)) ++ exit(2); + #endif + + memset(&hints, 0, sizeof(hints)); +@@ -37088,10 +37669,10 @@ int main (void) + struct addrinfo *ai = 0; + int error; + +- #ifdef HAVE_WINSOCK2_H ++ #ifdef _WIN32 + WSADATA wsa; +- if (WSAStartup(MAKEWORD(2,2), &wsa)) +- exit(2); ++ if(WSAStartup(MAKEWORD(2, 2), &wsa)) ++ exit(2); + #endif + + memset(&hints, 0, sizeof(hints)); +@@ -37746,7 +38327,7 @@ printf "%s\n" "no" >&6; } + + curl_preprocess_callconv="\ + /* preprocess start */ +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + # define FUNCALLCONV __stdcall + #else + # define FUNCALLCONV +@@ -39022,7 +39603,7 @@ curl_includes_arpa_inet="\ + #ifdef HAVE_ARPA_INET_H + # include + #endif +-#ifdef HAVE_WINSOCK2_H ++#ifdef _WIN32 + #include + #include + #endif +@@ -40716,6 +41297,42 @@ printf "%s\n" "no" >&6; } + fi + + ++curl_includes_poll="\ ++/* includes start */ ++#ifdef HAVE_SYS_TYPES_H ++# include ++#endif ++#ifdef HAVE_POLL_H ++# include ++#endif ++#ifdef HAVE_SYS_POLL_H ++# include ++#endif ++/* includes end */" ++ ac_fn_c_check_header_compile "$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "$curl_includes_poll ++" ++if test "x$ac_cv_header_sys_types_h" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_SYS_TYPES_H 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_header_compile "$LINENO" "poll.h" "ac_cv_header_poll_h" "$curl_includes_poll ++" ++if test "x$ac_cv_header_poll_h" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_POLL_H 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_header_compile "$LINENO" "sys/poll.h" "ac_cv_header_sys_poll_h" "$curl_includes_poll ++" ++if test "x$ac_cv_header_sys_poll_h" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_SYS_POLL_H 1" >>confdefs.h ++ ++fi ++ ++ ++ + # + tst_links_poll="unknown" + tst_proto_poll="unknown" +@@ -43520,8 +44137,7 @@ fi + + + +- +- for ac_func in _fseeki64 arc4random fchmod fnmatch fseeko geteuid getpass_r getppid getpwuid getpwuid_r getrlimit gettimeofday if_nametoindex mach_absolute_time pipe sched_yield sendmsg setlocale setmode setrlimit snprintf utime utimes ++ for ac_func in _fseeki64 arc4random fnmatch fseeko geteuid getpass_r getppid getpwuid getpwuid_r getrlimit gettimeofday if_nametoindex mach_absolute_time pipe sched_yield sendmsg setlocale setmode setrlimit snprintf utime utimes + do : + as_ac_var=`printf "%s\n" "ac_cv_func_$ac_func" | $as_tr_sh` + ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +@@ -43580,6 +44196,15 @@ fi + + done + ++ac_fn_check_decl "$LINENO" "fseeko" "ac_cv_have_decl_fseeko" "#include ++" "$ac_c_undeclared_builtin_options" "CFLAGS" ++if test "x$ac_cv_have_decl_fseeko" = xyes ++then : ++ ++printf "%s\n" "@%:@define HAVE_DECL_FSEEKO 1" >>confdefs.h ++ ++fi ++ + + # + tst_method="unknown" +@@ -43605,7 +44230,6 @@ printf "%s\n" "$as_me: WARNING: cannot determine non-blocking socket method." >& + fi + + +- + # Extract the first word of "perl", so it can be a program name with args. + set dummy perl; ac_word=$2 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +@@ -43654,91 +44278,21 @@ fi + + + +-for ac_prog in gnroff nroff +-do +- # Extract the first word of "$ac_prog", so it can be a program name with args. +-set dummy $ac_prog; ac_word=$2 +-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +-printf %s "checking for $ac_word... " >&6; } +-if test ${ac_cv_path_NROFF+y} +-then : +- printf %s "(cached) " >&6 +-else $as_nop +- case $NROFF in +- [\\/]* | ?:[\\/]*) +- ac_cv_path_NROFF="$NROFF" # Let the user override the test with a path. +- ;; +- *) +- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +-as_dummy="$PATH:/usr/bin/:/usr/local/bin " +-for as_dir in $as_dummy +-do +- IFS=$as_save_IFS +- case $as_dir in #((( +- '') as_dir=./ ;; +- */) ;; +- *) as_dir=$as_dir/ ;; +- esac +- for ac_exec_ext in '' $ac_executable_extensions; do +- if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then +- ac_cv_path_NROFF="$as_dir$ac_word$ac_exec_ext" +- printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 +- break 2 +- fi +-done +- done +-IFS=$as_save_IFS +- +- ;; +-esac ++if test -z "$PERL"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: disabling documentation" >&5 ++printf "%s\n" "$as_me: WARNING: disabling documentation" >&2;} ++ BUILD_DOCS=0 ++ curl_docs_msg="no" + fi +-NROFF=$ac_cv_path_NROFF +-if test -n "$NROFF"; then +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NROFF" >&5 +-printf "%s\n" "$NROFF" >&6; } +-else +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-printf "%s\n" "no" >&6; } +-fi +- +- +- test -n "$NROFF" && break +-done +- + +- +-if test -n "$NROFF"; then +- +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to use *nroff to get plain text from man pages" >&5 +-printf %s "checking how to use *nroff to get plain text from man pages... " >&6; } +- MANOPT="-man" +- mancheck=`echo foo | $NROFF $MANOPT 2>/dev/null` +- if test -z "$mancheck"; then +- MANOPT="-mandoc" +- mancheck=`echo foo | $NROFF $MANOPT 2>/dev/null` +- if test -z "$mancheck"; then +- MANOPT="" +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5 +-printf "%s\n" "failed" >&6; } +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: found no *nroff option to get plaintext from man pages" >&5 +-printf "%s\n" "$as_me: WARNING: found no *nroff option to get plaintext from man pages" >&2;} +- else +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANOPT" >&5 +-printf "%s\n" "$MANOPT" >&6; } +- fi +- else +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANOPT" >&5 +-printf "%s\n" "$MANOPT" >&6; } +- fi +- ++ if test x"$BUILD_DOCS" = x1; then ++ BUILD_DOCS_TRUE= ++ BUILD_DOCS_FALSE='#' ++else ++ BUILD_DOCS_TRUE='#' ++ BUILD_DOCS_FALSE= + fi + +-if test -z "$MANOPT" +-then +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: disabling built-in manual" >&5 +-printf "%s\n" "$as_me: WARNING: disabling built-in manual" >&2;} +- USE_MANUAL="no"; +-fi + + + if test "$USE_MANUAL" = "1"; then +@@ -45399,12 +45953,15 @@ if test "x$USE_TLS_SRP" = "x1"; then + SUPPORT_FEATURES="$SUPPORT_FEATURES TLS-SRP" + fi + +-if test "x$USE_NGHTTP2" = "x1" -o "x$USE_HYPER" = "x1"; then ++if test "x$USE_NGHTTP2" = "x1"; then + SUPPORT_FEATURES="$SUPPORT_FEATURES HTTP2" + fi + +-if test "x$USE_NGTCP2" = "x1" -o "x$USE_QUICHE" = "x1" \ +- -o "x$USE_MSH3" = "x1"; then ++if test "x$USE_NGTCP2_H3" = "x1" -o "x$USE_QUICHE" = "x1" \ ++ -o "x$USE_OPENSSL_H3" = "x1" -o "x$USE_MSH3" = "x1"; then ++ if test "x$CURL_WITH_MULTI_SSL" = "x1"; then ++ as_fn_error $? "MultiSSL cannot be enabled with HTTP/3 and vice versa" "$LINENO" 5 ++ fi + SUPPORT_FEATURES="$SUPPORT_FEATURES HTTP3" + fi + +@@ -45412,19 +45969,36 @@ if test "x$CURL_WITH_MULTI_SSL" = "x1"; then + SUPPORT_FEATURES="$SUPPORT_FEATURES MultiSSL" + fi + +-if test "x$https_proxy" != "xno"; then +- if test "x$OPENSSL_ENABLED" = "x1" \ +- -o "x$GNUTLS_ENABLED" = "x1" \ +- -o "x$SECURETRANSPORT_ENABLED" = "x1" \ +- -o "x$RUSTLS_ENABLED" = "x1" \ +- -o "x$BEARSSL_ENABLED" = "x1" \ +- -o "x$SCHANNEL_ENABLED" = "x1" \ +- -o "x$GNUTLS_ENABLED" = "x1" \ +- -o "x$MBEDTLS_ENABLED" = "x1"; then +- SUPPORT_FEATURES="$SUPPORT_FEATURES HTTPS-proxy" +- elif test "x$WOLFSSL_ENABLED" = "x1" -a "x$WOLFSSL_FULL_BIO" = "x1"; then +- SUPPORT_FEATURES="$SUPPORT_FEATURES HTTPS-proxy" ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if this build supports HTTPS-proxy" >&5 ++printf %s "checking if this build supports HTTPS-proxy... " >&6; } ++if test "x$CURL_DISABLE_HTTP" != "x1"; then ++ if test "x$https_proxy" != "xno"; then ++ if test "x$OPENSSL_ENABLED" = "x1" \ ++ -o "x$GNUTLS_ENABLED" = "x1" \ ++ -o "x$SECURETRANSPORT_ENABLED" = "x1" \ ++ -o "x$RUSTLS_ENABLED" = "x1" \ ++ -o "x$BEARSSL_ENABLED" = "x1" \ ++ -o "x$SCHANNEL_ENABLED" = "x1" \ ++ -o "x$GNUTLS_ENABLED" = "x1" \ ++ -o "x$MBEDTLS_ENABLED" = "x1"; then ++ SUPPORT_FEATURES="$SUPPORT_FEATURES HTTPS-proxy" ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++ elif test "x$WOLFSSL_ENABLED" = "x1" -a "x$WOLFSSL_FULL_BIO" = "x1"; then ++ SUPPORT_FEATURES="$SUPPORT_FEATURES HTTPS-proxy" ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++ else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++ fi ++ else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + fi ++else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + fi + + if test "x$ECH_ENABLED" = "x1"; then +@@ -45440,6 +46014,9 @@ fi + + if test "$tst_atomic" = "yes"; then + SUPPORT_FEATURES="$SUPPORT_FEATURES threadsafe" ++elif test "x$USE_THREADS_POSIX" = "x1" -a \ ++ "x$ac_cv_header_pthread_h" = "xyes"; then ++ SUPPORT_FEATURES="$SUPPORT_FEATURES threadsafe" + else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ +@@ -45472,7 +46049,7 @@ SUPPORT_FEATURES=`echo $SUPPORT_FEATURES | tr ' ' '\012' | sort | tr '\012' ' '` + + + if test "x$CURL_DISABLE_HTTP" != "x1"; then +- SUPPORT_PROTOCOLS="$SUPPORT_PROTOCOLS HTTP" ++ SUPPORT_PROTOCOLS="$SUPPORT_PROTOCOLS HTTP IPFS IPNS" + if test "x$SSL_ENABLED" = "x1"; then + SUPPORT_PROTOCOLS="$SUPPORT_PROTOCOLS HTTPS" + fi +@@ -45909,6 +46486,10 @@ if test -z "${USE_EXPLICIT_LIB_DEPS_TRUE}" && test -z "${USE_EXPLICIT_LIB_DEPS_F + as_fn_error $? "conditional \"USE_EXPLICIT_LIB_DEPS\" was never defined. + Usually this means the macro was only invoked conditionally." "$LINENO" 5 + fi ++if test -z "${DOING_NATIVE_WINDOWS_TRUE}" && test -z "${DOING_NATIVE_WINDOWS_FALSE}"; then ++ as_fn_error $? "conditional \"DOING_NATIVE_WINDOWS\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi + if test -z "${CURLDEBUG_TRUE}" && test -z "${CURLDEBUG_FALSE}"; then + as_fn_error $? "conditional \"CURLDEBUG\" was never defined. + Usually this means the macro was only invoked conditionally." "$LINENO" 5 +@@ -45917,14 +46498,14 @@ if test -z "${BUILD_UNITTESTS_TRUE}" && test -z "${BUILD_UNITTESTS_FALSE}"; then + as_fn_error $? "conditional \"BUILD_UNITTESTS\" was never defined. + Usually this means the macro was only invoked conditionally." "$LINENO" 5 + fi +-if test -z "${DOING_NATIVE_WINDOWS_TRUE}" && test -z "${DOING_NATIVE_WINDOWS_FALSE}"; then +- as_fn_error $? "conditional \"DOING_NATIVE_WINDOWS\" was never defined. +-Usually this means the macro was only invoked conditionally." "$LINENO" 5 +-fi + if test -z "${HAVE_WINDRES_TRUE}" && test -z "${HAVE_WINDRES_FALSE}"; then + as_fn_error $? "conditional \"HAVE_WINDRES\" was never defined. + Usually this means the macro was only invoked conditionally." "$LINENO" 5 + fi ++if test -z "${DOING_NATIVE_WINDOWS_TRUE}" && test -z "${DOING_NATIVE_WINDOWS_FALSE}"; then ++ as_fn_error $? "conditional \"DOING_NATIVE_WINDOWS\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi + if test -z "${HAVE_LIBZ_TRUE}" && test -z "${HAVE_LIBZ_FALSE}"; then + as_fn_error $? "conditional \"HAVE_LIBZ\" was never defined. + Usually this means the macro was only invoked conditionally." "$LINENO" 5 +@@ -45945,6 +46526,22 @@ if test -z "${CURL_LT_SHLIB_USE_VERSIONED_SYMBOLS_TRUE}" && test -z "${CURL_LT_S + as_fn_error $? "conditional \"CURL_LT_SHLIB_USE_VERSIONED_SYMBOLS\" was never defined. + Usually this means the macro was only invoked conditionally." "$LINENO" 5 + fi ++if test -z "${USE_ZSH_COMPLETION_TRUE}" && test -z "${USE_ZSH_COMPLETION_FALSE}"; then ++ as_fn_error $? "conditional \"USE_ZSH_COMPLETION\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++if test -z "${USE_FISH_COMPLETION_TRUE}" && test -z "${USE_FISH_COMPLETION_FALSE}"; then ++ as_fn_error $? "conditional \"USE_FISH_COMPLETION\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++if test -z "${DOING_NATIVE_WINDOWS_TRUE}" && test -z "${DOING_NATIVE_WINDOWS_FALSE}"; then ++ as_fn_error $? "conditional \"DOING_NATIVE_WINDOWS\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++if test -z "${BUILD_DOCS_TRUE}" && test -z "${BUILD_DOCS_FALSE}"; then ++ as_fn_error $? "conditional \"BUILD_DOCS\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi + if test -z "${USE_MANUAL_TRUE}" && test -z "${USE_MANUAL_FALSE}"; then + as_fn_error $? "conditional \"USE_MANUAL\" was never defined. + Usually this means the macro was only invoked conditionally." "$LINENO" 5 +@@ -48409,6 +49006,7 @@ _EOF + IPv6: ${curl_ipv6_msg} + Unix sockets: ${curl_unix_sockets_msg} + IDN: ${curl_idn_msg} ++ Build docs: ${curl_docs_msg} + Build libcurl: Shared=${enable_shared}, Static=${enable_static} + Built-in manual: ${curl_manual_msg} + --libcurl option: ${curl_libcurl_msg} +@@ -48457,6 +49055,7 @@ printf "%s\n" "$as_me: Configured to build curl/libcurl: + IPv6: ${curl_ipv6_msg} + Unix sockets: ${curl_unix_sockets_msg} + IDN: ${curl_idn_msg} ++ Build docs: ${curl_docs_msg} + Build libcurl: Shared=${enable_shared}, Static=${enable_static} + Built-in manual: ${curl_manual_msg} + --libcurl option: ${curl_libcurl_msg} +@@ -48482,6 +49081,14 @@ printf "%s\n" "$as_me: Configured to build curl/libcurl: + Protocols: ${SUPPORT_PROTOCOLS} + Features: ${SUPPORT_FEATURES} + " >&6;} ++ ++non13=`echo "$TLSCHOICE" | grep -Ei 'bearssl|secure-transport|mbedtls'`; ++if test -n "$non13"; then ++ cat >&2 << _EOF ++ WARNING: A selected TLS library ($TLSCHOICE) does not support TLS 1.3! ++_EOF ++fi ++ + if test -n "$experimental"; then + cat >&2 << _EOF + WARNING: $experimental enabled but marked EXPERIMENTAL. Use with caution! +diff --git a/autom4te.cache/output.2 b/autom4te.cache/output.2 +index ad0524e..3785b25 100644 +--- a/autom4te.cache/output.2 ++++ b/autom4te.cache/output.2 +@@ -923,16 +923,24 @@ BUILD_LIBHOSTNAME_TRUE + USE_ARES + USE_MANUAL_FALSE + USE_MANUAL_TRUE +-MANOPT +-NROFF ++BUILD_DOCS_FALSE ++BUILD_DOCS_TRUE + PERL ++USE_FISH_COMPLETION_FALSE ++USE_FISH_COMPLETION_TRUE + FISH_FUNCTIONS_DIR ++USE_ZSH_COMPLETION_FALSE ++USE_ZSH_COMPLETION_TRUE + ZSH_FUNCTIONS_DIR + USE_MSH3 + USE_QUICHE ++USE_OPENSSL_H3 ++USE_NGTCP2_H3 + USE_NGHTTP3 ++USE_OPENSSL_QUIC + USE_NGTCP2_CRYPTO_WOLFSSL + USE_NGTCP2_CRYPTO_GNUTLS ++USE_NGTCP2_CRYPTO_BORINGSSL + USE_NGTCP2_CRYPTO_QUICTLS + USE_NGTCP2 + USE_NGHTTP2 +@@ -949,6 +957,7 @@ USE_GSASL_FALSE + USE_GSASL_TRUE + USE_LIBPSL_FALSE + USE_LIBPSL_TRUE ++USE_LIBPSL + CURL_CA_BUNDLE + CURL_WITH_MULTI_SSL + SSL_ENABLED +@@ -958,6 +967,7 @@ USE_WOLFSSL + USE_MBEDTLS + HAVE_GNUTLS_SRP + USE_GNUTLS ++HAVE_OPENSSL_QUIC + HAVE_OPENSSL_SRP + RANDOM_FILE + SSL_LIBS +@@ -1000,13 +1010,13 @@ HAVE_WINDRES_TRUE + USE_WIN32_CRYPTO + USE_WIN32_SMALL_FILES + USE_WIN32_LARGE_FILES +-DOING_NATIVE_WINDOWS_FALSE +-DOING_NATIVE_WINDOWS_TRUE + BUILD_UNITTESTS_FALSE + BUILD_UNITTESTS_TRUE + CURLDEBUG_FALSE + CURLDEBUG_TRUE + CURL_CFLAG_EXTRAS ++DOING_NATIVE_WINDOWS_FALSE ++DOING_NATIVE_WINDOWS_TRUE + USE_EXPLICIT_LIB_DEPS_FALSE + USE_EXPLICIT_LIB_DEPS_TRUE + REQUIRE_LIB_DEPS +@@ -1214,6 +1224,7 @@ enable_smb + enable_smtp + enable_gopher + enable_mqtt ++enable_docs + enable_manual + enable_libcurl_option + enable_libgcc +@@ -1244,6 +1255,7 @@ with_winidn + with_libidn2 + with_nghttp2 + with_ngtcp2 ++with_openssl_quic + with_nghttp3 + with_quiche + with_msh3 +@@ -1982,6 +1994,8 @@ Optional Features: + --disable-gopher Disable Gopher support + --enable-mqtt Enable MQTT support + --disable-mqtt Disable MQTT support ++ --enable-docs Enable documentation ++ --disable-docs Disable documentation + --enable-manual Enable built-in manual + --disable-manual Disable built-in manual + --enable-libcurl-option Enable --libcurl C code generation support +@@ -2140,7 +2154,10 @@ Optional Packages: + --without-ca-path Don't use a default CA path + --with-ca-fallback Use the built in CA store of the SSL library + --without-ca-fallback Don't use the built in CA store of the SSL library +- --without-libpsl disable support for libpsl cookie checking ++ --with-libpsl=PATH Where to look for libpsl, PATH points to the LIBPSL ++ installation; when possible, set the PKG_CONFIG_PATH ++ environment variable instead of using this option ++ --without-libpsl disable LIBPSL + --without-libgsasl disable libgsasl support for SCRAM + --with-libssh2=PATH Where to look for libssh2, PATH points to the + libssh2 installation; when possible, set the +@@ -2169,6 +2186,8 @@ Optional Packages: + --without-nghttp2 Disable nghttp2 usage + --with-ngtcp2=PATH Enable ngtcp2 usage + --without-ngtcp2 Disable ngtcp2 usage ++ --with-openssl-quic Enable OpenSSL QUIC usage ++ --without-openssl-quic Disable OpenSSL QUIC usage + --with-nghttp3=PATH Enable nghttp3 usage + --without-nghttp3 Disable nghttp3 usage + --with-quiche=PATH Enable quiche usage +@@ -6662,6 +6681,7 @@ curl_tls_srp_msg="no (--enable-tls-srp)" + curl_ipv6_msg="no (--enable-ipv6)" + curl_unix_sockets_msg="no (--enable-unix-sockets)" + curl_idn_msg="no (--with-{libidn2,winidn})" ++ curl_docs_msg="enabled (--disable-docs)" + curl_manual_msg="no (--enable-manual)" + curl_libcurl_msg="enabled (--disable-libcurl-option)" + curl_verbose_msg="enabled (--disable-verbose)" +@@ -6677,8 +6697,8 @@ curl_headers_msg="enabled (--disable-headers-api)" + curl_ws_msg="no (--enable-websockets)" + ssl_backends= + curl_h1_msg="enabled (internal)" +- curl_h2_msg="no (--with-nghttp2, --with-hyper)" +- curl_h3_msg="no (--with-ngtcp2 --with-nghttp3, --with-quiche, --with-msh3)" ++ curl_h2_msg="no (--with-nghttp2)" ++ curl_h3_msg="no (--with-ngtcp2 --with-nghttp3, --with-quiche, --with-openssl-quic, --with-msh3)" + + enable_altsvc="yes" + hsts="yes" +@@ -7511,7 +7531,7 @@ printf "%s\n" "$ac_cv_path_EGREP" >&6; } + + + +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if OS is AIX (to define _ALL_SOURCE)" >&5 ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if OS is AIX (to define _ALL_SOURCE)" >&5 + printf %s "checking if OS is AIX (to define _ALL_SOURCE)... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ +@@ -17666,7 +17686,11 @@ rm -f conftest.err conftest.i conftest.$ac_ext + if test "$curl_cv_have_def___INTEL_COMPILER" = "yes"; then + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 + printf "%s\n" "yes" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking compiler version" >&5 ++printf %s "checking compiler version... " >&6; } + compiler_num="$curl_cv_def___INTEL_COMPILER" ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: Intel C '$compiler_num'" >&5 ++printf "%s\n" "Intel C '$compiler_num'" >&6; } + + OLDCPPFLAGS=$CPPFLAGS + # CPPPFLAG comes from CURL_CPP_P +@@ -17837,18 +17861,41 @@ printf "%s\n" "yes" >&6; } + printf "%s\n" "no" >&6; } + compiler_id="CLANG" + fi ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking compiler version" >&5 ++printf %s "checking compiler version... " >&6; } + fullclangver=`$CC -v 2>&1 | grep version` ++ if echo $fullclangver | grep 'Apple' >/dev/null; then ++ appleclang=1 ++ else ++ appleclang=0 ++ fi + clangver=`echo $fullclangver | grep "based on LLVM " | "$SED" 's/.*(based on LLVM \(@<:@0-9@:>@*\.@<:@0-9@:>@*\).*)/\1/'` + if test -z "$clangver"; then +- if echo $fullclangver | grep "Apple LLVM version " >/dev/null; then +- clangver="3.7" +- else +- clangver=`echo $fullclangver | "$SED" 's/.*version \(@<:@0-9@:>@*\.@<:@0-9@:>@*\).*/\1/'` +- fi ++ clangver=`echo $fullclangver | "$SED" 's/.*version \(@<:@0-9@:>@*\.@<:@0-9@:>@*\).*/\1/'` ++ oldapple=0 ++ else ++ oldapple=1 + fi + clangvhi=`echo $clangver | cut -d . -f1` + clangvlo=`echo $clangver | cut -d . -f2` + compiler_num=`(expr $clangvhi "*" 100 + $clangvlo) 2>/dev/null` ++ if test "$appleclang" = '1' && test "$oldapple" = '0'; then ++ if test "$compiler_num" -ge '1300'; then compiler_num='1200' ++ elif test "$compiler_num" -ge '1205'; then compiler_num='1101' ++ elif test "$compiler_num" -ge '1204'; then compiler_num='1000' ++ elif test "$compiler_num" -ge '1107'; then compiler_num='900' ++ elif test "$compiler_num" -ge '1103'; then compiler_num='800' ++ elif test "$compiler_num" -ge '1003'; then compiler_num='700' ++ elif test "$compiler_num" -ge '1001'; then compiler_num='600' ++ elif test "$compiler_num" -ge '904'; then compiler_num='500' ++ elif test "$compiler_num" -ge '902'; then compiler_num='400' ++ elif test "$compiler_num" -ge '803'; then compiler_num='309' ++ elif test "$compiler_num" -ge '703'; then compiler_num='308' ++ else compiler_num='307' ++ fi ++ fi ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: clang '$compiler_num' (raw: '$fullclangver' / '$clangver')" >&5 ++printf "%s\n" "clang '$compiler_num' (raw: '$fullclangver' / '$clangver')" >&6; } + flags_dbg_yes="-g" + flags_opt_all="-O -O0 -O1 -O2 -Os -O3 -O4" + flags_opt_yes="-O2" +@@ -17911,120 +17958,23 @@ rm -f conftest.err conftest.i conftest.$ac_ext + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 + printf "%s\n" "yes" >&6; } + compiler_id="GNU_C" +- gccver=`$CC -dumpversion` ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking compiler version" >&5 ++printf %s "checking compiler version... " >&6; } ++ # strip '-suffix' parts, e.g. Ubuntu Windows cross-gcc returns '10-win32' ++ gccver=`$CC -dumpversion | sed -E 's/-.+$//'` + gccvhi=`echo $gccver | cut -d . -f1` +- gccvlo=`echo $gccver | cut -d . -f2` ++ if echo $gccver | grep -F '.' >/dev/null; then ++ gccvlo=`echo $gccver | cut -d . -f2` ++ else ++ gccvlo="0" ++ fi + compiler_num=`(expr $gccvhi "*" 100 + $gccvlo) 2>/dev/null` ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: gcc '$compiler_num' (raw: '$gccver')" >&5 ++printf "%s\n" "gcc '$compiler_num' (raw: '$gccver')" >&6; } + flags_dbg_yes="-g" + flags_opt_all="-O -O0 -O1 -O2 -O3 -Os -Og -Ofast" + flags_opt_yes="-O2" + flags_opt_off="-O0" +- +- OLDCPPFLAGS=$CPPFLAGS +- # CPPPFLAG comes from CURL_CPP_P +- CPPFLAGS="$CPPFLAGS $CPPPFLAG" +- if test -z "$SED"; then +- as_fn_error $? "SED not set. Cannot continue without SED being set." "$LINENO" 5 +- fi +- if test -z "$GREP"; then +- as_fn_error $? "GREP not set. Cannot continue without GREP being set." "$LINENO" 5 +- fi +- +- tmp_exp="" +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext +-/* end confdefs.h. */ +- +- +-#ifdef _WIN32 +-CURL_DEF_TOKEN _WIN32 +-#endif +- +- +-_ACEOF +-if ac_fn_c_try_cpp "$LINENO" +-then : +- +- tmp_exp=`eval "$ac_cpp conftest.$ac_ext" 2>/dev/null | \ +- "$GREP" CURL_DEF_TOKEN 2>/dev/null | \ +- "$SED" 's/.*CURL_DEF_TOKEN[ ][ ]*//' 2>/dev/null | \ +- "$SED" 's/["][ ]*["]//g' 2>/dev/null` +- if test -z "$tmp_exp" || test "$tmp_exp" = "_WIN32"; then +- tmp_exp="" +- fi +- +-fi +-rm -f conftest.err conftest.i conftest.$ac_ext +- if test -z "$tmp_exp"; then +- curl_cv_have_def__WIN32=no +- +- else +- curl_cv_have_def__WIN32=yes +- curl_cv_def__WIN32=$tmp_exp +- +- fi +- CPPFLAGS=$OLDCPPFLAGS +- +- else +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-printf "%s\n" "no" >&6; } +- fi +- +- +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler is LCC" >&5 +-printf %s "checking if compiler is LCC... " >&6; } +- +- OLDCPPFLAGS=$CPPFLAGS +- # CPPPFLAG comes from CURL_CPP_P +- CPPFLAGS="$CPPFLAGS $CPPPFLAG" +- if test -z "$SED"; then +- as_fn_error $? "SED not set. Cannot continue without SED being set." "$LINENO" 5 +- fi +- if test -z "$GREP"; then +- as_fn_error $? "GREP not set. Cannot continue without GREP being set." "$LINENO" 5 +- fi +- +- tmp_exp="" +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext +-/* end confdefs.h. */ +- +- +-#ifdef __LCC__ +-CURL_DEF_TOKEN __LCC__ +-#endif +- +- +-_ACEOF +-if ac_fn_c_try_cpp "$LINENO" +-then : +- +- tmp_exp=`eval "$ac_cpp conftest.$ac_ext" 2>/dev/null | \ +- "$GREP" CURL_DEF_TOKEN 2>/dev/null | \ +- "$SED" 's/.*CURL_DEF_TOKEN[ ][ ]*//' 2>/dev/null | \ +- "$SED" 's/["][ ]*["]//g' 2>/dev/null` +- if test -z "$tmp_exp" || test "$tmp_exp" = "__LCC__"; then +- tmp_exp="" +- fi +- +-fi +-rm -f conftest.err conftest.i conftest.$ac_ext +- if test -z "$tmp_exp"; then +- curl_cv_have_def___LCC__=no +- +- else +- curl_cv_have_def___LCC__=yes +- curl_cv_def___LCC__=$tmp_exp +- +- fi +- CPPFLAGS=$OLDCPPFLAGS +- +- if test "$curl_cv_have_def___LCC__" = "yes"; then +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +-printf "%s\n" "yes" >&6; } +- compiler_id="LCC" +- flags_dbg_yes="-g" +- flags_opt_all="" +- flags_opt_yes="" +- flags_opt_off="" + else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 + printf "%s\n" "no" >&6; } +@@ -18431,6 +18381,57 @@ _EOF + fi + + ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build target is a native Windows one" >&5 ++printf %s "checking whether build target is a native Windows one... " >&6; } ++if test ${curl_cv_native_windows+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ ++ ++int main (void) ++{ ++ ++#ifdef _WIN32 ++ int dummy=1; ++#else ++ Not a native Windows build target. ++#endif ++ ++ ; ++ return 0; ++} ++ ++_ACEOF ++if ac_fn_c_try_compile "$LINENO" ++then : ++ ++ curl_cv_native_windows="yes" ++ ++else $as_nop ++ ++ curl_cv_native_windows="no" ++ ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ++ ++fi ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_native_windows" >&5 ++printf "%s\n" "$curl_cv_native_windows" >&6; } ++ if test "x$curl_cv_native_windows" = xyes; then ++ DOING_NATIVE_WINDOWS_TRUE= ++ DOING_NATIVE_WINDOWS_FALSE='#' ++else ++ DOING_NATIVE_WINDOWS_TRUE='#' ++ DOING_NATIVE_WINDOWS_FALSE= ++fi ++ ++ ++ + squeeze() { + _sqz_result="" + eval _sqz_input=\$$1 +@@ -18501,11 +18502,6 @@ squeeze() { + tmp_CFLAGS="$tmp_CFLAGS" + ;; + # +- LCC) +- # +- tmp_CFLAGS="$tmp_CFLAGS -n" +- ;; +- # + SGI_MIPS_C) + # + tmp_CFLAGS="$tmp_CFLAGS" +@@ -19215,7 +19211,7 @@ printf "%s\n" "$as_me: WARNING: compiler options rejected: $tmp_options" >&2;} + + + ac_var_added_warnings="" +- for warning in no-multichar sign-compare; do ++ for warning in sign-compare; do + + ac_var_match_word="no" + for word1 in $CFLAGS; do +@@ -19233,6 +19229,7 @@ printf "%s\n" "$as_me: WARNING: compiler options rejected: $tmp_options" >&2;} + tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" + squeeze tmp_CFLAGS + ++ tmp_CFLAGS="$tmp_CFLAGS -Wno-multichar" + + ac_var_added_warnings="" + for warning in undef; do +@@ -19359,10 +19356,10 @@ printf "%s\n" "$as_me: WARNING: compiler options rejected: $tmp_options" >&2;} + + fi + # +- if test "$compiler_num" -ge "208"; then ++ if test "$compiler_num" -ge "207"; then + + ac_var_added_warnings="" +- for warning in vla; do ++ for warning in address; do + + ac_var_match_word="no" + for word1 in $CFLAGS; do +@@ -19380,12 +19377,9 @@ printf "%s\n" "$as_me: WARNING: compiler options rejected: $tmp_options" >&2;} + tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" + squeeze tmp_CFLAGS + +- fi +- # +- if test "$compiler_num" -ge "209"; then + + ac_var_added_warnings="" +- for warning in shift-sign-overflow; do ++ for warning in attributes; do + + ac_var_match_word="no" + for word1 in $CFLAGS; do +@@ -19403,9 +19397,6 @@ printf "%s\n" "$as_me: WARNING: compiler options rejected: $tmp_options" >&2;} + tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" + squeeze tmp_CFLAGS + +- fi +- # +- if test "$compiler_num" -ge "300"; then + + ac_var_added_warnings="" + for warning in bad-function-cast; do +@@ -19430,6 +19421,26 @@ printf "%s\n" "$as_me: WARNING: compiler options rejected: $tmp_options" >&2;} + ac_var_added_warnings="" + for warning in conversion; do + ++ ac_var_match_word="no" ++ for word1 in $CFLAGS; do ++ for word2 in -Wno-$warning -W$warning; do ++ if test "$word1" = "$word2"; then ++ ac_var_match_word="yes" ++ fi ++ done ++ done ++ ++ if test "$ac_var_match_word" = "no"; then ++ ac_var_added_warnings="$ac_var_added_warnings -W$warning" ++ fi ++ done ++ tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" ++ squeeze tmp_CFLAGS ++ ++ ++ ac_var_added_warnings="" ++ for warning in div-by-zero format-security; do ++ + ac_var_match_word="no" + for word1 in $CFLAGS; do + for word2 in -Wno-$warning -W$warning; do +@@ -19468,7 +19479,7 @@ printf "%s\n" "$as_me: WARNING: compiler options rejected: $tmp_options" >&2;} + + + ac_var_added_warnings="" +- for warning in ignored-qualifiers; do ++ for warning in missing-field-initializers; do + + ac_var_match_word="no" + for word1 in $CFLAGS; do +@@ -19487,6 +19498,67 @@ printf "%s\n" "$as_me: WARNING: compiler options rejected: $tmp_options" >&2;} + squeeze tmp_CFLAGS + + ++ ac_var_added_warnings="" ++ for warning in missing-noreturn; do ++ ++ ac_var_match_word="no" ++ for word1 in $CFLAGS; do ++ for word2 in -Wno-$warning -W$warning; do ++ if test "$word1" = "$word2"; then ++ ac_var_match_word="yes" ++ fi ++ done ++ done ++ ++ if test "$ac_var_match_word" = "no"; then ++ ac_var_added_warnings="$ac_var_added_warnings -W$warning" ++ fi ++ done ++ tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" ++ squeeze tmp_CFLAGS ++ ++ ++ ac_var_added_warnings="" ++ for warning in old-style-definition; do ++ ++ ac_var_match_word="no" ++ for word1 in $CFLAGS; do ++ for word2 in -Wno-$warning -W$warning; do ++ if test "$word1" = "$word2"; then ++ ac_var_match_word="yes" ++ fi ++ done ++ done ++ ++ if test "$ac_var_match_word" = "no"; then ++ ac_var_added_warnings="$ac_var_added_warnings -W$warning" ++ fi ++ done ++ tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" ++ squeeze tmp_CFLAGS ++ ++ ++ ac_var_added_warnings="" ++ for warning in redundant-decls; do ++ ++ ac_var_match_word="no" ++ for word1 in $CFLAGS; do ++ for word2 in -Wno-$warning -W$warning; do ++ if test "$word1" = "$word2"; then ++ ac_var_match_word="yes" ++ fi ++ done ++ done ++ ++ if test "$ac_var_match_word" = "no"; then ++ ac_var_added_warnings="$ac_var_added_warnings -W$warning" ++ fi ++ done ++ tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" ++ squeeze tmp_CFLAGS ++ ++ # CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [switch-enum]) # Not used because this basically disallows default case ++ + ac_var_added_warnings="" + for warning in type-limits; do + +@@ -19506,9 +19578,10 @@ printf "%s\n" "$as_me: WARNING: compiler options rejected: $tmp_options" >&2;} + tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" + squeeze tmp_CFLAGS + ++ # CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [unused-macros]) # Not practical + + ac_var_added_warnings="" +- for warning in no-sign-conversion; do ++ for warning in unreachable-code unused-parameter; do + + ac_var_match_word="no" + for word1 in $CFLAGS; do +@@ -19527,12 +19600,144 @@ printf "%s\n" "$as_me: WARNING: compiler options rejected: $tmp_options" >&2;} + squeeze tmp_CFLAGS + + fi ++ # ++ if test "$compiler_num" -ge "208"; then ++ ++ ac_var_added_warnings="" ++ for warning in ignored-qualifiers; do ++ ++ ac_var_match_word="no" ++ for word1 in $CFLAGS; do ++ for word2 in -Wno-$warning -W$warning; do ++ if test "$word1" = "$word2"; then ++ ac_var_match_word="yes" ++ fi ++ done ++ done ++ ++ if test "$ac_var_match_word" = "no"; then ++ ac_var_added_warnings="$ac_var_added_warnings -W$warning" ++ fi ++ done ++ tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" ++ squeeze tmp_CFLAGS ++ ++ ++ ac_var_added_warnings="" ++ for warning in vla; do ++ ++ ac_var_match_word="no" ++ for word1 in $CFLAGS; do ++ for word2 in -Wno-$warning -W$warning; do ++ if test "$word1" = "$word2"; then ++ ac_var_match_word="yes" ++ fi ++ done ++ done ++ ++ if test "$ac_var_match_word" = "no"; then ++ ac_var_added_warnings="$ac_var_added_warnings -W$warning" ++ fi ++ done ++ tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" ++ squeeze tmp_CFLAGS ++ ++ fi ++ # ++ if test "$compiler_num" -ge "209"; then ++ ++ ac_var_added_warnings="" ++ for warning in sign-conversion; do ++ ++ ac_var_match_word="no" ++ for word1 in $CFLAGS; do ++ for word2 in -Wno-$warning -W$warning; do ++ if test "$word1" = "$word2"; then ++ ac_var_match_word="yes" ++ fi ++ done ++ done ++ ++ if test "$ac_var_match_word" = "no"; then ++ ac_var_added_warnings="$ac_var_added_warnings -W$warning" ++ fi ++ done ++ tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" ++ squeeze tmp_CFLAGS ++ ++ tmp_CFLAGS="$tmp_CFLAGS -Wno-error=sign-conversion" # FIXME ++ ++ ac_var_added_warnings="" ++ for warning in shift-sign-overflow; do ++ ++ ac_var_match_word="no" ++ for word1 in $CFLAGS; do ++ for word2 in -Wno-$warning -W$warning; do ++ if test "$word1" = "$word2"; then ++ ac_var_match_word="yes" ++ fi ++ done ++ done ++ ++ if test "$ac_var_match_word" = "no"; then ++ ac_var_added_warnings="$ac_var_added_warnings -W$warning" ++ fi ++ done ++ tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" ++ squeeze tmp_CFLAGS ++ ++ # CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [padded]) # Not used because we cannot change public structs ++ fi ++ # ++ if test "$compiler_num" -ge "300"; then ++ ++ ac_var_added_warnings="" ++ for warning in language-extension-token; do ++ ++ ac_var_match_word="no" ++ for word1 in $CFLAGS; do ++ for word2 in -Wno-$warning -W$warning; do ++ if test "$word1" = "$word2"; then ++ ac_var_match_word="yes" ++ fi ++ done ++ done ++ ++ if test "$ac_var_match_word" = "no"; then ++ ac_var_added_warnings="$ac_var_added_warnings -W$warning" ++ fi ++ done ++ tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" ++ squeeze tmp_CFLAGS ++ ++ tmp_CFLAGS="$tmp_CFLAGS -Wformat=2" ++ fi + # + if test "$compiler_num" -ge "302"; then + + ac_var_added_warnings="" + for warning in enum-conversion; do + ++ ac_var_match_word="no" ++ for word1 in $CFLAGS; do ++ for word2 in -Wno-$warning -W$warning; do ++ if test "$word1" = "$word2"; then ++ ac_var_match_word="yes" ++ fi ++ done ++ done ++ ++ if test "$ac_var_match_word" = "no"; then ++ ac_var_added_warnings="$ac_var_added_warnings -W$warning" ++ fi ++ done ++ tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" ++ squeeze tmp_CFLAGS ++ ++ ++ ac_var_added_warnings="" ++ for warning in sometimes-uninitialized; do ++ + ac_var_match_word="no" + for word1 in $CFLAGS; do + for word2 in -Wno-$warning -W$warning; do +@@ -19579,9 +19784,72 @@ printf "%s\n" "$as_me: WARNING: compiler options rejected: $tmp_options" >&2;} + # + if test "$compiler_num" -ge "304"; then + ++ ac_var_added_warnings="" ++ for warning in header-guard; do ++ ++ ac_var_match_word="no" ++ for word1 in $CFLAGS; do ++ for word2 in -Wno-$warning -W$warning; do ++ if test "$word1" = "$word2"; then ++ ac_var_match_word="yes" ++ fi ++ done ++ done ++ ++ if test "$ac_var_match_word" = "no"; then ++ ac_var_added_warnings="$ac_var_added_warnings -W$warning" ++ fi ++ done ++ tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" ++ squeeze tmp_CFLAGS ++ ++ + ac_var_added_warnings="" + for warning in unused-const-variable; do + ++ ac_var_match_word="no" ++ for word1 in $CFLAGS; do ++ for word2 in -Wno-$warning -W$warning; do ++ if test "$word1" = "$word2"; then ++ ac_var_match_word="yes" ++ fi ++ done ++ done ++ ++ if test "$ac_var_match_word" = "no"; then ++ ac_var_added_warnings="$ac_var_added_warnings -W$warning" ++ fi ++ done ++ tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" ++ squeeze tmp_CFLAGS ++ ++ fi ++ # ++ if test "$compiler_num" -ge "305"; then ++ ++ ac_var_added_warnings="" ++ for warning in pragmas; do ++ ++ ac_var_match_word="no" ++ for word1 in $CFLAGS; do ++ for word2 in -Wno-$warning -W$warning; do ++ if test "$word1" = "$word2"; then ++ ac_var_match_word="yes" ++ fi ++ done ++ done ++ ++ if test "$ac_var_match_word" = "no"; then ++ ac_var_added_warnings="$ac_var_added_warnings -W$warning" ++ fi ++ done ++ tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" ++ squeeze tmp_CFLAGS ++ ++ ++ ac_var_added_warnings="" ++ for warning in unreachable-code-break; do ++ + ac_var_match_word="no" + for word1 in $CFLAGS; do + for word2 in -Wno-$warning -W$warning; do +@@ -19691,6 +19959,9 @@ printf "%s\n" "$as_me: WARNING: compiler options rejected: $tmp_options" >&2;} + tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" + squeeze tmp_CFLAGS + ++ fi ++ if test "$compiler_num" -ge "1000"; then ++ tmp_CFLAGS="$tmp_CFLAGS -Wimplicit-fallthrough" # we have silencing markup for clang 10.0 and above only + fi + fi + tmp_CFLAGS="$tmp_CFLAGS -Wno-pointer-bool-conversion" +@@ -19706,7 +19977,6 @@ printf "%s\n" "$as_me: WARNING: compiler options rejected: $tmp_options" >&2;} + GNU_C) + # + if test "$want_warnings" = "yes"; then +- tmp_CFLAGS="$tmp_CFLAGS -std=gnu89" + # + if test "x$cross_compiling" != "xyes" || + test "$compiler_num" -ge "300"; then +@@ -20012,6 +20282,158 @@ printf "%s\n" "$as_me: WARNING: compiler options rejected: $tmp_options" >&2;} + if test "$compiler_num" -ge "400"; then + tmp_CFLAGS="$tmp_CFLAGS -Wstrict-aliasing=3" + fi ++ # ++ if test "$compiler_num" -ge "401"; then ++ ++ ac_var_added_warnings="" ++ for warning in attributes; do ++ ++ ac_var_match_word="no" ++ for word1 in $CFLAGS; do ++ for word2 in -Wno-$warning -W$warning; do ++ if test "$word1" = "$word2"; then ++ ac_var_match_word="yes" ++ fi ++ done ++ done ++ ++ if test "$ac_var_match_word" = "no"; then ++ ac_var_added_warnings="$ac_var_added_warnings -W$warning" ++ fi ++ done ++ tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" ++ squeeze tmp_CFLAGS ++ ++ ++ ac_var_added_warnings="" ++ for warning in div-by-zero format-security; do ++ ++ ac_var_match_word="no" ++ for word1 in $CFLAGS; do ++ for word2 in -Wno-$warning -W$warning; do ++ if test "$word1" = "$word2"; then ++ ac_var_match_word="yes" ++ fi ++ done ++ done ++ ++ if test "$ac_var_match_word" = "no"; then ++ ac_var_added_warnings="$ac_var_added_warnings -W$warning" ++ fi ++ done ++ tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" ++ squeeze tmp_CFLAGS ++ ++ ++ ac_var_added_warnings="" ++ for warning in missing-field-initializers; do ++ ++ ac_var_match_word="no" ++ for word1 in $CFLAGS; do ++ for word2 in -Wno-$warning -W$warning; do ++ if test "$word1" = "$word2"; then ++ ac_var_match_word="yes" ++ fi ++ done ++ done ++ ++ if test "$ac_var_match_word" = "no"; then ++ ac_var_added_warnings="$ac_var_added_warnings -W$warning" ++ fi ++ done ++ tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" ++ squeeze tmp_CFLAGS ++ ++ case $host in ++ *-*-msys*) ++ ;; ++ *) ++ ++ ac_var_added_warnings="" ++ for warning in missing-noreturn; do ++ ++ ac_var_match_word="no" ++ for word1 in $CFLAGS; do ++ for word2 in -Wno-$warning -W$warning; do ++ if test "$word1" = "$word2"; then ++ ac_var_match_word="yes" ++ fi ++ done ++ done ++ ++ if test "$ac_var_match_word" = "no"; then ++ ac_var_added_warnings="$ac_var_added_warnings -W$warning" ++ fi ++ done ++ tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" ++ squeeze tmp_CFLAGS ++ # Seen to clash with libtool-generated stub code ++ ;; ++ esac ++ ++ ac_var_added_warnings="" ++ for warning in unreachable-code unused-parameter; do ++ ++ ac_var_match_word="no" ++ for word1 in $CFLAGS; do ++ for word2 in -Wno-$warning -W$warning; do ++ if test "$word1" = "$word2"; then ++ ac_var_match_word="yes" ++ fi ++ done ++ done ++ ++ if test "$ac_var_match_word" = "no"; then ++ ac_var_added_warnings="$ac_var_added_warnings -W$warning" ++ fi ++ done ++ tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" ++ squeeze tmp_CFLAGS ++ ++ # CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [padded]) # Not used because we cannot change public structs ++ ++ ac_var_added_warnings="" ++ for warning in pragmas; do ++ ++ ac_var_match_word="no" ++ for word1 in $CFLAGS; do ++ for word2 in -Wno-$warning -W$warning; do ++ if test "$word1" = "$word2"; then ++ ac_var_match_word="yes" ++ fi ++ done ++ done ++ ++ if test "$ac_var_match_word" = "no"; then ++ ac_var_added_warnings="$ac_var_added_warnings -W$warning" ++ fi ++ done ++ tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" ++ squeeze tmp_CFLAGS ++ ++ ++ ac_var_added_warnings="" ++ for warning in redundant-decls; do ++ ++ ac_var_match_word="no" ++ for word1 in $CFLAGS; do ++ for word2 in -Wno-$warning -W$warning; do ++ if test "$word1" = "$word2"; then ++ ac_var_match_word="yes" ++ fi ++ done ++ done ++ ++ if test "$ac_var_match_word" = "no"; then ++ ac_var_added_warnings="$ac_var_added_warnings -W$warning" ++ fi ++ done ++ tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" ++ squeeze tmp_CFLAGS ++ ++ # CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [switch-enum]) # Not used because this basically disallows default case ++ # CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [unused-macros]) # Not practical ++ fi + # + if test "$compiler_num" -ge "402"; then + +@@ -20038,6 +20460,26 @@ printf "%s\n" "$as_me: WARNING: compiler options rejected: $tmp_options" >&2;} + # + if test "$compiler_num" -ge "403"; then + ++ ac_var_added_warnings="" ++ for warning in address; do ++ ++ ac_var_match_word="no" ++ for word1 in $CFLAGS; do ++ for word2 in -Wno-$warning -W$warning; do ++ if test "$word1" = "$word2"; then ++ ac_var_match_word="yes" ++ fi ++ done ++ done ++ ++ if test "$ac_var_match_word" = "no"; then ++ ac_var_added_warnings="$ac_var_added_warnings -W$warning" ++ fi ++ done ++ tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" ++ squeeze tmp_CFLAGS ++ ++ + ac_var_added_warnings="" + for warning in type-limits old-style-declaration; do + +@@ -20099,7 +20541,27 @@ printf "%s\n" "$as_me: WARNING: compiler options rejected: $tmp_options" >&2;} + + + ac_var_added_warnings="" +- for warning in conversion; do ++ for warning in conversion trampolines; do ++ ++ ac_var_match_word="no" ++ for word1 in $CFLAGS; do ++ for word2 in -Wno-$warning -W$warning; do ++ if test "$word1" = "$word2"; then ++ ac_var_match_word="yes" ++ fi ++ done ++ done ++ ++ if test "$ac_var_match_word" = "no"; then ++ ac_var_added_warnings="$ac_var_added_warnings -W$warning" ++ fi ++ done ++ tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" ++ squeeze tmp_CFLAGS ++ ++ ++ ac_var_added_warnings="" ++ for warning in sign-conversion; do + + ac_var_match_word="no" + for word1 in $CFLAGS; do +@@ -20117,7 +20579,7 @@ printf "%s\n" "$as_me: WARNING: compiler options rejected: $tmp_options" >&2;} + tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" + squeeze tmp_CFLAGS + +- tmp_CFLAGS="$tmp_CFLAGS -Wno-sign-conversion" ++ tmp_CFLAGS="$tmp_CFLAGS -Wno-error=sign-conversion" # FIXME + + ac_var_added_warnings="" + for warning in vla; do +@@ -20142,7 +20604,7 @@ printf "%s\n" "$as_me: WARNING: compiler options rejected: $tmp_options" >&2;} + fi + # + if test "$compiler_num" -ge "405"; then +- if test "$curl_cv_have_def__WIN32" = "yes"; then ++ if test "$curl_cv_native_windows" = "yes"; then + tmp_CFLAGS="$tmp_CFLAGS -Wno-pedantic-ms-format" + fi + fi +@@ -20326,9 +20788,7 @@ printf "%s\n" "$as_me: WARNING: compiler options rejected: $tmp_options" >&2;} + + tmp_CFLAGS="$tmp_CFLAGS -Wformat-overflow=2" + tmp_CFLAGS="$tmp_CFLAGS -Wformat-truncation=2" +- if test "$compiler_num" -lt "1200"; then +- tmp_CFLAGS="$tmp_CFLAGS -Wimplicit-fallthrough=4" +- fi ++ tmp_CFLAGS="$tmp_CFLAGS -Wimplicit-fallthrough" + fi + # + if test "$compiler_num" -ge "1000"; then +@@ -20430,13 +20890,6 @@ printf "%s\n" "$as_me: WARNING: compiler options rejected: $tmp_options" >&2;} + tmp_CFLAGS="$tmp_CFLAGS" + ;; + # +- LCC) +- # +- if test "$want_warnings" = "yes"; then +- tmp_CFLAGS="$tmp_CFLAGS" +- fi +- ;; +- # + SGI_MIPS_C) + # + if test "$want_warnings" = "yes"; then +@@ -21081,243 +21534,10 @@ fi + + + +- +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for windows.h" >&5 +-printf %s "checking for windows.h... " >&6; } +-if test ${curl_cv_header_windows_h+y} +-then : +- printf %s "(cached) " >&6 +-else $as_nop +- +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext +-/* end confdefs.h. */ +- +- +-#undef inline +-#ifndef WIN32_LEAN_AND_MEAN +-#define WIN32_LEAN_AND_MEAN +-#endif +-#include +- +-int main (void) +-{ +- +-#if defined(__CYGWIN__) || defined(__CEGCC__) +- HAVE_WINDOWS_H shall not be defined. +-#else +- int dummy=2*WINVER; +-#endif +- +- ; +- return 0; +-} +- +-_ACEOF +-if ac_fn_c_try_compile "$LINENO" +-then : +- +- curl_cv_header_windows_h="yes" +- +-else $as_nop +- +- curl_cv_header_windows_h="no" +- +-fi +-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +- +-fi +-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_header_windows_h" >&5 +-printf "%s\n" "$curl_cv_header_windows_h" >&6; } +- case "$curl_cv_header_windows_h" in +- yes) +- +-printf "%s\n" "@%:@define HAVE_WINDOWS_H 1" >>confdefs.h +- +- ;; +- esac +- +- +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build target is a native Windows one" >&5 +-printf %s "checking whether build target is a native Windows one... " >&6; } +-if test ${curl_cv_native_windows+y} +-then : +- printf %s "(cached) " >&6 +-else $as_nop +- +- if test "$curl_cv_header_windows_h" = "no"; then +- curl_cv_native_windows="no" +- else +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext +-/* end confdefs.h. */ +- +- +- +-int main (void) +-{ +- +-#if defined(__MINGW32__) || defined(__MINGW32CE__) || \ +- (defined(_MSC_VER) && (defined(_WIN32) || defined(_WIN64))) +- int dummy=1; +-#else +- Not a native Windows build target. +-#endif +- +- ; +- return 0; +-} +- +-_ACEOF +-if ac_fn_c_try_compile "$LINENO" +-then : +- +- curl_cv_native_windows="yes" +- +-else $as_nop +- +- curl_cv_native_windows="no" +- +-fi +-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +- fi +- +-fi +-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_native_windows" >&5 +-printf "%s\n" "$curl_cv_native_windows" >&6; } +- if test "x$curl_cv_native_windows" = xyes; then +- DOING_NATIVE_WINDOWS_TRUE= +- DOING_NATIVE_WINDOWS_FALSE='#' +-else +- DOING_NATIVE_WINDOWS_TRUE='#' +- DOING_NATIVE_WINDOWS_FALSE= +-fi +- +- +-case X-"$curl_cv_native_windows" in +- X-yes) +- +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for winsock2.h" >&5 +-printf %s "checking for winsock2.h... " >&6; } +-if test ${curl_cv_header_winsock2_h+y} +-then : +- printf %s "(cached) " >&6 +-else $as_nop +- +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext +-/* end confdefs.h. */ +- +- +-#undef inline +-#ifndef WIN32_LEAN_AND_MEAN +-#define WIN32_LEAN_AND_MEAN +-#endif +-#include +-#include +- +-int main (void) +-{ +- +-#if defined(__CYGWIN__) || defined(__CEGCC__) || defined(__MINGW32CE__) +- HAVE_WINSOCK2_H shall not be defined. +-#else +- int dummy=2*IPPROTO_ESP; +-#endif +- +- ; +- return 0; +-} +- +-_ACEOF +-if ac_fn_c_try_compile "$LINENO" +-then : +- +- curl_cv_header_winsock2_h="yes" +- +-else $as_nop +- +- curl_cv_header_winsock2_h="no" +- +-fi +-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +- +-fi +-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_header_winsock2_h" >&5 +-printf "%s\n" "$curl_cv_header_winsock2_h" >&6; } +- case "$curl_cv_header_winsock2_h" in +- yes) +- +-printf "%s\n" "@%:@define HAVE_WINSOCK2_H 1" >>confdefs.h +- +- ;; +- esac +- +- +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ws2tcpip.h" >&5 +-printf %s "checking for ws2tcpip.h... " >&6; } +-if test ${curl_cv_header_ws2tcpip_h+y} +-then : +- printf %s "(cached) " >&6 +-else $as_nop +- +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext +-/* end confdefs.h. */ +- +- +-#undef inline +-#ifndef WIN32_LEAN_AND_MEAN +-#define WIN32_LEAN_AND_MEAN +-#endif +-#include +-#include +-#include +- +-int main (void) +-{ +- +-#if defined(__CYGWIN__) || defined(__CEGCC__) || defined(__MINGW32CE__) +- HAVE_WS2TCPIP_H shall not be defined. +-#else +- int dummy=2*IP_PKTINFO; +-#endif +- +- ; +- return 0; +-} +- +-_ACEOF +-if ac_fn_c_try_compile "$LINENO" +-then : +- +- curl_cv_header_ws2tcpip_h="yes" +- +-else $as_nop +- +- curl_cv_header_ws2tcpip_h="no" +- +-fi +-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +- +-fi +-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_header_ws2tcpip_h" >&5 +-printf "%s\n" "$curl_cv_header_ws2tcpip_h" >&6; } +- case "$curl_cv_header_ws2tcpip_h" in +- yes) +- +-printf "%s\n" "@%:@define HAVE_WS2TCPIP_H 1" >>confdefs.h +- +- ;; +- esac +- +- ;; +- *) +- curl_cv_header_winsock2_h="no" +- curl_cv_header_ws2tcpip_h="no" +- ;; +-esac +- + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build target supports WIN32 file API" >&5 + printf %s "checking whether build target supports WIN32 file API... " >&6; } + curl_win32_file_api="no" +- if test "$curl_cv_header_windows_h" = "yes"; then ++ if test "$curl_cv_native_windows" = "yes"; then + if test x"$enable_largefile" != "xno"; then + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ +@@ -21327,9 +21547,7 @@ printf %s "checking whether build target supports WIN32 file API... " >&6; } + int main (void) + { + +-#if !defined(_WIN32_WCE) && \ +- (defined(__MINGW32__) || \ +- (defined(_MSC_VER) && (defined(_WIN32) || defined(_WIN64)))) ++#if !defined(_WIN32_WCE) && (defined(__MINGW32__) || defined(_MSC_VER)) + int dummy=1; + #else + WIN32 large file API not supported. +@@ -21406,7 +21624,7 @@ printf "%s\n" "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build target supports WIN32 crypto API" >&5 + printf %s "checking whether build target supports WIN32 crypto API... " >&6; } + curl_win32_crypto_api="no" +- if test "$curl_cv_header_windows_h" = "yes"; then ++ if test "$curl_cv_native_windows" = "yes"; then + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + +@@ -22047,7 +22265,6 @@ then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Hyper support is experimental" >&5 + printf "%s\n" "$as_me: Hyper support is experimental" >&6;} + curl_h1_msg="enabled (Hyper)" +- curl_h2_msg=$curl_h1_msg + HYPER_ENABLED=1 + + printf "%s\n" "@%:@define USE_HYPER 1" >>confdefs.h +@@ -22385,6 +22602,32 @@ fi + + + ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build documentation" >&5 ++printf %s "checking whether to build documentation... " >&6; } ++@%:@ Check whether --enable-docs was given. ++if test ${enable_docs+y} ++then : ++ enableval=$enable_docs; case "$enableval" in ++ no) ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++ BUILD_DOCS=0 ++ curl_docs_msg="no" ++ ;; ++ *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++ BUILD_DOCS=1 ++ ;; ++ esac ++else $as_nop ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++ BUILD_DOCS=1 ++ ++fi ++ ++ ++ + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to provide built-in manual" >&5 + printf %s "checking whether to provide built-in manual... " >&6; } + @%:@ Check whether --enable-manual was given. +@@ -22676,10 +22919,8 @@ fi + + if test "$HAVE_GETHOSTBYNAME" != "1" + then +- if test "$curl_cv_header_windows_h" = "yes"; then +- if test "$curl_cv_header_winsock2_h" = "yes"; then +- winsock_LIB="-lws2_32" +- fi ++ if test "$curl_cv_native_windows" = "yes"; then ++ winsock_LIB="-lws2_32" + if test ! -z "$winsock_LIB"; then + my_ac_save_LIBS=$LIBS + LIBS="$winsock_LIB $LIBS" +@@ -22689,15 +22930,12 @@ printf %s "checking for gethostbyname in $winsock_LIB... " >&6; } + /* end confdefs.h. */ + + +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + #ifndef WIN32_LEAN_AND_MEAN + #define WIN32_LEAN_AND_MEAN + #endif +-#include +-#ifdef HAVE_WINSOCK2_H + #include + #endif +-#endif + + int main (void) + { +@@ -22908,20 +23146,17 @@ fi + + curl_includes_winsock2="\ + /* includes start */ +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + # ifndef WIN32_LEAN_AND_MEAN + # define WIN32_LEAN_AND_MEAN + # endif +-# include +-# ifdef HAVE_WINSOCK2_H +-# include +-# endif ++# include + #endif + /* includes end */" + +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for windows.h" >&5 +-printf %s "checking for windows.h... " >&6; } +-if test ${curl_cv_header_windows_h+y} ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build target is a native Windows one" >&5 ++printf %s "checking whether build target is a native Windows one... " >&6; } ++if test ${curl_cv_native_windows+y} + then : + printf %s "(cached) " >&6 + else $as_nop +@@ -22930,19 +23165,14 @@ else $as_nop + /* end confdefs.h. */ + + +-#undef inline +-#ifndef WIN32_LEAN_AND_MEAN +-#define WIN32_LEAN_AND_MEAN +-#endif +-#include + + int main (void) + { + +-#if defined(__CYGWIN__) || defined(__CEGCC__) +- HAVE_WINDOWS_H shall not be defined. ++#ifdef _WIN32 ++ int dummy=1; + #else +- int dummy=2*WINVER; ++ Not a native Windows build target. + #endif + + ; +@@ -22953,81 +23183,26 @@ _ACEOF + if ac_fn_c_try_compile "$LINENO" + then : + +- curl_cv_header_windows_h="yes" ++ curl_cv_native_windows="yes" + + else $as_nop + +- curl_cv_header_windows_h="no" ++ curl_cv_native_windows="no" + + fi + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + + fi +-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_header_windows_h" >&5 +-printf "%s\n" "$curl_cv_header_windows_h" >&6; } +- case "$curl_cv_header_windows_h" in +- yes) +- +-printf "%s\n" "@%:@define HAVE_WINDOWS_H 1" >>confdefs.h +- +- ;; +- esac +- +- +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for winsock2.h" >&5 +-printf %s "checking for winsock2.h... " >&6; } +-if test ${curl_cv_header_winsock2_h+y} +-then : +- printf %s "(cached) " >&6 +-else $as_nop +- +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext +-/* end confdefs.h. */ +- +- +-#undef inline +-#ifndef WIN32_LEAN_AND_MEAN +-#define WIN32_LEAN_AND_MEAN +-#endif +-#include +-#include +- +-int main (void) +-{ +- +-#if defined(__CYGWIN__) || defined(__CEGCC__) || defined(__MINGW32CE__) +- HAVE_WINSOCK2_H shall not be defined. +-#else +- int dummy=2*IPPROTO_ESP; +-#endif +- +- ; +- return 0; +-} +- +-_ACEOF +-if ac_fn_c_try_compile "$LINENO" +-then : +- +- curl_cv_header_winsock2_h="yes" +- +-else $as_nop +- +- curl_cv_header_winsock2_h="no" +- +-fi +-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +- ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_native_windows" >&5 ++printf "%s\n" "$curl_cv_native_windows" >&6; } ++ if test "x$curl_cv_native_windows" = xyes; then ++ DOING_NATIVE_WINDOWS_TRUE= ++ DOING_NATIVE_WINDOWS_FALSE='#' ++else ++ DOING_NATIVE_WINDOWS_TRUE='#' ++ DOING_NATIVE_WINDOWS_FALSE= + fi +-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_header_winsock2_h" >&5 +-printf "%s\n" "$curl_cv_header_winsock2_h" >&6; } +- case "$curl_cv_header_winsock2_h" in +- yes) +- +-printf "%s\n" "@%:@define HAVE_WINSOCK2_H 1" >>confdefs.h + +- ;; +- esac + + + +@@ -23071,7 +23246,7 @@ printf %s "checking for connect in libraries... " >&6; } + + $curl_includes_winsock2 + $curl_includes_bsdsocket +- #if !defined(HAVE_WINDOWS_H) && !defined(HAVE_PROTO_BSDSOCKET_H) ++ #if !defined(_WIN32) && !defined(HAVE_PROTO_BSDSOCKET_H) + int connect(int, void*, int); + #endif + +@@ -24351,7 +24526,7 @@ else $as_nop + + + #undef inline +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + #ifndef WIN32_LEAN_AND_MEAN + #define WIN32_LEAN_AND_MEAN + #endif +@@ -24403,7 +24578,7 @@ printf "%s\n" "@%:@define HAVE_LBER_H 1" >>confdefs.h + + + #undef inline +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + #ifndef WIN32_LEAN_AND_MEAN + #define WIN32_LEAN_AND_MEAN + #endif +@@ -24467,7 +24642,7 @@ else $as_nop + + + #undef inline +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + #ifndef WIN32_LEAN_AND_MEAN + #define WIN32_LEAN_AND_MEAN + #endif +@@ -24532,7 +24707,7 @@ else $as_nop + + + #undef inline +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + #ifndef WIN32_LEAN_AND_MEAN + #define WIN32_LEAN_AND_MEAN + #endif +@@ -24691,7 +24866,7 @@ printf %s "checking for LDAP libraries... " >&6; } + + + #undef inline +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + #ifndef WIN32_LEAN_AND_MEAN + #define WIN32_LEAN_AND_MEAN + #endif +@@ -24921,7 +25096,7 @@ else $as_nop + + /* are AF_INET6 and sockaddr_in6 available? */ + #include +-#ifdef HAVE_WINSOCK2_H ++#ifdef _WIN32 + #include + #include + #else +@@ -24931,15 +25106,12 @@ else $as_nop + # include + #endif + #endif +-#include /* for exit() */ +-main() ++ ++int main(void) + { + struct sockaddr_in6 s; + (void)s; +- if (socket(AF_INET6, SOCK_STREAM, 0) < 0) +- exit(1); +- else +- exit(0); ++ return socket(AF_INET6, SOCK_STREAM, 0) < 0; + } + + +@@ -24975,7 +25147,7 @@ printf %s "checking if struct sockaddr_in6 has sin6_scope_id member... " >&6; } + /* end confdefs.h. */ + + #include +-#ifdef HAVE_WINSOCK2_H ++#ifdef _WIN32 + #include + #include + #else +@@ -25509,10 +25681,6 @@ done + if test "x$ac_cv_header_gssapi_h" = xyes + then : + +- +-printf "%s\n" "@%:@define HAVE_GSSHEIMDAL 1" >>confdefs.h +- +- + else $as_nop + + want_gss=no +@@ -25523,10 +25691,7 @@ printf "%s\n" "$as_me: WARNING: disabling GSS-API support since no header files + fi + + else +- +-printf "%s\n" "@%:@define HAVE_GSSMIT 1" >>confdefs.h +- +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if GSS-API headers declare GSS_C_NT_HOSTBASED_SERVICE" >&5 ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if GSS-API headers declare GSS_C_NT_HOSTBASED_SERVICE" >&5 + printf %s "checking if GSS-API headers declare GSS_C_NT_HOSTBASED_SERVICE... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ +@@ -26072,7 +26237,7 @@ int main (void) + { + + #if defined(AMISSL_CURRENT_VERSION) && defined(AMISSL_V3xx) && \ +- defined(OPENSSL_VERSION_MAJOR) && (OPENSSL_VERSION_MAJOR >= 3) && \ ++ (OPENSSL_VERSION_NUMBER >= 0x30000000L) && \ + defined(PROTO_AMISSL_H) + return 0; + #else +@@ -26809,6 +26974,7 @@ then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 + printf "%s\n" "yes" >&6; } + ssl_msg="BoringSSL" ++ OPENSSL_IS_BORINGSSL=1 + + else $as_nop + +@@ -26844,6 +27010,7 @@ then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 + printf "%s\n" "yes" >&6; } + ssl_msg="AWS-LC" ++ OPENSSL_IS_BORINGSSL=1 + + else $as_nop + +@@ -26900,7 +27067,7 @@ printf %s "checking for OpenSSL >= v3... " >&6; } + int main (void) + { + +- #if defined(OPENSSL_VERSION_MAJOR) && (OPENSSL_VERSION_MAJOR >= 3) ++ #if (OPENSSL_VERSION_NUMBER >= 0x30000000L) + return 0; + #else + #error older than 3 +@@ -26930,6 +27097,25 @@ fi + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + fi + ++ ++ for ac_func in SSL_set_quic_use_legacy_codepoint ++do : ++ ac_fn_c_check_func "$LINENO" "SSL_set_quic_use_legacy_codepoint" "ac_cv_func_SSL_set_quic_use_legacy_codepoint" ++if test "x$ac_cv_func_SSL_set_quic_use_legacy_codepoint" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_SSL_SET_QUIC_USE_LEGACY_CODEPOINT 1" >>confdefs.h ++ QUIC_ENABLED=yes ++fi ++ ++done ++ if test "$QUIC_ENABLED" = "yes"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: OpenSSL fork speaks QUIC API" >&5 ++printf "%s\n" "$as_me: OpenSSL fork speaks QUIC API" >&6;} ++ else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: OpenSSL version does not speak QUIC API" >&5 ++printf "%s\n" "$as_me: OpenSSL version does not speak QUIC API" >&6;} ++ fi ++ + if test "$OPENSSL_ENABLED" = "1"; then + if test -n "$LIB_OPENSSL"; then + if test "x$cross_compiling" != "xyes"; then +@@ -27060,6 +27246,45 @@ fi + + fi + ++if test "$OPENSSL_ENABLED" = "1"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for QUIC support in OpenSSL" >&5 ++printf %s "checking for QUIC support in OpenSSL... " >&6; } ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ ++#include ++ ++int main (void) ++{ ++ ++ OSSL_QUIC_client_method(); ++ ++ ; ++ return 0; ++} ++ ++_ACEOF ++if ac_fn_c_try_link "$LINENO" ++then : ++ ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++ ++printf "%s\n" "@%:@define HAVE_OPENSSL_QUIC 1" >>confdefs.h ++ ++ HAVE_OPENSSL_QUIC=1 ++ ++ ++else $as_nop ++ ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++ ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ ++ conftest$ac_exeext conftest.$ac_ext ++fi + + + if test "x$OPT_GNUTLS" != xno; then +@@ -27305,6 +27530,7 @@ printf "%s\n" "@%:@define USE_GNUTLS 1" >>confdefs.h + GNUTLS_ENABLED=1 + USE_GNUTLS="yes" + ssl_msg="GnuTLS" ++ QUIC_ENABLED=yes + test gnutls != "$DEFAULT_SSL_BACKEND" || VALID_DEFAULT_SSL_BACKEND=yes + + else $as_nop +@@ -27896,6 +28122,7 @@ printf "%s\n" "@%:@define USE_WOLFSSL 1" >>confdefs.h + WOLFSSL_ENABLED=1 + USE_WOLFSSL="yes" + ssl_msg="WolfSSL" ++ QUIC_ENABLED=yes + test wolfssl != "$DEFAULT_SSL_BACKEND" || VALID_DEFAULT_SSL_BACKEND=yes + + else $as_nop +@@ -28189,89 +28416,59 @@ fi + + + if test "x$OPT_RUSTLS" != xno; then +- _cppflags=$CPPFLAGS +- _ldflags=$LDFLAGS + ssl_msg= + +- if test X"$OPT_RUSTLS" != Xno; then +- +- if test "$OPT_RUSTLS" = "yes"; then +- OPT_RUSTLS="" +- fi +- +- case $host_os in +- darwin*) +- LDFLAGS="$LDFLAGS -framework Security" +- ;; +- *) +- ;; +- esac +- +- if test -z "$OPT_RUSTLS" ; then +- +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for rustls_client_session_read in -lrustls" >&5 +-printf %s "checking for rustls_client_session_read in -lrustls... " >&6; } +-if test ${ac_cv_lib_rustls_rustls_client_session_read+y} +-then : +- printf %s "(cached) " >&6 +-else $as_nop +- ac_check_lib_save_LIBS=$LIBS +-LIBS="-lrustls -lpthread -ldl -lm $LIBS" +-cat confdefs.h - <<_ACEOF >conftest.$ac_ext +-/* end confdefs.h. */ +- ++ CLEANLDFLAGS="$LDFLAGS" ++ CLEANCPPFLAGS="$CPPFLAGS" + +-#ifdef __cplusplus +-extern "C" +-#endif +-char rustls_client_session_read (); +-int main (void) +-{ +-return rustls_client_session_read (); +- ; +- return 0; +-} +-_ACEOF +-if ac_fn_c_try_link "$LINENO" +-then : +- ac_cv_lib_rustls_rustls_client_session_read=yes +-else $as_nop +- ac_cv_lib_rustls_rustls_client_session_read=no +-fi +-rm -f core conftest.err conftest.$ac_objext conftest.beam \ +- conftest$ac_exeext conftest.$ac_ext +-LIBS=$ac_check_lib_save_LIBS +-fi +-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rustls_rustls_client_session_read" >&5 +-printf "%s\n" "$ac_cv_lib_rustls_rustls_client_session_read" >&6; } +-if test "x$ac_cv_lib_rustls_rustls_client_session_read" = xyes +-then : +- +- +-printf "%s\n" "@%:@define USE_RUSTLS 1" >>confdefs.h ++ case $host_os in ++ darwin*) ++ LDFLAGS="$LDFLAGS -framework Security" ++ ;; ++ *) ++ ;; ++ esac ++ ## NEW CODE + +- USE_RUSTLS=1 ++ ++ case "$OPT_RUSTLS" in ++ yes) ++ PKGTEST="yes" ++ PREFIX_RUSTLS= ++ ;; ++ *) ++ PKGTEST="no" ++ PREFIX_RUSTLS=$OPT_RUSTLS + +- RUSTLS_ENABLED=1 +- USE_RUSTLS="yes" +- ssl_msg="rustls" +- test rustls != "$DEFAULT_SSL_BACKEND" || VALID_DEFAULT_SSL_BACKEND=yes +- +-fi ++ ++ RUSTLS_PCDIR="$PREFIX_RUSTLS/lib/pkgconfig" ++ if test -f "$RUSTLS_PCDIR/rustls.pc"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: PKG_CONFIG_LIBDIR will be set to \"$RUSTLS_PCDIR\"" >&5 ++printf "%s\n" "$as_me: PKG_CONFIG_LIBDIR will be set to \"$RUSTLS_PCDIR\"" >&6;} ++ PKGTEST="yes" ++ fi + +- fi ++ if test "$PKGTEST" != "yes"; then ++ # try lib64 instead ++ RUSTLS_PCDIR="$PREFIX_RUSTLS/lib64/pkgconfig" ++ if test -f "$RUSTLS_PCDIR/rustls.pc"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: PKG_CONFIG_LIBDIR will be set to \"$RUSTLS_PCDIR\"" >&5 ++printf "%s\n" "$as_me: PKG_CONFIG_LIBDIR will be set to \"$RUSTLS_PCDIR\"" >&6;} ++ PKGTEST="yes" ++ fi ++ fi + +- if test "x$USE_RUSTLS" != "xyes"; then +- addld=-L$OPT_RUSTLS/lib$libsuff +- addcflags=-I$OPT_RUSTLS/include +- rustlslib=$OPT_RUSTLS/lib$libsuff ++ if test "$PKGTEST" != "yes"; then ++ ++ addld=-L$PREFIX_RUSTLS/lib$libsuff ++ addcflags=-I$PREFIX_RUSTLS/include + +- LDFLAGS="$LDFLAGS $addld" +- if test "$addcflags" != "-I/usr/include"; then +- CPPFLAGS="$CPPFLAGS $addcflags" +- fi ++ LDFLAGS="$LDFLAGS $addld" ++ if test "$addcflags" != "-I/usr/include"; then ++ CPPFLAGS="$CPPFLAGS $addcflags" ++ fi + +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for rustls_connection_read in -lrustls" >&5 ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for rustls_connection_read in -lrustls" >&5 + printf %s "checking for rustls_connection_read in -lrustls... " >&6; } + if test ${ac_cv_lib_rustls_rustls_connection_read+y} + then : +@@ -28309,40 +28506,233 @@ printf "%s\n" "$ac_cv_lib_rustls_rustls_connection_read" >&6; } + if test "x$ac_cv_lib_rustls_rustls_connection_read" = xyes + then : + +- ++ + printf "%s\n" "@%:@define USE_RUSTLS 1" >>confdefs.h + +- USE_RUSTLS=1 ++ USE_RUSTLS=1 + +- RUSTLS_ENABLED=1 +- USE_RUSTLS="yes" +- ssl_msg="rustls" +- test rustls != "$DEFAULT_SSL_BACKEND" || VALID_DEFAULT_SSL_BACKEND=yes +- ++ RUSTLS_ENABLED=1 ++ USE_RUSTLS="yes" ++ ssl_msg="rustls" ++ test rustls != "$DEFAULT_SSL_BACKEND" || VALID_DEFAULT_SSL_BACKEND=yes ++ + else $as_nop + as_fn_error $? "--with-rustls was specified but could not find rustls." "$LINENO" 5 + fi + ++ ++ USE_RUSTLS="yes" ++ ssl_msg="rustls" ++ ++ LIB_RUSTLS="$PREFIX_RUSTLS/lib$libsuff" ++ if test "$PREFIX_RUSTLS" != "/usr" ; then ++ SSL_LDFLAGS="-L$LIB_RUSTLS" ++ SSL_CPPFLAGS="-I$PREFIX_RUSTLS/include" ++ fi ++ fi ++ ;; ++ esac ++ ++ if test "$PKGTEST" = "yes"; then ++ ++ ++ if test -n "$PKG_CONFIG"; then ++ PKGCONFIG="$PKG_CONFIG" ++ else ++ if test -n "$ac_tool_prefix"; then ++ # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. ++set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_path_PKGCONFIG+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ case $PKGCONFIG in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_PKGCONFIG="$PKGCONFIG" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++as_dummy="$PATH:/usr/bin:/usr/local/bin" ++for as_dir in $as_dummy ++do ++ IFS=$as_save_IFS ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ++ ac_cv_path_PKGCONFIG="$as_dir$ac_word$ac_exec_ext" ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++ ;; ++esac ++fi ++PKGCONFIG=$ac_cv_path_PKGCONFIG ++if test -n "$PKGCONFIG"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5 ++printf "%s\n" "$PKGCONFIG" >&6; } ++else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++fi ++ ++ ++fi ++if test -z "$ac_cv_path_PKGCONFIG"; then ++ ac_pt_PKGCONFIG=$PKGCONFIG ++ # Extract the first word of "pkg-config", so it can be a program name with args. ++set dummy pkg-config; ac_word=$2 ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_path_ac_pt_PKGCONFIG+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ case $ac_pt_PKGCONFIG in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_ac_pt_PKGCONFIG="$ac_pt_PKGCONFIG" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++as_dummy="$PATH:/usr/bin:/usr/local/bin" ++for as_dir in $as_dummy ++do ++ IFS=$as_save_IFS ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ++ ac_cv_path_ac_pt_PKGCONFIG="$as_dir$ac_word$ac_exec_ext" ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++ ;; ++esac ++fi ++ac_pt_PKGCONFIG=$ac_cv_path_ac_pt_PKGCONFIG ++if test -n "$ac_pt_PKGCONFIG"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5 ++printf "%s\n" "$ac_pt_PKGCONFIG" >&6; } ++else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++fi ++ ++ if test "x$ac_pt_PKGCONFIG" = x; then ++ PKGCONFIG="no" ++ else ++ case $cross_compiling:$ac_tool_warned in ++yes:) ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 ++printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ++ac_tool_warned=yes ;; ++esac ++ PKGCONFIG=$ac_pt_PKGCONFIG ++ fi ++else ++ PKGCONFIG="$ac_cv_path_PKGCONFIG" ++fi ++ + fi + +- if test "x$USE_RUSTLS" = "xyes"; then +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: detected rustls" >&5 +-printf "%s\n" "$as_me: detected rustls" >&6;} +- check_for_ca_bundle=1 ++ if test "x$PKGCONFIG" != "xno"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for rustls options with pkg-config" >&5 ++printf %s "checking for rustls options with pkg-config... " >&6; } ++ itexists=` ++ if test -n "$RUSTLS_PCDIR"; then ++ PKG_CONFIG_LIBDIR="$RUSTLS_PCDIR" ++ export PKG_CONFIG_LIBDIR ++ fi ++ $PKGCONFIG --exists rustls >/dev/null 2>&1 && echo 1` + +- LIBS="-lrustls -lpthread -ldl -lm $LIBS" ++ if test -z "$itexists"; then ++ PKGCONFIG="no" ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++ else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5 ++printf "%s\n" "found" >&6; } ++ fi ++ fi + +- if test -n "$rustlslib"; then +- if test "x$cross_compiling" != "xyes"; then +- CURL_LIBRARY_PATH="$CURL_LIBRARY_PATH:$rustlslib" +- export CURL_LIBRARY_PATH +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Added $rustlslib to CURL_LIBRARY_PATH" >&5 +-printf "%s\n" "$as_me: Added $rustlslib to CURL_LIBRARY_PATH" >&6;} +- fi ++ ++ if test "$PKGCONFIG" != "no" ; then ++ SSL_LIBS=` ++ if test -n "$RUSTLS_PCDIR"; then ++ PKG_CONFIG_LIBDIR="$RUSTLS_PCDIR" ++ export PKG_CONFIG_LIBDIR ++ fi ++ $PKGCONFIG --libs-only-l --libs-only-other rustls 2>/dev/null` ++ ++ SSL_LDFLAGS=` ++ if test -n "$RUSTLS_PCDIR"; then ++ PKG_CONFIG_LIBDIR="$RUSTLS_PCDIR" ++ export PKG_CONFIG_LIBDIR ++ fi ++ $PKGCONFIG --libs-only-L rustls 2>/dev/null` ++ ++ SSL_CPPFLAGS=` ++ if test -n "$RUSTLS_PCDIR"; then ++ PKG_CONFIG_LIBDIR="$RUSTLS_PCDIR" ++ export PKG_CONFIG_LIBDIR ++ fi ++ $PKGCONFIG --cflags-only-I rustls 2>/dev/null` ++ ++ ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: pkg-config: SSL_LIBS: \"$SSL_LIBS\"" >&5 ++printf "%s\n" "$as_me: pkg-config: SSL_LIBS: \"$SSL_LIBS\"" >&6;} ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: pkg-config: SSL_LDFLAGS: \"$SSL_LDFLAGS\"" >&5 ++printf "%s\n" "$as_me: pkg-config: SSL_LDFLAGS: \"$SSL_LDFLAGS\"" >&6;} ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: pkg-config: SSL_CPPFLAGS: \"$SSL_CPPFLAGS\"" >&5 ++printf "%s\n" "$as_me: pkg-config: SSL_CPPFLAGS: \"$SSL_CPPFLAGS\"" >&6;} ++ ++ LIB_RUSTLS=`echo $SSL_LDFLAGS | sed -e 's/^-L//'` ++ ++ LIBS="$SSL_LIBS $LIBS" ++ USE_RUSTLS="yes" ++ ssl_msg="rustls" ++ else ++ as_fn_error $? "pkg-config: Could not find rustls" "$LINENO" 5 ++ fi ++ ++ else ++ LIBS="-lrustls -lpthread -ldl -lm $LIBS" ++ fi ++ ++ CPPFLAGS="$CLEAN_CPPFLAGS $SSL_CPPFLAGS" ++ LDFLAGS="$CLAN_LDFLAGS $SSL_LDFLAGS" ++ ++ if test "x$USE_RUSTLS" = "xyes"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: detected rustls" >&5 ++printf "%s\n" "$as_me: detected rustls" >&6;} ++ check_for_ca_bundle=1 ++ ++ if test -n "$LIB_RUSTLS"; then ++ if test "x$cross_compiling" != "xyes"; then ++ CURL_LIBRARY_PATH="$CURL_LIBRARY_PATH:$LIB_RUSTLS" ++ export CURL_LIBRARY_PATH ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Added $LIB_RUSTLS to CURL_LIBRARY_PATH" >&5 ++printf "%s\n" "$as_me: Added $LIB_RUSTLS to CURL_LIBRARY_PATH" >&6;} + fi + fi ++ fi + +- fi + test -z "$ssl_msg" || ssl_backends="${ssl_backends:+$ssl_backends, }$ssl_msg" + fi + +@@ -28579,23 +28969,194 @@ printf "%s\n" "@%:@define CURL_CA_FALLBACK 1" >>confdefs.h + fi + + ++OPT_LIBPSL=off + + @%:@ Check whether --with-libpsl was given. + if test ${with_libpsl+y} + then : +- withval=$with_libpsl; with_libpsl=$withval ++ withval=$with_libpsl; OPT_LIBPSL=$withval ++fi ++ ++ ++if test X"$OPT_LIBPSL" != Xno; then ++ CLEANLDFLAGS="$LDFLAGS" ++ CLEANCPPFLAGS="$CPPFLAGS" ++ CLEANLIBS="$LIBS" ++ ++ case "$OPT_LIBPSL" in ++ yes) ++ ++ if test -n "$PKG_CONFIG"; then ++ PKGCONFIG="$PKG_CONFIG" ++ else ++ if test -n "$ac_tool_prefix"; then ++ # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. ++set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_path_PKGCONFIG+y} ++then : ++ printf %s "(cached) " >&6 + else $as_nop +- with_libpsl=yes ++ case $PKGCONFIG in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_PKGCONFIG="$PKGCONFIG" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++as_dummy="$PATH:/usr/bin:/usr/local/bin" ++for as_dir in $as_dummy ++do ++ IFS=$as_save_IFS ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ++ ac_cv_path_PKGCONFIG="$as_dir$ac_word$ac_exec_ext" ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++ ;; ++esac ++fi ++PKGCONFIG=$ac_cv_path_PKGCONFIG ++if test -n "$PKGCONFIG"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5 ++printf "%s\n" "$PKGCONFIG" >&6; } ++else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + fi + +-if test $with_libpsl != "no"; then +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing psl_builtin" >&5 +-printf %s "checking for library containing psl_builtin... " >&6; } +-if test ${ac_cv_search_psl_builtin+y} ++ ++fi ++if test -z "$ac_cv_path_PKGCONFIG"; then ++ ac_pt_PKGCONFIG=$PKGCONFIG ++ # Extract the first word of "pkg-config", so it can be a program name with args. ++set dummy pkg-config; ac_word=$2 ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_path_ac_pt_PKGCONFIG+y} + then : + printf %s "(cached) " >&6 + else $as_nop +- ac_func_search_save_LIBS=$LIBS ++ case $ac_pt_PKGCONFIG in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_ac_pt_PKGCONFIG="$ac_pt_PKGCONFIG" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++as_dummy="$PATH:/usr/bin:/usr/local/bin" ++for as_dir in $as_dummy ++do ++ IFS=$as_save_IFS ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ++ ac_cv_path_ac_pt_PKGCONFIG="$as_dir$ac_word$ac_exec_ext" ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++ ;; ++esac ++fi ++ac_pt_PKGCONFIG=$ac_cv_path_ac_pt_PKGCONFIG ++if test -n "$ac_pt_PKGCONFIG"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5 ++printf "%s\n" "$ac_pt_PKGCONFIG" >&6; } ++else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++fi ++ ++ if test "x$ac_pt_PKGCONFIG" = x; then ++ PKGCONFIG="no" ++ else ++ case $cross_compiling:$ac_tool_warned in ++yes:) ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 ++printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ++ac_tool_warned=yes ;; ++esac ++ PKGCONFIG=$ac_pt_PKGCONFIG ++ fi ++else ++ PKGCONFIG="$ac_cv_path_PKGCONFIG" ++fi ++ ++ fi ++ ++ if test "x$PKGCONFIG" != "xno"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libpsl options with pkg-config" >&5 ++printf %s "checking for libpsl options with pkg-config... " >&6; } ++ itexists=` ++ if test -n ""; then ++ PKG_CONFIG_LIBDIR="" ++ export PKG_CONFIG_LIBDIR ++ fi ++ $PKGCONFIG --exists libpsl >/dev/null 2>&1 && echo 1` ++ ++ if test -z "$itexists"; then ++ PKGCONFIG="no" ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++ else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5 ++printf "%s\n" "found" >&6; } ++ fi ++ fi ++ ++ ++ if test "$PKGCONFIG" != "no" ; then ++ LIB_PSL=`$PKGCONFIG --libs-only-l libpsl` ++ LD_PSL=`$PKGCONFIG --libs-only-L libpsl` ++ CPP_PSL=`$PKGCONFIG --cflags-only-I libpsl` ++ else ++ LIB_PSL="-lpsl" ++ fi ++ ++ ;; ++ off) ++ LIB_PSL="-lpsl" ++ ;; ++ *) ++ LIB_PSL="-lpsl" ++ PREFIX_PSL=$OPT_LIBPSL ++ ;; ++ esac ++ ++ if test -n "$PREFIX_PSL"; then ++ LD_PSL=-L${PREFIX_PSL}/lib$libsuff ++ CPP_PSL=-I${PREFIX_PSL}/include ++ fi ++ ++ LDFLAGS="$LDFLAGS $LD_PSL" ++ CPPFLAGS="$CPPFLAGS $CPP_PSL" ++ LIBS="$LIB_PSL $LIBS" ++ ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for psl_builtin in -lpsl" >&5 ++printf %s "checking for psl_builtin in -lpsl... " >&6; } ++if test ${ac_cv_lib_psl_psl_builtin+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lpsl $LIBS" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + +@@ -28611,53 +29172,51 @@ return psl_builtin (); + return 0; + } + _ACEOF +-for ac_lib in '' psl +-do +- if test -z "$ac_lib"; then +- ac_res="none required" +- else +- ac_res=-l$ac_lib +- LIBS="-l$ac_lib $ac_func_search_save_LIBS" +- fi +- if ac_fn_c_try_link "$LINENO" ++if ac_fn_c_try_link "$LINENO" + then : +- ac_cv_search_psl_builtin=$ac_res ++ ac_cv_lib_psl_psl_builtin=yes ++else $as_nop ++ ac_cv_lib_psl_psl_builtin=no + fi + rm -f core conftest.err conftest.$ac_objext conftest.beam \ +- conftest$ac_exeext +- if test ${ac_cv_search_psl_builtin+y} +-then : +- break ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS + fi +-done +-if test ${ac_cv_search_psl_builtin+y} ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_psl_psl_builtin" >&5 ++printf "%s\n" "$ac_cv_lib_psl_psl_builtin" >&6; } ++if test "x$ac_cv_lib_psl_psl_builtin" = xyes + then : + +-else $as_nop +- ac_cv_search_psl_builtin=no +-fi +-rm conftest.$ac_ext +-LIBS=$ac_func_search_save_LIBS +-fi +-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_psl_builtin" >&5 +-printf "%s\n" "$ac_cv_search_psl_builtin" >&6; } +-ac_res=$ac_cv_search_psl_builtin +-if test "$ac_res" != no ++ for ac_header in libpsl.h ++do : ++ ac_fn_c_check_header_compile "$LINENO" "libpsl.h" "ac_cv_header_libpsl_h" "$ac_includes_default" ++if test "x$ac_cv_header_libpsl_h" = xyes + then : +- test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" +- curl_psl_msg="enabled"; +- ++ printf "%s\n" "@%:@define HAVE_LIBPSL_H 1" >>confdefs.h ++ curl_psl_msg="enabled" ++ LIBPSL_ENABLED=1 ++ + printf "%s\n" "@%:@define USE_LIBPSL 1" >>confdefs.h + ++ USE_LIBPSL=1 ++ + ++fi ++ ++done ++ + else $as_nop +- curl_psl_msg="no (libpsl not found)"; +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: libpsl was not found" >&5 +-printf "%s\n" "$as_me: WARNING: libpsl was not found" >&2;} +- ++ LDFLAGS=$CLEANLDFLAGS ++ CPPFLAGS=$CLEANCPPFLAGS ++ LIBS=$CLEANLIBS + + fi + ++ ++ if test X"$OPT_LIBPSL" != Xoff && ++ test "$LIBPSL_ENABLED" != "1"; then ++ as_fn_error $? "libpsl libs and/or directories were not found where specified!" "$LINENO" 5 ++ fi + fi + if test "$curl_psl_msg" = "enabled"; then + USE_LIBPSL_TRUE= +@@ -30616,6 +31175,11 @@ esac + + curl_tcp2_msg="no (--with-ngtcp2)" + if test X"$want_tcp2" != Xno; then ++ ++ if test "$QUIC_ENABLED" != "yes"; then ++ as_fn_error $? "the detected TLS library does not support QUIC, making --with-ngtcp2 a no-no" "$LINENO" 5 ++ fi ++ + CLEANLDFLAGS="$LDFLAGS" + CLEANCPPFLAGS="$CPPFLAGS" + CLEANLIBS="$LIBS" +@@ -30869,7 +31433,260 @@ fi + + fi + +-if test "x$NGTCP2_ENABLED" = "x1" -a "x$OPENSSL_ENABLED" = "x1"; then ++if test "x$NGTCP2_ENABLED" = "x1" -a "x$OPENSSL_ENABLED" = "x1" -a "x$OPENSSL_IS_BORINGSSL" != "x1"; then ++ CLEANLDFLAGS="$LDFLAGS" ++ CLEANCPPFLAGS="$CPPFLAGS" ++ CLEANLIBS="$LIBS" ++ ++ ++ if test -n "$PKG_CONFIG"; then ++ PKGCONFIG="$PKG_CONFIG" ++ else ++ if test -n "$ac_tool_prefix"; then ++ # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. ++set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_path_PKGCONFIG+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ case $PKGCONFIG in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_PKGCONFIG="$PKGCONFIG" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++as_dummy="$PATH:/usr/bin:/usr/local/bin" ++for as_dir in $as_dummy ++do ++ IFS=$as_save_IFS ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ++ ac_cv_path_PKGCONFIG="$as_dir$ac_word$ac_exec_ext" ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++ ;; ++esac ++fi ++PKGCONFIG=$ac_cv_path_PKGCONFIG ++if test -n "$PKGCONFIG"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5 ++printf "%s\n" "$PKGCONFIG" >&6; } ++else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++fi ++ ++ ++fi ++if test -z "$ac_cv_path_PKGCONFIG"; then ++ ac_pt_PKGCONFIG=$PKGCONFIG ++ # Extract the first word of "pkg-config", so it can be a program name with args. ++set dummy pkg-config; ac_word=$2 ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_path_ac_pt_PKGCONFIG+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ case $ac_pt_PKGCONFIG in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_ac_pt_PKGCONFIG="$ac_pt_PKGCONFIG" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++as_dummy="$PATH:/usr/bin:/usr/local/bin" ++for as_dir in $as_dummy ++do ++ IFS=$as_save_IFS ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ++ ac_cv_path_ac_pt_PKGCONFIG="$as_dir$ac_word$ac_exec_ext" ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++ ;; ++esac ++fi ++ac_pt_PKGCONFIG=$ac_cv_path_ac_pt_PKGCONFIG ++if test -n "$ac_pt_PKGCONFIG"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5 ++printf "%s\n" "$ac_pt_PKGCONFIG" >&6; } ++else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++fi ++ ++ if test "x$ac_pt_PKGCONFIG" = x; then ++ PKGCONFIG="no" ++ else ++ case $cross_compiling:$ac_tool_warned in ++yes:) ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 ++printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ++ac_tool_warned=yes ;; ++esac ++ PKGCONFIG=$ac_pt_PKGCONFIG ++ fi ++else ++ PKGCONFIG="$ac_cv_path_PKGCONFIG" ++fi ++ ++ fi ++ ++ if test "x$PKGCONFIG" != "xno"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libngtcp2_crypto_quictls options with pkg-config" >&5 ++printf %s "checking for libngtcp2_crypto_quictls options with pkg-config... " >&6; } ++ itexists=` ++ if test -n "$want_tcp2_path"; then ++ PKG_CONFIG_LIBDIR="$want_tcp2_path" ++ export PKG_CONFIG_LIBDIR ++ fi ++ $PKGCONFIG --exists libngtcp2_crypto_quictls >/dev/null 2>&1 && echo 1` ++ ++ if test -z "$itexists"; then ++ PKGCONFIG="no" ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++ else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5 ++printf "%s\n" "found" >&6; } ++ fi ++ fi ++ ++ ++ if test "$PKGCONFIG" != "no" ; then ++ LIB_NGTCP2_CRYPTO_QUICTLS=` ++ if test -n "$want_tcp2_path"; then ++ PKG_CONFIG_LIBDIR="$want_tcp2_path" ++ export PKG_CONFIG_LIBDIR ++ fi ++ ++ $PKGCONFIG --libs-only-l libngtcp2_crypto_quictls` ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -l is $LIB_NGTCP2_CRYPTO_QUICTLS" >&5 ++printf "%s\n" "$as_me: -l is $LIB_NGTCP2_CRYPTO_QUICTLS" >&6;} ++ ++ CPP_NGTCP2_CRYPTO_QUICTLS=` ++ if test -n "$want_tcp2_path"; then ++ PKG_CONFIG_LIBDIR="$want_tcp2_path" ++ export PKG_CONFIG_LIBDIR ++ fi ++ $PKGCONFIG --cflags-only-I libngtcp2_crypto_quictls` ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -I is $CPP_NGTCP2_CRYPTO_QUICTLS" >&5 ++printf "%s\n" "$as_me: -I is $CPP_NGTCP2_CRYPTO_QUICTLS" >&6;} ++ ++ LD_NGTCP2_CRYPTO_QUICTLS=` ++ if test -n "$want_tcp2_path"; then ++ PKG_CONFIG_LIBDIR="$want_tcp2_path" ++ export PKG_CONFIG_LIBDIR ++ fi ++ ++ $PKGCONFIG --libs-only-L libngtcp2_crypto_quictls` ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -L is $LD_NGTCP2_CRYPTO_QUICTLS" >&5 ++printf "%s\n" "$as_me: -L is $LD_NGTCP2_CRYPTO_QUICTLS" >&6;} ++ ++ LDFLAGS="$LDFLAGS $LD_NGTCP2_CRYPTO_QUICTLS" ++ CPPFLAGS="$CPPFLAGS $CPP_NGTCP2_CRYPTO_QUICTLS" ++ LIBS="$LIB_NGTCP2_CRYPTO_QUICTLS $LIBS" ++ ++ if test "x$cross_compiling" != "xyes"; then ++ DIR_NGTCP2_CRYPTO_QUICTLS=`echo $LD_NGTCP2_CRYPTO_QUICTLS | $SED -e 's/^-L//'` ++ fi ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ngtcp2_crypto_recv_client_initial_cb in -lngtcp2_crypto_quictls" >&5 ++printf %s "checking for ngtcp2_crypto_recv_client_initial_cb in -lngtcp2_crypto_quictls... " >&6; } ++if test ${ac_cv_lib_ngtcp2_crypto_quictls_ngtcp2_crypto_recv_client_initial_cb+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lngtcp2_crypto_quictls $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ ++#ifdef __cplusplus ++extern "C" ++#endif ++char ngtcp2_crypto_recv_client_initial_cb (); ++int main (void) ++{ ++return ngtcp2_crypto_recv_client_initial_cb (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO" ++then : ++ ac_cv_lib_ngtcp2_crypto_quictls_ngtcp2_crypto_recv_client_initial_cb=yes ++else $as_nop ++ ac_cv_lib_ngtcp2_crypto_quictls_ngtcp2_crypto_recv_client_initial_cb=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ngtcp2_crypto_quictls_ngtcp2_crypto_recv_client_initial_cb" >&5 ++printf "%s\n" "$ac_cv_lib_ngtcp2_crypto_quictls_ngtcp2_crypto_recv_client_initial_cb" >&6; } ++if test "x$ac_cv_lib_ngtcp2_crypto_quictls_ngtcp2_crypto_recv_client_initial_cb" = xyes ++then : ++ ++ for ac_header in ngtcp2/ngtcp2_crypto.h ++do : ++ ac_fn_c_check_header_compile "$LINENO" "ngtcp2/ngtcp2_crypto.h" "ac_cv_header_ngtcp2_ngtcp2_crypto_h" "$ac_includes_default" ++if test "x$ac_cv_header_ngtcp2_ngtcp2_crypto_h" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_NGTCP2_NGTCP2_CRYPTO_H 1" >>confdefs.h ++ NGTCP2_ENABLED=1 ++ ++printf "%s\n" "@%:@define USE_NGTCP2_CRYPTO_QUICTLS 1" >>confdefs.h ++ ++ USE_NGTCP2_CRYPTO_QUICTLS=1 ++ ++ CURL_LIBRARY_PATH="$CURL_LIBRARY_PATH:$DIR_NGTCP2_CRYPTO_QUICTLS" ++ export CURL_LIBRARY_PATH ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Added $DIR_NGTCP2_CRYPTO_QUICTLS to CURL_LIBRARY_PATH" >&5 ++printf "%s\n" "$as_me: Added $DIR_NGTCP2_CRYPTO_QUICTLS to CURL_LIBRARY_PATH" >&6;} ++ ++fi ++ ++done ++ ++else $as_nop ++ LDFLAGS=$CLEANLDFLAGS ++ CPPFLAGS=$CLEANCPPFLAGS ++ LIBS=$CLEANLIBS ++ ++fi ++ ++ ++ else ++ if test X"$want_tcp2" != Xdefault; then ++ as_fn_error $? "--with-ngtcp2 was specified but could not find ngtcp2_crypto_quictls pkg-config file." "$LINENO" 5 ++ fi ++ fi ++fi ++ ++if test "x$NGTCP2_ENABLED" = "x1" -a "x$OPENSSL_ENABLED" = "x1" -a "x$OPENSSL_IS_BORINGSSL" = "x1"; then + CLEANLDFLAGS="$LDFLAGS" + CLEANCPPFLAGS="$CPPFLAGS" + CLEANLIBS="$LIBS" +@@ -30991,14 +31808,14 @@ fi + fi + + if test "x$PKGCONFIG" != "xno"; then +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libngtcp2_crypto_quictls options with pkg-config" >&5 +-printf %s "checking for libngtcp2_crypto_quictls options with pkg-config... " >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libngtcp2_crypto_boringssl options with pkg-config" >&5 ++printf %s "checking for libngtcp2_crypto_boringssl options with pkg-config... " >&6; } + itexists=` + if test -n "$want_tcp2_path"; then + PKG_CONFIG_LIBDIR="$want_tcp2_path" + export PKG_CONFIG_LIBDIR + fi +- $PKGCONFIG --exists libngtcp2_crypto_quictls >/dev/null 2>&1 && echo 1` ++ $PKGCONFIG --exists libngtcp2_crypto_boringssl >/dev/null 2>&1 && echo 1` + + if test -z "$itexists"; then + PKGCONFIG="no" +@@ -31012,50 +31829,50 @@ printf "%s\n" "found" >&6; } + + + if test "$PKGCONFIG" != "no" ; then +- LIB_NGTCP2_CRYPTO_QUICTLS=` ++ LIB_NGTCP2_CRYPTO_BORINGSSL=` + if test -n "$want_tcp2_path"; then + PKG_CONFIG_LIBDIR="$want_tcp2_path" + export PKG_CONFIG_LIBDIR + fi + +- $PKGCONFIG --libs-only-l libngtcp2_crypto_quictls` +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -l is $LIB_NGTCP2_CRYPTO_QUICTLS" >&5 +-printf "%s\n" "$as_me: -l is $LIB_NGTCP2_CRYPTO_QUICTLS" >&6;} ++ $PKGCONFIG --libs-only-l libngtcp2_crypto_boringssl` ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -l is $LIB_NGTCP2_CRYPTO_BORINGSSL" >&5 ++printf "%s\n" "$as_me: -l is $LIB_NGTCP2_CRYPTO_BORINGSSL" >&6;} + +- CPP_NGTCP2_CRYPTO_QUICTLS=` ++ CPP_NGTCP2_CRYPTO_BORINGSSL=` + if test -n "$want_tcp2_path"; then + PKG_CONFIG_LIBDIR="$want_tcp2_path" + export PKG_CONFIG_LIBDIR + fi +- $PKGCONFIG --cflags-only-I libngtcp2_crypto_quictls` +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -I is $CPP_NGTCP2_CRYPTO_QUICTLS" >&5 +-printf "%s\n" "$as_me: -I is $CPP_NGTCP2_CRYPTO_QUICTLS" >&6;} ++ $PKGCONFIG --cflags-only-I libngtcp2_crypto_boringssl` ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -I is $CPP_NGTCP2_CRYPTO_BORINGSSL" >&5 ++printf "%s\n" "$as_me: -I is $CPP_NGTCP2_CRYPTO_BORINGSSL" >&6;} + +- LD_NGTCP2_CRYPTO_QUICTLS=` ++ LD_NGTCP2_CRYPTO_BORINGSSL=` + if test -n "$want_tcp2_path"; then + PKG_CONFIG_LIBDIR="$want_tcp2_path" + export PKG_CONFIG_LIBDIR + fi + +- $PKGCONFIG --libs-only-L libngtcp2_crypto_quictls` +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -L is $LD_NGTCP2_CRYPTO_QUICTLS" >&5 +-printf "%s\n" "$as_me: -L is $LD_NGTCP2_CRYPTO_QUICTLS" >&6;} ++ $PKGCONFIG --libs-only-L libngtcp2_crypto_boringssl` ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -L is $LD_NGTCP2_CRYPTO_BORINGSSL" >&5 ++printf "%s\n" "$as_me: -L is $LD_NGTCP2_CRYPTO_BORINGSSL" >&6;} + +- LDFLAGS="$LDFLAGS $LD_NGTCP2_CRYPTO_QUICTLS" +- CPPFLAGS="$CPPFLAGS $CPP_NGTCP2_CRYPTO_QUICTLS" +- LIBS="$LIB_NGTCP2_CRYPTO_QUICTLS $LIBS" ++ LDFLAGS="$LDFLAGS $LD_NGTCP2_CRYPTO_BORINGSSL" ++ CPPFLAGS="$CPPFLAGS $CPP_NGTCP2_CRYPTO_BORINGSSL" ++ LIBS="$LIB_NGTCP2_CRYPTO_BORINGSSL $LIBS" + + if test "x$cross_compiling" != "xyes"; then +- DIR_NGTCP2_CRYPTO_QUICTLS=`echo $LD_NGTCP2_CRYPTO_QUICTLS | $SED -e 's/^-L//'` ++ DIR_NGTCP2_CRYPTO_BORINGSSL=`echo $LD_NGTCP2_CRYPTO_BORINGSSL | $SED -e 's/^-L//'` + fi +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ngtcp2_crypto_recv_client_initial_cb in -lngtcp2_crypto_quictls" >&5 +-printf %s "checking for ngtcp2_crypto_recv_client_initial_cb in -lngtcp2_crypto_quictls... " >&6; } +-if test ${ac_cv_lib_ngtcp2_crypto_quictls_ngtcp2_crypto_recv_client_initial_cb+y} ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ngtcp2_crypto_recv_client_initial_cb in -lngtcp2_crypto_boringssl" >&5 ++printf %s "checking for ngtcp2_crypto_recv_client_initial_cb in -lngtcp2_crypto_boringssl... " >&6; } ++if test ${ac_cv_lib_ngtcp2_crypto_boringssl_ngtcp2_crypto_recv_client_initial_cb+y} + then : + printf %s "(cached) " >&6 + else $as_nop + ac_check_lib_save_LIBS=$LIBS +-LIBS="-lngtcp2_crypto_quictls $LIBS" ++LIBS="-lngtcp2_crypto_boringssl $LIBS" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + +@@ -31073,17 +31890,17 @@ return ngtcp2_crypto_recv_client_initial_cb (); + _ACEOF + if ac_fn_c_try_link "$LINENO" + then : +- ac_cv_lib_ngtcp2_crypto_quictls_ngtcp2_crypto_recv_client_initial_cb=yes ++ ac_cv_lib_ngtcp2_crypto_boringssl_ngtcp2_crypto_recv_client_initial_cb=yes + else $as_nop +- ac_cv_lib_ngtcp2_crypto_quictls_ngtcp2_crypto_recv_client_initial_cb=no ++ ac_cv_lib_ngtcp2_crypto_boringssl_ngtcp2_crypto_recv_client_initial_cb=no + fi + rm -f core conftest.err conftest.$ac_objext conftest.beam \ + conftest$ac_exeext conftest.$ac_ext + LIBS=$ac_check_lib_save_LIBS + fi +-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ngtcp2_crypto_quictls_ngtcp2_crypto_recv_client_initial_cb" >&5 +-printf "%s\n" "$ac_cv_lib_ngtcp2_crypto_quictls_ngtcp2_crypto_recv_client_initial_cb" >&6; } +-if test "x$ac_cv_lib_ngtcp2_crypto_quictls_ngtcp2_crypto_recv_client_initial_cb" = xyes ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ngtcp2_crypto_boringssl_ngtcp2_crypto_recv_client_initial_cb" >&5 ++printf "%s\n" "$ac_cv_lib_ngtcp2_crypto_boringssl_ngtcp2_crypto_recv_client_initial_cb" >&6; } ++if test "x$ac_cv_lib_ngtcp2_crypto_boringssl_ngtcp2_crypto_recv_client_initial_cb" = xyes + then : + + for ac_header in ngtcp2/ngtcp2_crypto.h +@@ -31094,14 +31911,14 @@ then : + printf "%s\n" "@%:@define HAVE_NGTCP2_NGTCP2_CRYPTO_H 1" >>confdefs.h + NGTCP2_ENABLED=1 + +-printf "%s\n" "@%:@define USE_NGTCP2_CRYPTO_QUICTLS 1" >>confdefs.h ++printf "%s\n" "@%:@define USE_NGTCP2_CRYPTO_BORINGSSL 1" >>confdefs.h + +- USE_NGTCP2_CRYPTO_QUICTLS=1 ++ USE_NGTCP2_CRYPTO_BORINGSSL=1 + +- CURL_LIBRARY_PATH="$CURL_LIBRARY_PATH:$DIR_NGTCP2_CRYPTO_QUICTLS" ++ CURL_LIBRARY_PATH="$CURL_LIBRARY_PATH:$DIR_NGTCP2_CRYPTO_BORINGSSL" + export CURL_LIBRARY_PATH +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Added $DIR_NGTCP2_CRYPTO_QUICTLS to CURL_LIBRARY_PATH" >&5 +-printf "%s\n" "$as_me: Added $DIR_NGTCP2_CRYPTO_QUICTLS to CURL_LIBRARY_PATH" >&6;} ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Added $DIR_NGTCP2_CRYPTO_BORINGSSL to CURL_LIBRARY_PATH" >&5 ++printf "%s\n" "$as_me: Added $DIR_NGTCP2_CRYPTO_BORINGSSL to CURL_LIBRARY_PATH" >&6;} + + fi + +@@ -31117,7 +31934,7 @@ fi + + else + if test X"$want_tcp2" != Xdefault; then +- as_fn_error $? "--with-ngtcp2 was specified but could not find ngtcp2_crypto_quictls pkg-config file." "$LINENO" 5 ++ as_fn_error $? "--with-ngtcp2 was specified but could not find ngtcp2_crypto_boringssl pkg-config file." "$LINENO" 5 + fi + fi + fi +@@ -31629,11 +32446,52 @@ fi + fi + + ++OPT_OPENSSL_QUIC="no" ++ ++if test "x$disable_http" = "xyes" -o "x$OPENSSL_ENABLED" != "x1"; then ++ # without HTTP or without openssl, no use ++ OPT_OPENSSL_QUIC="no" ++fi ++ ++ ++@%:@ Check whether --with-openssl-quic was given. ++if test ${with_openssl_quic+y} ++then : ++ withval=$with_openssl_quic; OPT_OPENSSL_QUIC=$withval ++fi ++ ++case "$OPT_OPENSSL_QUIC" in ++ no) ++ want_openssl_quic="no" ++ ;; ++ yes) ++ want_openssl_quic="yes" ++ ;; ++esac ++ ++curl_openssl_quic_msg="no (--with-openssl-quic)" ++if test "x$want_openssl_quic" = "xyes"; then ++ ++ if test "$NGTCP2_ENABLED" = 1; then ++ as_fn_error $? "--with-openssl-quic and --with-ngtcp2 are mutually exclusive" "$LINENO" 5 ++ fi ++ if test "$HAVE_OPENSSL_QUIC" != 1; then ++ as_fn_error $? "--with-openssl-quic requires quic support in OpenSSL" "$LINENO" 5 ++ fi ++ ++printf "%s\n" "@%:@define USE_OPENSSL_QUIC 1" >>confdefs.h ++ ++ USE_OPENSSL_QUIC=1 ++ ++fi ++ ++ + OPT_NGHTTP3="yes" + +-if test "x$NGTCP2_ENABLED" = "x"; then +- # without ngtcp2, nghttp3 is of no use for us ++if test "x$USE_NGTCP2" != "x1" -a "x$USE_OPENSSL_QUIC" != "x1"; then ++ # without ngtcp2 or openssl quic, nghttp3 is of no use for us + OPT_NGHTTP3="no" ++ want_nghttp3="no" + fi + + +@@ -31659,6 +32517,7 @@ esac + + curl_http3_msg="no (--with-nghttp3)" + if test X"$want_nghttp3" != Xno; then ++ + CLEANLDFLAGS="$LDFLAGS" + CLEANCPPFLAGS="$CPPFLAGS" + CLEANLIBS="$LIBS" +@@ -31881,9 +32740,7 @@ do : + if test "x$ac_cv_header_nghttp3_nghttp3_h" = xyes + then : + printf "%s\n" "@%:@define HAVE_NGHTTP3_NGHTTP3_H 1" >>confdefs.h +- curl_h3_msg="enabled (ngtcp2 + nghttp3)" +- NGHTTP3_ENABLED=1 +- ++ + printf "%s\n" "@%:@define USE_NGHTTP3 1" >>confdefs.h + + USE_NGHTTP3=1 +@@ -31892,7 +32749,6 @@ printf "%s\n" "@%:@define USE_NGHTTP3 1" >>confdefs.h + export CURL_LIBRARY_PATH + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Added $DIR_NGHTTP3 to CURL_LIBRARY_PATH" >&5 + printf "%s\n" "$as_me: Added $DIR_NGHTTP3 to CURL_LIBRARY_PATH" >&6;} +- experimental="$experimental HTTP3" + + fi + +@@ -31915,6 +32771,31 @@ fi + fi + + ++if test "x$NGTCP2_ENABLED" = "x1" -a "x$USE_NGHTTP3" = "x1"; then ++ ++printf "%s\n" "@%:@define USE_NGTCP2_H3 1" >>confdefs.h ++ ++ USE_NGTCP2_H3=1 ++ ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: HTTP3 support is experimental" >&5 ++printf "%s\n" "$as_me: HTTP3 support is experimental" >&6;} ++ curl_h3_msg="enabled (ngtcp2 + nghttp3)" ++fi ++ ++ ++if test "x$USE_OPENSSL_QUIC" = "x1" -a "x$USE_NGHTTP3" = "x1"; then ++ experimental="$experimental HTTP3" ++ ++printf "%s\n" "@%:@define USE_OPENSSL_H3 1" >>confdefs.h ++ ++ USE_OPENSSL_H3=1 ++ ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: HTTP3 support is experimental" >&5 ++printf "%s\n" "$as_me: HTTP3 support is experimental" >&6;} ++ curl_h3_msg="enabled (openssl + nghttp3)" ++fi ++ ++ + OPT_QUICHE="no" + + if test "x$disable_http" = "xyes" -o "x$USE_NGTCP" = "x1"; then +@@ -31945,6 +32826,10 @@ esac + + if test X"$want_quiche" != Xno; then + ++ if test "$QUIC_ENABLED" != "yes"; then ++ as_fn_error $? "the detected TLS library does not support QUIC, making --with-quiche a no-no" "$LINENO" 5 ++ fi ++ + if test "$NGHTTP3_ENABLED" = 1; then + as_fn_error $? "--with-quiche and --with-ngtcp2 are mutually exclusive" "$LINENO" 5 + fi +@@ -32244,9 +33129,21 @@ esac + + if test X"$want_msh3" != Xno; then + ++ if test "$curl_cv_native_windows" != "yes"; then ++ if test "$QUIC_ENABLED" != "yes"; then ++ as_fn_error $? "the detected TLS library does not support QUIC, making --with-msh3 a no-no" "$LINENO" 5 ++ fi ++ if test "$OPENSSL_ENABLED" != "1"; then ++ as_fn_error $? "msh3 requires OpenSSL" "$LINENO" 5 ++ fi ++ fi ++ + if test "$NGHTTP3_ENABLED" = 1; then + as_fn_error $? "--with-msh3 and --with-ngtcp2 are mutually exclusive" "$LINENO" 5 + fi ++ if test "$QUICHE_ENABLED" = 1; then ++ as_fn_error $? "--with-msh3 and --with-quiche are mutually exclusive" "$LINENO" 5 ++ fi + + CLEANLDFLAGS="$LDFLAGS" + CLEANCPPFLAGS="$CPPFLAGS" +@@ -32342,9 +33239,9 @@ then : + fi + + case "$OPT_ZSH_FPATH" in +- no) ++ default|no) + ;; +- default|yes) ++ yes) + ZSH_FUNCTIONS_DIR="$datarootdir/zsh/site-functions" + + ;; +@@ -32353,6 +33250,14 @@ case "$OPT_ZSH_FPATH" in + + ;; + esac ++ if test x"$ZSH_FUNCTIONS_DIR" != x; then ++ USE_ZSH_COMPLETION_TRUE= ++ USE_ZSH_COMPLETION_FALSE='#' ++else ++ USE_ZSH_COMPLETION_TRUE='#' ++ USE_ZSH_COMPLETION_FALSE= ++fi ++ + + + OPT_FISH_FPATH=default +@@ -32364,9 +33269,9 @@ then : + fi + + case "$OPT_FISH_FPATH" in +- no) ++ default|no) + ;; +- default|yes) ++ yes) + + if test -n "$PKG_CONFIG"; then + PKGCONFIG="$PKG_CONFIG" +@@ -32515,6 +33420,14 @@ printf "%s\n" "found" >&6; } + + ;; + esac ++ if test x"$FISH_FUNCTIONS_DIR" != x; then ++ USE_FISH_COMPLETION_TRUE= ++ USE_FISH_COMPLETION_FALSE='#' ++else ++ USE_FISH_COMPLETION_TRUE='#' ++ USE_FISH_COMPLETION_FALSE= ++fi ++ + + ac_fn_c_check_header_compile "$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" " + #ifdef HAVE_SYS_TYPES_H +@@ -33753,114 +34666,6 @@ printf "%s\n" "@%:@define const /**/" >>confdefs.h + + fi + +- +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for compiler support of C99 variadic macro style" >&5 +-printf %s "checking for compiler support of C99 variadic macro style... " >&6; } +-if test ${curl_cv_variadic_macros_c99+y} +-then : +- printf %s "(cached) " >&6 +-else $as_nop +- +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext +-/* end confdefs.h. */ +- +- +-#define c99_vmacro3(first, ...) fun3(first, __VA_ARGS__) +-#define c99_vmacro2(first, ...) fun2(first, __VA_ARGS__) +- int fun3(int arg1, int arg2, int arg3); +- int fun2(int arg1, int arg2); +- int fun3(int arg1, int arg2, int arg3) +- { return arg1 + arg2 + arg3; } +- int fun2(int arg1, int arg2) +- { return arg1 + arg2; } +- +-int main (void) +-{ +- +- int res3 = c99_vmacro3(1, 2, 3); +- int res2 = c99_vmacro2(1, 2); +- +- ; +- return 0; +-} +- +-_ACEOF +-if ac_fn_c_try_compile "$LINENO" +-then : +- +- curl_cv_variadic_macros_c99="yes" +- +-else $as_nop +- +- curl_cv_variadic_macros_c99="no" +- +-fi +-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +- +-fi +-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_variadic_macros_c99" >&5 +-printf "%s\n" "$curl_cv_variadic_macros_c99" >&6; } +- case "$curl_cv_variadic_macros_c99" in +- yes) +- +-printf "%s\n" "@%:@define HAVE_VARIADIC_MACROS_C99 1" >>confdefs.h +- +- ;; +- esac +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for compiler support of old gcc variadic macro style" >&5 +-printf %s "checking for compiler support of old gcc variadic macro style... " >&6; } +-if test ${curl_cv_variadic_macros_gcc+y} +-then : +- printf %s "(cached) " >&6 +-else $as_nop +- +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext +-/* end confdefs.h. */ +- +- +-#define gcc_vmacro3(first, args...) fun3(first, args) +-#define gcc_vmacro2(first, args...) fun2(first, args) +- int fun3(int arg1, int arg2, int arg3); +- int fun2(int arg1, int arg2); +- int fun3(int arg1, int arg2, int arg3) +- { return arg1 + arg2 + arg3; } +- int fun2(int arg1, int arg2) +- { return arg1 + arg2; } +- +-int main (void) +-{ +- +- int res3 = gcc_vmacro3(1, 2, 3); +- int res2 = gcc_vmacro2(1, 2); +- +- ; +- return 0; +-} +- +-_ACEOF +-if ac_fn_c_try_compile "$LINENO" +-then : +- +- curl_cv_variadic_macros_gcc="yes" +- +-else $as_nop +- +- curl_cv_variadic_macros_gcc="no" +- +-fi +-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +- +-fi +-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_variadic_macros_gcc" >&5 +-printf "%s\n" "$curl_cv_variadic_macros_gcc" >&6; } +- case "$curl_cv_variadic_macros_gcc" in +- yes) +- +-printf "%s\n" "@%:@define HAVE_VARIADIC_MACROS_GCC 1" >>confdefs.h +- +- ;; +- esac +- + ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" + if test "x$ac_cv_type_size_t" = xyes + then : +@@ -33904,15 +34709,12 @@ else $as_nop + + + #undef inline +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + #ifndef WIN32_LEAN_AND_MEAN + #define WIN32_LEAN_AND_MEAN + #endif +-#include +-#ifdef HAVE_WINSOCK2_H + #include + #endif +-#endif + #ifdef HAVE_SYS_TYPES_H + #include + #endif +@@ -34459,6 +35261,12 @@ else $as_nop + + # The windows name? + ac_fn_c_check_type "$LINENO" "ADDRESS_FAMILY" "ac_cv_type_ADDRESS_FAMILY" " ++#ifdef _WIN32 ++#ifndef WIN32_LEAN_AND_MEAN ++#define WIN32_LEAN_AND_MEAN ++#endif ++#include ++#endif + #ifdef HAVE_SYS_SOCKET_H + #include + #endif +@@ -34586,100 +35394,13 @@ fi + + + +-curl_includes_poll="\ +-/* includes start */ +-#ifdef HAVE_SYS_TYPES_H +-# include +-#endif +-#ifdef HAVE_POLL_H +-# include +-#endif +-#ifdef HAVE_SYS_POLL_H +-# include +-#endif +-/* includes end */" +- ac_fn_c_check_header_compile "$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "$curl_includes_poll +-" +-if test "x$ac_cv_header_sys_types_h" = xyes +-then : +- printf "%s\n" "@%:@define HAVE_SYS_TYPES_H 1" >>confdefs.h +- +-fi +-ac_fn_c_check_header_compile "$LINENO" "poll.h" "ac_cv_header_poll_h" "$curl_includes_poll +-" +-if test "x$ac_cv_header_poll_h" = xyes +-then : +- printf "%s\n" "@%:@define HAVE_POLL_H 1" >>confdefs.h +- +-fi +-ac_fn_c_check_header_compile "$LINENO" "sys/poll.h" "ac_cv_header_sys_poll_h" "$curl_includes_poll +-" +-if test "x$ac_cv_header_sys_poll_h" = xyes +-then : +- printf "%s\n" "@%:@define HAVE_SYS_POLL_H 1" >>confdefs.h +- +-fi +- +- +- +- # +- tst_poll_events_macro_defined="unknown" +- # +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext +-/* end confdefs.h. */ +- +- +- $curl_includes_poll +- +-int main (void) +-{ +- +-#if defined(events) || defined(revents) +- return 0; +-#else +- force compilation error +-#endif +- +- ; +- return 0; +-} +- +-_ACEOF +-if ac_fn_c_try_compile "$LINENO" +-then : +- +- tst_poll_events_macro_defined="yes" +- +-else $as_nop +- +- tst_poll_events_macro_defined="no" +- +-fi +-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +- # +- if test "$tst_poll_events_macro_defined" = "yes"; then +- if test "x$ac_cv_header_sys_poll_h" = "xyes"; then +- +-cat >>confdefs.h <<_EOF +-@%:@define CURL_PULL_SYS_POLL_H 1 +-_EOF +- +- fi +- fi +- # +- +- +- + ac_fn_c_check_type "$LINENO" "in_addr_t" "ac_cv_type_in_addr_t" " + #undef inline +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + #ifndef WIN32_LEAN_AND_MEAN + #define WIN32_LEAN_AND_MEAN + #endif +-#include +-#ifdef HAVE_WINSOCK2_H + #include +-#endif + #else + #ifdef HAVE_SYS_TYPES_H + #include +@@ -34716,14 +35437,11 @@ else $as_nop + + + #undef inline +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + #ifndef WIN32_LEAN_AND_MEAN + #define WIN32_LEAN_AND_MEAN + #endif +-#include +-#ifdef HAVE_WINSOCK2_H + #include +-#endif + #else + #ifdef HAVE_SYS_TYPES_H + #include +@@ -34781,14 +35499,11 @@ fi + + ac_fn_c_check_type "$LINENO" "struct sockaddr_storage" "ac_cv_type_struct_sockaddr_storage" " + #undef inline +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + #ifndef WIN32_LEAN_AND_MEAN + #define WIN32_LEAN_AND_MEAN + #endif +-#include +-#ifdef HAVE_WINSOCK2_H + #include +-#endif + #else + #ifdef HAVE_SYS_TYPES_H + #include +@@ -34836,15 +35551,12 @@ printf %s "checking for select... " >&6; } + + + #undef inline +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + #ifndef WIN32_LEAN_AND_MEAN + #define WIN32_LEAN_AND_MEAN + #endif +-#include +-#ifdef HAVE_WINSOCK2_H + #include + #endif +-#endif + #ifdef HAVE_SYS_TYPES_H + #include + #endif +@@ -34852,7 +35564,7 @@ printf %s "checking for select... " >&6; } + #include + #endif + #include +-#ifndef HAVE_WINDOWS_H ++#ifndef _WIN32 + #ifdef HAVE_SYS_SELECT_H + #include + #elif defined(HAVE_UNISTD_H) +@@ -34921,14 +35633,11 @@ printf %s "checking for recv... " >&6; } + + + #undef inline +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + #ifndef WIN32_LEAN_AND_MEAN + #define WIN32_LEAN_AND_MEAN + #endif +-#include +-#ifdef HAVE_WINSOCK2_H + #include +-#endif + #else + $curl_includes_bsdsocket + #ifdef HAVE_SYS_TYPES_H +@@ -34997,14 +35706,11 @@ printf %s "checking for send... " >&6; } + + + #undef inline +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + #ifndef WIN32_LEAN_AND_MEAN + #define WIN32_LEAN_AND_MEAN + #endif +-#include +-#ifdef HAVE_WINSOCK2_H + #include +-#endif + #else + $curl_includes_bsdsocket + #ifdef HAVE_SYS_TYPES_H +@@ -35077,14 +35783,11 @@ else $as_nop + + + #undef inline +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + #ifndef WIN32_LEAN_AND_MEAN + #define WIN32_LEAN_AND_MEAN + #endif +-#include +-#ifdef HAVE_WINSOCK2_H + #include +-#endif + #else + #ifdef HAVE_SYS_TYPES_H + #include +@@ -36117,78 +36820,18 @@ printf "%s\n" "no" >&6; } + + curl_includes_ws2tcpip="\ + /* includes start */ +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + # ifndef WIN32_LEAN_AND_MEAN + # define WIN32_LEAN_AND_MEAN + # endif +-# include +-# ifdef HAVE_WINSOCK2_H +-# include +-# ifdef HAVE_WS2TCPIP_H +-# include +-# endif +-# endif ++# include ++# include + #endif + /* includes end */" + +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for windows.h" >&5 +-printf %s "checking for windows.h... " >&6; } +-if test ${curl_cv_header_windows_h+y} +-then : +- printf %s "(cached) " >&6 +-else $as_nop +- +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext +-/* end confdefs.h. */ +- +- +-#undef inline +-#ifndef WIN32_LEAN_AND_MEAN +-#define WIN32_LEAN_AND_MEAN +-#endif +-#include +- +-int main (void) +-{ +- +-#if defined(__CYGWIN__) || defined(__CEGCC__) +- HAVE_WINDOWS_H shall not be defined. +-#else +- int dummy=2*WINVER; +-#endif +- +- ; +- return 0; +-} +- +-_ACEOF +-if ac_fn_c_try_compile "$LINENO" +-then : +- +- curl_cv_header_windows_h="yes" +- +-else $as_nop +- +- curl_cv_header_windows_h="no" +- +-fi +-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +- +-fi +-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_header_windows_h" >&5 +-printf "%s\n" "$curl_cv_header_windows_h" >&6; } +- case "$curl_cv_header_windows_h" in +- yes) +- +-printf "%s\n" "@%:@define HAVE_WINDOWS_H 1" >>confdefs.h +- +- ;; +- esac +- +- +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for winsock2.h" >&5 +-printf %s "checking for winsock2.h... " >&6; } +-if test ${curl_cv_header_winsock2_h+y} ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build target is a native Windows one" >&5 ++printf %s "checking whether build target is a native Windows one... " >&6; } ++if test ${curl_cv_native_windows+y} + then : + printf %s "(cached) " >&6 + else $as_nop +@@ -36197,20 +36840,14 @@ else $as_nop + /* end confdefs.h. */ + + +-#undef inline +-#ifndef WIN32_LEAN_AND_MEAN +-#define WIN32_LEAN_AND_MEAN +-#endif +-#include +-#include + + int main (void) + { + +-#if defined(__CYGWIN__) || defined(__CEGCC__) || defined(__MINGW32CE__) +- HAVE_WINSOCK2_H shall not be defined. ++#ifdef _WIN32 ++ int dummy=1; + #else +- int dummy=2*IPPROTO_ESP; ++ Not a native Windows build target. + #endif + + ; +@@ -36221,82 +36858,26 @@ _ACEOF + if ac_fn_c_try_compile "$LINENO" + then : + +- curl_cv_header_winsock2_h="yes" ++ curl_cv_native_windows="yes" + + else $as_nop + +- curl_cv_header_winsock2_h="no" ++ curl_cv_native_windows="no" + + fi + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + + fi +-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_header_winsock2_h" >&5 +-printf "%s\n" "$curl_cv_header_winsock2_h" >&6; } +- case "$curl_cv_header_winsock2_h" in +- yes) +- +-printf "%s\n" "@%:@define HAVE_WINSOCK2_H 1" >>confdefs.h +- +- ;; +- esac +- +- +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ws2tcpip.h" >&5 +-printf %s "checking for ws2tcpip.h... " >&6; } +-if test ${curl_cv_header_ws2tcpip_h+y} +-then : +- printf %s "(cached) " >&6 +-else $as_nop +- +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext +-/* end confdefs.h. */ +- +- +-#undef inline +-#ifndef WIN32_LEAN_AND_MEAN +-#define WIN32_LEAN_AND_MEAN +-#endif +-#include +-#include +-#include +- +-int main (void) +-{ +- +-#if defined(__CYGWIN__) || defined(__CEGCC__) || defined(__MINGW32CE__) +- HAVE_WS2TCPIP_H shall not be defined. +-#else +- int dummy=2*IP_PKTINFO; +-#endif +- +- ; +- return 0; +-} +- +-_ACEOF +-if ac_fn_c_try_compile "$LINENO" +-then : +- +- curl_cv_header_ws2tcpip_h="yes" +- +-else $as_nop +- +- curl_cv_header_ws2tcpip_h="no" +- +-fi +-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +- ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_native_windows" >&5 ++printf "%s\n" "$curl_cv_native_windows" >&6; } ++ if test "x$curl_cv_native_windows" = xyes; then ++ DOING_NATIVE_WINDOWS_TRUE= ++ DOING_NATIVE_WINDOWS_FALSE='#' ++else ++ DOING_NATIVE_WINDOWS_TRUE='#' ++ DOING_NATIVE_WINDOWS_FALSE= + fi +-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_header_ws2tcpip_h" >&5 +-printf "%s\n" "$curl_cv_header_ws2tcpip_h" >&6; } +- case "$curl_cv_header_ws2tcpip_h" in +- yes) +- +-printf "%s\n" "@%:@define HAVE_WS2TCPIP_H 1" >>confdefs.h + +- ;; +- esac + + + +@@ -37020,10 +37601,10 @@ int main (void) + struct addrinfo *ai = 0; + int error; + +- #ifdef HAVE_WINSOCK2_H ++ #ifdef _WIN32 + WSADATA wsa; +- if (WSAStartup(MAKEWORD(2,2), &wsa)) +- exit(2); ++ if(WSAStartup(MAKEWORD(2, 2), &wsa)) ++ exit(2); + #endif + + memset(&hints, 0, sizeof(hints)); +@@ -37088,10 +37669,10 @@ int main (void) + struct addrinfo *ai = 0; + int error; + +- #ifdef HAVE_WINSOCK2_H ++ #ifdef _WIN32 + WSADATA wsa; +- if (WSAStartup(MAKEWORD(2,2), &wsa)) +- exit(2); ++ if(WSAStartup(MAKEWORD(2, 2), &wsa)) ++ exit(2); + #endif + + memset(&hints, 0, sizeof(hints)); +@@ -37746,7 +38327,7 @@ printf "%s\n" "no" >&6; } + + curl_preprocess_callconv="\ + /* preprocess start */ +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + # define FUNCALLCONV __stdcall + #else + # define FUNCALLCONV +@@ -39022,7 +39603,7 @@ curl_includes_arpa_inet="\ + #ifdef HAVE_ARPA_INET_H + # include + #endif +-#ifdef HAVE_WINSOCK2_H ++#ifdef _WIN32 + #include + #include + #endif +@@ -40716,6 +41297,42 @@ printf "%s\n" "no" >&6; } + fi + + ++curl_includes_poll="\ ++/* includes start */ ++#ifdef HAVE_SYS_TYPES_H ++# include ++#endif ++#ifdef HAVE_POLL_H ++# include ++#endif ++#ifdef HAVE_SYS_POLL_H ++# include ++#endif ++/* includes end */" ++ ac_fn_c_check_header_compile "$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "$curl_includes_poll ++" ++if test "x$ac_cv_header_sys_types_h" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_SYS_TYPES_H 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_header_compile "$LINENO" "poll.h" "ac_cv_header_poll_h" "$curl_includes_poll ++" ++if test "x$ac_cv_header_poll_h" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_POLL_H 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_header_compile "$LINENO" "sys/poll.h" "ac_cv_header_sys_poll_h" "$curl_includes_poll ++" ++if test "x$ac_cv_header_sys_poll_h" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_SYS_POLL_H 1" >>confdefs.h ++ ++fi ++ ++ ++ + # + tst_links_poll="unknown" + tst_proto_poll="unknown" +@@ -43520,8 +44137,7 @@ fi + + + +- +- for ac_func in _fseeki64 arc4random fchmod fnmatch fseeko geteuid getpass_r getppid getpwuid getpwuid_r getrlimit gettimeofday if_nametoindex mach_absolute_time pipe sched_yield sendmsg setlocale setmode setrlimit snprintf utime utimes ++ for ac_func in _fseeki64 arc4random fnmatch fseeko geteuid getpass_r getppid getpwuid getpwuid_r getrlimit gettimeofday if_nametoindex mach_absolute_time pipe sched_yield sendmsg setlocale setmode setrlimit snprintf utime utimes + do : + as_ac_var=`printf "%s\n" "ac_cv_func_$ac_func" | $as_tr_sh` + ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +@@ -43580,6 +44196,15 @@ fi + + done + ++ac_fn_check_decl "$LINENO" "fseeko" "ac_cv_have_decl_fseeko" "#include ++" "$ac_c_undeclared_builtin_options" "CFLAGS" ++if test "x$ac_cv_have_decl_fseeko" = xyes ++then : ++ ++printf "%s\n" "@%:@define HAVE_DECL_FSEEKO 1" >>confdefs.h ++ ++fi ++ + + # + tst_method="unknown" +@@ -43605,7 +44230,6 @@ printf "%s\n" "$as_me: WARNING: cannot determine non-blocking socket method." >& + fi + + +- + # Extract the first word of "perl", so it can be a program name with args. + set dummy perl; ac_word=$2 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +@@ -43654,91 +44278,21 @@ fi + + + +-for ac_prog in gnroff nroff +-do +- # Extract the first word of "$ac_prog", so it can be a program name with args. +-set dummy $ac_prog; ac_word=$2 +-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +-printf %s "checking for $ac_word... " >&6; } +-if test ${ac_cv_path_NROFF+y} +-then : +- printf %s "(cached) " >&6 +-else $as_nop +- case $NROFF in +- [\\/]* | ?:[\\/]*) +- ac_cv_path_NROFF="$NROFF" # Let the user override the test with a path. +- ;; +- *) +- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +-as_dummy="$PATH:/usr/bin/:/usr/local/bin " +-for as_dir in $as_dummy +-do +- IFS=$as_save_IFS +- case $as_dir in #((( +- '') as_dir=./ ;; +- */) ;; +- *) as_dir=$as_dir/ ;; +- esac +- for ac_exec_ext in '' $ac_executable_extensions; do +- if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then +- ac_cv_path_NROFF="$as_dir$ac_word$ac_exec_ext" +- printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 +- break 2 +- fi +-done +- done +-IFS=$as_save_IFS +- +- ;; +-esac ++if test -z "$PERL"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: disabling documentation" >&5 ++printf "%s\n" "$as_me: WARNING: disabling documentation" >&2;} ++ BUILD_DOCS=0 ++ curl_docs_msg="no" + fi +-NROFF=$ac_cv_path_NROFF +-if test -n "$NROFF"; then +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NROFF" >&5 +-printf "%s\n" "$NROFF" >&6; } +-else +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-printf "%s\n" "no" >&6; } +-fi +- +- +- test -n "$NROFF" && break +-done +- + +- +-if test -n "$NROFF"; then +- +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to use *nroff to get plain text from man pages" >&5 +-printf %s "checking how to use *nroff to get plain text from man pages... " >&6; } +- MANOPT="-man" +- mancheck=`echo foo | $NROFF $MANOPT 2>/dev/null` +- if test -z "$mancheck"; then +- MANOPT="-mandoc" +- mancheck=`echo foo | $NROFF $MANOPT 2>/dev/null` +- if test -z "$mancheck"; then +- MANOPT="" +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5 +-printf "%s\n" "failed" >&6; } +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: found no *nroff option to get plaintext from man pages" >&5 +-printf "%s\n" "$as_me: WARNING: found no *nroff option to get plaintext from man pages" >&2;} +- else +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANOPT" >&5 +-printf "%s\n" "$MANOPT" >&6; } +- fi +- else +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANOPT" >&5 +-printf "%s\n" "$MANOPT" >&6; } +- fi +- ++ if test x"$BUILD_DOCS" = x1; then ++ BUILD_DOCS_TRUE= ++ BUILD_DOCS_FALSE='#' ++else ++ BUILD_DOCS_TRUE='#' ++ BUILD_DOCS_FALSE= + fi + +-if test -z "$MANOPT" +-then +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: disabling built-in manual" >&5 +-printf "%s\n" "$as_me: WARNING: disabling built-in manual" >&2;} +- USE_MANUAL="no"; +-fi + + + if test "$USE_MANUAL" = "1"; then +@@ -45399,12 +45953,15 @@ if test "x$USE_TLS_SRP" = "x1"; then + SUPPORT_FEATURES="$SUPPORT_FEATURES TLS-SRP" + fi + +-if test "x$USE_NGHTTP2" = "x1" -o "x$USE_HYPER" = "x1"; then ++if test "x$USE_NGHTTP2" = "x1"; then + SUPPORT_FEATURES="$SUPPORT_FEATURES HTTP2" + fi + +-if test "x$USE_NGTCP2" = "x1" -o "x$USE_QUICHE" = "x1" \ +- -o "x$USE_MSH3" = "x1"; then ++if test "x$USE_NGTCP2_H3" = "x1" -o "x$USE_QUICHE" = "x1" \ ++ -o "x$USE_OPENSSL_H3" = "x1" -o "x$USE_MSH3" = "x1"; then ++ if test "x$CURL_WITH_MULTI_SSL" = "x1"; then ++ as_fn_error $? "MultiSSL cannot be enabled with HTTP/3 and vice versa" "$LINENO" 5 ++ fi + SUPPORT_FEATURES="$SUPPORT_FEATURES HTTP3" + fi + +@@ -45412,19 +45969,36 @@ if test "x$CURL_WITH_MULTI_SSL" = "x1"; then + SUPPORT_FEATURES="$SUPPORT_FEATURES MultiSSL" + fi + +-if test "x$https_proxy" != "xno"; then +- if test "x$OPENSSL_ENABLED" = "x1" \ +- -o "x$GNUTLS_ENABLED" = "x1" \ +- -o "x$SECURETRANSPORT_ENABLED" = "x1" \ +- -o "x$RUSTLS_ENABLED" = "x1" \ +- -o "x$BEARSSL_ENABLED" = "x1" \ +- -o "x$SCHANNEL_ENABLED" = "x1" \ +- -o "x$GNUTLS_ENABLED" = "x1" \ +- -o "x$MBEDTLS_ENABLED" = "x1"; then +- SUPPORT_FEATURES="$SUPPORT_FEATURES HTTPS-proxy" +- elif test "x$WOLFSSL_ENABLED" = "x1" -a "x$WOLFSSL_FULL_BIO" = "x1"; then +- SUPPORT_FEATURES="$SUPPORT_FEATURES HTTPS-proxy" ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if this build supports HTTPS-proxy" >&5 ++printf %s "checking if this build supports HTTPS-proxy... " >&6; } ++if test "x$CURL_DISABLE_HTTP" != "x1"; then ++ if test "x$https_proxy" != "xno"; then ++ if test "x$OPENSSL_ENABLED" = "x1" \ ++ -o "x$GNUTLS_ENABLED" = "x1" \ ++ -o "x$SECURETRANSPORT_ENABLED" = "x1" \ ++ -o "x$RUSTLS_ENABLED" = "x1" \ ++ -o "x$BEARSSL_ENABLED" = "x1" \ ++ -o "x$SCHANNEL_ENABLED" = "x1" \ ++ -o "x$GNUTLS_ENABLED" = "x1" \ ++ -o "x$MBEDTLS_ENABLED" = "x1"; then ++ SUPPORT_FEATURES="$SUPPORT_FEATURES HTTPS-proxy" ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++ elif test "x$WOLFSSL_ENABLED" = "x1" -a "x$WOLFSSL_FULL_BIO" = "x1"; then ++ SUPPORT_FEATURES="$SUPPORT_FEATURES HTTPS-proxy" ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++ else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++ fi ++ else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + fi ++else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + fi + + if test "x$ECH_ENABLED" = "x1"; then +@@ -45440,6 +46014,9 @@ fi + + if test "$tst_atomic" = "yes"; then + SUPPORT_FEATURES="$SUPPORT_FEATURES threadsafe" ++elif test "x$USE_THREADS_POSIX" = "x1" -a \ ++ "x$ac_cv_header_pthread_h" = "xyes"; then ++ SUPPORT_FEATURES="$SUPPORT_FEATURES threadsafe" + else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ +@@ -45472,7 +46049,7 @@ SUPPORT_FEATURES=`echo $SUPPORT_FEATURES | tr ' ' '\012' | sort | tr '\012' ' '` + + + if test "x$CURL_DISABLE_HTTP" != "x1"; then +- SUPPORT_PROTOCOLS="$SUPPORT_PROTOCOLS HTTP" ++ SUPPORT_PROTOCOLS="$SUPPORT_PROTOCOLS HTTP IPFS IPNS" + if test "x$SSL_ENABLED" = "x1"; then + SUPPORT_PROTOCOLS="$SUPPORT_PROTOCOLS HTTPS" + fi +@@ -45909,6 +46486,10 @@ if test -z "${USE_EXPLICIT_LIB_DEPS_TRUE}" && test -z "${USE_EXPLICIT_LIB_DEPS_F + as_fn_error $? "conditional \"USE_EXPLICIT_LIB_DEPS\" was never defined. + Usually this means the macro was only invoked conditionally." "$LINENO" 5 + fi ++if test -z "${DOING_NATIVE_WINDOWS_TRUE}" && test -z "${DOING_NATIVE_WINDOWS_FALSE}"; then ++ as_fn_error $? "conditional \"DOING_NATIVE_WINDOWS\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi + if test -z "${CURLDEBUG_TRUE}" && test -z "${CURLDEBUG_FALSE}"; then + as_fn_error $? "conditional \"CURLDEBUG\" was never defined. + Usually this means the macro was only invoked conditionally." "$LINENO" 5 +@@ -45917,14 +46498,14 @@ if test -z "${BUILD_UNITTESTS_TRUE}" && test -z "${BUILD_UNITTESTS_FALSE}"; then + as_fn_error $? "conditional \"BUILD_UNITTESTS\" was never defined. + Usually this means the macro was only invoked conditionally." "$LINENO" 5 + fi +-if test -z "${DOING_NATIVE_WINDOWS_TRUE}" && test -z "${DOING_NATIVE_WINDOWS_FALSE}"; then +- as_fn_error $? "conditional \"DOING_NATIVE_WINDOWS\" was never defined. +-Usually this means the macro was only invoked conditionally." "$LINENO" 5 +-fi + if test -z "${HAVE_WINDRES_TRUE}" && test -z "${HAVE_WINDRES_FALSE}"; then + as_fn_error $? "conditional \"HAVE_WINDRES\" was never defined. + Usually this means the macro was only invoked conditionally." "$LINENO" 5 + fi ++if test -z "${DOING_NATIVE_WINDOWS_TRUE}" && test -z "${DOING_NATIVE_WINDOWS_FALSE}"; then ++ as_fn_error $? "conditional \"DOING_NATIVE_WINDOWS\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi + if test -z "${HAVE_LIBZ_TRUE}" && test -z "${HAVE_LIBZ_FALSE}"; then + as_fn_error $? "conditional \"HAVE_LIBZ\" was never defined. + Usually this means the macro was only invoked conditionally." "$LINENO" 5 +@@ -45945,6 +46526,22 @@ if test -z "${CURL_LT_SHLIB_USE_VERSIONED_SYMBOLS_TRUE}" && test -z "${CURL_LT_S + as_fn_error $? "conditional \"CURL_LT_SHLIB_USE_VERSIONED_SYMBOLS\" was never defined. + Usually this means the macro was only invoked conditionally." "$LINENO" 5 + fi ++if test -z "${USE_ZSH_COMPLETION_TRUE}" && test -z "${USE_ZSH_COMPLETION_FALSE}"; then ++ as_fn_error $? "conditional \"USE_ZSH_COMPLETION\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++if test -z "${USE_FISH_COMPLETION_TRUE}" && test -z "${USE_FISH_COMPLETION_FALSE}"; then ++ as_fn_error $? "conditional \"USE_FISH_COMPLETION\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++if test -z "${DOING_NATIVE_WINDOWS_TRUE}" && test -z "${DOING_NATIVE_WINDOWS_FALSE}"; then ++ as_fn_error $? "conditional \"DOING_NATIVE_WINDOWS\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++if test -z "${BUILD_DOCS_TRUE}" && test -z "${BUILD_DOCS_FALSE}"; then ++ as_fn_error $? "conditional \"BUILD_DOCS\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi + if test -z "${USE_MANUAL_TRUE}" && test -z "${USE_MANUAL_FALSE}"; then + as_fn_error $? "conditional \"USE_MANUAL\" was never defined. + Usually this means the macro was only invoked conditionally." "$LINENO" 5 +@@ -48409,6 +49006,7 @@ _EOF + IPv6: ${curl_ipv6_msg} + Unix sockets: ${curl_unix_sockets_msg} + IDN: ${curl_idn_msg} ++ Build docs: ${curl_docs_msg} + Build libcurl: Shared=${enable_shared}, Static=${enable_static} + Built-in manual: ${curl_manual_msg} + --libcurl option: ${curl_libcurl_msg} +@@ -48457,6 +49055,7 @@ printf "%s\n" "$as_me: Configured to build curl/libcurl: + IPv6: ${curl_ipv6_msg} + Unix sockets: ${curl_unix_sockets_msg} + IDN: ${curl_idn_msg} ++ Build docs: ${curl_docs_msg} + Build libcurl: Shared=${enable_shared}, Static=${enable_static} + Built-in manual: ${curl_manual_msg} + --libcurl option: ${curl_libcurl_msg} +@@ -48482,6 +49081,14 @@ printf "%s\n" "$as_me: Configured to build curl/libcurl: + Protocols: ${SUPPORT_PROTOCOLS} + Features: ${SUPPORT_FEATURES} + " >&6;} ++ ++non13=`echo "$TLSCHOICE" | grep -Ei 'bearssl|secure-transport|mbedtls'`; ++if test -n "$non13"; then ++ cat >&2 << _EOF ++ WARNING: A selected TLS library ($TLSCHOICE) does not support TLS 1.3! ++_EOF ++fi ++ + if test -n "$experimental"; then + cat >&2 << _EOF + WARNING: $experimental enabled but marked EXPERIMENTAL. Use with caution! +diff --git a/autom4te.cache/requests b/autom4te.cache/requests +index 2110ee2..037e39d 100644 +--- a/autom4te.cache/requests ++++ b/autom4te.cache/requests +@@ -66,409 +66,402 @@ + 'configure.ac' + ], + { ++ 'CURL_CHECK_NONBLOCKING_SOCKET' => 1, + 'CURL_CHECK_FUNC_GETHOSTBYNAME_R' => 1, +- '_XC_CFG_PRE_BASIC_CHK_VAR_PATH' => 1, +- 'XC_CONFIGURE_PREAMBLE' => 1, +- 'CURL_CHECK_FUNC_GETSOCKNAME' => 1, +- 'CURL_INCLUDES_SYS_TYPES' => 1, +- '_AM_OUTPUT_DEPENDENCY_COMMANDS' => 1, +- 'CURL_CHECK_HEADER_LDAP' => 1, +- 'CURL_CHECK_COMPILER' => 1, +- 'CURL_CHECK_OPTION_DEBUG' => 1, +- 'CURL_CHECK_HEADER_WINDOWS' => 1, +- 'CURL_CONFIGURE_THREAD_SAFE' => 1, +- 'AC_LIBTOOL_DLOPEN_SELF' => 1, +- 'TYPE_IN_ADDR_T' => 1, +- 'CURL_CHECK_VARIADIC_MACROS' => 1, +- 'AC_PATH_MAGIC' => 1, +- 'XC_QPATSUBST' => 1, +- 'XC_SH_TR_CPP_EX' => 1, ++ 'CURL_CHECK_LIBS_CONNECT' => 1, ++ '_LT_AC_LANG_C_CONFIG' => 1, ++ 'CURL_CHECK_FUNC_SOCKETPAIR' => 1, ++ 'CURL_CHECK_FUNC_INET_NTOP' => 1, ++ '_LT_CC_BASENAME' => 1, ++ 'AC_LIBTOOL_LANG_CXX_CONFIG' => 1, ++ 'AC_LIBTOOL_LANG_F77_CONFIG' => 1, ++ 'CURL_CHECK_FUNC_IF_NAMETOINDEX' => 1, ++ 'AC_LTDL_SYSSEARCHPATH' => 1, ++ '_XC_CFG_PRE_BASIC_CHK_CMD_EXPR' => 1, ++ 'AC_LIBTOOL_SYS_MAX_CMD_LEN' => 1, + 'AC_LIBTOOL_DLOPEN' => 1, +- 'LT_FUNC_ARGZ' => 1, ++ 'AM_DISABLE_STATIC' => 1, + 'CURL_CHECK_OPTION_OPTIMIZE' => 1, +- 'CURL_CHECK_HEADER_WS2TCPIP' => 1, +- 'CURL_CHECK_FUNC_GETXATTR' => 1, +- 'LT_AC_PROG_SED' => 1, +- 'CURL_CHECK_DEF_CC' => 1, +- 'CURL_ADD_COMPILER_WARNINGS' => 1, +- 'AC_LIBTOOL_LANG_C_CONFIG' => 1, +- 'CURL_CHECK_FUNC_CLOCK_GETTIME_MONOTONIC' => 1, +- 'CURL_CHECK_NTLM_WB' => 1, +- 'AC_LIBTOOL_PICMODE' => 1, +- 'AC_LIBTOOL_OBJDIR' => 1, +- 'CURL_CHECK_COMPILER_LCC' => 1, +- 'AC_LIBTOOL_SYS_HARD_LINK_LOCKS' => 1, +- 'CURL_CHECK_COMPILER_TINY_C' => 1, +- 'LT_PATH_LD' => 1, +- 'LT_OUTPUT' => 1, +- 'CURL_INCLUDES_IFADDRS' => 1, +- 'CURL_SIZEOF' => 1, +- 'CURL_CHECK_NONBLOCKING_SOCKET' => 1, +- 'AM_MISSING_PROG' => 1, +- 'LT_AC_PROG_EGREP' => 1, +- 'CURL_CONFIGURE_FROM_NOW_ON_WITH_REENTRANT' => 1, +- 'AC_LTDL_ENABLE_INSTALL' => 1, +- 'CURL_VAR_MATCH_IFELSE' => 1, +- 'CURL_CHECK_FUNC_SIGACTION' => 1, +- '_XC_CHECK_VAR_LIBS' => 1, +- 'CURL_CONFIGURE_PULL_SYS_POLL' => 1, +- 'CURL_INCLUDES_SYS_SOCKET' => 1, +- '_LT_REQUIRED_DARWIN_CHECKS' => 1, ++ 'LTVERSION_VERSION' => 1, ++ '_XC_CFG_PRE_POSTLUDE' => 1, ++ 'CURL_CHECK_FUNC_SIGNAL' => 1, ++ 'XC_QUOTE' => 1, + 'CURL_CHECK_NATIVE_WINDOWS' => 1, +- '_LT_AC_LANG_RC_CONFIG' => 1, +- '_AM_SET_OPTIONS' => 1, +- '_AC_AM_CONFIG_HEADER_HOOK' => 1, +- '_LT_AC_CHECK_DLFCN' => 1, +- '_LT_AC_LANG_F77' => 1, +- 'LT_PROG_RC' => 1, +- '_LT_PROG_ECHO_BACKSLASH' => 1, +- 'CURL_ATOMIC' => 1, +- 'AC_DISABLE_SHARED' => 1, +- 'AC_LTDL_SHLIBEXT' => 1, +- 'AC_DEPLIBS_CHECK_METHOD' => 1, +- 'CURL_CHECK_FUNC_FSETXATTR' => 1, +- 'CURL_CHECK_FUNC_SETSOCKOPT_SO_NONBLOCK' => 1, +- 'LT_SYS_DLOPEN_DEPLIBS' => 1, +- 'CURL_CHECK_LIBS_CONNECT' => 1, +- 'CURL_CHECK_LIBS_LDAP' => 1, +- 'AM_SET_LEADING_DOT' => 1, +- '_XC_CFG_PRE_BASIC_CHK_UTIL_GREP' => 1, +- 'XC_LIBTOOL' => 1, +- 'LT_PATH_NM' => 1, +- 'CURL_CHECK_LIB_XNET' => 1, +- 'CURL_CHECK_FUNC_IOCTL_SIOCGIFADDR' => 1, +- 'AC_ENABLE_SHARED' => 1, +- 'LT_AC_PROG_GCJ' => 1, +- '_LT_PROG_LTMAIN' => 1, +- 'AC_LIBTOOL_WIN32_DLL' => 1, +- 'CURL_CHECK_NEED_REENTRANT_LOCALTIME_R' => 1, +- '_AM_MANGLE_OPTION' => 1, +- 'XC_M4_TR_CPP_EX' => 1, +- 'CURL_CHECK_FUNC_SEND' => 1, +- 'LT_PROG_GCJ' => 1, +- 'CURL_CHECK_FUNC_STRCASECMP' => 1, +- 'AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH' => 1, +- 'LT_LIB_M' => 1, ++ 'LT_SYS_DLOPEN_SELF' => 1, ++ 'LTOPTIONS_VERSION' => 1, ++ 'AC_LIBTOOL_CONFIG' => 1, ++ '_XC_CFG_PRE_BASIC_CHK_CMD_TEST' => 1, ++ 'AM_PROG_LD' => 1, ++ 'AC_PROG_LD_RELOAD_FLAG' => 1, + 'CURL_CHECK_FUNC_FCNTL_O_NONBLOCK' => 1, + 'CURL_WITH_OPENSSL' => 1, +- 'AC_DEFUN' => 1, +- 'CURL_CHECK_FUNC_GMTIME_R' => 1, +- 'XC_QTRANSLIT' => 1, +- 'CURL_CHECK_OPTION_WARNINGS' => 1, +- 'AC_CONFIG_MACRO_DIR_TRACE' => 1, +- 'CURL_CHECK_FUNC_SOCKET' => 1, +- 'CURL_CPP_P' => 1, +- '_LT_AC_FILE_LTDLL_C' => 1, +- 'CURL_CHECK_STRUCT_TIMEVAL' => 1, +- 'CURL_CHECK_FUNC_IOCTLSOCKET_CAMEL' => 1, +- 'AM_COND_IF' => 1, +- 'CURL_WITH_GNUTLS' => 1, +- 'AC_LIBTOOL_SYS_LIB_STRIP' => 1, +- '_LT_CC_BASENAME' => 1, +- '_LT_WITH_SYSROOT' => 1, +- '_XC_CFG_PRE_PREAMBLE' => 1, +- 'CURL_CHECK_FUNC_STRERROR_R' => 1, +- 'CURL_CHECK_HEADER_LBER' => 1, +- 'CURL_CHECK_FUNC_GETHOSTNAME' => 1, +- 'CURL_CHECK_MSG_NOSIGNAL' => 1, +- '_AM_SUBST_NOTMAKE' => 1, +- 'CURL_CHECK_COMPILER_HALT_ON_ERROR' => 1, +- 'CURL_INCLUDES_STDLIB' => 1, +- 'LT_SYS_MODULE_PATH' => 1, +- '_XC_CFG_PRE_POSTLUDE' => 1, +- '_LT_AC_LANG_C_CONFIG' => 1, +- '_LT_COMPILER_BOILERPLATE' => 1, +- 'CURL_INCLUDES_TIME' => 1, +- '_XC_CFG_PRE_BASIC_CHK_CMD_ECHO' => 1, +- 'AC_WITH_LTDL' => 1, +- 'AM_PROG_LIBTOOL' => 1, +- 'LTDL_INIT' => 1, +- 'AM_SET_DEPDIR' => 1, +- '_XC_CFG_PRE_BASIC_CHK_CMD_EXPR' => 1, +- 'AM_MAKE_INCLUDE' => 1, +- 'AC_LIBTOOL_RC' => 1, +- 'CURL_CHECK_OPTION_CURLDEBUG' => 1, +- 'CURL_CHECK_AIX_ALL_SOURCE' => 1, +- 'AC_LIBTOOL_LANG_GCJ_CONFIG' => 1, +- 'AC_LIBTOOL_PROG_COMPILER_NO_RTTI' => 1, ++ 'XC_CHECK_PATH_SEPARATOR' => 1, ++ 'CURL_EXPORT_PCDIR' => 1, ++ 'CURL_INCLUDES_WS2TCPIP' => 1, ++ 'm4_pattern_allow' => 1, ++ '_LT_AC_LANG_F77' => 1, + 'CURL_CHECK_COMPILER_HPUX_C' => 1, +- 'AC_LTDL_SHLIBPATH' => 1, +- 'AM_SANITY_CHECK' => 1, +- 'AC_DISABLE_STATIC' => 1, +- 'CURL_CHECK_FUNC_FGETXATTR' => 1, +- 'CURL_CHECK_FUNC_GETADDRINFO' => 1, ++ 'LTOBSOLETE_VERSION' => 1, ++ 'CURL_SET_COMPILER_BASIC_OPTS' => 1, ++ 'AC_LIBLTDL_INSTALLABLE' => 1, ++ '_LT_AC_TAGCONFIG' => 1, ++ 'AC_LIBTOOL_FC' => 1, ++ 'AC_LIBTOOL_PICMODE' => 1, ++ 'AM_OUTPUT_DEPENDENCY_COMMANDS' => 1, ++ 'LT_LIB_M' => 1, ++ 'AC_PROG_LD_GNU' => 1, ++ 'LT_LANG' => 1, ++ 'AC_LIBTOOL_SYS_DYNAMIC_LINKER' => 1, ++ 'CURL_CHECK_FUNC_SETSOCKOPT_SO_NONBLOCK' => 1, + 'CURL_CHECK_OPTION_WERROR' => 1, +- 'LTDL_INSTALLABLE' => 1, ++ 'XC_CHECK_USER_FLAGS' => 1, + 'AC_ENABLE_STATIC' => 1, +- 'AC_LTDL_DLSYM_USCORE' => 1, +- 'CURL_RUN_IFELSE' => 1, +- 'LT_SUPPORTED_TAG' => 1, +- 'CURL_CHECK_FUNC_MEMRCHR' => 1, +- 'AC_CHECK_LIBM' => 1, +- 'CURL_CHECK_FUNC_INET_PTON' => 1, +- 'AM_AUX_DIR_EXPAND' => 1, +- '_XC_CHECK_VAR_LDFLAGS' => 1, +- 'AC_PROG_LD' => 1, +- 'CURL_CHECK_OPTION_ECH' => 1, +- 'CURL_WITH_MBEDTLS' => 1, ++ '_LT_PROG_CXX' => 1, ++ 'CURL_CHECK_FUNC_GETHOSTNAME' => 1, ++ 'CURL_CHECK_FUNC_SEND' => 1, ++ '_LT_AC_LANG_GCJ_CONFIG' => 1, + 'CURL_INCLUDES_STROPTS' => 1, +- 'm4_pattern_allow' => 1, +- 'CURL_CHECK_FUNC_SIGSETJMP' => 1, +- 'CURL_CHECK_FUNC_SELECT' => 1, ++ 'CURL_CHECK_COMPILER_STRUCT_MEMBER_SIZE' => 1, ++ '_LT_AC_TAGVAR' => 1, ++ 'AM_PROG_CC_C_O' => 1, ++ 'LT_WITH_LTDL' => 1, ++ 'AC_LIB_LTDL' => 1, ++ 'AC_LIBTOOL_POSTDEP_PREDEP' => 1, ++ 'CURL_CHECK_COMPILER_INTEL_C' => 1, ++ '_AM_SUBST_NOTMAKE' => 1, ++ 'CURL_SHFUNC_SQUEEZE' => 1, ++ 'CURL_PREPROCESS_CALLCONV' => 1, ++ 'CURL_CHECK_OPTION_CURLDEBUG' => 1, ++ 'CURL_VAR_STRIP' => 1, + 'AC_LTDL_SYS_DLOPEN_DEPLIBS' => 1, +- 'm4_include' => 1, +- 'CURL_WITH_RUSTLS' => 1, +- 'CURL_CHECK_COMPILER_SGI_MIPSPRO_C' => 1, ++ 'CURL_WITH_GNUTLS' => 1, ++ 'AM_INIT_AUTOMAKE' => 1, ++ 'AC_LIBTOOL_PROG_LD_SHLIBS' => 1, ++ 'CURL_ATOMIC' => 1, ++ '_XC_CFG_PRE_BASIC_CHK_UTIL_CAT' => 1, ++ 'CURL_INCLUDES_NETDB' => 1, ++ '_LT_COMPILER_BOILERPLATE' => 1, ++ 'XC_SH_TR_CPP_EX' => 1, ++ 'CURL_CHECK_FUNC_SOCKET' => 1, ++ 'CURL_CONFIGURE_SYMBOL_HIDING' => 1, ++ 'XC_CHECK_PROG_CC' => 1, ++ '_LT_AC_SYS_COMPILER' => 1, ++ 'CURL_INCLUDES_FCNTL' => 1, ++ '_AM_OUTPUT_DEPENDENCY_COMMANDS' => 1, ++ '_LT_AC_SYS_LIBPATH_AIX' => 1, ++ 'CURL_WITH_AMISSL' => 1, ++ '_LT_PROG_F77' => 1, + 'CURL_SET_COMPILER_OPTIMIZE_OPTS' => 1, +- 'AC_LIBTOOL_CONFIG' => 1, +- 'LTSUGAR_VERSION' => 1, +- 'CURL_INCLUDES_SIGNAL' => 1, +- 'CURL_SUPPORTS_BUILTIN_AVAILABLE' => 1, +- '_LT_AC_LOCK' => 1, +- 'CURL_DEFINE_UNQUOTED' => 1, +- 'AC_LIBTOOL_CXX' => 1, +- 'CURL_SET_COMPILER_BASIC_OPTS' => 1, +- 'AC_LIBTOOL_FC' => 1, +- 'AC_PROG_LD_GNU' => 1, +- 'CURL_CHECK_NEED_REENTRANT_STRTOK_R' => 1, +- 'CURL_CONVERT_INCLUDE_TO_ISYSTEM' => 1, ++ 'CURL_CHECK_FUNC_STRICMP' => 1, ++ 'CURL_CHECK_FUNC_IOCTL' => 1, ++ '_AM_MANGLE_OPTION' => 1, ++ 'AC_PATH_TOOL_PREFIX' => 1, ++ 'LT_FUNC_ARGZ' => 1, ++ 'CURL_CHECK_FUNC_MEMRCHR' => 1, ++ '_LT_PREPARE_SED_QUOTE_VARS' => 1, ++ '_XC_CHECK_VAR_LIBS' => 1, + 'XC_CHECK_BUILD_FLAGS' => 1, +- 'CURL_CHECK_FUNC_CLOCK_GETTIME_MONOTONIC_RAW' => 1, +- 'AC_LIBTOOL_PROG_COMPILER_PIC' => 1, +- 'CURL_CHECK_NEED_REENTRANT_GETPROTOBYNAME_R' => 1, ++ 'CURL_CHECK_FUNC_GETPEERNAME' => 1, ++ 'CURL_CHECK_NEED_REENTRANT_GMTIME_R' => 1, ++ 'CURL_WITH_BEARSSL' => 1, ++ 'AM_PROG_NM' => 1, ++ 'CURL_CHECK_HEADER_LBER' => 1, ++ 'CURL_INCLUDES_ARPA_INET' => 1, + '_LT_COMPILER_OPTION' => 1, ++ 'XC_SH_TR_CPP' => 1, ++ 'm4_include' => 1, ++ 'CURL_CHECK_NEED_REENTRANT_STRTOK_R' => 1, ++ 'AM_MAKE_INCLUDE' => 1, ++ 'AC_LIBTOOL_COMPILER_OPTION' => 1, + 'AC_CONFIG_MACRO_DIR' => 1, +- 'CURL_CHECK_FUNC_IF_NAMETOINDEX' => 1, +- 'CURL_INCLUDES_FCNTL' => 1, +- '_LT_AC_LANG_F77_CONFIG' => 1, +- 'CURL_EXPORT_PCDIR' => 1, +- '_XC_CHECK_VAR_CFLAGS' => 1, +- 'CURL_CHECK_LIBS_CLOCK_GETTIME_MONOTONIC' => 1, +- 'CURL_CHECK_NEED_THREAD_SAFE_SYSTEM' => 1, +- 'CURL_INCLUDES_WINSOCK2' => 1, +- '_LT_PROG_FC' => 1, +- 'AM_SUBST_NOTMAKE' => 1, + 'CURL_INCLUDES_SETJMP' => 1, +- 'CURL_CHECK_COMPILER_ARRAY_SIZE_NEGATIVE' => 1, +- 'CURL_INCLUDES_SYS_XATTR' => 1, +- 'AC_PROG_NM' => 1, +- 'AU_DEFUN' => 1, +- '_m4_warn' => 1, +- '_LT_AC_SHELL_INIT' => 1, +- '_LT_AC_TAGCONFIG' => 1, +- 'LT_LANG' => 1, +- 'LTDL_CONVENIENCE' => 1, +- 'CURL_CHECK_FUNC_BASENAME' => 1, +- '_LT_AC_TRY_DLOPEN_SELF' => 1, +- '_XC_CFG_PRE_BASIC_CHK_UTIL_CAT' => 1, +- '_AM_AUTOCONF_VERSION' => 1, +- 'CURL_CHECK_FUNC_CLOSESOCKET_CAMEL' => 1, +- 'AM_CONDITIONAL' => 1, +- 'CURL_CHECK_LIBS_WINLDAP' => 1, +- '_XC_PROG_CC_POSTLUDE' => 1, +- '_AM_PROG_CC_C_O' => 1, +- 'CURL_CHECK_FUNC_SIGNAL' => 1, ++ '_XC_CHECK_VAR_LDFLAGS' => 1, ++ '_XC_CFG_PRE_BASIC_CHK_CMD_ECHO' => 1, ++ 'AM_MISSING_HAS_RUN' => 1, ++ 'AC_ENABLE_FAST_INSTALL' => 1, ++ 'AC_LIBTOOL_RC' => 1, + 'CURL_CONFIGURE_FROM_NOW_ON_WITH_THREAD_SAFE' => 1, +- 'CURL_CHECK_FUNC_SETXATTR' => 1, +- 'CURL_CHECK_FUNC_FCNTL' => 1, ++ '_LT_DLL_DEF_P' => 1, ++ 'CURL_RUN_IFELSE' => 1, ++ 'XC_LIBTOOL' => 1, + 'CURL_CHECK_OPTION_RT' => 1, +- 'AM_MISSING_HAS_RUN' => 1, +- 'CURL_CHECK_WIN32_LARGEFILE' => 1, +- 'CURL_INCLUDES_WS2TCPIP' => 1, +- 'CURL_CHECK_FUNC_SIGINTERRUPT' => 1, +- 'CURL_CHECK_CA_BUNDLE' => 1, +- 'CURL_SHFUNC_SQUEEZE' => 1, +- 'LT_CONFIG_LTDL_DIR' => 1, +- 'CURL_CHECK_FUNC_RECV' => 1, +- 'CURL_WITH_SECURETRANSPORT' => 1, +- 'AC_LIBTOOL_SETUP' => 1, ++ 'CURL_WITH_SCHANNEL' => 1, ++ 'AC_LTDL_PREOPEN' => 1, ++ 'CURL_INCLUDES_BSDSOCKET' => 1, ++ 'CURL_CHECK_FUNC_STRERROR_R' => 1, ++ 'AM_PROG_LIBTOOL' => 1, ++ 'CURL_CHECK_FUNC_SELECT' => 1, ++ 'CURL_SET_COMPILER_DEBUG_OPTS' => 1, ++ 'CURL_CHECK_LIBS_WINLDAP' => 1, ++ 'CURL_CHECK_FUNC_LISTXATTR' => 1, + '_AC_PROG_LIBTOOL' => 1, +- '_XC_PROG_CC_PREAMBLE' => 1, +- 'LT_SYS_MODULE_EXT' => 1, +- 'CURL_CHECK_NEED_REENTRANT_GETHOSTBYNAME_R' => 1, +- 'CURL_CHECK_COMPILER_STRUCT_MEMBER_SIZE' => 1, +- '_LT_AC_SYS_LIBPATH_AIX' => 1, +- 'LT_LIB_DLLOAD' => 1, +- 'CURL_CHECK_FUNC_ALARM' => 1, ++ 'CURL_INCLUDES_SYS_XATTR' => 1, + 'CURL_CHECK_COMPILER_GNU_C' => 1, +- 'CURL_INCLUDES_BSDSOCKET' => 1, +- 'CURL_INCLUDES_ARPA_INET' => 1, +- 'CURL_CHECK_HEADER_LDAP_SSL' => 1, ++ 'AM_AUX_DIR_EXPAND' => 1, ++ 'CURL_INCLUDES_SYS_TYPES' => 1, ++ 'AM_SET_DEPDIR' => 1, ++ 'CURL_CHECK_FUNC_SETXATTR' => 1, ++ 'CURL_OVERRIDE_AUTOCONF' => 1, ++ 'CURL_CHECK_FUNC_IOCTLSOCKET_FIONBIO' => 1, ++ 'CURL_CHECK_LIB_XNET' => 1, ++ 'CURL_CHECK_FUNC_FREEADDRINFO' => 1, ++ 'CURL_CHECK_OPTION_ARES' => 1, ++ 'CURL_ADD_COMPILER_WARNINGS' => 1, ++ 'CURL_CHECK_NEED_REENTRANT_FUNCTIONS_R' => 1, ++ 'CURL_CHECK_COMPILER_IBM_C' => 1, ++ 'CURL_CHECK_FUNC_IOCTLSOCKET_CAMEL' => 1, ++ 'LT_PROG_GO' => 1, ++ '_LT_PROG_LTMAIN' => 1, ++ 'CURL_SET_COMPILER_WARNING_OPTS' => 1, ++ 'CURL_CHECK_LIBS_CLOCK_GETTIME_MONOTONIC' => 1, ++ 'CURL_CHECK_COMPILER_TINY_C' => 1, ++ 'CURL_CHECK_FUNC_IOCTL_SIOCGIFADDR' => 1, ++ 'CURL_CHECK_MSG_NOSIGNAL' => 1, ++ 'XC_SH_TR_SH_EX' => 1, ++ 'AC_WITH_LTDL' => 1, ++ '_XC_CFG_PRE_BASIC_CHK_VAR_PATH' => 1, ++ 'CURL_CHECK_NEED_REENTRANT_SYSTEM' => 1, ++ 'AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE' => 1, ++ 'AC_DEPLIBS_CHECK_METHOD' => 1, ++ '_AM_PROG_CC_C_O' => 1, ++ 'AC_DISABLE_SHARED' => 1, + 'AC_LIBTOOL_LANG_RC_CONFIG' => 1, +- 'CURL_DARWIN_SYSTEMCONFIGURATION' => 1, +- '_LT_AC_PROG_CXXCPP' => 1, ++ 'LT_AC_PROG_EGREP' => 1, ++ 'CURL_CHECK_HEADER_LDAP_SSL' => 1, ++ '_AM_DEPENDENCIES' => 1, ++ 'CURL_CHECK_LIBS_LDAP' => 1, ++ 'CURL_CHECK_NEED_REENTRANT_LOCALTIME_R' => 1, ++ 'CURL_CHECK_FUNC_GETSOCKNAME' => 1, + 'CURL_COVERAGE' => 1, +- '_XC_CFG_PRE_BASIC_CHK_UTIL_WC' => 1, +- 'AC_LIBTOOL_LANG_F77_CONFIG' => 1, +- '_XC_CHECK_VAR_CPPFLAGS' => 1, +- 'LT_SYS_DLSEARCH_PATH' => 1, +- 'XC_CHECK_USER_FLAGS' => 1, +- 'AC_LTDL_SYMBOL_USCORE' => 1, +- 'CURL_CHECK_COMPILER_CLANG' => 1, +- 'CURL_CHECK_FUNC_GETHOSTBYNAME' => 1, +- 'XC_SH_TR_SH' => 1, +- 'CURL_SET_COMPILER_WARNING_OPTS' => 1, +- 'XC_M4_TR_CPP' => 1, +- '_LT_PROG_CXX' => 1, +- 'XC_CHECK_PATH_SEPARATOR' => 1, +- 'CURL_CHECK_PKGCONFIG' => 1, +- 'LTOBSOLETE_VERSION' => 1, +- '_XC_CFG_PRE_BASIC_CHK_UTIL_SED' => 1, +- 'CURL_VAR_MATCH' => 1, +- '_LT_AC_LANG_GCJ_CONFIG' => 1, +- 'CURL_CHECK_WIN32_CRYPTO' => 1, +- 'CURL_CHECK_FUNC_SOCKETPAIR' => 1, +- 'XC_SH_TR_CPP' => 1, +- 'AC_DEFUN_ONCE' => 1, +- 'XC_OVR_ZZ50' => 1, +- 'LT_AC_PROG_RC' => 1, +- 'XC_M4_TR_SH' => 1, +- 'AC_LIBTOOL_LINKER_OPTION' => 1, +- 'XC_AUTOMAKE' => 1, +- 'CURL_DARWIN_CFLAGS' => 1, +- 'CURL_CHECK_FUNC_STRCMPI' => 1, +- '_LT_LINKER_OPTION' => 1, +- 'AC_PROG_LD_RELOAD_FLAG' => 1, +- 'LT_PROG_GO' => 1, +- 'AM_INIT_AUTOMAKE' => 1, ++ 'LT_SYS_MODULE_EXT' => 1, ++ 'CURL_CHECK_FUNC_CLOCK_GETTIME_MONOTONIC' => 1, + 'CURL_CHECK_COMPILER_SYMBOL_HIDING' => 1, +- 'CURL_CHECK_COMPILER_SGI_MIPS_C' => 1, +- 'CURL_CONFIGURE_SYMBOL_HIDING' => 1, +- 'AM_ENABLE_SHARED' => 1, +- 'AM_PROG_INSTALL_SH' => 1, +- 'CURL_CHECK_COMPILER_PROTOTYPE_MISMATCH' => 1, +- 'LT_SYS_DLOPEN_SELF' => 1, +- 'CURL_CHECK_FUNC_FTRUNCATE' => 1, +- 'CURL_WITH_WOLFSSL' => 1, ++ 'XC_QTRANSLIT' => 1, ++ 'LT_PROG_GCJ' => 1, ++ 'CURL_INCLUDES_SIGNAL' => 1, ++ 'CURL_CHECK_FUNC_FCNTL' => 1, ++ '_LT_AC_LANG_CXX' => 1, ++ 'CURL_VERIFY_RUNTIMELIBS' => 1, ++ 'CURL_CHECK_NEED_REENTRANT_GETPROTOBYNAME_R' => 1, ++ 'AC_LIBTOOL_SYS_HARD_LINK_LOCKS' => 1, ++ '_LT_AC_LOCK' => 1, + 'XC_OVR_ZZ60' => 1, +- 'AM_DISABLE_SHARED' => 1, +- 'CURL_CHECK_OPTION_THREADED_RESOLVER' => 1, +- 'AC_LTDL_SYSSEARCHPATH' => 1, +- 'LT_INIT' => 1, +- 'CURL_CHECK_FUNC_STRTOK_R' => 1, +- '_LT_PATH_TOOL_PREFIX' => 1, +- 'CURL_CHECK_NEED_REENTRANT_STRERROR_R' => 1, ++ '_XC_PROG_CC_PREAMBLE' => 1, ++ '_LT_WITH_SYSROOT' => 1, ++ 'AC_DEFUN' => 1, ++ 'CURL_INCLUDES_TIME' => 1, ++ 'CURL_CHECK_COMPILER_CLANG' => 1, ++ 'CURL_CHECK_STRUCT_TIMEVAL' => 1, ++ 'CURL_GENERATE_CONFIGUREHELP_PM' => 1, ++ 'AM_ENABLE_SHARED' => 1, ++ 'CURL_CHECK_FUNC_FLISTXATTR' => 1, ++ 'CURL_WITH_SECURETRANSPORT' => 1, ++ 'AC_LIBTOOL_GCJ' => 1, ++ '_AM_IF_OPTION' => 1, + 'CURL_CHECK_FUNC_POLL' => 1, +- 'CURL_INCLUDES_INTTYPES' => 1, +- 'CURL_CHECK_OPTION_SYMBOL_HIDING' => 1, +- '_LT_AC_LANG_CXX_CONFIG' => 1, +- 'CURL_COMPILER_WORKS_IFELSE' => 1, +- 'AC_LTDL_DLLIB' => 1, +- 'CURL_CHECK_NEED_REENTRANT_SYSTEM' => 1, +- 'CURL_CHECK_FUNC_IOCTLSOCKET_CAMEL_FIONBIO' => 1, +- 'AC_LIB_LTDL' => 1, +- 'AM_AUTOMAKE_VERSION' => 1, +- 'AM_PROG_LD' => 1, ++ '_m4_warn' => 1, ++ 'CURL_CHECK_FUNC_FTRUNCATE' => 1, ++ '_LT_LIBOBJ' => 1, ++ 'LT_OUTPUT' => 1, + 'CURL_CHECK_FUNC_STRDUP' => 1, +- '_AM_DEPENDENCIES' => 1, +- 'AC_LIBLTDL_CONVENIENCE' => 1, ++ 'CURL_CHECK_NEED_THREAD_SAFE_SYSTEM' => 1, ++ 'CURL_CHECK_COMPILER_SUNPRO_C' => 1, ++ 'LT_SYS_DLSEARCH_PATH' => 1, ++ 'CURL_DARWIN_CFLAGS' => 1, ++ 'CURL_INCLUDES_NETIF' => 1, ++ 'CURL_CHECK_OPTION_NTLM_WB' => 1, ++ '_AM_SET_OPTIONS' => 1, ++ 'CURL_CHECK_FUNC_CLOSESOCKET' => 1, ++ 'XC_SH_TR_SH' => 1, ++ 'CURL_DEFINE_UNQUOTED' => 1, ++ 'CURL_CHECK_FUNC_FSETXATTR' => 1, ++ 'AC_DISABLE_FAST_INSTALL' => 1, ++ 'CURL_COMPILER_WORKS_IFELSE' => 1, ++ 'AC_LIBTOOL_LANG_GCJ_CONFIG' => 1, ++ '_AM_PROG_TAR' => 1, ++ 'CURL_CHECK_OPTION_WARNINGS' => 1, ++ '_LT_PROG_ECHO_BACKSLASH' => 1, ++ 'AC_LIBTOOL_LANG_C_CONFIG' => 1, ++ '_LT_AC_LANG_CXX_CONFIG' => 1, ++ 'AM_SET_CURRENT_AUTOMAKE_VERSION' => 1, ++ '_XC_CFG_PRE_BASIC_CHK_UTIL_GREP' => 1, ++ 'CURL_VAR_MATCH' => 1, ++ 'CURL_CHECK_CURLDEBUG' => 1, ++ 'AC_DISABLE_STATIC' => 1, + 'AM_SILENT_RULES' => 1, +- 'AC_LTDL_PREOPEN' => 1, +- 'AC_ENABLE_FAST_INSTALL' => 1, +- 'CURL_PREPROCESS_CALLCONV' => 1, +- 'CURL_WITH_AMISSL' => 1, +- 'CURL_CHECK_FUNC_GETIFADDRS' => 1, ++ 'CURL_CHECK_FUNC_SIGSETJMP' => 1, ++ 'XC_QPATSUBST' => 1, ++ 'CURL_CHECK_NEED_REENTRANT_GETHOSTBYNAME_R' => 1, ++ 'LT_FUNC_DLSYM_USCORE' => 1, ++ 'AM_AUTOMAKE_VERSION' => 1, ++ 'AM_MISSING_PROG' => 1, ++ '_LT_AC_SHELL_INIT' => 1, ++ 'AC_PROG_LD' => 1, ++ '_LT_AC_LANG_RC_CONFIG' => 1, ++ 'AM_PROG_INSTALL_SH' => 1, ++ 'AC_LIBTOOL_CXX' => 1, ++ 'CURL_INCLUDES_SYS_SOCKET' => 1, ++ 'CURL_CHECK_FUNC_STRTOLL' => 1, ++ 'LT_AC_PROG_GCJ' => 1, + '_XC_PROG_CC' => 1, +- 'AM_RUN_LOG' => 1, +- 'AC_LIBLTDL_INSTALLABLE' => 1, +- 'XC_QUOTE' => 1, ++ 'CURL_CHECK_FUNC_GMTIME_R' => 1, ++ '_LT_AC_PROG_ECHO_BACKSLASH' => 1, ++ 'AC_PROG_EGREP' => 1, ++ 'AM_SUBST_NOTMAKE' => 1, + 'AM_ENABLE_STATIC' => 1, +- '_LT_LIBOBJ' => 1, +- 'XC_CHECK_PROG_CC' => 1, +- '_LT_AC_LANG_GCJ' => 1, +- '_LTDL_SETUP' => 1, +- 'CURL_CHECK_FUNC_CLOSESOCKET' => 1, +- 'CURL_SET_COMPILER_DEBUG_OPTS' => 1, +- 'CURL_CHECK_NEED_REENTRANT_ERRNO' => 1, +- '_LT_AC_TAGVAR' => 1, +- 'LTVERSION_VERSION' => 1, +- 'LT_WITH_LTDL' => 1, ++ 'LT_LIB_DLLOAD' => 1, ++ 'CURL_CHECK_AIX_ALL_SOURCE' => 1, ++ 'CURL_CHECK_NEED_REENTRANT_STRERROR_R' => 1, ++ 'CURL_CHECK_COMPILER_DEC_C' => 1, ++ 'CURL_CONFIGURE_FROM_NOW_ON_WITH_REENTRANT' => 1, ++ 'AM_DEP_TRACK' => 1, ++ 'CURL_CHECK_FUNC_FGETXATTR' => 1, ++ 'TYPE_SOCKADDR_STORAGE' => 1, ++ 'CURL_CHECK_FUNC_CLOSESOCKET_CAMEL' => 1, ++ 'AC_LIBTOOL_PROG_CC_C_O' => 1, + 'include' => 1, +- 'AM_DISABLE_STATIC' => 1, +- '_AM_CONFIG_MACRO_DIRS' => 1, +- 'CURL_GENERATE_CONFIGUREHELP_PM' => 1, +- 'AM_PROG_CC_C_O' => 1, +- '_LT_AC_SYS_COMPILER' => 1, +- '_AM_SET_OPTION' => 1, ++ 'm4_pattern_forbid' => 1, ++ 'CURL_CHECK_FUNC_SIGINTERRUPT' => 1, ++ 'AC_LIBTOOL_PROG_COMPILER_PIC' => 1, ++ 'AC_CONFIG_MACRO_DIR_TRACE' => 1, ++ 'AC_LTDL_SYMBOL_USCORE' => 1, ++ 'CURL_INCLUDES_LIBGEN' => 1, ++ 'CURL_CHECK_COMPILER_PROTOTYPE_MISMATCH' => 1, ++ 'CURL_CHECK_OPTION_ECH' => 1, ++ 'CURL_CHECK_DEF' => 1, ++ 'AM_MAINTAINER_MODE' => 1, ++ 'CURL_CHECK_FUNC_CLOCK_GETTIME_MONOTONIC_RAW' => 1, ++ '_LT_AC_FILE_LTDLL_C' => 1, ++ 'XC_M4_TR_CPP_EX' => 1, ++ 'LT_AC_PROG_RC' => 1, ++ 'CURL_WITH_WOLFSSL' => 1, + 'CURL_INCLUDES_UNISTD' => 1, ++ 'CURL_CHECK_FUNC_INET_PTON' => 1, ++ 'AC_LIBTOOL_SYS_LIB_STRIP' => 1, ++ '_LT_AC_CHECK_DLFCN' => 1, ++ 'CURL_CHECK_FUNC_GETHOSTBYNAME' => 1, ++ 'AC_LIBTOOL_SYS_OLD_ARCHIVE' => 1, ++ 'CURL_CHECK_CA_BUNDLE' => 1, ++ 'LT_SUPPORTED_TAG' => 1, ++ 'CURL_CHECK_FUNC_FREMOVEXATTR' => 1, ++ 'CURL_CHECK_FUNC_BASENAME' => 1, ++ '_AM_CONFIG_MACRO_DIRS' => 1, ++ 'CURL_CHECK_FUNC_REMOVEXATTR' => 1, ++ 'CURL_CHECK_NTLM_WB' => 1, ++ 'XC_M4_TR_CPP' => 1, ++ 'CURL_CHECK_FUNC_STRCASECMP' => 1, ++ '_XC_CFG_PRE_PREAMBLE' => 1, ++ 'AC_LIBTOOL_OBJDIR' => 1, ++ 'LT_CONFIG_LTDL_DIR' => 1, ++ 'CURL_CHECK_FUNC_GETXATTR' => 1, ++ 'AM_CONDITIONAL' => 1, ++ 'XC_AUTOMAKE' => 1, ++ 'TYPE_IN_ADDR_T' => 1, ++ 'AC_LIBTOOL_F77' => 1, ++ 'CURL_CHECK_FUNC_ALARM' => 1, ++ 'CURL_CHECK_DEF_CC' => 1, ++ 'AC_LTDL_OBJDIR' => 1, ++ 'CURL_CHECK_COMPILER_SGI_MIPSPRO_C' => 1, ++ 'LTDL_CONVENIENCE' => 1, ++ 'AC_PROG_NM' => 1, ++ 'CURL_CHECK_FUNC_STRTOK_R' => 1, ++ '_XC_CHECK_VAR_CPPFLAGS' => 1, ++ 'CURL_CHECK_FUNC_GETADDRINFO' => 1, ++ 'LTDL_INSTALLABLE' => 1, ++ 'LTDL_INIT' => 1, + 'CURL_CHECK_LIB_ARES' => 1, ++ 'AC_LTDL_SHLIBPATH' => 1, ++ 'LT_AC_PROG_SED' => 1, ++ 'AC_PATH_MAGIC' => 1, ++ 'CURL_CPP_P' => 1, ++ '_LTDL_SETUP' => 1, ++ 'XC_OVR_ZZ50' => 1, ++ 'AC_LTDL_DLLIB' => 1, ++ 'CURL_CHECK_COMPILER_SGI_MIPS_C' => 1, ++ '_LT_PROG_FC' => 1, ++ 'AC_CHECK_LIBM' => 1, ++ 'CURL_SUPPORTS_BUILTIN_AVAILABLE' => 1, ++ 'CURL_CHECK_NEED_REENTRANT_ERRNO' => 1, ++ '_AM_SET_OPTION' => 1, ++ 'AC_LIBTOOL_LINKER_OPTION' => 1, ++ 'CURL_WITH_MBEDTLS' => 1, + 'AC_PROG_LIBTOOL' => 1, +- 'CURL_CHECK_NEED_REENTRANT_GMTIME_R' => 1, +- 'CURL_WITH_BEARSSL' => 1, +- 'AC_PATH_TOOL_PREFIX' => 1, +- 'CURL_CHECK_FUNC_FLISTXATTR' => 1, +- 'CURL_INCLUDES_NETDB' => 1, +- 'CURL_INCLUDES_LIBGEN' => 1, +- 'AC_LIBTOOL_SYS_OLD_ARCHIVE' => 1, +- 'CURL_CHECK_FUNC_FREEADDRINFO' => 1, ++ 'CURL_INCLUDES_WINSOCK2' => 1, ++ 'CURL_INCLUDES_IFADDRS' => 1, ++ 'LT_PATH_LD' => 1, ++ 'AM_COND_IF' => 1, ++ 'CURL_CHECK_OPTION_THREADED_RESOLVER' => 1, ++ 'CURL_CHECK_WIN32_LARGEFILE' => 1, ++ 'AC_LIBTOOL_DLOPEN_SELF' => 1, ++ 'LTSUGAR_VERSION' => 1, ++ 'LT_CMD_MAX_LEN' => 1, ++ '_LT_LINKER_OPTION' => 1, + 'XC_M4_TR_SH_EX' => 1, +- 'AC_LIBTOOL_SYS_DYNAMIC_LINKER' => 1, +- 'AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE' => 1, +- 'CURL_INCLUDES_STRING' => 1, +- 'AC_LTDL_OBJDIR' => 1, + 'AM_PROG_INSTALL_STRIP' => 1, +- '_XC_CFG_PRE_BASIC_CHK_UTIL_TR' => 1, +- 'AC_LIBTOOL_GCJ' => 1, +- 'AM_MAINTAINER_MODE' => 1, +- 'CURL_VERIFY_RUNTIMELIBS' => 1, +- 'CURL_CHECK_COMPILER_DEC_C' => 1, +- 'CURL_CHECK_OPTION_ARES' => 1, +- 'TYPE_SOCKADDR_STORAGE' => 1, +- 'AC_LIBTOOL_COMPILER_OPTION' => 1, +- '_AM_PROG_TAR' => 1, +- 'CURL_INCLUDES_NETIF' => 1, +- 'CURL_CHECK_FUNC_REMOVEXATTR' => 1, +- 'AC_LIBTOOL_F77' => 1, +- '_LT_AC_PROG_ECHO_BACKSLASH' => 1, +- 'CURL_CHECK_FUNC_IOCTL_FIONBIO' => 1, +- 'AC_PROG_EGREP' => 1, +- 'CURL_CHECK_FUNC_STRICMP' => 1, +- 'CURL_CHECK_OPTION_NTLM_WB' => 1, +- '_LT_PROG_F77' => 1, +- 'AC_LIBTOOL_PROG_LD_SHLIBS' => 1, +- 'AC_LIBTOOL_SYS_MAX_CMD_LEN' => 1, +- 'CURL_CHECK_NEED_REENTRANT_FUNCTIONS_R' => 1, +- 'CURL_CHECK_COMPILER_IBM_C' => 1, +- 'AM_PROG_NM' => 1, +- 'CURL_CHECK_HEADER_WINSOCK2' => 1, +- 'CURL_CHECK_FUNC_IOCTLSOCKET' => 1, +- 'AC_LIBTOOL_LANG_CXX_CONFIG' => 1, +- 'LT_FUNC_DLSYM_USCORE' => 1, +- 'CURL_CHECK_FUNC_INET_NTOP' => 1, +- 'CURL_VAR_STRIP' => 1, +- '_AM_IF_OPTION' => 1, +- 'CURL_CHECK_FUNC_IOCTL' => 1, ++ 'CURL_VAR_MATCH_IFELSE' => 1, ++ 'AM_RUN_LOG' => 1, ++ 'CURL_CHECK_COMPILER_ARRAY_SIZE_NEGATIVE' => 1, ++ '_LT_REQUIRED_DARWIN_CHECKS' => 1, ++ 'AC_LTDL_SHLIBEXT' => 1, ++ 'AC_LTDL_DLSYM_USCORE' => 1, ++ 'AC_LIBLTDL_CONVENIENCE' => 1, ++ 'AM_SANITY_CHECK' => 1, ++ '_XC_CFG_PRE_BASIC_CHK_UTIL_WC' => 1, ++ '_AM_AUTOCONF_VERSION' => 1, ++ 'CURL_CHECK_FUNC_GETIFADDRS' => 1, + '_XC_CFG_PRE_CHECK_PATH_SEPARATOR' => 1, +- 'CURL_CHECK_CURLDEBUG' => 1, +- 'm4_pattern_forbid' => 1, +- 'CURL_CHECK_COMPILER_INTEL_C' => 1, +- 'XC_SH_TR_SH_EX' => 1, +- 'CURL_CHECK_FUNC_FREMOVEXATTR' => 1, +- '_XC_CFG_PRE_BASIC_CHK_CMD_TEST' => 1, ++ '_XC_PROG_CC_POSTLUDE' => 1, ++ 'CURL_INCLUDES_STRING' => 1, ++ 'AC_LIBTOOL_PROG_COMPILER_NO_RTTI' => 1, ++ 'CURL_CHECK_FUNC_SIGACTION' => 1, ++ 'AC_LIBTOOL_WIN32_DLL' => 1, ++ '_LT_PATH_TOOL_PREFIX' => 1, ++ 'AM_DISABLE_SHARED' => 1, ++ 'AC_LTDL_ENABLE_INSTALL' => 1, ++ 'CURL_CHECK_OPTION_SYMBOL_HIDING' => 1, ++ '_LT_LINKER_BOILERPLATE' => 1, ++ 'CURL_INCLUDES_SOCKET' => 1, ++ 'CURL_CHECK_PKGCONFIG' => 1, ++ 'CURL_CHECK_WIN32_CRYPTO' => 1, ++ '_XC_CFG_PRE_BASIC_CHK_UTIL_TR' => 1, ++ 'LT_INIT' => 1, ++ 'LT_SYS_MODULE_PATH' => 1, ++ 'AU_DEFUN' => 1, ++ 'CURL_CHECK_OPTION_DEBUG' => 1, ++ 'LT_PROG_RC' => 1, ++ '_LT_AC_TRY_DLOPEN_SELF' => 1, ++ 'CURL_CHECK_FUNC_IOCTLSOCKET_CAMEL_FIONBIO' => 1, + 'CURL_INCLUDES_POLL' => 1, +- '_LT_AC_LANG_CXX' => 1, +- 'LT_SYS_SYMBOL_USCORE' => 1, +- '_LT_DLL_DEF_P' => 1, +- 'LTOPTIONS_VERSION' => 1, +- 'AM_OUTPUT_DEPENDENCY_COMMANDS' => 1, +- 'AM_DEP_TRACK' => 1, +- 'AC_DISABLE_FAST_INSTALL' => 1, ++ 'CURL_INCLUDES_STDLIB' => 1, ++ 'CURL_CHECK_FUNC_STRCMPI' => 1, ++ 'CURL_DARWIN_SYSTEMCONFIGURATION' => 1, ++ 'CURL_CHECK_FUNC_IOCTLSOCKET' => 1, ++ 'CURL_CHECK_FUNC_RECV' => 1, ++ 'CURL_CHECK_HEADER_LDAP' => 1, ++ 'AC_LIBTOOL_SETUP' => 1, ++ 'LT_SYS_DLOPEN_DEPLIBS' => 1, ++ 'XC_M4_TR_SH' => 1, ++ 'CURL_WITH_RUSTLS' => 1, ++ '_AC_AM_CONFIG_HEADER_HOOK' => 1, ++ '_LT_AC_PROG_CXXCPP' => 1, ++ 'AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH' => 1, ++ 'CURL_SIZEOF' => 1, ++ '_LT_AC_LANG_GCJ' => 1, ++ '_XC_CHECK_VAR_CFLAGS' => 1, ++ 'AC_ENABLE_SHARED' => 1, ++ '_LT_AC_LANG_F77_CONFIG' => 1, ++ 'AC_DEFUN_ONCE' => 1, ++ '_XC_CFG_PRE_BASIC_CHK_UTIL_SED' => 1, ++ 'CURL_CHECK_FUNC_IOCTL_FIONBIO' => 1, + 'CURL_CONFIGURE_REENTRANT' => 1, +- 'LT_CMD_MAX_LEN' => 1, +- '_LT_PREPARE_SED_QUOTE_VARS' => 1, +- 'CURL_CHECK_FUNC_GETPEERNAME' => 1, +- 'CURL_CHECK_DEF' => 1, +- 'CURL_INCLUDES_SOCKET' => 1, +- 'CURL_CHECK_FUNC_STRTOLL' => 1, +- '_LT_LINKER_BOILERPLATE' => 1, +- 'AC_LIBTOOL_POSTDEP_PREDEP' => 1, +- 'AM_SET_CURRENT_AUTOMAKE_VERSION' => 1, +- 'CURL_OVERRIDE_AUTOCONF' => 1, +- 'CURL_CHECK_COMPILER_SUNPRO_C' => 1, +- 'CURL_WITH_SCHANNEL' => 1, +- 'AC_LIBTOOL_PROG_CC_C_O' => 1, +- 'CURL_CHECK_FUNC_LISTXATTR' => 1, +- 'CURL_CHECK_FUNC_IOCTLSOCKET_FIONBIO' => 1 ++ 'CURL_CHECK_COMPILER_HALT_ON_ERROR' => 1, ++ 'XC_CONFIGURE_PREAMBLE' => 1, ++ 'LT_PATH_NM' => 1, ++ 'LT_SYS_SYMBOL_USCORE' => 1, ++ 'CURL_CHECK_COMPILER' => 1, ++ 'CURL_CONFIGURE_THREAD_SAFE' => 1, ++ 'CURL_CONVERT_INCLUDE_TO_ISYSTEM' => 1, ++ 'AM_SET_LEADING_DOT' => 1 + } + ], 'Autom4te::Request' ), + bless( [ +@@ -483,69 +476,69 @@ + 'configure.ac' + ], + { +- 'AM_AUTOMAKE_VERSION' => 1, +- 'AC_CONFIG_AUX_DIR' => 1, +- 'AC_SUBST' => 1, +- 'AC_CANONICAL_SYSTEM' => 1, +- 'AM_NLS' => 1, +- 'AC_CANONICAL_BUILD' => 1, +- 'm4_pattern_allow' => 1, +- 'AM_SILENT_RULES' => 1, +- 'AC_DEFINE_TRACE_LITERAL' => 1, ++ 'AC_INIT' => 1, ++ 'AH_OUTPUT' => 1, ++ '_m4_warn' => 1, + 'AM_CONDITIONAL' => 1, +- 'GTK_DOC_CHECK' => 1, ++ 'AM_PROG_MKDIR_P' => 1, ++ 'AC_LIBSOURCE' => 1, ++ 'LT_CONFIG_LTDL_DIR' => 1, + 'AM_PROG_CXX_C_O' => 1, ++ '_AM_COND_ENDIF' => 1, ++ 'AC_CONFIG_LINKS' => 1, ++ 'AM_PROG_FC_C_O' => 1, ++ 'AM_NLS' => 1, ++ '_AM_MAKEFILE_INCLUDE' => 1, ++ 'AM_PROG_AR' => 1, ++ '_LT_AC_TAGCONFIG' => 1, ++ 'AC_CONFIG_HEADERS' => 1, ++ 'AC_CANONICAL_SYSTEM' => 1, ++ 'IT_PROG_INTLTOOL' => 1, ++ 'm4_pattern_allow' => 1, ++ 'AC_CONFIG_SUBDIRS' => 1, ++ 'include' => 1, ++ 'm4_pattern_forbid' => 1, + 'm4_include' => 1, ++ 'AC_SUBST_TRACE' => 1, ++ 'AC_CANONICAL_BUILD' => 1, ++ '_AM_COND_ELSE' => 1, ++ 'AM_EXTRA_RECURSIVE_TARGETS' => 1, ++ 'AC_DEFINE_TRACE_LITERAL' => 1, ++ 'AC_CANONICAL_TARGET' => 1, ++ 'AM_SILENT_RULES' => 1, + '_AM_COND_IF' => 1, +- 'AC_FC_PP_SRCEXT' => 1, ++ 'AC_FC_PP_DEFINE' => 1, ++ 'AC_CONFIG_FILES' => 1, ++ 'AM_PROG_F77_C_O' => 1, ++ 'AM_MAKEFILE_INCLUDE' => 1, ++ 'GTK_DOC_CHECK' => 1, ++ 'AC_REQUIRE_AUX_FILE' => 1, ++ 'AM_PATH_GUILE' => 1, + '_AM_SUBST_NOTMAKE' => 1, +- 'LT_CONFIG_LTDL_DIR' => 1, ++ 'AM_PROG_MOC' => 1, ++ 'AC_SUBST' => 1, ++ 'AC_CONFIG_LIBOBJ_DIR' => 1, ++ 'AM_MAINTAINER_MODE' => 1, + 'AM_XGETTEXT_OPTION' => 1, +- 'AC_CANONICAL_TARGET' => 1, +- 'AM_ENABLE_MULTILIB' => 1, +- 'AM_PATH_GUILE' => 1, +- 'AM_POT_TOOLS' => 1, ++ 'm4_sinclude' => 1, + 'AM_GNU_GETTEXT_INTL_SUBDIR' => 1, +- 'AM_PROG_LIBTOOL' => 1, +- 'include' => 1, +- 'IT_PROG_INTLTOOL' => 1, +- 'm4_pattern_forbid' => 1, +- 'AM_INIT_AUTOMAKE' => 1, ++ 'AC_CONFIG_MACRO_DIR_TRACE' => 1, + 'AM_PROG_CC_C_O' => 1, +- 'AC_CONFIG_LINKS' => 1, +- 'AM_GNU_GETTEXT' => 1, + 'AC_FC_FREEFORM' => 1, ++ 'AC_CONFIG_AUX_DIR' => 1, ++ 'AM_GNU_GETTEXT' => 1, ++ 'AM_ENABLE_MULTILIB' => 1, ++ 'AM_AUTOMAKE_VERSION' => 1, ++ 'sinclude' => 1, ++ 'AM_POT_TOOLS' => 1, + 'AC_CANONICAL_HOST' => 1, +- 'AC_CONFIG_LIBOBJ_DIR' => 1, +- 'AC_INIT' => 1, ++ 'AM_PROG_LIBTOOL' => 1, ++ 'AM_INIT_AUTOMAKE' => 1, ++ 'AC_FC_SRCEXT' => 1, + 'AC_PROG_LIBTOOL' => 1, +- 'AC_REQUIRE_AUX_FILE' => 1, +- 'AM_PROG_FC_C_O' => 1, +- 'AM_PROG_F77_C_O' => 1, +- '_AM_COND_ELSE' => 1, +- 'AC_CONFIG_SUBDIRS' => 1, +- 'AM_PROG_MOC' => 1, +- 'AC_FC_PP_DEFINE' => 1, +- 'AC_LIBSOURCE' => 1, +- 'AH_OUTPUT' => 1, +- 'AM_EXTRA_RECURSIVE_TARGETS' => 1, +- 'AC_CONFIG_HEADERS' => 1, + 'LT_SUPPORTED_TAG' => 1, + 'LT_INIT' => 1, +- 'AC_SUBST_TRACE' => 1, +- 'AM_MAKEFILE_INCLUDE' => 1, +- 'AM_PROG_AR' => 1, +- '_AM_MAKEFILE_INCLUDE' => 1, +- 'sinclude' => 1, +- 'AC_CONFIG_FILES' => 1, +- '_AM_COND_ENDIF' => 1, +- 'AM_MAINTAINER_MODE' => 1, +- '_m4_warn' => 1, +- '_LT_AC_TAGCONFIG' => 1, +- 'AC_CONFIG_MACRO_DIR_TRACE' => 1, +- 'AM_PROG_MKDIR_P' => 1, +- 'AC_FC_SRCEXT' => 1, +- 'm4_sinclude' => 1 ++ 'AC_FC_PP_SRCEXT' => 1 + } + ], 'Autom4te::Request' ), + bless( [ +@@ -561,69 +554,69 @@ + 'configure.ac' + ], + { +- 'AM_GNU_GETTEXT_INTL_SUBDIR' => 1, +- 'AM_POT_TOOLS' => 1, +- 'AM_PATH_GUILE' => 1, +- 'AM_ENABLE_MULTILIB' => 1, + 'AC_CANONICAL_TARGET' => 1, ++ 'AC_FC_PP_DEFINE' => 1, ++ 'AM_SILENT_RULES' => 1, ++ '_AM_COND_IF' => 1, ++ 'AM_MAKEFILE_INCLUDE' => 1, ++ 'AM_PROG_F77_C_O' => 1, ++ 'AC_CONFIG_FILES' => 1, ++ 'GTK_DOC_CHECK' => 1, ++ 'AC_REQUIRE_AUX_FILE' => 1, ++ 'AM_PATH_GUILE' => 1, ++ '_AM_SUBST_NOTMAKE' => 1, ++ 'AC_SUBST' => 1, ++ 'AM_PROG_MOC' => 1, + 'AM_XGETTEXT_OPTION' => 1, +- 'AM_GNU_GETTEXT' => 1, ++ 'AM_MAINTAINER_MODE' => 1, ++ 'AC_CONFIG_LIBOBJ_DIR' => 1, + 'AM_PROG_CC_C_O' => 1, +- 'AC_CONFIG_LINKS' => 1, ++ 'AC_CONFIG_MACRO_DIR_TRACE' => 1, ++ 'm4_sinclude' => 1, ++ 'AM_GNU_GETTEXT_INTL_SUBDIR' => 1, ++ 'AC_FC_FREEFORM' => 1, ++ 'AC_CONFIG_AUX_DIR' => 1, ++ 'AM_ENABLE_MULTILIB' => 1, ++ 'AM_GNU_GETTEXT' => 1, ++ 'AM_AUTOMAKE_VERSION' => 1, ++ 'sinclude' => 1, ++ 'AC_FC_SRCEXT' => 1, ++ 'AM_POT_TOOLS' => 1, ++ 'AC_CANONICAL_HOST' => 1, + 'AM_INIT_AUTOMAKE' => 1, +- 'm4_pattern_forbid' => 1, +- 'IT_PROG_INTLTOOL' => 1, +- 'include' => 1, + 'AM_PROG_LIBTOOL' => 1, +- 'GTK_DOC_CHECK' => 1, +- 'AC_DEFINE_TRACE_LITERAL' => 1, ++ 'AC_PROG_LIBTOOL' => 1, ++ 'LT_SUPPORTED_TAG' => 1, ++ 'AC_FC_PP_SRCEXT' => 1, ++ 'LT_INIT' => 1, ++ '_m4_warn' => 1, + 'AM_CONDITIONAL' => 1, +- 'AM_SILENT_RULES' => 1, +- 'm4_pattern_allow' => 1, +- 'AC_CANONICAL_BUILD' => 1, +- 'AM_NLS' => 1, +- 'AC_CANONICAL_SYSTEM' => 1, +- 'AC_SUBST' => 1, +- 'AC_CONFIG_AUX_DIR' => 1, +- 'AM_AUTOMAKE_VERSION' => 1, ++ 'AC_INIT' => 1, ++ 'AH_OUTPUT' => 1, + 'LT_CONFIG_LTDL_DIR' => 1, +- '_AM_SUBST_NOTMAKE' => 1, +- 'AC_FC_PP_SRCEXT' => 1, +- '_AM_COND_IF' => 1, +- 'm4_include' => 1, + 'AM_PROG_CXX_C_O' => 1, +- '_m4_warn' => 1, +- 'AM_MAINTAINER_MODE' => 1, +- '_AM_COND_ENDIF' => 1, +- 'AC_CONFIG_FILES' => 1, +- 'AC_FC_SRCEXT' => 1, +- 'm4_sinclude' => 1, + 'AM_PROG_MKDIR_P' => 1, +- 'AC_CONFIG_MACRO_DIR_TRACE' => 1, +- '_LT_AC_TAGCONFIG' => 1, +- '_AM_COND_ELSE' => 1, +- 'AM_PROG_F77_C_O' => 1, ++ 'AC_LIBSOURCE' => 1, ++ '_AM_COND_ENDIF' => 1, + 'AM_PROG_FC_C_O' => 1, +- 'AC_REQUIRE_AUX_FILE' => 1, +- 'AC_PROG_LIBTOOL' => 1, +- 'AC_INIT' => 1, +- 'AC_CONFIG_LIBOBJ_DIR' => 1, +- 'AC_CANONICAL_HOST' => 1, +- 'AC_FC_FREEFORM' => 1, +- 'sinclude' => 1, +- '_AM_MAKEFILE_INCLUDE' => 1, ++ 'AC_CONFIG_LINKS' => 1, ++ '_LT_AC_TAGCONFIG' => 1, ++ 'AC_CONFIG_HEADERS' => 1, ++ 'AM_NLS' => 1, + 'AM_PROG_AR' => 1, +- 'AM_MAKEFILE_INCLUDE' => 1, ++ '_AM_MAKEFILE_INCLUDE' => 1, ++ 'AC_CANONICAL_SYSTEM' => 1, ++ 'm4_pattern_allow' => 1, ++ 'IT_PROG_INTLTOOL' => 1, ++ 'AC_CONFIG_SUBDIRS' => 1, ++ 'm4_pattern_forbid' => 1, ++ 'include' => 1, ++ 'm4_include' => 1, + 'AC_SUBST_TRACE' => 1, +- 'LT_INIT' => 1, +- 'AC_CONFIG_HEADERS' => 1, +- 'LT_SUPPORTED_TAG' => 1, ++ 'AC_CANONICAL_BUILD' => 1, ++ '_AM_COND_ELSE' => 1, + 'AM_EXTRA_RECURSIVE_TARGETS' => 1, +- 'AH_OUTPUT' => 1, +- 'AC_LIBSOURCE' => 1, +- 'AC_FC_PP_DEFINE' => 1, +- 'AC_CONFIG_SUBDIRS' => 1, +- 'AM_PROG_MOC' => 1 ++ 'AC_DEFINE_TRACE_LITERAL' => 1 + } + ], 'Autom4te::Request' ) + ); +diff --git a/autom4te.cache/traces.0 b/autom4te.cache/traces.0 +index 890d124..716c884 100644 +--- a/autom4te.cache/traces.0 ++++ b/autom4te.cache/traces.0 +@@ -1491,7 +1491,7 @@ if test "$HAVE_PROTO_BSDSOCKET_H" = "1"; then + #include + ]],[[ + #if defined(AMISSL_CURRENT_VERSION) && defined(AMISSL_V3xx) && \ +- defined(OPENSSL_VERSION_MAJOR) && (OPENSSL_VERSION_MAJOR >= 3) && \ ++ (OPENSSL_VERSION_NUMBER >= 0x30000000L) && \ + defined(PROTO_AMISSL_H) + return 0; + #else +@@ -1629,7 +1629,6 @@ m4trace:m4/curl-compilers.m4:33: -1- AC_DEFUN([CURL_CHECK_COMPILER], [ + CURL_CHECK_COMPILER_INTEL_C + CURL_CHECK_COMPILER_CLANG + CURL_CHECK_COMPILER_GNU_C +- CURL_CHECK_COMPILER_LCC + CURL_CHECK_COMPILER_SGI_MIPSPRO_C + CURL_CHECK_COMPILER_SGI_MIPS_C + CURL_CHECK_COMPILER_SUNPRO_C +@@ -1651,7 +1650,7 @@ m4trace:m4/curl-compilers.m4:33: -1- AC_DEFUN([CURL_CHECK_COMPILER], [ + _EOF + fi + ]) +-m4trace:m4/curl-compilers.m4:79: -1- AC_DEFUN([CURL_CHECK_COMPILER_CLANG], [ ++m4trace:m4/curl-compilers.m4:78: -1- AC_DEFUN([CURL_CHECK_COMPILER_CLANG], [ + AC_BEFORE([$0],[CURL_CHECK_COMPILER_GNU_C])dnl + AC_MSG_CHECKING([if compiler is clang]) + CURL_CHECK_DEF([__clang__], [], [silent]) +@@ -1667,19 +1666,40 @@ m4trace:m4/curl-compilers.m4:79: -1- AC_DEFUN([CURL_CHECK_COMPILER_CLANG], [ + AC_MSG_RESULT([no]) + compiler_id="CLANG" + fi ++ AC_MSG_CHECKING([compiler version]) + fullclangver=`$CC -v 2>&1 | grep version` ++ if echo $fullclangver | grep 'Apple' >/dev/null; then ++ appleclang=1 ++ else ++ appleclang=0 ++ fi + clangver=`echo $fullclangver | grep "based on LLVM " | "$SED" 's/.*(based on LLVM \(@<:@0-9@:>@*\.@<:@0-9@:>@*\).*)/\1/'` + if test -z "$clangver"; then +- if echo $fullclangver | grep "Apple LLVM version " >/dev/null; then +- dnl Starting with XCode 7 / clang 3.7, Apple clang won't tell its upstream version +- clangver="3.7" +- else +- clangver=`echo $fullclangver | "$SED" 's/.*version \(@<:@0-9@:>@*\.@<:@0-9@:>@*\).*/\1/'` +- fi ++ clangver=`echo $fullclangver | "$SED" 's/.*version \(@<:@0-9@:>@*\.@<:@0-9@:>@*\).*/\1/'` ++ oldapple=0 ++ else ++ oldapple=1 + fi + clangvhi=`echo $clangver | cut -d . -f1` + clangvlo=`echo $clangver | cut -d . -f2` + compiler_num=`(expr $clangvhi "*" 100 + $clangvlo) 2>/dev/null` ++ if test "$appleclang" = '1' && test "$oldapple" = '0'; then ++ dnl Starting with Xcode 7 / clang 3.7, Apple clang won't tell its upstream version ++ if test "$compiler_num" -ge '1300'; then compiler_num='1200' ++ elif test "$compiler_num" -ge '1205'; then compiler_num='1101' ++ elif test "$compiler_num" -ge '1204'; then compiler_num='1000' ++ elif test "$compiler_num" -ge '1107'; then compiler_num='900' ++ elif test "$compiler_num" -ge '1103'; then compiler_num='800' ++ elif test "$compiler_num" -ge '1003'; then compiler_num='700' ++ elif test "$compiler_num" -ge '1001'; then compiler_num='600' ++ elif test "$compiler_num" -ge '904'; then compiler_num='500' ++ elif test "$compiler_num" -ge '902'; then compiler_num='400' ++ elif test "$compiler_num" -ge '803'; then compiler_num='309' ++ elif test "$compiler_num" -ge '703'; then compiler_num='308' ++ else compiler_num='307' ++ fi ++ fi ++ AC_MSG_RESULT([clang '$compiler_num' (raw: '$fullclangver' / '$clangver')]) + flags_dbg_yes="-g" + flags_opt_all="-O -O0 -O1 -O2 -Os -O3 -O4" + flags_opt_yes="-O2" +@@ -1688,7 +1708,7 @@ m4trace:m4/curl-compilers.m4:79: -1- AC_DEFUN([CURL_CHECK_COMPILER_CLANG], [ + AC_MSG_RESULT([no]) + fi + ]) +-m4trace:m4/curl-compilers.m4:122: -1- AC_DEFUN([CURL_CHECK_COMPILER_DEC_C], [ ++m4trace:m4/curl-compilers.m4:142: -1- AC_DEFUN([CURL_CHECK_COMPILER_DEC_C], [ + AC_MSG_CHECKING([if compiler is DEC/Compaq/HP C]) + CURL_CHECK_DEF([__DECC], [], [silent]) + CURL_CHECK_DEF([__DECC_VER], [], [silent]) +@@ -1704,7 +1724,7 @@ m4trace:m4/curl-compilers.m4:122: -1- AC_DEFUN([CURL_CHECK_COMPILER_DEC_C], [ + AC_MSG_RESULT([no]) + fi + ]) +-m4trace:m4/curl-compilers.m4:153: -1- AC_DEFUN([CURL_CHECK_COMPILER_GNU_C], [ ++m4trace:m4/curl-compilers.m4:173: -1- AC_DEFUN([CURL_CHECK_COMPILER_GNU_C], [ + AC_REQUIRE([CURL_CHECK_COMPILER_INTEL_C])dnl + AC_REQUIRE([CURL_CHECK_COMPILER_CLANG])dnl + AC_MSG_CHECKING([if compiler is GNU C]) +@@ -1713,20 +1733,26 @@ m4trace:m4/curl-compilers.m4:153: -1- AC_DEFUN([CURL_CHECK_COMPILER_GNU_C], [ + test "$compiler_id" = "unknown"; then + AC_MSG_RESULT([yes]) + compiler_id="GNU_C" +- gccver=`$CC -dumpversion` ++ AC_MSG_CHECKING([compiler version]) ++ # strip '-suffix' parts, e.g. Ubuntu Windows cross-gcc returns '10-win32' ++ gccver=`$CC -dumpversion | sed -E 's/-.+$//'` + gccvhi=`echo $gccver | cut -d . -f1` +- gccvlo=`echo $gccver | cut -d . -f2` ++ if echo $gccver | grep -F '.' >/dev/null; then ++ gccvlo=`echo $gccver | cut -d . -f2` ++ else ++ gccvlo="0" ++ fi + compiler_num=`(expr $gccvhi "*" 100 + $gccvlo) 2>/dev/null` ++ AC_MSG_RESULT([gcc '$compiler_num' (raw: '$gccver')]) + flags_dbg_yes="-g" + flags_opt_all="-O -O0 -O1 -O2 -O3 -Os -Og -Ofast" + flags_opt_yes="-O2" + flags_opt_off="-O0" +- CURL_CHECK_DEF([_WIN32], [], [silent]) + else + AC_MSG_RESULT([no]) + fi + ]) +-m4trace:m4/curl-compilers.m4:181: -1- AC_DEFUN([CURL_CHECK_COMPILER_HPUX_C], [ ++m4trace:m4/curl-compilers.m4:207: -1- AC_DEFUN([CURL_CHECK_COMPILER_HPUX_C], [ + AC_MSG_CHECKING([if compiler is HP-UX C]) + CURL_CHECK_DEF([__HP_cc], [], [silent]) + if test "$curl_cv_have_def___HP_cc" = "yes"; then +@@ -1740,7 +1766,7 @@ m4trace:m4/curl-compilers.m4:181: -1- AC_DEFUN([CURL_CHECK_COMPILER_HPUX_C], [ + AC_MSG_RESULT([no]) + fi + ]) +-m4trace:m4/curl-compilers.m4:201: -1- AC_DEFUN([CURL_CHECK_COMPILER_IBM_C], [ ++m4trace:m4/curl-compilers.m4:227: -1- AC_DEFUN([CURL_CHECK_COMPILER_IBM_C], [ + AC_MSG_CHECKING([if compiler is IBM C]) + CURL_CHECK_DEF([__IBMC__], [], [silent]) + if test "$curl_cv_have_def___IBMC__" = "yes"; then +@@ -1762,13 +1788,15 @@ m4trace:m4/curl-compilers.m4:201: -1- AC_DEFUN([CURL_CHECK_COMPILER_IBM_C], [ + AC_MSG_RESULT([no]) + fi + ]) +-m4trace:m4/curl-compilers.m4:229: -1- AC_DEFUN([CURL_CHECK_COMPILER_INTEL_C], [ ++m4trace:m4/curl-compilers.m4:255: -1- AC_DEFUN([CURL_CHECK_COMPILER_INTEL_C], [ + AC_BEFORE([$0],[CURL_CHECK_COMPILER_GNU_C])dnl + AC_MSG_CHECKING([if compiler is Intel C]) + CURL_CHECK_DEF([__INTEL_COMPILER], [], [silent]) + if test "$curl_cv_have_def___INTEL_COMPILER" = "yes"; then + AC_MSG_RESULT([yes]) ++ AC_MSG_CHECKING([compiler version]) + compiler_num="$curl_cv_def___INTEL_COMPILER" ++ AC_MSG_RESULT([Intel C '$compiler_num']) + CURL_CHECK_DEF([__unix__], [], [silent]) + if test "$curl_cv_have_def___unix__" = "yes"; then + compiler_id="INTEL_UNIX_C" +@@ -1787,21 +1815,7 @@ m4trace:m4/curl-compilers.m4:229: -1- AC_DEFUN([CURL_CHECK_COMPILER_INTEL_C], [ + AC_MSG_RESULT([no]) + fi + ]) +-m4trace:m4/curl-compilers.m4:260: -1- AC_DEFUN([CURL_CHECK_COMPILER_LCC], [ +- AC_MSG_CHECKING([if compiler is LCC]) +- CURL_CHECK_DEF([__LCC__], [], [silent]) +- if test "$curl_cv_have_def___LCC__" = "yes"; then +- AC_MSG_RESULT([yes]) +- compiler_id="LCC" +- flags_dbg_yes="-g" +- flags_opt_all="" +- flags_opt_yes="" +- flags_opt_off="" +- else +- AC_MSG_RESULT([no]) +- fi +-]) +-m4trace:m4/curl-compilers.m4:280: -1- AC_DEFUN([CURL_CHECK_COMPILER_SGI_MIPS_C], [ ++m4trace:m4/curl-compilers.m4:288: -1- AC_DEFUN([CURL_CHECK_COMPILER_SGI_MIPS_C], [ + AC_REQUIRE([CURL_CHECK_COMPILER_SGI_MIPSPRO_C])dnl + AC_MSG_CHECKING([if compiler is SGI MIPS C]) + CURL_CHECK_DEF([__GNUC__], [], [silent]) +@@ -1819,7 +1833,7 @@ m4trace:m4/curl-compilers.m4:280: -1- AC_DEFUN([CURL_CHECK_COMPILER_SGI_MIPS_C], + AC_MSG_RESULT([no]) + fi + ]) +-m4trace:m4/curl-compilers.m4:304: -1- AC_DEFUN([CURL_CHECK_COMPILER_SGI_MIPSPRO_C], [ ++m4trace:m4/curl-compilers.m4:312: -1- AC_DEFUN([CURL_CHECK_COMPILER_SGI_MIPSPRO_C], [ + AC_BEFORE([$0],[CURL_CHECK_COMPILER_SGI_MIPS_C])dnl + AC_MSG_CHECKING([if compiler is SGI MIPSpro C]) + CURL_CHECK_DEF([__GNUC__], [], [silent]) +@@ -1838,7 +1852,7 @@ m4trace:m4/curl-compilers.m4:304: -1- AC_DEFUN([CURL_CHECK_COMPILER_SGI_MIPSPRO_ + AC_MSG_RESULT([no]) + fi + ]) +-m4trace:m4/curl-compilers.m4:329: -1- AC_DEFUN([CURL_CHECK_COMPILER_SUNPRO_C], [ ++m4trace:m4/curl-compilers.m4:337: -1- AC_DEFUN([CURL_CHECK_COMPILER_SUNPRO_C], [ + AC_MSG_CHECKING([if compiler is SunPro C]) + CURL_CHECK_DEF([__SUNPRO_C], [], [silent]) + if test "$curl_cv_have_def___SUNPRO_C" = "yes"; then +@@ -1852,7 +1866,7 @@ m4trace:m4/curl-compilers.m4:329: -1- AC_DEFUN([CURL_CHECK_COMPILER_SUNPRO_C], [ + AC_MSG_RESULT([no]) + fi + ]) +-m4trace:m4/curl-compilers.m4:349: -1- AC_DEFUN([CURL_CHECK_COMPILER_TINY_C], [ ++m4trace:m4/curl-compilers.m4:357: -1- AC_DEFUN([CURL_CHECK_COMPILER_TINY_C], [ + AC_MSG_CHECKING([if compiler is Tiny C]) + CURL_CHECK_DEF([__TINYC__], [], [silent]) + if test "$curl_cv_have_def___TINYC__" = "yes"; then +@@ -1866,7 +1880,7 @@ m4trace:m4/curl-compilers.m4:349: -1- AC_DEFUN([CURL_CHECK_COMPILER_TINY_C], [ + AC_MSG_RESULT([no]) + fi + ]) +-m4trace:m4/curl-compilers.m4:372: -1- AC_DEFUN([CURL_CONVERT_INCLUDE_TO_ISYSTEM], [ ++m4trace:m4/curl-compilers.m4:380: -1- AC_DEFUN([CURL_CONVERT_INCLUDE_TO_ISYSTEM], [ + AC_REQUIRE([CURL_SHFUNC_SQUEEZE])dnl + AC_REQUIRE([CURL_CHECK_COMPILER])dnl + AC_MSG_CHECKING([convert -I options to -isystem]) +@@ -1907,7 +1921,7 @@ m4trace:m4/curl-compilers.m4:372: -1- AC_DEFUN([CURL_CONVERT_INCLUDE_TO_ISYSTEM] + AC_MSG_RESULT([no]) + fi + ]) +-m4trace:m4/curl-compilers.m4:421: -1- AC_DEFUN([CURL_COMPILER_WORKS_IFELSE], [ ++m4trace:m4/curl-compilers.m4:429: -1- AC_DEFUN([CURL_COMPILER_WORKS_IFELSE], [ + dnl compilation capability verification + tmp_compiler_works="unknown" + AC_COMPILE_IFELSE([ +@@ -1969,7 +1983,7 @@ m4trace:m4/curl-compilers.m4:421: -1- AC_DEFUN([CURL_COMPILER_WORKS_IFELSE], [ + $2]) + fi + ]) +-m4trace:m4/curl-compilers.m4:491: -1- AC_DEFUN([CURL_SET_COMPILER_BASIC_OPTS], [ ++m4trace:m4/curl-compilers.m4:499: -1- AC_DEFUN([CURL_SET_COMPILER_BASIC_OPTS], [ + AC_REQUIRE([CURL_CHECK_COMPILER])dnl + AC_REQUIRE([CURL_SHFUNC_SQUEEZE])dnl + # +@@ -2061,12 +2075,6 @@ m4trace:m4/curl-compilers.m4:491: -1- AC_DEFUN([CURL_SET_COMPILER_BASIC_OPTS], [ + tmp_CFLAGS="$tmp_CFLAGS" + ;; + # +- LCC) +- # +- dnl Disallow run-time dereferencing of null pointers +- tmp_CFLAGS="$tmp_CFLAGS -n" +- ;; +- # + SGI_MIPS_C) + # + dnl Placeholder +@@ -2116,7 +2124,7 @@ m4trace:m4/curl-compilers.m4:491: -1- AC_DEFUN([CURL_SET_COMPILER_BASIC_OPTS], [ + # + fi + ]) +-m4trace:m4/curl-compilers.m4:645: -1- AC_DEFUN([CURL_SET_COMPILER_DEBUG_OPTS], [ ++m4trace:m4/curl-compilers.m4:647: -1- AC_DEFUN([CURL_SET_COMPILER_DEBUG_OPTS], [ + AC_REQUIRE([CURL_CHECK_OPTION_DEBUG])dnl + AC_REQUIRE([CURL_CHECK_COMPILER])dnl + AC_REQUIRE([CURL_SHFUNC_SQUEEZE])dnl +@@ -2146,7 +2154,7 @@ m4trace:m4/curl-compilers.m4:645: -1- AC_DEFUN([CURL_SET_COMPILER_DEBUG_OPTS], [ + squeeze CFLAGS + fi + ]) +-m4trace:m4/curl-compilers.m4:682: -1- AC_DEFUN([CURL_SET_COMPILER_OPTIMIZE_OPTS], [ ++m4trace:m4/curl-compilers.m4:684: -1- AC_DEFUN([CURL_SET_COMPILER_OPTIMIZE_OPTS], [ + AC_REQUIRE([CURL_CHECK_OPTION_OPTIMIZE])dnl + AC_REQUIRE([CURL_CHECK_COMPILER])dnl + AC_REQUIRE([CURL_SHFUNC_SQUEEZE])dnl +@@ -2221,7 +2229,7 @@ m4trace:m4/curl-compilers.m4:682: -1- AC_DEFUN([CURL_SET_COMPILER_OPTIMIZE_OPTS] + # + fi + ]) +-m4trace:m4/curl-compilers.m4:764: -1- AC_DEFUN([CURL_SET_COMPILER_WARNING_OPTS], [ ++m4trace:m4/curl-compilers.m4:766: -1- AC_DEFUN([CURL_SET_COMPILER_WARNING_OPTS], [ + AC_REQUIRE([CURL_CHECK_OPTION_WARNINGS])dnl + AC_REQUIRE([CURL_CHECK_COMPILER])dnl + AC_REQUIRE([CURL_SHFUNC_SQUEEZE])dnl +@@ -2247,7 +2255,8 @@ m4trace:m4/curl-compilers.m4:764: -1- AC_DEFUN([CURL_SET_COMPILER_WARNING_OPTS], + CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [missing-prototypes]) + tmp_CFLAGS="$tmp_CFLAGS -Wno-long-long" + CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [float-equal]) +- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [no-multichar sign-compare]) ++ CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [sign-compare]) ++ tmp_CFLAGS="$tmp_CFLAGS -Wno-multichar" + CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [undef]) + tmp_CFLAGS="$tmp_CFLAGS -Wno-format-nonliteral" + CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [endif-labels strict-prototypes]) +@@ -2261,29 +2270,48 @@ m4trace:m4/curl-compilers.m4:764: -1- AC_DEFUN([CURL_SET_COMPILER_WARNING_OPTS], + CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [unused]) + fi + # ++ dnl Only clang 2.7 or later ++ if test "$compiler_num" -ge "207"; then ++ CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [address]) ++ CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [attributes]) ++ CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [bad-function-cast]) ++ CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [conversion]) ++ CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [div-by-zero format-security]) ++ CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [empty-body]) ++ CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [missing-field-initializers]) ++ CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [missing-noreturn]) ++ CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [old-style-definition]) ++ CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [redundant-decls]) ++ # CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [switch-enum]) # Not used because this basically disallows default case ++ CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [type-limits]) ++ # CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [unused-macros]) # Not practical ++ CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [unreachable-code unused-parameter]) ++ fi ++ # + dnl Only clang 2.8 or later + if test "$compiler_num" -ge "208"; then ++ CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [ignored-qualifiers]) + CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [vla]) + fi + # + dnl Only clang 2.9 or later + if test "$compiler_num" -ge "209"; then ++ CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [sign-conversion]) ++ tmp_CFLAGS="$tmp_CFLAGS -Wno-error=sign-conversion" # FIXME + CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [shift-sign-overflow]) ++ # CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [padded]) # Not used because we cannot change public structs + fi + # +- dnl Only clang 3.0 or later (possibly earlier) ++ dnl Only clang 3.0 or later + if test "$compiler_num" -ge "300"; then +- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [bad-function-cast]) +- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [conversion]) +- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [empty-body]) +- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [ignored-qualifiers]) +- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [type-limits]) +- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [no-sign-conversion]) ++ CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [language-extension-token]) ++ tmp_CFLAGS="$tmp_CFLAGS -Wformat=2" + fi + # + dnl Only clang 3.2 or later + if test "$compiler_num" -ge "302"; then + CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [enum-conversion]) ++ CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [sometimes-uninitialized]) + case $host_os in + cygwin* | mingw*) + dnl skip missing-variable-declarations warnings for cygwin and +@@ -2297,9 +2325,16 @@ m4trace:m4/curl-compilers.m4:764: -1- AC_DEFUN([CURL_SET_COMPILER_WARNING_OPTS], + # + dnl Only clang 3.4 or later + if test "$compiler_num" -ge "304"; then ++ CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [header-guard]) + CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [unused-const-variable]) + fi + # ++ dnl Only clang 3.5 or later ++ if test "$compiler_num" -ge "305"; then ++ CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [pragmas]) ++ CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [unreachable-code-break]) ++ fi ++ # + dnl Only clang 3.6 or later + if test "$compiler_num" -ge "306"; then + CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [double-promotion]) +@@ -2319,6 +2354,10 @@ m4trace:m4/curl-compilers.m4:764: -1- AC_DEFUN([CURL_SET_COMPILER_WARNING_OPTS], + CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [assign-enum]) + CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [extra-semi-stmt]) + fi ++ dnl clang 10 or later ++ if test "$compiler_num" -ge "1000"; then ++ tmp_CFLAGS="$tmp_CFLAGS -Wimplicit-fallthrough" # we have silencing markup for clang 10.0 and above only ++ fi + fi + dnl Disable pointer to bool conversion warnings since they cause + dnl lib/securetransp.c cause several warnings for checks we want. +@@ -2337,7 +2376,6 @@ m4trace:m4/curl-compilers.m4:764: -1- AC_DEFUN([CURL_SET_COMPILER_WARNING_OPTS], + GNU_C) + # + if test "$want_warnings" = "yes"; then +- tmp_CFLAGS="$tmp_CFLAGS -std=gnu89" + # + dnl Do not enable -pedantic when cross-compiling with a gcc older + dnl than 3.0, to avoid warnings from third party system headers. +@@ -2418,6 +2456,26 @@ m4trace:m4/curl-compilers.m4:764: -1- AC_DEFUN([CURL_SET_COMPILER_WARNING_OPTS], + tmp_CFLAGS="$tmp_CFLAGS -Wstrict-aliasing=3" + fi + # ++ dnl Only gcc 4.1 or later ++ if test "$compiler_num" -ge "401"; then ++ CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [attributes]) ++ CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [div-by-zero format-security]) ++ CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [missing-field-initializers]) ++ case $host in ++ *-*-msys*) ++ ;; ++ *) ++ CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [missing-noreturn]) # Seen to clash with libtool-generated stub code ++ ;; ++ esac ++ CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [unreachable-code unused-parameter]) ++ # CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [padded]) # Not used because we cannot change public structs ++ CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [pragmas]) ++ CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [redundant-decls]) ++ # CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [switch-enum]) # Not used because this basically disallows default case ++ # CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [unused-macros]) # Not practical ++ fi ++ # + dnl Only gcc 4.2 or later + if test "$compiler_num" -ge "402"; then + CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [cast-align]) +@@ -2425,11 +2483,13 @@ m4trace:m4/curl-compilers.m4:764: -1- AC_DEFUN([CURL_SET_COMPILER_WARNING_OPTS], + # + dnl Only gcc 4.3 or later + if test "$compiler_num" -ge "403"; then ++ CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [address]) + CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [type-limits old-style-declaration]) + CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [missing-parameter-type empty-body]) + CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [clobbered ignored-qualifiers]) +- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [conversion]) +- tmp_CFLAGS="$tmp_CFLAGS -Wno-sign-conversion" ++ CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [conversion trampolines]) ++ CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [sign-conversion]) ++ tmp_CFLAGS="$tmp_CFLAGS -Wno-error=sign-conversion" # FIXME + CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [vla]) + dnl required for -Warray-bounds, included in -Wall + tmp_CFLAGS="$tmp_CFLAGS -ftree-vrp" +@@ -2438,7 +2498,7 @@ m4trace:m4/curl-compilers.m4:764: -1- AC_DEFUN([CURL_SET_COMPILER_WARNING_OPTS], + dnl Only gcc 4.5 or later + if test "$compiler_num" -ge "405"; then + dnl Only windows targets +- if test "$curl_cv_have_def__WIN32" = "yes"; then ++ if test "$curl_cv_native_windows" = "yes"; then + tmp_CFLAGS="$tmp_CFLAGS -Wno-pedantic-ms-format" + fi + fi +@@ -2475,10 +2535,7 @@ m4trace:m4/curl-compilers.m4:764: -1- AC_DEFUN([CURL_SET_COMPILER_WARNING_OPTS], + CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [alloc-zero]) + tmp_CFLAGS="$tmp_CFLAGS -Wformat-overflow=2" + tmp_CFLAGS="$tmp_CFLAGS -Wformat-truncation=2" +- if test "$compiler_num" -lt "1200"; then +- dnl gcc 12 doesn't acknowledge our comment markups +- tmp_CFLAGS="$tmp_CFLAGS -Wimplicit-fallthrough=4" +- fi ++ tmp_CFLAGS="$tmp_CFLAGS -Wimplicit-fallthrough" + fi + # + dnl Only gcc 10 or later +@@ -2565,17 +2622,6 @@ m4trace:m4/curl-compilers.m4:764: -1- AC_DEFUN([CURL_SET_COMPILER_WARNING_OPTS], + tmp_CFLAGS="$tmp_CFLAGS" + ;; + # +- LCC) +- # +- if test "$want_warnings" = "yes"; then +- dnl Highest warning level is double -A, next is single -A. +- dnl Due to the big number of warnings these trigger on third +- dnl party header files it is impractical for us to use any of +- dnl them here. If you want them simply define it in CPPFLAGS. +- tmp_CFLAGS="$tmp_CFLAGS" +- fi +- ;; +- # + SGI_MIPS_C) + # + if test "$want_warnings" = "yes"; then +@@ -2640,7 +2686,7 @@ m4trace:m4/curl-compilers.m4:764: -1- AC_DEFUN([CURL_SET_COMPILER_WARNING_OPTS], + # + fi + ]) +-m4trace:m4/curl-compilers.m4:1190: -1- AC_DEFUN([CURL_SHFUNC_SQUEEZE], [ ++m4trace:m4/curl-compilers.m4:1230: -1- AC_DEFUN([CURL_SHFUNC_SQUEEZE], [ + squeeze() { + _sqz_result="" + eval _sqz_input=\[$][$]1 +@@ -2655,7 +2701,7 @@ squeeze() { + return 0 + } + ]) +-m4trace:m4/curl-compilers.m4:1216: -1- AC_DEFUN([CURL_CHECK_CURLDEBUG], [ ++m4trace:m4/curl-compilers.m4:1256: -1- AC_DEFUN([CURL_CHECK_CURLDEBUG], [ + AC_REQUIRE([XC_LIBTOOL])dnl + AC_REQUIRE([CURL_SHFUNC_SQUEEZE])dnl + supports_curldebug="unknown" +@@ -2689,7 +2735,7 @@ m4trace:m4/curl-compilers.m4:1216: -1- AC_DEFUN([CURL_CHECK_CURLDEBUG], [ + fi + fi + ]) +-m4trace:m4/curl-compilers.m4:1259: -1- AC_DEFUN([CURL_CHECK_COMPILER_HALT_ON_ERROR], [ ++m4trace:m4/curl-compilers.m4:1299: -1- AC_DEFUN([CURL_CHECK_COMPILER_HALT_ON_ERROR], [ + AC_MSG_CHECKING([if compiler halts on compilation errors]) + AC_COMPILE_IFELSE([ + AC_LANG_PROGRAM([[ +@@ -2703,7 +2749,7 @@ m4trace:m4/curl-compilers.m4:1259: -1- AC_DEFUN([CURL_CHECK_COMPILER_HALT_ON_ERR + AC_MSG_RESULT([yes]) + ]) + ]) +-m4trace:m4/curl-compilers.m4:1282: -1- AC_DEFUN([CURL_CHECK_COMPILER_ARRAY_SIZE_NEGATIVE], [ ++m4trace:m4/curl-compilers.m4:1322: -1- AC_DEFUN([CURL_CHECK_COMPILER_ARRAY_SIZE_NEGATIVE], [ + AC_REQUIRE([CURL_CHECK_COMPILER_HALT_ON_ERROR])dnl + AC_MSG_CHECKING([if compiler halts on negative sized arrays]) + AC_COMPILE_IFELSE([ +@@ -2719,7 +2765,7 @@ m4trace:m4/curl-compilers.m4:1282: -1- AC_DEFUN([CURL_CHECK_COMPILER_ARRAY_SIZE_ + AC_MSG_RESULT([yes]) + ]) + ]) +-m4trace:m4/curl-compilers.m4:1307: -1- AC_DEFUN([CURL_CHECK_COMPILER_STRUCT_MEMBER_SIZE], [ ++m4trace:m4/curl-compilers.m4:1347: -1- AC_DEFUN([CURL_CHECK_COMPILER_STRUCT_MEMBER_SIZE], [ + AC_REQUIRE([CURL_CHECK_COMPILER_ARRAY_SIZE_NEGATIVE])dnl + AC_MSG_CHECKING([if compiler struct member size checking works]) + tst_compiler_check_one_works="unknown" +@@ -2772,7 +2818,7 @@ m4trace:m4/curl-compilers.m4:1307: -1- AC_DEFUN([CURL_CHECK_COMPILER_STRUCT_MEMB + AC_MSG_ERROR([compiler fails struct member size checking.]) + fi + ]) +-m4trace:m4/curl-compilers.m4:1368: -1- AC_DEFUN([CURL_CHECK_COMPILER_SYMBOL_HIDING], [ ++m4trace:m4/curl-compilers.m4:1408: -1- AC_DEFUN([CURL_CHECK_COMPILER_SYMBOL_HIDING], [ + AC_REQUIRE([CURL_CHECK_COMPILER])dnl + AC_BEFORE([$0],[CURL_CONFIGURE_SYMBOL_HIDING])dnl + AC_MSG_CHECKING([if compiler supports hiding library internal symbols]) +@@ -2872,7 +2918,7 @@ m4trace:m4/curl-compilers.m4:1368: -1- AC_DEFUN([CURL_CHECK_COMPILER_SYMBOL_HIDI + AC_MSG_RESULT([no]) + fi + ]) +-m4trace:m4/curl-compilers.m4:1477: -1- AC_DEFUN([CURL_CHECK_COMPILER_PROTOTYPE_MISMATCH], [ ++m4trace:m4/curl-compilers.m4:1517: -1- AC_DEFUN([CURL_CHECK_COMPILER_PROTOTYPE_MISMATCH], [ + AC_REQUIRE([CURL_CHECK_COMPILER_HALT_ON_ERROR])dnl + AC_MSG_CHECKING([if compiler halts on function prototype mismatch]) + AC_COMPILE_IFELSE([ +@@ -2899,7 +2945,7 @@ m4trace:m4/curl-compilers.m4:1477: -1- AC_DEFUN([CURL_CHECK_COMPILER_PROTOTYPE_M + AC_MSG_RESULT([yes]) + ]) + ]) +-m4trace:m4/curl-compilers.m4:1514: -1- AC_DEFUN([CURL_VAR_MATCH], [ ++m4trace:m4/curl-compilers.m4:1554: -1- AC_DEFUN([CURL_VAR_MATCH], [ + ac_var_match_word="no" + for word1 in $[$1]; do + for word2 in [$2]; do +@@ -2909,7 +2955,7 @@ m4trace:m4/curl-compilers.m4:1514: -1- AC_DEFUN([CURL_VAR_MATCH], [ + done + done + ]) +-m4trace:m4/curl-compilers.m4:1533: -1- AC_DEFUN([CURL_VAR_MATCH_IFELSE], [ ++m4trace:m4/curl-compilers.m4:1573: -1- AC_DEFUN([CURL_VAR_MATCH_IFELSE], [ + CURL_VAR_MATCH([$1],[$2]) + if test "$ac_var_match_word" = "yes"; then + ifelse($3,,:,[$3]) +@@ -2917,7 +2963,7 @@ m4trace:m4/curl-compilers.m4:1533: -1- AC_DEFUN([CURL_VAR_MATCH_IFELSE], [ + $4]) + fi + ]) +-m4trace:m4/curl-compilers.m4:1549: -1- AC_DEFUN([CURL_VAR_STRIP], [ ++m4trace:m4/curl-compilers.m4:1589: -1- AC_DEFUN([CURL_VAR_STRIP], [ + AC_REQUIRE([CURL_SHFUNC_SQUEEZE])dnl + ac_var_stripped="" + for word1 in $[$1]; do +@@ -2935,7 +2981,7 @@ m4trace:m4/curl-compilers.m4:1549: -1- AC_DEFUN([CURL_VAR_STRIP], [ + [$1]="$ac_var_stripped" + squeeze [$1] + ]) +-m4trace:m4/curl-compilers.m4:1575: -1- AC_DEFUN([CURL_ADD_COMPILER_WARNINGS], [ ++m4trace:m4/curl-compilers.m4:1615: -1- AC_DEFUN([CURL_ADD_COMPILER_WARNINGS], [ + AC_REQUIRE([CURL_SHFUNC_SQUEEZE])dnl + ac_var_added_warnings="" + for warning in [$2]; do +@@ -3443,7 +3489,7 @@ curl_includes_arpa_inet="\ + #ifdef HAVE_ARPA_INET_H + # include + #endif +-#ifdef HAVE_WINSOCK2_H ++#ifdef _WIN32 + #include + #include + #endif +@@ -3489,29 +3535,7 @@ curl_includes_ifaddrs="\ + sys/types.h sys/socket.h netinet/in.h ifaddrs.h, + [], [], [$curl_includes_ifaddrs]) + ]) +-m4trace:m4/curl-functions.m4:116: -1- AC_DEFUN([CURL_INCLUDES_INTTYPES], [ +-curl_includes_inttypes="\ +-/* includes start */ +-#ifdef HAVE_SYS_TYPES_H +-# include +-#endif +-#ifdef HAVE_STDINT_H +-# include +-#endif +-#ifdef HAVE_INTTYPES_H +-# include +-#endif +-/* includes end */" +- case $host_os in +- irix*) +- ac_cv_header_stdint_h="no" +- ;; +- esac +- AC_CHECK_HEADERS( +- sys/types.h stdint.h inttypes.h, +- [], [], [$curl_includes_inttypes]) +-]) +-m4trace:m4/curl-functions.m4:145: -1- AC_DEFUN([CURL_INCLUDES_LIBGEN], [ ++m4trace:m4/curl-functions.m4:116: -1- AC_DEFUN([CURL_INCLUDES_LIBGEN], [ + curl_includes_libgen="\ + /* includes start */ + #ifdef HAVE_SYS_TYPES_H +@@ -3525,7 +3549,7 @@ curl_includes_libgen="\ + sys/types.h libgen.h, + [], [], [$curl_includes_libgen]) + ]) +-m4trace:m4/curl-functions.m4:166: -1- AC_DEFUN([CURL_INCLUDES_NETDB], [ ++m4trace:m4/curl-functions.m4:137: -1- AC_DEFUN([CURL_INCLUDES_NETDB], [ + curl_includes_netdb="\ + /* includes start */ + #ifdef HAVE_SYS_TYPES_H +@@ -3539,7 +3563,7 @@ curl_includes_netdb="\ + sys/types.h netdb.h, + [], [], [$curl_includes_netdb]) + ]) +-m4trace:m4/curl-functions.m4:187: -1- AC_DEFUN([CURL_INCLUDES_POLL], [ ++m4trace:m4/curl-functions.m4:158: -1- AC_DEFUN([CURL_INCLUDES_POLL], [ + curl_includes_poll="\ + /* includes start */ + #ifdef HAVE_SYS_TYPES_H +@@ -3556,7 +3580,7 @@ curl_includes_poll="\ + sys/types.h poll.h sys/poll.h, + [], [], [$curl_includes_poll]) + ]) +-m4trace:m4/curl-functions.m4:211: -1- AC_DEFUN([CURL_INCLUDES_SETJMP], [ ++m4trace:m4/curl-functions.m4:182: -1- AC_DEFUN([CURL_INCLUDES_SETJMP], [ + curl_includes_setjmp="\ + /* includes start */ + #ifdef HAVE_SYS_TYPES_H +@@ -3568,7 +3592,7 @@ curl_includes_setjmp="\ + sys/types.h, + [], [], [$curl_includes_setjmp]) + ]) +-m4trace:m4/curl-functions.m4:230: -1- AC_DEFUN([CURL_INCLUDES_SIGNAL], [ ++m4trace:m4/curl-functions.m4:201: -1- AC_DEFUN([CURL_INCLUDES_SIGNAL], [ + curl_includes_signal="\ + /* includes start */ + #ifdef HAVE_SYS_TYPES_H +@@ -3580,7 +3604,7 @@ curl_includes_signal="\ + sys/types.h, + [], [], [$curl_includes_signal]) + ]) +-m4trace:m4/curl-functions.m4:249: -1- AC_DEFUN([CURL_INCLUDES_SOCKET], [ ++m4trace:m4/curl-functions.m4:220: -1- AC_DEFUN([CURL_INCLUDES_SOCKET], [ + curl_includes_socket="\ + /* includes start */ + #ifdef HAVE_SYS_TYPES_H +@@ -3594,7 +3618,7 @@ curl_includes_socket="\ + sys/types.h socket.h, + [], [], [$curl_includes_socket]) + ]) +-m4trace:m4/curl-functions.m4:270: -1- AC_DEFUN([CURL_INCLUDES_STDLIB], [ ++m4trace:m4/curl-functions.m4:241: -1- AC_DEFUN([CURL_INCLUDES_STDLIB], [ + curl_includes_stdlib="\ + /* includes start */ + #ifdef HAVE_SYS_TYPES_H +@@ -3606,7 +3630,7 @@ curl_includes_stdlib="\ + sys/types.h, + [], [], [$curl_includes_stdlib]) + ]) +-m4trace:m4/curl-functions.m4:289: -1- AC_DEFUN([CURL_INCLUDES_STRING], [ ++m4trace:m4/curl-functions.m4:260: -1- AC_DEFUN([CURL_INCLUDES_STRING], [ + curl_includes_string="\ + /* includes start */ + #ifdef HAVE_SYS_TYPES_H +@@ -3621,7 +3645,7 @@ curl_includes_string="\ + sys/types.h strings.h, + [], [], [$curl_includes_string]) + ]) +-m4trace:m4/curl-functions.m4:311: -1- AC_DEFUN([CURL_INCLUDES_STROPTS], [ ++m4trace:m4/curl-functions.m4:282: -1- AC_DEFUN([CURL_INCLUDES_STROPTS], [ + curl_includes_stropts="\ + /* includes start */ + #ifdef HAVE_SYS_TYPES_H +@@ -3644,7 +3668,7 @@ curl_includes_stropts="\ + sys/types.h unistd.h sys/socket.h sys/ioctl.h stropts.h, + [], [], [$curl_includes_stropts]) + ]) +-m4trace:m4/curl-functions.m4:341: -1- AC_DEFUN([CURL_INCLUDES_SYS_SOCKET], [ ++m4trace:m4/curl-functions.m4:312: -1- AC_DEFUN([CURL_INCLUDES_SYS_SOCKET], [ + curl_includes_sys_socket="\ + /* includes start */ + #ifdef HAVE_SYS_TYPES_H +@@ -3658,7 +3682,7 @@ curl_includes_sys_socket="\ + sys/types.h sys/socket.h, + [], [], [$curl_includes_sys_socket]) + ]) +-m4trace:m4/curl-functions.m4:362: -1- AC_DEFUN([CURL_INCLUDES_SYS_TYPES], [ ++m4trace:m4/curl-functions.m4:333: -1- AC_DEFUN([CURL_INCLUDES_SYS_TYPES], [ + curl_includes_sys_types="\ + /* includes start */ + #ifdef HAVE_SYS_TYPES_H +@@ -3669,7 +3693,7 @@ curl_includes_sys_types="\ + sys/types.h, + [], [], [$curl_includes_sys_types]) + ]) +-m4trace:m4/curl-functions.m4:380: -1- AC_DEFUN([CURL_INCLUDES_SYS_XATTR], [ ++m4trace:m4/curl-functions.m4:351: -1- AC_DEFUN([CURL_INCLUDES_SYS_XATTR], [ + curl_includes_sys_xattr="\ + /* includes start */ + #ifdef HAVE_SYS_TYPES_H +@@ -3683,7 +3707,7 @@ curl_includes_sys_xattr="\ + sys/types.h sys/xattr.h, + [], [], [$curl_includes_sys_xattr]) + ]) +-m4trace:m4/curl-functions.m4:400: -1- AC_DEFUN([CURL_INCLUDES_TIME], [ ++m4trace:m4/curl-functions.m4:371: -1- AC_DEFUN([CURL_INCLUDES_TIME], [ + curl_includes_time="\ + /* includes start */ + #ifdef HAVE_SYS_TYPES_H +@@ -3698,7 +3722,7 @@ curl_includes_time="\ + sys/types.h sys/time.h, + [], [], [$curl_includes_time]) + ]) +-m4trace:m4/curl-functions.m4:422: -1- AC_DEFUN([CURL_INCLUDES_UNISTD], [ ++m4trace:m4/curl-functions.m4:393: -1- AC_DEFUN([CURL_INCLUDES_UNISTD], [ + curl_includes_unistd="\ + /* includes start */ + #ifdef HAVE_SYS_TYPES_H +@@ -3712,43 +3736,32 @@ curl_includes_unistd="\ + sys/types.h unistd.h, + [], [], [$curl_includes_unistd]) + ]) +-m4trace:m4/curl-functions.m4:443: -1- AC_DEFUN([CURL_INCLUDES_WINSOCK2], [ ++m4trace:m4/curl-functions.m4:414: -1- AC_DEFUN([CURL_INCLUDES_WINSOCK2], [ + curl_includes_winsock2="\ + /* includes start */ +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + # ifndef WIN32_LEAN_AND_MEAN + # define WIN32_LEAN_AND_MEAN + # endif +-# include +-# ifdef HAVE_WINSOCK2_H +-# include +-# endif ++# include + #endif + /* includes end */" +- CURL_CHECK_HEADER_WINDOWS +- CURL_CHECK_HEADER_WINSOCK2 ++ CURL_CHECK_NATIVE_WINDOWS + ]) +-m4trace:m4/curl-functions.m4:466: -1- AC_DEFUN([CURL_INCLUDES_WS2TCPIP], [ ++m4trace:m4/curl-functions.m4:433: -1- AC_DEFUN([CURL_INCLUDES_WS2TCPIP], [ + curl_includes_ws2tcpip="\ + /* includes start */ +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + # ifndef WIN32_LEAN_AND_MEAN + # define WIN32_LEAN_AND_MEAN + # endif +-# include +-# ifdef HAVE_WINSOCK2_H +-# include +-# ifdef HAVE_WS2TCPIP_H +-# include +-# endif +-# endif ++# include ++# include + #endif + /* includes end */" +- CURL_CHECK_HEADER_WINDOWS +- CURL_CHECK_HEADER_WINSOCK2 +- CURL_CHECK_HEADER_WS2TCPIP ++ CURL_CHECK_NATIVE_WINDOWS + ]) +-m4trace:m4/curl-functions.m4:493: -1- AC_DEFUN([CURL_INCLUDES_BSDSOCKET], [ ++m4trace:m4/curl-functions.m4:453: -1- AC_DEFUN([CURL_INCLUDES_BSDSOCKET], [ + curl_includes_bsdsocket="\ + /* includes start */ + #if defined(HAVE_PROTO_BSDSOCKET_H) +@@ -3770,7 +3783,7 @@ struct Library *SocketBase = NULL; + proto/bsdsocket.h, + [], [], [$curl_includes_bsdsocket]) + ]) +-m4trace:m4/curl-functions.m4:521: -1- AC_DEFUN([CURL_INCLUDES_NETIF], [ ++m4trace:m4/curl-functions.m4:481: -1- AC_DEFUN([CURL_INCLUDES_NETIF], [ + curl_includes_netif="\ + /* includes start */ + #ifdef HAVE_NET_IF_H +@@ -3781,17 +3794,17 @@ curl_includes_netif="\ + net/if.h, + [], [], [$curl_includes_netif]) + ]) +-m4trace:m4/curl-functions.m4:539: -1- AC_DEFUN([CURL_PREPROCESS_CALLCONV], [ ++m4trace:m4/curl-functions.m4:499: -1- AC_DEFUN([CURL_PREPROCESS_CALLCONV], [ + curl_preprocess_callconv="\ + /* preprocess start */ +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + # define FUNCALLCONV __stdcall + #else + # define FUNCALLCONV + #endif + /* preprocess end */" + ]) +-m4trace:m4/curl-functions.m4:559: -1- AC_DEFUN([CURL_CHECK_FUNC_ALARM], [ ++m4trace:m4/curl-functions.m4:519: -1- AC_DEFUN([CURL_CHECK_FUNC_ALARM], [ + AC_REQUIRE([CURL_INCLUDES_UNISTD])dnl + # + tst_links_alarm="unknown" +@@ -3866,7 +3879,7 @@ m4trace:m4/curl-functions.m4:559: -1- AC_DEFUN([CURL_CHECK_FUNC_ALARM], [ + curl_cv_func_alarm="no" + fi + ]) +-m4trace:m4/curl-functions.m4:644: -1- AC_DEFUN([CURL_CHECK_FUNC_BASENAME], [ ++m4trace:m4/curl-functions.m4:604: -1- AC_DEFUN([CURL_CHECK_FUNC_BASENAME], [ + AC_REQUIRE([CURL_INCLUDES_STRING])dnl + AC_REQUIRE([CURL_INCLUDES_LIBGEN])dnl + AC_REQUIRE([CURL_INCLUDES_UNISTD])dnl +@@ -3947,7 +3960,7 @@ m4trace:m4/curl-functions.m4:644: -1- AC_DEFUN([CURL_CHECK_FUNC_BASENAME], [ + curl_cv_func_basename="no" + fi + ]) +-m4trace:m4/curl-functions.m4:735: -1- AC_DEFUN([CURL_CHECK_FUNC_CLOSESOCKET], [ ++m4trace:m4/curl-functions.m4:695: -1- AC_DEFUN([CURL_CHECK_FUNC_CLOSESOCKET], [ + AC_REQUIRE([CURL_INCLUDES_WINSOCK2])dnl + AC_REQUIRE([CURL_INCLUDES_SOCKET])dnl + # +@@ -4031,7 +4044,7 @@ m4trace:m4/curl-functions.m4:735: -1- AC_DEFUN([CURL_CHECK_FUNC_CLOSESOCKET], [ + curl_cv_func_closesocket="no" + fi + ]) +-m4trace:m4/curl-functions.m4:829: -1- AC_DEFUN([CURL_CHECK_FUNC_CLOSESOCKET_CAMEL], [ ++m4trace:m4/curl-functions.m4:789: -1- AC_DEFUN([CURL_CHECK_FUNC_CLOSESOCKET_CAMEL], [ + AC_REQUIRE([CURL_INCLUDES_SYS_SOCKET])dnl + AC_REQUIRE([CURL_INCLUDES_BSDSOCKET])dnl + # +@@ -4115,7 +4128,7 @@ m4trace:m4/curl-functions.m4:829: -1- AC_DEFUN([CURL_CHECK_FUNC_CLOSESOCKET_CAME + curl_cv_func_closesocket_camel="no" + fi + ]) +-m4trace:m4/curl-functions.m4:922: -1- AC_DEFUN([CURL_CHECK_FUNC_FCNTL], [ ++m4trace:m4/curl-functions.m4:882: -1- AC_DEFUN([CURL_CHECK_FUNC_FCNTL], [ + AC_REQUIRE([CURL_INCLUDES_FCNTL])dnl + # + tst_links_fcntl="unknown" +@@ -4191,7 +4204,7 @@ m4trace:m4/curl-functions.m4:922: -1- AC_DEFUN([CURL_CHECK_FUNC_FCNTL], [ + curl_cv_func_fcntl="no" + fi + ]) +-m4trace:m4/curl-functions.m4:1007: -1- AC_DEFUN([CURL_CHECK_FUNC_FCNTL_O_NONBLOCK], [ ++m4trace:m4/curl-functions.m4:967: -1- AC_DEFUN([CURL_CHECK_FUNC_FCNTL_O_NONBLOCK], [ + # + tst_compi_fcntl_o_nonblock="unknown" + tst_allow_fcntl_o_nonblock="unknown" +@@ -4245,7 +4258,7 @@ m4trace:m4/curl-functions.m4:1007: -1- AC_DEFUN([CURL_CHECK_FUNC_FCNTL_O_NONBLOC + curl_cv_func_fcntl_o_nonblock="no" + fi + ]) +-m4trace:m4/curl-functions.m4:1070: -1- AC_DEFUN([CURL_CHECK_FUNC_FGETXATTR], [ ++m4trace:m4/curl-functions.m4:1030: -1- AC_DEFUN([CURL_CHECK_FUNC_FGETXATTR], [ + AC_REQUIRE([CURL_INCLUDES_SYS_XATTR])dnl + # + tst_links_fgetxattr="unknown" +@@ -4357,7 +4370,7 @@ m4trace:m4/curl-functions.m4:1070: -1- AC_DEFUN([CURL_CHECK_FUNC_FGETXATTR], [ + curl_cv_func_fgetxattr="no" + fi + ]) +-m4trace:m4/curl-functions.m4:1192: -1- AC_DEFUN([CURL_CHECK_FUNC_FLISTXATTR], [ ++m4trace:m4/curl-functions.m4:1152: -1- AC_DEFUN([CURL_CHECK_FUNC_FLISTXATTR], [ + AC_REQUIRE([CURL_INCLUDES_SYS_XATTR])dnl + # + tst_links_flistxattr="unknown" +@@ -4469,7 +4482,7 @@ m4trace:m4/curl-functions.m4:1192: -1- AC_DEFUN([CURL_CHECK_FUNC_FLISTXATTR], [ + curl_cv_func_flistxattr="no" + fi + ]) +-m4trace:m4/curl-functions.m4:1314: -1- AC_DEFUN([CURL_CHECK_FUNC_FREEADDRINFO], [ ++m4trace:m4/curl-functions.m4:1274: -1- AC_DEFUN([CURL_CHECK_FUNC_FREEADDRINFO], [ + AC_REQUIRE([CURL_INCLUDES_WS2TCPIP])dnl + AC_REQUIRE([CURL_INCLUDES_SYS_SOCKET])dnl + AC_REQUIRE([CURL_INCLUDES_NETDB])dnl +@@ -4555,7 +4568,7 @@ m4trace:m4/curl-functions.m4:1314: -1- AC_DEFUN([CURL_CHECK_FUNC_FREEADDRINFO], + curl_cv_func_freeaddrinfo="no" + fi + ]) +-m4trace:m4/curl-functions.m4:1410: -1- AC_DEFUN([CURL_CHECK_FUNC_FREMOVEXATTR], [ ++m4trace:m4/curl-functions.m4:1370: -1- AC_DEFUN([CURL_CHECK_FUNC_FREMOVEXATTR], [ + AC_REQUIRE([CURL_INCLUDES_SYS_XATTR])dnl + # + tst_links_fremovexattr="unknown" +@@ -4667,7 +4680,7 @@ m4trace:m4/curl-functions.m4:1410: -1- AC_DEFUN([CURL_CHECK_FUNC_FREMOVEXATTR], + curl_cv_func_fremovexattr="no" + fi + ]) +-m4trace:m4/curl-functions.m4:1532: -1- AC_DEFUN([CURL_CHECK_FUNC_FSETXATTR], [ ++m4trace:m4/curl-functions.m4:1492: -1- AC_DEFUN([CURL_CHECK_FUNC_FSETXATTR], [ + AC_REQUIRE([CURL_INCLUDES_SYS_XATTR])dnl + # + tst_links_fsetxattr="unknown" +@@ -4779,7 +4792,7 @@ m4trace:m4/curl-functions.m4:1532: -1- AC_DEFUN([CURL_CHECK_FUNC_FSETXATTR], [ + curl_cv_func_fsetxattr="no" + fi + ]) +-m4trace:m4/curl-functions.m4:1654: -1- AC_DEFUN([CURL_CHECK_FUNC_FTRUNCATE], [ ++m4trace:m4/curl-functions.m4:1614: -1- AC_DEFUN([CURL_CHECK_FUNC_FTRUNCATE], [ + AC_REQUIRE([CURL_INCLUDES_UNISTD])dnl + # + tst_links_ftruncate="unknown" +@@ -4854,7 +4867,7 @@ m4trace:m4/curl-functions.m4:1654: -1- AC_DEFUN([CURL_CHECK_FUNC_FTRUNCATE], [ + curl_cv_func_ftruncate="no" + fi + ]) +-m4trace:m4/curl-functions.m4:1742: -1- AC_DEFUN([CURL_CHECK_FUNC_GETADDRINFO], [ ++m4trace:m4/curl-functions.m4:1702: -1- AC_DEFUN([CURL_CHECK_FUNC_GETADDRINFO], [ + AC_REQUIRE([CURL_INCLUDES_WS2TCPIP])dnl + AC_REQUIRE([CURL_INCLUDES_STDLIB])dnl + AC_REQUIRE([CURL_INCLUDES_STRING])dnl +@@ -4938,10 +4951,10 @@ m4trace:m4/curl-functions.m4:1742: -1- AC_DEFUN([CURL_CHECK_FUNC_GETADDRINFO], [ + struct addrinfo *ai = 0; + int error; + +- #ifdef HAVE_WINSOCK2_H ++ #ifdef _WIN32 + WSADATA wsa; +- if (WSAStartup(MAKEWORD(2,2), &wsa)) +- exit(2); ++ if(WSAStartup(MAKEWORD(2, 2), &wsa)) ++ exit(2); + #endif + + memset(&hints, 0, sizeof(hints)); +@@ -5109,7 +5122,7 @@ m4trace:m4/curl-functions.m4:1742: -1- AC_DEFUN([CURL_CHECK_FUNC_GETADDRINFO], [ + fi + fi + ]) +-m4trace:m4/curl-functions.m4:2007: -1- AC_DEFUN([CURL_CHECK_FUNC_GETHOSTBYNAME], [ ++m4trace:m4/curl-functions.m4:1967: -1- AC_DEFUN([CURL_CHECK_FUNC_GETHOSTBYNAME], [ + AC_REQUIRE([CURL_INCLUDES_WINSOCK2])dnl + AC_REQUIRE([CURL_INCLUDES_NETDB])dnl + # +@@ -5196,7 +5209,7 @@ m4trace:m4/curl-functions.m4:2007: -1- AC_DEFUN([CURL_CHECK_FUNC_GETHOSTBYNAME], + curl_cv_func_gethostbyname="no" + fi + ]) +-m4trace:m4/curl-functions.m4:2104: -1- AC_DEFUN([CURL_CHECK_FUNC_GETHOSTBYNAME_R], [ ++m4trace:m4/curl-functions.m4:2064: -1- AC_DEFUN([CURL_CHECK_FUNC_GETHOSTBYNAME_R], [ + AC_REQUIRE([CURL_INCLUDES_NETDB])dnl + # + tst_links_gethostbyname_r="unknown" +@@ -5331,7 +5344,7 @@ m4trace:m4/curl-functions.m4:2104: -1- AC_DEFUN([CURL_CHECK_FUNC_GETHOSTBYNAME_R + curl_cv_func_gethostbyname_r="no" + fi + ]) +-m4trace:m4/curl-functions.m4:2249: -1- AC_DEFUN([CURL_CHECK_FUNC_GETHOSTNAME], [ ++m4trace:m4/curl-functions.m4:2209: -1- AC_DEFUN([CURL_CHECK_FUNC_GETHOSTNAME], [ + AC_REQUIRE([CURL_INCLUDES_WINSOCK2])dnl + AC_REQUIRE([CURL_INCLUDES_BSDSOCKET])dnl + AC_REQUIRE([CURL_INCLUDES_UNISTD])dnl +@@ -5450,7 +5463,7 @@ m4trace:m4/curl-functions.m4:2249: -1- AC_DEFUN([CURL_CHECK_FUNC_GETHOSTNAME], [ + curl_cv_func_gethostname="no" + fi + ]) +-m4trace:m4/curl-functions.m4:2377: -1- AC_DEFUN([CURL_CHECK_FUNC_GETPEERNAME], [ ++m4trace:m4/curl-functions.m4:2337: -1- AC_DEFUN([CURL_CHECK_FUNC_GETPEERNAME], [ + AC_REQUIRE([CURL_INCLUDES_WINSOCK2])dnl + AC_REQUIRE([CURL_INCLUDES_UNISTD])dnl + AC_REQUIRE([CURL_PREPROCESS_CALLCONV])dnl +@@ -5539,7 +5552,7 @@ m4trace:m4/curl-functions.m4:2377: -1- AC_DEFUN([CURL_CHECK_FUNC_GETPEERNAME], [ + curl_cv_func_getpeername="no" + fi + ]) +-m4trace:m4/curl-functions.m4:2475: -1- AC_DEFUN([CURL_CHECK_FUNC_GETSOCKNAME], [ ++m4trace:m4/curl-functions.m4:2435: -1- AC_DEFUN([CURL_CHECK_FUNC_GETSOCKNAME], [ + AC_REQUIRE([CURL_INCLUDES_WINSOCK2])dnl + AC_REQUIRE([CURL_INCLUDES_UNISTD])dnl + AC_REQUIRE([CURL_PREPROCESS_CALLCONV])dnl +@@ -5628,7 +5641,7 @@ m4trace:m4/curl-functions.m4:2475: -1- AC_DEFUN([CURL_CHECK_FUNC_GETSOCKNAME], [ + curl_cv_func_getsockname="no" + fi + ]) +-m4trace:m4/curl-functions.m4:2573: -1- AC_DEFUN([CURL_CHECK_FUNC_IF_NAMETOINDEX], [ ++m4trace:m4/curl-functions.m4:2533: -1- AC_DEFUN([CURL_CHECK_FUNC_IF_NAMETOINDEX], [ + AC_REQUIRE([CURL_INCLUDES_WINSOCK2])dnl + AC_REQUIRE([CURL_INCLUDES_NETIF])dnl + AC_REQUIRE([CURL_PREPROCESS_CALLCONV])dnl +@@ -5714,7 +5727,7 @@ m4trace:m4/curl-functions.m4:2573: -1- AC_DEFUN([CURL_CHECK_FUNC_IF_NAMETOINDEX] + curl_cv_func_if_nametoindex="no" + fi + ]) +-m4trace:m4/curl-functions.m4:2669: -1- AC_DEFUN([CURL_CHECK_FUNC_GETIFADDRS], [ ++m4trace:m4/curl-functions.m4:2629: -1- AC_DEFUN([CURL_CHECK_FUNC_GETIFADDRS], [ + AC_REQUIRE([CURL_INCLUDES_STDLIB])dnl + AC_REQUIRE([CURL_INCLUDES_IFADDRS])dnl + # +@@ -5820,7 +5833,7 @@ m4trace:m4/curl-functions.m4:2669: -1- AC_DEFUN([CURL_CHECK_FUNC_GETIFADDRS], [ + curl_cv_func_getifaddrs="no" + fi + ]) +-m4trace:m4/curl-functions.m4:2785: -1- AC_DEFUN([CURL_CHECK_FUNC_GETXATTR], [ ++m4trace:m4/curl-functions.m4:2745: -1- AC_DEFUN([CURL_CHECK_FUNC_GETXATTR], [ + AC_REQUIRE([CURL_INCLUDES_SYS_XATTR])dnl + # + tst_links_getxattr="unknown" +@@ -5932,7 +5945,7 @@ m4trace:m4/curl-functions.m4:2785: -1- AC_DEFUN([CURL_CHECK_FUNC_GETXATTR], [ + curl_cv_func_getxattr="no" + fi + ]) +-m4trace:m4/curl-functions.m4:2907: -1- AC_DEFUN([CURL_CHECK_FUNC_GMTIME_R], [ ++m4trace:m4/curl-functions.m4:2867: -1- AC_DEFUN([CURL_CHECK_FUNC_GMTIME_R], [ + AC_REQUIRE([CURL_INCLUDES_STDLIB])dnl + AC_REQUIRE([CURL_INCLUDES_TIME])dnl + # +@@ -6038,7 +6051,7 @@ m4trace:m4/curl-functions.m4:2907: -1- AC_DEFUN([CURL_CHECK_FUNC_GMTIME_R], [ + curl_cv_func_gmtime_r="no" + fi + ]) +-m4trace:m4/curl-functions.m4:3023: -1- AC_DEFUN([CURL_CHECK_FUNC_INET_NTOP], [ ++m4trace:m4/curl-functions.m4:2983: -1- AC_DEFUN([CURL_CHECK_FUNC_INET_NTOP], [ + AC_REQUIRE([CURL_INCLUDES_STDLIB])dnl + AC_REQUIRE([CURL_INCLUDES_ARPA_INET])dnl + AC_REQUIRE([CURL_INCLUDES_STRING])dnl +@@ -6187,7 +6200,7 @@ m4trace:m4/curl-functions.m4:3023: -1- AC_DEFUN([CURL_CHECK_FUNC_INET_NTOP], [ + curl_cv_func_inet_ntop="no" + fi + ]) +-m4trace:m4/curl-functions.m4:3182: -1- AC_DEFUN([CURL_CHECK_FUNC_INET_PTON], [ ++m4trace:m4/curl-functions.m4:3142: -1- AC_DEFUN([CURL_CHECK_FUNC_INET_PTON], [ + AC_REQUIRE([CURL_INCLUDES_STDLIB])dnl + AC_REQUIRE([CURL_INCLUDES_ARPA_INET])dnl + AC_REQUIRE([CURL_INCLUDES_STRING])dnl +@@ -6329,7 +6342,7 @@ m4trace:m4/curl-functions.m4:3182: -1- AC_DEFUN([CURL_CHECK_FUNC_INET_PTON], [ + curl_cv_func_inet_pton="no" + fi + ]) +-m4trace:m4/curl-functions.m4:3334: -1- AC_DEFUN([CURL_CHECK_FUNC_IOCTL], [ ++m4trace:m4/curl-functions.m4:3294: -1- AC_DEFUN([CURL_CHECK_FUNC_IOCTL], [ + AC_REQUIRE([CURL_INCLUDES_STROPTS])dnl + # + tst_links_ioctl="unknown" +@@ -6406,7 +6419,7 @@ m4trace:m4/curl-functions.m4:3334: -1- AC_DEFUN([CURL_CHECK_FUNC_IOCTL], [ + curl_cv_func_ioctl="no" + fi + ]) +-m4trace:m4/curl-functions.m4:3420: -1- AC_DEFUN([CURL_CHECK_FUNC_IOCTL_FIONBIO], [ ++m4trace:m4/curl-functions.m4:3380: -1- AC_DEFUN([CURL_CHECK_FUNC_IOCTL_FIONBIO], [ + # + tst_compi_ioctl_fionbio="unknown" + tst_allow_ioctl_fionbio="unknown" +@@ -6453,7 +6466,7 @@ m4trace:m4/curl-functions.m4:3420: -1- AC_DEFUN([CURL_CHECK_FUNC_IOCTL_FIONBIO], + curl_cv_func_ioctl_fionbio="no" + fi + ]) +-m4trace:m4/curl-functions.m4:3476: -1- AC_DEFUN([CURL_CHECK_FUNC_IOCTL_SIOCGIFADDR], [ ++m4trace:m4/curl-functions.m4:3436: -1- AC_DEFUN([CURL_CHECK_FUNC_IOCTL_SIOCGIFADDR], [ + # + tst_compi_ioctl_siocgifaddr="unknown" + tst_allow_ioctl_siocgifaddr="unknown" +@@ -6501,7 +6514,7 @@ m4trace:m4/curl-functions.m4:3476: -1- AC_DEFUN([CURL_CHECK_FUNC_IOCTL_SIOCGIFAD + curl_cv_func_ioctl_siocgifaddr="no" + fi + ]) +-m4trace:m4/curl-functions.m4:3534: -1- AC_DEFUN([CURL_CHECK_FUNC_IOCTLSOCKET], [ ++m4trace:m4/curl-functions.m4:3494: -1- AC_DEFUN([CURL_CHECK_FUNC_IOCTLSOCKET], [ + AC_REQUIRE([CURL_INCLUDES_WINSOCK2])dnl + # + tst_links_ioctlsocket="unknown" +@@ -6582,7 +6595,7 @@ m4trace:m4/curl-functions.m4:3534: -1- AC_DEFUN([CURL_CHECK_FUNC_IOCTLSOCKET], [ + curl_cv_func_ioctlsocket="no" + fi + ]) +-m4trace:m4/curl-functions.m4:3624: -1- AC_DEFUN([CURL_CHECK_FUNC_IOCTLSOCKET_FIONBIO], [ ++m4trace:m4/curl-functions.m4:3584: -1- AC_DEFUN([CURL_CHECK_FUNC_IOCTLSOCKET_FIONBIO], [ + # + tst_compi_ioctlsocket_fionbio="unknown" + tst_allow_ioctlsocket_fionbio="unknown" +@@ -6629,7 +6642,7 @@ m4trace:m4/curl-functions.m4:3624: -1- AC_DEFUN([CURL_CHECK_FUNC_IOCTLSOCKET_FIO + curl_cv_func_ioctlsocket_fionbio="no" + fi + ]) +-m4trace:m4/curl-functions.m4:3681: -1- AC_DEFUN([CURL_CHECK_FUNC_IOCTLSOCKET_CAMEL], [ ++m4trace:m4/curl-functions.m4:3641: -1- AC_DEFUN([CURL_CHECK_FUNC_IOCTLSOCKET_CAMEL], [ + AC_REQUIRE([CURL_INCLUDES_BSDSOCKET])dnl + # + tst_links_ioctlsocket_camel="unknown" +@@ -6709,7 +6722,7 @@ m4trace:m4/curl-functions.m4:3681: -1- AC_DEFUN([CURL_CHECK_FUNC_IOCTLSOCKET_CAM + curl_cv_func_ioctlsocket_camel="no" + fi + ]) +-m4trace:m4/curl-functions.m4:3769: -1- AC_DEFUN([CURL_CHECK_FUNC_IOCTLSOCKET_CAMEL_FIONBIO], [ ++m4trace:m4/curl-functions.m4:3729: -1- AC_DEFUN([CURL_CHECK_FUNC_IOCTLSOCKET_CAMEL_FIONBIO], [ + AC_REQUIRE([CURL_INCLUDES_BSDSOCKET])dnl + # + tst_compi_ioctlsocket_camel_fionbio="unknown" +@@ -6757,7 +6770,7 @@ m4trace:m4/curl-functions.m4:3769: -1- AC_DEFUN([CURL_CHECK_FUNC_IOCTLSOCKET_CAM + curl_cv_func_ioctlsocket_camel_fionbio="no" + fi + ]) +-m4trace:m4/curl-functions.m4:3827: -1- AC_DEFUN([CURL_CHECK_FUNC_LISTXATTR], [ ++m4trace:m4/curl-functions.m4:3787: -1- AC_DEFUN([CURL_CHECK_FUNC_LISTXATTR], [ + AC_REQUIRE([CURL_INCLUDES_SYS_XATTR])dnl + # + tst_links_listxattr="unknown" +@@ -6869,7 +6882,7 @@ m4trace:m4/curl-functions.m4:3827: -1- AC_DEFUN([CURL_CHECK_FUNC_LISTXATTR], [ + curl_cv_func_listxattr="no" + fi + ]) +-m4trace:m4/curl-functions.m4:3949: -1- AC_DEFUN([CURL_CHECK_FUNC_MEMRCHR], [ ++m4trace:m4/curl-functions.m4:3909: -1- AC_DEFUN([CURL_CHECK_FUNC_MEMRCHR], [ + AC_REQUIRE([CURL_INCLUDES_STRING])dnl + # + tst_links_memrchr="unknown" +@@ -6964,7 +6977,7 @@ m4trace:m4/curl-functions.m4:3949: -1- AC_DEFUN([CURL_CHECK_FUNC_MEMRCHR], [ + curl_cv_func_memrchr="no" + fi + ]) +-m4trace:m4/curl-functions.m4:4051: -1- AC_DEFUN([CURL_CHECK_FUNC_POLL], [ ++m4trace:m4/curl-functions.m4:4011: -1- AC_DEFUN([CURL_CHECK_FUNC_POLL], [ + AC_REQUIRE([CURL_INCLUDES_STDLIB])dnl + AC_REQUIRE([CURL_INCLUDES_POLL])dnl + # +@@ -7100,7 +7113,7 @@ m4trace:m4/curl-functions.m4:4051: -1- AC_DEFUN([CURL_CHECK_FUNC_POLL], [ + curl_cv_func_poll="no" + fi + ]) +-m4trace:m4/curl-functions.m4:4197: -1- AC_DEFUN([CURL_CHECK_FUNC_REMOVEXATTR], [ ++m4trace:m4/curl-functions.m4:4157: -1- AC_DEFUN([CURL_CHECK_FUNC_REMOVEXATTR], [ + AC_REQUIRE([CURL_INCLUDES_SYS_XATTR])dnl + # + tst_links_removexattr="unknown" +@@ -7212,7 +7225,7 @@ m4trace:m4/curl-functions.m4:4197: -1- AC_DEFUN([CURL_CHECK_FUNC_REMOVEXATTR], [ + curl_cv_func_removexattr="no" + fi + ]) +-m4trace:m4/curl-functions.m4:4318: -1- AC_DEFUN([CURL_CHECK_FUNC_SETSOCKOPT_SO_NONBLOCK], [ ++m4trace:m4/curl-functions.m4:4278: -1- AC_DEFUN([CURL_CHECK_FUNC_SETSOCKOPT_SO_NONBLOCK], [ + # + tst_compi_setsockopt_so_nonblock="unknown" + tst_allow_setsockopt_so_nonblock="unknown" +@@ -7260,7 +7273,7 @@ m4trace:m4/curl-functions.m4:4318: -1- AC_DEFUN([CURL_CHECK_FUNC_SETSOCKOPT_SO_N + curl_cv_func_setsockopt_so_nonblock="no" + fi + ]) +-m4trace:m4/curl-functions.m4:4376: -1- AC_DEFUN([CURL_CHECK_FUNC_SETXATTR], [ ++m4trace:m4/curl-functions.m4:4336: -1- AC_DEFUN([CURL_CHECK_FUNC_SETXATTR], [ + AC_REQUIRE([CURL_INCLUDES_SYS_XATTR])dnl + # + tst_links_setxattr="unknown" +@@ -7372,7 +7385,7 @@ m4trace:m4/curl-functions.m4:4376: -1- AC_DEFUN([CURL_CHECK_FUNC_SETXATTR], [ + curl_cv_func_setxattr="no" + fi + ]) +-m4trace:m4/curl-functions.m4:4498: -1- AC_DEFUN([CURL_CHECK_FUNC_SIGACTION], [ ++m4trace:m4/curl-functions.m4:4458: -1- AC_DEFUN([CURL_CHECK_FUNC_SIGACTION], [ + AC_REQUIRE([CURL_INCLUDES_SIGNAL])dnl + # + tst_links_sigaction="unknown" +@@ -7447,7 +7460,7 @@ m4trace:m4/curl-functions.m4:4498: -1- AC_DEFUN([CURL_CHECK_FUNC_SIGACTION], [ + curl_cv_func_sigaction="no" + fi + ]) +-m4trace:m4/curl-functions.m4:4583: -1- AC_DEFUN([CURL_CHECK_FUNC_SIGINTERRUPT], [ ++m4trace:m4/curl-functions.m4:4543: -1- AC_DEFUN([CURL_CHECK_FUNC_SIGINTERRUPT], [ + AC_REQUIRE([CURL_INCLUDES_SIGNAL])dnl + # + tst_links_siginterrupt="unknown" +@@ -7522,7 +7535,7 @@ m4trace:m4/curl-functions.m4:4583: -1- AC_DEFUN([CURL_CHECK_FUNC_SIGINTERRUPT], + curl_cv_func_siginterrupt="no" + fi + ]) +-m4trace:m4/curl-functions.m4:4668: -1- AC_DEFUN([CURL_CHECK_FUNC_SIGNAL], [ ++m4trace:m4/curl-functions.m4:4628: -1- AC_DEFUN([CURL_CHECK_FUNC_SIGNAL], [ + AC_REQUIRE([CURL_INCLUDES_SIGNAL])dnl + # + tst_links_signal="unknown" +@@ -7597,7 +7610,7 @@ m4trace:m4/curl-functions.m4:4668: -1- AC_DEFUN([CURL_CHECK_FUNC_SIGNAL], [ + curl_cv_func_signal="no" + fi + ]) +-m4trace:m4/curl-functions.m4:4753: -1- AC_DEFUN([CURL_CHECK_FUNC_SIGSETJMP], [ ++m4trace:m4/curl-functions.m4:4713: -1- AC_DEFUN([CURL_CHECK_FUNC_SIGSETJMP], [ + AC_REQUIRE([CURL_INCLUDES_SETJMP])dnl + # + tst_links_sigsetjmp="unknown" +@@ -7694,7 +7707,7 @@ m4trace:m4/curl-functions.m4:4753: -1- AC_DEFUN([CURL_CHECK_FUNC_SIGSETJMP], [ + curl_cv_func_sigsetjmp="no" + fi + ]) +-m4trace:m4/curl-functions.m4:4860: -1- AC_DEFUN([CURL_CHECK_FUNC_SOCKET], [ ++m4trace:m4/curl-functions.m4:4820: -1- AC_DEFUN([CURL_CHECK_FUNC_SOCKET], [ + AC_REQUIRE([CURL_INCLUDES_WINSOCK2])dnl + AC_REQUIRE([CURL_INCLUDES_SYS_SOCKET])dnl + AC_REQUIRE([CURL_INCLUDES_SOCKET])dnl +@@ -7785,7 +7798,7 @@ m4trace:m4/curl-functions.m4:4860: -1- AC_DEFUN([CURL_CHECK_FUNC_SOCKET], [ + curl_cv_func_socket="no" + fi + ]) +-m4trace:m4/curl-functions.m4:4961: -1- AC_DEFUN([CURL_CHECK_FUNC_SOCKETPAIR], [ ++m4trace:m4/curl-functions.m4:4921: -1- AC_DEFUN([CURL_CHECK_FUNC_SOCKETPAIR], [ + AC_REQUIRE([CURL_INCLUDES_SYS_SOCKET])dnl + AC_REQUIRE([CURL_INCLUDES_SOCKET])dnl + # +@@ -7864,7 +7877,7 @@ m4trace:m4/curl-functions.m4:4961: -1- AC_DEFUN([CURL_CHECK_FUNC_SOCKETPAIR], [ + curl_cv_func_socketpair="no" + fi + ]) +-m4trace:m4/curl-functions.m4:5050: -1- AC_DEFUN([CURL_CHECK_FUNC_STRCASECMP], [ ++m4trace:m4/curl-functions.m4:5010: -1- AC_DEFUN([CURL_CHECK_FUNC_STRCASECMP], [ + AC_REQUIRE([CURL_INCLUDES_STRING])dnl + # + tst_links_strcasecmp="unknown" +@@ -7939,7 +7952,7 @@ m4trace:m4/curl-functions.m4:5050: -1- AC_DEFUN([CURL_CHECK_FUNC_STRCASECMP], [ + curl_cv_func_strcasecmp="no" + fi + ]) +-m4trace:m4/curl-functions.m4:5134: -1- AC_DEFUN([CURL_CHECK_FUNC_STRCMPI], [ ++m4trace:m4/curl-functions.m4:5094: -1- AC_DEFUN([CURL_CHECK_FUNC_STRCMPI], [ + AC_REQUIRE([CURL_INCLUDES_STRING])dnl + # + tst_links_strcmpi="unknown" +@@ -8014,7 +8027,7 @@ m4trace:m4/curl-functions.m4:5134: -1- AC_DEFUN([CURL_CHECK_FUNC_STRCMPI], [ + curl_cv_func_strcmpi="no" + fi + ]) +-m4trace:m4/curl-functions.m4:5219: -1- AC_DEFUN([CURL_CHECK_FUNC_STRDUP], [ ++m4trace:m4/curl-functions.m4:5179: -1- AC_DEFUN([CURL_CHECK_FUNC_STRDUP], [ + AC_REQUIRE([CURL_INCLUDES_STRING])dnl + # + tst_links_strdup="unknown" +@@ -8089,7 +8102,7 @@ m4trace:m4/curl-functions.m4:5219: -1- AC_DEFUN([CURL_CHECK_FUNC_STRDUP], [ + curl_cv_func_strdup="no" + fi + ]) +-m4trace:m4/curl-functions.m4:5320: -1- AC_DEFUN([CURL_CHECK_FUNC_STRERROR_R], [ ++m4trace:m4/curl-functions.m4:5280: -1- AC_DEFUN([CURL_CHECK_FUNC_STRERROR_R], [ + AC_REQUIRE([CURL_INCLUDES_STDLIB])dnl + AC_REQUIRE([CURL_INCLUDES_STRING])dnl + # +@@ -8324,7 +8337,7 @@ m4trace:m4/curl-functions.m4:5320: -1- AC_DEFUN([CURL_CHECK_FUNC_STRERROR_R], [ + fi + # + ]) +-m4trace:m4/curl-functions.m4:5565: -1- AC_DEFUN([CURL_CHECK_FUNC_STRICMP], [ ++m4trace:m4/curl-functions.m4:5525: -1- AC_DEFUN([CURL_CHECK_FUNC_STRICMP], [ + AC_REQUIRE([CURL_INCLUDES_STRING])dnl + # + tst_links_stricmp="unknown" +@@ -8399,7 +8412,7 @@ m4trace:m4/curl-functions.m4:5565: -1- AC_DEFUN([CURL_CHECK_FUNC_STRICMP], [ + curl_cv_func_stricmp="no" + fi + ]) +-m4trace:m4/curl-functions.m4:5650: -1- AC_DEFUN([CURL_CHECK_FUNC_STRTOK_R], [ ++m4trace:m4/curl-functions.m4:5610: -1- AC_DEFUN([CURL_CHECK_FUNC_STRTOK_R], [ + AC_REQUIRE([CURL_INCLUDES_STRING])dnl + # + tst_links_strtok_r="unknown" +@@ -8474,7 +8487,7 @@ m4trace:m4/curl-functions.m4:5650: -1- AC_DEFUN([CURL_CHECK_FUNC_STRTOK_R], [ + curl_cv_func_strtok_r="no" + fi + ]) +-m4trace:m4/curl-functions.m4:5735: -1- AC_DEFUN([CURL_CHECK_FUNC_STRTOLL], [ ++m4trace:m4/curl-functions.m4:5695: -1- AC_DEFUN([CURL_CHECK_FUNC_STRTOLL], [ + AC_REQUIRE([CURL_INCLUDES_STDLIB])dnl + # + tst_links_strtoll="unknown" +@@ -8549,7 +8562,7 @@ m4trace:m4/curl-functions.m4:5735: -1- AC_DEFUN([CURL_CHECK_FUNC_STRTOLL], [ + curl_cv_func_strtoll="no" + fi + ]) +-m4trace:m4/curl-functions.m4:5818: -1- AC_DEFUN([CURL_RUN_IFELSE], [ ++m4trace:m4/curl-functions.m4:5778: -1- AC_DEFUN([CURL_RUN_IFELSE], [ + case $host_os in + darwin*) + AC_RUN_IFELSE([AC_LANG_SOURCE([$1])], $2, $3, $4) +@@ -8566,7 +8579,7 @@ m4trace:m4/curl-functions.m4:5818: -1- AC_DEFUN([CURL_RUN_IFELSE], [ + ;; + esac + ]) +-m4trace:m4/curl-functions.m4:5841: -1- AC_DEFUN([CURL_COVERAGE], [ ++m4trace:m4/curl-functions.m4:5801: -1- AC_DEFUN([CURL_COVERAGE], [ + AC_REQUIRE([AC_PROG_SED]) + AC_REQUIRE([AC_ARG_ENABLE]) + AC_MSG_CHECKING([for code coverage support]) +@@ -8599,7 +8612,7 @@ m4trace:m4/curl-functions.m4:5841: -1- AC_DEFUN([CURL_COVERAGE], [ + LIBS="$LIBS -lgcov" + fi + ]) +-m4trace:m4/curl-functions.m4:5879: -1- AC_DEFUN([CURL_ATOMIC], [ ++m4trace:m4/curl-functions.m4:5839: -1- AC_DEFUN([CURL_ATOMIC], [ + AC_CHECK_HEADERS(stdatomic.h, [ + AC_MSG_CHECKING([if _Atomic is available]) + AC_LINK_IFELSE([ +@@ -8620,7 +8633,7 @@ m4trace:m4/curl-functions.m4:5879: -1- AC_DEFUN([CURL_ATOMIC], [ + ]) + ]) + ]) +-m4trace:m4/curl-functions.m4:5922: -1- AC_DEFUN([CURL_SIZEOF], [ ++m4trace:m4/curl-functions.m4:5882: -1- AC_DEFUN([CURL_SIZEOF], [ + dnl The #define name to make autoheader put the name in curl_config.h.in + define(TYPE, translit(sizeof_$1, [a-z *], [A-Z_P]))dnl + +@@ -8735,6 +8748,7 @@ if test "x$OPT_GNUTLS" != xno; then + GNUTLS_ENABLED=1 + USE_GNUTLS="yes" + ssl_msg="GnuTLS" ++ QUIC_ENABLED=yes + test gnutls != "$DEFAULT_SSL_BACKEND" || VALID_DEFAULT_SSL_BACKEND=yes + ], + [ +@@ -9122,6 +9136,7 @@ if test "x$OPT_OPENSSL" != xno; then + ],[ + AC_MSG_RESULT([yes]) + ssl_msg="BoringSSL" ++ OPENSSL_IS_BORINGSSL=1 + ],[ + AC_MSG_RESULT([no]) + ]) +@@ -9138,6 +9153,7 @@ if test "x$OPT_OPENSSL" != xno; then + ],[ + AC_MSG_RESULT([yes]) + ssl_msg="AWS-LC" ++ OPENSSL_IS_BORINGSSL=1 + ],[ + AC_MSG_RESULT([no]) + ]) +@@ -9163,7 +9179,7 @@ if test "x$OPT_OPENSSL" != xno; then + AC_LANG_PROGRAM([[ + #include + ]],[[ +- #if defined(OPENSSL_VERSION_MAJOR) && (OPENSSL_VERSION_MAJOR >= 3) ++ #if (OPENSSL_VERSION_NUMBER >= 0x30000000L) + return 0; + #else + #error older than 3 +@@ -9179,6 +9195,15 @@ if test "x$OPT_OPENSSL" != xno; then + ]) + fi + ++ dnl is this OpenSSL (fork) providing the original QUIC API? ++ AC_CHECK_FUNCS([SSL_set_quic_use_legacy_codepoint], ++ [QUIC_ENABLED=yes]) ++ if test "$QUIC_ENABLED" = "yes"; then ++ AC_MSG_NOTICE([OpenSSL fork speaks QUIC API]) ++ else ++ AC_MSG_NOTICE([OpenSSL version does not speak QUIC API]) ++ fi ++ + if test "$OPENSSL_ENABLED" = "1"; then + if test -n "$LIB_OPENSSL"; then + dnl when the ssl shared libs were found in a path that the run-time +@@ -9264,6 +9289,25 @@ AS_HELP_STRING([--disable-openssl-auto-load-config],[Disable automatic loading o + ]) + fi + ++dnl --- ++dnl We may use OpenSSL QUIC. ++dnl --- ++if test "$OPENSSL_ENABLED" = "1"; then ++ AC_MSG_CHECKING([for QUIC support in OpenSSL]) ++ AC_LINK_IFELSE([ ++ AC_LANG_PROGRAM([[ ++#include ++ ]],[[ ++ OSSL_QUIC_client_method(); ++ ]]) ++ ],[ ++ AC_MSG_RESULT([yes]) ++ AC_DEFINE(HAVE_OPENSSL_QUIC, 1, [if you have the functions OSSL_QUIC_client_method]) ++ AC_SUBST(HAVE_OPENSSL_QUIC, [1]) ++ ],[ ++ AC_MSG_RESULT([no]) ++ ]) ++fi + ]) + m4trace:m4/curl-override.m4:37: -1- AC_DEFUN([CURL_OVERRIDE_AUTOCONF], [ + AC_BEFORE([$0],[AC_PROG_LIBTOOL]) +@@ -9627,83 +9671,150 @@ dnl check for rustls + dnl ---------------------------------------------------- + + if test "x$OPT_RUSTLS" != xno; then +- _cppflags=$CPPFLAGS +- _ldflags=$LDFLAGS + ssl_msg= + +- if test X"$OPT_RUSTLS" != Xno; then ++ dnl backup the pre-ssl variables ++ CLEANLDFLAGS="$LDFLAGS" ++ CLEANCPPFLAGS="$CPPFLAGS" + +- if test "$OPT_RUSTLS" = "yes"; then +- OPT_RUSTLS="" +- fi ++ case $host_os in ++ darwin*) ++ LDFLAGS="$LDFLAGS -framework Security" ++ ;; ++ *) ++ ;; ++ esac ++ ## NEW CODE + +- case $host_os in +- darwin*) +- LDFLAGS="$LDFLAGS -framework Security" +- ;; +- *) +- ;; +- esac ++ dnl use pkg-config unless we have been given a path ++ dnl even then, try pkg-config first + +- if test -z "$OPT_RUSTLS" ; then +- dnl check for lib first without setting any new path ++ case "$OPT_RUSTLS" in ++ yes) ++ dnl --with-rustls (without path) used ++ PKGTEST="yes" ++ PREFIX_RUSTLS= ++ ;; ++ *) ++ dnl check the provided --with-rustls path ++ PKGTEST="no" ++ PREFIX_RUSTLS=$OPT_RUSTLS + +- AC_CHECK_LIB(rustls, rustls_client_session_read, +- dnl librustls found, set the variable +- [ +- AC_DEFINE(USE_RUSTLS, 1, [if rustls is enabled]) +- AC_SUBST(USE_RUSTLS, [1]) +- RUSTLS_ENABLED=1 +- USE_RUSTLS="yes" +- ssl_msg="rustls" +- test rustls != "$DEFAULT_SSL_BACKEND" || VALID_DEFAULT_SSL_BACKEND=yes +- ], [], -lpthread -ldl -lm) +- fi ++ dnl Try pkg-config even when cross-compiling. Since we ++ dnl specify PKG_CONFIG_LIBDIR we are only looking where ++ dnl the user told us to look + +- if test "x$USE_RUSTLS" != "xyes"; then +- dnl add the path and test again +- addld=-L$OPT_RUSTLS/lib$libsuff +- addcflags=-I$OPT_RUSTLS/include +- rustlslib=$OPT_RUSTLS/lib$libsuff ++ RUSTLS_PCDIR="$PREFIX_RUSTLS/lib/pkgconfig" ++ if test -f "$RUSTLS_PCDIR/rustls.pc"; then ++ AC_MSG_NOTICE([PKG_CONFIG_LIBDIR will be set to "$RUSTLS_PCDIR"]) ++ PKGTEST="yes" ++ fi + +- LDFLAGS="$LDFLAGS $addld" +- if test "$addcflags" != "-I/usr/include"; then +- CPPFLAGS="$CPPFLAGS $addcflags" ++ if test "$PKGTEST" != "yes"; then ++ # try lib64 instead ++ RUSTLS_PCDIR="$PREFIX_RUSTLS/lib64/pkgconfig" ++ if test -f "$RUSTLS_PCDIR/rustls.pc"; then ++ AC_MSG_NOTICE([PKG_CONFIG_LIBDIR will be set to "$RUSTLS_PCDIR"]) ++ PKGTEST="yes" ++ fi + fi + +- AC_CHECK_LIB(rustls, rustls_connection_read, +- [ +- AC_DEFINE(USE_RUSTLS, 1, [if rustls is enabled]) +- AC_SUBST(USE_RUSTLS, [1]) +- RUSTLS_ENABLED=1 +- USE_RUSTLS="yes" +- ssl_msg="rustls" +- test rustls != "$DEFAULT_SSL_BACKEND" || VALID_DEFAULT_SSL_BACKEND=yes +- ], +- AC_MSG_ERROR([--with-rustls was specified but could not find rustls.]), +- -lpthread -ldl -lm) +- fi ++ if test "$PKGTEST" != "yes"; then ++ dnl pkg-config came up empty, use what we got ++ dnl via --with-rustls + +- if test "x$USE_RUSTLS" = "xyes"; then +- AC_MSG_NOTICE([detected rustls]) +- check_for_ca_bundle=1 ++ addld=-L$PREFIX_RUSTLS/lib$libsuff ++ addcflags=-I$PREFIX_RUSTLS/include + +- LIBS="-lrustls -lpthread -ldl -lm $LIBS" ++ LDFLAGS="$LDFLAGS $addld" ++ if test "$addcflags" != "-I/usr/include"; then ++ CPPFLAGS="$CPPFLAGS $addcflags" ++ fi + +- if test -n "$rustlslib"; then +- dnl when shared libs were found in a path that the run-time +- dnl linker doesn't search through, we need to add it to +- dnl CURL_LIBRARY_PATH to prevent further configure tests to fail +- dnl due to this +- if test "x$cross_compiling" != "xyes"; then +- CURL_LIBRARY_PATH="$CURL_LIBRARY_PATH:$rustlslib" +- export CURL_LIBRARY_PATH +- AC_MSG_NOTICE([Added $rustlslib to CURL_LIBRARY_PATH]) ++ AC_CHECK_LIB(rustls, rustls_connection_read, ++ [ ++ AC_DEFINE(USE_RUSTLS, 1, [if rustls is enabled]) ++ AC_SUBST(USE_RUSTLS, [1]) ++ RUSTLS_ENABLED=1 ++ USE_RUSTLS="yes" ++ ssl_msg="rustls" ++ test rustls != "$DEFAULT_SSL_BACKEND" || VALID_DEFAULT_SSL_BACKEND=yes ++ ], ++ AC_MSG_ERROR([--with-rustls was specified but could not find rustls.]), ++ -lpthread -ldl -lm) ++ ++ USE_RUSTLS="yes" ++ ssl_msg="rustls" ++ ++ LIB_RUSTLS="$PREFIX_RUSTLS/lib$libsuff" ++ if test "$PREFIX_RUSTLS" != "/usr" ; then ++ SSL_LDFLAGS="-L$LIB_RUSTLS" ++ SSL_CPPFLAGS="-I$PREFIX_RUSTLS/include" + fi + fi ++ ;; ++ esac ++ ++ if test "$PKGTEST" = "yes"; then ++ ++ CURL_CHECK_PKGCONFIG(rustls, [$RUSTLS_PCDIR]) ++ ++ if test "$PKGCONFIG" != "no" ; then ++ SSL_LIBS=`CURL_EXPORT_PCDIR([$RUSTLS_PCDIR]) dnl ++ $PKGCONFIG --libs-only-l --libs-only-other rustls 2>/dev/null` ++ ++ SSL_LDFLAGS=`CURL_EXPORT_PCDIR([$RUSTLS_PCDIR]) dnl ++ $PKGCONFIG --libs-only-L rustls 2>/dev/null` ++ ++ SSL_CPPFLAGS=`CURL_EXPORT_PCDIR([$RUSTLS_PCDIR]) dnl ++ $PKGCONFIG --cflags-only-I rustls 2>/dev/null` ++ ++ AC_SUBST(SSL_LIBS) ++ AC_MSG_NOTICE([pkg-config: SSL_LIBS: "$SSL_LIBS"]) ++ AC_MSG_NOTICE([pkg-config: SSL_LDFLAGS: "$SSL_LDFLAGS"]) ++ AC_MSG_NOTICE([pkg-config: SSL_CPPFLAGS: "$SSL_CPPFLAGS"]) ++ ++ LIB_RUSTLS=`echo $SSL_LDFLAGS | sed -e 's/^-L//'` ++ ++ dnl use the values pkg-config reported. This is here ++ dnl instead of below with CPPFLAGS and LDFLAGS because we only ++ dnl learn about this via pkg-config. If we only have ++ dnl the argument to --with-rustls we don't know what ++ dnl additional libs may be necessary. Hope that we ++ dnl don't need any. ++ LIBS="$SSL_LIBS $LIBS" ++ USE_RUSTLS="yes" ++ ssl_msg="rustls" ++ else ++ AC_MSG_ERROR([pkg-config: Could not find rustls]) + fi + +- fi dnl rustls not disabled ++ else ++ dnl we did not use pkg-config, so we need to add the ++ dnl rustls lib to LIBS ++ LIBS="-lrustls -lpthread -ldl -lm $LIBS" ++ fi ++ ++ dnl finally, set flags to use this TLS backend ++ CPPFLAGS="$CLEAN_CPPFLAGS $SSL_CPPFLAGS" ++ LDFLAGS="$CLAN_LDFLAGS $SSL_LDFLAGS" ++ ++ if test "x$USE_RUSTLS" = "xyes"; then ++ AC_MSG_NOTICE([detected rustls]) ++ check_for_ca_bundle=1 ++ ++ if test -n "$LIB_RUSTLS"; then ++ dnl when shared libs were found in a path that the run-time ++ dnl linker does not search through, we need to add it to ++ dnl CURL_LIBRARY_PATH so that further configure tests do not ++ dnl fail due to this ++ if test "x$cross_compiling" != "xyes"; then ++ CURL_LIBRARY_PATH="$CURL_LIBRARY_PATH:$LIB_RUSTLS" ++ export CURL_LIBRARY_PATH ++ AC_MSG_NOTICE([Added $LIB_RUSTLS to CURL_LIBRARY_PATH]) ++ fi ++ fi ++ fi + + test -z "$ssl_msg" || ssl_backends="${ssl_backends:+$ssl_backends, }$ssl_msg" + fi +@@ -9868,6 +9979,7 @@ if test "x$OPT_WOLFSSL" != xno; then + WOLFSSL_ENABLED=1 + USE_WOLFSSL="yes" + ssl_msg="WolfSSL" ++ QUIC_ENABLED=yes + test wolfssl != "$DEFAULT_SSL_BACKEND" || VALID_DEFAULT_SSL_BACKEND=yes + ], + [ +@@ -11707,7 +11819,6 @@ m4trace:acinclude.m4:151: -1- AC_DEFUN([CURL_CHECK_AIX_ALL_SOURCE], [ + #endif]) + AC_BEFORE([$0], [AC_SYS_LARGEFILE])dnl + AC_BEFORE([$0], [CURL_CONFIGURE_REENTRANT])dnl +- AC_BEFORE([$0], [CURL_CONFIGURE_PULL_SYS_POLL])dnl + AC_MSG_CHECKING([if OS is AIX (to define _ALL_SOURCE)]) + AC_EGREP_CPP([yes_this_is_aix],[ + #ifdef _AIX +@@ -11720,130 +11831,32 @@ m4trace:acinclude.m4:151: -1- AC_DEFUN([CURL_CHECK_AIX_ALL_SOURCE], [ + AC_MSG_RESULT([no]) + ]) + ]) +-m4trace:acinclude.m4:178: -1- AC_DEFUN([CURL_CHECK_HEADER_WINDOWS], [ +- AC_CACHE_CHECK([for windows.h], [curl_cv_header_windows_h], [ +- AC_COMPILE_IFELSE([ +- AC_LANG_PROGRAM([[ +-#undef inline +-#ifndef WIN32_LEAN_AND_MEAN +-#define WIN32_LEAN_AND_MEAN +-#endif +-#include +- ]],[[ +-#if defined(__CYGWIN__) || defined(__CEGCC__) +- HAVE_WINDOWS_H shall not be defined. +-#else +- int dummy=2*WINVER; +-#endif +- ]]) +- ],[ +- curl_cv_header_windows_h="yes" +- ],[ +- curl_cv_header_windows_h="no" +- ]) +- ]) +- case "$curl_cv_header_windows_h" in +- yes) +- AC_DEFINE_UNQUOTED(HAVE_WINDOWS_H, 1, +- [Define to 1 if you have the windows.h header file.]) +- ;; +- esac +-]) +-m4trace:acinclude.m4:213: -1- AC_DEFUN([CURL_CHECK_NATIVE_WINDOWS], [ +- AC_REQUIRE([CURL_CHECK_HEADER_WINDOWS])dnl ++m4trace:acinclude.m4:177: -1- AC_DEFUN([CURL_CHECK_NATIVE_WINDOWS], [ + AC_CACHE_CHECK([whether build target is a native Windows one], [curl_cv_native_windows], [ +- if test "$curl_cv_header_windows_h" = "no"; then +- curl_cv_native_windows="no" +- else +- AC_COMPILE_IFELSE([ +- AC_LANG_PROGRAM([[ +- ]],[[ +-#if defined(__MINGW32__) || defined(__MINGW32CE__) || \ +- (defined(_MSC_VER) && (defined(_WIN32) || defined(_WIN64))) +- int dummy=1; +-#else +- Not a native Windows build target. +-#endif +- ]]) +- ],[ +- curl_cv_native_windows="yes" +- ],[ +- curl_cv_native_windows="no" +- ]) +- fi +- ]) +- AM_CONDITIONAL(DOING_NATIVE_WINDOWS, test "x$curl_cv_native_windows" = xyes) +-]) +-m4trace:acinclude.m4:244: -1- AC_DEFUN([CURL_CHECK_HEADER_WINSOCK2], [ +- AC_REQUIRE([CURL_CHECK_HEADER_WINDOWS])dnl +- AC_CACHE_CHECK([for winsock2.h], [curl_cv_header_winsock2_h], [ + AC_COMPILE_IFELSE([ + AC_LANG_PROGRAM([[ +-#undef inline +-#ifndef WIN32_LEAN_AND_MEAN +-#define WIN32_LEAN_AND_MEAN +-#endif +-#include +-#include + ]],[[ +-#if defined(__CYGWIN__) || defined(__CEGCC__) || defined(__MINGW32CE__) +- HAVE_WINSOCK2_H shall not be defined. +-#else +- int dummy=2*IPPROTO_ESP; +-#endif +- ]]) +- ],[ +- curl_cv_header_winsock2_h="yes" +- ],[ +- curl_cv_header_winsock2_h="no" +- ]) +- ]) +- case "$curl_cv_header_winsock2_h" in +- yes) +- AC_DEFINE_UNQUOTED(HAVE_WINSOCK2_H, 1, +- [Define to 1 if you have the winsock2.h header file.]) +- ;; +- esac +-]) +-m4trace:acinclude.m4:281: -1- AC_DEFUN([CURL_CHECK_HEADER_WS2TCPIP], [ +- AC_REQUIRE([CURL_CHECK_HEADER_WINSOCK2])dnl +- AC_CACHE_CHECK([for ws2tcpip.h], [curl_cv_header_ws2tcpip_h], [ +- AC_COMPILE_IFELSE([ +- AC_LANG_PROGRAM([[ +-#undef inline +-#ifndef WIN32_LEAN_AND_MEAN +-#define WIN32_LEAN_AND_MEAN +-#endif +-#include +-#include +-#include +- ]],[[ +-#if defined(__CYGWIN__) || defined(__CEGCC__) || defined(__MINGW32CE__) +- HAVE_WS2TCPIP_H shall not be defined. ++#ifdef _WIN32 ++ int dummy=1; + #else +- int dummy=2*IP_PKTINFO; ++ Not a native Windows build target. + #endif + ]]) + ],[ +- curl_cv_header_ws2tcpip_h="yes" ++ curl_cv_native_windows="yes" + ],[ +- curl_cv_header_ws2tcpip_h="no" ++ curl_cv_native_windows="no" + ]) + ]) +- case "$curl_cv_header_ws2tcpip_h" in +- yes) +- AC_DEFINE_UNQUOTED(HAVE_WS2TCPIP_H, 1, +- [Define to 1 if you have the ws2tcpip.h header file.]) +- ;; +- esac ++ AM_CONDITIONAL(DOING_NATIVE_WINDOWS, test "x$curl_cv_native_windows" = xyes) + ]) +-m4trace:acinclude.m4:320: -1- AC_DEFUN([CURL_CHECK_HEADER_LBER], [ +- AC_REQUIRE([CURL_CHECK_HEADER_WINDOWS])dnl ++m4trace:acinclude.m4:203: -1- AC_DEFUN([CURL_CHECK_HEADER_LBER], [ ++ AC_REQUIRE([CURL_CHECK_NATIVE_WINDOWS])dnl + AC_CACHE_CHECK([for lber.h], [curl_cv_header_lber_h], [ + AC_COMPILE_IFELSE([ + AC_LANG_PROGRAM([[ + #undef inline +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + #ifndef WIN32_LEAN_AND_MEAN + #define WIN32_LEAN_AND_MEAN + #endif +@@ -11875,7 +11888,7 @@ m4trace:acinclude.m4:320: -1- AC_DEFUN([CURL_CHECK_HEADER_LBER], [ + AC_COMPILE_IFELSE([ + AC_LANG_PROGRAM([[ + #undef inline +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + #ifndef WIN32_LEAN_AND_MEAN + #define WIN32_LEAN_AND_MEAN + #endif +@@ -11911,13 +11924,13 @@ m4trace:acinclude.m4:320: -1- AC_DEFUN([CURL_CHECK_HEADER_LBER], [ + esac + fi + ]) +-m4trace:acinclude.m4:400: -1- AC_DEFUN([CURL_CHECK_HEADER_LDAP], [ ++m4trace:acinclude.m4:283: -1- AC_DEFUN([CURL_CHECK_HEADER_LDAP], [ + AC_REQUIRE([CURL_CHECK_HEADER_LBER])dnl + AC_CACHE_CHECK([for ldap.h], [curl_cv_header_ldap_h], [ + AC_COMPILE_IFELSE([ + AC_LANG_PROGRAM([[ + #undef inline +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + #ifndef WIN32_LEAN_AND_MEAN + #define WIN32_LEAN_AND_MEAN + #endif +@@ -11951,13 +11964,13 @@ m4trace:acinclude.m4:400: -1- AC_DEFUN([CURL_CHECK_HEADER_LDAP], [ + ;; + esac + ]) +-m4trace:acinclude.m4:446: -1- AC_DEFUN([CURL_CHECK_HEADER_LDAP_SSL], [ ++m4trace:acinclude.m4:329: -1- AC_DEFUN([CURL_CHECK_HEADER_LDAP_SSL], [ + AC_REQUIRE([CURL_CHECK_HEADER_LDAP])dnl + AC_CACHE_CHECK([for ldap_ssl.h], [curl_cv_header_ldap_ssl_h], [ + AC_COMPILE_IFELSE([ + AC_LANG_PROGRAM([[ + #undef inline +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + #ifndef WIN32_LEAN_AND_MEAN + #define WIN32_LEAN_AND_MEAN + #endif +@@ -11993,7 +12006,7 @@ m4trace:acinclude.m4:446: -1- AC_DEFUN([CURL_CHECK_HEADER_LDAP_SSL], [ + ;; + esac + ]) +-m4trace:acinclude.m4:498: -1- AC_DEFUN([CURL_CHECK_LIBS_WINLDAP], [ ++m4trace:acinclude.m4:381: -1- AC_DEFUN([CURL_CHECK_LIBS_WINLDAP], [ + AC_REQUIRE([CURL_CHECK_HEADER_WINBER])dnl + # + AC_MSG_CHECKING([for WINLDAP libraries]) +@@ -12032,7 +12045,7 @@ m4trace:acinclude.m4:498: -1- AC_DEFUN([CURL_CHECK_LIBS_WINLDAP], [ + AC_LINK_IFELSE([ + AC_LANG_PROGRAM([[ + #undef inline +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + #ifndef WIN32_LEAN_AND_MEAN + #define WIN32_LEAN_AND_MEAN + #endif +@@ -12075,7 +12088,7 @@ m4trace:acinclude.m4:498: -1- AC_DEFUN([CURL_CHECK_LIBS_WINLDAP], [ + esac + # + ]) +-m4trace:acinclude.m4:590: -1- AC_DEFUN([CURL_CHECK_LIBS_LDAP], [ ++m4trace:acinclude.m4:473: -1- AC_DEFUN([CURL_CHECK_LIBS_LDAP], [ + AC_REQUIRE([CURL_CHECK_HEADER_LDAP])dnl + # + AC_MSG_CHECKING([for LDAP libraries]) +@@ -12120,7 +12133,7 @@ m4trace:acinclude.m4:590: -1- AC_DEFUN([CURL_CHECK_LIBS_LDAP], [ + AC_LINK_IFELSE([ + AC_LANG_PROGRAM([[ + #undef inline +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + #ifndef WIN32_LEAN_AND_MEAN + #define WIN32_LEAN_AND_MEAN + #endif +@@ -12175,20 +12188,17 @@ m4trace:acinclude.m4:590: -1- AC_DEFUN([CURL_CHECK_LIBS_LDAP], [ + esac + # + ]) +-m4trace:acinclude.m4:697: -1- AC_DEFUN([TYPE_SOCKADDR_STORAGE], [ ++m4trace:acinclude.m4:580: -1- AC_DEFUN([TYPE_SOCKADDR_STORAGE], [ + AC_CHECK_TYPE([struct sockaddr_storage], + AC_DEFINE(HAVE_STRUCT_SOCKADDR_STORAGE, 1, + [if struct sockaddr_storage is defined]), , + [ + #undef inline +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + #ifndef WIN32_LEAN_AND_MEAN + #define WIN32_LEAN_AND_MEAN + #endif +-#include +-#ifdef HAVE_WINSOCK2_H + #include +-#endif + #else + #ifdef HAVE_SYS_TYPES_H + #include +@@ -12205,8 +12215,8 @@ m4trace:acinclude.m4:697: -1- AC_DEFUN([TYPE_SOCKADDR_STORAGE], [ + #endif + ]) + ]) +-m4trace:acinclude.m4:733: -1- AC_DEFUN([CURL_CHECK_FUNC_RECV], [ +- AC_REQUIRE([CURL_CHECK_HEADER_WINSOCK2])dnl ++m4trace:acinclude.m4:613: -1- AC_DEFUN([CURL_CHECK_FUNC_RECV], [ ++ AC_REQUIRE([CURL_CHECK_NATIVE_WINDOWS])dnl + AC_REQUIRE([CURL_INCLUDES_BSDSOCKET])dnl + AC_CHECK_HEADERS(sys/types.h sys/socket.h) + # +@@ -12214,14 +12224,11 @@ m4trace:acinclude.m4:733: -1- AC_DEFUN([CURL_CHECK_FUNC_RECV], [ + AC_LINK_IFELSE([ + AC_LANG_PROGRAM([[ + #undef inline +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + #ifndef WIN32_LEAN_AND_MEAN + #define WIN32_LEAN_AND_MEAN + #endif +-#include +-#ifdef HAVE_WINSOCK2_H + #include +-#endif + #else + $curl_includes_bsdsocket + #ifdef HAVE_SYS_TYPES_H +@@ -12250,8 +12257,8 @@ $curl_includes_bsdsocket + AC_MSG_ERROR([Unable to link function recv]) + fi + ]) +-m4trace:acinclude.m4:784: -1- AC_DEFUN([CURL_CHECK_FUNC_SEND], [ +- AC_REQUIRE([CURL_CHECK_HEADER_WINSOCK2])dnl ++m4trace:acinclude.m4:661: -1- AC_DEFUN([CURL_CHECK_FUNC_SEND], [ ++ AC_REQUIRE([CURL_CHECK_NATIVE_WINDOWS])dnl + AC_REQUIRE([CURL_INCLUDES_BSDSOCKET])dnl + AC_CHECK_HEADERS(sys/types.h sys/socket.h) + # +@@ -12259,14 +12266,11 @@ m4trace:acinclude.m4:784: -1- AC_DEFUN([CURL_CHECK_FUNC_SEND], [ + AC_LINK_IFELSE([ + AC_LANG_PROGRAM([[ + #undef inline +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + #ifndef WIN32_LEAN_AND_MEAN + #define WIN32_LEAN_AND_MEAN + #endif +-#include +-#ifdef HAVE_WINSOCK2_H + #include +-#endif + #else + $curl_includes_bsdsocket + #ifdef HAVE_SYS_TYPES_H +@@ -12295,20 +12299,17 @@ $curl_includes_bsdsocket + AC_MSG_ERROR([Unable to link function send]) + fi + ]) +-m4trace:acinclude.m4:834: -1- AC_DEFUN([CURL_CHECK_MSG_NOSIGNAL], [ ++m4trace:acinclude.m4:708: -1- AC_DEFUN([CURL_CHECK_MSG_NOSIGNAL], [ + AC_CHECK_HEADERS(sys/types.h sys/socket.h) + AC_CACHE_CHECK([for MSG_NOSIGNAL], [curl_cv_msg_nosignal], [ + AC_COMPILE_IFELSE([ + AC_LANG_PROGRAM([[ + #undef inline +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + #ifndef WIN32_LEAN_AND_MEAN + #define WIN32_LEAN_AND_MEAN + #endif +-#include +-#ifdef HAVE_WINSOCK2_H + #include +-#endif + #else + #ifdef HAVE_SYS_TYPES_H + #include +@@ -12333,22 +12334,19 @@ m4trace:acinclude.m4:834: -1- AC_DEFUN([CURL_CHECK_MSG_NOSIGNAL], [ + ;; + esac + ]) +-m4trace:acinclude.m4:878: -1- AC_DEFUN([CURL_CHECK_STRUCT_TIMEVAL], [ +- AC_REQUIRE([CURL_CHECK_HEADER_WINSOCK2])dnl ++m4trace:acinclude.m4:749: -1- AC_DEFUN([CURL_CHECK_STRUCT_TIMEVAL], [ ++ AC_REQUIRE([CURL_CHECK_NATIVE_WINDOWS])dnl + AC_CHECK_HEADERS(sys/types.h sys/time.h sys/socket.h) + AC_CACHE_CHECK([for struct timeval], [curl_cv_struct_timeval], [ + AC_COMPILE_IFELSE([ + AC_LANG_PROGRAM([[ + #undef inline +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + #ifndef WIN32_LEAN_AND_MEAN + #define WIN32_LEAN_AND_MEAN + #endif +-#include +-#ifdef HAVE_WINSOCK2_H + #include + #endif +-#endif + #ifdef HAVE_SYS_TYPES_H + #include + #endif +@@ -12377,7 +12375,7 @@ m4trace:acinclude.m4:878: -1- AC_DEFUN([CURL_CHECK_STRUCT_TIMEVAL], [ + ;; + esac + ]) +-m4trace:acinclude.m4:929: -1- AC_DEFUN([TYPE_IN_ADDR_T], [ ++m4trace:acinclude.m4:797: -1- AC_DEFUN([TYPE_IN_ADDR_T], [ + AC_CHECK_TYPE([in_addr_t], ,[ + dnl in_addr_t not available + AC_CACHE_CHECK([for in_addr_t equivalent], +@@ -12388,14 +12386,11 @@ m4trace:acinclude.m4:929: -1- AC_DEFUN([TYPE_IN_ADDR_T], [ + AC_LINK_IFELSE([ + AC_LANG_PROGRAM([[ + #undef inline +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + #ifndef WIN32_LEAN_AND_MEAN + #define WIN32_LEAN_AND_MEAN + #endif +-#include +-#ifdef HAVE_WINSOCK2_H + #include +-#endif + #else + #ifdef HAVE_SYS_TYPES_H + #include +@@ -12430,14 +12425,11 @@ m4trace:acinclude.m4:929: -1- AC_DEFUN([TYPE_IN_ADDR_T], [ + esac + ],[ + #undef inline +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + #ifndef WIN32_LEAN_AND_MEAN + #define WIN32_LEAN_AND_MEAN + #endif +-#include +-#ifdef HAVE_WINSOCK2_H + #include +-#endif + #else + #ifdef HAVE_SYS_TYPES_H + #include +@@ -12454,7 +12446,7 @@ m4trace:acinclude.m4:929: -1- AC_DEFUN([TYPE_IN_ADDR_T], [ + #endif + ]) + ]) +-m4trace:acinclude.m4:1012: -1- AC_DEFUN([CURL_CHECK_FUNC_CLOCK_GETTIME_MONOTONIC], [ ++m4trace:acinclude.m4:874: -1- AC_DEFUN([CURL_CHECK_FUNC_CLOCK_GETTIME_MONOTONIC], [ + AC_CHECK_HEADERS(sys/types.h sys/time.h) + AC_MSG_CHECKING([for monotonic clock_gettime]) + # +@@ -12483,7 +12475,7 @@ m4trace:acinclude.m4:1012: -1- AC_DEFUN([CURL_CHECK_FUNC_CLOCK_GETTIME_MONOTONIC + dnl Definition of HAVE_CLOCK_GETTIME_MONOTONIC is intentionally postponed + dnl until library linking and run-time checks for clock_gettime succeed. + ]) +-m4trace:acinclude.m4:1046: -1- AC_DEFUN([CURL_CHECK_FUNC_CLOCK_GETTIME_MONOTONIC_RAW], [ ++m4trace:acinclude.m4:908: -1- AC_DEFUN([CURL_CHECK_FUNC_CLOCK_GETTIME_MONOTONIC_RAW], [ + AC_CHECK_HEADERS(sys/types.h sys/time.h) + AC_MSG_CHECKING([for raw monotonic clock_gettime]) + # +@@ -12510,7 +12502,7 @@ m4trace:acinclude.m4:1046: -1- AC_DEFUN([CURL_CHECK_FUNC_CLOCK_GETTIME_MONOTONIC + ]) + fi + ]) +-m4trace:acinclude.m4:1080: -1- AC_DEFUN([CURL_CHECK_LIBS_CLOCK_GETTIME_MONOTONIC], [ ++m4trace:acinclude.m4:942: -1- AC_DEFUN([CURL_CHECK_LIBS_CLOCK_GETTIME_MONOTONIC], [ + AC_REQUIRE([CURL_CHECK_FUNC_CLOCK_GETTIME_MONOTONIC])dnl + # + if test "$curl_func_clock_gettime" = "yes"; then +@@ -12610,7 +12602,7 @@ m4trace:acinclude.m4:1080: -1- AC_DEFUN([CURL_CHECK_LIBS_CLOCK_GETTIME_MONOTONIC + fi + # + ]) +-m4trace:acinclude.m4:1187: -1- AC_DEFUN([CURL_CHECK_LIBS_CONNECT], [ ++m4trace:acinclude.m4:1049: -1- AC_DEFUN([CURL_CHECK_LIBS_CONNECT], [ + AC_REQUIRE([CURL_INCLUDES_WINSOCK2])dnl + AC_REQUIRE([CURL_INCLUDES_BSDSOCKET])dnl + AC_MSG_CHECKING([for connect in libraries]) +@@ -12623,7 +12615,7 @@ m4trace:acinclude.m4:1187: -1- AC_DEFUN([CURL_CHECK_LIBS_CONNECT], [ + AC_LANG_PROGRAM([[ + $curl_includes_winsock2 + $curl_includes_bsdsocket +- #if !defined(HAVE_WINDOWS_H) && !defined(HAVE_PROTO_BSDSOCKET_H) ++ #if !defined(_WIN32) && !defined(HAVE_PROTO_BSDSOCKET_H) + int connect(int, void*, int); + #endif + ]],[[ +@@ -12651,40 +12643,12 @@ m4trace:acinclude.m4:1187: -1- AC_DEFUN([CURL_CHECK_LIBS_CONNECT], [ + ;; + esac + ]) +-m4trace:acinclude.m4:1243: -1- AC_DEFUN([CURL_DEFINE_UNQUOTED], [ ++m4trace:acinclude.m4:1105: -1- AC_DEFUN([CURL_DEFINE_UNQUOTED], [ + cat >>confdefs.h <<_EOF + [@%:@define] $1 ifelse($#, 2, [$2], 1) + _EOF + ]) +-m4trace:acinclude.m4:1254: -1- AC_DEFUN([CURL_CONFIGURE_PULL_SYS_POLL], [ +- AC_REQUIRE([CURL_INCLUDES_POLL])dnl +- # +- tst_poll_events_macro_defined="unknown" +- # +- AC_COMPILE_IFELSE([ +- AC_LANG_PROGRAM([[ +- $curl_includes_poll +- ]],[[ +-#if defined(events) || defined(revents) +- return 0; +-#else +- force compilation error +-#endif +- ]]) +- ],[ +- tst_poll_events_macro_defined="yes" +- ],[ +- tst_poll_events_macro_defined="no" +- ]) +- # +- if test "$tst_poll_events_macro_defined" = "yes"; then +- if test "x$ac_cv_header_sys_poll_h" = "xyes"; then +- CURL_DEFINE_UNQUOTED([CURL_PULL_SYS_POLL_H]) +- fi +- fi +- # +-]) +-m4trace:acinclude.m4:1288: -1- AC_DEFUN([CURL_CHECK_FUNC_SELECT], [ ++m4trace:acinclude.m4:1116: -1- AC_DEFUN([CURL_CHECK_FUNC_SELECT], [ + AC_REQUIRE([CURL_CHECK_STRUCT_TIMEVAL])dnl + AC_REQUIRE([CURL_INCLUDES_BSDSOCKET])dnl + AC_CHECK_HEADERS(sys/select.h sys/socket.h) +@@ -12693,15 +12657,12 @@ m4trace:acinclude.m4:1288: -1- AC_DEFUN([CURL_CHECK_FUNC_SELECT], [ + AC_LINK_IFELSE([ + AC_LANG_PROGRAM([[ + #undef inline +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + #ifndef WIN32_LEAN_AND_MEAN + #define WIN32_LEAN_AND_MEAN + #endif +-#include +-#ifdef HAVE_WINSOCK2_H + #include + #endif +-#endif + #ifdef HAVE_SYS_TYPES_H + #include + #endif +@@ -12709,7 +12670,7 @@ m4trace:acinclude.m4:1288: -1- AC_DEFUN([CURL_CHECK_FUNC_SELECT], [ + #include + #endif + #include +-#ifndef HAVE_WINDOWS_H ++#ifndef _WIN32 + #ifdef HAVE_SYS_SELECT_H + #include + #elif defined(HAVE_UNISTD_H) +@@ -12737,7 +12698,7 @@ $curl_includes_bsdsocket + curl_cv_func_select="yes" + fi + ]) +-m4trace:acinclude.m4:1353: -1- AC_DEFUN([CURL_VERIFY_RUNTIMELIBS], [ ++m4trace:acinclude.m4:1178: -1- AC_DEFUN([CURL_VERIFY_RUNTIMELIBS], [ + + dnl this test is of course not sensible if we are cross-compiling! + if test "x$cross_compiling" != xyes; then +@@ -12759,65 +12720,7 @@ int main() + dnl if this test fails, configure has already stopped + fi + ]) +-m4trace:acinclude.m4:1381: -1- AC_DEFUN([CURL_CHECK_VARIADIC_MACROS], [ +- AC_CACHE_CHECK([for compiler support of C99 variadic macro style], +- [curl_cv_variadic_macros_c99], [ +- AC_COMPILE_IFELSE([ +- AC_LANG_PROGRAM([[ +-#define c99_vmacro3(first, ...) fun3(first, __VA_ARGS__) +-#define c99_vmacro2(first, ...) fun2(first, __VA_ARGS__) +- int fun3(int arg1, int arg2, int arg3); +- int fun2(int arg1, int arg2); +- int fun3(int arg1, int arg2, int arg3) +- { return arg1 + arg2 + arg3; } +- int fun2(int arg1, int arg2) +- { return arg1 + arg2; } +- ]],[[ +- int res3 = c99_vmacro3(1, 2, 3); +- int res2 = c99_vmacro2(1, 2); +- ]]) +- ],[ +- curl_cv_variadic_macros_c99="yes" +- ],[ +- curl_cv_variadic_macros_c99="no" +- ]) +- ]) +- case "$curl_cv_variadic_macros_c99" in +- yes) +- AC_DEFINE_UNQUOTED(HAVE_VARIADIC_MACROS_C99, 1, +- [Define to 1 if compiler supports C99 variadic macro style.]) +- ;; +- esac +- AC_CACHE_CHECK([for compiler support of old gcc variadic macro style], +- [curl_cv_variadic_macros_gcc], [ +- AC_COMPILE_IFELSE([ +- AC_LANG_PROGRAM([[ +-#define gcc_vmacro3(first, args...) fun3(first, args) +-#define gcc_vmacro2(first, args...) fun2(first, args) +- int fun3(int arg1, int arg2, int arg3); +- int fun2(int arg1, int arg2); +- int fun3(int arg1, int arg2, int arg3) +- { return arg1 + arg2 + arg3; } +- int fun2(int arg1, int arg2) +- { return arg1 + arg2; } +- ]],[[ +- int res3 = gcc_vmacro3(1, 2, 3); +- int res2 = gcc_vmacro2(1, 2); +- ]]) +- ],[ +- curl_cv_variadic_macros_gcc="yes" +- ],[ +- curl_cv_variadic_macros_gcc="no" +- ]) +- ]) +- case "$curl_cv_variadic_macros_gcc" in +- yes) +- AC_DEFINE_UNQUOTED(HAVE_VARIADIC_MACROS_GCC, 1, +- [Define to 1 if compiler supports old gcc variadic macro style.]) +- ;; +- esac +-]) +-m4trace:acinclude.m4:1453: -1- AC_DEFUN([CURL_CHECK_CA_BUNDLE], [ ++m4trace:acinclude.m4:1214: -1- AC_DEFUN([CURL_CHECK_CA_BUNDLE], [ + + AC_MSG_CHECKING([default CA cert bundle/path]) + +@@ -12972,18 +12875,16 @@ AS_HELP_STRING([--without-ca-fallback], [Don't use the built in CA store of the + AC_DEFINE_UNQUOTED(CURL_CA_FALLBACK, 1, [define "1" to use built in CA store of SSL library ]) + fi + ]) +-m4trace:acinclude.m4:1613: -1- AC_DEFUN([CURL_CHECK_WIN32_LARGEFILE], [ +- AC_REQUIRE([CURL_CHECK_HEADER_WINDOWS])dnl ++m4trace:acinclude.m4:1374: -1- AC_DEFUN([CURL_CHECK_WIN32_LARGEFILE], [ ++ AC_REQUIRE([CURL_CHECK_NATIVE_WINDOWS])dnl + AC_MSG_CHECKING([whether build target supports WIN32 file API]) + curl_win32_file_api="no" +- if test "$curl_cv_header_windows_h" = "yes"; then ++ if test "$curl_cv_native_windows" = "yes"; then + if test x"$enable_largefile" != "xno"; then + AC_COMPILE_IFELSE([ + AC_LANG_PROGRAM([[ + ]],[[ +-#if !defined(_WIN32_WCE) && \ +- (defined(__MINGW32__) || \ +- (defined(_MSC_VER) && (defined(_WIN32) || defined(_WIN64)))) ++#if !defined(_WIN32_WCE) && (defined(__MINGW32__) || defined(_MSC_VER)) + int dummy=1; + #else + WIN32 large file API not supported. +@@ -13026,11 +12927,11 @@ m4trace:acinclude.m4:1613: -1- AC_DEFUN([CURL_CHECK_WIN32_LARGEFILE], [ + ;; + esac + ]) +-m4trace:acinclude.m4:1672: -1- AC_DEFUN([CURL_CHECK_WIN32_CRYPTO], [ +- AC_REQUIRE([CURL_CHECK_HEADER_WINDOWS])dnl ++m4trace:acinclude.m4:1431: -1- AC_DEFUN([CURL_CHECK_WIN32_CRYPTO], [ ++ AC_REQUIRE([CURL_CHECK_NATIVE_WINDOWS])dnl + AC_MSG_CHECKING([whether build target supports WIN32 crypto API]) + curl_win32_crypto_api="no" +- if test "$curl_cv_header_windows_h" = "yes"; then ++ if test "$curl_cv_native_windows" = "yes"; then + AC_COMPILE_IFELSE([ + AC_LANG_PROGRAM([[ + #undef inline +@@ -13062,13 +12963,13 @@ m4trace:acinclude.m4:1672: -1- AC_DEFUN([CURL_CHECK_WIN32_CRYPTO], [ + ;; + esac + ]) +-m4trace:acinclude.m4:1717: -1- AC_DEFUN([CURL_EXPORT_PCDIR], [ ++m4trace:acinclude.m4:1476: -1- AC_DEFUN([CURL_EXPORT_PCDIR], [ + if test -n "$1"; then + PKG_CONFIG_LIBDIR="$1" + export PKG_CONFIG_LIBDIR + fi + ]) +-m4trace:acinclude.m4:1735: -1- AC_DEFUN([CURL_CHECK_PKGCONFIG], [ ++m4trace:acinclude.m4:1494: -1- AC_DEFUN([CURL_CHECK_PKGCONFIG], [ + if test -n "$PKG_CONFIG"; then + PKGCONFIG="$PKG_CONFIG" + else +@@ -13092,7 +12993,7 @@ m4trace:acinclude.m4:1735: -1- AC_DEFUN([CURL_CHECK_PKGCONFIG], [ + fi + fi + ]) +-m4trace:acinclude.m4:1768: -1- AC_DEFUN([CURL_GENERATE_CONFIGUREHELP_PM], [ ++m4trace:acinclude.m4:1527: -1- AC_DEFUN([CURL_GENERATE_CONFIGUREHELP_PM], [ + AC_REQUIRE([AC_PROG_CPP])dnl + tmp_cpp=`eval echo "$ac_cpp" 2>/dev/null` + if test -z "$tmp_cpp"; then +@@ -13124,7 +13025,7 @@ use vars qw( + 1; + _EOF + ]) +-m4trace:acinclude.m4:1814: -1- AC_DEFUN([CURL_CPP_P], [ ++m4trace:acinclude.m4:1573: -1- AC_DEFUN([CURL_CPP_P], [ + AC_MSG_CHECKING([if cpp -P is needed]) + AC_EGREP_CPP([TEST.*TEST], [ + #include +@@ -13158,7 +13059,7 @@ TEST EINVAL TEST + CPPPFLAG="" + fi + ]) +-m4trace:acinclude.m4:1856: -1- AC_DEFUN([CURL_DARWIN_CFLAGS], [ ++m4trace:acinclude.m4:1615: -1- AC_DEFUN([CURL_DARWIN_CFLAGS], [ + + tst_cflags="no" + case $host_os in +@@ -13181,7 +13082,7 @@ m4trace:acinclude.m4:1856: -1- AC_DEFUN([CURL_DARWIN_CFLAGS], [ + fi + + ]) +-m4trace:acinclude.m4:1889: -1- AC_DEFUN([CURL_SUPPORTS_BUILTIN_AVAILABLE], [ ++m4trace:acinclude.m4:1648: -1- AC_DEFUN([CURL_SUPPORTS_BUILTIN_AVAILABLE], [ + AC_MSG_CHECKING([to see if the compiler supports __builtin_available()]) + AC_COMPILE_IFELSE([ + AC_LANG_PROGRAM([[ +@@ -13484,187 +13385,190 @@ m4trace:configure.ac:138: -1- m4_pattern_allow([^VERSIONNUM$]) + m4trace:configure.ac:144: -1- m4_pattern_allow([^PKGADD_PKG$]) + m4trace:configure.ac:145: -1- m4_pattern_allow([^PKGADD_NAME$]) + m4trace:configure.ac:146: -1- m4_pattern_allow([^PKGADD_VENDOR$]) +-m4trace:configure.ac:309: -1- m4_pattern_allow([^TEST_NGHTTPX$]) +-m4trace:configure.ac:319: -1- m4_pattern_allow([^CADDY$]) +-m4trace:configure.ac:332: -1- m4_pattern_allow([^APXS$]) +-m4trace:configure.ac:338: -1- m4_pattern_allow([^HTTPD$]) +-m4trace:configure.ac:340: -1- m4_pattern_allow([^HTTPD$]) +-m4trace:configure.ac:342: -1- m4_pattern_allow([^APACHECTL$]) +-m4trace:configure.ac:343: -1- m4_pattern_allow([^APXS$]) +-m4trace:configure.ac:375: -1- m4_pattern_allow([^HTTPD$]) +-m4trace:configure.ac:376: -1- m4_pattern_allow([^APACHECTL$]) +-m4trace:configure.ac:377: -1- m4_pattern_allow([^APXS$]) +-m4trace:configure.ac:383: -1- m4_pattern_allow([^HTTPD_NGHTTPX$]) +-m4trace:configure.ac:386: -1- m4_pattern_allow([^HTTPD_NGHTTPX$]) +-m4trace:configure.ac:392: -1- m4_pattern_allow([^CADDY$]) +-m4trace:configure.ac:394: -1- m4_pattern_allow([^CADDY$]) +-m4trace:configure.ac:424: -1- m4_pattern_allow([^build$]) +-m4trace:configure.ac:424: -1- m4_pattern_allow([^build_cpu$]) +-m4trace:configure.ac:424: -1- m4_pattern_allow([^build_vendor$]) +-m4trace:configure.ac:424: -1- m4_pattern_allow([^build_os$]) +-m4trace:configure.ac:424: -1- m4_pattern_allow([^host$]) +-m4trace:configure.ac:424: -1- m4_pattern_allow([^host_cpu$]) +-m4trace:configure.ac:424: -1- m4_pattern_allow([^host_vendor$]) +-m4trace:configure.ac:424: -1- m4_pattern_allow([^host_os$]) +-m4trace:configure.ac:426: -1- m4_pattern_allow([^OS$]) +-m4trace:configure.ac:429: -1- m4_pattern_allow([^AR_FLAGS$]) +-m4trace:configure.ac:432: -1- CURL_CHECK_AIX_ALL_SOURCE +-m4trace:configure.ac:432: -1- AC_PROG_EGREP +-m4trace:configure.ac:432: -1- m4_pattern_allow([^GREP$]) +-m4trace:configure.ac:432: -1- m4_pattern_allow([^EGREP$]) +-m4trace:configure.ac:432: -1- m4_pattern_allow([^_ALL_SOURCE$]) +-m4trace:configure.ac:435: -1- CURL_CONFIGURE_THREAD_SAFE +-m4trace:configure.ac:435: -1- CURL_CHECK_NEED_THREAD_SAFE_SYSTEM +-m4trace:configure.ac:435: -1- CURL_CONFIGURE_FROM_NOW_ON_WITH_THREAD_SAFE +-m4trace:configure.ac:435: -1- m4_pattern_allow([^NEED_THREAD_SAFE$]) +-m4trace:configure.ac:436: -1- CURL_CONFIGURE_REENTRANT +-m4trace:configure.ac:436: -1- CURL_CHECK_NEED_REENTRANT_SYSTEM +-m4trace:configure.ac:436: -1- CURL_CHECK_NEED_REENTRANT_ERRNO +-m4trace:configure.ac:436: -1- CURL_CHECK_NEED_REENTRANT_FUNCTIONS_R +-m4trace:configure.ac:436: -1- CURL_CHECK_NEED_REENTRANT_GMTIME_R +-m4trace:configure.ac:436: -1- CURL_CHECK_NEED_REENTRANT_LOCALTIME_R +-m4trace:configure.ac:436: -1- CURL_CHECK_NEED_REENTRANT_STRERROR_R +-m4trace:configure.ac:436: -1- CURL_CHECK_NEED_REENTRANT_STRTOK_R +-m4trace:configure.ac:436: -1- CURL_CHECK_NEED_REENTRANT_GETHOSTBYNAME_R +-m4trace:configure.ac:436: -1- CURL_CHECK_NEED_REENTRANT_GETPROTOBYNAME_R +-m4trace:configure.ac:436: -1- CURL_CONFIGURE_FROM_NOW_ON_WITH_REENTRANT +-m4trace:configure.ac:436: -1- m4_pattern_allow([^NEED_REENTRANT$]) +-m4trace:configure.ac:439: -1- m4_pattern_allow([^_FILE_OFFSET_BITS$]) +-m4trace:configure.ac:439: -1- m4_pattern_allow([^_LARGE_FILES$]) +-m4trace:configure.ac:441: -1- XC_LIBTOOL +-m4trace:configure.ac:441: -1- LT_INIT([win32-dll]) +-m4trace:configure.ac:441: -1- m4_pattern_forbid([^_?LT_[A-Z_]+$]) +-m4trace:configure.ac:441: -1- m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$]) +-m4trace:configure.ac:441: -1- LTOPTIONS_VERSION +-m4trace:configure.ac:441: -1- LTSUGAR_VERSION +-m4trace:configure.ac:441: -1- LTVERSION_VERSION +-m4trace:configure.ac:441: -1- LTOBSOLETE_VERSION +-m4trace:configure.ac:441: -1- _LT_PROG_LTMAIN +-m4trace:configure.ac:441: -1- m4_pattern_allow([^AS$]) +-m4trace:configure.ac:441: -1- m4_pattern_allow([^DLLTOOL$]) +-m4trace:configure.ac:441: -1- m4_pattern_allow([^OBJDUMP$]) +-m4trace:configure.ac:441: -1- m4_pattern_allow([^LIBTOOL$]) +-m4trace:configure.ac:441: -1- _LT_PREPARE_SED_QUOTE_VARS +-m4trace:configure.ac:441: -1- _LT_PROG_ECHO_BACKSLASH +-m4trace:configure.ac:441: -1- LT_PATH_LD +-m4trace:configure.ac:441: -1- m4_pattern_allow([^SED$]) +-m4trace:configure.ac:441: -1- m4_pattern_allow([^FGREP$]) +-m4trace:configure.ac:441: -1- m4_pattern_allow([^GREP$]) +-m4trace:configure.ac:441: -1- m4_pattern_allow([^LD$]) +-m4trace:configure.ac:441: -1- LT_PATH_NM +-m4trace:configure.ac:441: -1- m4_pattern_allow([^DUMPBIN$]) +-m4trace:configure.ac:441: -1- m4_pattern_allow([^ac_ct_DUMPBIN$]) +-m4trace:configure.ac:441: -1- m4_pattern_allow([^DUMPBIN$]) +-m4trace:configure.ac:441: -1- m4_pattern_allow([^NM$]) +-m4trace:configure.ac:441: -1- m4_pattern_allow([^LN_S$]) +-m4trace:configure.ac:441: -1- LT_CMD_MAX_LEN +-m4trace:configure.ac:441: -1- m4_pattern_allow([^FILECMD$]) +-m4trace:configure.ac:441: -1- m4_pattern_allow([^OBJDUMP$]) +-m4trace:configure.ac:441: -1- m4_pattern_allow([^OBJDUMP$]) +-m4trace:configure.ac:441: -1- m4_pattern_allow([^DLLTOOL$]) +-m4trace:configure.ac:441: -1- m4_pattern_allow([^DLLTOOL$]) +-m4trace:configure.ac:441: -1- m4_pattern_allow([^AR$]) +-m4trace:configure.ac:441: -1- m4_pattern_allow([^ac_ct_AR$]) +-m4trace:configure.ac:441: -1- m4_pattern_allow([^STRIP$]) +-m4trace:configure.ac:441: -1- m4_pattern_allow([^RANLIB$]) +-m4trace:configure.ac:441: -1- _LT_WITH_SYSROOT +-m4trace:configure.ac:441: -1- m4_pattern_allow([LT_OBJDIR]) +-m4trace:configure.ac:441: -1- m4_pattern_allow([^LT_OBJDIR$]) +-m4trace:configure.ac:441: -1- _LT_CC_BASENAME([$compiler]) +-m4trace:configure.ac:441: -1- _LT_PATH_TOOL_PREFIX([${ac_tool_prefix}file], [/usr/bin$PATH_SEPARATOR$PATH]) +-m4trace:configure.ac:441: -1- _LT_PATH_TOOL_PREFIX([file], [/usr/bin$PATH_SEPARATOR$PATH]) +-m4trace:configure.ac:441: -1- LT_SUPPORTED_TAG([CC]) +-m4trace:configure.ac:441: -1- _LT_COMPILER_BOILERPLATE +-m4trace:configure.ac:441: -1- _LT_LINKER_BOILERPLATE +-m4trace:configure.ac:441: -1- _LT_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions], [lt_cv_prog_compiler_rtti_exceptions], [-fno-rtti -fno-exceptions], [], [_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, )="$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, ) -fno-rtti -fno-exceptions"]) +-m4trace:configure.ac:441: -1- _LT_COMPILER_OPTION([if $compiler PIC flag $_LT_TAGVAR(lt_prog_compiler_pic, ) works], [_LT_TAGVAR(lt_cv_prog_compiler_pic_works, )], [$_LT_TAGVAR(lt_prog_compiler_pic, )@&t@m4_if([],[],[ -DPIC],[m4_if([],[CXX],[ -DPIC],[])])], [], [case $_LT_TAGVAR(lt_prog_compiler_pic, ) in ++m4trace:configure.ac:310: -1- m4_pattern_allow([^TEST_NGHTTPX$]) ++m4trace:configure.ac:320: -1- m4_pattern_allow([^CADDY$]) ++m4trace:configure.ac:333: -1- m4_pattern_allow([^APXS$]) ++m4trace:configure.ac:339: -1- m4_pattern_allow([^HTTPD$]) ++m4trace:configure.ac:341: -1- m4_pattern_allow([^HTTPD$]) ++m4trace:configure.ac:343: -1- m4_pattern_allow([^APACHECTL$]) ++m4trace:configure.ac:344: -1- m4_pattern_allow([^APXS$]) ++m4trace:configure.ac:376: -1- m4_pattern_allow([^HTTPD$]) ++m4trace:configure.ac:377: -1- m4_pattern_allow([^APACHECTL$]) ++m4trace:configure.ac:378: -1- m4_pattern_allow([^APXS$]) ++m4trace:configure.ac:384: -1- m4_pattern_allow([^HTTPD_NGHTTPX$]) ++m4trace:configure.ac:387: -1- m4_pattern_allow([^HTTPD_NGHTTPX$]) ++m4trace:configure.ac:393: -1- m4_pattern_allow([^CADDY$]) ++m4trace:configure.ac:395: -1- m4_pattern_allow([^CADDY$]) ++m4trace:configure.ac:425: -1- m4_pattern_allow([^build$]) ++m4trace:configure.ac:425: -1- m4_pattern_allow([^build_cpu$]) ++m4trace:configure.ac:425: -1- m4_pattern_allow([^build_vendor$]) ++m4trace:configure.ac:425: -1- m4_pattern_allow([^build_os$]) ++m4trace:configure.ac:425: -1- m4_pattern_allow([^host$]) ++m4trace:configure.ac:425: -1- m4_pattern_allow([^host_cpu$]) ++m4trace:configure.ac:425: -1- m4_pattern_allow([^host_vendor$]) ++m4trace:configure.ac:425: -1- m4_pattern_allow([^host_os$]) ++m4trace:configure.ac:427: -1- m4_pattern_allow([^OS$]) ++m4trace:configure.ac:430: -1- m4_pattern_allow([^AR_FLAGS$]) ++m4trace:configure.ac:433: -1- CURL_CHECK_AIX_ALL_SOURCE ++m4trace:configure.ac:433: -1- AC_PROG_EGREP ++m4trace:configure.ac:433: -1- m4_pattern_allow([^GREP$]) ++m4trace:configure.ac:433: -1- m4_pattern_allow([^EGREP$]) ++m4trace:configure.ac:433: -1- m4_pattern_allow([^_ALL_SOURCE$]) ++m4trace:configure.ac:436: -1- CURL_CONFIGURE_THREAD_SAFE ++m4trace:configure.ac:436: -1- CURL_CHECK_NEED_THREAD_SAFE_SYSTEM ++m4trace:configure.ac:436: -1- CURL_CONFIGURE_FROM_NOW_ON_WITH_THREAD_SAFE ++m4trace:configure.ac:436: -1- m4_pattern_allow([^NEED_THREAD_SAFE$]) ++m4trace:configure.ac:437: -1- CURL_CONFIGURE_REENTRANT ++m4trace:configure.ac:437: -1- CURL_CHECK_NEED_REENTRANT_SYSTEM ++m4trace:configure.ac:437: -1- CURL_CHECK_NEED_REENTRANT_ERRNO ++m4trace:configure.ac:437: -1- CURL_CHECK_NEED_REENTRANT_FUNCTIONS_R ++m4trace:configure.ac:437: -1- CURL_CHECK_NEED_REENTRANT_GMTIME_R ++m4trace:configure.ac:437: -1- CURL_CHECK_NEED_REENTRANT_LOCALTIME_R ++m4trace:configure.ac:437: -1- CURL_CHECK_NEED_REENTRANT_STRERROR_R ++m4trace:configure.ac:437: -1- CURL_CHECK_NEED_REENTRANT_STRTOK_R ++m4trace:configure.ac:437: -1- CURL_CHECK_NEED_REENTRANT_GETHOSTBYNAME_R ++m4trace:configure.ac:437: -1- CURL_CHECK_NEED_REENTRANT_GETPROTOBYNAME_R ++m4trace:configure.ac:437: -1- CURL_CONFIGURE_FROM_NOW_ON_WITH_REENTRANT ++m4trace:configure.ac:437: -1- m4_pattern_allow([^NEED_REENTRANT$]) ++m4trace:configure.ac:440: -1- m4_pattern_allow([^_FILE_OFFSET_BITS$]) ++m4trace:configure.ac:440: -1- m4_pattern_allow([^_LARGE_FILES$]) ++m4trace:configure.ac:442: -1- XC_LIBTOOL ++m4trace:configure.ac:442: -1- LT_INIT([win32-dll]) ++m4trace:configure.ac:442: -1- m4_pattern_forbid([^_?LT_[A-Z_]+$]) ++m4trace:configure.ac:442: -1- m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$]) ++m4trace:configure.ac:442: -1- LTOPTIONS_VERSION ++m4trace:configure.ac:442: -1- LTSUGAR_VERSION ++m4trace:configure.ac:442: -1- LTVERSION_VERSION ++m4trace:configure.ac:442: -1- LTOBSOLETE_VERSION ++m4trace:configure.ac:442: -1- _LT_PROG_LTMAIN ++m4trace:configure.ac:442: -1- m4_pattern_allow([^AS$]) ++m4trace:configure.ac:442: -1- m4_pattern_allow([^DLLTOOL$]) ++m4trace:configure.ac:442: -1- m4_pattern_allow([^OBJDUMP$]) ++m4trace:configure.ac:442: -1- m4_pattern_allow([^LIBTOOL$]) ++m4trace:configure.ac:442: -1- _LT_PREPARE_SED_QUOTE_VARS ++m4trace:configure.ac:442: -1- _LT_PROG_ECHO_BACKSLASH ++m4trace:configure.ac:442: -1- LT_PATH_LD ++m4trace:configure.ac:442: -1- m4_pattern_allow([^SED$]) ++m4trace:configure.ac:442: -1- m4_pattern_allow([^FGREP$]) ++m4trace:configure.ac:442: -1- m4_pattern_allow([^GREP$]) ++m4trace:configure.ac:442: -1- m4_pattern_allow([^LD$]) ++m4trace:configure.ac:442: -1- LT_PATH_NM ++m4trace:configure.ac:442: -1- m4_pattern_allow([^DUMPBIN$]) ++m4trace:configure.ac:442: -1- m4_pattern_allow([^ac_ct_DUMPBIN$]) ++m4trace:configure.ac:442: -1- m4_pattern_allow([^DUMPBIN$]) ++m4trace:configure.ac:442: -1- m4_pattern_allow([^NM$]) ++m4trace:configure.ac:442: -1- m4_pattern_allow([^LN_S$]) ++m4trace:configure.ac:442: -1- LT_CMD_MAX_LEN ++m4trace:configure.ac:442: -1- m4_pattern_allow([^FILECMD$]) ++m4trace:configure.ac:442: -1- m4_pattern_allow([^OBJDUMP$]) ++m4trace:configure.ac:442: -1- m4_pattern_allow([^OBJDUMP$]) ++m4trace:configure.ac:442: -1- m4_pattern_allow([^DLLTOOL$]) ++m4trace:configure.ac:442: -1- m4_pattern_allow([^DLLTOOL$]) ++m4trace:configure.ac:442: -1- m4_pattern_allow([^AR$]) ++m4trace:configure.ac:442: -1- m4_pattern_allow([^ac_ct_AR$]) ++m4trace:configure.ac:442: -1- m4_pattern_allow([^STRIP$]) ++m4trace:configure.ac:442: -1- m4_pattern_allow([^RANLIB$]) ++m4trace:configure.ac:442: -1- _LT_WITH_SYSROOT ++m4trace:configure.ac:442: -1- m4_pattern_allow([LT_OBJDIR]) ++m4trace:configure.ac:442: -1- m4_pattern_allow([^LT_OBJDIR$]) ++m4trace:configure.ac:442: -1- _LT_CC_BASENAME([$compiler]) ++m4trace:configure.ac:442: -1- _LT_PATH_TOOL_PREFIX([${ac_tool_prefix}file], [/usr/bin$PATH_SEPARATOR$PATH]) ++m4trace:configure.ac:442: -1- _LT_PATH_TOOL_PREFIX([file], [/usr/bin$PATH_SEPARATOR$PATH]) ++m4trace:configure.ac:442: -1- LT_SUPPORTED_TAG([CC]) ++m4trace:configure.ac:442: -1- _LT_COMPILER_BOILERPLATE ++m4trace:configure.ac:442: -1- _LT_LINKER_BOILERPLATE ++m4trace:configure.ac:442: -1- _LT_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions], [lt_cv_prog_compiler_rtti_exceptions], [-fno-rtti -fno-exceptions], [], [_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, )="$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, ) -fno-rtti -fno-exceptions"]) ++m4trace:configure.ac:442: -1- _LT_COMPILER_OPTION([if $compiler PIC flag $_LT_TAGVAR(lt_prog_compiler_pic, ) works], [_LT_TAGVAR(lt_cv_prog_compiler_pic_works, )], [$_LT_TAGVAR(lt_prog_compiler_pic, )@&t@m4_if([],[],[ -DPIC],[m4_if([],[CXX],[ -DPIC],[])])], [], [case $_LT_TAGVAR(lt_prog_compiler_pic, ) in + "" | " "*) ;; + *) _LT_TAGVAR(lt_prog_compiler_pic, )=" $_LT_TAGVAR(lt_prog_compiler_pic, )" ;; + esac], [_LT_TAGVAR(lt_prog_compiler_pic, )= + _LT_TAGVAR(lt_prog_compiler_can_build_shared, )=no]) +-m4trace:configure.ac:441: -1- _LT_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works], [lt_cv_prog_compiler_static_works], [$lt_tmp_static_flag], [], [_LT_TAGVAR(lt_prog_compiler_static, )=]) +-m4trace:configure.ac:441: -1- m4_pattern_allow([^MANIFEST_TOOL$]) +-m4trace:configure.ac:441: -1- _LT_DLL_DEF_P([$export_symbols]) +-m4trace:configure.ac:441: -1- _LT_DLL_DEF_P([$export_symbols]) +-m4trace:configure.ac:441: -1- _LT_REQUIRED_DARWIN_CHECKS +-m4trace:configure.ac:441: -1- m4_pattern_allow([^DSYMUTIL$]) +-m4trace:configure.ac:441: -1- m4_pattern_allow([^NMEDIT$]) +-m4trace:configure.ac:441: -1- m4_pattern_allow([^LIPO$]) +-m4trace:configure.ac:441: -1- m4_pattern_allow([^OTOOL$]) +-m4trace:configure.ac:441: -1- m4_pattern_allow([^OTOOL64$]) +-m4trace:configure.ac:441: -1- _LT_LINKER_OPTION([if $CC understands -b], [lt_cv_prog_compiler__b], [-b], [_LT_TAGVAR(archive_cmds, )='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'], [_LT_TAGVAR(archive_cmds, )='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags']) +-m4trace:configure.ac:441: -1- m4_pattern_allow([^LT_SYS_LIBRARY_PATH$]) +-m4trace:configure.ac:441: -1- LT_SYS_DLOPEN_SELF +-m4trace:configure.ac:441: -1- m4_pattern_allow([^HAVE_DLFCN_H$]) +-m4trace:configure.ac:443: -1- LT_LANG([Windows Resource]) +-m4trace:configure.ac:443: -1- LT_SUPPORTED_TAG([RC]) +-m4trace:configure.ac:443: -1- LT_PROG_RC +-m4trace:configure.ac:443: -1- m4_pattern_allow([^RC$]) +-m4trace:configure.ac:443: -1- LT_LANG([RC]) +-m4trace:configure.ac:443: -1- _LT_COMPILER_BOILERPLATE +-m4trace:configure.ac:443: -1- _LT_LINKER_BOILERPLATE +-m4trace:configure.ac:443: -1- _LT_CC_BASENAME([$compiler]) +-m4trace:configure.ac:449: -1- AM_CONDITIONAL([CURL_LT_SHLIB_USE_VERSION_INFO], [test "x$xc_lt_shlib_use_version_info" = 'xyes']) +-m4trace:configure.ac:449: -1- m4_pattern_allow([^CURL_LT_SHLIB_USE_VERSION_INFO_TRUE$]) +-m4trace:configure.ac:449: -1- m4_pattern_allow([^CURL_LT_SHLIB_USE_VERSION_INFO_FALSE$]) +-m4trace:configure.ac:449: -1- _AM_SUBST_NOTMAKE([CURL_LT_SHLIB_USE_VERSION_INFO_TRUE]) +-m4trace:configure.ac:449: -1- _AM_SUBST_NOTMAKE([CURL_LT_SHLIB_USE_VERSION_INFO_FALSE]) +-m4trace:configure.ac:451: -1- AM_CONDITIONAL([CURL_LT_SHLIB_USE_NO_UNDEFINED], [test "x$xc_lt_shlib_use_no_undefined" = 'xyes']) +-m4trace:configure.ac:451: -1- m4_pattern_allow([^CURL_LT_SHLIB_USE_NO_UNDEFINED_TRUE$]) +-m4trace:configure.ac:451: -1- m4_pattern_allow([^CURL_LT_SHLIB_USE_NO_UNDEFINED_FALSE$]) +-m4trace:configure.ac:451: -1- _AM_SUBST_NOTMAKE([CURL_LT_SHLIB_USE_NO_UNDEFINED_TRUE]) +-m4trace:configure.ac:451: -1- _AM_SUBST_NOTMAKE([CURL_LT_SHLIB_USE_NO_UNDEFINED_FALSE]) +-m4trace:configure.ac:453: -1- AM_CONDITIONAL([CURL_LT_SHLIB_USE_MIMPURE_TEXT], [test "x$xc_lt_shlib_use_mimpure_text" = 'xyes']) +-m4trace:configure.ac:453: -1- m4_pattern_allow([^CURL_LT_SHLIB_USE_MIMPURE_TEXT_TRUE$]) +-m4trace:configure.ac:453: -1- m4_pattern_allow([^CURL_LT_SHLIB_USE_MIMPURE_TEXT_FALSE$]) +-m4trace:configure.ac:453: -1- _AM_SUBST_NOTMAKE([CURL_LT_SHLIB_USE_MIMPURE_TEXT_TRUE]) +-m4trace:configure.ac:453: -1- _AM_SUBST_NOTMAKE([CURL_LT_SHLIB_USE_MIMPURE_TEXT_FALSE]) +-m4trace:configure.ac:472: -1- AM_CONDITIONAL([USE_CPPFLAG_CURL_STATICLIB], [test "x$xc_lt_build_static_only" = 'xyes']) +-m4trace:configure.ac:472: -1- m4_pattern_allow([^USE_CPPFLAG_CURL_STATICLIB_TRUE$]) +-m4trace:configure.ac:472: -1- m4_pattern_allow([^USE_CPPFLAG_CURL_STATICLIB_FALSE$]) +-m4trace:configure.ac:472: -1- _AM_SUBST_NOTMAKE([USE_CPPFLAG_CURL_STATICLIB_TRUE]) +-m4trace:configure.ac:472: -1- _AM_SUBST_NOTMAKE([USE_CPPFLAG_CURL_STATICLIB_FALSE]) +-m4trace:configure.ac:485: -1- m4_pattern_allow([^CPPFLAG_CURL_STATICLIB$]) +-m4trace:configure.ac:495: -1- m4_pattern_allow([^REQUIRE_LIB_DEPS$]) +-m4trace:configure.ac:496: -1- AM_CONDITIONAL([USE_EXPLICIT_LIB_DEPS], [test x$REQUIRE_LIB_DEPS = xyes]) +-m4trace:configure.ac:496: -1- m4_pattern_allow([^USE_EXPLICIT_LIB_DEPS_TRUE$]) +-m4trace:configure.ac:496: -1- m4_pattern_allow([^USE_EXPLICIT_LIB_DEPS_FALSE$]) +-m4trace:configure.ac:496: -1- _AM_SUBST_NOTMAKE([USE_EXPLICIT_LIB_DEPS_TRUE]) +-m4trace:configure.ac:496: -1- _AM_SUBST_NOTMAKE([USE_EXPLICIT_LIB_DEPS_FALSE]) +-m4trace:configure.ac:505: -1- CURL_CHECK_COMPILER +-m4trace:configure.ac:505: -1- CURL_CHECK_COMPILER_DEC_C +-m4trace:configure.ac:505: -1- CURL_CHECK_DEF([__DECC], [], [silent]) +-m4trace:configure.ac:505: -1- CURL_CPP_P +-m4trace:configure.ac:505: -1- CURL_CHECK_DEF([__DECC_VER], [], [silent]) +-m4trace:configure.ac:505: -1- CURL_CHECK_COMPILER_HPUX_C +-m4trace:configure.ac:505: -1- CURL_CHECK_DEF([__HP_cc], [], [silent]) +-m4trace:configure.ac:505: -1- CURL_CHECK_COMPILER_IBM_C +-m4trace:configure.ac:505: -1- CURL_CHECK_DEF([__IBMC__], [], [silent]) +-m4trace:configure.ac:505: -1- CURL_CHECK_COMPILER_INTEL_C +-m4trace:configure.ac:505: -1- CURL_CHECK_DEF([__INTEL_COMPILER], [], [silent]) +-m4trace:configure.ac:505: -1- CURL_CHECK_DEF([__unix__], [], [silent]) +-m4trace:configure.ac:505: -1- CURL_CHECK_COMPILER_CLANG +-m4trace:configure.ac:505: -1- CURL_CHECK_DEF([__clang__], [], [silent]) +-m4trace:configure.ac:505: -1- CURL_CHECK_DEF([__ibmxl__], [], [silent]) +-m4trace:configure.ac:505: -1- CURL_CHECK_COMPILER_GNU_C +-m4trace:configure.ac:505: -1- CURL_CHECK_DEF([__GNUC__], [], [silent]) +-m4trace:configure.ac:505: -1- CURL_CHECK_DEF([_WIN32], [], [silent]) +-m4trace:configure.ac:505: -1- CURL_CHECK_COMPILER_LCC +-m4trace:configure.ac:505: -1- CURL_CHECK_DEF([__LCC__], [], [silent]) +-m4trace:configure.ac:505: -1- CURL_CHECK_COMPILER_SGI_MIPSPRO_C +-m4trace:configure.ac:505: -1- CURL_CHECK_DEF([__GNUC__], [], [silent]) +-m4trace:configure.ac:505: -1- CURL_CHECK_DEF([_COMPILER_VERSION], [], [silent]) +-m4trace:configure.ac:505: -1- CURL_CHECK_DEF([_SGI_COMPILER_VERSION], [], [silent]) +-m4trace:configure.ac:505: -1- CURL_CHECK_COMPILER_SGI_MIPS_C +-m4trace:configure.ac:505: -1- CURL_CHECK_DEF([__GNUC__], [], [silent]) +-m4trace:configure.ac:505: -1- CURL_CHECK_DEF([__sgi], [], [silent]) +-m4trace:configure.ac:505: -1- CURL_CHECK_COMPILER_SUNPRO_C +-m4trace:configure.ac:505: -1- CURL_CHECK_DEF([__SUNPRO_C], [], [silent]) +-m4trace:configure.ac:505: -1- CURL_CHECK_COMPILER_TINY_C +-m4trace:configure.ac:505: -1- CURL_CHECK_DEF([__TINYC__], [], [silent]) +-m4trace:configure.ac:506: -1- CURL_SET_COMPILER_BASIC_OPTS +-m4trace:configure.ac:506: -1- CURL_SHFUNC_SQUEEZE +-m4trace:configure.ac:506: -1- CURL_COMPILER_WORKS_IFELSE([ ++m4trace:configure.ac:442: -1- _LT_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works], [lt_cv_prog_compiler_static_works], [$lt_tmp_static_flag], [], [_LT_TAGVAR(lt_prog_compiler_static, )=]) ++m4trace:configure.ac:442: -1- m4_pattern_allow([^MANIFEST_TOOL$]) ++m4trace:configure.ac:442: -1- _LT_DLL_DEF_P([$export_symbols]) ++m4trace:configure.ac:442: -1- _LT_DLL_DEF_P([$export_symbols]) ++m4trace:configure.ac:442: -1- _LT_REQUIRED_DARWIN_CHECKS ++m4trace:configure.ac:442: -1- m4_pattern_allow([^DSYMUTIL$]) ++m4trace:configure.ac:442: -1- m4_pattern_allow([^NMEDIT$]) ++m4trace:configure.ac:442: -1- m4_pattern_allow([^LIPO$]) ++m4trace:configure.ac:442: -1- m4_pattern_allow([^OTOOL$]) ++m4trace:configure.ac:442: -1- m4_pattern_allow([^OTOOL64$]) ++m4trace:configure.ac:442: -1- _LT_LINKER_OPTION([if $CC understands -b], [lt_cv_prog_compiler__b], [-b], [_LT_TAGVAR(archive_cmds, )='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'], [_LT_TAGVAR(archive_cmds, )='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags']) ++m4trace:configure.ac:442: -1- m4_pattern_allow([^LT_SYS_LIBRARY_PATH$]) ++m4trace:configure.ac:442: -1- LT_SYS_DLOPEN_SELF ++m4trace:configure.ac:442: -1- m4_pattern_allow([^HAVE_DLFCN_H$]) ++m4trace:configure.ac:444: -1- LT_LANG([Windows Resource]) ++m4trace:configure.ac:444: -1- LT_SUPPORTED_TAG([RC]) ++m4trace:configure.ac:444: -1- LT_PROG_RC ++m4trace:configure.ac:444: -1- m4_pattern_allow([^RC$]) ++m4trace:configure.ac:444: -1- LT_LANG([RC]) ++m4trace:configure.ac:444: -1- _LT_COMPILER_BOILERPLATE ++m4trace:configure.ac:444: -1- _LT_LINKER_BOILERPLATE ++m4trace:configure.ac:444: -1- _LT_CC_BASENAME([$compiler]) ++m4trace:configure.ac:450: -1- AM_CONDITIONAL([CURL_LT_SHLIB_USE_VERSION_INFO], [test "x$xc_lt_shlib_use_version_info" = 'xyes']) ++m4trace:configure.ac:450: -1- m4_pattern_allow([^CURL_LT_SHLIB_USE_VERSION_INFO_TRUE$]) ++m4trace:configure.ac:450: -1- m4_pattern_allow([^CURL_LT_SHLIB_USE_VERSION_INFO_FALSE$]) ++m4trace:configure.ac:450: -1- _AM_SUBST_NOTMAKE([CURL_LT_SHLIB_USE_VERSION_INFO_TRUE]) ++m4trace:configure.ac:450: -1- _AM_SUBST_NOTMAKE([CURL_LT_SHLIB_USE_VERSION_INFO_FALSE]) ++m4trace:configure.ac:452: -1- AM_CONDITIONAL([CURL_LT_SHLIB_USE_NO_UNDEFINED], [test "x$xc_lt_shlib_use_no_undefined" = 'xyes']) ++m4trace:configure.ac:452: -1- m4_pattern_allow([^CURL_LT_SHLIB_USE_NO_UNDEFINED_TRUE$]) ++m4trace:configure.ac:452: -1- m4_pattern_allow([^CURL_LT_SHLIB_USE_NO_UNDEFINED_FALSE$]) ++m4trace:configure.ac:452: -1- _AM_SUBST_NOTMAKE([CURL_LT_SHLIB_USE_NO_UNDEFINED_TRUE]) ++m4trace:configure.ac:452: -1- _AM_SUBST_NOTMAKE([CURL_LT_SHLIB_USE_NO_UNDEFINED_FALSE]) ++m4trace:configure.ac:454: -1- AM_CONDITIONAL([CURL_LT_SHLIB_USE_MIMPURE_TEXT], [test "x$xc_lt_shlib_use_mimpure_text" = 'xyes']) ++m4trace:configure.ac:454: -1- m4_pattern_allow([^CURL_LT_SHLIB_USE_MIMPURE_TEXT_TRUE$]) ++m4trace:configure.ac:454: -1- m4_pattern_allow([^CURL_LT_SHLIB_USE_MIMPURE_TEXT_FALSE$]) ++m4trace:configure.ac:454: -1- _AM_SUBST_NOTMAKE([CURL_LT_SHLIB_USE_MIMPURE_TEXT_TRUE]) ++m4trace:configure.ac:454: -1- _AM_SUBST_NOTMAKE([CURL_LT_SHLIB_USE_MIMPURE_TEXT_FALSE]) ++m4trace:configure.ac:473: -1- AM_CONDITIONAL([USE_CPPFLAG_CURL_STATICLIB], [test "x$xc_lt_build_static_only" = 'xyes']) ++m4trace:configure.ac:473: -1- m4_pattern_allow([^USE_CPPFLAG_CURL_STATICLIB_TRUE$]) ++m4trace:configure.ac:473: -1- m4_pattern_allow([^USE_CPPFLAG_CURL_STATICLIB_FALSE$]) ++m4trace:configure.ac:473: -1- _AM_SUBST_NOTMAKE([USE_CPPFLAG_CURL_STATICLIB_TRUE]) ++m4trace:configure.ac:473: -1- _AM_SUBST_NOTMAKE([USE_CPPFLAG_CURL_STATICLIB_FALSE]) ++m4trace:configure.ac:486: -1- m4_pattern_allow([^CPPFLAG_CURL_STATICLIB$]) ++m4trace:configure.ac:496: -1- m4_pattern_allow([^REQUIRE_LIB_DEPS$]) ++m4trace:configure.ac:497: -1- AM_CONDITIONAL([USE_EXPLICIT_LIB_DEPS], [test x$REQUIRE_LIB_DEPS = xyes]) ++m4trace:configure.ac:497: -1- m4_pattern_allow([^USE_EXPLICIT_LIB_DEPS_TRUE$]) ++m4trace:configure.ac:497: -1- m4_pattern_allow([^USE_EXPLICIT_LIB_DEPS_FALSE$]) ++m4trace:configure.ac:497: -1- _AM_SUBST_NOTMAKE([USE_EXPLICIT_LIB_DEPS_TRUE]) ++m4trace:configure.ac:497: -1- _AM_SUBST_NOTMAKE([USE_EXPLICIT_LIB_DEPS_FALSE]) ++m4trace:configure.ac:506: -1- CURL_CHECK_COMPILER ++m4trace:configure.ac:506: -1- CURL_CHECK_COMPILER_DEC_C ++m4trace:configure.ac:506: -1- CURL_CHECK_DEF([__DECC], [], [silent]) ++m4trace:configure.ac:506: -1- CURL_CPP_P ++m4trace:configure.ac:506: -1- CURL_CHECK_DEF([__DECC_VER], [], [silent]) ++m4trace:configure.ac:506: -1- CURL_CHECK_COMPILER_HPUX_C ++m4trace:configure.ac:506: -1- CURL_CHECK_DEF([__HP_cc], [], [silent]) ++m4trace:configure.ac:506: -1- CURL_CHECK_COMPILER_IBM_C ++m4trace:configure.ac:506: -1- CURL_CHECK_DEF([__IBMC__], [], [silent]) ++m4trace:configure.ac:506: -1- CURL_CHECK_COMPILER_INTEL_C ++m4trace:configure.ac:506: -1- CURL_CHECK_DEF([__INTEL_COMPILER], [], [silent]) ++m4trace:configure.ac:506: -1- CURL_CHECK_DEF([__unix__], [], [silent]) ++m4trace:configure.ac:506: -1- CURL_CHECK_COMPILER_CLANG ++m4trace:configure.ac:506: -1- CURL_CHECK_DEF([__clang__], [], [silent]) ++m4trace:configure.ac:506: -1- CURL_CHECK_DEF([__ibmxl__], [], [silent]) ++m4trace:configure.ac:506: -1- CURL_CHECK_COMPILER_GNU_C ++m4trace:configure.ac:506: -1- CURL_CHECK_DEF([__GNUC__], [], [silent]) ++m4trace:configure.ac:506: -1- CURL_CHECK_COMPILER_SGI_MIPSPRO_C ++m4trace:configure.ac:506: -1- CURL_CHECK_DEF([__GNUC__], [], [silent]) ++m4trace:configure.ac:506: -1- CURL_CHECK_DEF([_COMPILER_VERSION], [], [silent]) ++m4trace:configure.ac:506: -1- CURL_CHECK_DEF([_SGI_COMPILER_VERSION], [], [silent]) ++m4trace:configure.ac:506: -1- CURL_CHECK_COMPILER_SGI_MIPS_C ++m4trace:configure.ac:506: -1- CURL_CHECK_DEF([__GNUC__], [], [silent]) ++m4trace:configure.ac:506: -1- CURL_CHECK_DEF([__sgi], [], [silent]) ++m4trace:configure.ac:506: -1- CURL_CHECK_COMPILER_SUNPRO_C ++m4trace:configure.ac:506: -1- CURL_CHECK_DEF([__SUNPRO_C], [], [silent]) ++m4trace:configure.ac:506: -1- CURL_CHECK_COMPILER_TINY_C ++m4trace:configure.ac:506: -1- CURL_CHECK_DEF([__TINYC__], [], [silent]) ++m4trace:configure.ac:507: -1- CURL_CHECK_NATIVE_WINDOWS ++m4trace:configure.ac:507: -1- AM_CONDITIONAL([DOING_NATIVE_WINDOWS], [test "x$curl_cv_native_windows" = xyes]) ++m4trace:configure.ac:507: -1- m4_pattern_allow([^DOING_NATIVE_WINDOWS_TRUE$]) ++m4trace:configure.ac:507: -1- m4_pattern_allow([^DOING_NATIVE_WINDOWS_FALSE$]) ++m4trace:configure.ac:507: -1- _AM_SUBST_NOTMAKE([DOING_NATIVE_WINDOWS_TRUE]) ++m4trace:configure.ac:507: -1- _AM_SUBST_NOTMAKE([DOING_NATIVE_WINDOWS_FALSE]) ++m4trace:configure.ac:508: -1- CURL_SET_COMPILER_BASIC_OPTS ++m4trace:configure.ac:508: -1- CURL_SHFUNC_SQUEEZE ++m4trace:configure.ac:508: -1- CURL_COMPILER_WORKS_IFELSE([ + AC_MSG_RESULT([yes]) + AC_MSG_NOTICE([compiler options added: $tmp_CFLAGS $tmp_CPPFLAGS]) + ], [ +@@ -13674,7 +13578,7 @@ m4trace:configure.ac:506: -1- CURL_COMPILER_WORKS_IFELSE([ + CPPFLAGS="$tmp_save_CPPFLAGS" + CFLAGS="$tmp_save_CFLAGS" + ]) +-m4trace:configure.ac:506: -1- CURL_RUN_IFELSE([ ++m4trace:configure.ac:508: -1- CURL_RUN_IFELSE([ + AC_LANG_PROGRAM([[ + # ifdef __STDC__ + # include +@@ -13691,29 +13595,29 @@ m4trace:configure.ac:506: -1- CURL_RUN_IFELSE([ + echo "run-fail: test program exited with status $ac_status" >&6 + echo " " >&6 + ]) +-m4trace:configure.ac:506: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:5818: CURL_RUN_IFELSE is expanded from... +-m4/curl-compilers.m4:421: CURL_COMPILER_WORKS_IFELSE is expanded from... +-m4/curl-compilers.m4:491: CURL_SET_COMPILER_BASIC_OPTS is expanded from... +-configure.ac:506: the top level]) +-m4trace:configure.ac:506: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:5818: CURL_RUN_IFELSE is expanded from... +-m4/curl-compilers.m4:421: CURL_COMPILER_WORKS_IFELSE is expanded from... +-m4/curl-compilers.m4:491: CURL_SET_COMPILER_BASIC_OPTS is expanded from... +-configure.ac:506: the top level]) +-m4trace:configure.ac:507: -1- CURL_SET_COMPILER_DEBUG_OPTS +-m4trace:configure.ac:508: -1- CURL_SET_COMPILER_OPTIMIZE_OPTS +-m4trace:configure.ac:508: -1- CURL_VAR_MATCH_IFELSE([tmp_CFLAGS], [$flags_opt_all], [ ++m4trace:configure.ac:508: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:5778: CURL_RUN_IFELSE is expanded from... ++m4/curl-compilers.m4:429: CURL_COMPILER_WORKS_IFELSE is expanded from... ++m4/curl-compilers.m4:499: CURL_SET_COMPILER_BASIC_OPTS is expanded from... ++configure.ac:508: the top level]) ++m4trace:configure.ac:508: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:5778: CURL_RUN_IFELSE is expanded from... ++m4/curl-compilers.m4:429: CURL_COMPILER_WORKS_IFELSE is expanded from... ++m4/curl-compilers.m4:499: CURL_SET_COMPILER_BASIC_OPTS is expanded from... ++configure.ac:508: the top level]) ++m4trace:configure.ac:509: -1- CURL_SET_COMPILER_DEBUG_OPTS ++m4trace:configure.ac:510: -1- CURL_SET_COMPILER_OPTIMIZE_OPTS ++m4trace:configure.ac:510: -1- CURL_VAR_MATCH_IFELSE([tmp_CFLAGS], [$flags_opt_all], [ + honor_optimize_option="no" + ]) +-m4trace:configure.ac:508: -1- CURL_VAR_MATCH([tmp_CFLAGS], [$flags_opt_all]) +-m4trace:configure.ac:508: -1- CURL_VAR_MATCH_IFELSE([tmp_CPPFLAGS], [$flags_opt_all], [ ++m4trace:configure.ac:510: -1- CURL_VAR_MATCH([tmp_CFLAGS], [$flags_opt_all]) ++m4trace:configure.ac:510: -1- CURL_VAR_MATCH_IFELSE([tmp_CPPFLAGS], [$flags_opt_all], [ + honor_optimize_option="no" + ]) +-m4trace:configure.ac:508: -1- CURL_VAR_MATCH([tmp_CPPFLAGS], [$flags_opt_all]) +-m4trace:configure.ac:508: -1- CURL_VAR_STRIP([tmp_CFLAGS], [$flags_opt_all]) +-m4trace:configure.ac:508: -1- CURL_VAR_STRIP([tmp_CPPFLAGS], [$flags_opt_all]) +-m4trace:configure.ac:508: -1- CURL_COMPILER_WORKS_IFELSE([ ++m4trace:configure.ac:510: -1- CURL_VAR_MATCH([tmp_CPPFLAGS], [$flags_opt_all]) ++m4trace:configure.ac:510: -1- CURL_VAR_STRIP([tmp_CFLAGS], [$flags_opt_all]) ++m4trace:configure.ac:510: -1- CURL_VAR_STRIP([tmp_CPPFLAGS], [$flags_opt_all]) ++m4trace:configure.ac:510: -1- CURL_COMPILER_WORKS_IFELSE([ + AC_MSG_RESULT([yes]) + AC_MSG_NOTICE([compiler options added: $tmp_options]) + ], [ +@@ -13723,7 +13627,7 @@ m4trace:configure.ac:508: -1- CURL_COMPILER_WORKS_IFELSE([ + CPPFLAGS="$tmp_save_CPPFLAGS" + CFLAGS="$tmp_save_CFLAGS" + ]) +-m4trace:configure.ac:508: -1- CURL_RUN_IFELSE([ ++m4trace:configure.ac:510: -1- CURL_RUN_IFELSE([ + AC_LANG_PROGRAM([[ + # ifdef __STDC__ + # include +@@ -13740,140 +13644,184 @@ m4trace:configure.ac:508: -1- CURL_RUN_IFELSE([ + echo "run-fail: test program exited with status $ac_status" >&6 + echo " " >&6 + ]) +-m4trace:configure.ac:508: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:5818: CURL_RUN_IFELSE is expanded from... +-m4/curl-compilers.m4:421: CURL_COMPILER_WORKS_IFELSE is expanded from... +-m4/curl-compilers.m4:682: CURL_SET_COMPILER_OPTIMIZE_OPTS is expanded from... +-configure.ac:508: the top level]) +-m4trace:configure.ac:508: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:5818: CURL_RUN_IFELSE is expanded from... +-m4/curl-compilers.m4:421: CURL_COMPILER_WORKS_IFELSE is expanded from... +-m4/curl-compilers.m4:682: CURL_SET_COMPILER_OPTIMIZE_OPTS is expanded from... +-configure.ac:508: the top level]) +-m4trace:configure.ac:509: -1- CURL_SET_COMPILER_WARNING_OPTS +-m4trace:configure.ac:509: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [all extra]) +-m4trace:configure.ac:509: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) +-m4trace:configure.ac:509: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [pointer-arith write-strings]) +-m4trace:configure.ac:509: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) +-m4trace:configure.ac:509: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [shadow]) +-m4trace:configure.ac:509: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) +-m4trace:configure.ac:509: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [inline nested-externs]) +-m4trace:configure.ac:509: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) +-m4trace:configure.ac:509: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [missing-declarations]) +-m4trace:configure.ac:509: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) +-m4trace:configure.ac:509: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [missing-prototypes]) +-m4trace:configure.ac:509: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) +-m4trace:configure.ac:509: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [float-equal]) +-m4trace:configure.ac:509: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) +-m4trace:configure.ac:509: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [no-multichar sign-compare]) +-m4trace:configure.ac:509: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) +-m4trace:configure.ac:509: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [undef]) +-m4trace:configure.ac:509: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) +-m4trace:configure.ac:509: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [endif-labels strict-prototypes]) +-m4trace:configure.ac:509: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) +-m4trace:configure.ac:509: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [declaration-after-statement]) +-m4trace:configure.ac:509: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) +-m4trace:configure.ac:509: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [cast-align]) +-m4trace:configure.ac:509: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) +-m4trace:configure.ac:509: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [shorten-64-to-32]) +-m4trace:configure.ac:509: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) +-m4trace:configure.ac:509: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [unused]) +-m4trace:configure.ac:509: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) +-m4trace:configure.ac:509: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [vla]) +-m4trace:configure.ac:509: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) +-m4trace:configure.ac:509: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [shift-sign-overflow]) +-m4trace:configure.ac:509: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) +-m4trace:configure.ac:509: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [bad-function-cast]) +-m4trace:configure.ac:509: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) +-m4trace:configure.ac:509: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [conversion]) +-m4trace:configure.ac:509: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) +-m4trace:configure.ac:509: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [empty-body]) +-m4trace:configure.ac:509: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) +-m4trace:configure.ac:509: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [ignored-qualifiers]) +-m4trace:configure.ac:509: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) +-m4trace:configure.ac:509: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [type-limits]) +-m4trace:configure.ac:509: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) +-m4trace:configure.ac:509: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [no-sign-conversion]) +-m4trace:configure.ac:509: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) +-m4trace:configure.ac:509: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [enum-conversion]) +-m4trace:configure.ac:509: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) +-m4trace:configure.ac:509: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [missing-variable-declarations]) +-m4trace:configure.ac:509: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) +-m4trace:configure.ac:509: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [unused-const-variable]) +-m4trace:configure.ac:509: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) +-m4trace:configure.ac:509: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [double-promotion]) +-m4trace:configure.ac:509: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) +-m4trace:configure.ac:509: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [comma]) +-m4trace:configure.ac:509: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) +-m4trace:configure.ac:509: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [assign-enum]) +-m4trace:configure.ac:509: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) +-m4trace:configure.ac:509: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [extra-semi-stmt]) +-m4trace:configure.ac:509: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) +-m4trace:configure.ac:509: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [all]) +-m4trace:configure.ac:509: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) +-m4trace:configure.ac:509: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [pointer-arith write-strings]) +-m4trace:configure.ac:509: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) +-m4trace:configure.ac:509: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [unused shadow]) +-m4trace:configure.ac:509: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) +-m4trace:configure.ac:509: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [inline nested-externs]) +-m4trace:configure.ac:509: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) +-m4trace:configure.ac:509: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [missing-declarations]) +-m4trace:configure.ac:509: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) +-m4trace:configure.ac:509: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [missing-prototypes]) +-m4trace:configure.ac:509: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) +-m4trace:configure.ac:509: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [bad-function-cast]) +-m4trace:configure.ac:509: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) +-m4trace:configure.ac:509: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [float-equal]) +-m4trace:configure.ac:509: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) +-m4trace:configure.ac:509: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [sign-compare]) +-m4trace:configure.ac:509: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) +-m4trace:configure.ac:509: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [undef]) +-m4trace:configure.ac:509: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) +-m4trace:configure.ac:509: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [endif-labels strict-prototypes]) +-m4trace:configure.ac:509: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) +-m4trace:configure.ac:509: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [declaration-after-statement]) +-m4trace:configure.ac:509: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) +-m4trace:configure.ac:509: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [old-style-definition]) +-m4trace:configure.ac:509: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) +-m4trace:configure.ac:509: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [cast-align]) +-m4trace:configure.ac:509: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) +-m4trace:configure.ac:509: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [type-limits old-style-declaration]) +-m4trace:configure.ac:509: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) +-m4trace:configure.ac:509: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [missing-parameter-type empty-body]) +-m4trace:configure.ac:509: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) +-m4trace:configure.ac:509: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [clobbered ignored-qualifiers]) +-m4trace:configure.ac:509: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) +-m4trace:configure.ac:509: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [conversion]) +-m4trace:configure.ac:509: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) +-m4trace:configure.ac:509: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [vla]) +-m4trace:configure.ac:509: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) +-m4trace:configure.ac:509: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [double-promotion]) +-m4trace:configure.ac:509: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) +-m4trace:configure.ac:509: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [shift-negative-value]) +-m4trace:configure.ac:509: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) +-m4trace:configure.ac:509: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [null-dereference]) +-m4trace:configure.ac:509: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) +-m4trace:configure.ac:509: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [duplicated-cond]) +-m4trace:configure.ac:509: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) +-m4trace:configure.ac:509: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [unused-const-variable]) +-m4trace:configure.ac:509: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) +-m4trace:configure.ac:509: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [duplicated-branches]) +-m4trace:configure.ac:509: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) +-m4trace:configure.ac:509: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [restrict]) +-m4trace:configure.ac:509: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) +-m4trace:configure.ac:509: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [alloc-zero]) +-m4trace:configure.ac:509: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) +-m4trace:configure.ac:509: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [arith-conversion]) +-m4trace:configure.ac:509: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) +-m4trace:configure.ac:509: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [enum-conversion]) +-m4trace:configure.ac:509: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) +-m4trace:configure.ac:509: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [all]) +-m4trace:configure.ac:509: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) +-m4trace:configure.ac:509: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [write-strings]) +-m4trace:configure.ac:509: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) +-m4trace:configure.ac:509: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [unsupported]) +-m4trace:configure.ac:509: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) +-m4trace:configure.ac:509: -1- CURL_COMPILER_WORKS_IFELSE([ ++m4trace:configure.ac:510: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:5778: CURL_RUN_IFELSE is expanded from... ++m4/curl-compilers.m4:429: CURL_COMPILER_WORKS_IFELSE is expanded from... ++m4/curl-compilers.m4:684: CURL_SET_COMPILER_OPTIMIZE_OPTS is expanded from... ++configure.ac:510: the top level]) ++m4trace:configure.ac:510: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:5778: CURL_RUN_IFELSE is expanded from... ++m4/curl-compilers.m4:429: CURL_COMPILER_WORKS_IFELSE is expanded from... ++m4/curl-compilers.m4:684: CURL_SET_COMPILER_OPTIMIZE_OPTS is expanded from... ++configure.ac:510: the top level]) ++m4trace:configure.ac:511: -1- CURL_SET_COMPILER_WARNING_OPTS ++m4trace:configure.ac:511: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [all extra]) ++m4trace:configure.ac:511: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) ++m4trace:configure.ac:511: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [pointer-arith write-strings]) ++m4trace:configure.ac:511: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) ++m4trace:configure.ac:511: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [shadow]) ++m4trace:configure.ac:511: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) ++m4trace:configure.ac:511: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [inline nested-externs]) ++m4trace:configure.ac:511: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) ++m4trace:configure.ac:511: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [missing-declarations]) ++m4trace:configure.ac:511: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) ++m4trace:configure.ac:511: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [missing-prototypes]) ++m4trace:configure.ac:511: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) ++m4trace:configure.ac:511: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [float-equal]) ++m4trace:configure.ac:511: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) ++m4trace:configure.ac:511: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [sign-compare]) ++m4trace:configure.ac:511: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) ++m4trace:configure.ac:511: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [undef]) ++m4trace:configure.ac:511: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) ++m4trace:configure.ac:511: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [endif-labels strict-prototypes]) ++m4trace:configure.ac:511: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) ++m4trace:configure.ac:511: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [declaration-after-statement]) ++m4trace:configure.ac:511: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) ++m4trace:configure.ac:511: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [cast-align]) ++m4trace:configure.ac:511: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) ++m4trace:configure.ac:511: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [shorten-64-to-32]) ++m4trace:configure.ac:511: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) ++m4trace:configure.ac:511: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [unused]) ++m4trace:configure.ac:511: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) ++m4trace:configure.ac:511: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [address]) ++m4trace:configure.ac:511: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) ++m4trace:configure.ac:511: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [attributes]) ++m4trace:configure.ac:511: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) ++m4trace:configure.ac:511: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [bad-function-cast]) ++m4trace:configure.ac:511: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) ++m4trace:configure.ac:511: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [conversion]) ++m4trace:configure.ac:511: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) ++m4trace:configure.ac:511: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [div-by-zero format-security]) ++m4trace:configure.ac:511: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) ++m4trace:configure.ac:511: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [empty-body]) ++m4trace:configure.ac:511: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) ++m4trace:configure.ac:511: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [missing-field-initializers]) ++m4trace:configure.ac:511: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) ++m4trace:configure.ac:511: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [missing-noreturn]) ++m4trace:configure.ac:511: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) ++m4trace:configure.ac:511: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [old-style-definition]) ++m4trace:configure.ac:511: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) ++m4trace:configure.ac:511: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [redundant-decls]) ++m4trace:configure.ac:511: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) ++m4trace:configure.ac:511: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [type-limits]) ++m4trace:configure.ac:511: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) ++m4trace:configure.ac:511: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [unreachable-code unused-parameter]) ++m4trace:configure.ac:511: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) ++m4trace:configure.ac:511: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [ignored-qualifiers]) ++m4trace:configure.ac:511: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) ++m4trace:configure.ac:511: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [vla]) ++m4trace:configure.ac:511: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) ++m4trace:configure.ac:511: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [sign-conversion]) ++m4trace:configure.ac:511: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) ++m4trace:configure.ac:511: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [shift-sign-overflow]) ++m4trace:configure.ac:511: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) ++m4trace:configure.ac:511: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [language-extension-token]) ++m4trace:configure.ac:511: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) ++m4trace:configure.ac:511: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [enum-conversion]) ++m4trace:configure.ac:511: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) ++m4trace:configure.ac:511: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [sometimes-uninitialized]) ++m4trace:configure.ac:511: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) ++m4trace:configure.ac:511: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [missing-variable-declarations]) ++m4trace:configure.ac:511: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) ++m4trace:configure.ac:511: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [header-guard]) ++m4trace:configure.ac:511: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) ++m4trace:configure.ac:511: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [unused-const-variable]) ++m4trace:configure.ac:511: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) ++m4trace:configure.ac:511: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [pragmas]) ++m4trace:configure.ac:511: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) ++m4trace:configure.ac:511: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [unreachable-code-break]) ++m4trace:configure.ac:511: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) ++m4trace:configure.ac:511: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [double-promotion]) ++m4trace:configure.ac:511: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) ++m4trace:configure.ac:511: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [comma]) ++m4trace:configure.ac:511: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) ++m4trace:configure.ac:511: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [assign-enum]) ++m4trace:configure.ac:511: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) ++m4trace:configure.ac:511: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [extra-semi-stmt]) ++m4trace:configure.ac:511: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) ++m4trace:configure.ac:511: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [all]) ++m4trace:configure.ac:511: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) ++m4trace:configure.ac:511: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [pointer-arith write-strings]) ++m4trace:configure.ac:511: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) ++m4trace:configure.ac:511: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [unused shadow]) ++m4trace:configure.ac:511: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) ++m4trace:configure.ac:511: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [inline nested-externs]) ++m4trace:configure.ac:511: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) ++m4trace:configure.ac:511: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [missing-declarations]) ++m4trace:configure.ac:511: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) ++m4trace:configure.ac:511: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [missing-prototypes]) ++m4trace:configure.ac:511: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) ++m4trace:configure.ac:511: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [bad-function-cast]) ++m4trace:configure.ac:511: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) ++m4trace:configure.ac:511: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [float-equal]) ++m4trace:configure.ac:511: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) ++m4trace:configure.ac:511: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [sign-compare]) ++m4trace:configure.ac:511: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) ++m4trace:configure.ac:511: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [undef]) ++m4trace:configure.ac:511: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) ++m4trace:configure.ac:511: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [endif-labels strict-prototypes]) ++m4trace:configure.ac:511: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) ++m4trace:configure.ac:511: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [declaration-after-statement]) ++m4trace:configure.ac:511: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) ++m4trace:configure.ac:511: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [old-style-definition]) ++m4trace:configure.ac:511: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) ++m4trace:configure.ac:511: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [attributes]) ++m4trace:configure.ac:511: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) ++m4trace:configure.ac:511: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [div-by-zero format-security]) ++m4trace:configure.ac:511: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) ++m4trace:configure.ac:511: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [missing-field-initializers]) ++m4trace:configure.ac:511: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) ++m4trace:configure.ac:511: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [missing-noreturn]) ++m4trace:configure.ac:511: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) ++m4trace:configure.ac:511: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [unreachable-code unused-parameter]) ++m4trace:configure.ac:511: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) ++m4trace:configure.ac:511: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [pragmas]) ++m4trace:configure.ac:511: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) ++m4trace:configure.ac:511: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [redundant-decls]) ++m4trace:configure.ac:511: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) ++m4trace:configure.ac:511: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [cast-align]) ++m4trace:configure.ac:511: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) ++m4trace:configure.ac:511: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [address]) ++m4trace:configure.ac:511: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) ++m4trace:configure.ac:511: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [type-limits old-style-declaration]) ++m4trace:configure.ac:511: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) ++m4trace:configure.ac:511: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [missing-parameter-type empty-body]) ++m4trace:configure.ac:511: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) ++m4trace:configure.ac:511: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [clobbered ignored-qualifiers]) ++m4trace:configure.ac:511: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) ++m4trace:configure.ac:511: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [conversion trampolines]) ++m4trace:configure.ac:511: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) ++m4trace:configure.ac:511: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [sign-conversion]) ++m4trace:configure.ac:511: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) ++m4trace:configure.ac:511: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [vla]) ++m4trace:configure.ac:511: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) ++m4trace:configure.ac:511: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [double-promotion]) ++m4trace:configure.ac:511: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) ++m4trace:configure.ac:511: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [shift-negative-value]) ++m4trace:configure.ac:511: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) ++m4trace:configure.ac:511: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [null-dereference]) ++m4trace:configure.ac:511: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) ++m4trace:configure.ac:511: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [duplicated-cond]) ++m4trace:configure.ac:511: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) ++m4trace:configure.ac:511: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [unused-const-variable]) ++m4trace:configure.ac:511: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) ++m4trace:configure.ac:511: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [duplicated-branches]) ++m4trace:configure.ac:511: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) ++m4trace:configure.ac:511: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [restrict]) ++m4trace:configure.ac:511: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) ++m4trace:configure.ac:511: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [alloc-zero]) ++m4trace:configure.ac:511: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) ++m4trace:configure.ac:511: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [arith-conversion]) ++m4trace:configure.ac:511: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) ++m4trace:configure.ac:511: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [enum-conversion]) ++m4trace:configure.ac:511: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) ++m4trace:configure.ac:511: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [all]) ++m4trace:configure.ac:511: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) ++m4trace:configure.ac:511: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [write-strings]) ++m4trace:configure.ac:511: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) ++m4trace:configure.ac:511: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [unsupported]) ++m4trace:configure.ac:511: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) ++m4trace:configure.ac:511: -1- CURL_COMPILER_WORKS_IFELSE([ + AC_MSG_RESULT([yes]) + AC_MSG_NOTICE([compiler options added: $tmp_CFLAGS $tmp_CPPFLAGS]) + ], [ +@@ -13883,7 +13831,7 @@ m4trace:configure.ac:509: -1- CURL_COMPILER_WORKS_IFELSE([ + CPPFLAGS="$tmp_save_CPPFLAGS" + CFLAGS="$tmp_save_CFLAGS" + ]) +-m4trace:configure.ac:509: -1- CURL_RUN_IFELSE([ ++m4trace:configure.ac:511: -1- CURL_RUN_IFELSE([ + AC_LANG_PROGRAM([[ + # ifdef __STDC__ + # include +@@ -13900,134 +13848,124 @@ m4trace:configure.ac:509: -1- CURL_RUN_IFELSE([ + echo "run-fail: test program exited with status $ac_status" >&6 + echo " " >&6 + ]) +-m4trace:configure.ac:509: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:5818: CURL_RUN_IFELSE is expanded from... +-m4/curl-compilers.m4:421: CURL_COMPILER_WORKS_IFELSE is expanded from... +-m4/curl-compilers.m4:764: CURL_SET_COMPILER_WARNING_OPTS is expanded from... +-configure.ac:509: the top level]) +-m4trace:configure.ac:509: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:5818: CURL_RUN_IFELSE is expanded from... +-m4/curl-compilers.m4:421: CURL_COMPILER_WORKS_IFELSE is expanded from... +-m4/curl-compilers.m4:764: CURL_SET_COMPILER_WARNING_OPTS is expanded from... +-configure.ac:509: the top level]) +-m4trace:configure.ac:534: -1- m4_pattern_allow([^CURL_CFLAG_EXTRAS$]) +-m4trace:configure.ac:536: -1- CURL_CHECK_COMPILER_HALT_ON_ERROR +-m4trace:configure.ac:537: -1- CURL_CHECK_COMPILER_ARRAY_SIZE_NEGATIVE +-m4trace:configure.ac:538: -1- CURL_CHECK_COMPILER_PROTOTYPE_MISMATCH +-m4trace:configure.ac:539: -1- CURL_CHECK_COMPILER_SYMBOL_HIDING +-m4trace:configure.ac:541: -1- CURL_CHECK_CURLDEBUG +-m4trace:configure.ac:542: -1- AM_CONDITIONAL([CURLDEBUG], [test x$want_curldebug = xyes]) +-m4trace:configure.ac:542: -1- m4_pattern_allow([^CURLDEBUG_TRUE$]) +-m4trace:configure.ac:542: -1- m4_pattern_allow([^CURLDEBUG_FALSE$]) +-m4trace:configure.ac:542: -1- _AM_SUBST_NOTMAKE([CURLDEBUG_TRUE]) +-m4trace:configure.ac:542: -1- _AM_SUBST_NOTMAKE([CURLDEBUG_FALSE]) +-m4trace:configure.ac:580: -1- AM_CONDITIONAL([BUILD_UNITTESTS], [test x$want_unittests = xyes]) +-m4trace:configure.ac:580: -1- m4_pattern_allow([^BUILD_UNITTESTS_TRUE$]) +-m4trace:configure.ac:580: -1- m4_pattern_allow([^BUILD_UNITTESTS_FALSE$]) +-m4trace:configure.ac:580: -1- _AM_SUBST_NOTMAKE([BUILD_UNITTESTS_TRUE]) +-m4trace:configure.ac:580: -1- _AM_SUBST_NOTMAKE([BUILD_UNITTESTS_FALSE]) +-m4trace:configure.ac:593: -1- CURL_CHECK_HEADER_WINDOWS +-m4trace:configure.ac:593: -1- m4_pattern_allow([^HAVE_WINDOWS_H$]) +-m4trace:configure.ac:594: -1- CURL_CHECK_NATIVE_WINDOWS +-m4trace:configure.ac:594: -1- AM_CONDITIONAL([DOING_NATIVE_WINDOWS], [test "x$curl_cv_native_windows" = xyes]) +-m4trace:configure.ac:594: -1- m4_pattern_allow([^DOING_NATIVE_WINDOWS_TRUE$]) +-m4trace:configure.ac:594: -1- m4_pattern_allow([^DOING_NATIVE_WINDOWS_FALSE$]) +-m4trace:configure.ac:594: -1- _AM_SUBST_NOTMAKE([DOING_NATIVE_WINDOWS_TRUE]) +-m4trace:configure.ac:594: -1- _AM_SUBST_NOTMAKE([DOING_NATIVE_WINDOWS_FALSE]) +-m4trace:configure.ac:597: -1- CURL_CHECK_HEADER_WINSOCK2 +-m4trace:configure.ac:597: -1- m4_pattern_allow([^HAVE_WINSOCK2_H$]) +-m4trace:configure.ac:598: -1- CURL_CHECK_HEADER_WS2TCPIP +-m4trace:configure.ac:598: -1- m4_pattern_allow([^HAVE_WS2TCPIP_H$]) +-m4trace:configure.ac:605: -1- CURL_CHECK_WIN32_LARGEFILE +-m4trace:configure.ac:605: -1- m4_pattern_allow([^USE_WIN32_LARGE_FILES$]) +-m4trace:configure.ac:605: -1- m4_pattern_allow([^USE_WIN32_LARGE_FILES$]) +-m4trace:configure.ac:605: -1- m4_pattern_allow([^USE_WIN32_SMALL_FILES$]) +-m4trace:configure.ac:605: -1- m4_pattern_allow([^USE_WIN32_SMALL_FILES$]) +-m4trace:configure.ac:606: -1- CURL_CHECK_WIN32_CRYPTO +-m4trace:configure.ac:606: -1- m4_pattern_allow([^USE_WIN32_CRYPTO$]) +-m4trace:configure.ac:606: -1- m4_pattern_allow([^USE_WIN32_CRYPTO$]) +-m4trace:configure.ac:608: -1- CURL_DARWIN_CFLAGS +-m4trace:configure.ac:609: -1- CURL_DARWIN_SYSTEMCONFIGURATION +-m4trace:configure.ac:610: -1- CURL_SUPPORTS_BUILTIN_AVAILABLE +-m4trace:configure.ac:610: -1- m4_pattern_allow([^HAVE_BUILTIN_AVAILABLE$]) +-m4trace:configure.ac:612: -1- AM_CONDITIONAL([HAVE_WINDRES], [test "$curl_cv_native_windows" = "yes" && test -n "${RC}"]) +-m4trace:configure.ac:612: -1- m4_pattern_allow([^HAVE_WINDRES_TRUE$]) +-m4trace:configure.ac:612: -1- m4_pattern_allow([^HAVE_WINDRES_FALSE$]) +-m4trace:configure.ac:612: -1- _AM_SUBST_NOTMAKE([HAVE_WINDRES_TRUE]) +-m4trace:configure.ac:612: -1- _AM_SUBST_NOTMAKE([HAVE_WINDRES_FALSE]) +-m4trace:configure.ac:616: -1- AM_COND_IF([HAVE_WINDRES], [], [AC_MSG_ERROR([windres not found in PATH. Windows builds require windres. Cannot continue.])]) +-m4trace:configure.ac:624: -1- m4_pattern_allow([^CURL_DISABLE_HTTP$]) +-m4trace:configure.ac:624: -1- m4_pattern_allow([^CURL_DISABLE_HTTP$]) +-m4trace:configure.ac:624: -1- m4_pattern_allow([^CURL_DISABLE_RTSP$]) +-m4trace:configure.ac:624: -1- m4_pattern_allow([^CURL_DISABLE_RTSP$]) +-m4trace:configure.ac:624: -1- m4_pattern_allow([^CURL_DISABLE_ALTSVC$]) +-m4trace:configure.ac:624: -1- m4_pattern_allow([^CURL_DISABLE_HSTS$]) +-m4trace:configure.ac:651: -1- m4_pattern_allow([^CURL_DISABLE_FTP$]) +-m4trace:configure.ac:651: -1- m4_pattern_allow([^CURL_DISABLE_FTP$]) +-m4trace:configure.ac:666: -1- m4_pattern_allow([^CURL_DISABLE_FILE$]) +-m4trace:configure.ac:666: -1- m4_pattern_allow([^CURL_DISABLE_FILE$]) +-m4trace:configure.ac:681: -1- m4_pattern_allow([^CURL_DISABLE_LDAP$]) +-m4trace:configure.ac:681: -1- m4_pattern_allow([^CURL_DISABLE_LDAP$]) +-m4trace:configure.ac:701: -1- m4_pattern_allow([^CURL_DISABLE_LDAPS$]) +-m4trace:configure.ac:701: -1- m4_pattern_allow([^CURL_DISABLE_LDAPS$]) +-m4trace:configure.ac:701: -1- m4_pattern_allow([^CURL_DISABLE_LDAPS$]) +-m4trace:configure.ac:701: -1- m4_pattern_allow([^CURL_DISABLE_LDAPS$]) +-m4trace:configure.ac:701: -1- m4_pattern_allow([^HAVE_LDAP_SSL$]) +-m4trace:configure.ac:701: -1- m4_pattern_allow([^HAVE_LDAP_SSL$]) +-m4trace:configure.ac:701: -1- m4_pattern_allow([^CURL_DISABLE_LDAPS$]) +-m4trace:configure.ac:701: -1- m4_pattern_allow([^CURL_DISABLE_LDAPS$]) +-m4trace:configure.ac:701: -1- m4_pattern_allow([^HAVE_LDAP_SSL$]) +-m4trace:configure.ac:701: -1- m4_pattern_allow([^HAVE_LDAP_SSL$]) +-m4trace:configure.ac:769: -1- CURL_CHECK_PKGCONFIG([hyper], [$want_hyper_path]) +-m4trace:configure.ac:769: -1- m4_pattern_allow([^PKGCONFIG$]) +-m4trace:configure.ac:769: -1- CURL_EXPORT_PCDIR([$want_hyper_path]) +-m4trace:configure.ac:772: -1- CURL_EXPORT_PCDIR([$want_hyper_path]) +-m4trace:configure.ac:774: -1- CURL_EXPORT_PCDIR([$want_hyper_path]) +-m4trace:configure.ac:776: -1- CURL_EXPORT_PCDIR([$want_hyper_path]) +-m4trace:configure.ac:800: -2- m4_pattern_allow([^USE_HYPER$]) +-m4trace:configure.ac:800: -2- m4_pattern_allow([^USE_HYPER$]) +-m4trace:configure.ac:800: -1- m4_pattern_allow([^HAVE_HYPER_H$]) +-m4trace:configure.ac:827: -1- m4_pattern_allow([^CURL_DISABLE_RTSP$]) +-m4trace:configure.ac:828: -1- m4_pattern_allow([^CURL_DISABLE_RTSP$]) +-m4trace:configure.ac:831: -1- m4_pattern_allow([^CURL_DISABLE_RTSP$]) +-m4trace:configure.ac:831: -1- m4_pattern_allow([^CURL_DISABLE_RTSP$]) +-m4trace:configure.ac:859: -1- m4_pattern_allow([^CURL_DISABLE_PROXY$]) +-m4trace:configure.ac:859: -1- m4_pattern_allow([^CURL_DISABLE_PROXY$]) +-m4trace:configure.ac:876: -1- m4_pattern_allow([^CURL_DISABLE_DICT$]) +-m4trace:configure.ac:876: -1- m4_pattern_allow([^CURL_DISABLE_DICT$]) +-m4trace:configure.ac:891: -1- m4_pattern_allow([^CURL_DISABLE_TELNET$]) +-m4trace:configure.ac:891: -1- m4_pattern_allow([^CURL_DISABLE_TELNET$]) +-m4trace:configure.ac:906: -1- m4_pattern_allow([^CURL_DISABLE_TFTP$]) +-m4trace:configure.ac:906: -1- m4_pattern_allow([^CURL_DISABLE_TFTP$]) +-m4trace:configure.ac:922: -1- m4_pattern_allow([^CURL_DISABLE_POP3$]) +-m4trace:configure.ac:922: -1- m4_pattern_allow([^CURL_DISABLE_POP3$]) +-m4trace:configure.ac:939: -1- m4_pattern_allow([^CURL_DISABLE_IMAP$]) +-m4trace:configure.ac:939: -1- m4_pattern_allow([^CURL_DISABLE_IMAP$]) +-m4trace:configure.ac:956: -1- m4_pattern_allow([^CURL_DISABLE_SMB$]) +-m4trace:configure.ac:956: -1- m4_pattern_allow([^CURL_DISABLE_SMB$]) +-m4trace:configure.ac:972: -1- m4_pattern_allow([^CURL_DISABLE_SMTP$]) +-m4trace:configure.ac:972: -1- m4_pattern_allow([^CURL_DISABLE_SMTP$]) +-m4trace:configure.ac:988: -1- m4_pattern_allow([^CURL_DISABLE_GOPHER$]) +-m4trace:configure.ac:988: -1- m4_pattern_allow([^CURL_DISABLE_GOPHER$]) +-m4trace:configure.ac:1004: -1- m4_pattern_allow([^CURL_DISABLE_MQTT$]) +-m4trace:configure.ac:1004: -1- m4_pattern_allow([^CURL_DISABLE_MQTT$]) +-m4trace:configure.ac:1045: -1- m4_pattern_allow([^CURL_DISABLE_LIBCURL_OPTION$]) +-m4trace:configure.ac:1078: -1- CURL_CHECK_LIB_XNET +-m4trace:configure.ac:1210: -1- m4_pattern_allow([^HAVE_PROTO_BSDSOCKET_H$]) +-m4trace:configure.ac:1210: -1- m4_pattern_allow([^HAVE_PROTO_BSDSOCKET_H$]) +-m4trace:configure.ac:1246: -1- CURL_CHECK_LIBS_CONNECT +-m4trace:configure.ac:1246: -1- CURL_INCLUDES_WINSOCK2 +-m4trace:configure.ac:1246: -1- CURL_CHECK_HEADER_WINDOWS +-m4trace:configure.ac:1246: -1- m4_pattern_allow([^HAVE_WINDOWS_H$]) +-m4trace:configure.ac:1246: -1- CURL_CHECK_HEADER_WINSOCK2 +-m4trace:configure.ac:1246: -1- m4_pattern_allow([^HAVE_WINSOCK2_H$]) +-m4trace:configure.ac:1246: -1- CURL_INCLUDES_BSDSOCKET +-m4trace:configure.ac:1246: -1- m4_pattern_allow([^HAVE_PROTO_BSDSOCKET_H$]) +-m4trace:configure.ac:1254: -1- CURL_CHECK_LIBS_CLOCK_GETTIME_MONOTONIC +-m4trace:configure.ac:1254: -1- CURL_CHECK_FUNC_CLOCK_GETTIME_MONOTONIC +-m4trace:configure.ac:1254: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) +-m4trace:configure.ac:1254: -1- m4_pattern_allow([^HAVE_SYS_TIME_H$]) +-m4trace:configure.ac:1254: -1- CURL_RUN_IFELSE([ ++m4trace:configure.ac:511: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:5778: CURL_RUN_IFELSE is expanded from... ++m4/curl-compilers.m4:429: CURL_COMPILER_WORKS_IFELSE is expanded from... ++m4/curl-compilers.m4:766: CURL_SET_COMPILER_WARNING_OPTS is expanded from... ++configure.ac:511: the top level]) ++m4trace:configure.ac:511: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:5778: CURL_RUN_IFELSE is expanded from... ++m4/curl-compilers.m4:429: CURL_COMPILER_WORKS_IFELSE is expanded from... ++m4/curl-compilers.m4:766: CURL_SET_COMPILER_WARNING_OPTS is expanded from... ++configure.ac:511: the top level]) ++m4trace:configure.ac:536: -1- m4_pattern_allow([^CURL_CFLAG_EXTRAS$]) ++m4trace:configure.ac:538: -1- CURL_CHECK_COMPILER_HALT_ON_ERROR ++m4trace:configure.ac:539: -1- CURL_CHECK_COMPILER_ARRAY_SIZE_NEGATIVE ++m4trace:configure.ac:540: -1- CURL_CHECK_COMPILER_PROTOTYPE_MISMATCH ++m4trace:configure.ac:541: -1- CURL_CHECK_COMPILER_SYMBOL_HIDING ++m4trace:configure.ac:543: -1- CURL_CHECK_CURLDEBUG ++m4trace:configure.ac:544: -1- AM_CONDITIONAL([CURLDEBUG], [test x$want_curldebug = xyes]) ++m4trace:configure.ac:544: -1- m4_pattern_allow([^CURLDEBUG_TRUE$]) ++m4trace:configure.ac:544: -1- m4_pattern_allow([^CURLDEBUG_FALSE$]) ++m4trace:configure.ac:544: -1- _AM_SUBST_NOTMAKE([CURLDEBUG_TRUE]) ++m4trace:configure.ac:544: -1- _AM_SUBST_NOTMAKE([CURLDEBUG_FALSE]) ++m4trace:configure.ac:582: -1- AM_CONDITIONAL([BUILD_UNITTESTS], [test x$want_unittests = xyes]) ++m4trace:configure.ac:582: -1- m4_pattern_allow([^BUILD_UNITTESTS_TRUE$]) ++m4trace:configure.ac:582: -1- m4_pattern_allow([^BUILD_UNITTESTS_FALSE$]) ++m4trace:configure.ac:582: -1- _AM_SUBST_NOTMAKE([BUILD_UNITTESTS_TRUE]) ++m4trace:configure.ac:582: -1- _AM_SUBST_NOTMAKE([BUILD_UNITTESTS_FALSE]) ++m4trace:configure.ac:588: -1- CURL_CHECK_WIN32_LARGEFILE ++m4trace:configure.ac:588: -1- m4_pattern_allow([^USE_WIN32_LARGE_FILES$]) ++m4trace:configure.ac:588: -1- m4_pattern_allow([^USE_WIN32_LARGE_FILES$]) ++m4trace:configure.ac:588: -1- m4_pattern_allow([^USE_WIN32_SMALL_FILES$]) ++m4trace:configure.ac:588: -1- m4_pattern_allow([^USE_WIN32_SMALL_FILES$]) ++m4trace:configure.ac:589: -1- CURL_CHECK_WIN32_CRYPTO ++m4trace:configure.ac:589: -1- m4_pattern_allow([^USE_WIN32_CRYPTO$]) ++m4trace:configure.ac:589: -1- m4_pattern_allow([^USE_WIN32_CRYPTO$]) ++m4trace:configure.ac:591: -1- CURL_DARWIN_CFLAGS ++m4trace:configure.ac:592: -1- CURL_DARWIN_SYSTEMCONFIGURATION ++m4trace:configure.ac:593: -1- CURL_SUPPORTS_BUILTIN_AVAILABLE ++m4trace:configure.ac:593: -1- m4_pattern_allow([^HAVE_BUILTIN_AVAILABLE$]) ++m4trace:configure.ac:595: -1- AM_CONDITIONAL([HAVE_WINDRES], [test "$curl_cv_native_windows" = "yes" && test -n "${RC}"]) ++m4trace:configure.ac:595: -1- m4_pattern_allow([^HAVE_WINDRES_TRUE$]) ++m4trace:configure.ac:595: -1- m4_pattern_allow([^HAVE_WINDRES_FALSE$]) ++m4trace:configure.ac:595: -1- _AM_SUBST_NOTMAKE([HAVE_WINDRES_TRUE]) ++m4trace:configure.ac:595: -1- _AM_SUBST_NOTMAKE([HAVE_WINDRES_FALSE]) ++m4trace:configure.ac:599: -1- AM_COND_IF([HAVE_WINDRES], [], [AC_MSG_ERROR([windres not found in PATH. Windows builds require windres. Cannot continue.])]) ++m4trace:configure.ac:607: -1- m4_pattern_allow([^CURL_DISABLE_HTTP$]) ++m4trace:configure.ac:607: -1- m4_pattern_allow([^CURL_DISABLE_HTTP$]) ++m4trace:configure.ac:607: -1- m4_pattern_allow([^CURL_DISABLE_RTSP$]) ++m4trace:configure.ac:607: -1- m4_pattern_allow([^CURL_DISABLE_RTSP$]) ++m4trace:configure.ac:607: -1- m4_pattern_allow([^CURL_DISABLE_ALTSVC$]) ++m4trace:configure.ac:607: -1- m4_pattern_allow([^CURL_DISABLE_HSTS$]) ++m4trace:configure.ac:634: -1- m4_pattern_allow([^CURL_DISABLE_FTP$]) ++m4trace:configure.ac:634: -1- m4_pattern_allow([^CURL_DISABLE_FTP$]) ++m4trace:configure.ac:649: -1- m4_pattern_allow([^CURL_DISABLE_FILE$]) ++m4trace:configure.ac:649: -1- m4_pattern_allow([^CURL_DISABLE_FILE$]) ++m4trace:configure.ac:664: -1- m4_pattern_allow([^CURL_DISABLE_LDAP$]) ++m4trace:configure.ac:664: -1- m4_pattern_allow([^CURL_DISABLE_LDAP$]) ++m4trace:configure.ac:684: -1- m4_pattern_allow([^CURL_DISABLE_LDAPS$]) ++m4trace:configure.ac:684: -1- m4_pattern_allow([^CURL_DISABLE_LDAPS$]) ++m4trace:configure.ac:684: -1- m4_pattern_allow([^CURL_DISABLE_LDAPS$]) ++m4trace:configure.ac:684: -1- m4_pattern_allow([^CURL_DISABLE_LDAPS$]) ++m4trace:configure.ac:684: -1- m4_pattern_allow([^HAVE_LDAP_SSL$]) ++m4trace:configure.ac:684: -1- m4_pattern_allow([^HAVE_LDAP_SSL$]) ++m4trace:configure.ac:684: -1- m4_pattern_allow([^CURL_DISABLE_LDAPS$]) ++m4trace:configure.ac:684: -1- m4_pattern_allow([^CURL_DISABLE_LDAPS$]) ++m4trace:configure.ac:684: -1- m4_pattern_allow([^HAVE_LDAP_SSL$]) ++m4trace:configure.ac:684: -1- m4_pattern_allow([^HAVE_LDAP_SSL$]) ++m4trace:configure.ac:752: -1- CURL_CHECK_PKGCONFIG([hyper], [$want_hyper_path]) ++m4trace:configure.ac:752: -1- m4_pattern_allow([^PKGCONFIG$]) ++m4trace:configure.ac:752: -1- CURL_EXPORT_PCDIR([$want_hyper_path]) ++m4trace:configure.ac:755: -1- CURL_EXPORT_PCDIR([$want_hyper_path]) ++m4trace:configure.ac:757: -1- CURL_EXPORT_PCDIR([$want_hyper_path]) ++m4trace:configure.ac:759: -1- CURL_EXPORT_PCDIR([$want_hyper_path]) ++m4trace:configure.ac:783: -2- m4_pattern_allow([^USE_HYPER$]) ++m4trace:configure.ac:783: -2- m4_pattern_allow([^USE_HYPER$]) ++m4trace:configure.ac:783: -1- m4_pattern_allow([^HAVE_HYPER_H$]) ++m4trace:configure.ac:809: -1- m4_pattern_allow([^CURL_DISABLE_RTSP$]) ++m4trace:configure.ac:810: -1- m4_pattern_allow([^CURL_DISABLE_RTSP$]) ++m4trace:configure.ac:813: -1- m4_pattern_allow([^CURL_DISABLE_RTSP$]) ++m4trace:configure.ac:813: -1- m4_pattern_allow([^CURL_DISABLE_RTSP$]) ++m4trace:configure.ac:841: -1- m4_pattern_allow([^CURL_DISABLE_PROXY$]) ++m4trace:configure.ac:841: -1- m4_pattern_allow([^CURL_DISABLE_PROXY$]) ++m4trace:configure.ac:858: -1- m4_pattern_allow([^CURL_DISABLE_DICT$]) ++m4trace:configure.ac:858: -1- m4_pattern_allow([^CURL_DISABLE_DICT$]) ++m4trace:configure.ac:873: -1- m4_pattern_allow([^CURL_DISABLE_TELNET$]) ++m4trace:configure.ac:873: -1- m4_pattern_allow([^CURL_DISABLE_TELNET$]) ++m4trace:configure.ac:888: -1- m4_pattern_allow([^CURL_DISABLE_TFTP$]) ++m4trace:configure.ac:888: -1- m4_pattern_allow([^CURL_DISABLE_TFTP$]) ++m4trace:configure.ac:904: -1- m4_pattern_allow([^CURL_DISABLE_POP3$]) ++m4trace:configure.ac:904: -1- m4_pattern_allow([^CURL_DISABLE_POP3$]) ++m4trace:configure.ac:921: -1- m4_pattern_allow([^CURL_DISABLE_IMAP$]) ++m4trace:configure.ac:921: -1- m4_pattern_allow([^CURL_DISABLE_IMAP$]) ++m4trace:configure.ac:938: -1- m4_pattern_allow([^CURL_DISABLE_SMB$]) ++m4trace:configure.ac:938: -1- m4_pattern_allow([^CURL_DISABLE_SMB$]) ++m4trace:configure.ac:954: -1- m4_pattern_allow([^CURL_DISABLE_SMTP$]) ++m4trace:configure.ac:954: -1- m4_pattern_allow([^CURL_DISABLE_SMTP$]) ++m4trace:configure.ac:970: -1- m4_pattern_allow([^CURL_DISABLE_GOPHER$]) ++m4trace:configure.ac:970: -1- m4_pattern_allow([^CURL_DISABLE_GOPHER$]) ++m4trace:configure.ac:986: -1- m4_pattern_allow([^CURL_DISABLE_MQTT$]) ++m4trace:configure.ac:986: -1- m4_pattern_allow([^CURL_DISABLE_MQTT$]) ++m4trace:configure.ac:1049: -1- m4_pattern_allow([^CURL_DISABLE_LIBCURL_OPTION$]) ++m4trace:configure.ac:1082: -1- CURL_CHECK_LIB_XNET ++m4trace:configure.ac:1209: -1- m4_pattern_allow([^HAVE_PROTO_BSDSOCKET_H$]) ++m4trace:configure.ac:1209: -1- m4_pattern_allow([^HAVE_PROTO_BSDSOCKET_H$]) ++m4trace:configure.ac:1245: -1- CURL_CHECK_LIBS_CONNECT ++m4trace:configure.ac:1245: -1- CURL_INCLUDES_WINSOCK2 ++m4trace:configure.ac:1245: -1- CURL_CHECK_NATIVE_WINDOWS ++m4trace:configure.ac:1245: -1- AM_CONDITIONAL([DOING_NATIVE_WINDOWS], [test "x$curl_cv_native_windows" = xyes]) ++m4trace:configure.ac:1245: -1- m4_pattern_allow([^DOING_NATIVE_WINDOWS_TRUE$]) ++m4trace:configure.ac:1245: -1- m4_pattern_allow([^DOING_NATIVE_WINDOWS_FALSE$]) ++m4trace:configure.ac:1245: -1- _AM_SUBST_NOTMAKE([DOING_NATIVE_WINDOWS_TRUE]) ++m4trace:configure.ac:1245: -1- _AM_SUBST_NOTMAKE([DOING_NATIVE_WINDOWS_FALSE]) ++m4trace:configure.ac:1245: -1- CURL_INCLUDES_BSDSOCKET ++m4trace:configure.ac:1245: -1- m4_pattern_allow([^HAVE_PROTO_BSDSOCKET_H$]) ++m4trace:configure.ac:1253: -1- CURL_CHECK_LIBS_CLOCK_GETTIME_MONOTONIC ++m4trace:configure.ac:1253: -1- CURL_CHECK_FUNC_CLOCK_GETTIME_MONOTONIC ++m4trace:configure.ac:1253: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) ++m4trace:configure.ac:1253: -1- m4_pattern_allow([^HAVE_SYS_TIME_H$]) ++m4trace:configure.ac:1253: -1- CURL_RUN_IFELSE([ + AC_LANG_PROGRAM([[ + #include + #ifdef HAVE_SYS_TYPES_H +@@ -14052,73 +13990,73 @@ m4trace:configure.ac:1254: -1- CURL_RUN_IFELSE([ + curl_func_clock_gettime="no" + LIBS="$curl_cv_save_LIBS" + ]) +-m4trace:configure.ac:1254: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:5818: CURL_RUN_IFELSE is expanded from... +-acinclude.m4:1080: CURL_CHECK_LIBS_CLOCK_GETTIME_MONOTONIC is expanded from... +-configure.ac:1254: the top level]) +-m4trace:configure.ac:1254: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:5818: CURL_RUN_IFELSE is expanded from... +-acinclude.m4:1080: CURL_CHECK_LIBS_CLOCK_GETTIME_MONOTONIC is expanded from... +-configure.ac:1254: the top level]) +-m4trace:configure.ac:1254: -1- m4_pattern_allow([^HAVE_CLOCK_GETTIME_MONOTONIC$]) +-m4trace:configure.ac:1257: -1- CURL_CHECK_FUNC_CLOCK_GETTIME_MONOTONIC_RAW +-m4trace:configure.ac:1257: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) +-m4trace:configure.ac:1257: -1- m4_pattern_allow([^HAVE_SYS_TIME_H$]) +-m4trace:configure.ac:1257: -1- m4_pattern_allow([^HAVE_CLOCK_GETTIME_MONOTONIC_RAW$]) +-m4trace:configure.ac:1290: -1- CURL_CHECK_PKGCONFIG([zlib]) +-m4trace:configure.ac:1290: -1- m4_pattern_allow([^PKGCONFIG$]) +-m4trace:configure.ac:1290: -1- CURL_EXPORT_PCDIR([]) ++m4trace:configure.ac:1253: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:5778: CURL_RUN_IFELSE is expanded from... ++acinclude.m4:942: CURL_CHECK_LIBS_CLOCK_GETTIME_MONOTONIC is expanded from... ++configure.ac:1253: the top level]) ++m4trace:configure.ac:1253: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:5778: CURL_RUN_IFELSE is expanded from... ++acinclude.m4:942: CURL_CHECK_LIBS_CLOCK_GETTIME_MONOTONIC is expanded from... ++configure.ac:1253: the top level]) ++m4trace:configure.ac:1253: -1- m4_pattern_allow([^HAVE_CLOCK_GETTIME_MONOTONIC$]) ++m4trace:configure.ac:1256: -1- CURL_CHECK_FUNC_CLOCK_GETTIME_MONOTONIC_RAW ++m4trace:configure.ac:1256: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) ++m4trace:configure.ac:1256: -1- m4_pattern_allow([^HAVE_SYS_TIME_H$]) ++m4trace:configure.ac:1256: -1- m4_pattern_allow([^HAVE_CLOCK_GETTIME_MONOTONIC_RAW$]) ++m4trace:configure.ac:1289: -1- CURL_CHECK_PKGCONFIG([zlib]) ++m4trace:configure.ac:1289: -1- m4_pattern_allow([^PKGCONFIG$]) ++m4trace:configure.ac:1289: -1- CURL_EXPORT_PCDIR([]) ++m4trace:configure.ac:1366: -1- m4_pattern_allow([^HAVE_LIBZ$]) + m4trace:configure.ac:1367: -1- m4_pattern_allow([^HAVE_LIBZ$]) +-m4trace:configure.ac:1368: -1- m4_pattern_allow([^HAVE_LIBZ$]) +-m4trace:configure.ac:1379: -1- AM_CONDITIONAL([HAVE_LIBZ], [test x"$AMFIXLIB" = x1]) +-m4trace:configure.ac:1379: -1- m4_pattern_allow([^HAVE_LIBZ_TRUE$]) +-m4trace:configure.ac:1379: -1- m4_pattern_allow([^HAVE_LIBZ_FALSE$]) +-m4trace:configure.ac:1379: -1- _AM_SUBST_NOTMAKE([HAVE_LIBZ_TRUE]) +-m4trace:configure.ac:1379: -1- _AM_SUBST_NOTMAKE([HAVE_LIBZ_FALSE]) +-m4trace:configure.ac:1380: -1- m4_pattern_allow([^ZLIB_LIBS$]) +-m4trace:configure.ac:1404: -1- CURL_CHECK_PKGCONFIG([libbrotlidec]) +-m4trace:configure.ac:1404: -1- m4_pattern_allow([^PKGCONFIG$]) +-m4trace:configure.ac:1404: -1- CURL_EXPORT_PCDIR([]) +-m4trace:configure.ac:1436: -1- m4_pattern_allow([^HAVE_LIBBROTLIDEC$]) ++m4trace:configure.ac:1378: -1- AM_CONDITIONAL([HAVE_LIBZ], [test x"$AMFIXLIB" = x1]) ++m4trace:configure.ac:1378: -1- m4_pattern_allow([^HAVE_LIBZ_TRUE$]) ++m4trace:configure.ac:1378: -1- m4_pattern_allow([^HAVE_LIBZ_FALSE$]) ++m4trace:configure.ac:1378: -1- _AM_SUBST_NOTMAKE([HAVE_LIBZ_TRUE]) ++m4trace:configure.ac:1378: -1- _AM_SUBST_NOTMAKE([HAVE_LIBZ_FALSE]) ++m4trace:configure.ac:1379: -1- m4_pattern_allow([^ZLIB_LIBS$]) ++m4trace:configure.ac:1403: -1- CURL_CHECK_PKGCONFIG([libbrotlidec]) ++m4trace:configure.ac:1403: -1- m4_pattern_allow([^PKGCONFIG$]) ++m4trace:configure.ac:1403: -1- CURL_EXPORT_PCDIR([]) ++m4trace:configure.ac:1435: -1- m4_pattern_allow([^HAVE_LIBBROTLIDEC$]) ++m4trace:configure.ac:1440: -2- m4_pattern_allow([^HAVE_BROTLI$]) + m4trace:configure.ac:1441: -2- m4_pattern_allow([^HAVE_BROTLI$]) +-m4trace:configure.ac:1442: -2- m4_pattern_allow([^HAVE_BROTLI$]) +-m4trace:configure.ac:1438: -1- m4_pattern_allow([^HAVE_BROTLI_DECODE_H$]) +-m4trace:configure.ac:1490: -1- CURL_CHECK_PKGCONFIG([libzstd]) +-m4trace:configure.ac:1490: -1- m4_pattern_allow([^PKGCONFIG$]) +-m4trace:configure.ac:1490: -1- CURL_EXPORT_PCDIR([]) +-m4trace:configure.ac:1522: -1- m4_pattern_allow([^HAVE_LIBZSTD$]) ++m4trace:configure.ac:1437: -1- m4_pattern_allow([^HAVE_BROTLI_DECODE_H$]) ++m4trace:configure.ac:1489: -1- CURL_CHECK_PKGCONFIG([libzstd]) ++m4trace:configure.ac:1489: -1- m4_pattern_allow([^PKGCONFIG$]) ++m4trace:configure.ac:1489: -1- CURL_EXPORT_PCDIR([]) ++m4trace:configure.ac:1521: -1- m4_pattern_allow([^HAVE_LIBZSTD$]) ++m4trace:configure.ac:1526: -2- m4_pattern_allow([^HAVE_ZSTD$]) + m4trace:configure.ac:1527: -2- m4_pattern_allow([^HAVE_ZSTD$]) +-m4trace:configure.ac:1528: -2- m4_pattern_allow([^HAVE_ZSTD$]) +-m4trace:configure.ac:1524: -1- m4_pattern_allow([^HAVE_ZSTD_H$]) +-m4trace:configure.ac:1573: -1- CURL_CHECK_HEADER_LBER +-m4trace:configure.ac:1573: -1- m4_pattern_allow([^HAVE_LBER_H$]) +-m4trace:configure.ac:1573: -1- m4_pattern_allow([^NEED_LBER_H$]) +-m4trace:configure.ac:1574: -1- CURL_CHECK_HEADER_LDAP +-m4trace:configure.ac:1574: -1- m4_pattern_allow([^HAVE_LDAP_H$]) +-m4trace:configure.ac:1575: -1- CURL_CHECK_HEADER_LDAP_SSL +-m4trace:configure.ac:1575: -1- m4_pattern_allow([^HAVE_LDAP_SSL_H$]) +-m4trace:configure.ac:1586: -1- m4_pattern_allow([^CURL_DISABLE_LDAP$]) +-m4trace:configure.ac:1586: -1- m4_pattern_allow([^CURL_DISABLE_LDAP$]) +-m4trace:configure.ac:1586: -1- m4_pattern_allow([^CURL_DISABLE_LDAPS$]) +-m4trace:configure.ac:1586: -1- m4_pattern_allow([^CURL_DISABLE_LDAPS$]) +-m4trace:configure.ac:1597: -1- CURL_CHECK_LIBS_LDAP ++m4trace:configure.ac:1523: -1- m4_pattern_allow([^HAVE_ZSTD_H$]) ++m4trace:configure.ac:1572: -1- CURL_CHECK_HEADER_LBER ++m4trace:configure.ac:1572: -1- m4_pattern_allow([^HAVE_LBER_H$]) ++m4trace:configure.ac:1572: -1- m4_pattern_allow([^NEED_LBER_H$]) ++m4trace:configure.ac:1573: -1- CURL_CHECK_HEADER_LDAP ++m4trace:configure.ac:1573: -1- m4_pattern_allow([^HAVE_LDAP_H$]) ++m4trace:configure.ac:1574: -1- CURL_CHECK_HEADER_LDAP_SSL ++m4trace:configure.ac:1574: -1- m4_pattern_allow([^HAVE_LDAP_SSL_H$]) ++m4trace:configure.ac:1585: -1- m4_pattern_allow([^CURL_DISABLE_LDAP$]) ++m4trace:configure.ac:1585: -1- m4_pattern_allow([^CURL_DISABLE_LDAP$]) ++m4trace:configure.ac:1585: -1- m4_pattern_allow([^CURL_DISABLE_LDAPS$]) ++m4trace:configure.ac:1585: -1- m4_pattern_allow([^CURL_DISABLE_LDAPS$]) ++m4trace:configure.ac:1596: -1- CURL_CHECK_LIBS_LDAP ++m4trace:configure.ac:1603: -1- m4_pattern_allow([^CURL_DISABLE_LDAP$]) + m4trace:configure.ac:1604: -1- m4_pattern_allow([^CURL_DISABLE_LDAP$]) +-m4trace:configure.ac:1605: -1- m4_pattern_allow([^CURL_DISABLE_LDAP$]) ++m4trace:configure.ac:1605: -1- m4_pattern_allow([^CURL_DISABLE_LDAPS$]) + m4trace:configure.ac:1606: -1- m4_pattern_allow([^CURL_DISABLE_LDAPS$]) +-m4trace:configure.ac:1607: -1- m4_pattern_allow([^CURL_DISABLE_LDAPS$]) +-m4trace:configure.ac:1619: -1- m4_pattern_allow([^CURL_DISABLE_LDAP$]) +-m4trace:configure.ac:1619: -1- m4_pattern_allow([^CURL_DISABLE_LDAP$]) +-m4trace:configure.ac:1619: -1- m4_pattern_allow([^CURL_DISABLE_LDAPS$]) +-m4trace:configure.ac:1619: -1- m4_pattern_allow([^CURL_DISABLE_LDAPS$]) +-m4trace:configure.ac:1630: -1- m4_pattern_allow([^HAVE_LDAP_URL_PARSE$]) +-m4trace:configure.ac:1630: -1- m4_pattern_allow([^HAVE_LDAP_INIT_FD$]) +-m4trace:configure.ac:1635: -1- m4_pattern_allow([^USE_WIN32_LDAP$]) ++m4trace:configure.ac:1618: -1- m4_pattern_allow([^CURL_DISABLE_LDAP$]) ++m4trace:configure.ac:1618: -1- m4_pattern_allow([^CURL_DISABLE_LDAP$]) ++m4trace:configure.ac:1618: -1- m4_pattern_allow([^CURL_DISABLE_LDAPS$]) ++m4trace:configure.ac:1618: -1- m4_pattern_allow([^CURL_DISABLE_LDAPS$]) ++m4trace:configure.ac:1629: -1- m4_pattern_allow([^HAVE_LDAP_URL_PARSE$]) ++m4trace:configure.ac:1629: -1- m4_pattern_allow([^HAVE_LDAP_INIT_FD$]) ++m4trace:configure.ac:1634: -1- m4_pattern_allow([^USE_WIN32_LDAP$]) ++m4trace:configure.ac:1638: -1- m4_pattern_allow([^USE_OPENLDAP$]) + m4trace:configure.ac:1639: -1- m4_pattern_allow([^USE_OPENLDAP$]) +-m4trace:configure.ac:1640: -1- m4_pattern_allow([^USE_OPENLDAP$]) +-m4trace:configure.ac:1704: -1- m4_pattern_allow([^ENABLE_IPV6$]) +-m4trace:configure.ac:1706: -1- m4_pattern_allow([^IPV6_ENABLED$]) +-m4trace:configure.ac:1709: -1- m4_pattern_allow([^HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID$]) +-m4trace:configure.ac:1736: -1- CURL_RUN_IFELSE([[ ++m4trace:configure.ac:1700: -1- m4_pattern_allow([^ENABLE_IPV6$]) ++m4trace:configure.ac:1702: -1- m4_pattern_allow([^IPV6_ENABLED$]) ++m4trace:configure.ac:1705: -1- m4_pattern_allow([^HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID$]) ++m4trace:configure.ac:1732: -1- CURL_RUN_IFELSE([[ + int main(int argc, char **argv) + { + #ifdef _WIN32 +@@ -14140,305 +14078,338 @@ int main(int argc, char **argv) + ], [ + curl_cv_writable_argv=cross + ]) +-m4trace:configure.ac:1760: -1- m4_pattern_allow([^HAVE_WRITABLE_ARGV$]) +-m4trace:configure.ac:1814: -1- CURL_CHECK_PKGCONFIG([mit-krb5-gssapi], [$GSSAPI_ROOT/lib/pkgconfig]) +-m4trace:configure.ac:1814: -1- m4_pattern_allow([^PKGCONFIG$]) +-m4trace:configure.ac:1814: -1- CURL_EXPORT_PCDIR([$GSSAPI_ROOT/lib/pkgconfig]) +-m4trace:configure.ac:1816: -1- CURL_CHECK_PKGCONFIG([mit-krb5-gssapi]) +-m4trace:configure.ac:1816: -1- m4_pattern_allow([^PKGCONFIG$]) +-m4trace:configure.ac:1816: -1- CURL_EXPORT_PCDIR([]) +-m4trace:configure.ac:1832: -1- m4_pattern_allow([^HAVE_GSSGNU$]) +-m4trace:configure.ac:1832: -1- m4_pattern_allow([^HAVE_GSSAPI_GSSAPI_H$]) +-m4trace:configure.ac:1832: -1- m4_pattern_allow([^HAVE_GSSHEIMDAL$]) +-m4trace:configure.ac:1832: -1- m4_pattern_allow([^HAVE_GSSMIT$]) +-m4trace:configure.ac:1832: -1- m4_pattern_allow([^HAVE_OLD_GSSMIT$]) +-m4trace:configure.ac:1895: -1- m4_pattern_allow([^HAVE_GSSAPI$]) +-m4trace:configure.ac:1910: -1- CURL_CHECK_PKGCONFIG([mit-krb5-gssapi], [$GSSAPI_ROOT/lib/pkgconfig]) +-m4trace:configure.ac:1910: -1- m4_pattern_allow([^PKGCONFIG$]) +-m4trace:configure.ac:1910: -1- CURL_EXPORT_PCDIR([$GSSAPI_ROOT/lib/pkgconfig]) +-m4trace:configure.ac:1912: -1- CURL_CHECK_PKGCONFIG([mit-krb5-gssapi]) +-m4trace:configure.ac:1912: -1- m4_pattern_allow([^PKGCONFIG$]) +-m4trace:configure.ac:1912: -1- CURL_EXPORT_PCDIR([]) +-m4trace:configure.ac:1978: -1- AM_CONDITIONAL([BUILD_STUB_GSS], [test "x$build_libstubgss" = "xyes"]) +-m4trace:configure.ac:1978: -1- m4_pattern_allow([^BUILD_STUB_GSS_TRUE$]) +-m4trace:configure.ac:1978: -1- m4_pattern_allow([^BUILD_STUB_GSS_FALSE$]) +-m4trace:configure.ac:1978: -1- _AM_SUBST_NOTMAKE([BUILD_STUB_GSS_TRUE]) +-m4trace:configure.ac:1978: -1- _AM_SUBST_NOTMAKE([BUILD_STUB_GSS_FALSE]) +-m4trace:configure.ac:2000: -1- m4_pattern_allow([^DEFAULT_SSL_BACKEND$]) +-m4trace:configure.ac:2006: -1- CURL_WITH_SCHANNEL +-m4trace:configure.ac:2006: -1- m4_pattern_allow([^USE_SCHANNEL$]) +-m4trace:configure.ac:2006: -1- m4_pattern_allow([^USE_SCHANNEL$]) +-m4trace:configure.ac:2006: -1- m4_pattern_allow([^USE_WINDOWS_SSPI$]) +-m4trace:configure.ac:2006: -1- m4_pattern_allow([^USE_WINDOWS_SSPI$]) +-m4trace:configure.ac:2007: -1- CURL_WITH_SECURETRANSPORT +-m4trace:configure.ac:2007: -1- m4_pattern_allow([^USE_SECTRANSP$]) +-m4trace:configure.ac:2007: -1- m4_pattern_allow([^USE_SECTRANSP$]) +-m4trace:configure.ac:2008: -1- CURL_WITH_AMISSL +-m4trace:configure.ac:2008: -1- m4_pattern_allow([^USE_AMISSL$]) +-m4trace:configure.ac:2008: -1- m4_pattern_allow([^USE_OPENSSL$]) +-m4trace:configure.ac:2008: -1- m4_pattern_allow([^HAVE_OPENSSL3$]) +-m4trace:configure.ac:2008: -1- m4_pattern_allow([^HAVE_OPENSSL_X509_H$]) +-m4trace:configure.ac:2008: -1- m4_pattern_allow([^HAVE_OPENSSL_RSA_H$]) +-m4trace:configure.ac:2008: -1- m4_pattern_allow([^HAVE_OPENSSL_CRYPTO_H$]) +-m4trace:configure.ac:2008: -1- m4_pattern_allow([^HAVE_OPENSSL_PEM_H$]) +-m4trace:configure.ac:2008: -1- m4_pattern_allow([^HAVE_OPENSSL_SSL_H$]) +-m4trace:configure.ac:2008: -1- m4_pattern_allow([^HAVE_OPENSSL_ERR_H$]) +-m4trace:configure.ac:2009: -1- CURL_WITH_OPENSSL +-m4trace:configure.ac:2009: -1- CURL_CHECK_PKGCONFIG([openssl], [$OPENSSL_PCDIR]) +-m4trace:configure.ac:2009: -1- m4_pattern_allow([^PKGCONFIG$]) +-m4trace:configure.ac:2009: -1- CURL_EXPORT_PCDIR([$OPENSSL_PCDIR]) +-m4trace:configure.ac:2009: -1- CURL_EXPORT_PCDIR([$OPENSSL_PCDIR]) +-m4trace:configure.ac:2009: -1- CURL_EXPORT_PCDIR([$OPENSSL_PCDIR]) +-m4trace:configure.ac:2009: -1- CURL_EXPORT_PCDIR([$OPENSSL_PCDIR]) +-m4trace:configure.ac:2009: -1- m4_pattern_allow([^SSL_LIBS$]) +-m4trace:configure.ac:2009: -1- m4_pattern_allow([^HAVE_LIBSSL$]) +-m4trace:configure.ac:2009: -1- m4_pattern_allow([^HAVE_LIBSSL$]) +-m4trace:configure.ac:2009: -2- m4_pattern_allow([^USE_OPENSSL$]) +-m4trace:configure.ac:2009: -1- m4_pattern_allow([^HAVE_X509_H$]) +-m4trace:configure.ac:2009: -1- m4_pattern_allow([^HAVE_RSA_H$]) +-m4trace:configure.ac:2009: -1- m4_pattern_allow([^HAVE_CRYPTO_H$]) +-m4trace:configure.ac:2009: -1- m4_pattern_allow([^HAVE_PEM_H$]) +-m4trace:configure.ac:2009: -1- m4_pattern_allow([^HAVE_SSL_H$]) +-m4trace:configure.ac:2009: -1- m4_pattern_allow([^HAVE_ERR_H$]) +-m4trace:configure.ac:2009: -1- m4_pattern_allow([^HAVE_LIBRESSL$]) +-m4trace:configure.ac:2009: -1- m4_pattern_allow([^HAVE_OPENSSL3$]) +-m4trace:configure.ac:2009: -1- _m4_warn([cross], [cannot check for file existence when cross compiling], [./lib/autoconf/general.m4:3010: AC_CHECK_FILE is expanded from... ++m4trace:configure.ac:1756: -1- m4_pattern_allow([^HAVE_WRITABLE_ARGV$]) ++m4trace:configure.ac:1810: -1- CURL_CHECK_PKGCONFIG([mit-krb5-gssapi], [$GSSAPI_ROOT/lib/pkgconfig]) ++m4trace:configure.ac:1810: -1- m4_pattern_allow([^PKGCONFIG$]) ++m4trace:configure.ac:1810: -1- CURL_EXPORT_PCDIR([$GSSAPI_ROOT/lib/pkgconfig]) ++m4trace:configure.ac:1812: -1- CURL_CHECK_PKGCONFIG([mit-krb5-gssapi]) ++m4trace:configure.ac:1812: -1- m4_pattern_allow([^PKGCONFIG$]) ++m4trace:configure.ac:1812: -1- CURL_EXPORT_PCDIR([]) ++m4trace:configure.ac:1828: -1- m4_pattern_allow([^HAVE_GSSGNU$]) ++m4trace:configure.ac:1828: -1- m4_pattern_allow([^HAVE_GSSAPI_GSSAPI_H$]) ++m4trace:configure.ac:1828: -1- m4_pattern_allow([^HAVE_OLD_GSSMIT$]) ++m4trace:configure.ac:1887: -1- m4_pattern_allow([^HAVE_GSSAPI$]) ++m4trace:configure.ac:1902: -1- CURL_CHECK_PKGCONFIG([mit-krb5-gssapi], [$GSSAPI_ROOT/lib/pkgconfig]) ++m4trace:configure.ac:1902: -1- m4_pattern_allow([^PKGCONFIG$]) ++m4trace:configure.ac:1902: -1- CURL_EXPORT_PCDIR([$GSSAPI_ROOT/lib/pkgconfig]) ++m4trace:configure.ac:1904: -1- CURL_CHECK_PKGCONFIG([mit-krb5-gssapi]) ++m4trace:configure.ac:1904: -1- m4_pattern_allow([^PKGCONFIG$]) ++m4trace:configure.ac:1904: -1- CURL_EXPORT_PCDIR([]) ++m4trace:configure.ac:1970: -1- AM_CONDITIONAL([BUILD_STUB_GSS], [test "x$build_libstubgss" = "xyes"]) ++m4trace:configure.ac:1970: -1- m4_pattern_allow([^BUILD_STUB_GSS_TRUE$]) ++m4trace:configure.ac:1970: -1- m4_pattern_allow([^BUILD_STUB_GSS_FALSE$]) ++m4trace:configure.ac:1970: -1- _AM_SUBST_NOTMAKE([BUILD_STUB_GSS_TRUE]) ++m4trace:configure.ac:1970: -1- _AM_SUBST_NOTMAKE([BUILD_STUB_GSS_FALSE]) ++m4trace:configure.ac:1992: -1- m4_pattern_allow([^DEFAULT_SSL_BACKEND$]) ++m4trace:configure.ac:1998: -1- CURL_WITH_SCHANNEL ++m4trace:configure.ac:1998: -1- m4_pattern_allow([^USE_SCHANNEL$]) ++m4trace:configure.ac:1998: -1- m4_pattern_allow([^USE_SCHANNEL$]) ++m4trace:configure.ac:1998: -1- m4_pattern_allow([^USE_WINDOWS_SSPI$]) ++m4trace:configure.ac:1998: -1- m4_pattern_allow([^USE_WINDOWS_SSPI$]) ++m4trace:configure.ac:1999: -1- CURL_WITH_SECURETRANSPORT ++m4trace:configure.ac:1999: -1- m4_pattern_allow([^USE_SECTRANSP$]) ++m4trace:configure.ac:1999: -1- m4_pattern_allow([^USE_SECTRANSP$]) ++m4trace:configure.ac:2000: -1- CURL_WITH_AMISSL ++m4trace:configure.ac:2000: -1- m4_pattern_allow([^USE_AMISSL$]) ++m4trace:configure.ac:2000: -1- m4_pattern_allow([^USE_OPENSSL$]) ++m4trace:configure.ac:2000: -1- m4_pattern_allow([^HAVE_OPENSSL3$]) ++m4trace:configure.ac:2000: -1- m4_pattern_allow([^HAVE_OPENSSL_X509_H$]) ++m4trace:configure.ac:2000: -1- m4_pattern_allow([^HAVE_OPENSSL_RSA_H$]) ++m4trace:configure.ac:2000: -1- m4_pattern_allow([^HAVE_OPENSSL_CRYPTO_H$]) ++m4trace:configure.ac:2000: -1- m4_pattern_allow([^HAVE_OPENSSL_PEM_H$]) ++m4trace:configure.ac:2000: -1- m4_pattern_allow([^HAVE_OPENSSL_SSL_H$]) ++m4trace:configure.ac:2000: -1- m4_pattern_allow([^HAVE_OPENSSL_ERR_H$]) ++m4trace:configure.ac:2001: -1- CURL_WITH_OPENSSL ++m4trace:configure.ac:2001: -1- CURL_CHECK_PKGCONFIG([openssl], [$OPENSSL_PCDIR]) ++m4trace:configure.ac:2001: -1- m4_pattern_allow([^PKGCONFIG$]) ++m4trace:configure.ac:2001: -1- CURL_EXPORT_PCDIR([$OPENSSL_PCDIR]) ++m4trace:configure.ac:2001: -1- CURL_EXPORT_PCDIR([$OPENSSL_PCDIR]) ++m4trace:configure.ac:2001: -1- CURL_EXPORT_PCDIR([$OPENSSL_PCDIR]) ++m4trace:configure.ac:2001: -1- CURL_EXPORT_PCDIR([$OPENSSL_PCDIR]) ++m4trace:configure.ac:2001: -1- m4_pattern_allow([^SSL_LIBS$]) ++m4trace:configure.ac:2001: -1- m4_pattern_allow([^HAVE_LIBSSL$]) ++m4trace:configure.ac:2001: -1- m4_pattern_allow([^HAVE_LIBSSL$]) ++m4trace:configure.ac:2001: -2- m4_pattern_allow([^USE_OPENSSL$]) ++m4trace:configure.ac:2001: -1- m4_pattern_allow([^HAVE_X509_H$]) ++m4trace:configure.ac:2001: -1- m4_pattern_allow([^HAVE_RSA_H$]) ++m4trace:configure.ac:2001: -1- m4_pattern_allow([^HAVE_CRYPTO_H$]) ++m4trace:configure.ac:2001: -1- m4_pattern_allow([^HAVE_PEM_H$]) ++m4trace:configure.ac:2001: -1- m4_pattern_allow([^HAVE_SSL_H$]) ++m4trace:configure.ac:2001: -1- m4_pattern_allow([^HAVE_ERR_H$]) ++m4trace:configure.ac:2001: -1- m4_pattern_allow([^HAVE_LIBRESSL$]) ++m4trace:configure.ac:2001: -1- m4_pattern_allow([^HAVE_OPENSSL3$]) ++m4trace:configure.ac:2001: -1- m4_pattern_allow([^HAVE_SSL_SET_QUIC_USE_LEGACY_CODEPOINT$]) ++m4trace:configure.ac:2001: -1- _m4_warn([cross], [cannot check for file existence when cross compiling], [./lib/autoconf/general.m4:3010: AC_CHECK_FILE is expanded from... + lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... + lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... + ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... + m4/curl-openssl.m4:32: CURL_WITH_OPENSSL is expanded from... +-configure.ac:2009: the top level]) +-m4trace:configure.ac:2009: -1- m4_pattern_allow([^RANDOM_FILE$]) +-m4trace:configure.ac:2009: -1- m4_pattern_allow([^RANDOM_FILE$]) +-m4trace:configure.ac:2009: -1- m4_pattern_allow([^HAVE_OPENSSL_SRP$]) +-m4trace:configure.ac:2009: -1- m4_pattern_allow([^HAVE_OPENSSL_SRP$]) +-m4trace:configure.ac:2009: -1- m4_pattern_allow([^CURL_DISABLE_OPENSSL_AUTO_LOAD_CONFIG$]) +-m4trace:configure.ac:2010: -1- CURL_WITH_GNUTLS +-m4trace:configure.ac:2010: -1- CURL_CHECK_PKGCONFIG([gnutls]) +-m4trace:configure.ac:2010: -1- m4_pattern_allow([^PKGCONFIG$]) +-m4trace:configure.ac:2010: -1- CURL_EXPORT_PCDIR([]) +-m4trace:configure.ac:2010: -1- m4_pattern_allow([^USE_GNUTLS$]) +-m4trace:configure.ac:2010: -1- m4_pattern_allow([^USE_GNUTLS$]) +-m4trace:configure.ac:2010: -1- m4_pattern_allow([^HAVE_GNUTLS_SRP$]) +-m4trace:configure.ac:2010: -1- m4_pattern_allow([^HAVE_GNUTLS_SRP$]) +-m4trace:configure.ac:2011: -1- CURL_WITH_MBEDTLS +-m4trace:configure.ac:2011: -1- m4_pattern_allow([^USE_MBEDTLS$]) +-m4trace:configure.ac:2011: -1- m4_pattern_allow([^USE_MBEDTLS$]) +-m4trace:configure.ac:2011: -1- m4_pattern_allow([^USE_MBEDTLS$]) +-m4trace:configure.ac:2011: -1- m4_pattern_allow([^USE_MBEDTLS$]) +-m4trace:configure.ac:2012: -1- CURL_WITH_WOLFSSL +-m4trace:configure.ac:2012: -1- CURL_CHECK_PKGCONFIG([wolfssl], [$wolfpkg]) +-m4trace:configure.ac:2012: -1- m4_pattern_allow([^PKGCONFIG$]) +-m4trace:configure.ac:2012: -1- CURL_EXPORT_PCDIR([$wolfpkg]) +-m4trace:configure.ac:2012: -1- CURL_EXPORT_PCDIR([$wolfpkg]) +-m4trace:configure.ac:2012: -1- CURL_EXPORT_PCDIR([$wolfpkg]) +-m4trace:configure.ac:2012: -1- CURL_EXPORT_PCDIR([$wolfpkg]) +-m4trace:configure.ac:2012: -1- CURL_EXPORT_PCDIR([$wolfpkg]) +-m4trace:configure.ac:2012: -1- m4_pattern_allow([^USE_WOLFSSL$]) +-m4trace:configure.ac:2012: -1- m4_pattern_allow([^USE_WOLFSSL$]) +-m4trace:configure.ac:2012: -1- CURL_SIZEOF([long long]) +-m4trace:configure.ac:2012: -1- m4_pattern_allow([^SIZEOF_LONG_LONG$]) +-m4trace:configure.ac:2012: -1- m4_pattern_allow([^HAVE_WOLFSSL_GET_PEER_CERTIFICATE$]) +-m4trace:configure.ac:2012: -1- m4_pattern_allow([^HAVE_WOLFSSL_USEALPN$]) +-m4trace:configure.ac:2012: -1- m4_pattern_allow([^HAVE_WOLFSSL_DES_ECB_ENCRYPT$]) +-m4trace:configure.ac:2012: -1- m4_pattern_allow([^HAVE_WOLFSSL_FULL_BIO$]) +-m4trace:configure.ac:2013: -1- CURL_WITH_BEARSSL +-m4trace:configure.ac:2013: -1- m4_pattern_allow([^USE_BEARSSL$]) +-m4trace:configure.ac:2013: -1- m4_pattern_allow([^USE_BEARSSL$]) +-m4trace:configure.ac:2013: -1- m4_pattern_allow([^USE_BEARSSL$]) +-m4trace:configure.ac:2013: -1- m4_pattern_allow([^USE_BEARSSL$]) +-m4trace:configure.ac:2014: -1- CURL_WITH_RUSTLS +-m4trace:configure.ac:2014: -1- m4_pattern_allow([^USE_RUSTLS$]) +-m4trace:configure.ac:2014: -1- m4_pattern_allow([^USE_RUSTLS$]) +-m4trace:configure.ac:2014: -1- m4_pattern_allow([^USE_RUSTLS$]) +-m4trace:configure.ac:2014: -1- m4_pattern_allow([^USE_RUSTLS$]) +-m4trace:configure.ac:2034: -1- m4_pattern_allow([^SSL_ENABLED$]) +-m4trace:configure.ac:2048: -1- m4_pattern_allow([^SSL_ENABLED$]) +-m4trace:configure.ac:2050: -1- m4_pattern_allow([^CURL_WITH_MULTI_SSL$]) +-m4trace:configure.ac:2052: -1- m4_pattern_allow([^CURL_WITH_MULTI_SSL$]) +-m4trace:configure.ac:2071: -1- m4_pattern_allow([^CURL_DEFAULT_SSL_BACKEND$]) +-m4trace:configure.ac:2079: -1- CURL_CHECK_CA_BUNDLE +-m4trace:configure.ac:2079: -1- m4_pattern_allow([^CURL_CA_BUNDLE$]) +-m4trace:configure.ac:2079: -1- m4_pattern_allow([^CURL_CA_BUNDLE$]) +-m4trace:configure.ac:2079: -1- m4_pattern_allow([^CURL_CA_PATH$]) +-m4trace:configure.ac:2079: -1- m4_pattern_allow([^CURL_CA_FALLBACK$]) +-m4trace:configure.ac:2092: -1- m4_pattern_allow([^USE_LIBPSL$]) +-m4trace:configure.ac:2101: -1- AM_CONDITIONAL([USE_LIBPSL], [test "$curl_psl_msg" = "enabled"]) +-m4trace:configure.ac:2101: -1- m4_pattern_allow([^USE_LIBPSL_TRUE$]) +-m4trace:configure.ac:2101: -1- m4_pattern_allow([^USE_LIBPSL_FALSE$]) +-m4trace:configure.ac:2101: -1- _AM_SUBST_NOTMAKE([USE_LIBPSL_TRUE]) +-m4trace:configure.ac:2101: -1- _AM_SUBST_NOTMAKE([USE_LIBPSL_FALSE]) +-m4trace:configure.ac:2114: -1- m4_pattern_allow([^USE_GSASL$]) +-m4trace:configure.ac:2123: -1- AM_CONDITIONAL([USE_GSASL], [test "$curl_gsasl_msg" = "enabled"]) +-m4trace:configure.ac:2123: -1- m4_pattern_allow([^USE_GSASL_TRUE$]) +-m4trace:configure.ac:2123: -1- m4_pattern_allow([^USE_GSASL_FALSE$]) +-m4trace:configure.ac:2123: -1- _AM_SUBST_NOTMAKE([USE_GSASL_TRUE]) +-m4trace:configure.ac:2123: -1- _AM_SUBST_NOTMAKE([USE_GSASL_FALSE]) +-m4trace:configure.ac:2161: -1- CURL_CHECK_PKGCONFIG([libssh2]) +-m4trace:configure.ac:2161: -1- m4_pattern_allow([^PKGCONFIG$]) +-m4trace:configure.ac:2161: -1- CURL_EXPORT_PCDIR([]) +-m4trace:configure.ac:2194: -1- m4_pattern_allow([^HAVE_LIBSSH2$]) +-m4trace:configure.ac:2199: -2- m4_pattern_allow([^USE_LIBSSH2$]) +-m4trace:configure.ac:2200: -2- m4_pattern_allow([^USE_LIBSSH2$]) +-m4trace:configure.ac:2235: -1- CURL_CHECK_PKGCONFIG([libssh]) +-m4trace:configure.ac:2235: -1- m4_pattern_allow([^PKGCONFIG$]) +-m4trace:configure.ac:2235: -1- CURL_EXPORT_PCDIR([]) +-m4trace:configure.ac:2267: -1- m4_pattern_allow([^HAVE_LIBSSH$]) +-m4trace:configure.ac:2272: -2- m4_pattern_allow([^USE_LIBSSH$]) +-m4trace:configure.ac:2273: -2- m4_pattern_allow([^USE_LIBSSH$]) +-m4trace:configure.ac:2312: -1- m4_pattern_allow([^HAVE_LIBWOLFSSH$]) +-m4trace:configure.ac:2317: -2- m4_pattern_allow([^USE_WOLFSSH$]) +-m4trace:configure.ac:2318: -2- m4_pattern_allow([^USE_WOLFSSH$]) +-m4trace:configure.ac:2314: -1- m4_pattern_allow([^HAVE_WOLFSSH_SSH_H$]) +-m4trace:configure.ac:2343: -1- CURL_CHECK_PKGCONFIG([librtmp]) +-m4trace:configure.ac:2343: -1- m4_pattern_allow([^PKGCONFIG$]) +-m4trace:configure.ac:2343: -1- CURL_EXPORT_PCDIR([]) +-m4trace:configure.ac:2380: -2- m4_pattern_allow([^USE_LIBRTMP$]) +-m4trace:configure.ac:2380: -2- m4_pattern_allow([^USE_LIBRTMP$]) +-m4trace:configure.ac:2380: -1- m4_pattern_allow([^HAVE_LIBRTMP_RTMP_H$]) +-m4trace:configure.ac:2447: -1- m4_pattern_allow([^CURL_LT_SHLIB_VERSIONED_FLAVOUR$]) +-m4trace:configure.ac:2449: -1- AM_CONDITIONAL([CURL_LT_SHLIB_USE_VERSIONED_SYMBOLS], [test "x$versioned_symbols" = 'xyes']) +-m4trace:configure.ac:2449: -1- m4_pattern_allow([^CURL_LT_SHLIB_USE_VERSIONED_SYMBOLS_TRUE$]) +-m4trace:configure.ac:2449: -1- m4_pattern_allow([^CURL_LT_SHLIB_USE_VERSIONED_SYMBOLS_FALSE$]) +-m4trace:configure.ac:2449: -1- _AM_SUBST_NOTMAKE([CURL_LT_SHLIB_USE_VERSIONED_SYMBOLS_TRUE]) +-m4trace:configure.ac:2449: -1- _AM_SUBST_NOTMAKE([CURL_LT_SHLIB_USE_VERSIONED_SYMBOLS_FALSE]) +-m4trace:configure.ac:2453: -1- m4_pattern_allow([^CURL_PLIST_VERSION$]) +-m4trace:configure.ac:2541: -1- m4_pattern_allow([^USE_WIN32_IDN$]) +-m4trace:configure.ac:2542: -1- m4_pattern_allow([^IDN_ENABLED$]) +-m4trace:configure.ac:2604: -1- CURL_CHECK_PKGCONFIG([libidn2], [$IDN_PCDIR]) +-m4trace:configure.ac:2604: -1- m4_pattern_allow([^PKGCONFIG$]) +-m4trace:configure.ac:2604: -1- CURL_EXPORT_PCDIR([$IDN_PCDIR]) +-m4trace:configure.ac:2606: -1- CURL_EXPORT_PCDIR([$IDN_PCDIR]) +-m4trace:configure.ac:2608: -1- CURL_EXPORT_PCDIR([$IDN_PCDIR]) +-m4trace:configure.ac:2610: -1- CURL_EXPORT_PCDIR([$IDN_PCDIR]) +-m4trace:configure.ac:2622: -1- CURL_CHECK_PKGCONFIG([libidn2]) +-m4trace:configure.ac:2622: -1- m4_pattern_allow([^PKGCONFIG$]) +-m4trace:configure.ac:2622: -1- CURL_EXPORT_PCDIR([]) +-m4trace:configure.ac:2661: -1- m4_pattern_allow([^HAVE_IDN2_H$]) +-m4trace:configure.ac:2664: -1- m4_pattern_allow([^HAVE_LIBIDN2$]) +-m4trace:configure.ac:2667: -1- m4_pattern_allow([^IDN_ENABLED$]) +-m4trace:configure.ac:2722: -1- CURL_CHECK_PKGCONFIG([libnghttp2], [$want_nghttp2_pkg_config_path]) +-m4trace:configure.ac:2722: -1- m4_pattern_allow([^PKGCONFIG$]) +-m4trace:configure.ac:2722: -1- CURL_EXPORT_PCDIR([$want_nghttp2_pkg_config_path]) +-m4trace:configure.ac:2725: -1- CURL_EXPORT_PCDIR([$want_nghttp2_pkg_config_path]) +-m4trace:configure.ac:2729: -1- CURL_EXPORT_PCDIR([$want_nghttp2_pkg_config_path]) +-m4trace:configure.ac:2733: -1- CURL_EXPORT_PCDIR([$want_nghttp2_pkg_config_path]) +-m4trace:configure.ac:2757: -2- m4_pattern_allow([^USE_NGHTTP2$]) +-m4trace:configure.ac:2757: -2- m4_pattern_allow([^USE_NGHTTP2$]) +-m4trace:configure.ac:2757: -1- m4_pattern_allow([^HAVE_NGHTTP2_NGHTTP2_H$]) +-m4trace:configure.ac:2816: -1- CURL_CHECK_PKGCONFIG([libngtcp2], [$want_tcp2_path]) +-m4trace:configure.ac:2816: -1- m4_pattern_allow([^PKGCONFIG$]) +-m4trace:configure.ac:2816: -1- CURL_EXPORT_PCDIR([$want_tcp2_path]) +-m4trace:configure.ac:2819: -1- CURL_EXPORT_PCDIR([$want_tcp2_path]) +-m4trace:configure.ac:2823: -1- CURL_EXPORT_PCDIR([$want_tcp2_path]) +-m4trace:configure.ac:2827: -1- CURL_EXPORT_PCDIR([$want_tcp2_path]) +-m4trace:configure.ac:2838: -2- m4_pattern_allow([^USE_NGTCP2$]) +-m4trace:configure.ac:2838: -2- m4_pattern_allow([^USE_NGTCP2$]) +-m4trace:configure.ac:2838: -1- m4_pattern_allow([^HAVE_NGTCP2_NGTCP2_H$]) +-m4trace:configure.ac:2872: -1- CURL_CHECK_PKGCONFIG([libngtcp2_crypto_quictls], [$want_tcp2_path]) +-m4trace:configure.ac:2872: -1- m4_pattern_allow([^PKGCONFIG$]) +-m4trace:configure.ac:2872: -1- CURL_EXPORT_PCDIR([$want_tcp2_path]) +-m4trace:configure.ac:2875: -1- CURL_EXPORT_PCDIR([$want_tcp2_path]) +-m4trace:configure.ac:2879: -1- CURL_EXPORT_PCDIR([$want_tcp2_path]) +-m4trace:configure.ac:2883: -1- CURL_EXPORT_PCDIR([$want_tcp2_path]) +-m4trace:configure.ac:2894: -2- m4_pattern_allow([^USE_NGTCP2_CRYPTO_QUICTLS$]) +-m4trace:configure.ac:2894: -2- m4_pattern_allow([^USE_NGTCP2_CRYPTO_QUICTLS$]) +-m4trace:configure.ac:2894: -1- m4_pattern_allow([^HAVE_NGTCP2_NGTCP2_CRYPTO_H$]) +-m4trace:configure.ac:2927: -1- CURL_CHECK_PKGCONFIG([libngtcp2_crypto_gnutls], [$want_tcp2_path]) +-m4trace:configure.ac:2927: -1- m4_pattern_allow([^PKGCONFIG$]) +-m4trace:configure.ac:2927: -1- CURL_EXPORT_PCDIR([$want_tcp2_path]) ++configure.ac:2001: the top level]) ++m4trace:configure.ac:2001: -1- m4_pattern_allow([^RANDOM_FILE$]) ++m4trace:configure.ac:2001: -1- m4_pattern_allow([^RANDOM_FILE$]) ++m4trace:configure.ac:2001: -1- m4_pattern_allow([^HAVE_OPENSSL_SRP$]) ++m4trace:configure.ac:2001: -1- m4_pattern_allow([^HAVE_OPENSSL_SRP$]) ++m4trace:configure.ac:2001: -1- m4_pattern_allow([^CURL_DISABLE_OPENSSL_AUTO_LOAD_CONFIG$]) ++m4trace:configure.ac:2001: -1- m4_pattern_allow([^HAVE_OPENSSL_QUIC$]) ++m4trace:configure.ac:2001: -1- m4_pattern_allow([^HAVE_OPENSSL_QUIC$]) ++m4trace:configure.ac:2002: -1- CURL_WITH_GNUTLS ++m4trace:configure.ac:2002: -1- CURL_CHECK_PKGCONFIG([gnutls]) ++m4trace:configure.ac:2002: -1- m4_pattern_allow([^PKGCONFIG$]) ++m4trace:configure.ac:2002: -1- CURL_EXPORT_PCDIR([]) ++m4trace:configure.ac:2002: -1- m4_pattern_allow([^USE_GNUTLS$]) ++m4trace:configure.ac:2002: -1- m4_pattern_allow([^USE_GNUTLS$]) ++m4trace:configure.ac:2002: -1- m4_pattern_allow([^HAVE_GNUTLS_SRP$]) ++m4trace:configure.ac:2002: -1- m4_pattern_allow([^HAVE_GNUTLS_SRP$]) ++m4trace:configure.ac:2003: -1- CURL_WITH_MBEDTLS ++m4trace:configure.ac:2003: -1- m4_pattern_allow([^USE_MBEDTLS$]) ++m4trace:configure.ac:2003: -1- m4_pattern_allow([^USE_MBEDTLS$]) ++m4trace:configure.ac:2003: -1- m4_pattern_allow([^USE_MBEDTLS$]) ++m4trace:configure.ac:2003: -1- m4_pattern_allow([^USE_MBEDTLS$]) ++m4trace:configure.ac:2004: -1- CURL_WITH_WOLFSSL ++m4trace:configure.ac:2004: -1- CURL_CHECK_PKGCONFIG([wolfssl], [$wolfpkg]) ++m4trace:configure.ac:2004: -1- m4_pattern_allow([^PKGCONFIG$]) ++m4trace:configure.ac:2004: -1- CURL_EXPORT_PCDIR([$wolfpkg]) ++m4trace:configure.ac:2004: -1- CURL_EXPORT_PCDIR([$wolfpkg]) ++m4trace:configure.ac:2004: -1- CURL_EXPORT_PCDIR([$wolfpkg]) ++m4trace:configure.ac:2004: -1- CURL_EXPORT_PCDIR([$wolfpkg]) ++m4trace:configure.ac:2004: -1- CURL_EXPORT_PCDIR([$wolfpkg]) ++m4trace:configure.ac:2004: -1- m4_pattern_allow([^USE_WOLFSSL$]) ++m4trace:configure.ac:2004: -1- m4_pattern_allow([^USE_WOLFSSL$]) ++m4trace:configure.ac:2004: -1- CURL_SIZEOF([long long]) ++m4trace:configure.ac:2004: -1- m4_pattern_allow([^SIZEOF_LONG_LONG$]) ++m4trace:configure.ac:2004: -1- m4_pattern_allow([^HAVE_WOLFSSL_GET_PEER_CERTIFICATE$]) ++m4trace:configure.ac:2004: -1- m4_pattern_allow([^HAVE_WOLFSSL_USEALPN$]) ++m4trace:configure.ac:2004: -1- m4_pattern_allow([^HAVE_WOLFSSL_DES_ECB_ENCRYPT$]) ++m4trace:configure.ac:2004: -1- m4_pattern_allow([^HAVE_WOLFSSL_FULL_BIO$]) ++m4trace:configure.ac:2005: -1- CURL_WITH_BEARSSL ++m4trace:configure.ac:2005: -1- m4_pattern_allow([^USE_BEARSSL$]) ++m4trace:configure.ac:2005: -1- m4_pattern_allow([^USE_BEARSSL$]) ++m4trace:configure.ac:2005: -1- m4_pattern_allow([^USE_BEARSSL$]) ++m4trace:configure.ac:2005: -1- m4_pattern_allow([^USE_BEARSSL$]) ++m4trace:configure.ac:2006: -1- CURL_WITH_RUSTLS ++m4trace:configure.ac:2006: -1- m4_pattern_allow([^USE_RUSTLS$]) ++m4trace:configure.ac:2006: -1- m4_pattern_allow([^USE_RUSTLS$]) ++m4trace:configure.ac:2006: -1- CURL_CHECK_PKGCONFIG([rustls], [$RUSTLS_PCDIR]) ++m4trace:configure.ac:2006: -1- m4_pattern_allow([^PKGCONFIG$]) ++m4trace:configure.ac:2006: -1- CURL_EXPORT_PCDIR([$RUSTLS_PCDIR]) ++m4trace:configure.ac:2006: -1- CURL_EXPORT_PCDIR([$RUSTLS_PCDIR]) ++m4trace:configure.ac:2006: -1- CURL_EXPORT_PCDIR([$RUSTLS_PCDIR]) ++m4trace:configure.ac:2006: -1- CURL_EXPORT_PCDIR([$RUSTLS_PCDIR]) ++m4trace:configure.ac:2006: -1- m4_pattern_allow([^SSL_LIBS$]) ++m4trace:configure.ac:2026: -1- m4_pattern_allow([^SSL_ENABLED$]) ++m4trace:configure.ac:2040: -1- m4_pattern_allow([^SSL_ENABLED$]) ++m4trace:configure.ac:2042: -1- m4_pattern_allow([^CURL_WITH_MULTI_SSL$]) ++m4trace:configure.ac:2044: -1- m4_pattern_allow([^CURL_WITH_MULTI_SSL$]) ++m4trace:configure.ac:2063: -1- m4_pattern_allow([^CURL_DEFAULT_SSL_BACKEND$]) ++m4trace:configure.ac:2071: -1- CURL_CHECK_CA_BUNDLE ++m4trace:configure.ac:2071: -1- m4_pattern_allow([^CURL_CA_BUNDLE$]) ++m4trace:configure.ac:2071: -1- m4_pattern_allow([^CURL_CA_BUNDLE$]) ++m4trace:configure.ac:2071: -1- m4_pattern_allow([^CURL_CA_PATH$]) ++m4trace:configure.ac:2071: -1- m4_pattern_allow([^CURL_CA_FALLBACK$]) ++m4trace:configure.ac:2094: -1- CURL_CHECK_PKGCONFIG([libpsl]) ++m4trace:configure.ac:2094: -1- m4_pattern_allow([^PKGCONFIG$]) ++m4trace:configure.ac:2094: -1- CURL_EXPORT_PCDIR([]) ++m4trace:configure.ac:2127: -2- m4_pattern_allow([^USE_LIBPSL$]) ++m4trace:configure.ac:2127: -2- m4_pattern_allow([^USE_LIBPSL$]) ++m4trace:configure.ac:2127: -1- m4_pattern_allow([^HAVE_LIBPSL_H$]) ++m4trace:configure.ac:2147: -1- AM_CONDITIONAL([USE_LIBPSL], [test "$curl_psl_msg" = "enabled"]) ++m4trace:configure.ac:2147: -1- m4_pattern_allow([^USE_LIBPSL_TRUE$]) ++m4trace:configure.ac:2147: -1- m4_pattern_allow([^USE_LIBPSL_FALSE$]) ++m4trace:configure.ac:2147: -1- _AM_SUBST_NOTMAKE([USE_LIBPSL_TRUE]) ++m4trace:configure.ac:2147: -1- _AM_SUBST_NOTMAKE([USE_LIBPSL_FALSE]) ++m4trace:configure.ac:2160: -1- m4_pattern_allow([^USE_GSASL$]) ++m4trace:configure.ac:2169: -1- AM_CONDITIONAL([USE_GSASL], [test "$curl_gsasl_msg" = "enabled"]) ++m4trace:configure.ac:2169: -1- m4_pattern_allow([^USE_GSASL_TRUE$]) ++m4trace:configure.ac:2169: -1- m4_pattern_allow([^USE_GSASL_FALSE$]) ++m4trace:configure.ac:2169: -1- _AM_SUBST_NOTMAKE([USE_GSASL_TRUE]) ++m4trace:configure.ac:2169: -1- _AM_SUBST_NOTMAKE([USE_GSASL_FALSE]) ++m4trace:configure.ac:2207: -1- CURL_CHECK_PKGCONFIG([libssh2]) ++m4trace:configure.ac:2207: -1- m4_pattern_allow([^PKGCONFIG$]) ++m4trace:configure.ac:2207: -1- CURL_EXPORT_PCDIR([]) ++m4trace:configure.ac:2240: -1- m4_pattern_allow([^HAVE_LIBSSH2$]) ++m4trace:configure.ac:2245: -2- m4_pattern_allow([^USE_LIBSSH2$]) ++m4trace:configure.ac:2246: -2- m4_pattern_allow([^USE_LIBSSH2$]) ++m4trace:configure.ac:2281: -1- CURL_CHECK_PKGCONFIG([libssh]) ++m4trace:configure.ac:2281: -1- m4_pattern_allow([^PKGCONFIG$]) ++m4trace:configure.ac:2281: -1- CURL_EXPORT_PCDIR([]) ++m4trace:configure.ac:2313: -1- m4_pattern_allow([^HAVE_LIBSSH$]) ++m4trace:configure.ac:2318: -2- m4_pattern_allow([^USE_LIBSSH$]) ++m4trace:configure.ac:2319: -2- m4_pattern_allow([^USE_LIBSSH$]) ++m4trace:configure.ac:2358: -1- m4_pattern_allow([^HAVE_LIBWOLFSSH$]) ++m4trace:configure.ac:2363: -2- m4_pattern_allow([^USE_WOLFSSH$]) ++m4trace:configure.ac:2364: -2- m4_pattern_allow([^USE_WOLFSSH$]) ++m4trace:configure.ac:2360: -1- m4_pattern_allow([^HAVE_WOLFSSH_SSH_H$]) ++m4trace:configure.ac:2389: -1- CURL_CHECK_PKGCONFIG([librtmp]) ++m4trace:configure.ac:2389: -1- m4_pattern_allow([^PKGCONFIG$]) ++m4trace:configure.ac:2389: -1- CURL_EXPORT_PCDIR([]) ++m4trace:configure.ac:2426: -2- m4_pattern_allow([^USE_LIBRTMP$]) ++m4trace:configure.ac:2426: -2- m4_pattern_allow([^USE_LIBRTMP$]) ++m4trace:configure.ac:2426: -1- m4_pattern_allow([^HAVE_LIBRTMP_RTMP_H$]) ++m4trace:configure.ac:2493: -1- m4_pattern_allow([^CURL_LT_SHLIB_VERSIONED_FLAVOUR$]) ++m4trace:configure.ac:2495: -1- AM_CONDITIONAL([CURL_LT_SHLIB_USE_VERSIONED_SYMBOLS], [test "x$versioned_symbols" = 'xyes']) ++m4trace:configure.ac:2495: -1- m4_pattern_allow([^CURL_LT_SHLIB_USE_VERSIONED_SYMBOLS_TRUE$]) ++m4trace:configure.ac:2495: -1- m4_pattern_allow([^CURL_LT_SHLIB_USE_VERSIONED_SYMBOLS_FALSE$]) ++m4trace:configure.ac:2495: -1- _AM_SUBST_NOTMAKE([CURL_LT_SHLIB_USE_VERSIONED_SYMBOLS_TRUE]) ++m4trace:configure.ac:2495: -1- _AM_SUBST_NOTMAKE([CURL_LT_SHLIB_USE_VERSIONED_SYMBOLS_FALSE]) ++m4trace:configure.ac:2499: -1- m4_pattern_allow([^CURL_PLIST_VERSION$]) ++m4trace:configure.ac:2587: -1- m4_pattern_allow([^USE_WIN32_IDN$]) ++m4trace:configure.ac:2588: -1- m4_pattern_allow([^IDN_ENABLED$]) ++m4trace:configure.ac:2650: -1- CURL_CHECK_PKGCONFIG([libidn2], [$IDN_PCDIR]) ++m4trace:configure.ac:2650: -1- m4_pattern_allow([^PKGCONFIG$]) ++m4trace:configure.ac:2650: -1- CURL_EXPORT_PCDIR([$IDN_PCDIR]) ++m4trace:configure.ac:2652: -1- CURL_EXPORT_PCDIR([$IDN_PCDIR]) ++m4trace:configure.ac:2654: -1- CURL_EXPORT_PCDIR([$IDN_PCDIR]) ++m4trace:configure.ac:2656: -1- CURL_EXPORT_PCDIR([$IDN_PCDIR]) ++m4trace:configure.ac:2668: -1- CURL_CHECK_PKGCONFIG([libidn2]) ++m4trace:configure.ac:2668: -1- m4_pattern_allow([^PKGCONFIG$]) ++m4trace:configure.ac:2668: -1- CURL_EXPORT_PCDIR([]) ++m4trace:configure.ac:2707: -1- m4_pattern_allow([^HAVE_IDN2_H$]) ++m4trace:configure.ac:2710: -1- m4_pattern_allow([^HAVE_LIBIDN2$]) ++m4trace:configure.ac:2713: -1- m4_pattern_allow([^IDN_ENABLED$]) ++m4trace:configure.ac:2768: -1- CURL_CHECK_PKGCONFIG([libnghttp2], [$want_nghttp2_pkg_config_path]) ++m4trace:configure.ac:2768: -1- m4_pattern_allow([^PKGCONFIG$]) ++m4trace:configure.ac:2768: -1- CURL_EXPORT_PCDIR([$want_nghttp2_pkg_config_path]) ++m4trace:configure.ac:2771: -1- CURL_EXPORT_PCDIR([$want_nghttp2_pkg_config_path]) ++m4trace:configure.ac:2775: -1- CURL_EXPORT_PCDIR([$want_nghttp2_pkg_config_path]) ++m4trace:configure.ac:2779: -1- CURL_EXPORT_PCDIR([$want_nghttp2_pkg_config_path]) ++m4trace:configure.ac:2803: -2- m4_pattern_allow([^USE_NGHTTP2$]) ++m4trace:configure.ac:2803: -2- m4_pattern_allow([^USE_NGHTTP2$]) ++m4trace:configure.ac:2803: -1- m4_pattern_allow([^HAVE_NGHTTP2_NGHTTP2_H$]) ++m4trace:configure.ac:2867: -1- CURL_CHECK_PKGCONFIG([libngtcp2], [$want_tcp2_path]) ++m4trace:configure.ac:2867: -1- m4_pattern_allow([^PKGCONFIG$]) ++m4trace:configure.ac:2867: -1- CURL_EXPORT_PCDIR([$want_tcp2_path]) ++m4trace:configure.ac:2870: -1- CURL_EXPORT_PCDIR([$want_tcp2_path]) ++m4trace:configure.ac:2874: -1- CURL_EXPORT_PCDIR([$want_tcp2_path]) ++m4trace:configure.ac:2878: -1- CURL_EXPORT_PCDIR([$want_tcp2_path]) ++m4trace:configure.ac:2889: -2- m4_pattern_allow([^USE_NGTCP2$]) ++m4trace:configure.ac:2889: -2- m4_pattern_allow([^USE_NGTCP2$]) ++m4trace:configure.ac:2889: -1- m4_pattern_allow([^HAVE_NGTCP2_NGTCP2_H$]) ++m4trace:configure.ac:2923: -1- CURL_CHECK_PKGCONFIG([libngtcp2_crypto_quictls], [$want_tcp2_path]) ++m4trace:configure.ac:2923: -1- m4_pattern_allow([^PKGCONFIG$]) ++m4trace:configure.ac:2923: -1- CURL_EXPORT_PCDIR([$want_tcp2_path]) ++m4trace:configure.ac:2926: -1- CURL_EXPORT_PCDIR([$want_tcp2_path]) + m4trace:configure.ac:2930: -1- CURL_EXPORT_PCDIR([$want_tcp2_path]) + m4trace:configure.ac:2934: -1- CURL_EXPORT_PCDIR([$want_tcp2_path]) +-m4trace:configure.ac:2938: -1- CURL_EXPORT_PCDIR([$want_tcp2_path]) +-m4trace:configure.ac:2949: -2- m4_pattern_allow([^USE_NGTCP2_CRYPTO_GNUTLS$]) +-m4trace:configure.ac:2949: -2- m4_pattern_allow([^USE_NGTCP2_CRYPTO_GNUTLS$]) +-m4trace:configure.ac:2949: -1- m4_pattern_allow([^HAVE_NGTCP2_NGTCP2_CRYPTO_H$]) +-m4trace:configure.ac:2982: -1- CURL_CHECK_PKGCONFIG([libngtcp2_crypto_wolfssl], [$want_tcp2_path]) +-m4trace:configure.ac:2982: -1- m4_pattern_allow([^PKGCONFIG$]) +-m4trace:configure.ac:2982: -1- CURL_EXPORT_PCDIR([$want_tcp2_path]) ++m4trace:configure.ac:2945: -2- m4_pattern_allow([^USE_NGTCP2_CRYPTO_QUICTLS$]) ++m4trace:configure.ac:2945: -2- m4_pattern_allow([^USE_NGTCP2_CRYPTO_QUICTLS$]) ++m4trace:configure.ac:2945: -1- m4_pattern_allow([^HAVE_NGTCP2_NGTCP2_CRYPTO_H$]) ++m4trace:configure.ac:2978: -1- CURL_CHECK_PKGCONFIG([libngtcp2_crypto_boringssl], [$want_tcp2_path]) ++m4trace:configure.ac:2978: -1- m4_pattern_allow([^PKGCONFIG$]) ++m4trace:configure.ac:2978: -1- CURL_EXPORT_PCDIR([$want_tcp2_path]) ++m4trace:configure.ac:2981: -1- CURL_EXPORT_PCDIR([$want_tcp2_path]) + m4trace:configure.ac:2985: -1- CURL_EXPORT_PCDIR([$want_tcp2_path]) + m4trace:configure.ac:2989: -1- CURL_EXPORT_PCDIR([$want_tcp2_path]) +-m4trace:configure.ac:2993: -1- CURL_EXPORT_PCDIR([$want_tcp2_path]) +-m4trace:configure.ac:3004: -2- m4_pattern_allow([^USE_NGTCP2_CRYPTO_WOLFSSL$]) +-m4trace:configure.ac:3004: -2- m4_pattern_allow([^USE_NGTCP2_CRYPTO_WOLFSSL$]) +-m4trace:configure.ac:3004: -1- m4_pattern_allow([^HAVE_NGTCP2_NGTCP2_CRYPTO_H$]) +-m4trace:configure.ac:3070: -1- CURL_CHECK_PKGCONFIG([libnghttp3], [$want_nghttp3_path]) +-m4trace:configure.ac:3070: -1- m4_pattern_allow([^PKGCONFIG$]) +-m4trace:configure.ac:3070: -1- CURL_EXPORT_PCDIR([$want_nghttp3_path]) +-m4trace:configure.ac:3073: -1- CURL_EXPORT_PCDIR([$want_nghttp3_path]) +-m4trace:configure.ac:3077: -1- CURL_EXPORT_PCDIR([$want_nghttp3_path]) +-m4trace:configure.ac:3081: -1- CURL_EXPORT_PCDIR([$want_nghttp3_path]) +-m4trace:configure.ac:3092: -2- m4_pattern_allow([^USE_NGHTTP3$]) +-m4trace:configure.ac:3092: -2- m4_pattern_allow([^USE_NGHTTP3$]) +-m4trace:configure.ac:3092: -1- m4_pattern_allow([^HAVE_NGHTTP3_NGHTTP3_H$]) +-m4trace:configure.ac:3165: -1- CURL_CHECK_PKGCONFIG([quiche], [$want_quiche_path]) +-m4trace:configure.ac:3165: -1- m4_pattern_allow([^PKGCONFIG$]) +-m4trace:configure.ac:3165: -1- CURL_EXPORT_PCDIR([$want_quiche_path]) +-m4trace:configure.ac:3168: -1- CURL_EXPORT_PCDIR([$want_quiche_path]) +-m4trace:configure.ac:3172: -1- CURL_EXPORT_PCDIR([$want_quiche_path]) +-m4trace:configure.ac:3176: -1- CURL_EXPORT_PCDIR([$want_quiche_path]) +-m4trace:configure.ac:3187: -2- m4_pattern_allow([^USE_QUICHE$]) +-m4trace:configure.ac:3187: -2- m4_pattern_allow([^USE_QUICHE$]) +-m4trace:configure.ac:3187: -2- m4_pattern_allow([^HAVE_QUICHE_CONN_SET_QLOG_FD$]) +-m4trace:configure.ac:3187: -1- m4_pattern_allow([^HAVE_QUICHE_H$]) +-m4trace:configure.ac:3272: -2- m4_pattern_allow([^USE_MSH3$]) +-m4trace:configure.ac:3272: -2- m4_pattern_allow([^USE_MSH3$]) +-m4trace:configure.ac:3272: -1- m4_pattern_allow([^HAVE_MSH3_H$]) +-m4trace:configure.ac:3308: -1- m4_pattern_allow([^ZSH_FUNCTIONS_DIR$]) +-m4trace:configure.ac:3313: -1- m4_pattern_allow([^ZSH_FUNCTIONS_DIR$]) +-m4trace:configure.ac:3332: -1- CURL_CHECK_PKGCONFIG([fish]) +-m4trace:configure.ac:3332: -1- m4_pattern_allow([^PKGCONFIG$]) +-m4trace:configure.ac:3332: -1- CURL_EXPORT_PCDIR([]) +-m4trace:configure.ac:3338: -1- m4_pattern_allow([^FISH_FUNCTIONS_DIR$]) +-m4trace:configure.ac:3343: -1- m4_pattern_allow([^FISH_FUNCTIONS_DIR$]) +-m4trace:configure.ac:3349: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) +-m4trace:configure.ac:3349: -1- m4_pattern_allow([^HAVE_SYS_TIME_H$]) +-m4trace:configure.ac:3349: -1- m4_pattern_allow([^HAVE_SYS_SELECT_H$]) +-m4trace:configure.ac:3349: -1- m4_pattern_allow([^HAVE_SYS_SOCKET_H$]) +-m4trace:configure.ac:3349: -1- m4_pattern_allow([^HAVE_SYS_IOCTL_H$]) +-m4trace:configure.ac:3349: -1- m4_pattern_allow([^HAVE_UNISTD_H$]) +-m4trace:configure.ac:3349: -1- m4_pattern_allow([^HAVE_STDLIB_H$]) +-m4trace:configure.ac:3349: -1- m4_pattern_allow([^HAVE_ARPA_INET_H$]) +-m4trace:configure.ac:3349: -1- m4_pattern_allow([^HAVE_NET_IF_H$]) +-m4trace:configure.ac:3349: -1- m4_pattern_allow([^HAVE_NETINET_IN_H$]) +-m4trace:configure.ac:3349: -1- m4_pattern_allow([^HAVE_NETINET_IN6_H$]) +-m4trace:configure.ac:3349: -1- m4_pattern_allow([^HAVE_SYS_UN_H$]) +-m4trace:configure.ac:3349: -1- m4_pattern_allow([^HAVE_LINUX_TCP_H$]) +-m4trace:configure.ac:3349: -1- m4_pattern_allow([^HAVE_NETINET_TCP_H$]) +-m4trace:configure.ac:3349: -1- m4_pattern_allow([^HAVE_NETINET_UDP_H$]) +-m4trace:configure.ac:3349: -1- m4_pattern_allow([^HAVE_NETDB_H$]) +-m4trace:configure.ac:3349: -1- m4_pattern_allow([^HAVE_SYS_SOCKIO_H$]) +-m4trace:configure.ac:3349: -1- m4_pattern_allow([^HAVE_SYS_STAT_H$]) +-m4trace:configure.ac:3349: -1- m4_pattern_allow([^HAVE_SYS_PARAM_H$]) +-m4trace:configure.ac:3349: -1- m4_pattern_allow([^HAVE_TERMIOS_H$]) +-m4trace:configure.ac:3349: -1- m4_pattern_allow([^HAVE_TERMIO_H$]) +-m4trace:configure.ac:3349: -1- m4_pattern_allow([^HAVE_FCNTL_H$]) +-m4trace:configure.ac:3349: -1- m4_pattern_allow([^HAVE_IO_H$]) +-m4trace:configure.ac:3349: -1- m4_pattern_allow([^HAVE_PWD_H$]) +-m4trace:configure.ac:3349: -1- m4_pattern_allow([^HAVE_UTIME_H$]) +-m4trace:configure.ac:3349: -1- m4_pattern_allow([^HAVE_SYS_UTIME_H$]) +-m4trace:configure.ac:3349: -1- m4_pattern_allow([^HAVE_SYS_POLL_H$]) +-m4trace:configure.ac:3349: -1- m4_pattern_allow([^HAVE_POLL_H$]) +-m4trace:configure.ac:3349: -1- m4_pattern_allow([^HAVE_SOCKET_H$]) +-m4trace:configure.ac:3349: -1- m4_pattern_allow([^HAVE_SYS_RESOURCE_H$]) +-m4trace:configure.ac:3349: -1- m4_pattern_allow([^HAVE_LIBGEN_H$]) +-m4trace:configure.ac:3349: -1- m4_pattern_allow([^HAVE_LOCALE_H$]) +-m4trace:configure.ac:3349: -1- m4_pattern_allow([^HAVE_STDBOOL_H$]) +-m4trace:configure.ac:3349: -1- m4_pattern_allow([^HAVE_SYS_FILIO_H$]) +-m4trace:configure.ac:3349: -1- m4_pattern_allow([^HAVE_SYS_WAIT_H$]) +-m4trace:configure.ac:3349: -1- m4_pattern_allow([^HAVE_SETJMP_H$]) +-m4trace:configure.ac:3420: -1- m4_pattern_allow([^const$]) +-m4trace:configure.ac:3421: -1- CURL_CHECK_VARIADIC_MACROS +-m4trace:configure.ac:3421: -1- m4_pattern_allow([^HAVE_VARIADIC_MACROS_C99$]) +-m4trace:configure.ac:3421: -1- m4_pattern_allow([^HAVE_VARIADIC_MACROS_GCC$]) +-m4trace:configure.ac:3422: -1- m4_pattern_allow([^size_t$]) +-m4trace:configure.ac:3424: -1- CURL_CHECK_STRUCT_TIMEVAL +-m4trace:configure.ac:3424: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) +-m4trace:configure.ac:3424: -1- m4_pattern_allow([^HAVE_SYS_TIME_H$]) +-m4trace:configure.ac:3424: -1- m4_pattern_allow([^HAVE_SYS_SOCKET_H$]) +-m4trace:configure.ac:3424: -1- m4_pattern_allow([^HAVE_STRUCT_TIMEVAL$]) +-m4trace:configure.ac:3425: -1- CURL_VERIFY_RUNTIMELIBS +-m4trace:configure.ac:3425: -1- CURL_RUN_IFELSE([ ++m4trace:configure.ac:3000: -2- m4_pattern_allow([^USE_NGTCP2_CRYPTO_BORINGSSL$]) ++m4trace:configure.ac:3000: -2- m4_pattern_allow([^USE_NGTCP2_CRYPTO_BORINGSSL$]) ++m4trace:configure.ac:3000: -1- m4_pattern_allow([^HAVE_NGTCP2_NGTCP2_CRYPTO_H$]) ++m4trace:configure.ac:3033: -1- CURL_CHECK_PKGCONFIG([libngtcp2_crypto_gnutls], [$want_tcp2_path]) ++m4trace:configure.ac:3033: -1- m4_pattern_allow([^PKGCONFIG$]) ++m4trace:configure.ac:3033: -1- CURL_EXPORT_PCDIR([$want_tcp2_path]) ++m4trace:configure.ac:3036: -1- CURL_EXPORT_PCDIR([$want_tcp2_path]) ++m4trace:configure.ac:3040: -1- CURL_EXPORT_PCDIR([$want_tcp2_path]) ++m4trace:configure.ac:3044: -1- CURL_EXPORT_PCDIR([$want_tcp2_path]) ++m4trace:configure.ac:3055: -2- m4_pattern_allow([^USE_NGTCP2_CRYPTO_GNUTLS$]) ++m4trace:configure.ac:3055: -2- m4_pattern_allow([^USE_NGTCP2_CRYPTO_GNUTLS$]) ++m4trace:configure.ac:3055: -1- m4_pattern_allow([^HAVE_NGTCP2_NGTCP2_CRYPTO_H$]) ++m4trace:configure.ac:3088: -1- CURL_CHECK_PKGCONFIG([libngtcp2_crypto_wolfssl], [$want_tcp2_path]) ++m4trace:configure.ac:3088: -1- m4_pattern_allow([^PKGCONFIG$]) ++m4trace:configure.ac:3088: -1- CURL_EXPORT_PCDIR([$want_tcp2_path]) ++m4trace:configure.ac:3091: -1- CURL_EXPORT_PCDIR([$want_tcp2_path]) ++m4trace:configure.ac:3095: -1- CURL_EXPORT_PCDIR([$want_tcp2_path]) ++m4trace:configure.ac:3099: -1- CURL_EXPORT_PCDIR([$want_tcp2_path]) ++m4trace:configure.ac:3110: -2- m4_pattern_allow([^USE_NGTCP2_CRYPTO_WOLFSSL$]) ++m4trace:configure.ac:3110: -2- m4_pattern_allow([^USE_NGTCP2_CRYPTO_WOLFSSL$]) ++m4trace:configure.ac:3110: -1- m4_pattern_allow([^HAVE_NGTCP2_NGTCP2_CRYPTO_H$]) ++m4trace:configure.ac:3172: -1- m4_pattern_allow([^USE_OPENSSL_QUIC$]) ++m4trace:configure.ac:3173: -1- m4_pattern_allow([^USE_OPENSSL_QUIC$]) ++m4trace:configure.ac:3217: -1- CURL_CHECK_PKGCONFIG([libnghttp3], [$want_nghttp3_path]) ++m4trace:configure.ac:3217: -1- m4_pattern_allow([^PKGCONFIG$]) ++m4trace:configure.ac:3217: -1- CURL_EXPORT_PCDIR([$want_nghttp3_path]) ++m4trace:configure.ac:3220: -1- CURL_EXPORT_PCDIR([$want_nghttp3_path]) ++m4trace:configure.ac:3224: -1- CURL_EXPORT_PCDIR([$want_nghttp3_path]) ++m4trace:configure.ac:3228: -1- CURL_EXPORT_PCDIR([$want_nghttp3_path]) ++m4trace:configure.ac:3239: -2- m4_pattern_allow([^USE_NGHTTP3$]) ++m4trace:configure.ac:3239: -2- m4_pattern_allow([^USE_NGHTTP3$]) ++m4trace:configure.ac:3239: -1- m4_pattern_allow([^HAVE_NGHTTP3_NGHTTP3_H$]) ++m4trace:configure.ac:3271: -1- m4_pattern_allow([^USE_NGTCP2_H3$]) ++m4trace:configure.ac:3272: -1- m4_pattern_allow([^USE_NGTCP2_H3$]) ++m4trace:configure.ac:3283: -1- m4_pattern_allow([^USE_OPENSSL_H3$]) ++m4trace:configure.ac:3284: -1- m4_pattern_allow([^USE_OPENSSL_H3$]) ++m4trace:configure.ac:3336: -1- CURL_CHECK_PKGCONFIG([quiche], [$want_quiche_path]) ++m4trace:configure.ac:3336: -1- m4_pattern_allow([^PKGCONFIG$]) ++m4trace:configure.ac:3336: -1- CURL_EXPORT_PCDIR([$want_quiche_path]) ++m4trace:configure.ac:3339: -1- CURL_EXPORT_PCDIR([$want_quiche_path]) ++m4trace:configure.ac:3343: -1- CURL_EXPORT_PCDIR([$want_quiche_path]) ++m4trace:configure.ac:3347: -1- CURL_EXPORT_PCDIR([$want_quiche_path]) ++m4trace:configure.ac:3358: -2- m4_pattern_allow([^USE_QUICHE$]) ++m4trace:configure.ac:3358: -2- m4_pattern_allow([^USE_QUICHE$]) ++m4trace:configure.ac:3358: -2- m4_pattern_allow([^HAVE_QUICHE_CONN_SET_QLOG_FD$]) ++m4trace:configure.ac:3358: -1- m4_pattern_allow([^HAVE_QUICHE_H$]) ++m4trace:configure.ac:3456: -2- m4_pattern_allow([^USE_MSH3$]) ++m4trace:configure.ac:3456: -2- m4_pattern_allow([^USE_MSH3$]) ++m4trace:configure.ac:3456: -1- m4_pattern_allow([^HAVE_MSH3_H$]) ++m4trace:configure.ac:3492: -1- m4_pattern_allow([^ZSH_FUNCTIONS_DIR$]) ++m4trace:configure.ac:3497: -1- m4_pattern_allow([^ZSH_FUNCTIONS_DIR$]) ++m4trace:configure.ac:3500: -1- AM_CONDITIONAL([USE_ZSH_COMPLETION], [test x"$ZSH_FUNCTIONS_DIR" != x]) ++m4trace:configure.ac:3500: -1- m4_pattern_allow([^USE_ZSH_COMPLETION_TRUE$]) ++m4trace:configure.ac:3500: -1- m4_pattern_allow([^USE_ZSH_COMPLETION_FALSE$]) ++m4trace:configure.ac:3500: -1- _AM_SUBST_NOTMAKE([USE_ZSH_COMPLETION_TRUE]) ++m4trace:configure.ac:3500: -1- _AM_SUBST_NOTMAKE([USE_ZSH_COMPLETION_FALSE]) ++m4trace:configure.ac:3517: -1- CURL_CHECK_PKGCONFIG([fish]) ++m4trace:configure.ac:3517: -1- m4_pattern_allow([^PKGCONFIG$]) ++m4trace:configure.ac:3517: -1- CURL_EXPORT_PCDIR([]) ++m4trace:configure.ac:3523: -1- m4_pattern_allow([^FISH_FUNCTIONS_DIR$]) ++m4trace:configure.ac:3528: -1- m4_pattern_allow([^FISH_FUNCTIONS_DIR$]) ++m4trace:configure.ac:3531: -1- AM_CONDITIONAL([USE_FISH_COMPLETION], [test x"$FISH_FUNCTIONS_DIR" != x]) ++m4trace:configure.ac:3531: -1- m4_pattern_allow([^USE_FISH_COMPLETION_TRUE$]) ++m4trace:configure.ac:3531: -1- m4_pattern_allow([^USE_FISH_COMPLETION_FALSE$]) ++m4trace:configure.ac:3531: -1- _AM_SUBST_NOTMAKE([USE_FISH_COMPLETION_TRUE]) ++m4trace:configure.ac:3531: -1- _AM_SUBST_NOTMAKE([USE_FISH_COMPLETION_FALSE]) ++m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) ++m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_SYS_TIME_H$]) ++m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_SYS_SELECT_H$]) ++m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_SYS_SOCKET_H$]) ++m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_SYS_IOCTL_H$]) ++m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_UNISTD_H$]) ++m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_STDLIB_H$]) ++m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_ARPA_INET_H$]) ++m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_NET_IF_H$]) ++m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_NETINET_IN_H$]) ++m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_NETINET_IN6_H$]) ++m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_SYS_UN_H$]) ++m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_LINUX_TCP_H$]) ++m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_NETINET_TCP_H$]) ++m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_NETINET_UDP_H$]) ++m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_NETDB_H$]) ++m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_SYS_SOCKIO_H$]) ++m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_SYS_STAT_H$]) ++m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_SYS_PARAM_H$]) ++m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_TERMIOS_H$]) ++m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_TERMIO_H$]) ++m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_FCNTL_H$]) ++m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_IO_H$]) ++m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_PWD_H$]) ++m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_UTIME_H$]) ++m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_SYS_UTIME_H$]) ++m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_SYS_POLL_H$]) ++m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_POLL_H$]) ++m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_SOCKET_H$]) ++m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_SYS_RESOURCE_H$]) ++m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_LIBGEN_H$]) ++m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_LOCALE_H$]) ++m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_STDBOOL_H$]) ++m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_SYS_FILIO_H$]) ++m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_SYS_WAIT_H$]) ++m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_SETJMP_H$]) ++m4trace:configure.ac:3606: -1- m4_pattern_allow([^const$]) ++m4trace:configure.ac:3607: -1- m4_pattern_allow([^size_t$]) ++m4trace:configure.ac:3609: -1- CURL_CHECK_STRUCT_TIMEVAL ++m4trace:configure.ac:3609: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) ++m4trace:configure.ac:3609: -1- m4_pattern_allow([^HAVE_SYS_TIME_H$]) ++m4trace:configure.ac:3609: -1- m4_pattern_allow([^HAVE_SYS_SOCKET_H$]) ++m4trace:configure.ac:3609: -1- m4_pattern_allow([^HAVE_STRUCT_TIMEVAL$]) ++m4trace:configure.ac:3610: -1- CURL_VERIFY_RUNTIMELIBS ++m4trace:configure.ac:3610: -1- CURL_RUN_IFELSE([ + int main() + { + return 0; +@@ -14448,40 +14419,40 @@ printf "%s\n" "fine" >&6; }], [{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: res + printf "%s\n" "failed" >&6; } + as_fn_error $? "one or more libs available at link-time are not available run-time. Libs used at link-time: $LIBS" "$LINENO" 5 + ]) +-m4trace:configure.ac:3425: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:5818: CURL_RUN_IFELSE is expanded from... +-acinclude.m4:1353: CURL_VERIFY_RUNTIMELIBS is expanded from... +-configure.ac:3425: the top level]) +-m4trace:configure.ac:3425: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:5818: CURL_RUN_IFELSE is expanded from... +-acinclude.m4:1353: CURL_VERIFY_RUNTIMELIBS is expanded from... +-configure.ac:3425: the top level]) +-m4trace:configure.ac:3427: -1- CURL_SIZEOF([size_t]) +-m4trace:configure.ac:3427: -1- m4_pattern_allow([^SIZEOF_SIZE_T$]) +-m4trace:configure.ac:3428: -1- CURL_SIZEOF([long]) +-m4trace:configure.ac:3428: -1- m4_pattern_allow([^SIZEOF_LONG$]) +-m4trace:configure.ac:3429: -1- CURL_SIZEOF([int]) +-m4trace:configure.ac:3429: -1- m4_pattern_allow([^SIZEOF_INT$]) +-m4trace:configure.ac:3430: -1- CURL_SIZEOF([time_t]) +-m4trace:configure.ac:3430: -1- m4_pattern_allow([^SIZEOF_TIME_T$]) +-m4trace:configure.ac:3431: -1- CURL_SIZEOF([off_t]) +-m4trace:configure.ac:3431: -1- m4_pattern_allow([^SIZEOF_OFF_T$]) +-m4trace:configure.ac:3435: -1- CURL_SIZEOF([curl_off_t], [ ++m4trace:configure.ac:3610: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:5778: CURL_RUN_IFELSE is expanded from... ++acinclude.m4:1178: CURL_VERIFY_RUNTIMELIBS is expanded from... ++configure.ac:3610: the top level]) ++m4trace:configure.ac:3610: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:5778: CURL_RUN_IFELSE is expanded from... ++acinclude.m4:1178: CURL_VERIFY_RUNTIMELIBS is expanded from... ++configure.ac:3610: the top level]) ++m4trace:configure.ac:3612: -1- CURL_SIZEOF([size_t]) ++m4trace:configure.ac:3612: -1- m4_pattern_allow([^SIZEOF_SIZE_T$]) ++m4trace:configure.ac:3613: -1- CURL_SIZEOF([long]) ++m4trace:configure.ac:3613: -1- m4_pattern_allow([^SIZEOF_LONG$]) ++m4trace:configure.ac:3614: -1- CURL_SIZEOF([int]) ++m4trace:configure.ac:3614: -1- m4_pattern_allow([^SIZEOF_INT$]) ++m4trace:configure.ac:3615: -1- CURL_SIZEOF([time_t]) ++m4trace:configure.ac:3615: -1- m4_pattern_allow([^SIZEOF_TIME_T$]) ++m4trace:configure.ac:3616: -1- CURL_SIZEOF([off_t]) ++m4trace:configure.ac:3616: -1- m4_pattern_allow([^SIZEOF_OFF_T$]) ++m4trace:configure.ac:3620: -1- CURL_SIZEOF([curl_off_t], [ + #include + ]) +-m4trace:configure.ac:3435: -1- m4_pattern_allow([^SIZEOF_CURL_OFF_T$]) +-m4trace:configure.ac:3438: -1- CURL_SIZEOF([curl_socket_t], [ ++m4trace:configure.ac:3620: -1- m4_pattern_allow([^SIZEOF_CURL_OFF_T$]) ++m4trace:configure.ac:3623: -1- CURL_SIZEOF([curl_socket_t], [ + #include + ]) +-m4trace:configure.ac:3438: -1- m4_pattern_allow([^SIZEOF_CURL_SOCKET_T$]) +-m4trace:configure.ac:3443: -1- m4_pattern_allow([^HAVE_LONGLONG$]) +-m4trace:configure.ac:3455: -2- m4_pattern_allow([^ssize_t$]) +-m4trace:configure.ac:3458: -1- m4_pattern_allow([^HAVE_BOOL_T$]) +-m4trace:configure.ac:3472: -2- m4_pattern_allow([^CURL_SA_FAMILY_T$]) +-m4trace:configure.ac:3471: -2- m4_pattern_allow([^CURL_SA_FAMILY_T$]) +-m4trace:configure.ac:3471: -2- m4_pattern_allow([^CURL_SA_FAMILY_T$]) +-m4trace:configure.ac:3491: -1- m4_pattern_allow([^HAVE_SUSECONDS_T$]) +-m4trace:configure.ac:3504: -1- CURL_RUN_IFELSE([ ++m4trace:configure.ac:3623: -1- m4_pattern_allow([^SIZEOF_CURL_SOCKET_T$]) ++m4trace:configure.ac:3628: -1- m4_pattern_allow([^HAVE_LONGLONG$]) ++m4trace:configure.ac:3640: -2- m4_pattern_allow([^ssize_t$]) ++m4trace:configure.ac:3643: -1- m4_pattern_allow([^HAVE_BOOL_T$]) ++m4trace:configure.ac:3657: -2- m4_pattern_allow([^CURL_SA_FAMILY_T$]) ++m4trace:configure.ac:3656: -2- m4_pattern_allow([^CURL_SA_FAMILY_T$]) ++m4trace:configure.ac:3656: -2- m4_pattern_allow([^CURL_SA_FAMILY_T$]) ++m4trace:configure.ac:3682: -1- m4_pattern_allow([^HAVE_SUSECONDS_T$]) ++m4trace:configure.ac:3695: -1- CURL_RUN_IFELSE([ + #include + #include + int main(void) { +@@ -14497,90 +14468,84 @@ m4trace:configure.ac:3504: -1- CURL_RUN_IFELSE([ + dnl cross-compiling, most systems are unsigned + AC_MSG_RESULT([no]) + ]) +-m4trace:configure.ac:3504: -2- m4_pattern_allow([^HAVE_TIME_T_UNSIGNED$]) +-m4trace:configure.ac:3504: -2- m4_pattern_allow([^HAVE_TIME_T_UNSIGNED$]) +-m4trace:configure.ac:3522: -1- CURL_CONFIGURE_PULL_SYS_POLL +-m4trace:configure.ac:3522: -1- CURL_INCLUDES_POLL +-m4trace:configure.ac:3522: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) +-m4trace:configure.ac:3522: -1- m4_pattern_allow([^HAVE_POLL_H$]) +-m4trace:configure.ac:3522: -1- m4_pattern_allow([^HAVE_SYS_POLL_H$]) +-m4trace:configure.ac:3522: -1- CURL_DEFINE_UNQUOTED([CURL_PULL_SYS_POLL_H]) +-m4trace:configure.ac:3524: -1- TYPE_IN_ADDR_T +-m4trace:configure.ac:3524: -1- m4_pattern_allow([^in_addr_t$]) +-m4trace:configure.ac:3526: -1- TYPE_SOCKADDR_STORAGE +-m4trace:configure.ac:3526: -2- m4_pattern_allow([^HAVE_STRUCT_SOCKADDR_STORAGE$]) +-m4trace:configure.ac:3528: -1- CURL_CHECK_FUNC_SELECT +-m4trace:configure.ac:3528: -1- m4_pattern_allow([^HAVE_SYS_SELECT_H$]) +-m4trace:configure.ac:3528: -1- m4_pattern_allow([^HAVE_SYS_SOCKET_H$]) +-m4trace:configure.ac:3528: -1- m4_pattern_allow([^HAVE_SELECT$]) +-m4trace:configure.ac:3530: -1- CURL_CHECK_FUNC_RECV +-m4trace:configure.ac:3530: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) +-m4trace:configure.ac:3530: -1- m4_pattern_allow([^HAVE_SYS_SOCKET_H$]) +-m4trace:configure.ac:3530: -1- m4_pattern_allow([^HAVE_RECV$]) +-m4trace:configure.ac:3531: -1- CURL_CHECK_FUNC_SEND +-m4trace:configure.ac:3531: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) +-m4trace:configure.ac:3531: -1- m4_pattern_allow([^HAVE_SYS_SOCKET_H$]) +-m4trace:configure.ac:3531: -1- m4_pattern_allow([^HAVE_SEND$]) +-m4trace:configure.ac:3532: -1- CURL_CHECK_MSG_NOSIGNAL +-m4trace:configure.ac:3532: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) +-m4trace:configure.ac:3532: -1- m4_pattern_allow([^HAVE_SYS_SOCKET_H$]) +-m4trace:configure.ac:3532: -1- m4_pattern_allow([^HAVE_MSG_NOSIGNAL$]) +-m4trace:configure.ac:3534: -1- CURL_CHECK_FUNC_ALARM +-m4trace:configure.ac:3534: -1- CURL_INCLUDES_UNISTD +-m4trace:configure.ac:3534: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) +-m4trace:configure.ac:3534: -1- m4_pattern_allow([^HAVE_UNISTD_H$]) +-m4trace:configure.ac:3534: -1- m4_pattern_allow([^HAVE_ALARM$]) +-m4trace:configure.ac:3535: -1- CURL_CHECK_FUNC_BASENAME +-m4trace:configure.ac:3535: -1- CURL_INCLUDES_STRING +-m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) +-m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_STRINGS_H$]) +-m4trace:configure.ac:3535: -1- CURL_INCLUDES_LIBGEN +-m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) +-m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_LIBGEN_H$]) +-m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_BASENAME$]) +-m4trace:configure.ac:3536: -1- CURL_CHECK_FUNC_CLOSESOCKET +-m4trace:configure.ac:3536: -1- CURL_INCLUDES_SOCKET +-m4trace:configure.ac:3536: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) +-m4trace:configure.ac:3536: -1- m4_pattern_allow([^HAVE_SOCKET_H$]) +-m4trace:configure.ac:3536: -1- m4_pattern_allow([^HAVE_CLOSESOCKET$]) +-m4trace:configure.ac:3537: -1- CURL_CHECK_FUNC_CLOSESOCKET_CAMEL +-m4trace:configure.ac:3537: -1- CURL_INCLUDES_SYS_SOCKET +-m4trace:configure.ac:3537: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) +-m4trace:configure.ac:3537: -1- m4_pattern_allow([^HAVE_SYS_SOCKET_H$]) +-m4trace:configure.ac:3537: -1- m4_pattern_allow([^HAVE_CLOSESOCKET_CAMEL$]) +-m4trace:configure.ac:3538: -1- CURL_CHECK_FUNC_FCNTL +-m4trace:configure.ac:3538: -1- CURL_INCLUDES_FCNTL +-m4trace:configure.ac:3538: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) +-m4trace:configure.ac:3538: -1- m4_pattern_allow([^HAVE_UNISTD_H$]) +-m4trace:configure.ac:3538: -1- m4_pattern_allow([^HAVE_FCNTL_H$]) +-m4trace:configure.ac:3538: -1- m4_pattern_allow([^HAVE_FCNTL$]) +-m4trace:configure.ac:3538: -1- CURL_CHECK_FUNC_FCNTL_O_NONBLOCK +-m4trace:configure.ac:3538: -1- m4_pattern_allow([^HAVE_FCNTL_O_NONBLOCK$]) +-m4trace:configure.ac:3539: -1- CURL_CHECK_FUNC_FREEADDRINFO +-m4trace:configure.ac:3539: -1- CURL_INCLUDES_WS2TCPIP +-m4trace:configure.ac:3539: -1- CURL_CHECK_HEADER_WINDOWS +-m4trace:configure.ac:3539: -1- m4_pattern_allow([^HAVE_WINDOWS_H$]) +-m4trace:configure.ac:3539: -1- CURL_CHECK_HEADER_WINSOCK2 +-m4trace:configure.ac:3539: -1- m4_pattern_allow([^HAVE_WINSOCK2_H$]) +-m4trace:configure.ac:3539: -1- CURL_CHECK_HEADER_WS2TCPIP +-m4trace:configure.ac:3539: -1- m4_pattern_allow([^HAVE_WS2TCPIP_H$]) +-m4trace:configure.ac:3539: -1- CURL_INCLUDES_NETDB +-m4trace:configure.ac:3539: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) +-m4trace:configure.ac:3539: -1- m4_pattern_allow([^HAVE_NETDB_H$]) +-m4trace:configure.ac:3539: -1- m4_pattern_allow([^HAVE_FREEADDRINFO$]) +-m4trace:configure.ac:3540: -1- CURL_CHECK_FUNC_FSETXATTR +-m4trace:configure.ac:3540: -1- CURL_INCLUDES_SYS_XATTR +-m4trace:configure.ac:3540: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) +-m4trace:configure.ac:3540: -1- m4_pattern_allow([^HAVE_SYS_XATTR_H$]) +-m4trace:configure.ac:3540: -1- m4_pattern_allow([^HAVE_FSETXATTR$]) +-m4trace:configure.ac:3540: -1- m4_pattern_allow([^HAVE_FSETXATTR_5$]) +-m4trace:configure.ac:3540: -1- m4_pattern_allow([^HAVE_FSETXATTR_6$]) +-m4trace:configure.ac:3541: -1- CURL_CHECK_FUNC_FTRUNCATE +-m4trace:configure.ac:3541: -1- m4_pattern_allow([^HAVE_FTRUNCATE$]) +-m4trace:configure.ac:3542: -1- CURL_CHECK_FUNC_GETADDRINFO +-m4trace:configure.ac:3542: -1- CURL_INCLUDES_STDLIB +-m4trace:configure.ac:3542: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) +-m4trace:configure.ac:3542: -1- CURL_RUN_IFELSE([ ++m4trace:configure.ac:3695: -2- m4_pattern_allow([^HAVE_TIME_T_UNSIGNED$]) ++m4trace:configure.ac:3695: -2- m4_pattern_allow([^HAVE_TIME_T_UNSIGNED$]) ++m4trace:configure.ac:3713: -1- TYPE_IN_ADDR_T ++m4trace:configure.ac:3713: -1- m4_pattern_allow([^in_addr_t$]) ++m4trace:configure.ac:3715: -1- TYPE_SOCKADDR_STORAGE ++m4trace:configure.ac:3715: -2- m4_pattern_allow([^HAVE_STRUCT_SOCKADDR_STORAGE$]) ++m4trace:configure.ac:3717: -1- CURL_CHECK_FUNC_SELECT ++m4trace:configure.ac:3717: -1- m4_pattern_allow([^HAVE_SYS_SELECT_H$]) ++m4trace:configure.ac:3717: -1- m4_pattern_allow([^HAVE_SYS_SOCKET_H$]) ++m4trace:configure.ac:3717: -1- m4_pattern_allow([^HAVE_SELECT$]) ++m4trace:configure.ac:3719: -1- CURL_CHECK_FUNC_RECV ++m4trace:configure.ac:3719: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) ++m4trace:configure.ac:3719: -1- m4_pattern_allow([^HAVE_SYS_SOCKET_H$]) ++m4trace:configure.ac:3719: -1- m4_pattern_allow([^HAVE_RECV$]) ++m4trace:configure.ac:3720: -1- CURL_CHECK_FUNC_SEND ++m4trace:configure.ac:3720: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) ++m4trace:configure.ac:3720: -1- m4_pattern_allow([^HAVE_SYS_SOCKET_H$]) ++m4trace:configure.ac:3720: -1- m4_pattern_allow([^HAVE_SEND$]) ++m4trace:configure.ac:3721: -1- CURL_CHECK_MSG_NOSIGNAL ++m4trace:configure.ac:3721: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) ++m4trace:configure.ac:3721: -1- m4_pattern_allow([^HAVE_SYS_SOCKET_H$]) ++m4trace:configure.ac:3721: -1- m4_pattern_allow([^HAVE_MSG_NOSIGNAL$]) ++m4trace:configure.ac:3723: -1- CURL_CHECK_FUNC_ALARM ++m4trace:configure.ac:3723: -1- CURL_INCLUDES_UNISTD ++m4trace:configure.ac:3723: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) ++m4trace:configure.ac:3723: -1- m4_pattern_allow([^HAVE_UNISTD_H$]) ++m4trace:configure.ac:3723: -1- m4_pattern_allow([^HAVE_ALARM$]) ++m4trace:configure.ac:3724: -1- CURL_CHECK_FUNC_BASENAME ++m4trace:configure.ac:3724: -1- CURL_INCLUDES_STRING ++m4trace:configure.ac:3724: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) ++m4trace:configure.ac:3724: -1- m4_pattern_allow([^HAVE_STRINGS_H$]) ++m4trace:configure.ac:3724: -1- CURL_INCLUDES_LIBGEN ++m4trace:configure.ac:3724: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) ++m4trace:configure.ac:3724: -1- m4_pattern_allow([^HAVE_LIBGEN_H$]) ++m4trace:configure.ac:3724: -1- m4_pattern_allow([^HAVE_BASENAME$]) ++m4trace:configure.ac:3725: -1- CURL_CHECK_FUNC_CLOSESOCKET ++m4trace:configure.ac:3725: -1- CURL_INCLUDES_SOCKET ++m4trace:configure.ac:3725: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) ++m4trace:configure.ac:3725: -1- m4_pattern_allow([^HAVE_SOCKET_H$]) ++m4trace:configure.ac:3725: -1- m4_pattern_allow([^HAVE_CLOSESOCKET$]) ++m4trace:configure.ac:3726: -1- CURL_CHECK_FUNC_CLOSESOCKET_CAMEL ++m4trace:configure.ac:3726: -1- CURL_INCLUDES_SYS_SOCKET ++m4trace:configure.ac:3726: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) ++m4trace:configure.ac:3726: -1- m4_pattern_allow([^HAVE_SYS_SOCKET_H$]) ++m4trace:configure.ac:3726: -1- m4_pattern_allow([^HAVE_CLOSESOCKET_CAMEL$]) ++m4trace:configure.ac:3727: -1- CURL_CHECK_FUNC_FCNTL ++m4trace:configure.ac:3727: -1- CURL_INCLUDES_FCNTL ++m4trace:configure.ac:3727: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) ++m4trace:configure.ac:3727: -1- m4_pattern_allow([^HAVE_UNISTD_H$]) ++m4trace:configure.ac:3727: -1- m4_pattern_allow([^HAVE_FCNTL_H$]) ++m4trace:configure.ac:3727: -1- m4_pattern_allow([^HAVE_FCNTL$]) ++m4trace:configure.ac:3727: -1- CURL_CHECK_FUNC_FCNTL_O_NONBLOCK ++m4trace:configure.ac:3727: -1- m4_pattern_allow([^HAVE_FCNTL_O_NONBLOCK$]) ++m4trace:configure.ac:3728: -1- CURL_CHECK_FUNC_FREEADDRINFO ++m4trace:configure.ac:3728: -1- CURL_INCLUDES_WS2TCPIP ++m4trace:configure.ac:3728: -1- CURL_CHECK_NATIVE_WINDOWS ++m4trace:configure.ac:3728: -1- AM_CONDITIONAL([DOING_NATIVE_WINDOWS], [test "x$curl_cv_native_windows" = xyes]) ++m4trace:configure.ac:3728: -1- m4_pattern_allow([^DOING_NATIVE_WINDOWS_TRUE$]) ++m4trace:configure.ac:3728: -1- m4_pattern_allow([^DOING_NATIVE_WINDOWS_FALSE$]) ++m4trace:configure.ac:3728: -1- _AM_SUBST_NOTMAKE([DOING_NATIVE_WINDOWS_TRUE]) ++m4trace:configure.ac:3728: -1- _AM_SUBST_NOTMAKE([DOING_NATIVE_WINDOWS_FALSE]) ++m4trace:configure.ac:3728: -1- CURL_INCLUDES_NETDB ++m4trace:configure.ac:3728: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) ++m4trace:configure.ac:3728: -1- m4_pattern_allow([^HAVE_NETDB_H$]) ++m4trace:configure.ac:3728: -1- m4_pattern_allow([^HAVE_FREEADDRINFO$]) ++m4trace:configure.ac:3729: -1- CURL_CHECK_FUNC_FSETXATTR ++m4trace:configure.ac:3729: -1- CURL_INCLUDES_SYS_XATTR ++m4trace:configure.ac:3729: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) ++m4trace:configure.ac:3729: -1- m4_pattern_allow([^HAVE_SYS_XATTR_H$]) ++m4trace:configure.ac:3729: -1- m4_pattern_allow([^HAVE_FSETXATTR$]) ++m4trace:configure.ac:3729: -1- m4_pattern_allow([^HAVE_FSETXATTR_5$]) ++m4trace:configure.ac:3729: -1- m4_pattern_allow([^HAVE_FSETXATTR_6$]) ++m4trace:configure.ac:3730: -1- CURL_CHECK_FUNC_FTRUNCATE ++m4trace:configure.ac:3730: -1- m4_pattern_allow([^HAVE_FTRUNCATE$]) ++m4trace:configure.ac:3731: -1- CURL_CHECK_FUNC_GETADDRINFO ++m4trace:configure.ac:3731: -1- CURL_INCLUDES_STDLIB ++m4trace:configure.ac:3731: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) ++m4trace:configure.ac:3731: -1- CURL_RUN_IFELSE([ + AC_LANG_PROGRAM([[ + $curl_includes_ws2tcpip + $curl_includes_stdlib +@@ -14592,10 +14557,10 @@ m4trace:configure.ac:3542: -1- CURL_RUN_IFELSE([ + struct addrinfo *ai = 0; + int error; + +- #ifdef HAVE_WINSOCK2_H ++ #ifdef _WIN32 + WSADATA wsa; +- if (WSAStartup(MAKEWORD(2,2), &wsa)) +- exit(2); ++ if(WSAStartup(MAKEWORD(2, 2), &wsa)) ++ exit(2); + #endif + + memset(&hints, 0, sizeof(hints)); +@@ -14615,46 +14580,46 @@ m4trace:configure.ac:3542: -1- CURL_RUN_IFELSE([ + AC_MSG_RESULT([no]) + tst_works_getaddrinfo="no" + ]) +-m4trace:configure.ac:3542: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:5818: CURL_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:1742: CURL_CHECK_FUNC_GETADDRINFO is expanded from... +-configure.ac:3542: the top level]) +-m4trace:configure.ac:3542: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:5818: CURL_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:1742: CURL_CHECK_FUNC_GETADDRINFO is expanded from... +-configure.ac:3542: the top level]) +-m4trace:configure.ac:3542: -1- m4_pattern_allow([^HAVE_GETADDRINFO$]) +-m4trace:configure.ac:3542: -1- CURL_CHECK_DEF_CC([h_errno], [ ++m4trace:configure.ac:3731: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:5778: CURL_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:1702: CURL_CHECK_FUNC_GETADDRINFO is expanded from... ++configure.ac:3731: the top level]) ++m4trace:configure.ac:3731: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:5778: CURL_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:1702: CURL_CHECK_FUNC_GETADDRINFO is expanded from... ++configure.ac:3731: the top level]) ++m4trace:configure.ac:3731: -1- m4_pattern_allow([^HAVE_GETADDRINFO$]) ++m4trace:configure.ac:3731: -1- CURL_CHECK_DEF_CC([h_errno], [ + $curl_includes_sys_socket + $curl_includes_netdb + ], [silent]) +-m4trace:configure.ac:3542: -1- m4_pattern_allow([^HAVE_GETADDRINFO_THREADSAFE$]) +-m4trace:configure.ac:3543: -1- CURL_CHECK_FUNC_GETHOSTBYNAME +-m4trace:configure.ac:3543: -1- m4_pattern_allow([^HAVE_GETHOSTBYNAME$]) +-m4trace:configure.ac:3544: -1- CURL_CHECK_FUNC_GETHOSTBYNAME_R +-m4trace:configure.ac:3544: -1- m4_pattern_allow([^HAVE_GETHOSTBYNAME_R$]) +-m4trace:configure.ac:3544: -1- m4_pattern_allow([^HAVE_GETHOSTBYNAME_R_3$]) +-m4trace:configure.ac:3544: -1- m4_pattern_allow([^HAVE_GETHOSTBYNAME_R_5$]) +-m4trace:configure.ac:3544: -1- m4_pattern_allow([^HAVE_GETHOSTBYNAME_R_6$]) +-m4trace:configure.ac:3545: -1- CURL_CHECK_FUNC_GETHOSTNAME +-m4trace:configure.ac:3545: -1- CURL_PREPROCESS_CALLCONV +-m4trace:configure.ac:3545: -1- m4_pattern_allow([^GETHOSTNAME_TYPE_ARG2$]) +-m4trace:configure.ac:3545: -1- m4_pattern_allow([^HAVE_GETHOSTNAME$]) +-m4trace:configure.ac:3546: -1- CURL_CHECK_FUNC_GETPEERNAME +-m4trace:configure.ac:3546: -1- m4_pattern_allow([^HAVE_GETPEERNAME$]) +-m4trace:configure.ac:3547: -1- CURL_CHECK_FUNC_GETSOCKNAME +-m4trace:configure.ac:3547: -1- m4_pattern_allow([^HAVE_GETSOCKNAME$]) +-m4trace:configure.ac:3548: -1- CURL_CHECK_FUNC_IF_NAMETOINDEX +-m4trace:configure.ac:3548: -1- CURL_INCLUDES_NETIF +-m4trace:configure.ac:3548: -1- m4_pattern_allow([^HAVE_NET_IF_H$]) +-m4trace:configure.ac:3548: -1- m4_pattern_allow([^HAVE_IF_NAMETOINDEX$]) +-m4trace:configure.ac:3549: -1- CURL_CHECK_FUNC_GETIFADDRS +-m4trace:configure.ac:3549: -1- CURL_INCLUDES_IFADDRS +-m4trace:configure.ac:3549: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) +-m4trace:configure.ac:3549: -1- m4_pattern_allow([^HAVE_SYS_SOCKET_H$]) +-m4trace:configure.ac:3549: -1- m4_pattern_allow([^HAVE_NETINET_IN_H$]) +-m4trace:configure.ac:3549: -1- m4_pattern_allow([^HAVE_IFADDRS_H$]) +-m4trace:configure.ac:3549: -1- CURL_RUN_IFELSE([ ++m4trace:configure.ac:3731: -1- m4_pattern_allow([^HAVE_GETADDRINFO_THREADSAFE$]) ++m4trace:configure.ac:3732: -1- CURL_CHECK_FUNC_GETHOSTBYNAME ++m4trace:configure.ac:3732: -1- m4_pattern_allow([^HAVE_GETHOSTBYNAME$]) ++m4trace:configure.ac:3733: -1- CURL_CHECK_FUNC_GETHOSTBYNAME_R ++m4trace:configure.ac:3733: -1- m4_pattern_allow([^HAVE_GETHOSTBYNAME_R$]) ++m4trace:configure.ac:3733: -1- m4_pattern_allow([^HAVE_GETHOSTBYNAME_R_3$]) ++m4trace:configure.ac:3733: -1- m4_pattern_allow([^HAVE_GETHOSTBYNAME_R_5$]) ++m4trace:configure.ac:3733: -1- m4_pattern_allow([^HAVE_GETHOSTBYNAME_R_6$]) ++m4trace:configure.ac:3734: -1- CURL_CHECK_FUNC_GETHOSTNAME ++m4trace:configure.ac:3734: -1- CURL_PREPROCESS_CALLCONV ++m4trace:configure.ac:3734: -1- m4_pattern_allow([^GETHOSTNAME_TYPE_ARG2$]) ++m4trace:configure.ac:3734: -1- m4_pattern_allow([^HAVE_GETHOSTNAME$]) ++m4trace:configure.ac:3735: -1- CURL_CHECK_FUNC_GETPEERNAME ++m4trace:configure.ac:3735: -1- m4_pattern_allow([^HAVE_GETPEERNAME$]) ++m4trace:configure.ac:3736: -1- CURL_CHECK_FUNC_GETSOCKNAME ++m4trace:configure.ac:3736: -1- m4_pattern_allow([^HAVE_GETSOCKNAME$]) ++m4trace:configure.ac:3737: -1- CURL_CHECK_FUNC_IF_NAMETOINDEX ++m4trace:configure.ac:3737: -1- CURL_INCLUDES_NETIF ++m4trace:configure.ac:3737: -1- m4_pattern_allow([^HAVE_NET_IF_H$]) ++m4trace:configure.ac:3737: -1- m4_pattern_allow([^HAVE_IF_NAMETOINDEX$]) ++m4trace:configure.ac:3738: -1- CURL_CHECK_FUNC_GETIFADDRS ++m4trace:configure.ac:3738: -1- CURL_INCLUDES_IFADDRS ++m4trace:configure.ac:3738: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) ++m4trace:configure.ac:3738: -1- m4_pattern_allow([^HAVE_SYS_SOCKET_H$]) ++m4trace:configure.ac:3738: -1- m4_pattern_allow([^HAVE_NETINET_IN_H$]) ++m4trace:configure.ac:3738: -1- m4_pattern_allow([^HAVE_IFADDRS_H$]) ++m4trace:configure.ac:3738: -1- CURL_RUN_IFELSE([ + AC_LANG_PROGRAM([[ + $curl_includes_stdlib + $curl_includes_ifaddrs +@@ -14675,20 +14640,20 @@ m4trace:configure.ac:3549: -1- CURL_RUN_IFELSE([ + AC_MSG_RESULT([no]) + tst_works_getifaddrs="no" + ]) +-m4trace:configure.ac:3549: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:5818: CURL_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:2669: CURL_CHECK_FUNC_GETIFADDRS is expanded from... +-configure.ac:3549: the top level]) +-m4trace:configure.ac:3549: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:5818: CURL_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:2669: CURL_CHECK_FUNC_GETIFADDRS is expanded from... +-configure.ac:3549: the top level]) +-m4trace:configure.ac:3549: -1- m4_pattern_allow([^HAVE_GETIFADDRS$]) +-m4trace:configure.ac:3550: -1- CURL_CHECK_FUNC_GMTIME_R +-m4trace:configure.ac:3550: -1- CURL_INCLUDES_TIME +-m4trace:configure.ac:3550: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) +-m4trace:configure.ac:3550: -1- m4_pattern_allow([^HAVE_SYS_TIME_H$]) +-m4trace:configure.ac:3550: -1- CURL_RUN_IFELSE([ ++m4trace:configure.ac:3738: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:5778: CURL_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:2629: CURL_CHECK_FUNC_GETIFADDRS is expanded from... ++configure.ac:3738: the top level]) ++m4trace:configure.ac:3738: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:5778: CURL_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:2629: CURL_CHECK_FUNC_GETIFADDRS is expanded from... ++configure.ac:3738: the top level]) ++m4trace:configure.ac:3738: -1- m4_pattern_allow([^HAVE_GETIFADDRS$]) ++m4trace:configure.ac:3739: -1- CURL_CHECK_FUNC_GMTIME_R ++m4trace:configure.ac:3739: -1- CURL_INCLUDES_TIME ++m4trace:configure.ac:3739: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) ++m4trace:configure.ac:3739: -1- m4_pattern_allow([^HAVE_SYS_TIME_H$]) ++m4trace:configure.ac:3739: -1- CURL_RUN_IFELSE([ + AC_LANG_PROGRAM([[ + $curl_includes_stdlib + $curl_includes_time +@@ -14709,22 +14674,22 @@ m4trace:configure.ac:3550: -1- CURL_RUN_IFELSE([ + AC_MSG_RESULT([no]) + tst_works_gmtime_r="no" + ]) +-m4trace:configure.ac:3550: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:5818: CURL_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:2907: CURL_CHECK_FUNC_GMTIME_R is expanded from... +-configure.ac:3550: the top level]) +-m4trace:configure.ac:3550: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:5818: CURL_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:2907: CURL_CHECK_FUNC_GMTIME_R is expanded from... +-configure.ac:3550: the top level]) +-m4trace:configure.ac:3550: -1- m4_pattern_allow([^HAVE_GMTIME_R$]) +-m4trace:configure.ac:3551: -1- CURL_CHECK_FUNC_INET_NTOP +-m4trace:configure.ac:3551: -1- CURL_INCLUDES_ARPA_INET +-m4trace:configure.ac:3551: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) +-m4trace:configure.ac:3551: -1- m4_pattern_allow([^HAVE_SYS_SOCKET_H$]) +-m4trace:configure.ac:3551: -1- m4_pattern_allow([^HAVE_NETINET_IN_H$]) +-m4trace:configure.ac:3551: -1- m4_pattern_allow([^HAVE_ARPA_INET_H$]) +-m4trace:configure.ac:3551: -1- CURL_RUN_IFELSE([ ++m4trace:configure.ac:3739: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:5778: CURL_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:2867: CURL_CHECK_FUNC_GMTIME_R is expanded from... ++configure.ac:3739: the top level]) ++m4trace:configure.ac:3739: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:5778: CURL_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:2867: CURL_CHECK_FUNC_GMTIME_R is expanded from... ++configure.ac:3739: the top level]) ++m4trace:configure.ac:3739: -1- m4_pattern_allow([^HAVE_GMTIME_R$]) ++m4trace:configure.ac:3740: -1- CURL_CHECK_FUNC_INET_NTOP ++m4trace:configure.ac:3740: -1- CURL_INCLUDES_ARPA_INET ++m4trace:configure.ac:3740: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) ++m4trace:configure.ac:3740: -1- m4_pattern_allow([^HAVE_SYS_SOCKET_H$]) ++m4trace:configure.ac:3740: -1- m4_pattern_allow([^HAVE_NETINET_IN_H$]) ++m4trace:configure.ac:3740: -1- m4_pattern_allow([^HAVE_ARPA_INET_H$]) ++m4trace:configure.ac:3740: -1- CURL_RUN_IFELSE([ + AC_LANG_PROGRAM([[ + $curl_includes_stdlib + $curl_includes_arpa_inet +@@ -14787,17 +14752,17 @@ m4trace:configure.ac:3551: -1- CURL_RUN_IFELSE([ + AC_MSG_RESULT([no]) + tst_works_inet_ntop="no" + ]) +-m4trace:configure.ac:3551: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:5818: CURL_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:3023: CURL_CHECK_FUNC_INET_NTOP is expanded from... +-configure.ac:3551: the top level]) +-m4trace:configure.ac:3551: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:5818: CURL_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:3023: CURL_CHECK_FUNC_INET_NTOP is expanded from... +-configure.ac:3551: the top level]) +-m4trace:configure.ac:3551: -1- m4_pattern_allow([^HAVE_INET_NTOP$]) +-m4trace:configure.ac:3552: -1- CURL_CHECK_FUNC_INET_PTON +-m4trace:configure.ac:3552: -1- CURL_RUN_IFELSE([ ++m4trace:configure.ac:3740: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:5778: CURL_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:2983: CURL_CHECK_FUNC_INET_NTOP is expanded from... ++configure.ac:3740: the top level]) ++m4trace:configure.ac:3740: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:5778: CURL_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:2983: CURL_CHECK_FUNC_INET_NTOP is expanded from... ++configure.ac:3740: the top level]) ++m4trace:configure.ac:3740: -1- m4_pattern_allow([^HAVE_INET_NTOP$]) ++m4trace:configure.ac:3741: -1- CURL_CHECK_FUNC_INET_PTON ++m4trace:configure.ac:3741: -1- CURL_RUN_IFELSE([ + AC_LANG_PROGRAM([[ + $curl_includes_stdlib + $curl_includes_arpa_inet +@@ -14853,39 +14818,43 @@ m4trace:configure.ac:3552: -1- CURL_RUN_IFELSE([ + AC_MSG_RESULT([no]) + tst_works_inet_pton="no" + ]) +-m4trace:configure.ac:3552: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:5818: CURL_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:3182: CURL_CHECK_FUNC_INET_PTON is expanded from... +-configure.ac:3552: the top level]) +-m4trace:configure.ac:3552: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:5818: CURL_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:3182: CURL_CHECK_FUNC_INET_PTON is expanded from... +-configure.ac:3552: the top level]) +-m4trace:configure.ac:3552: -1- m4_pattern_allow([^HAVE_INET_PTON$]) +-m4trace:configure.ac:3553: -1- CURL_CHECK_FUNC_IOCTL +-m4trace:configure.ac:3553: -1- CURL_INCLUDES_STROPTS +-m4trace:configure.ac:3553: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) +-m4trace:configure.ac:3553: -1- m4_pattern_allow([^HAVE_UNISTD_H$]) +-m4trace:configure.ac:3553: -1- m4_pattern_allow([^HAVE_SYS_SOCKET_H$]) +-m4trace:configure.ac:3553: -1- m4_pattern_allow([^HAVE_SYS_IOCTL_H$]) +-m4trace:configure.ac:3553: -1- m4_pattern_allow([^HAVE_STROPTS_H$]) +-m4trace:configure.ac:3553: -1- m4_pattern_allow([^HAVE_IOCTL$]) +-m4trace:configure.ac:3553: -1- CURL_CHECK_FUNC_IOCTL_FIONBIO +-m4trace:configure.ac:3553: -1- m4_pattern_allow([^HAVE_IOCTL_FIONBIO$]) +-m4trace:configure.ac:3553: -1- CURL_CHECK_FUNC_IOCTL_SIOCGIFADDR +-m4trace:configure.ac:3553: -1- m4_pattern_allow([^HAVE_IOCTL_SIOCGIFADDR$]) +-m4trace:configure.ac:3554: -1- CURL_CHECK_FUNC_IOCTLSOCKET +-m4trace:configure.ac:3554: -1- m4_pattern_allow([^HAVE_IOCTLSOCKET$]) +-m4trace:configure.ac:3554: -1- CURL_CHECK_FUNC_IOCTLSOCKET_FIONBIO +-m4trace:configure.ac:3554: -1- m4_pattern_allow([^HAVE_IOCTLSOCKET_FIONBIO$]) +-m4trace:configure.ac:3555: -1- CURL_CHECK_FUNC_IOCTLSOCKET_CAMEL +-m4trace:configure.ac:3555: -1- m4_pattern_allow([^HAVE_IOCTLSOCKET_CAMEL$]) +-m4trace:configure.ac:3555: -1- CURL_CHECK_FUNC_IOCTLSOCKET_CAMEL_FIONBIO +-m4trace:configure.ac:3555: -1- m4_pattern_allow([^HAVE_IOCTLSOCKET_CAMEL_FIONBIO$]) +-m4trace:configure.ac:3556: -1- CURL_CHECK_FUNC_MEMRCHR +-m4trace:configure.ac:3556: -1- m4_pattern_allow([^HAVE_MEMRCHR$]) +-m4trace:configure.ac:3557: -1- CURL_CHECK_FUNC_POLL +-m4trace:configure.ac:3557: -1- CURL_RUN_IFELSE([ ++m4trace:configure.ac:3741: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:5778: CURL_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:3142: CURL_CHECK_FUNC_INET_PTON is expanded from... ++configure.ac:3741: the top level]) ++m4trace:configure.ac:3741: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:5778: CURL_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:3142: CURL_CHECK_FUNC_INET_PTON is expanded from... ++configure.ac:3741: the top level]) ++m4trace:configure.ac:3741: -1- m4_pattern_allow([^HAVE_INET_PTON$]) ++m4trace:configure.ac:3742: -1- CURL_CHECK_FUNC_IOCTL ++m4trace:configure.ac:3742: -1- CURL_INCLUDES_STROPTS ++m4trace:configure.ac:3742: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) ++m4trace:configure.ac:3742: -1- m4_pattern_allow([^HAVE_UNISTD_H$]) ++m4trace:configure.ac:3742: -1- m4_pattern_allow([^HAVE_SYS_SOCKET_H$]) ++m4trace:configure.ac:3742: -1- m4_pattern_allow([^HAVE_SYS_IOCTL_H$]) ++m4trace:configure.ac:3742: -1- m4_pattern_allow([^HAVE_STROPTS_H$]) ++m4trace:configure.ac:3742: -1- m4_pattern_allow([^HAVE_IOCTL$]) ++m4trace:configure.ac:3742: -1- CURL_CHECK_FUNC_IOCTL_FIONBIO ++m4trace:configure.ac:3742: -1- m4_pattern_allow([^HAVE_IOCTL_FIONBIO$]) ++m4trace:configure.ac:3742: -1- CURL_CHECK_FUNC_IOCTL_SIOCGIFADDR ++m4trace:configure.ac:3742: -1- m4_pattern_allow([^HAVE_IOCTL_SIOCGIFADDR$]) ++m4trace:configure.ac:3743: -1- CURL_CHECK_FUNC_IOCTLSOCKET ++m4trace:configure.ac:3743: -1- m4_pattern_allow([^HAVE_IOCTLSOCKET$]) ++m4trace:configure.ac:3743: -1- CURL_CHECK_FUNC_IOCTLSOCKET_FIONBIO ++m4trace:configure.ac:3743: -1- m4_pattern_allow([^HAVE_IOCTLSOCKET_FIONBIO$]) ++m4trace:configure.ac:3744: -1- CURL_CHECK_FUNC_IOCTLSOCKET_CAMEL ++m4trace:configure.ac:3744: -1- m4_pattern_allow([^HAVE_IOCTLSOCKET_CAMEL$]) ++m4trace:configure.ac:3744: -1- CURL_CHECK_FUNC_IOCTLSOCKET_CAMEL_FIONBIO ++m4trace:configure.ac:3744: -1- m4_pattern_allow([^HAVE_IOCTLSOCKET_CAMEL_FIONBIO$]) ++m4trace:configure.ac:3745: -1- CURL_CHECK_FUNC_MEMRCHR ++m4trace:configure.ac:3745: -1- m4_pattern_allow([^HAVE_MEMRCHR$]) ++m4trace:configure.ac:3746: -1- CURL_CHECK_FUNC_POLL ++m4trace:configure.ac:3746: -1- CURL_INCLUDES_POLL ++m4trace:configure.ac:3746: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) ++m4trace:configure.ac:3746: -1- m4_pattern_allow([^HAVE_POLL_H$]) ++m4trace:configure.ac:3746: -1- m4_pattern_allow([^HAVE_SYS_POLL_H$]) ++m4trace:configure.ac:3746: -1- CURL_RUN_IFELSE([ + AC_LANG_PROGRAM([[ + $curl_includes_stdlib + $curl_includes_poll +@@ -14918,39 +14887,39 @@ m4trace:configure.ac:3557: -1- CURL_RUN_IFELSE([ + AC_MSG_RESULT([no]) + tst_works_poll="no" + ]) +-m4trace:configure.ac:3557: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:5818: CURL_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:4051: CURL_CHECK_FUNC_POLL is expanded from... +-configure.ac:3557: the top level]) +-m4trace:configure.ac:3557: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:5818: CURL_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:4051: CURL_CHECK_FUNC_POLL is expanded from... +-configure.ac:3557: the top level]) +-m4trace:configure.ac:3557: -1- m4_pattern_allow([^HAVE_POLL_FINE$]) +-m4trace:configure.ac:3558: -1- CURL_CHECK_FUNC_SIGACTION +-m4trace:configure.ac:3558: -1- CURL_INCLUDES_SIGNAL +-m4trace:configure.ac:3558: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) +-m4trace:configure.ac:3558: -1- m4_pattern_allow([^HAVE_SIGACTION$]) +-m4trace:configure.ac:3559: -1- CURL_CHECK_FUNC_SIGINTERRUPT +-m4trace:configure.ac:3559: -1- m4_pattern_allow([^HAVE_SIGINTERRUPT$]) +-m4trace:configure.ac:3560: -1- CURL_CHECK_FUNC_SIGNAL +-m4trace:configure.ac:3560: -1- m4_pattern_allow([^HAVE_SIGNAL$]) +-m4trace:configure.ac:3561: -1- CURL_CHECK_FUNC_SIGSETJMP +-m4trace:configure.ac:3561: -1- CURL_INCLUDES_SETJMP +-m4trace:configure.ac:3561: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) +-m4trace:configure.ac:3561: -1- m4_pattern_allow([^HAVE_SIGSETJMP$]) +-m4trace:configure.ac:3562: -1- CURL_CHECK_FUNC_SOCKET +-m4trace:configure.ac:3562: -1- m4_pattern_allow([^HAVE_SOCKET$]) +-m4trace:configure.ac:3563: -1- CURL_CHECK_FUNC_SOCKETPAIR +-m4trace:configure.ac:3563: -1- m4_pattern_allow([^HAVE_SOCKETPAIR$]) +-m4trace:configure.ac:3564: -1- CURL_CHECK_FUNC_STRCASECMP +-m4trace:configure.ac:3564: -1- m4_pattern_allow([^HAVE_STRCASECMP$]) +-m4trace:configure.ac:3565: -1- CURL_CHECK_FUNC_STRCMPI +-m4trace:configure.ac:3565: -1- m4_pattern_allow([^HAVE_STRCMPI$]) +-m4trace:configure.ac:3566: -1- CURL_CHECK_FUNC_STRDUP +-m4trace:configure.ac:3566: -1- m4_pattern_allow([^HAVE_STRDUP$]) +-m4trace:configure.ac:3567: -1- CURL_CHECK_FUNC_STRERROR_R +-m4trace:configure.ac:3567: -1- CURL_RUN_IFELSE([ ++m4trace:configure.ac:3746: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:5778: CURL_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:4011: CURL_CHECK_FUNC_POLL is expanded from... ++configure.ac:3746: the top level]) ++m4trace:configure.ac:3746: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:5778: CURL_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:4011: CURL_CHECK_FUNC_POLL is expanded from... ++configure.ac:3746: the top level]) ++m4trace:configure.ac:3746: -1- m4_pattern_allow([^HAVE_POLL_FINE$]) ++m4trace:configure.ac:3747: -1- CURL_CHECK_FUNC_SIGACTION ++m4trace:configure.ac:3747: -1- CURL_INCLUDES_SIGNAL ++m4trace:configure.ac:3747: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) ++m4trace:configure.ac:3747: -1- m4_pattern_allow([^HAVE_SIGACTION$]) ++m4trace:configure.ac:3748: -1- CURL_CHECK_FUNC_SIGINTERRUPT ++m4trace:configure.ac:3748: -1- m4_pattern_allow([^HAVE_SIGINTERRUPT$]) ++m4trace:configure.ac:3749: -1- CURL_CHECK_FUNC_SIGNAL ++m4trace:configure.ac:3749: -1- m4_pattern_allow([^HAVE_SIGNAL$]) ++m4trace:configure.ac:3750: -1- CURL_CHECK_FUNC_SIGSETJMP ++m4trace:configure.ac:3750: -1- CURL_INCLUDES_SETJMP ++m4trace:configure.ac:3750: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) ++m4trace:configure.ac:3750: -1- m4_pattern_allow([^HAVE_SIGSETJMP$]) ++m4trace:configure.ac:3751: -1- CURL_CHECK_FUNC_SOCKET ++m4trace:configure.ac:3751: -1- m4_pattern_allow([^HAVE_SOCKET$]) ++m4trace:configure.ac:3752: -1- CURL_CHECK_FUNC_SOCKETPAIR ++m4trace:configure.ac:3752: -1- m4_pattern_allow([^HAVE_SOCKETPAIR$]) ++m4trace:configure.ac:3753: -1- CURL_CHECK_FUNC_STRCASECMP ++m4trace:configure.ac:3753: -1- m4_pattern_allow([^HAVE_STRCASECMP$]) ++m4trace:configure.ac:3754: -1- CURL_CHECK_FUNC_STRCMPI ++m4trace:configure.ac:3754: -1- m4_pattern_allow([^HAVE_STRCMPI$]) ++m4trace:configure.ac:3755: -1- CURL_CHECK_FUNC_STRDUP ++m4trace:configure.ac:3755: -1- m4_pattern_allow([^HAVE_STRDUP$]) ++m4trace:configure.ac:3756: -1- CURL_CHECK_FUNC_STRERROR_R ++m4trace:configure.ac:3756: -1- CURL_RUN_IFELSE([ + AC_LANG_PROGRAM([[ + $curl_includes_stdlib + $curl_includes_string +@@ -14974,15 +14943,15 @@ m4trace:configure.ac:3567: -1- CURL_RUN_IFELSE([ + AC_MSG_RESULT([no]) + tst_works_glibc_strerror_r="no" + ]) +-m4trace:configure.ac:3567: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:5818: CURL_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:5320: CURL_CHECK_FUNC_STRERROR_R is expanded from... +-configure.ac:3567: the top level]) +-m4trace:configure.ac:3567: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:5818: CURL_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:5320: CURL_CHECK_FUNC_STRERROR_R is expanded from... +-configure.ac:3567: the top level]) +-m4trace:configure.ac:3567: -1- CURL_RUN_IFELSE([ ++m4trace:configure.ac:3756: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:5778: CURL_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:5280: CURL_CHECK_FUNC_STRERROR_R is expanded from... ++configure.ac:3756: the top level]) ++m4trace:configure.ac:3756: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:5778: CURL_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:5280: CURL_CHECK_FUNC_STRERROR_R is expanded from... ++configure.ac:3756: the top level]) ++m4trace:configure.ac:3756: -1- CURL_RUN_IFELSE([ + AC_LANG_PROGRAM([[ + $curl_includes_stdlib + $curl_includes_string +@@ -15006,139 +14975,143 @@ m4trace:configure.ac:3567: -1- CURL_RUN_IFELSE([ + AC_MSG_RESULT([no]) + tst_works_posix_strerror_r="no" + ]) +-m4trace:configure.ac:3567: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:5818: CURL_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:5320: CURL_CHECK_FUNC_STRERROR_R is expanded from... +-configure.ac:3567: the top level]) +-m4trace:configure.ac:3567: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:5818: CURL_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:5320: CURL_CHECK_FUNC_STRERROR_R is expanded from... +-configure.ac:3567: the top level]) +-m4trace:configure.ac:3567: -1- m4_pattern_allow([^HAVE_STRERROR_R$]) +-m4trace:configure.ac:3567: -1- m4_pattern_allow([^HAVE_GLIBC_STRERROR_R$]) +-m4trace:configure.ac:3567: -1- m4_pattern_allow([^HAVE_STRERROR_R$]) +-m4trace:configure.ac:3567: -1- m4_pattern_allow([^HAVE_POSIX_STRERROR_R$]) +-m4trace:configure.ac:3568: -1- CURL_CHECK_FUNC_STRICMP +-m4trace:configure.ac:3568: -1- m4_pattern_allow([^HAVE_STRICMP$]) +-m4trace:configure.ac:3569: -1- CURL_CHECK_FUNC_STRTOK_R +-m4trace:configure.ac:3569: -1- m4_pattern_allow([^HAVE_STRTOK_R$]) +-m4trace:configure.ac:3570: -1- CURL_CHECK_FUNC_STRTOLL +-m4trace:configure.ac:3570: -1- m4_pattern_allow([^HAVE_STRTOLL$]) +-m4trace:configure.ac:3580: -1- AC_DEFUN([_AC_UNDECLARED_BUILTIN_c], [_AC_UNDECLARED_BUILTIN]) +-m4trace:configure.ac:3580: -1- m4_pattern_allow([^HAVE_DECL_GETPWUID_R$]) +-m4trace:configure.ac:3580: -1- m4_pattern_allow([^HAVE_DECL_GETPWUID_R_MISSING$]) +-m4trace:configure.ac:3585: -2- XC_SH_TR_CPP([HAVE_$func]) +-m4trace:configure.ac:3631: -1- CURL_CHECK_NONBLOCKING_SOCKET +-m4trace:configure.ac:3637: -1- m4_pattern_allow([^PERL$]) +-m4trace:configure.ac:3639: -1- m4_pattern_allow([^PERL$]) +-m4trace:configure.ac:3641: -1- m4_pattern_allow([^NROFF$]) +-m4trace:configure.ac:3643: -1- m4_pattern_allow([^NROFF$]) +-m4trace:configure.ac:3664: -1- m4_pattern_allow([^MANOPT$]) +-m4trace:configure.ac:3680: -1- m4_pattern_allow([^USE_MANUAL$]) +-m4trace:configure.ac:3685: -1- AM_CONDITIONAL([USE_MANUAL], [test x"$USE_MANUAL" = x1]) +-m4trace:configure.ac:3685: -1- m4_pattern_allow([^USE_MANUAL_TRUE$]) +-m4trace:configure.ac:3685: -1- m4_pattern_allow([^USE_MANUAL_FALSE$]) +-m4trace:configure.ac:3685: -1- _AM_SUBST_NOTMAKE([USE_MANUAL_TRUE]) +-m4trace:configure.ac:3685: -1- _AM_SUBST_NOTMAKE([USE_MANUAL_FALSE]) +-m4trace:configure.ac:3687: -1- CURL_CHECK_LIB_ARES +-m4trace:configure.ac:3687: -1- CURL_CHECK_PKGCONFIG([libcares], [$ARES_PCDIR]) +-m4trace:configure.ac:3687: -1- m4_pattern_allow([^PKGCONFIG$]) +-m4trace:configure.ac:3687: -1- CURL_EXPORT_PCDIR([$ARES_PCDIR]) +-m4trace:configure.ac:3687: -1- CURL_EXPORT_PCDIR([$ARES_PCDIR]) +-m4trace:configure.ac:3687: -1- CURL_EXPORT_PCDIR([$ARES_PCDIR]) +-m4trace:configure.ac:3687: -1- CURL_EXPORT_PCDIR([$ARES_PCDIR]) +-m4trace:configure.ac:3687: -1- CURL_CHECK_PKGCONFIG([libcares]) +-m4trace:configure.ac:3687: -1- m4_pattern_allow([^PKGCONFIG$]) +-m4trace:configure.ac:3687: -1- CURL_EXPORT_PCDIR([]) +-m4trace:configure.ac:3687: -1- m4_pattern_allow([^USE_ARES$]) +-m4trace:configure.ac:3687: -1- m4_pattern_allow([^USE_ARES$]) +-m4trace:configure.ac:3695: -1- AM_CONDITIONAL([BUILD_LIBHOSTNAME], [test x$build_libhostname = xyes]) +-m4trace:configure.ac:3695: -1- m4_pattern_allow([^BUILD_LIBHOSTNAME_TRUE$]) +-m4trace:configure.ac:3695: -1- m4_pattern_allow([^BUILD_LIBHOSTNAME_FALSE$]) +-m4trace:configure.ac:3695: -1- _AM_SUBST_NOTMAKE([BUILD_LIBHOSTNAME_TRUE]) +-m4trace:configure.ac:3695: -1- _AM_SUBST_NOTMAKE([BUILD_LIBHOSTNAME_FALSE]) +-m4trace:configure.ac:3698: -1- CURL_CHECK_OPTION_THREADED_RESOLVER +-m4trace:configure.ac:3743: -1- m4_pattern_allow([^HAVE_PTHREAD_H$]) +-m4trace:configure.ac:3743: -1- m4_pattern_allow([^USE_THREADS_POSIX$]) +-m4trace:configure.ac:3813: -1- m4_pattern_allow([^USE_THREADS_WIN32$]) +-m4trace:configure.ac:3820: -1- CURL_CONVERT_INCLUDE_TO_ISYSTEM +-m4trace:configure.ac:3826: -1- m4_pattern_allow([^CURL_DISABLE_VERBOSE_STRINGS$]) +-m4trace:configure.ac:3845: -1- m4_pattern_allow([^USE_WINDOWS_SSPI$]) +-m4trace:configure.ac:3845: -1- m4_pattern_allow([^USE_WINDOWS_SSPI$]) +-m4trace:configure.ac:3881: -1- m4_pattern_allow([^CURL_DISABLE_BASIC_AUTH$]) +-m4trace:configure.ac:3900: -1- m4_pattern_allow([^CURL_DISABLE_BEARER_AUTH$]) +-m4trace:configure.ac:3919: -1- m4_pattern_allow([^CURL_DISABLE_DIGEST_AUTH$]) +-m4trace:configure.ac:3938: -1- m4_pattern_allow([^CURL_DISABLE_KERBEROS_AUTH$]) +-m4trace:configure.ac:3957: -1- m4_pattern_allow([^CURL_DISABLE_NEGOTIATE_AUTH$]) +-m4trace:configure.ac:3977: -1- m4_pattern_allow([^CURL_DISABLE_AWS$]) +-m4trace:configure.ac:3996: -1- m4_pattern_allow([^CURL_DISABLE_NTLM$]) +-m4trace:configure.ac:4011: -1- CURL_CHECK_OPTION_NTLM_WB +-m4trace:configure.ac:4013: -1- CURL_CHECK_NTLM_WB +-m4trace:configure.ac:4013: -1- m4_pattern_allow([^NTLM_WB_ENABLED$]) +-m4trace:configure.ac:4013: -1- m4_pattern_allow([^NTLM_WB_FILE$]) +-m4trace:configure.ac:4036: -1- m4_pattern_allow([^USE_TLS_SRP$]) +-m4trace:configure.ac:4063: -1- m4_pattern_allow([^USE_UNIX_SOCKETS$]) +-m4trace:configure.ac:4066: -1- m4_pattern_allow([^USE_UNIX_SOCKETS$]) +-m4trace:configure.ac:4066: -1- m4_pattern_allow([^USE_UNIX_SOCKETS$]) +-m4trace:configure.ac:4084: -1- m4_pattern_allow([^CURL_DISABLE_COOKIES$]) +-m4trace:configure.ac:4102: -1- m4_pattern_allow([^CURL_DISABLE_SOCKETPAIR$]) +-m4trace:configure.ac:4120: -1- m4_pattern_allow([^CURL_DISABLE_HTTP_AUTH$]) +-m4trace:configure.ac:4138: -1- m4_pattern_allow([^CURL_DISABLE_DOH$]) +-m4trace:configure.ac:4156: -1- m4_pattern_allow([^CURL_DISABLE_MIME$]) +-m4trace:configure.ac:4174: -1- m4_pattern_allow([^CURL_DISABLE_BINDLOCAL$]) +-m4trace:configure.ac:4192: -1- m4_pattern_allow([^CURL_DISABLE_FORM_API$]) +-m4trace:configure.ac:4192: -1- m4_pattern_allow([^CURL_DISABLE_FORM_API$]) +-m4trace:configure.ac:4218: -1- m4_pattern_allow([^CURL_DISABLE_PARSEDATE$]) +-m4trace:configure.ac:4236: -1- m4_pattern_allow([^CURL_DISABLE_NETRC$]) +-m4trace:configure.ac:4254: -1- m4_pattern_allow([^CURL_DISABLE_PROGRESS_METER$]) +-m4trace:configure.ac:4272: -1- m4_pattern_allow([^CURL_DISABLE_SHUFFLE_DNS$]) +-m4trace:configure.ac:4290: -1- m4_pattern_allow([^CURL_DISABLE_GETOPTIONS$]) +-m4trace:configure.ac:4308: -1- m4_pattern_allow([^CURL_DISABLE_ALTSVC$]) +-m4trace:configure.ac:4328: -1- m4_pattern_allow([^CURL_DISABLE_HEADERS_API$]) +-m4trace:configure.ac:4369: -1- m4_pattern_allow([^CURL_DISABLE_HSTS$]) +-m4trace:configure.ac:4385: -1- m4_pattern_allow([^HAVE_SSL_GET_ECH_STATUS$]) +-m4trace:configure.ac:4394: -1- m4_pattern_allow([^USE_ECH$]) +-m4trace:configure.ac:4406: -1- m4_pattern_allow([^HAVE_SSL_SET0_WBIO$]) +-m4trace:configure.ac:4413: -1- m4_pattern_allow([^USE_WEBSOCKETS$]) +-m4trace:configure.ac:4444: -1- CURL_CONFIGURE_SYMBOL_HIDING +-m4trace:configure.ac:4444: -1- m4_pattern_allow([^CURL_EXTERN_SYMBOL$]) +-m4trace:configure.ac:4444: -1- AM_CONDITIONAL([DOING_CURL_SYMBOL_HIDING], [test x$doing_symbol_hiding = xyes]) +-m4trace:configure.ac:4444: -1- m4_pattern_allow([^DOING_CURL_SYMBOL_HIDING_TRUE$]) +-m4trace:configure.ac:4444: -1- m4_pattern_allow([^DOING_CURL_SYMBOL_HIDING_FALSE$]) +-m4trace:configure.ac:4444: -1- _AM_SUBST_NOTMAKE([DOING_CURL_SYMBOL_HIDING_TRUE]) +-m4trace:configure.ac:4444: -1- _AM_SUBST_NOTMAKE([DOING_CURL_SYMBOL_HIDING_FALSE]) +-m4trace:configure.ac:4444: -1- m4_pattern_allow([^CFLAG_CURL_SYMBOL_HIDING$]) +-m4trace:configure.ac:4451: -1- m4_pattern_allow([^LIBCURL_LIBS$]) +-m4trace:configure.ac:4452: -1- m4_pattern_allow([^CURL_NETWORK_LIBS$]) +-m4trace:configure.ac:4453: -1- m4_pattern_allow([^CURL_NETWORK_AND_TIME_LIBS$]) +-m4trace:configure.ac:4460: -1- m4_pattern_allow([^BLANK_AT_MAKETIME$]) +-m4trace:configure.ac:4462: -1- AM_CONDITIONAL([CROSSCOMPILING], [test x$cross_compiling = xyes]) +-m4trace:configure.ac:4462: -1- m4_pattern_allow([^CROSSCOMPILING_TRUE$]) +-m4trace:configure.ac:4462: -1- m4_pattern_allow([^CROSSCOMPILING_FALSE$]) +-m4trace:configure.ac:4462: -1- _AM_SUBST_NOTMAKE([CROSSCOMPILING_TRUE]) +-m4trace:configure.ac:4462: -1- _AM_SUBST_NOTMAKE([CROSSCOMPILING_FALSE]) +-m4trace:configure.ac:4466: -1- m4_pattern_allow([^ENABLE_SHARED$]) +-m4trace:configure.ac:4470: -1- m4_pattern_allow([^ENABLE_STATIC$]) +-m4trace:configure.ac:4478: -1- m4_pattern_allow([^LIBCURL_NO_SHARED$]) +-m4trace:configure.ac:4634: -1- m4_pattern_allow([^SUPPORT_FEATURES$]) +-m4trace:configure.ac:4727: -1- m4_pattern_allow([^SUPPORT_PROTOCOLS$]) +-m4trace:configure.ac:4744: -1- XC_CHECK_BUILD_FLAGS +-m4trace:configure.ac:4744: -1- _XC_CHECK_VAR_LIBS +-m4trace:configure.ac:4744: -1- _XC_CHECK_VAR_LDFLAGS +-m4trace:configure.ac:4744: -1- _XC_CHECK_VAR_CPPFLAGS +-m4trace:configure.ac:4744: -1- _XC_CHECK_VAR_CFLAGS +-m4trace:configure.ac:4747: -1- m4_pattern_allow([^SSL_BACKENDS$]) +-m4trace:configure.ac:4783: -1- m4_pattern_allow([^LIB@&t@OBJS$]) +-m4trace:configure.ac:4783: -1- m4_pattern_allow([^LTLIBOBJS$]) +-m4trace:configure.ac:4783: -1- AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"]) +-m4trace:configure.ac:4783: -1- m4_pattern_allow([^am__EXEEXT_TRUE$]) +-m4trace:configure.ac:4783: -1- m4_pattern_allow([^am__EXEEXT_FALSE$]) +-m4trace:configure.ac:4783: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_TRUE]) +-m4trace:configure.ac:4783: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_FALSE]) +-m4trace:configure.ac:4783: -1- _AC_AM_CONFIG_HEADER_HOOK(["$ac_file"]) +-m4trace:configure.ac:4783: -1- _AM_OUTPUT_DEPENDENCY_COMMANDS +-m4trace:configure.ac:4783: -1- AM_RUN_LOG([cd "$am_dirpart" \ ++m4trace:configure.ac:3756: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:5778: CURL_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:5280: CURL_CHECK_FUNC_STRERROR_R is expanded from... ++configure.ac:3756: the top level]) ++m4trace:configure.ac:3756: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:5778: CURL_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:5280: CURL_CHECK_FUNC_STRERROR_R is expanded from... ++configure.ac:3756: the top level]) ++m4trace:configure.ac:3756: -1- m4_pattern_allow([^HAVE_STRERROR_R$]) ++m4trace:configure.ac:3756: -1- m4_pattern_allow([^HAVE_GLIBC_STRERROR_R$]) ++m4trace:configure.ac:3756: -1- m4_pattern_allow([^HAVE_STRERROR_R$]) ++m4trace:configure.ac:3756: -1- m4_pattern_allow([^HAVE_POSIX_STRERROR_R$]) ++m4trace:configure.ac:3757: -1- CURL_CHECK_FUNC_STRICMP ++m4trace:configure.ac:3757: -1- m4_pattern_allow([^HAVE_STRICMP$]) ++m4trace:configure.ac:3758: -1- CURL_CHECK_FUNC_STRTOK_R ++m4trace:configure.ac:3758: -1- m4_pattern_allow([^HAVE_STRTOK_R$]) ++m4trace:configure.ac:3759: -1- CURL_CHECK_FUNC_STRTOLL ++m4trace:configure.ac:3759: -1- m4_pattern_allow([^HAVE_STRTOLL$]) ++m4trace:configure.ac:3769: -1- AC_DEFUN([_AC_UNDECLARED_BUILTIN_c], [_AC_UNDECLARED_BUILTIN]) ++m4trace:configure.ac:3769: -1- m4_pattern_allow([^HAVE_DECL_GETPWUID_R$]) ++m4trace:configure.ac:3769: -1- m4_pattern_allow([^HAVE_DECL_GETPWUID_R_MISSING$]) ++m4trace:configure.ac:3773: -2- XC_SH_TR_CPP([HAVE_$func]) ++m4trace:configure.ac:3821: -1- AC_DEFUN([_AC_UNDECLARED_BUILTIN_c], [_AC_UNDECLARED_BUILTIN]) ++m4trace:configure.ac:3821: -1- m4_pattern_allow([^HAVE_DECL_FSEEKO$]) ++m4trace:configure.ac:3827: -1- CURL_CHECK_NONBLOCKING_SOCKET ++m4trace:configure.ac:3829: -1- m4_pattern_allow([^PERL$]) ++m4trace:configure.ac:3831: -1- m4_pattern_allow([^PERL$]) ++m4trace:configure.ac:3841: -1- AM_CONDITIONAL([BUILD_DOCS], [test x"$BUILD_DOCS" = x1]) ++m4trace:configure.ac:3841: -1- m4_pattern_allow([^BUILD_DOCS_TRUE$]) ++m4trace:configure.ac:3841: -1- m4_pattern_allow([^BUILD_DOCS_FALSE$]) ++m4trace:configure.ac:3841: -1- _AM_SUBST_NOTMAKE([BUILD_DOCS_TRUE]) ++m4trace:configure.ac:3841: -1- _AM_SUBST_NOTMAKE([BUILD_DOCS_FALSE]) ++m4trace:configure.ac:3848: -1- m4_pattern_allow([^USE_MANUAL$]) ++m4trace:configure.ac:3853: -1- AM_CONDITIONAL([USE_MANUAL], [test x"$USE_MANUAL" = x1]) ++m4trace:configure.ac:3853: -1- m4_pattern_allow([^USE_MANUAL_TRUE$]) ++m4trace:configure.ac:3853: -1- m4_pattern_allow([^USE_MANUAL_FALSE$]) ++m4trace:configure.ac:3853: -1- _AM_SUBST_NOTMAKE([USE_MANUAL_TRUE]) ++m4trace:configure.ac:3853: -1- _AM_SUBST_NOTMAKE([USE_MANUAL_FALSE]) ++m4trace:configure.ac:3855: -1- CURL_CHECK_LIB_ARES ++m4trace:configure.ac:3855: -1- CURL_CHECK_PKGCONFIG([libcares], [$ARES_PCDIR]) ++m4trace:configure.ac:3855: -1- m4_pattern_allow([^PKGCONFIG$]) ++m4trace:configure.ac:3855: -1- CURL_EXPORT_PCDIR([$ARES_PCDIR]) ++m4trace:configure.ac:3855: -1- CURL_EXPORT_PCDIR([$ARES_PCDIR]) ++m4trace:configure.ac:3855: -1- CURL_EXPORT_PCDIR([$ARES_PCDIR]) ++m4trace:configure.ac:3855: -1- CURL_EXPORT_PCDIR([$ARES_PCDIR]) ++m4trace:configure.ac:3855: -1- CURL_CHECK_PKGCONFIG([libcares]) ++m4trace:configure.ac:3855: -1- m4_pattern_allow([^PKGCONFIG$]) ++m4trace:configure.ac:3855: -1- CURL_EXPORT_PCDIR([]) ++m4trace:configure.ac:3855: -1- m4_pattern_allow([^USE_ARES$]) ++m4trace:configure.ac:3855: -1- m4_pattern_allow([^USE_ARES$]) ++m4trace:configure.ac:3863: -1- AM_CONDITIONAL([BUILD_LIBHOSTNAME], [test x$build_libhostname = xyes]) ++m4trace:configure.ac:3863: -1- m4_pattern_allow([^BUILD_LIBHOSTNAME_TRUE$]) ++m4trace:configure.ac:3863: -1- m4_pattern_allow([^BUILD_LIBHOSTNAME_FALSE$]) ++m4trace:configure.ac:3863: -1- _AM_SUBST_NOTMAKE([BUILD_LIBHOSTNAME_TRUE]) ++m4trace:configure.ac:3863: -1- _AM_SUBST_NOTMAKE([BUILD_LIBHOSTNAME_FALSE]) ++m4trace:configure.ac:3866: -1- CURL_CHECK_OPTION_THREADED_RESOLVER ++m4trace:configure.ac:3911: -1- m4_pattern_allow([^HAVE_PTHREAD_H$]) ++m4trace:configure.ac:3911: -1- m4_pattern_allow([^USE_THREADS_POSIX$]) ++m4trace:configure.ac:3981: -1- m4_pattern_allow([^USE_THREADS_WIN32$]) ++m4trace:configure.ac:3988: -1- CURL_CONVERT_INCLUDE_TO_ISYSTEM ++m4trace:configure.ac:3994: -1- m4_pattern_allow([^CURL_DISABLE_VERBOSE_STRINGS$]) ++m4trace:configure.ac:4013: -1- m4_pattern_allow([^USE_WINDOWS_SSPI$]) ++m4trace:configure.ac:4013: -1- m4_pattern_allow([^USE_WINDOWS_SSPI$]) ++m4trace:configure.ac:4049: -1- m4_pattern_allow([^CURL_DISABLE_BASIC_AUTH$]) ++m4trace:configure.ac:4068: -1- m4_pattern_allow([^CURL_DISABLE_BEARER_AUTH$]) ++m4trace:configure.ac:4087: -1- m4_pattern_allow([^CURL_DISABLE_DIGEST_AUTH$]) ++m4trace:configure.ac:4106: -1- m4_pattern_allow([^CURL_DISABLE_KERBEROS_AUTH$]) ++m4trace:configure.ac:4125: -1- m4_pattern_allow([^CURL_DISABLE_NEGOTIATE_AUTH$]) ++m4trace:configure.ac:4145: -1- m4_pattern_allow([^CURL_DISABLE_AWS$]) ++m4trace:configure.ac:4164: -1- m4_pattern_allow([^CURL_DISABLE_NTLM$]) ++m4trace:configure.ac:4179: -1- CURL_CHECK_OPTION_NTLM_WB ++m4trace:configure.ac:4181: -1- CURL_CHECK_NTLM_WB ++m4trace:configure.ac:4181: -1- m4_pattern_allow([^NTLM_WB_ENABLED$]) ++m4trace:configure.ac:4181: -1- m4_pattern_allow([^NTLM_WB_FILE$]) ++m4trace:configure.ac:4204: -1- m4_pattern_allow([^USE_TLS_SRP$]) ++m4trace:configure.ac:4231: -1- m4_pattern_allow([^USE_UNIX_SOCKETS$]) ++m4trace:configure.ac:4234: -1- m4_pattern_allow([^USE_UNIX_SOCKETS$]) ++m4trace:configure.ac:4234: -1- m4_pattern_allow([^USE_UNIX_SOCKETS$]) ++m4trace:configure.ac:4252: -1- m4_pattern_allow([^CURL_DISABLE_COOKIES$]) ++m4trace:configure.ac:4270: -1- m4_pattern_allow([^CURL_DISABLE_SOCKETPAIR$]) ++m4trace:configure.ac:4288: -1- m4_pattern_allow([^CURL_DISABLE_HTTP_AUTH$]) ++m4trace:configure.ac:4306: -1- m4_pattern_allow([^CURL_DISABLE_DOH$]) ++m4trace:configure.ac:4324: -1- m4_pattern_allow([^CURL_DISABLE_MIME$]) ++m4trace:configure.ac:4342: -1- m4_pattern_allow([^CURL_DISABLE_BINDLOCAL$]) ++m4trace:configure.ac:4360: -1- m4_pattern_allow([^CURL_DISABLE_FORM_API$]) ++m4trace:configure.ac:4360: -1- m4_pattern_allow([^CURL_DISABLE_FORM_API$]) ++m4trace:configure.ac:4386: -1- m4_pattern_allow([^CURL_DISABLE_PARSEDATE$]) ++m4trace:configure.ac:4404: -1- m4_pattern_allow([^CURL_DISABLE_NETRC$]) ++m4trace:configure.ac:4422: -1- m4_pattern_allow([^CURL_DISABLE_PROGRESS_METER$]) ++m4trace:configure.ac:4440: -1- m4_pattern_allow([^CURL_DISABLE_SHUFFLE_DNS$]) ++m4trace:configure.ac:4458: -1- m4_pattern_allow([^CURL_DISABLE_GETOPTIONS$]) ++m4trace:configure.ac:4476: -1- m4_pattern_allow([^CURL_DISABLE_ALTSVC$]) ++m4trace:configure.ac:4496: -1- m4_pattern_allow([^CURL_DISABLE_HEADERS_API$]) ++m4trace:configure.ac:4537: -1- m4_pattern_allow([^CURL_DISABLE_HSTS$]) ++m4trace:configure.ac:4553: -1- m4_pattern_allow([^HAVE_SSL_GET_ECH_STATUS$]) ++m4trace:configure.ac:4562: -1- m4_pattern_allow([^USE_ECH$]) ++m4trace:configure.ac:4574: -1- m4_pattern_allow([^HAVE_SSL_SET0_WBIO$]) ++m4trace:configure.ac:4581: -1- m4_pattern_allow([^USE_WEBSOCKETS$]) ++m4trace:configure.ac:4612: -1- CURL_CONFIGURE_SYMBOL_HIDING ++m4trace:configure.ac:4612: -1- m4_pattern_allow([^CURL_EXTERN_SYMBOL$]) ++m4trace:configure.ac:4612: -1- AM_CONDITIONAL([DOING_CURL_SYMBOL_HIDING], [test x$doing_symbol_hiding = xyes]) ++m4trace:configure.ac:4612: -1- m4_pattern_allow([^DOING_CURL_SYMBOL_HIDING_TRUE$]) ++m4trace:configure.ac:4612: -1- m4_pattern_allow([^DOING_CURL_SYMBOL_HIDING_FALSE$]) ++m4trace:configure.ac:4612: -1- _AM_SUBST_NOTMAKE([DOING_CURL_SYMBOL_HIDING_TRUE]) ++m4trace:configure.ac:4612: -1- _AM_SUBST_NOTMAKE([DOING_CURL_SYMBOL_HIDING_FALSE]) ++m4trace:configure.ac:4612: -1- m4_pattern_allow([^CFLAG_CURL_SYMBOL_HIDING$]) ++m4trace:configure.ac:4619: -1- m4_pattern_allow([^LIBCURL_LIBS$]) ++m4trace:configure.ac:4620: -1- m4_pattern_allow([^CURL_NETWORK_LIBS$]) ++m4trace:configure.ac:4621: -1- m4_pattern_allow([^CURL_NETWORK_AND_TIME_LIBS$]) ++m4trace:configure.ac:4628: -1- m4_pattern_allow([^BLANK_AT_MAKETIME$]) ++m4trace:configure.ac:4630: -1- AM_CONDITIONAL([CROSSCOMPILING], [test x$cross_compiling = xyes]) ++m4trace:configure.ac:4630: -1- m4_pattern_allow([^CROSSCOMPILING_TRUE$]) ++m4trace:configure.ac:4630: -1- m4_pattern_allow([^CROSSCOMPILING_FALSE$]) ++m4trace:configure.ac:4630: -1- _AM_SUBST_NOTMAKE([CROSSCOMPILING_TRUE]) ++m4trace:configure.ac:4630: -1- _AM_SUBST_NOTMAKE([CROSSCOMPILING_FALSE]) ++m4trace:configure.ac:4634: -1- m4_pattern_allow([^ENABLE_SHARED$]) ++m4trace:configure.ac:4638: -1- m4_pattern_allow([^ENABLE_STATIC$]) ++m4trace:configure.ac:4646: -1- m4_pattern_allow([^LIBCURL_NO_SHARED$]) ++m4trace:configure.ac:4819: -1- m4_pattern_allow([^SUPPORT_FEATURES$]) ++m4trace:configure.ac:4912: -1- m4_pattern_allow([^SUPPORT_PROTOCOLS$]) ++m4trace:configure.ac:4929: -1- XC_CHECK_BUILD_FLAGS ++m4trace:configure.ac:4929: -1- _XC_CHECK_VAR_LIBS ++m4trace:configure.ac:4929: -1- _XC_CHECK_VAR_LDFLAGS ++m4trace:configure.ac:4929: -1- _XC_CHECK_VAR_CPPFLAGS ++m4trace:configure.ac:4929: -1- _XC_CHECK_VAR_CFLAGS ++m4trace:configure.ac:4932: -1- m4_pattern_allow([^SSL_BACKENDS$]) ++m4trace:configure.ac:4968: -1- m4_pattern_allow([^LIB@&t@OBJS$]) ++m4trace:configure.ac:4968: -1- m4_pattern_allow([^LTLIBOBJS$]) ++m4trace:configure.ac:4968: -1- AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"]) ++m4trace:configure.ac:4968: -1- m4_pattern_allow([^am__EXEEXT_TRUE$]) ++m4trace:configure.ac:4968: -1- m4_pattern_allow([^am__EXEEXT_FALSE$]) ++m4trace:configure.ac:4968: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_TRUE]) ++m4trace:configure.ac:4968: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_FALSE]) ++m4trace:configure.ac:4968: -1- _AC_AM_CONFIG_HEADER_HOOK(["$ac_file"]) ++m4trace:configure.ac:4968: -1- _AM_OUTPUT_DEPENDENCY_COMMANDS ++m4trace:configure.ac:4968: -1- AM_RUN_LOG([cd "$am_dirpart" \ + && sed -e '/# am--include-marker/d' "$am_filepart" \ + | $MAKE -f - am--depfiles]) +-m4trace:configure.ac:4783: -1- _LT_PROG_LTMAIN +-m4trace:configure.ac:4785: -1- CURL_GENERATE_CONFIGUREHELP_PM ++m4trace:configure.ac:4968: -1- _LT_PROG_LTMAIN ++m4trace:configure.ac:4970: -1- CURL_GENERATE_CONFIGUREHELP_PM +diff --git a/autom4te.cache/traces.1 b/autom4te.cache/traces.1 +index cc36162..ed6d966 100644 +--- a/autom4te.cache/traces.1 ++++ b/autom4te.cache/traces.1 +@@ -512,2394 +512,2440 @@ m4trace:configure.ac:145: -1- m4_pattern_allow([^PKGADD_NAME$]) + m4trace:configure.ac:146: -1- AC_SUBST([PKGADD_VENDOR]) + m4trace:configure.ac:146: -1- AC_SUBST_TRACE([PKGADD_VENDOR]) + m4trace:configure.ac:146: -1- m4_pattern_allow([^PKGADD_VENDOR$]) +-m4trace:configure.ac:309: -1- AC_SUBST([TEST_NGHTTPX]) +-m4trace:configure.ac:309: -1- AC_SUBST_TRACE([TEST_NGHTTPX]) +-m4trace:configure.ac:309: -1- m4_pattern_allow([^TEST_NGHTTPX$]) +-m4trace:configure.ac:319: -1- AC_SUBST([CADDY]) +-m4trace:configure.ac:319: -1- AC_SUBST_TRACE([CADDY]) +-m4trace:configure.ac:319: -1- m4_pattern_allow([^CADDY$]) +-m4trace:configure.ac:332: -1- AC_SUBST([APXS]) +-m4trace:configure.ac:332: -1- AC_SUBST_TRACE([APXS]) +-m4trace:configure.ac:332: -1- m4_pattern_allow([^APXS$]) +-m4trace:configure.ac:338: -1- AC_SUBST([HTTPD]) +-m4trace:configure.ac:338: -1- AC_SUBST_TRACE([HTTPD]) +-m4trace:configure.ac:338: -1- m4_pattern_allow([^HTTPD$]) +-m4trace:configure.ac:340: -1- AC_SUBST([HTTPD]) +-m4trace:configure.ac:340: -1- AC_SUBST_TRACE([HTTPD]) +-m4trace:configure.ac:340: -1- m4_pattern_allow([^HTTPD$]) +-m4trace:configure.ac:342: -1- AC_SUBST([APACHECTL]) +-m4trace:configure.ac:342: -1- AC_SUBST_TRACE([APACHECTL]) +-m4trace:configure.ac:342: -1- m4_pattern_allow([^APACHECTL$]) +-m4trace:configure.ac:343: -1- AC_SUBST([APXS]) +-m4trace:configure.ac:343: -1- AC_SUBST_TRACE([APXS]) +-m4trace:configure.ac:343: -1- m4_pattern_allow([^APXS$]) +-m4trace:configure.ac:375: -1- AC_SUBST([HTTPD]) +-m4trace:configure.ac:375: -1- AC_SUBST_TRACE([HTTPD]) +-m4trace:configure.ac:375: -1- m4_pattern_allow([^HTTPD$]) +-m4trace:configure.ac:376: -1- AC_SUBST([APACHECTL]) +-m4trace:configure.ac:376: -1- AC_SUBST_TRACE([APACHECTL]) +-m4trace:configure.ac:376: -1- m4_pattern_allow([^APACHECTL$]) +-m4trace:configure.ac:377: -1- AC_SUBST([APXS]) +-m4trace:configure.ac:377: -1- AC_SUBST_TRACE([APXS]) +-m4trace:configure.ac:377: -1- m4_pattern_allow([^APXS$]) +-m4trace:configure.ac:383: -1- AC_SUBST([HTTPD_NGHTTPX]) +-m4trace:configure.ac:383: -1- AC_SUBST_TRACE([HTTPD_NGHTTPX]) +-m4trace:configure.ac:383: -1- m4_pattern_allow([^HTTPD_NGHTTPX$]) +-m4trace:configure.ac:386: -1- AC_SUBST([HTTPD_NGHTTPX]) +-m4trace:configure.ac:386: -1- AC_SUBST_TRACE([HTTPD_NGHTTPX]) +-m4trace:configure.ac:386: -1- m4_pattern_allow([^HTTPD_NGHTTPX$]) +-m4trace:configure.ac:392: -1- AC_SUBST([CADDY]) +-m4trace:configure.ac:392: -1- AC_SUBST_TRACE([CADDY]) +-m4trace:configure.ac:392: -1- m4_pattern_allow([^CADDY$]) +-m4trace:configure.ac:394: -1- AC_SUBST([CADDY]) +-m4trace:configure.ac:394: -1- AC_SUBST_TRACE([CADDY]) +-m4trace:configure.ac:394: -1- m4_pattern_allow([^CADDY$]) +-m4trace:configure.ac:424: -1- AC_CANONICAL_HOST +-m4trace:configure.ac:424: -1- AC_CANONICAL_BUILD +-m4trace:configure.ac:424: -1- AC_REQUIRE_AUX_FILE([config.sub]) +-m4trace:configure.ac:424: -1- AC_REQUIRE_AUX_FILE([config.guess]) +-m4trace:configure.ac:424: -1- AC_SUBST([build], [$ac_cv_build]) +-m4trace:configure.ac:424: -1- AC_SUBST_TRACE([build]) +-m4trace:configure.ac:424: -1- m4_pattern_allow([^build$]) +-m4trace:configure.ac:424: -1- AC_SUBST([build_cpu], [$[1]]) +-m4trace:configure.ac:424: -1- AC_SUBST_TRACE([build_cpu]) +-m4trace:configure.ac:424: -1- m4_pattern_allow([^build_cpu$]) +-m4trace:configure.ac:424: -1- AC_SUBST([build_vendor], [$[2]]) +-m4trace:configure.ac:424: -1- AC_SUBST_TRACE([build_vendor]) +-m4trace:configure.ac:424: -1- m4_pattern_allow([^build_vendor$]) +-m4trace:configure.ac:424: -1- AC_SUBST([build_os]) +-m4trace:configure.ac:424: -1- AC_SUBST_TRACE([build_os]) +-m4trace:configure.ac:424: -1- m4_pattern_allow([^build_os$]) +-m4trace:configure.ac:424: -1- AC_SUBST([host], [$ac_cv_host]) +-m4trace:configure.ac:424: -1- AC_SUBST_TRACE([host]) +-m4trace:configure.ac:424: -1- m4_pattern_allow([^host$]) +-m4trace:configure.ac:424: -1- AC_SUBST([host_cpu], [$[1]]) +-m4trace:configure.ac:424: -1- AC_SUBST_TRACE([host_cpu]) +-m4trace:configure.ac:424: -1- m4_pattern_allow([^host_cpu$]) +-m4trace:configure.ac:424: -1- AC_SUBST([host_vendor], [$[2]]) +-m4trace:configure.ac:424: -1- AC_SUBST_TRACE([host_vendor]) +-m4trace:configure.ac:424: -1- m4_pattern_allow([^host_vendor$]) +-m4trace:configure.ac:424: -1- AC_SUBST([host_os]) +-m4trace:configure.ac:424: -1- AC_SUBST_TRACE([host_os]) +-m4trace:configure.ac:424: -1- m4_pattern_allow([^host_os$]) +-m4trace:configure.ac:426: -1- AC_DEFINE_TRACE_LITERAL([OS]) +-m4trace:configure.ac:426: -1- m4_pattern_allow([^OS$]) +-m4trace:configure.ac:426: -1- AH_OUTPUT([OS], [/* cpu-machine-OS */ ++m4trace:configure.ac:310: -1- AC_SUBST([TEST_NGHTTPX]) ++m4trace:configure.ac:310: -1- AC_SUBST_TRACE([TEST_NGHTTPX]) ++m4trace:configure.ac:310: -1- m4_pattern_allow([^TEST_NGHTTPX$]) ++m4trace:configure.ac:320: -1- AC_SUBST([CADDY]) ++m4trace:configure.ac:320: -1- AC_SUBST_TRACE([CADDY]) ++m4trace:configure.ac:320: -1- m4_pattern_allow([^CADDY$]) ++m4trace:configure.ac:333: -1- AC_SUBST([APXS]) ++m4trace:configure.ac:333: -1- AC_SUBST_TRACE([APXS]) ++m4trace:configure.ac:333: -1- m4_pattern_allow([^APXS$]) ++m4trace:configure.ac:339: -1- AC_SUBST([HTTPD]) ++m4trace:configure.ac:339: -1- AC_SUBST_TRACE([HTTPD]) ++m4trace:configure.ac:339: -1- m4_pattern_allow([^HTTPD$]) ++m4trace:configure.ac:341: -1- AC_SUBST([HTTPD]) ++m4trace:configure.ac:341: -1- AC_SUBST_TRACE([HTTPD]) ++m4trace:configure.ac:341: -1- m4_pattern_allow([^HTTPD$]) ++m4trace:configure.ac:343: -1- AC_SUBST([APACHECTL]) ++m4trace:configure.ac:343: -1- AC_SUBST_TRACE([APACHECTL]) ++m4trace:configure.ac:343: -1- m4_pattern_allow([^APACHECTL$]) ++m4trace:configure.ac:344: -1- AC_SUBST([APXS]) ++m4trace:configure.ac:344: -1- AC_SUBST_TRACE([APXS]) ++m4trace:configure.ac:344: -1- m4_pattern_allow([^APXS$]) ++m4trace:configure.ac:376: -1- AC_SUBST([HTTPD]) ++m4trace:configure.ac:376: -1- AC_SUBST_TRACE([HTTPD]) ++m4trace:configure.ac:376: -1- m4_pattern_allow([^HTTPD$]) ++m4trace:configure.ac:377: -1- AC_SUBST([APACHECTL]) ++m4trace:configure.ac:377: -1- AC_SUBST_TRACE([APACHECTL]) ++m4trace:configure.ac:377: -1- m4_pattern_allow([^APACHECTL$]) ++m4trace:configure.ac:378: -1- AC_SUBST([APXS]) ++m4trace:configure.ac:378: -1- AC_SUBST_TRACE([APXS]) ++m4trace:configure.ac:378: -1- m4_pattern_allow([^APXS$]) ++m4trace:configure.ac:384: -1- AC_SUBST([HTTPD_NGHTTPX]) ++m4trace:configure.ac:384: -1- AC_SUBST_TRACE([HTTPD_NGHTTPX]) ++m4trace:configure.ac:384: -1- m4_pattern_allow([^HTTPD_NGHTTPX$]) ++m4trace:configure.ac:387: -1- AC_SUBST([HTTPD_NGHTTPX]) ++m4trace:configure.ac:387: -1- AC_SUBST_TRACE([HTTPD_NGHTTPX]) ++m4trace:configure.ac:387: -1- m4_pattern_allow([^HTTPD_NGHTTPX$]) ++m4trace:configure.ac:393: -1- AC_SUBST([CADDY]) ++m4trace:configure.ac:393: -1- AC_SUBST_TRACE([CADDY]) ++m4trace:configure.ac:393: -1- m4_pattern_allow([^CADDY$]) ++m4trace:configure.ac:395: -1- AC_SUBST([CADDY]) ++m4trace:configure.ac:395: -1- AC_SUBST_TRACE([CADDY]) ++m4trace:configure.ac:395: -1- m4_pattern_allow([^CADDY$]) ++m4trace:configure.ac:425: -1- AC_CANONICAL_HOST ++m4trace:configure.ac:425: -1- AC_CANONICAL_BUILD ++m4trace:configure.ac:425: -1- AC_REQUIRE_AUX_FILE([config.sub]) ++m4trace:configure.ac:425: -1- AC_REQUIRE_AUX_FILE([config.guess]) ++m4trace:configure.ac:425: -1- AC_SUBST([build], [$ac_cv_build]) ++m4trace:configure.ac:425: -1- AC_SUBST_TRACE([build]) ++m4trace:configure.ac:425: -1- m4_pattern_allow([^build$]) ++m4trace:configure.ac:425: -1- AC_SUBST([build_cpu], [$[1]]) ++m4trace:configure.ac:425: -1- AC_SUBST_TRACE([build_cpu]) ++m4trace:configure.ac:425: -1- m4_pattern_allow([^build_cpu$]) ++m4trace:configure.ac:425: -1- AC_SUBST([build_vendor], [$[2]]) ++m4trace:configure.ac:425: -1- AC_SUBST_TRACE([build_vendor]) ++m4trace:configure.ac:425: -1- m4_pattern_allow([^build_vendor$]) ++m4trace:configure.ac:425: -1- AC_SUBST([build_os]) ++m4trace:configure.ac:425: -1- AC_SUBST_TRACE([build_os]) ++m4trace:configure.ac:425: -1- m4_pattern_allow([^build_os$]) ++m4trace:configure.ac:425: -1- AC_SUBST([host], [$ac_cv_host]) ++m4trace:configure.ac:425: -1- AC_SUBST_TRACE([host]) ++m4trace:configure.ac:425: -1- m4_pattern_allow([^host$]) ++m4trace:configure.ac:425: -1- AC_SUBST([host_cpu], [$[1]]) ++m4trace:configure.ac:425: -1- AC_SUBST_TRACE([host_cpu]) ++m4trace:configure.ac:425: -1- m4_pattern_allow([^host_cpu$]) ++m4trace:configure.ac:425: -1- AC_SUBST([host_vendor], [$[2]]) ++m4trace:configure.ac:425: -1- AC_SUBST_TRACE([host_vendor]) ++m4trace:configure.ac:425: -1- m4_pattern_allow([^host_vendor$]) ++m4trace:configure.ac:425: -1- AC_SUBST([host_os]) ++m4trace:configure.ac:425: -1- AC_SUBST_TRACE([host_os]) ++m4trace:configure.ac:425: -1- m4_pattern_allow([^host_os$]) ++m4trace:configure.ac:427: -1- AC_DEFINE_TRACE_LITERAL([OS]) ++m4trace:configure.ac:427: -1- m4_pattern_allow([^OS$]) ++m4trace:configure.ac:427: -1- AH_OUTPUT([OS], [/* cpu-machine-OS */ + @%:@undef OS]) +-m4trace:configure.ac:429: -1- AC_SUBST([AR_FLAGS], [cr]) +-m4trace:configure.ac:429: -1- AC_SUBST_TRACE([AR_FLAGS]) +-m4trace:configure.ac:429: -1- m4_pattern_allow([^AR_FLAGS$]) +-m4trace:configure.ac:432: -1- AH_OUTPUT([_ALL_SOURCE], [/* Define to 1 if OS is AIX. */ ++m4trace:configure.ac:430: -1- AC_SUBST([AR_FLAGS], [cr]) ++m4trace:configure.ac:430: -1- AC_SUBST_TRACE([AR_FLAGS]) ++m4trace:configure.ac:430: -1- m4_pattern_allow([^AR_FLAGS$]) ++m4trace:configure.ac:433: -1- AH_OUTPUT([_ALL_SOURCE], [/* Define to 1 if OS is AIX. */ + #ifndef _ALL_SOURCE + # undef _ALL_SOURCE + #endif]) +-m4trace:configure.ac:432: -1- AC_SUBST([GREP]) +-m4trace:configure.ac:432: -1- AC_SUBST_TRACE([GREP]) +-m4trace:configure.ac:432: -1- m4_pattern_allow([^GREP$]) +-m4trace:configure.ac:432: -1- AC_SUBST([EGREP]) +-m4trace:configure.ac:432: -1- AC_SUBST_TRACE([EGREP]) +-m4trace:configure.ac:432: -1- m4_pattern_allow([^EGREP$]) +-m4trace:configure.ac:432: -1- AC_DEFINE_TRACE_LITERAL([_ALL_SOURCE]) +-m4trace:configure.ac:432: -1- m4_pattern_allow([^_ALL_SOURCE$]) +-m4trace:configure.ac:435: -1- AC_DEFINE_TRACE_LITERAL([NEED_THREAD_SAFE]) +-m4trace:configure.ac:435: -1- m4_pattern_allow([^NEED_THREAD_SAFE$]) +-m4trace:configure.ac:435: -1- AH_OUTPUT([NEED_THREAD_SAFE], [/* Define to 1 if _THREAD_SAFE preprocessor symbol must be defined. */ ++m4trace:configure.ac:433: -1- AC_SUBST([GREP]) ++m4trace:configure.ac:433: -1- AC_SUBST_TRACE([GREP]) ++m4trace:configure.ac:433: -1- m4_pattern_allow([^GREP$]) ++m4trace:configure.ac:433: -1- AC_SUBST([EGREP]) ++m4trace:configure.ac:433: -1- AC_SUBST_TRACE([EGREP]) ++m4trace:configure.ac:433: -1- m4_pattern_allow([^EGREP$]) ++m4trace:configure.ac:433: -1- AC_DEFINE_TRACE_LITERAL([_ALL_SOURCE]) ++m4trace:configure.ac:433: -1- m4_pattern_allow([^_ALL_SOURCE$]) ++m4trace:configure.ac:436: -1- AC_DEFINE_TRACE_LITERAL([NEED_THREAD_SAFE]) ++m4trace:configure.ac:436: -1- m4_pattern_allow([^NEED_THREAD_SAFE$]) ++m4trace:configure.ac:436: -1- AH_OUTPUT([NEED_THREAD_SAFE], [/* Define to 1 if _THREAD_SAFE preprocessor symbol must be defined. */ + @%:@undef NEED_THREAD_SAFE]) +-m4trace:configure.ac:436: -1- AC_DEFINE_TRACE_LITERAL([NEED_REENTRANT]) +-m4trace:configure.ac:436: -1- m4_pattern_allow([^NEED_REENTRANT$]) +-m4trace:configure.ac:436: -1- AH_OUTPUT([NEED_REENTRANT], [/* Define to 1 if _REENTRANT preprocessor symbol must be defined. */ ++m4trace:configure.ac:437: -1- AC_DEFINE_TRACE_LITERAL([NEED_REENTRANT]) ++m4trace:configure.ac:437: -1- m4_pattern_allow([^NEED_REENTRANT$]) ++m4trace:configure.ac:437: -1- AH_OUTPUT([NEED_REENTRANT], [/* Define to 1 if _REENTRANT preprocessor symbol must be defined. */ + @%:@undef NEED_REENTRANT]) +-m4trace:configure.ac:439: -1- AC_DEFINE_TRACE_LITERAL([_FILE_OFFSET_BITS]) +-m4trace:configure.ac:439: -1- m4_pattern_allow([^_FILE_OFFSET_BITS$]) +-m4trace:configure.ac:439: -1- AH_OUTPUT([_FILE_OFFSET_BITS], [/* Number of bits in a file offset, on hosts where this is settable. */ ++m4trace:configure.ac:440: -1- AC_DEFINE_TRACE_LITERAL([_FILE_OFFSET_BITS]) ++m4trace:configure.ac:440: -1- m4_pattern_allow([^_FILE_OFFSET_BITS$]) ++m4trace:configure.ac:440: -1- AH_OUTPUT([_FILE_OFFSET_BITS], [/* Number of bits in a file offset, on hosts where this is settable. */ + @%:@undef _FILE_OFFSET_BITS]) +-m4trace:configure.ac:439: -1- AC_DEFINE_TRACE_LITERAL([_LARGE_FILES]) +-m4trace:configure.ac:439: -1- m4_pattern_allow([^_LARGE_FILES$]) +-m4trace:configure.ac:439: -1- AH_OUTPUT([_LARGE_FILES], [/* Define for large files, on AIX-style hosts. */ ++m4trace:configure.ac:440: -1- AC_DEFINE_TRACE_LITERAL([_LARGE_FILES]) ++m4trace:configure.ac:440: -1- m4_pattern_allow([^_LARGE_FILES$]) ++m4trace:configure.ac:440: -1- AH_OUTPUT([_LARGE_FILES], [/* Define for large files, on AIX-style hosts. */ + @%:@undef _LARGE_FILES]) +-m4trace:configure.ac:441: -1- LT_INIT([win32-dll]) +-m4trace:configure.ac:441: -1- m4_pattern_forbid([^_?LT_[A-Z_]+$]) +-m4trace:configure.ac:441: -1- m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$]) +-m4trace:configure.ac:441: -1- AC_REQUIRE_AUX_FILE([ltmain.sh]) +-m4trace:configure.ac:441: -1- AC_SUBST([AS]) +-m4trace:configure.ac:441: -1- AC_SUBST_TRACE([AS]) +-m4trace:configure.ac:441: -1- m4_pattern_allow([^AS$]) +-m4trace:configure.ac:441: -1- AC_SUBST([DLLTOOL]) +-m4trace:configure.ac:441: -1- AC_SUBST_TRACE([DLLTOOL]) +-m4trace:configure.ac:441: -1- m4_pattern_allow([^DLLTOOL$]) +-m4trace:configure.ac:441: -1- AC_SUBST([OBJDUMP]) +-m4trace:configure.ac:441: -1- AC_SUBST_TRACE([OBJDUMP]) +-m4trace:configure.ac:441: -1- m4_pattern_allow([^OBJDUMP$]) +-m4trace:configure.ac:441: -1- AC_SUBST([LIBTOOL]) +-m4trace:configure.ac:441: -1- AC_SUBST_TRACE([LIBTOOL]) +-m4trace:configure.ac:441: -1- m4_pattern_allow([^LIBTOOL$]) +-m4trace:configure.ac:441: -1- AC_SUBST([SED]) +-m4trace:configure.ac:441: -1- AC_SUBST_TRACE([SED]) +-m4trace:configure.ac:441: -1- m4_pattern_allow([^SED$]) +-m4trace:configure.ac:441: -1- AC_SUBST([FGREP]) +-m4trace:configure.ac:441: -1- AC_SUBST_TRACE([FGREP]) +-m4trace:configure.ac:441: -1- m4_pattern_allow([^FGREP$]) +-m4trace:configure.ac:441: -1- AC_SUBST([GREP]) +-m4trace:configure.ac:441: -1- AC_SUBST_TRACE([GREP]) +-m4trace:configure.ac:441: -1- m4_pattern_allow([^GREP$]) +-m4trace:configure.ac:441: -1- AC_SUBST([LD]) +-m4trace:configure.ac:441: -1- AC_SUBST_TRACE([LD]) +-m4trace:configure.ac:441: -1- m4_pattern_allow([^LD$]) +-m4trace:configure.ac:441: -1- AC_SUBST([DUMPBIN]) +-m4trace:configure.ac:441: -1- AC_SUBST_TRACE([DUMPBIN]) +-m4trace:configure.ac:441: -1- m4_pattern_allow([^DUMPBIN$]) +-m4trace:configure.ac:441: -1- AC_SUBST([ac_ct_DUMPBIN]) +-m4trace:configure.ac:441: -1- AC_SUBST_TRACE([ac_ct_DUMPBIN]) +-m4trace:configure.ac:441: -1- m4_pattern_allow([^ac_ct_DUMPBIN$]) +-m4trace:configure.ac:441: -1- AC_SUBST([DUMPBIN]) +-m4trace:configure.ac:441: -1- AC_SUBST_TRACE([DUMPBIN]) +-m4trace:configure.ac:441: -1- m4_pattern_allow([^DUMPBIN$]) +-m4trace:configure.ac:441: -1- AC_SUBST([NM]) +-m4trace:configure.ac:441: -1- AC_SUBST_TRACE([NM]) +-m4trace:configure.ac:441: -1- m4_pattern_allow([^NM$]) +-m4trace:configure.ac:441: -1- AC_SUBST([LN_S], [$as_ln_s]) +-m4trace:configure.ac:441: -1- AC_SUBST_TRACE([LN_S]) +-m4trace:configure.ac:441: -1- m4_pattern_allow([^LN_S$]) +-m4trace:configure.ac:441: -1- AC_SUBST([FILECMD]) +-m4trace:configure.ac:441: -1- AC_SUBST_TRACE([FILECMD]) +-m4trace:configure.ac:441: -1- m4_pattern_allow([^FILECMD$]) +-m4trace:configure.ac:441: -1- AC_SUBST([OBJDUMP]) +-m4trace:configure.ac:441: -1- AC_SUBST_TRACE([OBJDUMP]) +-m4trace:configure.ac:441: -1- m4_pattern_allow([^OBJDUMP$]) +-m4trace:configure.ac:441: -1- AC_SUBST([OBJDUMP]) +-m4trace:configure.ac:441: -1- AC_SUBST_TRACE([OBJDUMP]) +-m4trace:configure.ac:441: -1- m4_pattern_allow([^OBJDUMP$]) +-m4trace:configure.ac:441: -1- AC_SUBST([DLLTOOL]) +-m4trace:configure.ac:441: -1- AC_SUBST_TRACE([DLLTOOL]) +-m4trace:configure.ac:441: -1- m4_pattern_allow([^DLLTOOL$]) +-m4trace:configure.ac:441: -1- AC_SUBST([DLLTOOL]) +-m4trace:configure.ac:441: -1- AC_SUBST_TRACE([DLLTOOL]) +-m4trace:configure.ac:441: -1- m4_pattern_allow([^DLLTOOL$]) +-m4trace:configure.ac:441: -1- AC_SUBST([AR]) +-m4trace:configure.ac:441: -1- AC_SUBST_TRACE([AR]) +-m4trace:configure.ac:441: -1- m4_pattern_allow([^AR$]) +-m4trace:configure.ac:441: -1- AC_SUBST([ac_ct_AR]) +-m4trace:configure.ac:441: -1- AC_SUBST_TRACE([ac_ct_AR]) +-m4trace:configure.ac:441: -1- m4_pattern_allow([^ac_ct_AR$]) +-m4trace:configure.ac:441: -1- AC_SUBST([STRIP]) +-m4trace:configure.ac:441: -1- AC_SUBST_TRACE([STRIP]) +-m4trace:configure.ac:441: -1- m4_pattern_allow([^STRIP$]) +-m4trace:configure.ac:441: -1- AC_SUBST([RANLIB]) +-m4trace:configure.ac:441: -1- AC_SUBST_TRACE([RANLIB]) +-m4trace:configure.ac:441: -1- m4_pattern_allow([^RANLIB$]) +-m4trace:configure.ac:441: -1- m4_pattern_allow([LT_OBJDIR]) +-m4trace:configure.ac:441: -1- AC_DEFINE_TRACE_LITERAL([LT_OBJDIR]) +-m4trace:configure.ac:441: -1- m4_pattern_allow([^LT_OBJDIR$]) +-m4trace:configure.ac:441: -1- AH_OUTPUT([LT_OBJDIR], [/* Define to the sub-directory where libtool stores uninstalled libraries. */ ++m4trace:configure.ac:442: -1- LT_INIT([win32-dll]) ++m4trace:configure.ac:442: -1- m4_pattern_forbid([^_?LT_[A-Z_]+$]) ++m4trace:configure.ac:442: -1- m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$]) ++m4trace:configure.ac:442: -1- AC_REQUIRE_AUX_FILE([ltmain.sh]) ++m4trace:configure.ac:442: -1- AC_SUBST([AS]) ++m4trace:configure.ac:442: -1- AC_SUBST_TRACE([AS]) ++m4trace:configure.ac:442: -1- m4_pattern_allow([^AS$]) ++m4trace:configure.ac:442: -1- AC_SUBST([DLLTOOL]) ++m4trace:configure.ac:442: -1- AC_SUBST_TRACE([DLLTOOL]) ++m4trace:configure.ac:442: -1- m4_pattern_allow([^DLLTOOL$]) ++m4trace:configure.ac:442: -1- AC_SUBST([OBJDUMP]) ++m4trace:configure.ac:442: -1- AC_SUBST_TRACE([OBJDUMP]) ++m4trace:configure.ac:442: -1- m4_pattern_allow([^OBJDUMP$]) ++m4trace:configure.ac:442: -1- AC_SUBST([LIBTOOL]) ++m4trace:configure.ac:442: -1- AC_SUBST_TRACE([LIBTOOL]) ++m4trace:configure.ac:442: -1- m4_pattern_allow([^LIBTOOL$]) ++m4trace:configure.ac:442: -1- AC_SUBST([SED]) ++m4trace:configure.ac:442: -1- AC_SUBST_TRACE([SED]) ++m4trace:configure.ac:442: -1- m4_pattern_allow([^SED$]) ++m4trace:configure.ac:442: -1- AC_SUBST([FGREP]) ++m4trace:configure.ac:442: -1- AC_SUBST_TRACE([FGREP]) ++m4trace:configure.ac:442: -1- m4_pattern_allow([^FGREP$]) ++m4trace:configure.ac:442: -1- AC_SUBST([GREP]) ++m4trace:configure.ac:442: -1- AC_SUBST_TRACE([GREP]) ++m4trace:configure.ac:442: -1- m4_pattern_allow([^GREP$]) ++m4trace:configure.ac:442: -1- AC_SUBST([LD]) ++m4trace:configure.ac:442: -1- AC_SUBST_TRACE([LD]) ++m4trace:configure.ac:442: -1- m4_pattern_allow([^LD$]) ++m4trace:configure.ac:442: -1- AC_SUBST([DUMPBIN]) ++m4trace:configure.ac:442: -1- AC_SUBST_TRACE([DUMPBIN]) ++m4trace:configure.ac:442: -1- m4_pattern_allow([^DUMPBIN$]) ++m4trace:configure.ac:442: -1- AC_SUBST([ac_ct_DUMPBIN]) ++m4trace:configure.ac:442: -1- AC_SUBST_TRACE([ac_ct_DUMPBIN]) ++m4trace:configure.ac:442: -1- m4_pattern_allow([^ac_ct_DUMPBIN$]) ++m4trace:configure.ac:442: -1- AC_SUBST([DUMPBIN]) ++m4trace:configure.ac:442: -1- AC_SUBST_TRACE([DUMPBIN]) ++m4trace:configure.ac:442: -1- m4_pattern_allow([^DUMPBIN$]) ++m4trace:configure.ac:442: -1- AC_SUBST([NM]) ++m4trace:configure.ac:442: -1- AC_SUBST_TRACE([NM]) ++m4trace:configure.ac:442: -1- m4_pattern_allow([^NM$]) ++m4trace:configure.ac:442: -1- AC_SUBST([LN_S], [$as_ln_s]) ++m4trace:configure.ac:442: -1- AC_SUBST_TRACE([LN_S]) ++m4trace:configure.ac:442: -1- m4_pattern_allow([^LN_S$]) ++m4trace:configure.ac:442: -1- AC_SUBST([FILECMD]) ++m4trace:configure.ac:442: -1- AC_SUBST_TRACE([FILECMD]) ++m4trace:configure.ac:442: -1- m4_pattern_allow([^FILECMD$]) ++m4trace:configure.ac:442: -1- AC_SUBST([OBJDUMP]) ++m4trace:configure.ac:442: -1- AC_SUBST_TRACE([OBJDUMP]) ++m4trace:configure.ac:442: -1- m4_pattern_allow([^OBJDUMP$]) ++m4trace:configure.ac:442: -1- AC_SUBST([OBJDUMP]) ++m4trace:configure.ac:442: -1- AC_SUBST_TRACE([OBJDUMP]) ++m4trace:configure.ac:442: -1- m4_pattern_allow([^OBJDUMP$]) ++m4trace:configure.ac:442: -1- AC_SUBST([DLLTOOL]) ++m4trace:configure.ac:442: -1- AC_SUBST_TRACE([DLLTOOL]) ++m4trace:configure.ac:442: -1- m4_pattern_allow([^DLLTOOL$]) ++m4trace:configure.ac:442: -1- AC_SUBST([DLLTOOL]) ++m4trace:configure.ac:442: -1- AC_SUBST_TRACE([DLLTOOL]) ++m4trace:configure.ac:442: -1- m4_pattern_allow([^DLLTOOL$]) ++m4trace:configure.ac:442: -1- AC_SUBST([AR]) ++m4trace:configure.ac:442: -1- AC_SUBST_TRACE([AR]) ++m4trace:configure.ac:442: -1- m4_pattern_allow([^AR$]) ++m4trace:configure.ac:442: -1- AC_SUBST([ac_ct_AR]) ++m4trace:configure.ac:442: -1- AC_SUBST_TRACE([ac_ct_AR]) ++m4trace:configure.ac:442: -1- m4_pattern_allow([^ac_ct_AR$]) ++m4trace:configure.ac:442: -1- AC_SUBST([STRIP]) ++m4trace:configure.ac:442: -1- AC_SUBST_TRACE([STRIP]) ++m4trace:configure.ac:442: -1- m4_pattern_allow([^STRIP$]) ++m4trace:configure.ac:442: -1- AC_SUBST([RANLIB]) ++m4trace:configure.ac:442: -1- AC_SUBST_TRACE([RANLIB]) ++m4trace:configure.ac:442: -1- m4_pattern_allow([^RANLIB$]) ++m4trace:configure.ac:442: -1- m4_pattern_allow([LT_OBJDIR]) ++m4trace:configure.ac:442: -1- AC_DEFINE_TRACE_LITERAL([LT_OBJDIR]) ++m4trace:configure.ac:442: -1- m4_pattern_allow([^LT_OBJDIR$]) ++m4trace:configure.ac:442: -1- AH_OUTPUT([LT_OBJDIR], [/* Define to the sub-directory where libtool stores uninstalled libraries. */ + @%:@undef LT_OBJDIR]) +-m4trace:configure.ac:441: -1- LT_SUPPORTED_TAG([CC]) +-m4trace:configure.ac:441: -1- AC_SUBST([MANIFEST_TOOL]) +-m4trace:configure.ac:441: -1- AC_SUBST_TRACE([MANIFEST_TOOL]) +-m4trace:configure.ac:441: -1- m4_pattern_allow([^MANIFEST_TOOL$]) +-m4trace:configure.ac:441: -1- AC_SUBST([DSYMUTIL]) +-m4trace:configure.ac:441: -1- AC_SUBST_TRACE([DSYMUTIL]) +-m4trace:configure.ac:441: -1- m4_pattern_allow([^DSYMUTIL$]) +-m4trace:configure.ac:441: -1- AC_SUBST([NMEDIT]) +-m4trace:configure.ac:441: -1- AC_SUBST_TRACE([NMEDIT]) +-m4trace:configure.ac:441: -1- m4_pattern_allow([^NMEDIT$]) +-m4trace:configure.ac:441: -1- AC_SUBST([LIPO]) +-m4trace:configure.ac:441: -1- AC_SUBST_TRACE([LIPO]) +-m4trace:configure.ac:441: -1- m4_pattern_allow([^LIPO$]) +-m4trace:configure.ac:441: -1- AC_SUBST([OTOOL]) +-m4trace:configure.ac:441: -1- AC_SUBST_TRACE([OTOOL]) +-m4trace:configure.ac:441: -1- m4_pattern_allow([^OTOOL$]) +-m4trace:configure.ac:441: -1- AC_SUBST([OTOOL64]) +-m4trace:configure.ac:441: -1- AC_SUBST_TRACE([OTOOL64]) +-m4trace:configure.ac:441: -1- m4_pattern_allow([^OTOOL64$]) +-m4trace:configure.ac:441: -1- AC_SUBST([LT_SYS_LIBRARY_PATH]) +-m4trace:configure.ac:441: -1- AC_SUBST_TRACE([LT_SYS_LIBRARY_PATH]) +-m4trace:configure.ac:441: -1- m4_pattern_allow([^LT_SYS_LIBRARY_PATH$]) +-m4trace:configure.ac:441: -1- AH_OUTPUT([HAVE_DLFCN_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:442: -1- LT_SUPPORTED_TAG([CC]) ++m4trace:configure.ac:442: -1- AC_SUBST([MANIFEST_TOOL]) ++m4trace:configure.ac:442: -1- AC_SUBST_TRACE([MANIFEST_TOOL]) ++m4trace:configure.ac:442: -1- m4_pattern_allow([^MANIFEST_TOOL$]) ++m4trace:configure.ac:442: -1- AC_SUBST([DSYMUTIL]) ++m4trace:configure.ac:442: -1- AC_SUBST_TRACE([DSYMUTIL]) ++m4trace:configure.ac:442: -1- m4_pattern_allow([^DSYMUTIL$]) ++m4trace:configure.ac:442: -1- AC_SUBST([NMEDIT]) ++m4trace:configure.ac:442: -1- AC_SUBST_TRACE([NMEDIT]) ++m4trace:configure.ac:442: -1- m4_pattern_allow([^NMEDIT$]) ++m4trace:configure.ac:442: -1- AC_SUBST([LIPO]) ++m4trace:configure.ac:442: -1- AC_SUBST_TRACE([LIPO]) ++m4trace:configure.ac:442: -1- m4_pattern_allow([^LIPO$]) ++m4trace:configure.ac:442: -1- AC_SUBST([OTOOL]) ++m4trace:configure.ac:442: -1- AC_SUBST_TRACE([OTOOL]) ++m4trace:configure.ac:442: -1- m4_pattern_allow([^OTOOL$]) ++m4trace:configure.ac:442: -1- AC_SUBST([OTOOL64]) ++m4trace:configure.ac:442: -1- AC_SUBST_TRACE([OTOOL64]) ++m4trace:configure.ac:442: -1- m4_pattern_allow([^OTOOL64$]) ++m4trace:configure.ac:442: -1- AC_SUBST([LT_SYS_LIBRARY_PATH]) ++m4trace:configure.ac:442: -1- AC_SUBST_TRACE([LT_SYS_LIBRARY_PATH]) ++m4trace:configure.ac:442: -1- m4_pattern_allow([^LT_SYS_LIBRARY_PATH$]) ++m4trace:configure.ac:442: -1- AH_OUTPUT([HAVE_DLFCN_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_DLFCN_H]) +-m4trace:configure.ac:441: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DLFCN_H]) +-m4trace:configure.ac:441: -1- m4_pattern_allow([^HAVE_DLFCN_H$]) +-m4trace:configure.ac:443: -1- LT_SUPPORTED_TAG([RC]) +-m4trace:configure.ac:443: -1- AC_SUBST([RC]) +-m4trace:configure.ac:443: -1- AC_SUBST_TRACE([RC]) +-m4trace:configure.ac:443: -1- m4_pattern_allow([^RC$]) +-m4trace:configure.ac:449: -1- AM_CONDITIONAL([CURL_LT_SHLIB_USE_VERSION_INFO], [test "x$xc_lt_shlib_use_version_info" = 'xyes']) +-m4trace:configure.ac:449: -1- AC_SUBST([CURL_LT_SHLIB_USE_VERSION_INFO_TRUE]) +-m4trace:configure.ac:449: -1- AC_SUBST_TRACE([CURL_LT_SHLIB_USE_VERSION_INFO_TRUE]) +-m4trace:configure.ac:449: -1- m4_pattern_allow([^CURL_LT_SHLIB_USE_VERSION_INFO_TRUE$]) +-m4trace:configure.ac:449: -1- AC_SUBST([CURL_LT_SHLIB_USE_VERSION_INFO_FALSE]) +-m4trace:configure.ac:449: -1- AC_SUBST_TRACE([CURL_LT_SHLIB_USE_VERSION_INFO_FALSE]) +-m4trace:configure.ac:449: -1- m4_pattern_allow([^CURL_LT_SHLIB_USE_VERSION_INFO_FALSE$]) +-m4trace:configure.ac:449: -1- _AM_SUBST_NOTMAKE([CURL_LT_SHLIB_USE_VERSION_INFO_TRUE]) +-m4trace:configure.ac:449: -1- _AM_SUBST_NOTMAKE([CURL_LT_SHLIB_USE_VERSION_INFO_FALSE]) +-m4trace:configure.ac:451: -1- AM_CONDITIONAL([CURL_LT_SHLIB_USE_NO_UNDEFINED], [test "x$xc_lt_shlib_use_no_undefined" = 'xyes']) +-m4trace:configure.ac:451: -1- AC_SUBST([CURL_LT_SHLIB_USE_NO_UNDEFINED_TRUE]) +-m4trace:configure.ac:451: -1- AC_SUBST_TRACE([CURL_LT_SHLIB_USE_NO_UNDEFINED_TRUE]) +-m4trace:configure.ac:451: -1- m4_pattern_allow([^CURL_LT_SHLIB_USE_NO_UNDEFINED_TRUE$]) +-m4trace:configure.ac:451: -1- AC_SUBST([CURL_LT_SHLIB_USE_NO_UNDEFINED_FALSE]) +-m4trace:configure.ac:451: -1- AC_SUBST_TRACE([CURL_LT_SHLIB_USE_NO_UNDEFINED_FALSE]) +-m4trace:configure.ac:451: -1- m4_pattern_allow([^CURL_LT_SHLIB_USE_NO_UNDEFINED_FALSE$]) +-m4trace:configure.ac:451: -1- _AM_SUBST_NOTMAKE([CURL_LT_SHLIB_USE_NO_UNDEFINED_TRUE]) +-m4trace:configure.ac:451: -1- _AM_SUBST_NOTMAKE([CURL_LT_SHLIB_USE_NO_UNDEFINED_FALSE]) +-m4trace:configure.ac:453: -1- AM_CONDITIONAL([CURL_LT_SHLIB_USE_MIMPURE_TEXT], [test "x$xc_lt_shlib_use_mimpure_text" = 'xyes']) +-m4trace:configure.ac:453: -1- AC_SUBST([CURL_LT_SHLIB_USE_MIMPURE_TEXT_TRUE]) +-m4trace:configure.ac:453: -1- AC_SUBST_TRACE([CURL_LT_SHLIB_USE_MIMPURE_TEXT_TRUE]) +-m4trace:configure.ac:453: -1- m4_pattern_allow([^CURL_LT_SHLIB_USE_MIMPURE_TEXT_TRUE$]) +-m4trace:configure.ac:453: -1- AC_SUBST([CURL_LT_SHLIB_USE_MIMPURE_TEXT_FALSE]) +-m4trace:configure.ac:453: -1- AC_SUBST_TRACE([CURL_LT_SHLIB_USE_MIMPURE_TEXT_FALSE]) +-m4trace:configure.ac:453: -1- m4_pattern_allow([^CURL_LT_SHLIB_USE_MIMPURE_TEXT_FALSE$]) +-m4trace:configure.ac:453: -1- _AM_SUBST_NOTMAKE([CURL_LT_SHLIB_USE_MIMPURE_TEXT_TRUE]) +-m4trace:configure.ac:453: -1- _AM_SUBST_NOTMAKE([CURL_LT_SHLIB_USE_MIMPURE_TEXT_FALSE]) +-m4trace:configure.ac:472: -1- AM_CONDITIONAL([USE_CPPFLAG_CURL_STATICLIB], [test "x$xc_lt_build_static_only" = 'xyes']) +-m4trace:configure.ac:472: -1- AC_SUBST([USE_CPPFLAG_CURL_STATICLIB_TRUE]) +-m4trace:configure.ac:472: -1- AC_SUBST_TRACE([USE_CPPFLAG_CURL_STATICLIB_TRUE]) +-m4trace:configure.ac:472: -1- m4_pattern_allow([^USE_CPPFLAG_CURL_STATICLIB_TRUE$]) +-m4trace:configure.ac:472: -1- AC_SUBST([USE_CPPFLAG_CURL_STATICLIB_FALSE]) +-m4trace:configure.ac:472: -1- AC_SUBST_TRACE([USE_CPPFLAG_CURL_STATICLIB_FALSE]) +-m4trace:configure.ac:472: -1- m4_pattern_allow([^USE_CPPFLAG_CURL_STATICLIB_FALSE$]) +-m4trace:configure.ac:472: -1- _AM_SUBST_NOTMAKE([USE_CPPFLAG_CURL_STATICLIB_TRUE]) +-m4trace:configure.ac:472: -1- _AM_SUBST_NOTMAKE([USE_CPPFLAG_CURL_STATICLIB_FALSE]) +-m4trace:configure.ac:485: -1- AC_SUBST([CPPFLAG_CURL_STATICLIB]) +-m4trace:configure.ac:485: -1- AC_SUBST_TRACE([CPPFLAG_CURL_STATICLIB]) +-m4trace:configure.ac:485: -1- m4_pattern_allow([^CPPFLAG_CURL_STATICLIB$]) +-m4trace:configure.ac:495: -1- AC_SUBST([REQUIRE_LIB_DEPS]) +-m4trace:configure.ac:495: -1- AC_SUBST_TRACE([REQUIRE_LIB_DEPS]) +-m4trace:configure.ac:495: -1- m4_pattern_allow([^REQUIRE_LIB_DEPS$]) +-m4trace:configure.ac:496: -1- AM_CONDITIONAL([USE_EXPLICIT_LIB_DEPS], [test x$REQUIRE_LIB_DEPS = xyes]) +-m4trace:configure.ac:496: -1- AC_SUBST([USE_EXPLICIT_LIB_DEPS_TRUE]) +-m4trace:configure.ac:496: -1- AC_SUBST_TRACE([USE_EXPLICIT_LIB_DEPS_TRUE]) +-m4trace:configure.ac:496: -1- m4_pattern_allow([^USE_EXPLICIT_LIB_DEPS_TRUE$]) +-m4trace:configure.ac:496: -1- AC_SUBST([USE_EXPLICIT_LIB_DEPS_FALSE]) +-m4trace:configure.ac:496: -1- AC_SUBST_TRACE([USE_EXPLICIT_LIB_DEPS_FALSE]) +-m4trace:configure.ac:496: -1- m4_pattern_allow([^USE_EXPLICIT_LIB_DEPS_FALSE$]) +-m4trace:configure.ac:496: -1- _AM_SUBST_NOTMAKE([USE_EXPLICIT_LIB_DEPS_TRUE]) +-m4trace:configure.ac:496: -1- _AM_SUBST_NOTMAKE([USE_EXPLICIT_LIB_DEPS_FALSE]) +-m4trace:configure.ac:499: -1- AH_OUTPUT([inline], [/* Define to `__inline__\' or `__inline\' if that\'s what the C compiler ++m4trace:configure.ac:442: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DLFCN_H]) ++m4trace:configure.ac:442: -1- m4_pattern_allow([^HAVE_DLFCN_H$]) ++m4trace:configure.ac:444: -1- LT_SUPPORTED_TAG([RC]) ++m4trace:configure.ac:444: -1- AC_SUBST([RC]) ++m4trace:configure.ac:444: -1- AC_SUBST_TRACE([RC]) ++m4trace:configure.ac:444: -1- m4_pattern_allow([^RC$]) ++m4trace:configure.ac:450: -1- AM_CONDITIONAL([CURL_LT_SHLIB_USE_VERSION_INFO], [test "x$xc_lt_shlib_use_version_info" = 'xyes']) ++m4trace:configure.ac:450: -1- AC_SUBST([CURL_LT_SHLIB_USE_VERSION_INFO_TRUE]) ++m4trace:configure.ac:450: -1- AC_SUBST_TRACE([CURL_LT_SHLIB_USE_VERSION_INFO_TRUE]) ++m4trace:configure.ac:450: -1- m4_pattern_allow([^CURL_LT_SHLIB_USE_VERSION_INFO_TRUE$]) ++m4trace:configure.ac:450: -1- AC_SUBST([CURL_LT_SHLIB_USE_VERSION_INFO_FALSE]) ++m4trace:configure.ac:450: -1- AC_SUBST_TRACE([CURL_LT_SHLIB_USE_VERSION_INFO_FALSE]) ++m4trace:configure.ac:450: -1- m4_pattern_allow([^CURL_LT_SHLIB_USE_VERSION_INFO_FALSE$]) ++m4trace:configure.ac:450: -1- _AM_SUBST_NOTMAKE([CURL_LT_SHLIB_USE_VERSION_INFO_TRUE]) ++m4trace:configure.ac:450: -1- _AM_SUBST_NOTMAKE([CURL_LT_SHLIB_USE_VERSION_INFO_FALSE]) ++m4trace:configure.ac:452: -1- AM_CONDITIONAL([CURL_LT_SHLIB_USE_NO_UNDEFINED], [test "x$xc_lt_shlib_use_no_undefined" = 'xyes']) ++m4trace:configure.ac:452: -1- AC_SUBST([CURL_LT_SHLIB_USE_NO_UNDEFINED_TRUE]) ++m4trace:configure.ac:452: -1- AC_SUBST_TRACE([CURL_LT_SHLIB_USE_NO_UNDEFINED_TRUE]) ++m4trace:configure.ac:452: -1- m4_pattern_allow([^CURL_LT_SHLIB_USE_NO_UNDEFINED_TRUE$]) ++m4trace:configure.ac:452: -1- AC_SUBST([CURL_LT_SHLIB_USE_NO_UNDEFINED_FALSE]) ++m4trace:configure.ac:452: -1- AC_SUBST_TRACE([CURL_LT_SHLIB_USE_NO_UNDEFINED_FALSE]) ++m4trace:configure.ac:452: -1- m4_pattern_allow([^CURL_LT_SHLIB_USE_NO_UNDEFINED_FALSE$]) ++m4trace:configure.ac:452: -1- _AM_SUBST_NOTMAKE([CURL_LT_SHLIB_USE_NO_UNDEFINED_TRUE]) ++m4trace:configure.ac:452: -1- _AM_SUBST_NOTMAKE([CURL_LT_SHLIB_USE_NO_UNDEFINED_FALSE]) ++m4trace:configure.ac:454: -1- AM_CONDITIONAL([CURL_LT_SHLIB_USE_MIMPURE_TEXT], [test "x$xc_lt_shlib_use_mimpure_text" = 'xyes']) ++m4trace:configure.ac:454: -1- AC_SUBST([CURL_LT_SHLIB_USE_MIMPURE_TEXT_TRUE]) ++m4trace:configure.ac:454: -1- AC_SUBST_TRACE([CURL_LT_SHLIB_USE_MIMPURE_TEXT_TRUE]) ++m4trace:configure.ac:454: -1- m4_pattern_allow([^CURL_LT_SHLIB_USE_MIMPURE_TEXT_TRUE$]) ++m4trace:configure.ac:454: -1- AC_SUBST([CURL_LT_SHLIB_USE_MIMPURE_TEXT_FALSE]) ++m4trace:configure.ac:454: -1- AC_SUBST_TRACE([CURL_LT_SHLIB_USE_MIMPURE_TEXT_FALSE]) ++m4trace:configure.ac:454: -1- m4_pattern_allow([^CURL_LT_SHLIB_USE_MIMPURE_TEXT_FALSE$]) ++m4trace:configure.ac:454: -1- _AM_SUBST_NOTMAKE([CURL_LT_SHLIB_USE_MIMPURE_TEXT_TRUE]) ++m4trace:configure.ac:454: -1- _AM_SUBST_NOTMAKE([CURL_LT_SHLIB_USE_MIMPURE_TEXT_FALSE]) ++m4trace:configure.ac:473: -1- AM_CONDITIONAL([USE_CPPFLAG_CURL_STATICLIB], [test "x$xc_lt_build_static_only" = 'xyes']) ++m4trace:configure.ac:473: -1- AC_SUBST([USE_CPPFLAG_CURL_STATICLIB_TRUE]) ++m4trace:configure.ac:473: -1- AC_SUBST_TRACE([USE_CPPFLAG_CURL_STATICLIB_TRUE]) ++m4trace:configure.ac:473: -1- m4_pattern_allow([^USE_CPPFLAG_CURL_STATICLIB_TRUE$]) ++m4trace:configure.ac:473: -1- AC_SUBST([USE_CPPFLAG_CURL_STATICLIB_FALSE]) ++m4trace:configure.ac:473: -1- AC_SUBST_TRACE([USE_CPPFLAG_CURL_STATICLIB_FALSE]) ++m4trace:configure.ac:473: -1- m4_pattern_allow([^USE_CPPFLAG_CURL_STATICLIB_FALSE$]) ++m4trace:configure.ac:473: -1- _AM_SUBST_NOTMAKE([USE_CPPFLAG_CURL_STATICLIB_TRUE]) ++m4trace:configure.ac:473: -1- _AM_SUBST_NOTMAKE([USE_CPPFLAG_CURL_STATICLIB_FALSE]) ++m4trace:configure.ac:486: -1- AC_SUBST([CPPFLAG_CURL_STATICLIB]) ++m4trace:configure.ac:486: -1- AC_SUBST_TRACE([CPPFLAG_CURL_STATICLIB]) ++m4trace:configure.ac:486: -1- m4_pattern_allow([^CPPFLAG_CURL_STATICLIB$]) ++m4trace:configure.ac:496: -1- AC_SUBST([REQUIRE_LIB_DEPS]) ++m4trace:configure.ac:496: -1- AC_SUBST_TRACE([REQUIRE_LIB_DEPS]) ++m4trace:configure.ac:496: -1- m4_pattern_allow([^REQUIRE_LIB_DEPS$]) ++m4trace:configure.ac:497: -1- AM_CONDITIONAL([USE_EXPLICIT_LIB_DEPS], [test x$REQUIRE_LIB_DEPS = xyes]) ++m4trace:configure.ac:497: -1- AC_SUBST([USE_EXPLICIT_LIB_DEPS_TRUE]) ++m4trace:configure.ac:497: -1- AC_SUBST_TRACE([USE_EXPLICIT_LIB_DEPS_TRUE]) ++m4trace:configure.ac:497: -1- m4_pattern_allow([^USE_EXPLICIT_LIB_DEPS_TRUE$]) ++m4trace:configure.ac:497: -1- AC_SUBST([USE_EXPLICIT_LIB_DEPS_FALSE]) ++m4trace:configure.ac:497: -1- AC_SUBST_TRACE([USE_EXPLICIT_LIB_DEPS_FALSE]) ++m4trace:configure.ac:497: -1- m4_pattern_allow([^USE_EXPLICIT_LIB_DEPS_FALSE$]) ++m4trace:configure.ac:497: -1- _AM_SUBST_NOTMAKE([USE_EXPLICIT_LIB_DEPS_TRUE]) ++m4trace:configure.ac:497: -1- _AM_SUBST_NOTMAKE([USE_EXPLICIT_LIB_DEPS_FALSE]) ++m4trace:configure.ac:500: -1- AH_OUTPUT([inline], [/* Define to `__inline__\' or `__inline\' if that\'s what the C compiler + calls it, or to nothing if \'inline\' is not supported under any name. */ + #ifndef __cplusplus + #undef inline + #endif]) +-m4trace:configure.ac:506: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:5818: CURL_RUN_IFELSE is expanded from... +-m4/curl-compilers.m4:421: CURL_COMPILER_WORKS_IFELSE is expanded from... +-m4/curl-compilers.m4:491: CURL_SET_COMPILER_BASIC_OPTS is expanded from... +-configure.ac:506: the top level]) +-m4trace:configure.ac:506: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:5818: CURL_RUN_IFELSE is expanded from... +-m4/curl-compilers.m4:421: CURL_COMPILER_WORKS_IFELSE is expanded from... +-m4/curl-compilers.m4:491: CURL_SET_COMPILER_BASIC_OPTS is expanded from... +-configure.ac:506: the top level]) ++m4trace:configure.ac:507: -1- AM_CONDITIONAL([DOING_NATIVE_WINDOWS], [test "x$curl_cv_native_windows" = xyes]) ++m4trace:configure.ac:507: -1- AC_SUBST([DOING_NATIVE_WINDOWS_TRUE]) ++m4trace:configure.ac:507: -1- AC_SUBST_TRACE([DOING_NATIVE_WINDOWS_TRUE]) ++m4trace:configure.ac:507: -1- m4_pattern_allow([^DOING_NATIVE_WINDOWS_TRUE$]) ++m4trace:configure.ac:507: -1- AC_SUBST([DOING_NATIVE_WINDOWS_FALSE]) ++m4trace:configure.ac:507: -1- AC_SUBST_TRACE([DOING_NATIVE_WINDOWS_FALSE]) ++m4trace:configure.ac:507: -1- m4_pattern_allow([^DOING_NATIVE_WINDOWS_FALSE$]) ++m4trace:configure.ac:507: -1- _AM_SUBST_NOTMAKE([DOING_NATIVE_WINDOWS_TRUE]) ++m4trace:configure.ac:507: -1- _AM_SUBST_NOTMAKE([DOING_NATIVE_WINDOWS_FALSE]) + m4trace:configure.ac:508: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:5818: CURL_RUN_IFELSE is expanded from... +-m4/curl-compilers.m4:421: CURL_COMPILER_WORKS_IFELSE is expanded from... +-m4/curl-compilers.m4:682: CURL_SET_COMPILER_OPTIMIZE_OPTS is expanded from... ++m4/curl-functions.m4:5778: CURL_RUN_IFELSE is expanded from... ++m4/curl-compilers.m4:429: CURL_COMPILER_WORKS_IFELSE is expanded from... ++m4/curl-compilers.m4:499: CURL_SET_COMPILER_BASIC_OPTS is expanded from... + configure.ac:508: the top level]) + m4trace:configure.ac:508: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:5818: CURL_RUN_IFELSE is expanded from... +-m4/curl-compilers.m4:421: CURL_COMPILER_WORKS_IFELSE is expanded from... +-m4/curl-compilers.m4:682: CURL_SET_COMPILER_OPTIMIZE_OPTS is expanded from... ++m4/curl-functions.m4:5778: CURL_RUN_IFELSE is expanded from... ++m4/curl-compilers.m4:429: CURL_COMPILER_WORKS_IFELSE is expanded from... ++m4/curl-compilers.m4:499: CURL_SET_COMPILER_BASIC_OPTS is expanded from... + configure.ac:508: the top level]) +-m4trace:configure.ac:509: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:5818: CURL_RUN_IFELSE is expanded from... +-m4/curl-compilers.m4:421: CURL_COMPILER_WORKS_IFELSE is expanded from... +-m4/curl-compilers.m4:764: CURL_SET_COMPILER_WARNING_OPTS is expanded from... +-configure.ac:509: the top level]) +-m4trace:configure.ac:509: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:5818: CURL_RUN_IFELSE is expanded from... +-m4/curl-compilers.m4:421: CURL_COMPILER_WORKS_IFELSE is expanded from... +-m4/curl-compilers.m4:764: CURL_SET_COMPILER_WARNING_OPTS is expanded from... +-configure.ac:509: the top level]) +-m4trace:configure.ac:534: -1- AC_SUBST([CURL_CFLAG_EXTRAS]) +-m4trace:configure.ac:534: -1- AC_SUBST_TRACE([CURL_CFLAG_EXTRAS]) +-m4trace:configure.ac:534: -1- m4_pattern_allow([^CURL_CFLAG_EXTRAS$]) +-m4trace:configure.ac:542: -1- AM_CONDITIONAL([CURLDEBUG], [test x$want_curldebug = xyes]) +-m4trace:configure.ac:542: -1- AC_SUBST([CURLDEBUG_TRUE]) +-m4trace:configure.ac:542: -1- AC_SUBST_TRACE([CURLDEBUG_TRUE]) +-m4trace:configure.ac:542: -1- m4_pattern_allow([^CURLDEBUG_TRUE$]) +-m4trace:configure.ac:542: -1- AC_SUBST([CURLDEBUG_FALSE]) +-m4trace:configure.ac:542: -1- AC_SUBST_TRACE([CURLDEBUG_FALSE]) +-m4trace:configure.ac:542: -1- m4_pattern_allow([^CURLDEBUG_FALSE$]) +-m4trace:configure.ac:542: -1- _AM_SUBST_NOTMAKE([CURLDEBUG_TRUE]) +-m4trace:configure.ac:542: -1- _AM_SUBST_NOTMAKE([CURLDEBUG_FALSE]) +-m4trace:configure.ac:580: -1- AM_CONDITIONAL([BUILD_UNITTESTS], [test x$want_unittests = xyes]) +-m4trace:configure.ac:580: -1- AC_SUBST([BUILD_UNITTESTS_TRUE]) +-m4trace:configure.ac:580: -1- AC_SUBST_TRACE([BUILD_UNITTESTS_TRUE]) +-m4trace:configure.ac:580: -1- m4_pattern_allow([^BUILD_UNITTESTS_TRUE$]) +-m4trace:configure.ac:580: -1- AC_SUBST([BUILD_UNITTESTS_FALSE]) +-m4trace:configure.ac:580: -1- AC_SUBST_TRACE([BUILD_UNITTESTS_FALSE]) +-m4trace:configure.ac:580: -1- m4_pattern_allow([^BUILD_UNITTESTS_FALSE$]) +-m4trace:configure.ac:580: -1- _AM_SUBST_NOTMAKE([BUILD_UNITTESTS_TRUE]) +-m4trace:configure.ac:580: -1- _AM_SUBST_NOTMAKE([BUILD_UNITTESTS_FALSE]) +-m4trace:configure.ac:593: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WINDOWS_H]) +-m4trace:configure.ac:593: -1- m4_pattern_allow([^HAVE_WINDOWS_H$]) +-m4trace:configure.ac:593: -1- AH_OUTPUT([HAVE_WINDOWS_H], [/* Define to 1 if you have the windows.h header file. */ +-@%:@undef HAVE_WINDOWS_H]) +-m4trace:configure.ac:594: -1- AM_CONDITIONAL([DOING_NATIVE_WINDOWS], [test "x$curl_cv_native_windows" = xyes]) +-m4trace:configure.ac:594: -1- AC_SUBST([DOING_NATIVE_WINDOWS_TRUE]) +-m4trace:configure.ac:594: -1- AC_SUBST_TRACE([DOING_NATIVE_WINDOWS_TRUE]) +-m4trace:configure.ac:594: -1- m4_pattern_allow([^DOING_NATIVE_WINDOWS_TRUE$]) +-m4trace:configure.ac:594: -1- AC_SUBST([DOING_NATIVE_WINDOWS_FALSE]) +-m4trace:configure.ac:594: -1- AC_SUBST_TRACE([DOING_NATIVE_WINDOWS_FALSE]) +-m4trace:configure.ac:594: -1- m4_pattern_allow([^DOING_NATIVE_WINDOWS_FALSE$]) +-m4trace:configure.ac:594: -1- _AM_SUBST_NOTMAKE([DOING_NATIVE_WINDOWS_TRUE]) +-m4trace:configure.ac:594: -1- _AM_SUBST_NOTMAKE([DOING_NATIVE_WINDOWS_FALSE]) +-m4trace:configure.ac:597: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WINSOCK2_H]) +-m4trace:configure.ac:597: -1- m4_pattern_allow([^HAVE_WINSOCK2_H$]) +-m4trace:configure.ac:597: -1- AH_OUTPUT([HAVE_WINSOCK2_H], [/* Define to 1 if you have the winsock2.h header file. */ +-@%:@undef HAVE_WINSOCK2_H]) +-m4trace:configure.ac:598: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WS2TCPIP_H]) +-m4trace:configure.ac:598: -1- m4_pattern_allow([^HAVE_WS2TCPIP_H$]) +-m4trace:configure.ac:598: -1- AH_OUTPUT([HAVE_WS2TCPIP_H], [/* Define to 1 if you have the ws2tcpip.h header file. */ +-@%:@undef HAVE_WS2TCPIP_H]) +-m4trace:configure.ac:605: -1- AC_DEFINE_TRACE_LITERAL([USE_WIN32_LARGE_FILES]) +-m4trace:configure.ac:605: -1- m4_pattern_allow([^USE_WIN32_LARGE_FILES$]) +-m4trace:configure.ac:605: -1- AH_OUTPUT([USE_WIN32_LARGE_FILES], [/* Define to 1 if you are building a Windows target with large file support. ++m4trace:configure.ac:510: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:5778: CURL_RUN_IFELSE is expanded from... ++m4/curl-compilers.m4:429: CURL_COMPILER_WORKS_IFELSE is expanded from... ++m4/curl-compilers.m4:684: CURL_SET_COMPILER_OPTIMIZE_OPTS is expanded from... ++configure.ac:510: the top level]) ++m4trace:configure.ac:510: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:5778: CURL_RUN_IFELSE is expanded from... ++m4/curl-compilers.m4:429: CURL_COMPILER_WORKS_IFELSE is expanded from... ++m4/curl-compilers.m4:684: CURL_SET_COMPILER_OPTIMIZE_OPTS is expanded from... ++configure.ac:510: the top level]) ++m4trace:configure.ac:511: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:5778: CURL_RUN_IFELSE is expanded from... ++m4/curl-compilers.m4:429: CURL_COMPILER_WORKS_IFELSE is expanded from... ++m4/curl-compilers.m4:766: CURL_SET_COMPILER_WARNING_OPTS is expanded from... ++configure.ac:511: the top level]) ++m4trace:configure.ac:511: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:5778: CURL_RUN_IFELSE is expanded from... ++m4/curl-compilers.m4:429: CURL_COMPILER_WORKS_IFELSE is expanded from... ++m4/curl-compilers.m4:766: CURL_SET_COMPILER_WARNING_OPTS is expanded from... ++configure.ac:511: the top level]) ++m4trace:configure.ac:536: -1- AC_SUBST([CURL_CFLAG_EXTRAS]) ++m4trace:configure.ac:536: -1- AC_SUBST_TRACE([CURL_CFLAG_EXTRAS]) ++m4trace:configure.ac:536: -1- m4_pattern_allow([^CURL_CFLAG_EXTRAS$]) ++m4trace:configure.ac:544: -1- AM_CONDITIONAL([CURLDEBUG], [test x$want_curldebug = xyes]) ++m4trace:configure.ac:544: -1- AC_SUBST([CURLDEBUG_TRUE]) ++m4trace:configure.ac:544: -1- AC_SUBST_TRACE([CURLDEBUG_TRUE]) ++m4trace:configure.ac:544: -1- m4_pattern_allow([^CURLDEBUG_TRUE$]) ++m4trace:configure.ac:544: -1- AC_SUBST([CURLDEBUG_FALSE]) ++m4trace:configure.ac:544: -1- AC_SUBST_TRACE([CURLDEBUG_FALSE]) ++m4trace:configure.ac:544: -1- m4_pattern_allow([^CURLDEBUG_FALSE$]) ++m4trace:configure.ac:544: -1- _AM_SUBST_NOTMAKE([CURLDEBUG_TRUE]) ++m4trace:configure.ac:544: -1- _AM_SUBST_NOTMAKE([CURLDEBUG_FALSE]) ++m4trace:configure.ac:582: -1- AM_CONDITIONAL([BUILD_UNITTESTS], [test x$want_unittests = xyes]) ++m4trace:configure.ac:582: -1- AC_SUBST([BUILD_UNITTESTS_TRUE]) ++m4trace:configure.ac:582: -1- AC_SUBST_TRACE([BUILD_UNITTESTS_TRUE]) ++m4trace:configure.ac:582: -1- m4_pattern_allow([^BUILD_UNITTESTS_TRUE$]) ++m4trace:configure.ac:582: -1- AC_SUBST([BUILD_UNITTESTS_FALSE]) ++m4trace:configure.ac:582: -1- AC_SUBST_TRACE([BUILD_UNITTESTS_FALSE]) ++m4trace:configure.ac:582: -1- m4_pattern_allow([^BUILD_UNITTESTS_FALSE$]) ++m4trace:configure.ac:582: -1- _AM_SUBST_NOTMAKE([BUILD_UNITTESTS_TRUE]) ++m4trace:configure.ac:582: -1- _AM_SUBST_NOTMAKE([BUILD_UNITTESTS_FALSE]) ++m4trace:configure.ac:588: -1- AC_DEFINE_TRACE_LITERAL([USE_WIN32_LARGE_FILES]) ++m4trace:configure.ac:588: -1- m4_pattern_allow([^USE_WIN32_LARGE_FILES$]) ++m4trace:configure.ac:588: -1- AH_OUTPUT([USE_WIN32_LARGE_FILES], [/* Define to 1 if you are building a Windows target with large file support. + */ + @%:@undef USE_WIN32_LARGE_FILES]) +-m4trace:configure.ac:605: -1- AC_SUBST([USE_WIN32_LARGE_FILES], [1]) +-m4trace:configure.ac:605: -1- AC_SUBST_TRACE([USE_WIN32_LARGE_FILES]) +-m4trace:configure.ac:605: -1- m4_pattern_allow([^USE_WIN32_LARGE_FILES$]) +-m4trace:configure.ac:605: -1- AC_DEFINE_TRACE_LITERAL([USE_WIN32_SMALL_FILES]) +-m4trace:configure.ac:605: -1- m4_pattern_allow([^USE_WIN32_SMALL_FILES$]) +-m4trace:configure.ac:605: -1- AH_OUTPUT([USE_WIN32_SMALL_FILES], [/* Define to 1 if you are building a Windows target without large file ++m4trace:configure.ac:588: -1- AC_SUBST([USE_WIN32_LARGE_FILES], [1]) ++m4trace:configure.ac:588: -1- AC_SUBST_TRACE([USE_WIN32_LARGE_FILES]) ++m4trace:configure.ac:588: -1- m4_pattern_allow([^USE_WIN32_LARGE_FILES$]) ++m4trace:configure.ac:588: -1- AC_DEFINE_TRACE_LITERAL([USE_WIN32_SMALL_FILES]) ++m4trace:configure.ac:588: -1- m4_pattern_allow([^USE_WIN32_SMALL_FILES$]) ++m4trace:configure.ac:588: -1- AH_OUTPUT([USE_WIN32_SMALL_FILES], [/* Define to 1 if you are building a Windows target without large file + support. */ + @%:@undef USE_WIN32_SMALL_FILES]) +-m4trace:configure.ac:605: -1- AC_SUBST([USE_WIN32_SMALL_FILES], [1]) +-m4trace:configure.ac:605: -1- AC_SUBST_TRACE([USE_WIN32_SMALL_FILES]) +-m4trace:configure.ac:605: -1- m4_pattern_allow([^USE_WIN32_SMALL_FILES$]) +-m4trace:configure.ac:606: -1- AC_DEFINE_TRACE_LITERAL([USE_WIN32_CRYPTO]) +-m4trace:configure.ac:606: -1- m4_pattern_allow([^USE_WIN32_CRYPTO$]) +-m4trace:configure.ac:606: -1- AH_OUTPUT([USE_WIN32_CRYPTO], [/* Define to 1 if you are building a Windows target with crypto API support. ++m4trace:configure.ac:588: -1- AC_SUBST([USE_WIN32_SMALL_FILES], [1]) ++m4trace:configure.ac:588: -1- AC_SUBST_TRACE([USE_WIN32_SMALL_FILES]) ++m4trace:configure.ac:588: -1- m4_pattern_allow([^USE_WIN32_SMALL_FILES$]) ++m4trace:configure.ac:589: -1- AC_DEFINE_TRACE_LITERAL([USE_WIN32_CRYPTO]) ++m4trace:configure.ac:589: -1- m4_pattern_allow([^USE_WIN32_CRYPTO$]) ++m4trace:configure.ac:589: -1- AH_OUTPUT([USE_WIN32_CRYPTO], [/* Define to 1 if you are building a Windows target with crypto API support. + */ + @%:@undef USE_WIN32_CRYPTO]) +-m4trace:configure.ac:606: -1- AC_SUBST([USE_WIN32_CRYPTO], [1]) +-m4trace:configure.ac:606: -1- AC_SUBST_TRACE([USE_WIN32_CRYPTO]) +-m4trace:configure.ac:606: -1- m4_pattern_allow([^USE_WIN32_CRYPTO$]) +-m4trace:configure.ac:610: -1- AC_DEFINE_TRACE_LITERAL([HAVE_BUILTIN_AVAILABLE]) +-m4trace:configure.ac:610: -1- m4_pattern_allow([^HAVE_BUILTIN_AVAILABLE$]) +-m4trace:configure.ac:610: -1- AH_OUTPUT([HAVE_BUILTIN_AVAILABLE], [/* Define to 1 if you have the __builtin_available function. */ ++m4trace:configure.ac:589: -1- AC_SUBST([USE_WIN32_CRYPTO], [1]) ++m4trace:configure.ac:589: -1- AC_SUBST_TRACE([USE_WIN32_CRYPTO]) ++m4trace:configure.ac:589: -1- m4_pattern_allow([^USE_WIN32_CRYPTO$]) ++m4trace:configure.ac:593: -1- AC_DEFINE_TRACE_LITERAL([HAVE_BUILTIN_AVAILABLE]) ++m4trace:configure.ac:593: -1- m4_pattern_allow([^HAVE_BUILTIN_AVAILABLE$]) ++m4trace:configure.ac:593: -1- AH_OUTPUT([HAVE_BUILTIN_AVAILABLE], [/* Define to 1 if you have the __builtin_available function. */ + @%:@undef HAVE_BUILTIN_AVAILABLE]) +-m4trace:configure.ac:612: -1- AM_CONDITIONAL([HAVE_WINDRES], [test "$curl_cv_native_windows" = "yes" && test -n "${RC}"]) +-m4trace:configure.ac:612: -1- AC_SUBST([HAVE_WINDRES_TRUE]) +-m4trace:configure.ac:612: -1- AC_SUBST_TRACE([HAVE_WINDRES_TRUE]) +-m4trace:configure.ac:612: -1- m4_pattern_allow([^HAVE_WINDRES_TRUE$]) +-m4trace:configure.ac:612: -1- AC_SUBST([HAVE_WINDRES_FALSE]) +-m4trace:configure.ac:612: -1- AC_SUBST_TRACE([HAVE_WINDRES_FALSE]) +-m4trace:configure.ac:612: -1- m4_pattern_allow([^HAVE_WINDRES_FALSE$]) +-m4trace:configure.ac:612: -1- _AM_SUBST_NOTMAKE([HAVE_WINDRES_TRUE]) +-m4trace:configure.ac:612: -1- _AM_SUBST_NOTMAKE([HAVE_WINDRES_FALSE]) +-m4trace:configure.ac:616: -1- _AM_COND_IF([HAVE_WINDRES]) +-m4trace:configure.ac:616: -1- _AM_COND_ELSE([HAVE_WINDRES]) +-m4trace:configure.ac:616: -1- _AM_COND_ENDIF([HAVE_WINDRES]) +-m4trace:configure.ac:624: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_HTTP]) +-m4trace:configure.ac:624: -1- m4_pattern_allow([^CURL_DISABLE_HTTP$]) +-m4trace:configure.ac:624: -1- AH_OUTPUT([CURL_DISABLE_HTTP], [/* to disable HTTP */ ++m4trace:configure.ac:595: -1- AM_CONDITIONAL([HAVE_WINDRES], [test "$curl_cv_native_windows" = "yes" && test -n "${RC}"]) ++m4trace:configure.ac:595: -1- AC_SUBST([HAVE_WINDRES_TRUE]) ++m4trace:configure.ac:595: -1- AC_SUBST_TRACE([HAVE_WINDRES_TRUE]) ++m4trace:configure.ac:595: -1- m4_pattern_allow([^HAVE_WINDRES_TRUE$]) ++m4trace:configure.ac:595: -1- AC_SUBST([HAVE_WINDRES_FALSE]) ++m4trace:configure.ac:595: -1- AC_SUBST_TRACE([HAVE_WINDRES_FALSE]) ++m4trace:configure.ac:595: -1- m4_pattern_allow([^HAVE_WINDRES_FALSE$]) ++m4trace:configure.ac:595: -1- _AM_SUBST_NOTMAKE([HAVE_WINDRES_TRUE]) ++m4trace:configure.ac:595: -1- _AM_SUBST_NOTMAKE([HAVE_WINDRES_FALSE]) ++m4trace:configure.ac:599: -1- _AM_COND_IF([HAVE_WINDRES]) ++m4trace:configure.ac:599: -1- _AM_COND_ELSE([HAVE_WINDRES]) ++m4trace:configure.ac:599: -1- _AM_COND_ENDIF([HAVE_WINDRES]) ++m4trace:configure.ac:607: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_HTTP]) ++m4trace:configure.ac:607: -1- m4_pattern_allow([^CURL_DISABLE_HTTP$]) ++m4trace:configure.ac:607: -1- AH_OUTPUT([CURL_DISABLE_HTTP], [/* to disable HTTP */ + @%:@undef CURL_DISABLE_HTTP]) +-m4trace:configure.ac:624: -1- AC_SUBST([CURL_DISABLE_HTTP], [1]) +-m4trace:configure.ac:624: -1- AC_SUBST_TRACE([CURL_DISABLE_HTTP]) +-m4trace:configure.ac:624: -1- m4_pattern_allow([^CURL_DISABLE_HTTP$]) +-m4trace:configure.ac:624: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_RTSP]) +-m4trace:configure.ac:624: -1- m4_pattern_allow([^CURL_DISABLE_RTSP$]) +-m4trace:configure.ac:624: -1- AH_OUTPUT([CURL_DISABLE_RTSP], [/* to disable RTSP */ ++m4trace:configure.ac:607: -1- AC_SUBST([CURL_DISABLE_HTTP], [1]) ++m4trace:configure.ac:607: -1- AC_SUBST_TRACE([CURL_DISABLE_HTTP]) ++m4trace:configure.ac:607: -1- m4_pattern_allow([^CURL_DISABLE_HTTP$]) ++m4trace:configure.ac:607: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_RTSP]) ++m4trace:configure.ac:607: -1- m4_pattern_allow([^CURL_DISABLE_RTSP$]) ++m4trace:configure.ac:607: -1- AH_OUTPUT([CURL_DISABLE_RTSP], [/* to disable RTSP */ + @%:@undef CURL_DISABLE_RTSP]) +-m4trace:configure.ac:624: -1- AC_SUBST([CURL_DISABLE_RTSP], [1]) +-m4trace:configure.ac:624: -1- AC_SUBST_TRACE([CURL_DISABLE_RTSP]) +-m4trace:configure.ac:624: -1- m4_pattern_allow([^CURL_DISABLE_RTSP$]) +-m4trace:configure.ac:624: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_ALTSVC]) +-m4trace:configure.ac:624: -1- m4_pattern_allow([^CURL_DISABLE_ALTSVC$]) +-m4trace:configure.ac:624: -1- AH_OUTPUT([CURL_DISABLE_ALTSVC], [/* disable alt-svc */ ++m4trace:configure.ac:607: -1- AC_SUBST([CURL_DISABLE_RTSP], [1]) ++m4trace:configure.ac:607: -1- AC_SUBST_TRACE([CURL_DISABLE_RTSP]) ++m4trace:configure.ac:607: -1- m4_pattern_allow([^CURL_DISABLE_RTSP$]) ++m4trace:configure.ac:607: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_ALTSVC]) ++m4trace:configure.ac:607: -1- m4_pattern_allow([^CURL_DISABLE_ALTSVC$]) ++m4trace:configure.ac:607: -1- AH_OUTPUT([CURL_DISABLE_ALTSVC], [/* disable alt-svc */ + @%:@undef CURL_DISABLE_ALTSVC]) +-m4trace:configure.ac:624: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_HSTS]) +-m4trace:configure.ac:624: -1- m4_pattern_allow([^CURL_DISABLE_HSTS$]) +-m4trace:configure.ac:624: -1- AH_OUTPUT([CURL_DISABLE_HSTS], [/* disable HSTS */ ++m4trace:configure.ac:607: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_HSTS]) ++m4trace:configure.ac:607: -1- m4_pattern_allow([^CURL_DISABLE_HSTS$]) ++m4trace:configure.ac:607: -1- AH_OUTPUT([CURL_DISABLE_HSTS], [/* disable HSTS */ + @%:@undef CURL_DISABLE_HSTS]) +-m4trace:configure.ac:651: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_FTP]) +-m4trace:configure.ac:651: -1- m4_pattern_allow([^CURL_DISABLE_FTP$]) +-m4trace:configure.ac:651: -1- AH_OUTPUT([CURL_DISABLE_FTP], [/* to disable FTP */ ++m4trace:configure.ac:634: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_FTP]) ++m4trace:configure.ac:634: -1- m4_pattern_allow([^CURL_DISABLE_FTP$]) ++m4trace:configure.ac:634: -1- AH_OUTPUT([CURL_DISABLE_FTP], [/* to disable FTP */ + @%:@undef CURL_DISABLE_FTP]) +-m4trace:configure.ac:651: -1- AC_SUBST([CURL_DISABLE_FTP], [1]) +-m4trace:configure.ac:651: -1- AC_SUBST_TRACE([CURL_DISABLE_FTP]) +-m4trace:configure.ac:651: -1- m4_pattern_allow([^CURL_DISABLE_FTP$]) +-m4trace:configure.ac:666: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_FILE]) +-m4trace:configure.ac:666: -1- m4_pattern_allow([^CURL_DISABLE_FILE$]) +-m4trace:configure.ac:666: -1- AH_OUTPUT([CURL_DISABLE_FILE], [/* to disable FILE */ ++m4trace:configure.ac:634: -1- AC_SUBST([CURL_DISABLE_FTP], [1]) ++m4trace:configure.ac:634: -1- AC_SUBST_TRACE([CURL_DISABLE_FTP]) ++m4trace:configure.ac:634: -1- m4_pattern_allow([^CURL_DISABLE_FTP$]) ++m4trace:configure.ac:649: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_FILE]) ++m4trace:configure.ac:649: -1- m4_pattern_allow([^CURL_DISABLE_FILE$]) ++m4trace:configure.ac:649: -1- AH_OUTPUT([CURL_DISABLE_FILE], [/* to disable FILE */ + @%:@undef CURL_DISABLE_FILE]) +-m4trace:configure.ac:666: -1- AC_SUBST([CURL_DISABLE_FILE], [1]) +-m4trace:configure.ac:666: -1- AC_SUBST_TRACE([CURL_DISABLE_FILE]) +-m4trace:configure.ac:666: -1- m4_pattern_allow([^CURL_DISABLE_FILE$]) +-m4trace:configure.ac:681: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_LDAP]) +-m4trace:configure.ac:681: -1- m4_pattern_allow([^CURL_DISABLE_LDAP$]) +-m4trace:configure.ac:681: -1- AH_OUTPUT([CURL_DISABLE_LDAP], [/* to disable LDAP */ ++m4trace:configure.ac:649: -1- AC_SUBST([CURL_DISABLE_FILE], [1]) ++m4trace:configure.ac:649: -1- AC_SUBST_TRACE([CURL_DISABLE_FILE]) ++m4trace:configure.ac:649: -1- m4_pattern_allow([^CURL_DISABLE_FILE$]) ++m4trace:configure.ac:664: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_LDAP]) ++m4trace:configure.ac:664: -1- m4_pattern_allow([^CURL_DISABLE_LDAP$]) ++m4trace:configure.ac:664: -1- AH_OUTPUT([CURL_DISABLE_LDAP], [/* to disable LDAP */ + @%:@undef CURL_DISABLE_LDAP]) +-m4trace:configure.ac:681: -1- AC_SUBST([CURL_DISABLE_LDAP], [1]) +-m4trace:configure.ac:681: -1- AC_SUBST_TRACE([CURL_DISABLE_LDAP]) +-m4trace:configure.ac:681: -1- m4_pattern_allow([^CURL_DISABLE_LDAP$]) +-m4trace:configure.ac:701: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_LDAPS]) +-m4trace:configure.ac:701: -1- m4_pattern_allow([^CURL_DISABLE_LDAPS$]) +-m4trace:configure.ac:701: -1- AH_OUTPUT([CURL_DISABLE_LDAPS], [/* to disable LDAPS */ ++m4trace:configure.ac:664: -1- AC_SUBST([CURL_DISABLE_LDAP], [1]) ++m4trace:configure.ac:664: -1- AC_SUBST_TRACE([CURL_DISABLE_LDAP]) ++m4trace:configure.ac:664: -1- m4_pattern_allow([^CURL_DISABLE_LDAP$]) ++m4trace:configure.ac:684: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_LDAPS]) ++m4trace:configure.ac:684: -1- m4_pattern_allow([^CURL_DISABLE_LDAPS$]) ++m4trace:configure.ac:684: -1- AH_OUTPUT([CURL_DISABLE_LDAPS], [/* to disable LDAPS */ + @%:@undef CURL_DISABLE_LDAPS]) +-m4trace:configure.ac:701: -1- AC_SUBST([CURL_DISABLE_LDAPS], [1]) +-m4trace:configure.ac:701: -1- AC_SUBST_TRACE([CURL_DISABLE_LDAPS]) +-m4trace:configure.ac:701: -1- m4_pattern_allow([^CURL_DISABLE_LDAPS$]) +-m4trace:configure.ac:701: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_LDAPS]) +-m4trace:configure.ac:701: -1- m4_pattern_allow([^CURL_DISABLE_LDAPS$]) +-m4trace:configure.ac:701: -1- AH_OUTPUT([CURL_DISABLE_LDAPS], [/* to disable LDAPS */ ++m4trace:configure.ac:684: -1- AC_SUBST([CURL_DISABLE_LDAPS], [1]) ++m4trace:configure.ac:684: -1- AC_SUBST_TRACE([CURL_DISABLE_LDAPS]) ++m4trace:configure.ac:684: -1- m4_pattern_allow([^CURL_DISABLE_LDAPS$]) ++m4trace:configure.ac:684: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_LDAPS]) ++m4trace:configure.ac:684: -1- m4_pattern_allow([^CURL_DISABLE_LDAPS$]) ++m4trace:configure.ac:684: -1- AH_OUTPUT([CURL_DISABLE_LDAPS], [/* to disable LDAPS */ + @%:@undef CURL_DISABLE_LDAPS]) +-m4trace:configure.ac:701: -1- AC_SUBST([CURL_DISABLE_LDAPS], [1]) +-m4trace:configure.ac:701: -1- AC_SUBST_TRACE([CURL_DISABLE_LDAPS]) +-m4trace:configure.ac:701: -1- m4_pattern_allow([^CURL_DISABLE_LDAPS$]) +-m4trace:configure.ac:701: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LDAP_SSL]) +-m4trace:configure.ac:701: -1- m4_pattern_allow([^HAVE_LDAP_SSL$]) +-m4trace:configure.ac:701: -1- AH_OUTPUT([HAVE_LDAP_SSL], [/* Use LDAPS implementation */ ++m4trace:configure.ac:684: -1- AC_SUBST([CURL_DISABLE_LDAPS], [1]) ++m4trace:configure.ac:684: -1- AC_SUBST_TRACE([CURL_DISABLE_LDAPS]) ++m4trace:configure.ac:684: -1- m4_pattern_allow([^CURL_DISABLE_LDAPS$]) ++m4trace:configure.ac:684: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LDAP_SSL]) ++m4trace:configure.ac:684: -1- m4_pattern_allow([^HAVE_LDAP_SSL$]) ++m4trace:configure.ac:684: -1- AH_OUTPUT([HAVE_LDAP_SSL], [/* Use LDAPS implementation */ + @%:@undef HAVE_LDAP_SSL]) +-m4trace:configure.ac:701: -1- AC_SUBST([HAVE_LDAP_SSL], [1]) +-m4trace:configure.ac:701: -1- AC_SUBST_TRACE([HAVE_LDAP_SSL]) +-m4trace:configure.ac:701: -1- m4_pattern_allow([^HAVE_LDAP_SSL$]) +-m4trace:configure.ac:701: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_LDAPS]) +-m4trace:configure.ac:701: -1- m4_pattern_allow([^CURL_DISABLE_LDAPS$]) +-m4trace:configure.ac:701: -1- AH_OUTPUT([CURL_DISABLE_LDAPS], [/* to disable LDAPS */ ++m4trace:configure.ac:684: -1- AC_SUBST([HAVE_LDAP_SSL], [1]) ++m4trace:configure.ac:684: -1- AC_SUBST_TRACE([HAVE_LDAP_SSL]) ++m4trace:configure.ac:684: -1- m4_pattern_allow([^HAVE_LDAP_SSL$]) ++m4trace:configure.ac:684: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_LDAPS]) ++m4trace:configure.ac:684: -1- m4_pattern_allow([^CURL_DISABLE_LDAPS$]) ++m4trace:configure.ac:684: -1- AH_OUTPUT([CURL_DISABLE_LDAPS], [/* to disable LDAPS */ + @%:@undef CURL_DISABLE_LDAPS]) +-m4trace:configure.ac:701: -1- AC_SUBST([CURL_DISABLE_LDAPS], [1]) +-m4trace:configure.ac:701: -1- AC_SUBST_TRACE([CURL_DISABLE_LDAPS]) +-m4trace:configure.ac:701: -1- m4_pattern_allow([^CURL_DISABLE_LDAPS$]) +-m4trace:configure.ac:701: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LDAP_SSL]) +-m4trace:configure.ac:701: -1- m4_pattern_allow([^HAVE_LDAP_SSL$]) +-m4trace:configure.ac:701: -1- AH_OUTPUT([HAVE_LDAP_SSL], [/* Use LDAPS implementation */ ++m4trace:configure.ac:684: -1- AC_SUBST([CURL_DISABLE_LDAPS], [1]) ++m4trace:configure.ac:684: -1- AC_SUBST_TRACE([CURL_DISABLE_LDAPS]) ++m4trace:configure.ac:684: -1- m4_pattern_allow([^CURL_DISABLE_LDAPS$]) ++m4trace:configure.ac:684: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LDAP_SSL]) ++m4trace:configure.ac:684: -1- m4_pattern_allow([^HAVE_LDAP_SSL$]) ++m4trace:configure.ac:684: -1- AH_OUTPUT([HAVE_LDAP_SSL], [/* Use LDAPS implementation */ + @%:@undef HAVE_LDAP_SSL]) +-m4trace:configure.ac:701: -1- AC_SUBST([HAVE_LDAP_SSL], [1]) +-m4trace:configure.ac:701: -1- AC_SUBST_TRACE([HAVE_LDAP_SSL]) +-m4trace:configure.ac:701: -1- m4_pattern_allow([^HAVE_LDAP_SSL$]) +-m4trace:configure.ac:769: -1- AC_SUBST([PKGCONFIG]) +-m4trace:configure.ac:769: -1- AC_SUBST_TRACE([PKGCONFIG]) +-m4trace:configure.ac:769: -1- m4_pattern_allow([^PKGCONFIG$]) +-m4trace:configure.ac:800: -2- AC_DEFINE_TRACE_LITERAL([USE_HYPER]) +-m4trace:configure.ac:800: -2- m4_pattern_allow([^USE_HYPER$]) +-m4trace:configure.ac:800: -2- AH_OUTPUT([USE_HYPER], [/* if hyper is in use */ ++m4trace:configure.ac:684: -1- AC_SUBST([HAVE_LDAP_SSL], [1]) ++m4trace:configure.ac:684: -1- AC_SUBST_TRACE([HAVE_LDAP_SSL]) ++m4trace:configure.ac:684: -1- m4_pattern_allow([^HAVE_LDAP_SSL$]) ++m4trace:configure.ac:752: -1- AC_SUBST([PKGCONFIG]) ++m4trace:configure.ac:752: -1- AC_SUBST_TRACE([PKGCONFIG]) ++m4trace:configure.ac:752: -1- m4_pattern_allow([^PKGCONFIG$]) ++m4trace:configure.ac:783: -2- AC_DEFINE_TRACE_LITERAL([USE_HYPER]) ++m4trace:configure.ac:783: -2- m4_pattern_allow([^USE_HYPER$]) ++m4trace:configure.ac:783: -2- AH_OUTPUT([USE_HYPER], [/* if hyper is in use */ + @%:@undef USE_HYPER]) +-m4trace:configure.ac:800: -2- AC_SUBST([USE_HYPER], [1]) +-m4trace:configure.ac:800: -2- AC_SUBST_TRACE([USE_HYPER]) +-m4trace:configure.ac:800: -2- m4_pattern_allow([^USE_HYPER$]) +-m4trace:configure.ac:800: -1- AH_OUTPUT([HAVE_HYPER_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:783: -2- AC_SUBST([USE_HYPER], [1]) ++m4trace:configure.ac:783: -2- AC_SUBST_TRACE([USE_HYPER]) ++m4trace:configure.ac:783: -2- m4_pattern_allow([^USE_HYPER$]) ++m4trace:configure.ac:783: -1- AH_OUTPUT([HAVE_HYPER_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_HYPER_H]) +-m4trace:configure.ac:800: -1- AC_DEFINE_TRACE_LITERAL([HAVE_HYPER_H]) +-m4trace:configure.ac:800: -1- m4_pattern_allow([^HAVE_HYPER_H$]) +-m4trace:configure.ac:827: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_RTSP]) +-m4trace:configure.ac:827: -1- m4_pattern_allow([^CURL_DISABLE_RTSP$]) +-m4trace:configure.ac:827: -1- AH_OUTPUT([CURL_DISABLE_RTSP], [/* to disable RTSP */ ++m4trace:configure.ac:783: -1- AC_DEFINE_TRACE_LITERAL([HAVE_HYPER_H]) ++m4trace:configure.ac:783: -1- m4_pattern_allow([^HAVE_HYPER_H$]) ++m4trace:configure.ac:809: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_RTSP]) ++m4trace:configure.ac:809: -1- m4_pattern_allow([^CURL_DISABLE_RTSP$]) ++m4trace:configure.ac:809: -1- AH_OUTPUT([CURL_DISABLE_RTSP], [/* to disable RTSP */ + @%:@undef CURL_DISABLE_RTSP]) +-m4trace:configure.ac:828: -1- AC_SUBST([CURL_DISABLE_RTSP], [1]) +-m4trace:configure.ac:828: -1- AC_SUBST_TRACE([CURL_DISABLE_RTSP]) +-m4trace:configure.ac:828: -1- m4_pattern_allow([^CURL_DISABLE_RTSP$]) +-m4trace:configure.ac:831: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_RTSP]) +-m4trace:configure.ac:831: -1- m4_pattern_allow([^CURL_DISABLE_RTSP$]) +-m4trace:configure.ac:831: -1- AH_OUTPUT([CURL_DISABLE_RTSP], [/* to disable RTSP */ ++m4trace:configure.ac:810: -1- AC_SUBST([CURL_DISABLE_RTSP], [1]) ++m4trace:configure.ac:810: -1- AC_SUBST_TRACE([CURL_DISABLE_RTSP]) ++m4trace:configure.ac:810: -1- m4_pattern_allow([^CURL_DISABLE_RTSP$]) ++m4trace:configure.ac:813: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_RTSP]) ++m4trace:configure.ac:813: -1- m4_pattern_allow([^CURL_DISABLE_RTSP$]) ++m4trace:configure.ac:813: -1- AH_OUTPUT([CURL_DISABLE_RTSP], [/* to disable RTSP */ + @%:@undef CURL_DISABLE_RTSP]) +-m4trace:configure.ac:831: -1- AC_SUBST([CURL_DISABLE_RTSP], [1]) +-m4trace:configure.ac:831: -1- AC_SUBST_TRACE([CURL_DISABLE_RTSP]) +-m4trace:configure.ac:831: -1- m4_pattern_allow([^CURL_DISABLE_RTSP$]) +-m4trace:configure.ac:859: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_PROXY]) +-m4trace:configure.ac:859: -1- m4_pattern_allow([^CURL_DISABLE_PROXY$]) +-m4trace:configure.ac:859: -1- AH_OUTPUT([CURL_DISABLE_PROXY], [/* to disable proxies */ ++m4trace:configure.ac:813: -1- AC_SUBST([CURL_DISABLE_RTSP], [1]) ++m4trace:configure.ac:813: -1- AC_SUBST_TRACE([CURL_DISABLE_RTSP]) ++m4trace:configure.ac:813: -1- m4_pattern_allow([^CURL_DISABLE_RTSP$]) ++m4trace:configure.ac:841: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_PROXY]) ++m4trace:configure.ac:841: -1- m4_pattern_allow([^CURL_DISABLE_PROXY$]) ++m4trace:configure.ac:841: -1- AH_OUTPUT([CURL_DISABLE_PROXY], [/* to disable proxies */ + @%:@undef CURL_DISABLE_PROXY]) +-m4trace:configure.ac:859: -1- AC_SUBST([CURL_DISABLE_PROXY], [1]) +-m4trace:configure.ac:859: -1- AC_SUBST_TRACE([CURL_DISABLE_PROXY]) +-m4trace:configure.ac:859: -1- m4_pattern_allow([^CURL_DISABLE_PROXY$]) +-m4trace:configure.ac:876: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_DICT]) +-m4trace:configure.ac:876: -1- m4_pattern_allow([^CURL_DISABLE_DICT$]) +-m4trace:configure.ac:876: -1- AH_OUTPUT([CURL_DISABLE_DICT], [/* to disable DICT */ ++m4trace:configure.ac:841: -1- AC_SUBST([CURL_DISABLE_PROXY], [1]) ++m4trace:configure.ac:841: -1- AC_SUBST_TRACE([CURL_DISABLE_PROXY]) ++m4trace:configure.ac:841: -1- m4_pattern_allow([^CURL_DISABLE_PROXY$]) ++m4trace:configure.ac:858: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_DICT]) ++m4trace:configure.ac:858: -1- m4_pattern_allow([^CURL_DISABLE_DICT$]) ++m4trace:configure.ac:858: -1- AH_OUTPUT([CURL_DISABLE_DICT], [/* to disable DICT */ + @%:@undef CURL_DISABLE_DICT]) +-m4trace:configure.ac:876: -1- AC_SUBST([CURL_DISABLE_DICT], [1]) +-m4trace:configure.ac:876: -1- AC_SUBST_TRACE([CURL_DISABLE_DICT]) +-m4trace:configure.ac:876: -1- m4_pattern_allow([^CURL_DISABLE_DICT$]) +-m4trace:configure.ac:891: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_TELNET]) +-m4trace:configure.ac:891: -1- m4_pattern_allow([^CURL_DISABLE_TELNET$]) +-m4trace:configure.ac:891: -1- AH_OUTPUT([CURL_DISABLE_TELNET], [/* to disable TELNET */ ++m4trace:configure.ac:858: -1- AC_SUBST([CURL_DISABLE_DICT], [1]) ++m4trace:configure.ac:858: -1- AC_SUBST_TRACE([CURL_DISABLE_DICT]) ++m4trace:configure.ac:858: -1- m4_pattern_allow([^CURL_DISABLE_DICT$]) ++m4trace:configure.ac:873: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_TELNET]) ++m4trace:configure.ac:873: -1- m4_pattern_allow([^CURL_DISABLE_TELNET$]) ++m4trace:configure.ac:873: -1- AH_OUTPUT([CURL_DISABLE_TELNET], [/* to disable TELNET */ + @%:@undef CURL_DISABLE_TELNET]) +-m4trace:configure.ac:891: -1- AC_SUBST([CURL_DISABLE_TELNET], [1]) +-m4trace:configure.ac:891: -1- AC_SUBST_TRACE([CURL_DISABLE_TELNET]) +-m4trace:configure.ac:891: -1- m4_pattern_allow([^CURL_DISABLE_TELNET$]) +-m4trace:configure.ac:906: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_TFTP]) +-m4trace:configure.ac:906: -1- m4_pattern_allow([^CURL_DISABLE_TFTP$]) +-m4trace:configure.ac:906: -1- AH_OUTPUT([CURL_DISABLE_TFTP], [/* to disable TFTP */ ++m4trace:configure.ac:873: -1- AC_SUBST([CURL_DISABLE_TELNET], [1]) ++m4trace:configure.ac:873: -1- AC_SUBST_TRACE([CURL_DISABLE_TELNET]) ++m4trace:configure.ac:873: -1- m4_pattern_allow([^CURL_DISABLE_TELNET$]) ++m4trace:configure.ac:888: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_TFTP]) ++m4trace:configure.ac:888: -1- m4_pattern_allow([^CURL_DISABLE_TFTP$]) ++m4trace:configure.ac:888: -1- AH_OUTPUT([CURL_DISABLE_TFTP], [/* to disable TFTP */ + @%:@undef CURL_DISABLE_TFTP]) +-m4trace:configure.ac:906: -1- AC_SUBST([CURL_DISABLE_TFTP], [1]) +-m4trace:configure.ac:906: -1- AC_SUBST_TRACE([CURL_DISABLE_TFTP]) +-m4trace:configure.ac:906: -1- m4_pattern_allow([^CURL_DISABLE_TFTP$]) +-m4trace:configure.ac:922: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_POP3]) +-m4trace:configure.ac:922: -1- m4_pattern_allow([^CURL_DISABLE_POP3$]) +-m4trace:configure.ac:922: -1- AH_OUTPUT([CURL_DISABLE_POP3], [/* to disable POP3 */ ++m4trace:configure.ac:888: -1- AC_SUBST([CURL_DISABLE_TFTP], [1]) ++m4trace:configure.ac:888: -1- AC_SUBST_TRACE([CURL_DISABLE_TFTP]) ++m4trace:configure.ac:888: -1- m4_pattern_allow([^CURL_DISABLE_TFTP$]) ++m4trace:configure.ac:904: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_POP3]) ++m4trace:configure.ac:904: -1- m4_pattern_allow([^CURL_DISABLE_POP3$]) ++m4trace:configure.ac:904: -1- AH_OUTPUT([CURL_DISABLE_POP3], [/* to disable POP3 */ + @%:@undef CURL_DISABLE_POP3]) +-m4trace:configure.ac:922: -1- AC_SUBST([CURL_DISABLE_POP3], [1]) +-m4trace:configure.ac:922: -1- AC_SUBST_TRACE([CURL_DISABLE_POP3]) +-m4trace:configure.ac:922: -1- m4_pattern_allow([^CURL_DISABLE_POP3$]) +-m4trace:configure.ac:939: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_IMAP]) +-m4trace:configure.ac:939: -1- m4_pattern_allow([^CURL_DISABLE_IMAP$]) +-m4trace:configure.ac:939: -1- AH_OUTPUT([CURL_DISABLE_IMAP], [/* to disable IMAP */ ++m4trace:configure.ac:904: -1- AC_SUBST([CURL_DISABLE_POP3], [1]) ++m4trace:configure.ac:904: -1- AC_SUBST_TRACE([CURL_DISABLE_POP3]) ++m4trace:configure.ac:904: -1- m4_pattern_allow([^CURL_DISABLE_POP3$]) ++m4trace:configure.ac:921: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_IMAP]) ++m4trace:configure.ac:921: -1- m4_pattern_allow([^CURL_DISABLE_IMAP$]) ++m4trace:configure.ac:921: -1- AH_OUTPUT([CURL_DISABLE_IMAP], [/* to disable IMAP */ + @%:@undef CURL_DISABLE_IMAP]) +-m4trace:configure.ac:939: -1- AC_SUBST([CURL_DISABLE_IMAP], [1]) +-m4trace:configure.ac:939: -1- AC_SUBST_TRACE([CURL_DISABLE_IMAP]) +-m4trace:configure.ac:939: -1- m4_pattern_allow([^CURL_DISABLE_IMAP$]) +-m4trace:configure.ac:956: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_SMB]) +-m4trace:configure.ac:956: -1- m4_pattern_allow([^CURL_DISABLE_SMB$]) +-m4trace:configure.ac:956: -1- AH_OUTPUT([CURL_DISABLE_SMB], [/* to disable SMB/CIFS */ ++m4trace:configure.ac:921: -1- AC_SUBST([CURL_DISABLE_IMAP], [1]) ++m4trace:configure.ac:921: -1- AC_SUBST_TRACE([CURL_DISABLE_IMAP]) ++m4trace:configure.ac:921: -1- m4_pattern_allow([^CURL_DISABLE_IMAP$]) ++m4trace:configure.ac:938: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_SMB]) ++m4trace:configure.ac:938: -1- m4_pattern_allow([^CURL_DISABLE_SMB$]) ++m4trace:configure.ac:938: -1- AH_OUTPUT([CURL_DISABLE_SMB], [/* to disable SMB/CIFS */ + @%:@undef CURL_DISABLE_SMB]) +-m4trace:configure.ac:956: -1- AC_SUBST([CURL_DISABLE_SMB], [1]) +-m4trace:configure.ac:956: -1- AC_SUBST_TRACE([CURL_DISABLE_SMB]) +-m4trace:configure.ac:956: -1- m4_pattern_allow([^CURL_DISABLE_SMB$]) +-m4trace:configure.ac:972: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_SMTP]) +-m4trace:configure.ac:972: -1- m4_pattern_allow([^CURL_DISABLE_SMTP$]) +-m4trace:configure.ac:972: -1- AH_OUTPUT([CURL_DISABLE_SMTP], [/* to disable SMTP */ ++m4trace:configure.ac:938: -1- AC_SUBST([CURL_DISABLE_SMB], [1]) ++m4trace:configure.ac:938: -1- AC_SUBST_TRACE([CURL_DISABLE_SMB]) ++m4trace:configure.ac:938: -1- m4_pattern_allow([^CURL_DISABLE_SMB$]) ++m4trace:configure.ac:954: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_SMTP]) ++m4trace:configure.ac:954: -1- m4_pattern_allow([^CURL_DISABLE_SMTP$]) ++m4trace:configure.ac:954: -1- AH_OUTPUT([CURL_DISABLE_SMTP], [/* to disable SMTP */ + @%:@undef CURL_DISABLE_SMTP]) +-m4trace:configure.ac:972: -1- AC_SUBST([CURL_DISABLE_SMTP], [1]) +-m4trace:configure.ac:972: -1- AC_SUBST_TRACE([CURL_DISABLE_SMTP]) +-m4trace:configure.ac:972: -1- m4_pattern_allow([^CURL_DISABLE_SMTP$]) +-m4trace:configure.ac:988: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_GOPHER]) +-m4trace:configure.ac:988: -1- m4_pattern_allow([^CURL_DISABLE_GOPHER$]) +-m4trace:configure.ac:988: -1- AH_OUTPUT([CURL_DISABLE_GOPHER], [/* to disable Gopher */ ++m4trace:configure.ac:954: -1- AC_SUBST([CURL_DISABLE_SMTP], [1]) ++m4trace:configure.ac:954: -1- AC_SUBST_TRACE([CURL_DISABLE_SMTP]) ++m4trace:configure.ac:954: -1- m4_pattern_allow([^CURL_DISABLE_SMTP$]) ++m4trace:configure.ac:970: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_GOPHER]) ++m4trace:configure.ac:970: -1- m4_pattern_allow([^CURL_DISABLE_GOPHER$]) ++m4trace:configure.ac:970: -1- AH_OUTPUT([CURL_DISABLE_GOPHER], [/* to disable Gopher */ + @%:@undef CURL_DISABLE_GOPHER]) +-m4trace:configure.ac:988: -1- AC_SUBST([CURL_DISABLE_GOPHER], [1]) +-m4trace:configure.ac:988: -1- AC_SUBST_TRACE([CURL_DISABLE_GOPHER]) +-m4trace:configure.ac:988: -1- m4_pattern_allow([^CURL_DISABLE_GOPHER$]) +-m4trace:configure.ac:1004: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_MQTT]) +-m4trace:configure.ac:1004: -1- m4_pattern_allow([^CURL_DISABLE_MQTT$]) +-m4trace:configure.ac:1004: -1- AH_OUTPUT([CURL_DISABLE_MQTT], [/* to disable MQTT */ ++m4trace:configure.ac:970: -1- AC_SUBST([CURL_DISABLE_GOPHER], [1]) ++m4trace:configure.ac:970: -1- AC_SUBST_TRACE([CURL_DISABLE_GOPHER]) ++m4trace:configure.ac:970: -1- m4_pattern_allow([^CURL_DISABLE_GOPHER$]) ++m4trace:configure.ac:986: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_MQTT]) ++m4trace:configure.ac:986: -1- m4_pattern_allow([^CURL_DISABLE_MQTT$]) ++m4trace:configure.ac:986: -1- AH_OUTPUT([CURL_DISABLE_MQTT], [/* to disable MQTT */ + @%:@undef CURL_DISABLE_MQTT]) +-m4trace:configure.ac:1004: -1- AC_SUBST([CURL_DISABLE_MQTT], [1]) +-m4trace:configure.ac:1004: -1- AC_SUBST_TRACE([CURL_DISABLE_MQTT]) +-m4trace:configure.ac:1004: -1- m4_pattern_allow([^CURL_DISABLE_MQTT$]) +-m4trace:configure.ac:1045: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_LIBCURL_OPTION]) +-m4trace:configure.ac:1045: -1- m4_pattern_allow([^CURL_DISABLE_LIBCURL_OPTION$]) +-m4trace:configure.ac:1045: -1- AH_OUTPUT([CURL_DISABLE_LIBCURL_OPTION], [/* to disable --libcurl C code generation option */ ++m4trace:configure.ac:986: -1- AC_SUBST([CURL_DISABLE_MQTT], [1]) ++m4trace:configure.ac:986: -1- AC_SUBST_TRACE([CURL_DISABLE_MQTT]) ++m4trace:configure.ac:986: -1- m4_pattern_allow([^CURL_DISABLE_MQTT$]) ++m4trace:configure.ac:1049: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_LIBCURL_OPTION]) ++m4trace:configure.ac:1049: -1- m4_pattern_allow([^CURL_DISABLE_LIBCURL_OPTION$]) ++m4trace:configure.ac:1049: -1- AH_OUTPUT([CURL_DISABLE_LIBCURL_OPTION], [/* to disable --libcurl C code generation option */ + @%:@undef CURL_DISABLE_LIBCURL_OPTION]) +-m4trace:configure.ac:1210: -1- AC_DEFINE_TRACE_LITERAL([HAVE_PROTO_BSDSOCKET_H]) +-m4trace:configure.ac:1210: -1- m4_pattern_allow([^HAVE_PROTO_BSDSOCKET_H$]) +-m4trace:configure.ac:1210: -1- AH_OUTPUT([HAVE_PROTO_BSDSOCKET_H], [/* if Amiga bsdsocket.library is in use */ ++m4trace:configure.ac:1209: -1- AC_DEFINE_TRACE_LITERAL([HAVE_PROTO_BSDSOCKET_H]) ++m4trace:configure.ac:1209: -1- m4_pattern_allow([^HAVE_PROTO_BSDSOCKET_H$]) ++m4trace:configure.ac:1209: -1- AH_OUTPUT([HAVE_PROTO_BSDSOCKET_H], [/* if Amiga bsdsocket.library is in use */ + @%:@undef HAVE_PROTO_BSDSOCKET_H]) +-m4trace:configure.ac:1210: -1- AC_SUBST([HAVE_PROTO_BSDSOCKET_H], [1]) +-m4trace:configure.ac:1210: -1- AC_SUBST_TRACE([HAVE_PROTO_BSDSOCKET_H]) +-m4trace:configure.ac:1210: -1- m4_pattern_allow([^HAVE_PROTO_BSDSOCKET_H$]) +-m4trace:configure.ac:1246: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WINDOWS_H]) +-m4trace:configure.ac:1246: -1- m4_pattern_allow([^HAVE_WINDOWS_H$]) +-m4trace:configure.ac:1246: -1- AH_OUTPUT([HAVE_WINDOWS_H], [/* Define to 1 if you have the windows.h header file. */ +-@%:@undef HAVE_WINDOWS_H]) +-m4trace:configure.ac:1246: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WINSOCK2_H]) +-m4trace:configure.ac:1246: -1- m4_pattern_allow([^HAVE_WINSOCK2_H$]) +-m4trace:configure.ac:1246: -1- AH_OUTPUT([HAVE_WINSOCK2_H], [/* Define to 1 if you have the winsock2.h header file. */ +-@%:@undef HAVE_WINSOCK2_H]) +-m4trace:configure.ac:1246: -1- AH_OUTPUT([HAVE_PROTO_BSDSOCKET_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:1209: -1- AC_SUBST([HAVE_PROTO_BSDSOCKET_H], [1]) ++m4trace:configure.ac:1209: -1- AC_SUBST_TRACE([HAVE_PROTO_BSDSOCKET_H]) ++m4trace:configure.ac:1209: -1- m4_pattern_allow([^HAVE_PROTO_BSDSOCKET_H$]) ++m4trace:configure.ac:1245: -1- AM_CONDITIONAL([DOING_NATIVE_WINDOWS], [test "x$curl_cv_native_windows" = xyes]) ++m4trace:configure.ac:1245: -1- AC_SUBST([DOING_NATIVE_WINDOWS_TRUE]) ++m4trace:configure.ac:1245: -1- AC_SUBST_TRACE([DOING_NATIVE_WINDOWS_TRUE]) ++m4trace:configure.ac:1245: -1- m4_pattern_allow([^DOING_NATIVE_WINDOWS_TRUE$]) ++m4trace:configure.ac:1245: -1- AC_SUBST([DOING_NATIVE_WINDOWS_FALSE]) ++m4trace:configure.ac:1245: -1- AC_SUBST_TRACE([DOING_NATIVE_WINDOWS_FALSE]) ++m4trace:configure.ac:1245: -1- m4_pattern_allow([^DOING_NATIVE_WINDOWS_FALSE$]) ++m4trace:configure.ac:1245: -1- _AM_SUBST_NOTMAKE([DOING_NATIVE_WINDOWS_TRUE]) ++m4trace:configure.ac:1245: -1- _AM_SUBST_NOTMAKE([DOING_NATIVE_WINDOWS_FALSE]) ++m4trace:configure.ac:1245: -1- AH_OUTPUT([HAVE_PROTO_BSDSOCKET_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_PROTO_BSDSOCKET_H]) +-m4trace:configure.ac:1246: -1- AC_DEFINE_TRACE_LITERAL([HAVE_PROTO_BSDSOCKET_H]) +-m4trace:configure.ac:1246: -1- m4_pattern_allow([^HAVE_PROTO_BSDSOCKET_H$]) +-m4trace:configure.ac:1254: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:1245: -1- AC_DEFINE_TRACE_LITERAL([HAVE_PROTO_BSDSOCKET_H]) ++m4trace:configure.ac:1245: -1- m4_pattern_allow([^HAVE_PROTO_BSDSOCKET_H$]) ++m4trace:configure.ac:1253: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_SYS_TYPES_H]) +-m4trace:configure.ac:1254: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TYPES_H]) +-m4trace:configure.ac:1254: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) +-m4trace:configure.ac:1254: -1- AH_OUTPUT([HAVE_SYS_TIME_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:1253: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TYPES_H]) ++m4trace:configure.ac:1253: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) ++m4trace:configure.ac:1253: -1- AH_OUTPUT([HAVE_SYS_TIME_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_SYS_TIME_H]) +-m4trace:configure.ac:1254: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TIME_H]) +-m4trace:configure.ac:1254: -1- m4_pattern_allow([^HAVE_SYS_TIME_H$]) +-m4trace:configure.ac:1254: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:5818: CURL_RUN_IFELSE is expanded from... +-acinclude.m4:1080: CURL_CHECK_LIBS_CLOCK_GETTIME_MONOTONIC is expanded from... +-configure.ac:1254: the top level]) +-m4trace:configure.ac:1254: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:5818: CURL_RUN_IFELSE is expanded from... +-acinclude.m4:1080: CURL_CHECK_LIBS_CLOCK_GETTIME_MONOTONIC is expanded from... +-configure.ac:1254: the top level]) +-m4trace:configure.ac:1254: -1- AC_DEFINE_TRACE_LITERAL([HAVE_CLOCK_GETTIME_MONOTONIC]) +-m4trace:configure.ac:1254: -1- m4_pattern_allow([^HAVE_CLOCK_GETTIME_MONOTONIC$]) +-m4trace:configure.ac:1254: -1- AH_OUTPUT([HAVE_CLOCK_GETTIME_MONOTONIC], [/* Define to 1 if you have the clock_gettime function and monotonic timer. */ ++m4trace:configure.ac:1253: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TIME_H]) ++m4trace:configure.ac:1253: -1- m4_pattern_allow([^HAVE_SYS_TIME_H$]) ++m4trace:configure.ac:1253: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:5778: CURL_RUN_IFELSE is expanded from... ++acinclude.m4:942: CURL_CHECK_LIBS_CLOCK_GETTIME_MONOTONIC is expanded from... ++configure.ac:1253: the top level]) ++m4trace:configure.ac:1253: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:5778: CURL_RUN_IFELSE is expanded from... ++acinclude.m4:942: CURL_CHECK_LIBS_CLOCK_GETTIME_MONOTONIC is expanded from... ++configure.ac:1253: the top level]) ++m4trace:configure.ac:1253: -1- AC_DEFINE_TRACE_LITERAL([HAVE_CLOCK_GETTIME_MONOTONIC]) ++m4trace:configure.ac:1253: -1- m4_pattern_allow([^HAVE_CLOCK_GETTIME_MONOTONIC$]) ++m4trace:configure.ac:1253: -1- AH_OUTPUT([HAVE_CLOCK_GETTIME_MONOTONIC], [/* Define to 1 if you have the clock_gettime function and monotonic timer. */ + @%:@undef HAVE_CLOCK_GETTIME_MONOTONIC]) +-m4trace:configure.ac:1257: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:1256: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_SYS_TYPES_H]) +-m4trace:configure.ac:1257: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TYPES_H]) +-m4trace:configure.ac:1257: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) +-m4trace:configure.ac:1257: -1- AH_OUTPUT([HAVE_SYS_TIME_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:1256: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TYPES_H]) ++m4trace:configure.ac:1256: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) ++m4trace:configure.ac:1256: -1- AH_OUTPUT([HAVE_SYS_TIME_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_SYS_TIME_H]) +-m4trace:configure.ac:1257: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TIME_H]) +-m4trace:configure.ac:1257: -1- m4_pattern_allow([^HAVE_SYS_TIME_H$]) +-m4trace:configure.ac:1257: -1- AC_DEFINE_TRACE_LITERAL([HAVE_CLOCK_GETTIME_MONOTONIC_RAW]) +-m4trace:configure.ac:1257: -1- m4_pattern_allow([^HAVE_CLOCK_GETTIME_MONOTONIC_RAW$]) +-m4trace:configure.ac:1257: -1- AH_OUTPUT([HAVE_CLOCK_GETTIME_MONOTONIC_RAW], [/* Define to 1 if you have the clock_gettime function and raw monotonic timer. ++m4trace:configure.ac:1256: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TIME_H]) ++m4trace:configure.ac:1256: -1- m4_pattern_allow([^HAVE_SYS_TIME_H$]) ++m4trace:configure.ac:1256: -1- AC_DEFINE_TRACE_LITERAL([HAVE_CLOCK_GETTIME_MONOTONIC_RAW]) ++m4trace:configure.ac:1256: -1- m4_pattern_allow([^HAVE_CLOCK_GETTIME_MONOTONIC_RAW$]) ++m4trace:configure.ac:1256: -1- AH_OUTPUT([HAVE_CLOCK_GETTIME_MONOTONIC_RAW], [/* Define to 1 if you have the clock_gettime function and raw monotonic timer. + */ + @%:@undef HAVE_CLOCK_GETTIME_MONOTONIC_RAW]) +-m4trace:configure.ac:1290: -1- AC_SUBST([PKGCONFIG]) +-m4trace:configure.ac:1290: -1- AC_SUBST_TRACE([PKGCONFIG]) +-m4trace:configure.ac:1290: -1- m4_pattern_allow([^PKGCONFIG$]) +-m4trace:configure.ac:1367: -1- AC_SUBST([HAVE_LIBZ]) +-m4trace:configure.ac:1367: -1- AC_SUBST_TRACE([HAVE_LIBZ]) ++m4trace:configure.ac:1289: -1- AC_SUBST([PKGCONFIG]) ++m4trace:configure.ac:1289: -1- AC_SUBST_TRACE([PKGCONFIG]) ++m4trace:configure.ac:1289: -1- m4_pattern_allow([^PKGCONFIG$]) ++m4trace:configure.ac:1366: -1- AC_SUBST([HAVE_LIBZ]) ++m4trace:configure.ac:1366: -1- AC_SUBST_TRACE([HAVE_LIBZ]) ++m4trace:configure.ac:1366: -1- m4_pattern_allow([^HAVE_LIBZ$]) ++m4trace:configure.ac:1367: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBZ]) + m4trace:configure.ac:1367: -1- m4_pattern_allow([^HAVE_LIBZ$]) +-m4trace:configure.ac:1368: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBZ]) +-m4trace:configure.ac:1368: -1- m4_pattern_allow([^HAVE_LIBZ$]) +-m4trace:configure.ac:1368: -1- AH_OUTPUT([HAVE_LIBZ], [/* if zlib is available */ ++m4trace:configure.ac:1367: -1- AH_OUTPUT([HAVE_LIBZ], [/* if zlib is available */ + @%:@undef HAVE_LIBZ]) +-m4trace:configure.ac:1379: -1- AM_CONDITIONAL([HAVE_LIBZ], [test x"$AMFIXLIB" = x1]) +-m4trace:configure.ac:1379: -1- AC_SUBST([HAVE_LIBZ_TRUE]) +-m4trace:configure.ac:1379: -1- AC_SUBST_TRACE([HAVE_LIBZ_TRUE]) +-m4trace:configure.ac:1379: -1- m4_pattern_allow([^HAVE_LIBZ_TRUE$]) +-m4trace:configure.ac:1379: -1- AC_SUBST([HAVE_LIBZ_FALSE]) +-m4trace:configure.ac:1379: -1- AC_SUBST_TRACE([HAVE_LIBZ_FALSE]) +-m4trace:configure.ac:1379: -1- m4_pattern_allow([^HAVE_LIBZ_FALSE$]) +-m4trace:configure.ac:1379: -1- _AM_SUBST_NOTMAKE([HAVE_LIBZ_TRUE]) +-m4trace:configure.ac:1379: -1- _AM_SUBST_NOTMAKE([HAVE_LIBZ_FALSE]) +-m4trace:configure.ac:1380: -1- AC_SUBST([ZLIB_LIBS]) +-m4trace:configure.ac:1380: -1- AC_SUBST_TRACE([ZLIB_LIBS]) +-m4trace:configure.ac:1380: -1- m4_pattern_allow([^ZLIB_LIBS$]) +-m4trace:configure.ac:1404: -1- AC_SUBST([PKGCONFIG]) +-m4trace:configure.ac:1404: -1- AC_SUBST_TRACE([PKGCONFIG]) +-m4trace:configure.ac:1404: -1- m4_pattern_allow([^PKGCONFIG$]) +-m4trace:configure.ac:1436: -1- AH_OUTPUT([HAVE_LIBBROTLIDEC], [/* Define to 1 if you have the `brotlidec\' library (-lbrotlidec). */ ++m4trace:configure.ac:1378: -1- AM_CONDITIONAL([HAVE_LIBZ], [test x"$AMFIXLIB" = x1]) ++m4trace:configure.ac:1378: -1- AC_SUBST([HAVE_LIBZ_TRUE]) ++m4trace:configure.ac:1378: -1- AC_SUBST_TRACE([HAVE_LIBZ_TRUE]) ++m4trace:configure.ac:1378: -1- m4_pattern_allow([^HAVE_LIBZ_TRUE$]) ++m4trace:configure.ac:1378: -1- AC_SUBST([HAVE_LIBZ_FALSE]) ++m4trace:configure.ac:1378: -1- AC_SUBST_TRACE([HAVE_LIBZ_FALSE]) ++m4trace:configure.ac:1378: -1- m4_pattern_allow([^HAVE_LIBZ_FALSE$]) ++m4trace:configure.ac:1378: -1- _AM_SUBST_NOTMAKE([HAVE_LIBZ_TRUE]) ++m4trace:configure.ac:1378: -1- _AM_SUBST_NOTMAKE([HAVE_LIBZ_FALSE]) ++m4trace:configure.ac:1379: -1- AC_SUBST([ZLIB_LIBS]) ++m4trace:configure.ac:1379: -1- AC_SUBST_TRACE([ZLIB_LIBS]) ++m4trace:configure.ac:1379: -1- m4_pattern_allow([^ZLIB_LIBS$]) ++m4trace:configure.ac:1403: -1- AC_SUBST([PKGCONFIG]) ++m4trace:configure.ac:1403: -1- AC_SUBST_TRACE([PKGCONFIG]) ++m4trace:configure.ac:1403: -1- m4_pattern_allow([^PKGCONFIG$]) ++m4trace:configure.ac:1435: -1- AH_OUTPUT([HAVE_LIBBROTLIDEC], [/* Define to 1 if you have the `brotlidec\' library (-lbrotlidec). */ + @%:@undef HAVE_LIBBROTLIDEC]) +-m4trace:configure.ac:1436: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBBROTLIDEC]) +-m4trace:configure.ac:1436: -1- m4_pattern_allow([^HAVE_LIBBROTLIDEC$]) +-m4trace:configure.ac:1441: -2- AC_DEFINE_TRACE_LITERAL([HAVE_BROTLI]) +-m4trace:configure.ac:1441: -2- m4_pattern_allow([^HAVE_BROTLI$]) +-m4trace:configure.ac:1441: -2- AH_OUTPUT([HAVE_BROTLI], [/* if BROTLI is in use */ ++m4trace:configure.ac:1435: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBBROTLIDEC]) ++m4trace:configure.ac:1435: -1- m4_pattern_allow([^HAVE_LIBBROTLIDEC$]) ++m4trace:configure.ac:1440: -2- AC_DEFINE_TRACE_LITERAL([HAVE_BROTLI]) ++m4trace:configure.ac:1440: -2- m4_pattern_allow([^HAVE_BROTLI$]) ++m4trace:configure.ac:1440: -2- AH_OUTPUT([HAVE_BROTLI], [/* if BROTLI is in use */ + @%:@undef HAVE_BROTLI]) +-m4trace:configure.ac:1442: -2- AC_SUBST([HAVE_BROTLI], [1]) +-m4trace:configure.ac:1442: -2- AC_SUBST_TRACE([HAVE_BROTLI]) +-m4trace:configure.ac:1442: -2- m4_pattern_allow([^HAVE_BROTLI$]) +-m4trace:configure.ac:1438: -1- AH_OUTPUT([HAVE_BROTLI_DECODE_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:1441: -2- AC_SUBST([HAVE_BROTLI], [1]) ++m4trace:configure.ac:1441: -2- AC_SUBST_TRACE([HAVE_BROTLI]) ++m4trace:configure.ac:1441: -2- m4_pattern_allow([^HAVE_BROTLI$]) ++m4trace:configure.ac:1437: -1- AH_OUTPUT([HAVE_BROTLI_DECODE_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_BROTLI_DECODE_H]) +-m4trace:configure.ac:1438: -1- AC_DEFINE_TRACE_LITERAL([HAVE_BROTLI_DECODE_H]) +-m4trace:configure.ac:1438: -1- m4_pattern_allow([^HAVE_BROTLI_DECODE_H$]) +-m4trace:configure.ac:1490: -1- AC_SUBST([PKGCONFIG]) +-m4trace:configure.ac:1490: -1- AC_SUBST_TRACE([PKGCONFIG]) +-m4trace:configure.ac:1490: -1- m4_pattern_allow([^PKGCONFIG$]) +-m4trace:configure.ac:1522: -1- AH_OUTPUT([HAVE_LIBZSTD], [/* Define to 1 if you have the `zstd\' library (-lzstd). */ ++m4trace:configure.ac:1437: -1- AC_DEFINE_TRACE_LITERAL([HAVE_BROTLI_DECODE_H]) ++m4trace:configure.ac:1437: -1- m4_pattern_allow([^HAVE_BROTLI_DECODE_H$]) ++m4trace:configure.ac:1489: -1- AC_SUBST([PKGCONFIG]) ++m4trace:configure.ac:1489: -1- AC_SUBST_TRACE([PKGCONFIG]) ++m4trace:configure.ac:1489: -1- m4_pattern_allow([^PKGCONFIG$]) ++m4trace:configure.ac:1521: -1- AH_OUTPUT([HAVE_LIBZSTD], [/* Define to 1 if you have the `zstd\' library (-lzstd). */ + @%:@undef HAVE_LIBZSTD]) +-m4trace:configure.ac:1522: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBZSTD]) +-m4trace:configure.ac:1522: -1- m4_pattern_allow([^HAVE_LIBZSTD$]) +-m4trace:configure.ac:1527: -2- AC_DEFINE_TRACE_LITERAL([HAVE_ZSTD]) +-m4trace:configure.ac:1527: -2- m4_pattern_allow([^HAVE_ZSTD$]) +-m4trace:configure.ac:1527: -2- AH_OUTPUT([HAVE_ZSTD], [/* if libzstd is in use */ ++m4trace:configure.ac:1521: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBZSTD]) ++m4trace:configure.ac:1521: -1- m4_pattern_allow([^HAVE_LIBZSTD$]) ++m4trace:configure.ac:1526: -2- AC_DEFINE_TRACE_LITERAL([HAVE_ZSTD]) ++m4trace:configure.ac:1526: -2- m4_pattern_allow([^HAVE_ZSTD$]) ++m4trace:configure.ac:1526: -2- AH_OUTPUT([HAVE_ZSTD], [/* if libzstd is in use */ + @%:@undef HAVE_ZSTD]) +-m4trace:configure.ac:1528: -2- AC_SUBST([HAVE_ZSTD], [1]) +-m4trace:configure.ac:1528: -2- AC_SUBST_TRACE([HAVE_ZSTD]) +-m4trace:configure.ac:1528: -2- m4_pattern_allow([^HAVE_ZSTD$]) +-m4trace:configure.ac:1524: -1- AH_OUTPUT([HAVE_ZSTD_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:1527: -2- AC_SUBST([HAVE_ZSTD], [1]) ++m4trace:configure.ac:1527: -2- AC_SUBST_TRACE([HAVE_ZSTD]) ++m4trace:configure.ac:1527: -2- m4_pattern_allow([^HAVE_ZSTD$]) ++m4trace:configure.ac:1523: -1- AH_OUTPUT([HAVE_ZSTD_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_ZSTD_H]) +-m4trace:configure.ac:1524: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ZSTD_H]) +-m4trace:configure.ac:1524: -1- m4_pattern_allow([^HAVE_ZSTD_H$]) +-m4trace:configure.ac:1573: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LBER_H]) +-m4trace:configure.ac:1573: -1- m4_pattern_allow([^HAVE_LBER_H$]) +-m4trace:configure.ac:1573: -1- AH_OUTPUT([HAVE_LBER_H], [/* Define to 1 if you have the lber.h header file. */ ++m4trace:configure.ac:1523: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ZSTD_H]) ++m4trace:configure.ac:1523: -1- m4_pattern_allow([^HAVE_ZSTD_H$]) ++m4trace:configure.ac:1572: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LBER_H]) ++m4trace:configure.ac:1572: -1- m4_pattern_allow([^HAVE_LBER_H$]) ++m4trace:configure.ac:1572: -1- AH_OUTPUT([HAVE_LBER_H], [/* Define to 1 if you have the lber.h header file. */ + @%:@undef HAVE_LBER_H]) +-m4trace:configure.ac:1573: -1- AC_DEFINE_TRACE_LITERAL([NEED_LBER_H]) +-m4trace:configure.ac:1573: -1- m4_pattern_allow([^NEED_LBER_H$]) +-m4trace:configure.ac:1573: -1- AH_OUTPUT([NEED_LBER_H], [/* Define to 1 if you need the lber.h header file even with ldap.h */ ++m4trace:configure.ac:1572: -1- AC_DEFINE_TRACE_LITERAL([NEED_LBER_H]) ++m4trace:configure.ac:1572: -1- m4_pattern_allow([^NEED_LBER_H$]) ++m4trace:configure.ac:1572: -1- AH_OUTPUT([NEED_LBER_H], [/* Define to 1 if you need the lber.h header file even with ldap.h */ + @%:@undef NEED_LBER_H]) +-m4trace:configure.ac:1574: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LDAP_H]) +-m4trace:configure.ac:1574: -1- m4_pattern_allow([^HAVE_LDAP_H$]) +-m4trace:configure.ac:1574: -1- AH_OUTPUT([HAVE_LDAP_H], [/* Define to 1 if you have the ldap.h header file. */ ++m4trace:configure.ac:1573: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LDAP_H]) ++m4trace:configure.ac:1573: -1- m4_pattern_allow([^HAVE_LDAP_H$]) ++m4trace:configure.ac:1573: -1- AH_OUTPUT([HAVE_LDAP_H], [/* Define to 1 if you have the ldap.h header file. */ + @%:@undef HAVE_LDAP_H]) +-m4trace:configure.ac:1575: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LDAP_SSL_H]) +-m4trace:configure.ac:1575: -1- m4_pattern_allow([^HAVE_LDAP_SSL_H$]) +-m4trace:configure.ac:1575: -1- AH_OUTPUT([HAVE_LDAP_SSL_H], [/* Define to 1 if you have the ldap_ssl.h header file. */ ++m4trace:configure.ac:1574: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LDAP_SSL_H]) ++m4trace:configure.ac:1574: -1- m4_pattern_allow([^HAVE_LDAP_SSL_H$]) ++m4trace:configure.ac:1574: -1- AH_OUTPUT([HAVE_LDAP_SSL_H], [/* Define to 1 if you have the ldap_ssl.h header file. */ + @%:@undef HAVE_LDAP_SSL_H]) +-m4trace:configure.ac:1586: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_LDAP]) +-m4trace:configure.ac:1586: -1- m4_pattern_allow([^CURL_DISABLE_LDAP$]) +-m4trace:configure.ac:1586: -1- AH_OUTPUT([CURL_DISABLE_LDAP], [/* to disable LDAP */ ++m4trace:configure.ac:1585: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_LDAP]) ++m4trace:configure.ac:1585: -1- m4_pattern_allow([^CURL_DISABLE_LDAP$]) ++m4trace:configure.ac:1585: -1- AH_OUTPUT([CURL_DISABLE_LDAP], [/* to disable LDAP */ + @%:@undef CURL_DISABLE_LDAP]) +-m4trace:configure.ac:1586: -1- AC_SUBST([CURL_DISABLE_LDAP], [1]) +-m4trace:configure.ac:1586: -1- AC_SUBST_TRACE([CURL_DISABLE_LDAP]) +-m4trace:configure.ac:1586: -1- m4_pattern_allow([^CURL_DISABLE_LDAP$]) +-m4trace:configure.ac:1586: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_LDAPS]) +-m4trace:configure.ac:1586: -1- m4_pattern_allow([^CURL_DISABLE_LDAPS$]) +-m4trace:configure.ac:1586: -1- AH_OUTPUT([CURL_DISABLE_LDAPS], [/* to disable LDAPS */ ++m4trace:configure.ac:1585: -1- AC_SUBST([CURL_DISABLE_LDAP], [1]) ++m4trace:configure.ac:1585: -1- AC_SUBST_TRACE([CURL_DISABLE_LDAP]) ++m4trace:configure.ac:1585: -1- m4_pattern_allow([^CURL_DISABLE_LDAP$]) ++m4trace:configure.ac:1585: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_LDAPS]) ++m4trace:configure.ac:1585: -1- m4_pattern_allow([^CURL_DISABLE_LDAPS$]) ++m4trace:configure.ac:1585: -1- AH_OUTPUT([CURL_DISABLE_LDAPS], [/* to disable LDAPS */ + @%:@undef CURL_DISABLE_LDAPS]) +-m4trace:configure.ac:1586: -1- AC_SUBST([CURL_DISABLE_LDAPS], [1]) +-m4trace:configure.ac:1586: -1- AC_SUBST_TRACE([CURL_DISABLE_LDAPS]) +-m4trace:configure.ac:1586: -1- m4_pattern_allow([^CURL_DISABLE_LDAPS$]) +-m4trace:configure.ac:1604: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_LDAP]) +-m4trace:configure.ac:1604: -1- m4_pattern_allow([^CURL_DISABLE_LDAP$]) +-m4trace:configure.ac:1604: -1- AH_OUTPUT([CURL_DISABLE_LDAP], [/* to disable LDAP */ ++m4trace:configure.ac:1585: -1- AC_SUBST([CURL_DISABLE_LDAPS], [1]) ++m4trace:configure.ac:1585: -1- AC_SUBST_TRACE([CURL_DISABLE_LDAPS]) ++m4trace:configure.ac:1585: -1- m4_pattern_allow([^CURL_DISABLE_LDAPS$]) ++m4trace:configure.ac:1603: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_LDAP]) ++m4trace:configure.ac:1603: -1- m4_pattern_allow([^CURL_DISABLE_LDAP$]) ++m4trace:configure.ac:1603: -1- AH_OUTPUT([CURL_DISABLE_LDAP], [/* to disable LDAP */ + @%:@undef CURL_DISABLE_LDAP]) +-m4trace:configure.ac:1605: -1- AC_SUBST([CURL_DISABLE_LDAP], [1]) +-m4trace:configure.ac:1605: -1- AC_SUBST_TRACE([CURL_DISABLE_LDAP]) +-m4trace:configure.ac:1605: -1- m4_pattern_allow([^CURL_DISABLE_LDAP$]) +-m4trace:configure.ac:1606: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_LDAPS]) +-m4trace:configure.ac:1606: -1- m4_pattern_allow([^CURL_DISABLE_LDAPS$]) +-m4trace:configure.ac:1606: -1- AH_OUTPUT([CURL_DISABLE_LDAPS], [/* to disable LDAPS */ ++m4trace:configure.ac:1604: -1- AC_SUBST([CURL_DISABLE_LDAP], [1]) ++m4trace:configure.ac:1604: -1- AC_SUBST_TRACE([CURL_DISABLE_LDAP]) ++m4trace:configure.ac:1604: -1- m4_pattern_allow([^CURL_DISABLE_LDAP$]) ++m4trace:configure.ac:1605: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_LDAPS]) ++m4trace:configure.ac:1605: -1- m4_pattern_allow([^CURL_DISABLE_LDAPS$]) ++m4trace:configure.ac:1605: -1- AH_OUTPUT([CURL_DISABLE_LDAPS], [/* to disable LDAPS */ + @%:@undef CURL_DISABLE_LDAPS]) +-m4trace:configure.ac:1607: -1- AC_SUBST([CURL_DISABLE_LDAPS], [1]) +-m4trace:configure.ac:1607: -1- AC_SUBST_TRACE([CURL_DISABLE_LDAPS]) +-m4trace:configure.ac:1607: -1- m4_pattern_allow([^CURL_DISABLE_LDAPS$]) +-m4trace:configure.ac:1619: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_LDAP]) +-m4trace:configure.ac:1619: -1- m4_pattern_allow([^CURL_DISABLE_LDAP$]) +-m4trace:configure.ac:1619: -1- AH_OUTPUT([CURL_DISABLE_LDAP], [/* to disable LDAP */ ++m4trace:configure.ac:1606: -1- AC_SUBST([CURL_DISABLE_LDAPS], [1]) ++m4trace:configure.ac:1606: -1- AC_SUBST_TRACE([CURL_DISABLE_LDAPS]) ++m4trace:configure.ac:1606: -1- m4_pattern_allow([^CURL_DISABLE_LDAPS$]) ++m4trace:configure.ac:1618: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_LDAP]) ++m4trace:configure.ac:1618: -1- m4_pattern_allow([^CURL_DISABLE_LDAP$]) ++m4trace:configure.ac:1618: -1- AH_OUTPUT([CURL_DISABLE_LDAP], [/* to disable LDAP */ + @%:@undef CURL_DISABLE_LDAP]) +-m4trace:configure.ac:1619: -1- AC_SUBST([CURL_DISABLE_LDAP], [1]) +-m4trace:configure.ac:1619: -1- AC_SUBST_TRACE([CURL_DISABLE_LDAP]) +-m4trace:configure.ac:1619: -1- m4_pattern_allow([^CURL_DISABLE_LDAP$]) +-m4trace:configure.ac:1619: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_LDAPS]) +-m4trace:configure.ac:1619: -1- m4_pattern_allow([^CURL_DISABLE_LDAPS$]) +-m4trace:configure.ac:1619: -1- AH_OUTPUT([CURL_DISABLE_LDAPS], [/* to disable LDAPS */ ++m4trace:configure.ac:1618: -1- AC_SUBST([CURL_DISABLE_LDAP], [1]) ++m4trace:configure.ac:1618: -1- AC_SUBST_TRACE([CURL_DISABLE_LDAP]) ++m4trace:configure.ac:1618: -1- m4_pattern_allow([^CURL_DISABLE_LDAP$]) ++m4trace:configure.ac:1618: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_LDAPS]) ++m4trace:configure.ac:1618: -1- m4_pattern_allow([^CURL_DISABLE_LDAPS$]) ++m4trace:configure.ac:1618: -1- AH_OUTPUT([CURL_DISABLE_LDAPS], [/* to disable LDAPS */ + @%:@undef CURL_DISABLE_LDAPS]) +-m4trace:configure.ac:1619: -1- AC_SUBST([CURL_DISABLE_LDAPS], [1]) +-m4trace:configure.ac:1619: -1- AC_SUBST_TRACE([CURL_DISABLE_LDAPS]) +-m4trace:configure.ac:1619: -1- m4_pattern_allow([^CURL_DISABLE_LDAPS$]) +-m4trace:configure.ac:1630: -1- AH_OUTPUT([HAVE_LDAP_URL_PARSE], [/* Define to 1 if you have the `ldap_url_parse\' function. */ ++m4trace:configure.ac:1618: -1- AC_SUBST([CURL_DISABLE_LDAPS], [1]) ++m4trace:configure.ac:1618: -1- AC_SUBST_TRACE([CURL_DISABLE_LDAPS]) ++m4trace:configure.ac:1618: -1- m4_pattern_allow([^CURL_DISABLE_LDAPS$]) ++m4trace:configure.ac:1629: -1- AH_OUTPUT([HAVE_LDAP_URL_PARSE], [/* Define to 1 if you have the `ldap_url_parse\' function. */ + @%:@undef HAVE_LDAP_URL_PARSE]) +-m4trace:configure.ac:1630: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LDAP_URL_PARSE]) +-m4trace:configure.ac:1630: -1- m4_pattern_allow([^HAVE_LDAP_URL_PARSE$]) +-m4trace:configure.ac:1630: -1- AH_OUTPUT([HAVE_LDAP_INIT_FD], [/* Define to 1 if you have the `ldap_init_fd\' function. */ ++m4trace:configure.ac:1629: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LDAP_URL_PARSE]) ++m4trace:configure.ac:1629: -1- m4_pattern_allow([^HAVE_LDAP_URL_PARSE$]) ++m4trace:configure.ac:1629: -1- AH_OUTPUT([HAVE_LDAP_INIT_FD], [/* Define to 1 if you have the `ldap_init_fd\' function. */ + @%:@undef HAVE_LDAP_INIT_FD]) +-m4trace:configure.ac:1630: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LDAP_INIT_FD]) +-m4trace:configure.ac:1630: -1- m4_pattern_allow([^HAVE_LDAP_INIT_FD$]) +-m4trace:configure.ac:1635: -1- AC_DEFINE_TRACE_LITERAL([USE_WIN32_LDAP]) +-m4trace:configure.ac:1635: -1- m4_pattern_allow([^USE_WIN32_LDAP$]) +-m4trace:configure.ac:1635: -1- AH_OUTPUT([USE_WIN32_LDAP], [/* Use Windows LDAP implementation */ ++m4trace:configure.ac:1629: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LDAP_INIT_FD]) ++m4trace:configure.ac:1629: -1- m4_pattern_allow([^HAVE_LDAP_INIT_FD$]) ++m4trace:configure.ac:1634: -1- AC_DEFINE_TRACE_LITERAL([USE_WIN32_LDAP]) ++m4trace:configure.ac:1634: -1- m4_pattern_allow([^USE_WIN32_LDAP$]) ++m4trace:configure.ac:1634: -1- AH_OUTPUT([USE_WIN32_LDAP], [/* Use Windows LDAP implementation */ + @%:@undef USE_WIN32_LDAP]) +-m4trace:configure.ac:1639: -1- AC_DEFINE_TRACE_LITERAL([USE_OPENLDAP]) +-m4trace:configure.ac:1639: -1- m4_pattern_allow([^USE_OPENLDAP$]) +-m4trace:configure.ac:1639: -1- AH_OUTPUT([USE_OPENLDAP], [/* Use OpenLDAP-specific code */ ++m4trace:configure.ac:1638: -1- AC_DEFINE_TRACE_LITERAL([USE_OPENLDAP]) ++m4trace:configure.ac:1638: -1- m4_pattern_allow([^USE_OPENLDAP$]) ++m4trace:configure.ac:1638: -1- AH_OUTPUT([USE_OPENLDAP], [/* Use OpenLDAP-specific code */ + @%:@undef USE_OPENLDAP]) +-m4trace:configure.ac:1640: -1- AC_SUBST([USE_OPENLDAP], [1]) +-m4trace:configure.ac:1640: -1- AC_SUBST_TRACE([USE_OPENLDAP]) +-m4trace:configure.ac:1640: -1- m4_pattern_allow([^USE_OPENLDAP$]) +-m4trace:configure.ac:1704: -1- AC_DEFINE_TRACE_LITERAL([ENABLE_IPV6]) +-m4trace:configure.ac:1704: -1- m4_pattern_allow([^ENABLE_IPV6$]) +-m4trace:configure.ac:1704: -1- AH_OUTPUT([ENABLE_IPV6], [/* Define if you want to enable IPv6 support */ ++m4trace:configure.ac:1639: -1- AC_SUBST([USE_OPENLDAP], [1]) ++m4trace:configure.ac:1639: -1- AC_SUBST_TRACE([USE_OPENLDAP]) ++m4trace:configure.ac:1639: -1- m4_pattern_allow([^USE_OPENLDAP$]) ++m4trace:configure.ac:1700: -1- AC_DEFINE_TRACE_LITERAL([ENABLE_IPV6]) ++m4trace:configure.ac:1700: -1- m4_pattern_allow([^ENABLE_IPV6$]) ++m4trace:configure.ac:1700: -1- AH_OUTPUT([ENABLE_IPV6], [/* Define if you want to enable IPv6 support */ + @%:@undef ENABLE_IPV6]) +-m4trace:configure.ac:1706: -1- AC_SUBST([IPV6_ENABLED]) +-m4trace:configure.ac:1706: -1- AC_SUBST_TRACE([IPV6_ENABLED]) +-m4trace:configure.ac:1706: -1- m4_pattern_allow([^IPV6_ENABLED$]) +-m4trace:configure.ac:1709: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID]) +-m4trace:configure.ac:1709: -1- m4_pattern_allow([^HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID$]) +-m4trace:configure.ac:1709: -1- AH_OUTPUT([HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID], [/* Define to 1 if struct sockaddr_in6 has the sin6_scope_id member */ ++m4trace:configure.ac:1702: -1- AC_SUBST([IPV6_ENABLED]) ++m4trace:configure.ac:1702: -1- AC_SUBST_TRACE([IPV6_ENABLED]) ++m4trace:configure.ac:1702: -1- m4_pattern_allow([^IPV6_ENABLED$]) ++m4trace:configure.ac:1705: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID]) ++m4trace:configure.ac:1705: -1- m4_pattern_allow([^HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID$]) ++m4trace:configure.ac:1705: -1- AH_OUTPUT([HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID], [/* Define to 1 if struct sockaddr_in6 has the sin6_scope_id member */ + @%:@undef HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID]) +-m4trace:configure.ac:1760: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WRITABLE_ARGV]) +-m4trace:configure.ac:1760: -1- m4_pattern_allow([^HAVE_WRITABLE_ARGV$]) +-m4trace:configure.ac:1760: -1- AH_OUTPUT([HAVE_WRITABLE_ARGV], [/* Define this symbol if your OS supports changing the contents of argv */ ++m4trace:configure.ac:1756: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WRITABLE_ARGV]) ++m4trace:configure.ac:1756: -1- m4_pattern_allow([^HAVE_WRITABLE_ARGV$]) ++m4trace:configure.ac:1756: -1- AH_OUTPUT([HAVE_WRITABLE_ARGV], [/* Define this symbol if your OS supports changing the contents of argv */ + @%:@undef HAVE_WRITABLE_ARGV]) +-m4trace:configure.ac:1814: -1- AC_SUBST([PKGCONFIG]) +-m4trace:configure.ac:1814: -1- AC_SUBST_TRACE([PKGCONFIG]) +-m4trace:configure.ac:1814: -1- m4_pattern_allow([^PKGCONFIG$]) +-m4trace:configure.ac:1816: -1- AC_SUBST([PKGCONFIG]) +-m4trace:configure.ac:1816: -1- AC_SUBST_TRACE([PKGCONFIG]) +-m4trace:configure.ac:1816: -1- m4_pattern_allow([^PKGCONFIG$]) +-m4trace:configure.ac:1832: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GSSGNU]) +-m4trace:configure.ac:1832: -1- m4_pattern_allow([^HAVE_GSSGNU$]) +-m4trace:configure.ac:1832: -1- AH_OUTPUT([HAVE_GSSGNU], [/* if you have GNU GSS */ ++m4trace:configure.ac:1810: -1- AC_SUBST([PKGCONFIG]) ++m4trace:configure.ac:1810: -1- AC_SUBST_TRACE([PKGCONFIG]) ++m4trace:configure.ac:1810: -1- m4_pattern_allow([^PKGCONFIG$]) ++m4trace:configure.ac:1812: -1- AC_SUBST([PKGCONFIG]) ++m4trace:configure.ac:1812: -1- AC_SUBST_TRACE([PKGCONFIG]) ++m4trace:configure.ac:1812: -1- m4_pattern_allow([^PKGCONFIG$]) ++m4trace:configure.ac:1828: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GSSGNU]) ++m4trace:configure.ac:1828: -1- m4_pattern_allow([^HAVE_GSSGNU$]) ++m4trace:configure.ac:1828: -1- AH_OUTPUT([HAVE_GSSGNU], [/* if you have GNU GSS */ + @%:@undef HAVE_GSSGNU]) +-m4trace:configure.ac:1832: -1- AH_OUTPUT([HAVE_GSSAPI_GSSAPI_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:1828: -1- AH_OUTPUT([HAVE_GSSAPI_GSSAPI_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_GSSAPI_GSSAPI_H]) +-m4trace:configure.ac:1832: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GSSAPI_GSSAPI_H]) +-m4trace:configure.ac:1832: -1- m4_pattern_allow([^HAVE_GSSAPI_GSSAPI_H$]) +-m4trace:configure.ac:1832: -1- AH_OUTPUT([HAVE_GSSAPI_GSSAPI_GENERIC_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:1828: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GSSAPI_GSSAPI_H]) ++m4trace:configure.ac:1828: -1- m4_pattern_allow([^HAVE_GSSAPI_GSSAPI_H$]) ++m4trace:configure.ac:1828: -1- AH_OUTPUT([HAVE_GSSAPI_GSSAPI_GENERIC_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_GSSAPI_GSSAPI_GENERIC_H]) +-m4trace:configure.ac:1832: -1- AH_OUTPUT([HAVE_GSSAPI_GSSAPI_KRB5_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:1828: -1- AH_OUTPUT([HAVE_GSSAPI_GSSAPI_KRB5_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_GSSAPI_GSSAPI_KRB5_H]) +-m4trace:configure.ac:1832: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GSSHEIMDAL]) +-m4trace:configure.ac:1832: -1- m4_pattern_allow([^HAVE_GSSHEIMDAL$]) +-m4trace:configure.ac:1832: -1- AH_OUTPUT([HAVE_GSSHEIMDAL], [/* if you have Heimdal */ +-@%:@undef HAVE_GSSHEIMDAL]) +-m4trace:configure.ac:1832: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GSSMIT]) +-m4trace:configure.ac:1832: -1- m4_pattern_allow([^HAVE_GSSMIT$]) +-m4trace:configure.ac:1832: -1- AH_OUTPUT([HAVE_GSSMIT], [/* if you have MIT Kerberos */ +-@%:@undef HAVE_GSSMIT]) +-m4trace:configure.ac:1832: -1- AC_DEFINE_TRACE_LITERAL([HAVE_OLD_GSSMIT]) +-m4trace:configure.ac:1832: -1- m4_pattern_allow([^HAVE_OLD_GSSMIT$]) +-m4trace:configure.ac:1832: -1- AH_OUTPUT([HAVE_OLD_GSSMIT], [/* if you have an old MIT Kerberos version, lacking GSS_C_NT_HOSTBASED_SERVICE ++m4trace:configure.ac:1828: -1- AC_DEFINE_TRACE_LITERAL([HAVE_OLD_GSSMIT]) ++m4trace:configure.ac:1828: -1- m4_pattern_allow([^HAVE_OLD_GSSMIT$]) ++m4trace:configure.ac:1828: -1- AH_OUTPUT([HAVE_OLD_GSSMIT], [/* if you have an old MIT Kerberos version, lacking GSS_C_NT_HOSTBASED_SERVICE + */ + @%:@undef HAVE_OLD_GSSMIT]) +-m4trace:configure.ac:1895: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GSSAPI]) +-m4trace:configure.ac:1895: -1- m4_pattern_allow([^HAVE_GSSAPI$]) +-m4trace:configure.ac:1895: -1- AH_OUTPUT([HAVE_GSSAPI], [/* if you have GSS-API libraries */ ++m4trace:configure.ac:1887: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GSSAPI]) ++m4trace:configure.ac:1887: -1- m4_pattern_allow([^HAVE_GSSAPI$]) ++m4trace:configure.ac:1887: -1- AH_OUTPUT([HAVE_GSSAPI], [/* if you have GSS-API libraries */ + @%:@undef HAVE_GSSAPI]) +-m4trace:configure.ac:1910: -1- AC_SUBST([PKGCONFIG]) +-m4trace:configure.ac:1910: -1- AC_SUBST_TRACE([PKGCONFIG]) +-m4trace:configure.ac:1910: -1- m4_pattern_allow([^PKGCONFIG$]) +-m4trace:configure.ac:1912: -1- AC_SUBST([PKGCONFIG]) +-m4trace:configure.ac:1912: -1- AC_SUBST_TRACE([PKGCONFIG]) +-m4trace:configure.ac:1912: -1- m4_pattern_allow([^PKGCONFIG$]) +-m4trace:configure.ac:1978: -1- AM_CONDITIONAL([BUILD_STUB_GSS], [test "x$build_libstubgss" = "xyes"]) +-m4trace:configure.ac:1978: -1- AC_SUBST([BUILD_STUB_GSS_TRUE]) +-m4trace:configure.ac:1978: -1- AC_SUBST_TRACE([BUILD_STUB_GSS_TRUE]) +-m4trace:configure.ac:1978: -1- m4_pattern_allow([^BUILD_STUB_GSS_TRUE$]) +-m4trace:configure.ac:1978: -1- AC_SUBST([BUILD_STUB_GSS_FALSE]) +-m4trace:configure.ac:1978: -1- AC_SUBST_TRACE([BUILD_STUB_GSS_FALSE]) +-m4trace:configure.ac:1978: -1- m4_pattern_allow([^BUILD_STUB_GSS_FALSE$]) +-m4trace:configure.ac:1978: -1- _AM_SUBST_NOTMAKE([BUILD_STUB_GSS_TRUE]) +-m4trace:configure.ac:1978: -1- _AM_SUBST_NOTMAKE([BUILD_STUB_GSS_FALSE]) +-m4trace:configure.ac:2000: -1- AC_SUBST([DEFAULT_SSL_BACKEND]) +-m4trace:configure.ac:2000: -1- AC_SUBST_TRACE([DEFAULT_SSL_BACKEND]) +-m4trace:configure.ac:2000: -1- m4_pattern_allow([^DEFAULT_SSL_BACKEND$]) +-m4trace:configure.ac:2006: -1- AC_DEFINE_TRACE_LITERAL([USE_SCHANNEL]) +-m4trace:configure.ac:2006: -1- m4_pattern_allow([^USE_SCHANNEL$]) +-m4trace:configure.ac:2006: -1- AH_OUTPUT([USE_SCHANNEL], [/* to enable Windows native SSL/TLS support */ ++m4trace:configure.ac:1902: -1- AC_SUBST([PKGCONFIG]) ++m4trace:configure.ac:1902: -1- AC_SUBST_TRACE([PKGCONFIG]) ++m4trace:configure.ac:1902: -1- m4_pattern_allow([^PKGCONFIG$]) ++m4trace:configure.ac:1904: -1- AC_SUBST([PKGCONFIG]) ++m4trace:configure.ac:1904: -1- AC_SUBST_TRACE([PKGCONFIG]) ++m4trace:configure.ac:1904: -1- m4_pattern_allow([^PKGCONFIG$]) ++m4trace:configure.ac:1970: -1- AM_CONDITIONAL([BUILD_STUB_GSS], [test "x$build_libstubgss" = "xyes"]) ++m4trace:configure.ac:1970: -1- AC_SUBST([BUILD_STUB_GSS_TRUE]) ++m4trace:configure.ac:1970: -1- AC_SUBST_TRACE([BUILD_STUB_GSS_TRUE]) ++m4trace:configure.ac:1970: -1- m4_pattern_allow([^BUILD_STUB_GSS_TRUE$]) ++m4trace:configure.ac:1970: -1- AC_SUBST([BUILD_STUB_GSS_FALSE]) ++m4trace:configure.ac:1970: -1- AC_SUBST_TRACE([BUILD_STUB_GSS_FALSE]) ++m4trace:configure.ac:1970: -1- m4_pattern_allow([^BUILD_STUB_GSS_FALSE$]) ++m4trace:configure.ac:1970: -1- _AM_SUBST_NOTMAKE([BUILD_STUB_GSS_TRUE]) ++m4trace:configure.ac:1970: -1- _AM_SUBST_NOTMAKE([BUILD_STUB_GSS_FALSE]) ++m4trace:configure.ac:1992: -1- AC_SUBST([DEFAULT_SSL_BACKEND]) ++m4trace:configure.ac:1992: -1- AC_SUBST_TRACE([DEFAULT_SSL_BACKEND]) ++m4trace:configure.ac:1992: -1- m4_pattern_allow([^DEFAULT_SSL_BACKEND$]) ++m4trace:configure.ac:1998: -1- AC_DEFINE_TRACE_LITERAL([USE_SCHANNEL]) ++m4trace:configure.ac:1998: -1- m4_pattern_allow([^USE_SCHANNEL$]) ++m4trace:configure.ac:1998: -1- AH_OUTPUT([USE_SCHANNEL], [/* to enable Windows native SSL/TLS support */ + @%:@undef USE_SCHANNEL]) +-m4trace:configure.ac:2006: -1- AC_SUBST([USE_SCHANNEL], [1]) +-m4trace:configure.ac:2006: -1- AC_SUBST_TRACE([USE_SCHANNEL]) +-m4trace:configure.ac:2006: -1- m4_pattern_allow([^USE_SCHANNEL$]) +-m4trace:configure.ac:2006: -1- AC_DEFINE_TRACE_LITERAL([USE_WINDOWS_SSPI]) +-m4trace:configure.ac:2006: -1- m4_pattern_allow([^USE_WINDOWS_SSPI$]) +-m4trace:configure.ac:2006: -1- AH_OUTPUT([USE_WINDOWS_SSPI], [/* to enable SSPI support */ ++m4trace:configure.ac:1998: -1- AC_SUBST([USE_SCHANNEL], [1]) ++m4trace:configure.ac:1998: -1- AC_SUBST_TRACE([USE_SCHANNEL]) ++m4trace:configure.ac:1998: -1- m4_pattern_allow([^USE_SCHANNEL$]) ++m4trace:configure.ac:1998: -1- AC_DEFINE_TRACE_LITERAL([USE_WINDOWS_SSPI]) ++m4trace:configure.ac:1998: -1- m4_pattern_allow([^USE_WINDOWS_SSPI$]) ++m4trace:configure.ac:1998: -1- AH_OUTPUT([USE_WINDOWS_SSPI], [/* to enable SSPI support */ + @%:@undef USE_WINDOWS_SSPI]) +-m4trace:configure.ac:2006: -1- AC_SUBST([USE_WINDOWS_SSPI], [1]) +-m4trace:configure.ac:2006: -1- AC_SUBST_TRACE([USE_WINDOWS_SSPI]) +-m4trace:configure.ac:2006: -1- m4_pattern_allow([^USE_WINDOWS_SSPI$]) +-m4trace:configure.ac:2007: -1- AC_DEFINE_TRACE_LITERAL([USE_SECTRANSP]) +-m4trace:configure.ac:2007: -1- m4_pattern_allow([^USE_SECTRANSP$]) +-m4trace:configure.ac:2007: -1- AH_OUTPUT([USE_SECTRANSP], [/* enable Secure Transport */ ++m4trace:configure.ac:1998: -1- AC_SUBST([USE_WINDOWS_SSPI], [1]) ++m4trace:configure.ac:1998: -1- AC_SUBST_TRACE([USE_WINDOWS_SSPI]) ++m4trace:configure.ac:1998: -1- m4_pattern_allow([^USE_WINDOWS_SSPI$]) ++m4trace:configure.ac:1999: -1- AC_DEFINE_TRACE_LITERAL([USE_SECTRANSP]) ++m4trace:configure.ac:1999: -1- m4_pattern_allow([^USE_SECTRANSP$]) ++m4trace:configure.ac:1999: -1- AH_OUTPUT([USE_SECTRANSP], [/* enable Secure Transport */ + @%:@undef USE_SECTRANSP]) +-m4trace:configure.ac:2007: -1- AC_SUBST([USE_SECTRANSP], [1]) +-m4trace:configure.ac:2007: -1- AC_SUBST_TRACE([USE_SECTRANSP]) +-m4trace:configure.ac:2007: -1- m4_pattern_allow([^USE_SECTRANSP$]) +-m4trace:configure.ac:2008: -1- AC_DEFINE_TRACE_LITERAL([USE_AMISSL]) +-m4trace:configure.ac:2008: -1- m4_pattern_allow([^USE_AMISSL$]) +-m4trace:configure.ac:2008: -1- AH_OUTPUT([USE_AMISSL], [/* if AmiSSL is in use */ ++m4trace:configure.ac:1999: -1- AC_SUBST([USE_SECTRANSP], [1]) ++m4trace:configure.ac:1999: -1- AC_SUBST_TRACE([USE_SECTRANSP]) ++m4trace:configure.ac:1999: -1- m4_pattern_allow([^USE_SECTRANSP$]) ++m4trace:configure.ac:2000: -1- AC_DEFINE_TRACE_LITERAL([USE_AMISSL]) ++m4trace:configure.ac:2000: -1- m4_pattern_allow([^USE_AMISSL$]) ++m4trace:configure.ac:2000: -1- AH_OUTPUT([USE_AMISSL], [/* if AmiSSL is in use */ + @%:@undef USE_AMISSL]) +-m4trace:configure.ac:2008: -1- AC_DEFINE_TRACE_LITERAL([USE_OPENSSL]) +-m4trace:configure.ac:2008: -1- m4_pattern_allow([^USE_OPENSSL$]) +-m4trace:configure.ac:2008: -1- AH_OUTPUT([USE_OPENSSL], [/* if OpenSSL is in use */ ++m4trace:configure.ac:2000: -1- AC_DEFINE_TRACE_LITERAL([USE_OPENSSL]) ++m4trace:configure.ac:2000: -1- m4_pattern_allow([^USE_OPENSSL$]) ++m4trace:configure.ac:2000: -1- AH_OUTPUT([USE_OPENSSL], [/* if OpenSSL is in use */ + @%:@undef USE_OPENSSL]) +-m4trace:configure.ac:2008: -1- AC_DEFINE_TRACE_LITERAL([HAVE_OPENSSL3]) +-m4trace:configure.ac:2008: -1- m4_pattern_allow([^HAVE_OPENSSL3$]) +-m4trace:configure.ac:2008: -1- AH_OUTPUT([HAVE_OPENSSL3], [/* Define to 1 if using OpenSSL 3 or later. */ ++m4trace:configure.ac:2000: -1- AC_DEFINE_TRACE_LITERAL([HAVE_OPENSSL3]) ++m4trace:configure.ac:2000: -1- m4_pattern_allow([^HAVE_OPENSSL3$]) ++m4trace:configure.ac:2000: -1- AH_OUTPUT([HAVE_OPENSSL3], [/* Define to 1 if using OpenSSL 3 or later. */ + @%:@undef HAVE_OPENSSL3]) +-m4trace:configure.ac:2008: -1- AH_OUTPUT([HAVE_OPENSSL_X509_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:2000: -1- AH_OUTPUT([HAVE_OPENSSL_X509_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_OPENSSL_X509_H]) +-m4trace:configure.ac:2008: -1- AC_DEFINE_TRACE_LITERAL([HAVE_OPENSSL_X509_H]) +-m4trace:configure.ac:2008: -1- m4_pattern_allow([^HAVE_OPENSSL_X509_H$]) +-m4trace:configure.ac:2008: -1- AH_OUTPUT([HAVE_OPENSSL_RSA_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:2000: -1- AC_DEFINE_TRACE_LITERAL([HAVE_OPENSSL_X509_H]) ++m4trace:configure.ac:2000: -1- m4_pattern_allow([^HAVE_OPENSSL_X509_H$]) ++m4trace:configure.ac:2000: -1- AH_OUTPUT([HAVE_OPENSSL_RSA_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_OPENSSL_RSA_H]) +-m4trace:configure.ac:2008: -1- AC_DEFINE_TRACE_LITERAL([HAVE_OPENSSL_RSA_H]) +-m4trace:configure.ac:2008: -1- m4_pattern_allow([^HAVE_OPENSSL_RSA_H$]) +-m4trace:configure.ac:2008: -1- AH_OUTPUT([HAVE_OPENSSL_CRYPTO_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:2000: -1- AC_DEFINE_TRACE_LITERAL([HAVE_OPENSSL_RSA_H]) ++m4trace:configure.ac:2000: -1- m4_pattern_allow([^HAVE_OPENSSL_RSA_H$]) ++m4trace:configure.ac:2000: -1- AH_OUTPUT([HAVE_OPENSSL_CRYPTO_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_OPENSSL_CRYPTO_H]) +-m4trace:configure.ac:2008: -1- AC_DEFINE_TRACE_LITERAL([HAVE_OPENSSL_CRYPTO_H]) +-m4trace:configure.ac:2008: -1- m4_pattern_allow([^HAVE_OPENSSL_CRYPTO_H$]) +-m4trace:configure.ac:2008: -1- AH_OUTPUT([HAVE_OPENSSL_PEM_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:2000: -1- AC_DEFINE_TRACE_LITERAL([HAVE_OPENSSL_CRYPTO_H]) ++m4trace:configure.ac:2000: -1- m4_pattern_allow([^HAVE_OPENSSL_CRYPTO_H$]) ++m4trace:configure.ac:2000: -1- AH_OUTPUT([HAVE_OPENSSL_PEM_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_OPENSSL_PEM_H]) +-m4trace:configure.ac:2008: -1- AC_DEFINE_TRACE_LITERAL([HAVE_OPENSSL_PEM_H]) +-m4trace:configure.ac:2008: -1- m4_pattern_allow([^HAVE_OPENSSL_PEM_H$]) +-m4trace:configure.ac:2008: -1- AH_OUTPUT([HAVE_OPENSSL_SSL_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:2000: -1- AC_DEFINE_TRACE_LITERAL([HAVE_OPENSSL_PEM_H]) ++m4trace:configure.ac:2000: -1- m4_pattern_allow([^HAVE_OPENSSL_PEM_H$]) ++m4trace:configure.ac:2000: -1- AH_OUTPUT([HAVE_OPENSSL_SSL_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_OPENSSL_SSL_H]) +-m4trace:configure.ac:2008: -1- AC_DEFINE_TRACE_LITERAL([HAVE_OPENSSL_SSL_H]) +-m4trace:configure.ac:2008: -1- m4_pattern_allow([^HAVE_OPENSSL_SSL_H$]) +-m4trace:configure.ac:2008: -1- AH_OUTPUT([HAVE_OPENSSL_ERR_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:2000: -1- AC_DEFINE_TRACE_LITERAL([HAVE_OPENSSL_SSL_H]) ++m4trace:configure.ac:2000: -1- m4_pattern_allow([^HAVE_OPENSSL_SSL_H$]) ++m4trace:configure.ac:2000: -1- AH_OUTPUT([HAVE_OPENSSL_ERR_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_OPENSSL_ERR_H]) +-m4trace:configure.ac:2008: -1- AC_DEFINE_TRACE_LITERAL([HAVE_OPENSSL_ERR_H]) +-m4trace:configure.ac:2008: -1- m4_pattern_allow([^HAVE_OPENSSL_ERR_H$]) +-m4trace:configure.ac:2009: -1- AC_SUBST([PKGCONFIG]) +-m4trace:configure.ac:2009: -1- AC_SUBST_TRACE([PKGCONFIG]) +-m4trace:configure.ac:2009: -1- m4_pattern_allow([^PKGCONFIG$]) +-m4trace:configure.ac:2009: -1- AC_SUBST([SSL_LIBS]) +-m4trace:configure.ac:2009: -1- AC_SUBST_TRACE([SSL_LIBS]) +-m4trace:configure.ac:2009: -1- m4_pattern_allow([^SSL_LIBS$]) +-m4trace:configure.ac:2009: -1- AH_OUTPUT([HAVE_LIBSSL], [/* Define to 1 if you have the `ssl\' library (-lssl). */ ++m4trace:configure.ac:2000: -1- AC_DEFINE_TRACE_LITERAL([HAVE_OPENSSL_ERR_H]) ++m4trace:configure.ac:2000: -1- m4_pattern_allow([^HAVE_OPENSSL_ERR_H$]) ++m4trace:configure.ac:2001: -1- AC_SUBST([PKGCONFIG]) ++m4trace:configure.ac:2001: -1- AC_SUBST_TRACE([PKGCONFIG]) ++m4trace:configure.ac:2001: -1- m4_pattern_allow([^PKGCONFIG$]) ++m4trace:configure.ac:2001: -1- AC_SUBST([SSL_LIBS]) ++m4trace:configure.ac:2001: -1- AC_SUBST_TRACE([SSL_LIBS]) ++m4trace:configure.ac:2001: -1- m4_pattern_allow([^SSL_LIBS$]) ++m4trace:configure.ac:2001: -1- AH_OUTPUT([HAVE_LIBSSL], [/* Define to 1 if you have the `ssl\' library (-lssl). */ + @%:@undef HAVE_LIBSSL]) +-m4trace:configure.ac:2009: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBSSL]) +-m4trace:configure.ac:2009: -1- m4_pattern_allow([^HAVE_LIBSSL$]) +-m4trace:configure.ac:2009: -1- AH_OUTPUT([HAVE_LIBSSL], [/* Define to 1 if you have the `ssl\' library (-lssl). */ ++m4trace:configure.ac:2001: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBSSL]) ++m4trace:configure.ac:2001: -1- m4_pattern_allow([^HAVE_LIBSSL$]) ++m4trace:configure.ac:2001: -1- AH_OUTPUT([HAVE_LIBSSL], [/* Define to 1 if you have the `ssl\' library (-lssl). */ + @%:@undef HAVE_LIBSSL]) +-m4trace:configure.ac:2009: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBSSL]) +-m4trace:configure.ac:2009: -1- m4_pattern_allow([^HAVE_LIBSSL$]) +-m4trace:configure.ac:2009: -2- AC_DEFINE_TRACE_LITERAL([USE_OPENSSL]) +-m4trace:configure.ac:2009: -2- m4_pattern_allow([^USE_OPENSSL$]) +-m4trace:configure.ac:2009: -2- AH_OUTPUT([USE_OPENSSL], [/* if OpenSSL is in use */ ++m4trace:configure.ac:2001: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBSSL]) ++m4trace:configure.ac:2001: -1- m4_pattern_allow([^HAVE_LIBSSL$]) ++m4trace:configure.ac:2001: -2- AC_DEFINE_TRACE_LITERAL([USE_OPENSSL]) ++m4trace:configure.ac:2001: -2- m4_pattern_allow([^USE_OPENSSL$]) ++m4trace:configure.ac:2001: -2- AH_OUTPUT([USE_OPENSSL], [/* if OpenSSL is in use */ + @%:@undef USE_OPENSSL]) +-m4trace:configure.ac:2009: -1- AH_OUTPUT([HAVE_OPENSSL_X509_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:2001: -1- AH_OUTPUT([HAVE_OPENSSL_X509_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_OPENSSL_X509_H]) +-m4trace:configure.ac:2009: -1- AH_OUTPUT([HAVE_OPENSSL_RSA_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:2001: -1- AH_OUTPUT([HAVE_OPENSSL_RSA_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_OPENSSL_RSA_H]) +-m4trace:configure.ac:2009: -1- AH_OUTPUT([HAVE_OPENSSL_CRYPTO_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:2001: -1- AH_OUTPUT([HAVE_OPENSSL_CRYPTO_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_OPENSSL_CRYPTO_H]) +-m4trace:configure.ac:2009: -1- AH_OUTPUT([HAVE_OPENSSL_PEM_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:2001: -1- AH_OUTPUT([HAVE_OPENSSL_PEM_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_OPENSSL_PEM_H]) +-m4trace:configure.ac:2009: -1- AH_OUTPUT([HAVE_OPENSSL_SSL_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:2001: -1- AH_OUTPUT([HAVE_OPENSSL_SSL_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_OPENSSL_SSL_H]) +-m4trace:configure.ac:2009: -1- AH_OUTPUT([HAVE_OPENSSL_ERR_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:2001: -1- AH_OUTPUT([HAVE_OPENSSL_ERR_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_OPENSSL_ERR_H]) +-m4trace:configure.ac:2009: -1- AH_OUTPUT([HAVE_X509_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:2001: -1- AH_OUTPUT([HAVE_X509_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_X509_H]) +-m4trace:configure.ac:2009: -1- AC_DEFINE_TRACE_LITERAL([HAVE_X509_H]) +-m4trace:configure.ac:2009: -1- m4_pattern_allow([^HAVE_X509_H$]) +-m4trace:configure.ac:2009: -1- AH_OUTPUT([HAVE_RSA_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:2001: -1- AC_DEFINE_TRACE_LITERAL([HAVE_X509_H]) ++m4trace:configure.ac:2001: -1- m4_pattern_allow([^HAVE_X509_H$]) ++m4trace:configure.ac:2001: -1- AH_OUTPUT([HAVE_RSA_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_RSA_H]) +-m4trace:configure.ac:2009: -1- AC_DEFINE_TRACE_LITERAL([HAVE_RSA_H]) +-m4trace:configure.ac:2009: -1- m4_pattern_allow([^HAVE_RSA_H$]) +-m4trace:configure.ac:2009: -1- AH_OUTPUT([HAVE_CRYPTO_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:2001: -1- AC_DEFINE_TRACE_LITERAL([HAVE_RSA_H]) ++m4trace:configure.ac:2001: -1- m4_pattern_allow([^HAVE_RSA_H$]) ++m4trace:configure.ac:2001: -1- AH_OUTPUT([HAVE_CRYPTO_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_CRYPTO_H]) +-m4trace:configure.ac:2009: -1- AC_DEFINE_TRACE_LITERAL([HAVE_CRYPTO_H]) +-m4trace:configure.ac:2009: -1- m4_pattern_allow([^HAVE_CRYPTO_H$]) +-m4trace:configure.ac:2009: -1- AH_OUTPUT([HAVE_PEM_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:2001: -1- AC_DEFINE_TRACE_LITERAL([HAVE_CRYPTO_H]) ++m4trace:configure.ac:2001: -1- m4_pattern_allow([^HAVE_CRYPTO_H$]) ++m4trace:configure.ac:2001: -1- AH_OUTPUT([HAVE_PEM_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_PEM_H]) +-m4trace:configure.ac:2009: -1- AC_DEFINE_TRACE_LITERAL([HAVE_PEM_H]) +-m4trace:configure.ac:2009: -1- m4_pattern_allow([^HAVE_PEM_H$]) +-m4trace:configure.ac:2009: -1- AH_OUTPUT([HAVE_SSL_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:2001: -1- AC_DEFINE_TRACE_LITERAL([HAVE_PEM_H]) ++m4trace:configure.ac:2001: -1- m4_pattern_allow([^HAVE_PEM_H$]) ++m4trace:configure.ac:2001: -1- AH_OUTPUT([HAVE_SSL_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_SSL_H]) +-m4trace:configure.ac:2009: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SSL_H]) +-m4trace:configure.ac:2009: -1- m4_pattern_allow([^HAVE_SSL_H$]) +-m4trace:configure.ac:2009: -1- AH_OUTPUT([HAVE_ERR_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:2001: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SSL_H]) ++m4trace:configure.ac:2001: -1- m4_pattern_allow([^HAVE_SSL_H$]) ++m4trace:configure.ac:2001: -1- AH_OUTPUT([HAVE_ERR_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_ERR_H]) +-m4trace:configure.ac:2009: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ERR_H]) +-m4trace:configure.ac:2009: -1- m4_pattern_allow([^HAVE_ERR_H$]) +-m4trace:configure.ac:2009: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBRESSL]) +-m4trace:configure.ac:2009: -1- m4_pattern_allow([^HAVE_LIBRESSL$]) +-m4trace:configure.ac:2009: -1- AH_OUTPUT([HAVE_LIBRESSL], [/* Define to 1 if using libressl. */ ++m4trace:configure.ac:2001: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ERR_H]) ++m4trace:configure.ac:2001: -1- m4_pattern_allow([^HAVE_ERR_H$]) ++m4trace:configure.ac:2001: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBRESSL]) ++m4trace:configure.ac:2001: -1- m4_pattern_allow([^HAVE_LIBRESSL$]) ++m4trace:configure.ac:2001: -1- AH_OUTPUT([HAVE_LIBRESSL], [/* Define to 1 if using libressl. */ + @%:@undef HAVE_LIBRESSL]) +-m4trace:configure.ac:2009: -1- AC_DEFINE_TRACE_LITERAL([HAVE_OPENSSL3]) +-m4trace:configure.ac:2009: -1- m4_pattern_allow([^HAVE_OPENSSL3$]) +-m4trace:configure.ac:2009: -1- AH_OUTPUT([HAVE_OPENSSL3], [/* Define to 1 if using OpenSSL 3 or later. */ ++m4trace:configure.ac:2001: -1- AC_DEFINE_TRACE_LITERAL([HAVE_OPENSSL3]) ++m4trace:configure.ac:2001: -1- m4_pattern_allow([^HAVE_OPENSSL3$]) ++m4trace:configure.ac:2001: -1- AH_OUTPUT([HAVE_OPENSSL3], [/* Define to 1 if using OpenSSL 3 or later. */ + @%:@undef HAVE_OPENSSL3]) +-m4trace:configure.ac:2009: -1- _m4_warn([cross], [cannot check for file existence when cross compiling], [./lib/autoconf/general.m4:3010: AC_CHECK_FILE is expanded from... ++m4trace:configure.ac:2001: -1- AH_OUTPUT([HAVE_SSL_SET_QUIC_USE_LEGACY_CODEPOINT], [/* Define to 1 if you have the `SSL_set_quic_use_legacy_codepoint\' function. ++ */ ++@%:@undef HAVE_SSL_SET_QUIC_USE_LEGACY_CODEPOINT]) ++m4trace:configure.ac:2001: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SSL_SET_QUIC_USE_LEGACY_CODEPOINT]) ++m4trace:configure.ac:2001: -1- m4_pattern_allow([^HAVE_SSL_SET_QUIC_USE_LEGACY_CODEPOINT$]) ++m4trace:configure.ac:2001: -1- _m4_warn([cross], [cannot check for file existence when cross compiling], [./lib/autoconf/general.m4:3010: AC_CHECK_FILE is expanded from... + lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... + lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... + ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... + m4/curl-openssl.m4:32: CURL_WITH_OPENSSL is expanded from... +-configure.ac:2009: the top level]) +-m4trace:configure.ac:2009: -1- AC_SUBST([RANDOM_FILE]) +-m4trace:configure.ac:2009: -1- AC_SUBST_TRACE([RANDOM_FILE]) +-m4trace:configure.ac:2009: -1- m4_pattern_allow([^RANDOM_FILE$]) +-m4trace:configure.ac:2009: -1- AC_DEFINE_TRACE_LITERAL([RANDOM_FILE]) +-m4trace:configure.ac:2009: -1- m4_pattern_allow([^RANDOM_FILE$]) +-m4trace:configure.ac:2009: -1- AH_OUTPUT([RANDOM_FILE], [/* a suitable file to read random data from */ ++configure.ac:2001: the top level]) ++m4trace:configure.ac:2001: -1- AC_SUBST([RANDOM_FILE]) ++m4trace:configure.ac:2001: -1- AC_SUBST_TRACE([RANDOM_FILE]) ++m4trace:configure.ac:2001: -1- m4_pattern_allow([^RANDOM_FILE$]) ++m4trace:configure.ac:2001: -1- AC_DEFINE_TRACE_LITERAL([RANDOM_FILE]) ++m4trace:configure.ac:2001: -1- m4_pattern_allow([^RANDOM_FILE$]) ++m4trace:configure.ac:2001: -1- AH_OUTPUT([RANDOM_FILE], [/* a suitable file to read random data from */ + @%:@undef RANDOM_FILE]) +-m4trace:configure.ac:2009: -1- AC_DEFINE_TRACE_LITERAL([HAVE_OPENSSL_SRP]) +-m4trace:configure.ac:2009: -1- m4_pattern_allow([^HAVE_OPENSSL_SRP$]) +-m4trace:configure.ac:2009: -1- AH_OUTPUT([HAVE_OPENSSL_SRP], [/* if you have the functions SSL_CTX_set_srp_username and ++m4trace:configure.ac:2001: -1- AC_DEFINE_TRACE_LITERAL([HAVE_OPENSSL_SRP]) ++m4trace:configure.ac:2001: -1- m4_pattern_allow([^HAVE_OPENSSL_SRP$]) ++m4trace:configure.ac:2001: -1- AH_OUTPUT([HAVE_OPENSSL_SRP], [/* if you have the functions SSL_CTX_set_srp_username and + SSL_CTX_set_srp_password */ + @%:@undef HAVE_OPENSSL_SRP]) +-m4trace:configure.ac:2009: -1- AC_SUBST([HAVE_OPENSSL_SRP], [1]) +-m4trace:configure.ac:2009: -1- AC_SUBST_TRACE([HAVE_OPENSSL_SRP]) +-m4trace:configure.ac:2009: -1- m4_pattern_allow([^HAVE_OPENSSL_SRP$]) +-m4trace:configure.ac:2009: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_OPENSSL_AUTO_LOAD_CONFIG]) +-m4trace:configure.ac:2009: -1- m4_pattern_allow([^CURL_DISABLE_OPENSSL_AUTO_LOAD_CONFIG$]) +-m4trace:configure.ac:2009: -1- AH_OUTPUT([CURL_DISABLE_OPENSSL_AUTO_LOAD_CONFIG], [/* if the OpenSSL configuration won\'t be loaded automatically */ ++m4trace:configure.ac:2001: -1- AC_SUBST([HAVE_OPENSSL_SRP], [1]) ++m4trace:configure.ac:2001: -1- AC_SUBST_TRACE([HAVE_OPENSSL_SRP]) ++m4trace:configure.ac:2001: -1- m4_pattern_allow([^HAVE_OPENSSL_SRP$]) ++m4trace:configure.ac:2001: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_OPENSSL_AUTO_LOAD_CONFIG]) ++m4trace:configure.ac:2001: -1- m4_pattern_allow([^CURL_DISABLE_OPENSSL_AUTO_LOAD_CONFIG$]) ++m4trace:configure.ac:2001: -1- AH_OUTPUT([CURL_DISABLE_OPENSSL_AUTO_LOAD_CONFIG], [/* if the OpenSSL configuration won\'t be loaded automatically */ + @%:@undef CURL_DISABLE_OPENSSL_AUTO_LOAD_CONFIG]) +-m4trace:configure.ac:2010: -1- AC_SUBST([PKGCONFIG]) +-m4trace:configure.ac:2010: -1- AC_SUBST_TRACE([PKGCONFIG]) +-m4trace:configure.ac:2010: -1- m4_pattern_allow([^PKGCONFIG$]) +-m4trace:configure.ac:2010: -1- AC_DEFINE_TRACE_LITERAL([USE_GNUTLS]) +-m4trace:configure.ac:2010: -1- m4_pattern_allow([^USE_GNUTLS$]) +-m4trace:configure.ac:2010: -1- AH_OUTPUT([USE_GNUTLS], [/* if GnuTLS is enabled */ ++m4trace:configure.ac:2001: -1- AC_DEFINE_TRACE_LITERAL([HAVE_OPENSSL_QUIC]) ++m4trace:configure.ac:2001: -1- m4_pattern_allow([^HAVE_OPENSSL_QUIC$]) ++m4trace:configure.ac:2001: -1- AH_OUTPUT([HAVE_OPENSSL_QUIC], [/* if you have the functions OSSL_QUIC_client_method */ ++@%:@undef HAVE_OPENSSL_QUIC]) ++m4trace:configure.ac:2001: -1- AC_SUBST([HAVE_OPENSSL_QUIC], [1]) ++m4trace:configure.ac:2001: -1- AC_SUBST_TRACE([HAVE_OPENSSL_QUIC]) ++m4trace:configure.ac:2001: -1- m4_pattern_allow([^HAVE_OPENSSL_QUIC$]) ++m4trace:configure.ac:2002: -1- AC_SUBST([PKGCONFIG]) ++m4trace:configure.ac:2002: -1- AC_SUBST_TRACE([PKGCONFIG]) ++m4trace:configure.ac:2002: -1- m4_pattern_allow([^PKGCONFIG$]) ++m4trace:configure.ac:2002: -1- AC_DEFINE_TRACE_LITERAL([USE_GNUTLS]) ++m4trace:configure.ac:2002: -1- m4_pattern_allow([^USE_GNUTLS$]) ++m4trace:configure.ac:2002: -1- AH_OUTPUT([USE_GNUTLS], [/* if GnuTLS is enabled */ + @%:@undef USE_GNUTLS]) +-m4trace:configure.ac:2010: -1- AC_SUBST([USE_GNUTLS], [1]) +-m4trace:configure.ac:2010: -1- AC_SUBST_TRACE([USE_GNUTLS]) +-m4trace:configure.ac:2010: -1- m4_pattern_allow([^USE_GNUTLS$]) +-m4trace:configure.ac:2010: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GNUTLS_SRP]) +-m4trace:configure.ac:2010: -1- m4_pattern_allow([^HAVE_GNUTLS_SRP$]) +-m4trace:configure.ac:2010: -1- AH_OUTPUT([HAVE_GNUTLS_SRP], [/* if you have the function gnutls_srp_verifier */ ++m4trace:configure.ac:2002: -1- AC_SUBST([USE_GNUTLS], [1]) ++m4trace:configure.ac:2002: -1- AC_SUBST_TRACE([USE_GNUTLS]) ++m4trace:configure.ac:2002: -1- m4_pattern_allow([^USE_GNUTLS$]) ++m4trace:configure.ac:2002: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GNUTLS_SRP]) ++m4trace:configure.ac:2002: -1- m4_pattern_allow([^HAVE_GNUTLS_SRP$]) ++m4trace:configure.ac:2002: -1- AH_OUTPUT([HAVE_GNUTLS_SRP], [/* if you have the function gnutls_srp_verifier */ + @%:@undef HAVE_GNUTLS_SRP]) +-m4trace:configure.ac:2010: -1- AC_SUBST([HAVE_GNUTLS_SRP], [1]) +-m4trace:configure.ac:2010: -1- AC_SUBST_TRACE([HAVE_GNUTLS_SRP]) +-m4trace:configure.ac:2010: -1- m4_pattern_allow([^HAVE_GNUTLS_SRP$]) +-m4trace:configure.ac:2011: -1- AC_DEFINE_TRACE_LITERAL([USE_MBEDTLS]) +-m4trace:configure.ac:2011: -1- m4_pattern_allow([^USE_MBEDTLS$]) +-m4trace:configure.ac:2011: -1- AH_OUTPUT([USE_MBEDTLS], [/* if mbedTLS is enabled */ ++m4trace:configure.ac:2002: -1- AC_SUBST([HAVE_GNUTLS_SRP], [1]) ++m4trace:configure.ac:2002: -1- AC_SUBST_TRACE([HAVE_GNUTLS_SRP]) ++m4trace:configure.ac:2002: -1- m4_pattern_allow([^HAVE_GNUTLS_SRP$]) ++m4trace:configure.ac:2003: -1- AC_DEFINE_TRACE_LITERAL([USE_MBEDTLS]) ++m4trace:configure.ac:2003: -1- m4_pattern_allow([^USE_MBEDTLS$]) ++m4trace:configure.ac:2003: -1- AH_OUTPUT([USE_MBEDTLS], [/* if mbedTLS is enabled */ + @%:@undef USE_MBEDTLS]) +-m4trace:configure.ac:2011: -1- AC_SUBST([USE_MBEDTLS], [1]) +-m4trace:configure.ac:2011: -1- AC_SUBST_TRACE([USE_MBEDTLS]) +-m4trace:configure.ac:2011: -1- m4_pattern_allow([^USE_MBEDTLS$]) +-m4trace:configure.ac:2011: -1- AC_DEFINE_TRACE_LITERAL([USE_MBEDTLS]) +-m4trace:configure.ac:2011: -1- m4_pattern_allow([^USE_MBEDTLS$]) +-m4trace:configure.ac:2011: -1- AH_OUTPUT([USE_MBEDTLS], [/* if mbedTLS is enabled */ ++m4trace:configure.ac:2003: -1- AC_SUBST([USE_MBEDTLS], [1]) ++m4trace:configure.ac:2003: -1- AC_SUBST_TRACE([USE_MBEDTLS]) ++m4trace:configure.ac:2003: -1- m4_pattern_allow([^USE_MBEDTLS$]) ++m4trace:configure.ac:2003: -1- AC_DEFINE_TRACE_LITERAL([USE_MBEDTLS]) ++m4trace:configure.ac:2003: -1- m4_pattern_allow([^USE_MBEDTLS$]) ++m4trace:configure.ac:2003: -1- AH_OUTPUT([USE_MBEDTLS], [/* if mbedTLS is enabled */ + @%:@undef USE_MBEDTLS]) +-m4trace:configure.ac:2011: -1- AC_SUBST([USE_MBEDTLS], [1]) +-m4trace:configure.ac:2011: -1- AC_SUBST_TRACE([USE_MBEDTLS]) +-m4trace:configure.ac:2011: -1- m4_pattern_allow([^USE_MBEDTLS$]) +-m4trace:configure.ac:2012: -1- AC_SUBST([PKGCONFIG]) +-m4trace:configure.ac:2012: -1- AC_SUBST_TRACE([PKGCONFIG]) +-m4trace:configure.ac:2012: -1- m4_pattern_allow([^PKGCONFIG$]) +-m4trace:configure.ac:2012: -1- AC_DEFINE_TRACE_LITERAL([USE_WOLFSSL]) +-m4trace:configure.ac:2012: -1- m4_pattern_allow([^USE_WOLFSSL$]) +-m4trace:configure.ac:2012: -1- AH_OUTPUT([USE_WOLFSSL], [/* if wolfSSL is enabled */ ++m4trace:configure.ac:2003: -1- AC_SUBST([USE_MBEDTLS], [1]) ++m4trace:configure.ac:2003: -1- AC_SUBST_TRACE([USE_MBEDTLS]) ++m4trace:configure.ac:2003: -1- m4_pattern_allow([^USE_MBEDTLS$]) ++m4trace:configure.ac:2004: -1- AC_SUBST([PKGCONFIG]) ++m4trace:configure.ac:2004: -1- AC_SUBST_TRACE([PKGCONFIG]) ++m4trace:configure.ac:2004: -1- m4_pattern_allow([^PKGCONFIG$]) ++m4trace:configure.ac:2004: -1- AC_DEFINE_TRACE_LITERAL([USE_WOLFSSL]) ++m4trace:configure.ac:2004: -1- m4_pattern_allow([^USE_WOLFSSL$]) ++m4trace:configure.ac:2004: -1- AH_OUTPUT([USE_WOLFSSL], [/* if wolfSSL is enabled */ + @%:@undef USE_WOLFSSL]) +-m4trace:configure.ac:2012: -1- AC_SUBST([USE_WOLFSSL], [1]) +-m4trace:configure.ac:2012: -1- AC_SUBST_TRACE([USE_WOLFSSL]) +-m4trace:configure.ac:2012: -1- m4_pattern_allow([^USE_WOLFSSL$]) +-m4trace:configure.ac:2012: -1- AC_DEFINE_TRACE_LITERAL([SIZEOF_LONG_LONG]) +-m4trace:configure.ac:2012: -1- m4_pattern_allow([^SIZEOF_LONG_LONG$]) +-m4trace:configure.ac:2012: -1- AH_OUTPUT([SIZEOF_LONG_LONG], [/* Size of long long in number of bytes */ ++m4trace:configure.ac:2004: -1- AC_SUBST([USE_WOLFSSL], [1]) ++m4trace:configure.ac:2004: -1- AC_SUBST_TRACE([USE_WOLFSSL]) ++m4trace:configure.ac:2004: -1- m4_pattern_allow([^USE_WOLFSSL$]) ++m4trace:configure.ac:2004: -1- AC_DEFINE_TRACE_LITERAL([SIZEOF_LONG_LONG]) ++m4trace:configure.ac:2004: -1- m4_pattern_allow([^SIZEOF_LONG_LONG$]) ++m4trace:configure.ac:2004: -1- AH_OUTPUT([SIZEOF_LONG_LONG], [/* Size of long long in number of bytes */ + @%:@undef SIZEOF_LONG_LONG]) +-m4trace:configure.ac:2012: -1- AH_OUTPUT([HAVE_WOLFSSL_GET_PEER_CERTIFICATE], [/* Define to 1 if you have the `wolfSSL_get_peer_certificate\' function. */ ++m4trace:configure.ac:2004: -1- AH_OUTPUT([HAVE_WOLFSSL_GET_PEER_CERTIFICATE], [/* Define to 1 if you have the `wolfSSL_get_peer_certificate\' function. */ + @%:@undef HAVE_WOLFSSL_GET_PEER_CERTIFICATE]) +-m4trace:configure.ac:2012: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WOLFSSL_GET_PEER_CERTIFICATE]) +-m4trace:configure.ac:2012: -1- m4_pattern_allow([^HAVE_WOLFSSL_GET_PEER_CERTIFICATE$]) +-m4trace:configure.ac:2012: -1- AH_OUTPUT([HAVE_WOLFSSL_USEALPN], [/* Define to 1 if you have the `wolfSSL_UseALPN\' function. */ ++m4trace:configure.ac:2004: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WOLFSSL_GET_PEER_CERTIFICATE]) ++m4trace:configure.ac:2004: -1- m4_pattern_allow([^HAVE_WOLFSSL_GET_PEER_CERTIFICATE$]) ++m4trace:configure.ac:2004: -1- AH_OUTPUT([HAVE_WOLFSSL_USEALPN], [/* Define to 1 if you have the `wolfSSL_UseALPN\' function. */ + @%:@undef HAVE_WOLFSSL_USEALPN]) +-m4trace:configure.ac:2012: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WOLFSSL_USEALPN]) +-m4trace:configure.ac:2012: -1- m4_pattern_allow([^HAVE_WOLFSSL_USEALPN$]) +-m4trace:configure.ac:2012: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WOLFSSL_DES_ECB_ENCRYPT]) +-m4trace:configure.ac:2012: -1- m4_pattern_allow([^HAVE_WOLFSSL_DES_ECB_ENCRYPT$]) +-m4trace:configure.ac:2012: -1- AH_OUTPUT([HAVE_WOLFSSL_DES_ECB_ENCRYPT], [/* if you have wolfSSL_DES_ecb_encrypt */ ++m4trace:configure.ac:2004: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WOLFSSL_USEALPN]) ++m4trace:configure.ac:2004: -1- m4_pattern_allow([^HAVE_WOLFSSL_USEALPN$]) ++m4trace:configure.ac:2004: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WOLFSSL_DES_ECB_ENCRYPT]) ++m4trace:configure.ac:2004: -1- m4_pattern_allow([^HAVE_WOLFSSL_DES_ECB_ENCRYPT$]) ++m4trace:configure.ac:2004: -1- AH_OUTPUT([HAVE_WOLFSSL_DES_ECB_ENCRYPT], [/* if you have wolfSSL_DES_ecb_encrypt */ + @%:@undef HAVE_WOLFSSL_DES_ECB_ENCRYPT]) +-m4trace:configure.ac:2012: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WOLFSSL_FULL_BIO]) +-m4trace:configure.ac:2012: -1- m4_pattern_allow([^HAVE_WOLFSSL_FULL_BIO$]) +-m4trace:configure.ac:2012: -1- AH_OUTPUT([HAVE_WOLFSSL_FULL_BIO], [/* if you have wolfSSL_BIO_set_shutdown */ ++m4trace:configure.ac:2004: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WOLFSSL_FULL_BIO]) ++m4trace:configure.ac:2004: -1- m4_pattern_allow([^HAVE_WOLFSSL_FULL_BIO$]) ++m4trace:configure.ac:2004: -1- AH_OUTPUT([HAVE_WOLFSSL_FULL_BIO], [/* if you have wolfSSL_BIO_set_shutdown */ + @%:@undef HAVE_WOLFSSL_FULL_BIO]) +-m4trace:configure.ac:2013: -1- AC_DEFINE_TRACE_LITERAL([USE_BEARSSL]) +-m4trace:configure.ac:2013: -1- m4_pattern_allow([^USE_BEARSSL$]) +-m4trace:configure.ac:2013: -1- AH_OUTPUT([USE_BEARSSL], [/* if BearSSL is enabled */ ++m4trace:configure.ac:2005: -1- AC_DEFINE_TRACE_LITERAL([USE_BEARSSL]) ++m4trace:configure.ac:2005: -1- m4_pattern_allow([^USE_BEARSSL$]) ++m4trace:configure.ac:2005: -1- AH_OUTPUT([USE_BEARSSL], [/* if BearSSL is enabled */ + @%:@undef USE_BEARSSL]) +-m4trace:configure.ac:2013: -1- AC_SUBST([USE_BEARSSL], [1]) +-m4trace:configure.ac:2013: -1- AC_SUBST_TRACE([USE_BEARSSL]) +-m4trace:configure.ac:2013: -1- m4_pattern_allow([^USE_BEARSSL$]) +-m4trace:configure.ac:2013: -1- AC_DEFINE_TRACE_LITERAL([USE_BEARSSL]) +-m4trace:configure.ac:2013: -1- m4_pattern_allow([^USE_BEARSSL$]) +-m4trace:configure.ac:2013: -1- AH_OUTPUT([USE_BEARSSL], [/* if BearSSL is enabled */ ++m4trace:configure.ac:2005: -1- AC_SUBST([USE_BEARSSL], [1]) ++m4trace:configure.ac:2005: -1- AC_SUBST_TRACE([USE_BEARSSL]) ++m4trace:configure.ac:2005: -1- m4_pattern_allow([^USE_BEARSSL$]) ++m4trace:configure.ac:2005: -1- AC_DEFINE_TRACE_LITERAL([USE_BEARSSL]) ++m4trace:configure.ac:2005: -1- m4_pattern_allow([^USE_BEARSSL$]) ++m4trace:configure.ac:2005: -1- AH_OUTPUT([USE_BEARSSL], [/* if BearSSL is enabled */ + @%:@undef USE_BEARSSL]) +-m4trace:configure.ac:2013: -1- AC_SUBST([USE_BEARSSL], [1]) +-m4trace:configure.ac:2013: -1- AC_SUBST_TRACE([USE_BEARSSL]) +-m4trace:configure.ac:2013: -1- m4_pattern_allow([^USE_BEARSSL$]) +-m4trace:configure.ac:2014: -1- AC_DEFINE_TRACE_LITERAL([USE_RUSTLS]) +-m4trace:configure.ac:2014: -1- m4_pattern_allow([^USE_RUSTLS$]) +-m4trace:configure.ac:2014: -1- AH_OUTPUT([USE_RUSTLS], [/* if rustls is enabled */ ++m4trace:configure.ac:2005: -1- AC_SUBST([USE_BEARSSL], [1]) ++m4trace:configure.ac:2005: -1- AC_SUBST_TRACE([USE_BEARSSL]) ++m4trace:configure.ac:2005: -1- m4_pattern_allow([^USE_BEARSSL$]) ++m4trace:configure.ac:2006: -1- AC_DEFINE_TRACE_LITERAL([USE_RUSTLS]) ++m4trace:configure.ac:2006: -1- m4_pattern_allow([^USE_RUSTLS$]) ++m4trace:configure.ac:2006: -1- AH_OUTPUT([USE_RUSTLS], [/* if rustls is enabled */ + @%:@undef USE_RUSTLS]) +-m4trace:configure.ac:2014: -1- AC_SUBST([USE_RUSTLS], [1]) +-m4trace:configure.ac:2014: -1- AC_SUBST_TRACE([USE_RUSTLS]) +-m4trace:configure.ac:2014: -1- m4_pattern_allow([^USE_RUSTLS$]) +-m4trace:configure.ac:2014: -1- AC_DEFINE_TRACE_LITERAL([USE_RUSTLS]) +-m4trace:configure.ac:2014: -1- m4_pattern_allow([^USE_RUSTLS$]) +-m4trace:configure.ac:2014: -1- AH_OUTPUT([USE_RUSTLS], [/* if rustls is enabled */ +-@%:@undef USE_RUSTLS]) +-m4trace:configure.ac:2014: -1- AC_SUBST([USE_RUSTLS], [1]) +-m4trace:configure.ac:2014: -1- AC_SUBST_TRACE([USE_RUSTLS]) +-m4trace:configure.ac:2014: -1- m4_pattern_allow([^USE_RUSTLS$]) +-m4trace:configure.ac:2034: -1- AC_SUBST([SSL_ENABLED]) +-m4trace:configure.ac:2034: -1- AC_SUBST_TRACE([SSL_ENABLED]) +-m4trace:configure.ac:2034: -1- m4_pattern_allow([^SSL_ENABLED$]) +-m4trace:configure.ac:2048: -1- AC_SUBST([SSL_ENABLED]) +-m4trace:configure.ac:2048: -1- AC_SUBST_TRACE([SSL_ENABLED]) +-m4trace:configure.ac:2048: -1- m4_pattern_allow([^SSL_ENABLED$]) +-m4trace:configure.ac:2050: -1- AC_SUBST([CURL_WITH_MULTI_SSL]) +-m4trace:configure.ac:2050: -1- AC_SUBST_TRACE([CURL_WITH_MULTI_SSL]) +-m4trace:configure.ac:2050: -1- m4_pattern_allow([^CURL_WITH_MULTI_SSL$]) +-m4trace:configure.ac:2052: -1- AC_DEFINE_TRACE_LITERAL([CURL_WITH_MULTI_SSL]) +-m4trace:configure.ac:2052: -1- m4_pattern_allow([^CURL_WITH_MULTI_SSL$]) +-m4trace:configure.ac:2052: -1- AH_OUTPUT([CURL_WITH_MULTI_SSL], [/* built with multiple SSL backends */ ++m4trace:configure.ac:2006: -1- AC_SUBST([USE_RUSTLS], [1]) ++m4trace:configure.ac:2006: -1- AC_SUBST_TRACE([USE_RUSTLS]) ++m4trace:configure.ac:2006: -1- m4_pattern_allow([^USE_RUSTLS$]) ++m4trace:configure.ac:2006: -1- AC_SUBST([PKGCONFIG]) ++m4trace:configure.ac:2006: -1- AC_SUBST_TRACE([PKGCONFIG]) ++m4trace:configure.ac:2006: -1- m4_pattern_allow([^PKGCONFIG$]) ++m4trace:configure.ac:2006: -1- AC_SUBST([SSL_LIBS]) ++m4trace:configure.ac:2006: -1- AC_SUBST_TRACE([SSL_LIBS]) ++m4trace:configure.ac:2006: -1- m4_pattern_allow([^SSL_LIBS$]) ++m4trace:configure.ac:2026: -1- AC_SUBST([SSL_ENABLED]) ++m4trace:configure.ac:2026: -1- AC_SUBST_TRACE([SSL_ENABLED]) ++m4trace:configure.ac:2026: -1- m4_pattern_allow([^SSL_ENABLED$]) ++m4trace:configure.ac:2040: -1- AC_SUBST([SSL_ENABLED]) ++m4trace:configure.ac:2040: -1- AC_SUBST_TRACE([SSL_ENABLED]) ++m4trace:configure.ac:2040: -1- m4_pattern_allow([^SSL_ENABLED$]) ++m4trace:configure.ac:2042: -1- AC_SUBST([CURL_WITH_MULTI_SSL]) ++m4trace:configure.ac:2042: -1- AC_SUBST_TRACE([CURL_WITH_MULTI_SSL]) ++m4trace:configure.ac:2042: -1- m4_pattern_allow([^CURL_WITH_MULTI_SSL$]) ++m4trace:configure.ac:2044: -1- AC_DEFINE_TRACE_LITERAL([CURL_WITH_MULTI_SSL]) ++m4trace:configure.ac:2044: -1- m4_pattern_allow([^CURL_WITH_MULTI_SSL$]) ++m4trace:configure.ac:2044: -1- AH_OUTPUT([CURL_WITH_MULTI_SSL], [/* built with multiple SSL backends */ + @%:@undef CURL_WITH_MULTI_SSL]) +-m4trace:configure.ac:2071: -1- AC_DEFINE_TRACE_LITERAL([CURL_DEFAULT_SSL_BACKEND]) +-m4trace:configure.ac:2071: -1- m4_pattern_allow([^CURL_DEFAULT_SSL_BACKEND$]) +-m4trace:configure.ac:2071: -1- AH_OUTPUT([CURL_DEFAULT_SSL_BACKEND], [/* Default SSL backend */ ++m4trace:configure.ac:2063: -1- AC_DEFINE_TRACE_LITERAL([CURL_DEFAULT_SSL_BACKEND]) ++m4trace:configure.ac:2063: -1- m4_pattern_allow([^CURL_DEFAULT_SSL_BACKEND$]) ++m4trace:configure.ac:2063: -1- AH_OUTPUT([CURL_DEFAULT_SSL_BACKEND], [/* Default SSL backend */ + @%:@undef CURL_DEFAULT_SSL_BACKEND]) +-m4trace:configure.ac:2079: -1- AC_DEFINE_TRACE_LITERAL([CURL_CA_BUNDLE]) +-m4trace:configure.ac:2079: -1- m4_pattern_allow([^CURL_CA_BUNDLE$]) +-m4trace:configure.ac:2079: -1- AH_OUTPUT([CURL_CA_BUNDLE], [/* Location of default ca bundle */ ++m4trace:configure.ac:2071: -1- AC_DEFINE_TRACE_LITERAL([CURL_CA_BUNDLE]) ++m4trace:configure.ac:2071: -1- m4_pattern_allow([^CURL_CA_BUNDLE$]) ++m4trace:configure.ac:2071: -1- AH_OUTPUT([CURL_CA_BUNDLE], [/* Location of default ca bundle */ + @%:@undef CURL_CA_BUNDLE]) +-m4trace:configure.ac:2079: -1- AC_SUBST([CURL_CA_BUNDLE]) +-m4trace:configure.ac:2079: -1- AC_SUBST_TRACE([CURL_CA_BUNDLE]) +-m4trace:configure.ac:2079: -1- m4_pattern_allow([^CURL_CA_BUNDLE$]) +-m4trace:configure.ac:2079: -1- AC_DEFINE_TRACE_LITERAL([CURL_CA_PATH]) +-m4trace:configure.ac:2079: -1- m4_pattern_allow([^CURL_CA_PATH$]) +-m4trace:configure.ac:2079: -1- AH_OUTPUT([CURL_CA_PATH], [/* Location of default ca path */ ++m4trace:configure.ac:2071: -1- AC_SUBST([CURL_CA_BUNDLE]) ++m4trace:configure.ac:2071: -1- AC_SUBST_TRACE([CURL_CA_BUNDLE]) ++m4trace:configure.ac:2071: -1- m4_pattern_allow([^CURL_CA_BUNDLE$]) ++m4trace:configure.ac:2071: -1- AC_DEFINE_TRACE_LITERAL([CURL_CA_PATH]) ++m4trace:configure.ac:2071: -1- m4_pattern_allow([^CURL_CA_PATH$]) ++m4trace:configure.ac:2071: -1- AH_OUTPUT([CURL_CA_PATH], [/* Location of default ca path */ + @%:@undef CURL_CA_PATH]) +-m4trace:configure.ac:2079: -1- AC_DEFINE_TRACE_LITERAL([CURL_CA_FALLBACK]) +-m4trace:configure.ac:2079: -1- m4_pattern_allow([^CURL_CA_FALLBACK$]) +-m4trace:configure.ac:2079: -1- AH_OUTPUT([CURL_CA_FALLBACK], [/* define "1" to use built in CA store of SSL library */ ++m4trace:configure.ac:2071: -1- AC_DEFINE_TRACE_LITERAL([CURL_CA_FALLBACK]) ++m4trace:configure.ac:2071: -1- m4_pattern_allow([^CURL_CA_FALLBACK$]) ++m4trace:configure.ac:2071: -1- AH_OUTPUT([CURL_CA_FALLBACK], [/* define "1" to use built in CA store of SSL library */ + @%:@undef CURL_CA_FALLBACK]) +-m4trace:configure.ac:2092: -1- AC_DEFINE_TRACE_LITERAL([USE_LIBPSL]) +-m4trace:configure.ac:2092: -1- m4_pattern_allow([^USE_LIBPSL$]) +-m4trace:configure.ac:2092: -1- AH_OUTPUT([USE_LIBPSL], [/* PSL support enabled */ ++m4trace:configure.ac:2094: -1- AC_SUBST([PKGCONFIG]) ++m4trace:configure.ac:2094: -1- AC_SUBST_TRACE([PKGCONFIG]) ++m4trace:configure.ac:2094: -1- m4_pattern_allow([^PKGCONFIG$]) ++m4trace:configure.ac:2127: -2- AC_DEFINE_TRACE_LITERAL([USE_LIBPSL]) ++m4trace:configure.ac:2127: -2- m4_pattern_allow([^USE_LIBPSL$]) ++m4trace:configure.ac:2127: -2- AH_OUTPUT([USE_LIBPSL], [/* if libpsl is in use */ + @%:@undef USE_LIBPSL]) +-m4trace:configure.ac:2101: -1- AM_CONDITIONAL([USE_LIBPSL], [test "$curl_psl_msg" = "enabled"]) +-m4trace:configure.ac:2101: -1- AC_SUBST([USE_LIBPSL_TRUE]) +-m4trace:configure.ac:2101: -1- AC_SUBST_TRACE([USE_LIBPSL_TRUE]) +-m4trace:configure.ac:2101: -1- m4_pattern_allow([^USE_LIBPSL_TRUE$]) +-m4trace:configure.ac:2101: -1- AC_SUBST([USE_LIBPSL_FALSE]) +-m4trace:configure.ac:2101: -1- AC_SUBST_TRACE([USE_LIBPSL_FALSE]) +-m4trace:configure.ac:2101: -1- m4_pattern_allow([^USE_LIBPSL_FALSE$]) +-m4trace:configure.ac:2101: -1- _AM_SUBST_NOTMAKE([USE_LIBPSL_TRUE]) +-m4trace:configure.ac:2101: -1- _AM_SUBST_NOTMAKE([USE_LIBPSL_FALSE]) +-m4trace:configure.ac:2114: -1- AC_DEFINE_TRACE_LITERAL([USE_GSASL]) +-m4trace:configure.ac:2114: -1- m4_pattern_allow([^USE_GSASL$]) +-m4trace:configure.ac:2114: -1- AH_OUTPUT([USE_GSASL], [/* GSASL support enabled */ ++m4trace:configure.ac:2127: -2- AC_SUBST([USE_LIBPSL], [1]) ++m4trace:configure.ac:2127: -2- AC_SUBST_TRACE([USE_LIBPSL]) ++m4trace:configure.ac:2127: -2- m4_pattern_allow([^USE_LIBPSL$]) ++m4trace:configure.ac:2127: -1- AH_OUTPUT([HAVE_LIBPSL_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_LIBPSL_H]) ++m4trace:configure.ac:2127: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBPSL_H]) ++m4trace:configure.ac:2127: -1- m4_pattern_allow([^HAVE_LIBPSL_H$]) ++m4trace:configure.ac:2147: -1- AM_CONDITIONAL([USE_LIBPSL], [test "$curl_psl_msg" = "enabled"]) ++m4trace:configure.ac:2147: -1- AC_SUBST([USE_LIBPSL_TRUE]) ++m4trace:configure.ac:2147: -1- AC_SUBST_TRACE([USE_LIBPSL_TRUE]) ++m4trace:configure.ac:2147: -1- m4_pattern_allow([^USE_LIBPSL_TRUE$]) ++m4trace:configure.ac:2147: -1- AC_SUBST([USE_LIBPSL_FALSE]) ++m4trace:configure.ac:2147: -1- AC_SUBST_TRACE([USE_LIBPSL_FALSE]) ++m4trace:configure.ac:2147: -1- m4_pattern_allow([^USE_LIBPSL_FALSE$]) ++m4trace:configure.ac:2147: -1- _AM_SUBST_NOTMAKE([USE_LIBPSL_TRUE]) ++m4trace:configure.ac:2147: -1- _AM_SUBST_NOTMAKE([USE_LIBPSL_FALSE]) ++m4trace:configure.ac:2160: -1- AC_DEFINE_TRACE_LITERAL([USE_GSASL]) ++m4trace:configure.ac:2160: -1- m4_pattern_allow([^USE_GSASL$]) ++m4trace:configure.ac:2160: -1- AH_OUTPUT([USE_GSASL], [/* GSASL support enabled */ + @%:@undef USE_GSASL]) +-m4trace:configure.ac:2123: -1- AM_CONDITIONAL([USE_GSASL], [test "$curl_gsasl_msg" = "enabled"]) +-m4trace:configure.ac:2123: -1- AC_SUBST([USE_GSASL_TRUE]) +-m4trace:configure.ac:2123: -1- AC_SUBST_TRACE([USE_GSASL_TRUE]) +-m4trace:configure.ac:2123: -1- m4_pattern_allow([^USE_GSASL_TRUE$]) +-m4trace:configure.ac:2123: -1- AC_SUBST([USE_GSASL_FALSE]) +-m4trace:configure.ac:2123: -1- AC_SUBST_TRACE([USE_GSASL_FALSE]) +-m4trace:configure.ac:2123: -1- m4_pattern_allow([^USE_GSASL_FALSE$]) +-m4trace:configure.ac:2123: -1- _AM_SUBST_NOTMAKE([USE_GSASL_TRUE]) +-m4trace:configure.ac:2123: -1- _AM_SUBST_NOTMAKE([USE_GSASL_FALSE]) +-m4trace:configure.ac:2161: -1- AC_SUBST([PKGCONFIG]) +-m4trace:configure.ac:2161: -1- AC_SUBST_TRACE([PKGCONFIG]) +-m4trace:configure.ac:2161: -1- m4_pattern_allow([^PKGCONFIG$]) +-m4trace:configure.ac:2194: -1- AH_OUTPUT([HAVE_LIBSSH2], [/* Define to 1 if you have the `ssh2\' library (-lssh2). */ ++m4trace:configure.ac:2169: -1- AM_CONDITIONAL([USE_GSASL], [test "$curl_gsasl_msg" = "enabled"]) ++m4trace:configure.ac:2169: -1- AC_SUBST([USE_GSASL_TRUE]) ++m4trace:configure.ac:2169: -1- AC_SUBST_TRACE([USE_GSASL_TRUE]) ++m4trace:configure.ac:2169: -1- m4_pattern_allow([^USE_GSASL_TRUE$]) ++m4trace:configure.ac:2169: -1- AC_SUBST([USE_GSASL_FALSE]) ++m4trace:configure.ac:2169: -1- AC_SUBST_TRACE([USE_GSASL_FALSE]) ++m4trace:configure.ac:2169: -1- m4_pattern_allow([^USE_GSASL_FALSE$]) ++m4trace:configure.ac:2169: -1- _AM_SUBST_NOTMAKE([USE_GSASL_TRUE]) ++m4trace:configure.ac:2169: -1- _AM_SUBST_NOTMAKE([USE_GSASL_FALSE]) ++m4trace:configure.ac:2207: -1- AC_SUBST([PKGCONFIG]) ++m4trace:configure.ac:2207: -1- AC_SUBST_TRACE([PKGCONFIG]) ++m4trace:configure.ac:2207: -1- m4_pattern_allow([^PKGCONFIG$]) ++m4trace:configure.ac:2240: -1- AH_OUTPUT([HAVE_LIBSSH2], [/* Define to 1 if you have the `ssh2\' library (-lssh2). */ + @%:@undef HAVE_LIBSSH2]) +-m4trace:configure.ac:2194: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBSSH2]) +-m4trace:configure.ac:2194: -1- m4_pattern_allow([^HAVE_LIBSSH2$]) +-m4trace:configure.ac:2199: -2- AC_DEFINE_TRACE_LITERAL([USE_LIBSSH2]) +-m4trace:configure.ac:2199: -2- m4_pattern_allow([^USE_LIBSSH2$]) +-m4trace:configure.ac:2199: -2- AH_OUTPUT([USE_LIBSSH2], [/* if libSSH2 is in use */ ++m4trace:configure.ac:2240: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBSSH2]) ++m4trace:configure.ac:2240: -1- m4_pattern_allow([^HAVE_LIBSSH2$]) ++m4trace:configure.ac:2245: -2- AC_DEFINE_TRACE_LITERAL([USE_LIBSSH2]) ++m4trace:configure.ac:2245: -2- m4_pattern_allow([^USE_LIBSSH2$]) ++m4trace:configure.ac:2245: -2- AH_OUTPUT([USE_LIBSSH2], [/* if libSSH2 is in use */ + @%:@undef USE_LIBSSH2]) +-m4trace:configure.ac:2200: -2- AC_SUBST([USE_LIBSSH2], [1]) +-m4trace:configure.ac:2200: -2- AC_SUBST_TRACE([USE_LIBSSH2]) +-m4trace:configure.ac:2200: -2- m4_pattern_allow([^USE_LIBSSH2$]) +-m4trace:configure.ac:2235: -1- AC_SUBST([PKGCONFIG]) +-m4trace:configure.ac:2235: -1- AC_SUBST_TRACE([PKGCONFIG]) +-m4trace:configure.ac:2235: -1- m4_pattern_allow([^PKGCONFIG$]) +-m4trace:configure.ac:2267: -1- AH_OUTPUT([HAVE_LIBSSH], [/* Define to 1 if you have the `ssh\' library (-lssh). */ ++m4trace:configure.ac:2246: -2- AC_SUBST([USE_LIBSSH2], [1]) ++m4trace:configure.ac:2246: -2- AC_SUBST_TRACE([USE_LIBSSH2]) ++m4trace:configure.ac:2246: -2- m4_pattern_allow([^USE_LIBSSH2$]) ++m4trace:configure.ac:2281: -1- AC_SUBST([PKGCONFIG]) ++m4trace:configure.ac:2281: -1- AC_SUBST_TRACE([PKGCONFIG]) ++m4trace:configure.ac:2281: -1- m4_pattern_allow([^PKGCONFIG$]) ++m4trace:configure.ac:2313: -1- AH_OUTPUT([HAVE_LIBSSH], [/* Define to 1 if you have the `ssh\' library (-lssh). */ + @%:@undef HAVE_LIBSSH]) +-m4trace:configure.ac:2267: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBSSH]) +-m4trace:configure.ac:2267: -1- m4_pattern_allow([^HAVE_LIBSSH$]) +-m4trace:configure.ac:2272: -2- AC_DEFINE_TRACE_LITERAL([USE_LIBSSH]) +-m4trace:configure.ac:2272: -2- m4_pattern_allow([^USE_LIBSSH$]) +-m4trace:configure.ac:2272: -2- AH_OUTPUT([USE_LIBSSH], [/* if libSSH is in use */ ++m4trace:configure.ac:2313: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBSSH]) ++m4trace:configure.ac:2313: -1- m4_pattern_allow([^HAVE_LIBSSH$]) ++m4trace:configure.ac:2318: -2- AC_DEFINE_TRACE_LITERAL([USE_LIBSSH]) ++m4trace:configure.ac:2318: -2- m4_pattern_allow([^USE_LIBSSH$]) ++m4trace:configure.ac:2318: -2- AH_OUTPUT([USE_LIBSSH], [/* if libSSH is in use */ + @%:@undef USE_LIBSSH]) +-m4trace:configure.ac:2273: -2- AC_SUBST([USE_LIBSSH], [1]) +-m4trace:configure.ac:2273: -2- AC_SUBST_TRACE([USE_LIBSSH]) +-m4trace:configure.ac:2273: -2- m4_pattern_allow([^USE_LIBSSH$]) +-m4trace:configure.ac:2312: -1- AH_OUTPUT([HAVE_LIBWOLFSSH], [/* Define to 1 if you have the `wolfssh\' library (-lwolfssh). */ ++m4trace:configure.ac:2319: -2- AC_SUBST([USE_LIBSSH], [1]) ++m4trace:configure.ac:2319: -2- AC_SUBST_TRACE([USE_LIBSSH]) ++m4trace:configure.ac:2319: -2- m4_pattern_allow([^USE_LIBSSH$]) ++m4trace:configure.ac:2358: -1- AH_OUTPUT([HAVE_LIBWOLFSSH], [/* Define to 1 if you have the `wolfssh\' library (-lwolfssh). */ + @%:@undef HAVE_LIBWOLFSSH]) +-m4trace:configure.ac:2312: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBWOLFSSH]) +-m4trace:configure.ac:2312: -1- m4_pattern_allow([^HAVE_LIBWOLFSSH$]) +-m4trace:configure.ac:2317: -2- AC_DEFINE_TRACE_LITERAL([USE_WOLFSSH]) +-m4trace:configure.ac:2317: -2- m4_pattern_allow([^USE_WOLFSSH$]) +-m4trace:configure.ac:2317: -2- AH_OUTPUT([USE_WOLFSSH], [/* if wolfSSH is in use */ ++m4trace:configure.ac:2358: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBWOLFSSH]) ++m4trace:configure.ac:2358: -1- m4_pattern_allow([^HAVE_LIBWOLFSSH$]) ++m4trace:configure.ac:2363: -2- AC_DEFINE_TRACE_LITERAL([USE_WOLFSSH]) ++m4trace:configure.ac:2363: -2- m4_pattern_allow([^USE_WOLFSSH$]) ++m4trace:configure.ac:2363: -2- AH_OUTPUT([USE_WOLFSSH], [/* if wolfSSH is in use */ + @%:@undef USE_WOLFSSH]) +-m4trace:configure.ac:2318: -2- AC_SUBST([USE_WOLFSSH], [1]) +-m4trace:configure.ac:2318: -2- AC_SUBST_TRACE([USE_WOLFSSH]) +-m4trace:configure.ac:2318: -2- m4_pattern_allow([^USE_WOLFSSH$]) +-m4trace:configure.ac:2314: -1- AH_OUTPUT([HAVE_WOLFSSH_SSH_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:2364: -2- AC_SUBST([USE_WOLFSSH], [1]) ++m4trace:configure.ac:2364: -2- AC_SUBST_TRACE([USE_WOLFSSH]) ++m4trace:configure.ac:2364: -2- m4_pattern_allow([^USE_WOLFSSH$]) ++m4trace:configure.ac:2360: -1- AH_OUTPUT([HAVE_WOLFSSH_SSH_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_WOLFSSH_SSH_H]) +-m4trace:configure.ac:2314: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WOLFSSH_SSH_H]) +-m4trace:configure.ac:2314: -1- m4_pattern_allow([^HAVE_WOLFSSH_SSH_H$]) +-m4trace:configure.ac:2343: -1- AC_SUBST([PKGCONFIG]) +-m4trace:configure.ac:2343: -1- AC_SUBST_TRACE([PKGCONFIG]) +-m4trace:configure.ac:2343: -1- m4_pattern_allow([^PKGCONFIG$]) +-m4trace:configure.ac:2380: -2- AC_DEFINE_TRACE_LITERAL([USE_LIBRTMP]) +-m4trace:configure.ac:2380: -2- m4_pattern_allow([^USE_LIBRTMP$]) +-m4trace:configure.ac:2380: -2- AH_OUTPUT([USE_LIBRTMP], [/* if librtmp is in use */ ++m4trace:configure.ac:2360: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WOLFSSH_SSH_H]) ++m4trace:configure.ac:2360: -1- m4_pattern_allow([^HAVE_WOLFSSH_SSH_H$]) ++m4trace:configure.ac:2389: -1- AC_SUBST([PKGCONFIG]) ++m4trace:configure.ac:2389: -1- AC_SUBST_TRACE([PKGCONFIG]) ++m4trace:configure.ac:2389: -1- m4_pattern_allow([^PKGCONFIG$]) ++m4trace:configure.ac:2426: -2- AC_DEFINE_TRACE_LITERAL([USE_LIBRTMP]) ++m4trace:configure.ac:2426: -2- m4_pattern_allow([^USE_LIBRTMP$]) ++m4trace:configure.ac:2426: -2- AH_OUTPUT([USE_LIBRTMP], [/* if librtmp is in use */ + @%:@undef USE_LIBRTMP]) +-m4trace:configure.ac:2380: -2- AC_SUBST([USE_LIBRTMP], [1]) +-m4trace:configure.ac:2380: -2- AC_SUBST_TRACE([USE_LIBRTMP]) +-m4trace:configure.ac:2380: -2- m4_pattern_allow([^USE_LIBRTMP$]) +-m4trace:configure.ac:2380: -1- AH_OUTPUT([HAVE_LIBRTMP_RTMP_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:2426: -2- AC_SUBST([USE_LIBRTMP], [1]) ++m4trace:configure.ac:2426: -2- AC_SUBST_TRACE([USE_LIBRTMP]) ++m4trace:configure.ac:2426: -2- m4_pattern_allow([^USE_LIBRTMP$]) ++m4trace:configure.ac:2426: -1- AH_OUTPUT([HAVE_LIBRTMP_RTMP_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_LIBRTMP_RTMP_H]) +-m4trace:configure.ac:2380: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBRTMP_RTMP_H]) +-m4trace:configure.ac:2380: -1- m4_pattern_allow([^HAVE_LIBRTMP_RTMP_H$]) +-m4trace:configure.ac:2447: -1- AC_SUBST([CURL_LT_SHLIB_VERSIONED_FLAVOUR], ["$versioned_symbols_flavour"]) +-m4trace:configure.ac:2447: -1- AC_SUBST_TRACE([CURL_LT_SHLIB_VERSIONED_FLAVOUR]) +-m4trace:configure.ac:2447: -1- m4_pattern_allow([^CURL_LT_SHLIB_VERSIONED_FLAVOUR$]) +-m4trace:configure.ac:2449: -1- AM_CONDITIONAL([CURL_LT_SHLIB_USE_VERSIONED_SYMBOLS], [test "x$versioned_symbols" = 'xyes']) +-m4trace:configure.ac:2449: -1- AC_SUBST([CURL_LT_SHLIB_USE_VERSIONED_SYMBOLS_TRUE]) +-m4trace:configure.ac:2449: -1- AC_SUBST_TRACE([CURL_LT_SHLIB_USE_VERSIONED_SYMBOLS_TRUE]) +-m4trace:configure.ac:2449: -1- m4_pattern_allow([^CURL_LT_SHLIB_USE_VERSIONED_SYMBOLS_TRUE$]) +-m4trace:configure.ac:2449: -1- AC_SUBST([CURL_LT_SHLIB_USE_VERSIONED_SYMBOLS_FALSE]) +-m4trace:configure.ac:2449: -1- AC_SUBST_TRACE([CURL_LT_SHLIB_USE_VERSIONED_SYMBOLS_FALSE]) +-m4trace:configure.ac:2449: -1- m4_pattern_allow([^CURL_LT_SHLIB_USE_VERSIONED_SYMBOLS_FALSE$]) +-m4trace:configure.ac:2449: -1- _AM_SUBST_NOTMAKE([CURL_LT_SHLIB_USE_VERSIONED_SYMBOLS_TRUE]) +-m4trace:configure.ac:2449: -1- _AM_SUBST_NOTMAKE([CURL_LT_SHLIB_USE_VERSIONED_SYMBOLS_FALSE]) +-m4trace:configure.ac:2453: -1- AC_SUBST([CURL_PLIST_VERSION], ["$CURLVERSION"]) +-m4trace:configure.ac:2453: -1- AC_SUBST_TRACE([CURL_PLIST_VERSION]) +-m4trace:configure.ac:2453: -1- m4_pattern_allow([^CURL_PLIST_VERSION$]) +-m4trace:configure.ac:2541: -1- AC_DEFINE_TRACE_LITERAL([USE_WIN32_IDN]) +-m4trace:configure.ac:2541: -1- m4_pattern_allow([^USE_WIN32_IDN$]) +-m4trace:configure.ac:2541: -1- AH_OUTPUT([USE_WIN32_IDN], [/* Define to 1 if you have the `normaliz\' (WinIDN) library (-lnormaliz). */ ++m4trace:configure.ac:2426: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBRTMP_RTMP_H]) ++m4trace:configure.ac:2426: -1- m4_pattern_allow([^HAVE_LIBRTMP_RTMP_H$]) ++m4trace:configure.ac:2493: -1- AC_SUBST([CURL_LT_SHLIB_VERSIONED_FLAVOUR], ["$versioned_symbols_flavour"]) ++m4trace:configure.ac:2493: -1- AC_SUBST_TRACE([CURL_LT_SHLIB_VERSIONED_FLAVOUR]) ++m4trace:configure.ac:2493: -1- m4_pattern_allow([^CURL_LT_SHLIB_VERSIONED_FLAVOUR$]) ++m4trace:configure.ac:2495: -1- AM_CONDITIONAL([CURL_LT_SHLIB_USE_VERSIONED_SYMBOLS], [test "x$versioned_symbols" = 'xyes']) ++m4trace:configure.ac:2495: -1- AC_SUBST([CURL_LT_SHLIB_USE_VERSIONED_SYMBOLS_TRUE]) ++m4trace:configure.ac:2495: -1- AC_SUBST_TRACE([CURL_LT_SHLIB_USE_VERSIONED_SYMBOLS_TRUE]) ++m4trace:configure.ac:2495: -1- m4_pattern_allow([^CURL_LT_SHLIB_USE_VERSIONED_SYMBOLS_TRUE$]) ++m4trace:configure.ac:2495: -1- AC_SUBST([CURL_LT_SHLIB_USE_VERSIONED_SYMBOLS_FALSE]) ++m4trace:configure.ac:2495: -1- AC_SUBST_TRACE([CURL_LT_SHLIB_USE_VERSIONED_SYMBOLS_FALSE]) ++m4trace:configure.ac:2495: -1- m4_pattern_allow([^CURL_LT_SHLIB_USE_VERSIONED_SYMBOLS_FALSE$]) ++m4trace:configure.ac:2495: -1- _AM_SUBST_NOTMAKE([CURL_LT_SHLIB_USE_VERSIONED_SYMBOLS_TRUE]) ++m4trace:configure.ac:2495: -1- _AM_SUBST_NOTMAKE([CURL_LT_SHLIB_USE_VERSIONED_SYMBOLS_FALSE]) ++m4trace:configure.ac:2499: -1- AC_SUBST([CURL_PLIST_VERSION], ["$CURLVERSION"]) ++m4trace:configure.ac:2499: -1- AC_SUBST_TRACE([CURL_PLIST_VERSION]) ++m4trace:configure.ac:2499: -1- m4_pattern_allow([^CURL_PLIST_VERSION$]) ++m4trace:configure.ac:2587: -1- AC_DEFINE_TRACE_LITERAL([USE_WIN32_IDN]) ++m4trace:configure.ac:2587: -1- m4_pattern_allow([^USE_WIN32_IDN$]) ++m4trace:configure.ac:2587: -1- AH_OUTPUT([USE_WIN32_IDN], [/* Define to 1 if you have the `normaliz\' (WinIDN) library (-lnormaliz). */ + @%:@undef USE_WIN32_IDN]) +-m4trace:configure.ac:2542: -1- AC_SUBST([IDN_ENABLED], [1]) +-m4trace:configure.ac:2542: -1- AC_SUBST_TRACE([IDN_ENABLED]) +-m4trace:configure.ac:2542: -1- m4_pattern_allow([^IDN_ENABLED$]) +-m4trace:configure.ac:2604: -1- AC_SUBST([PKGCONFIG]) +-m4trace:configure.ac:2604: -1- AC_SUBST_TRACE([PKGCONFIG]) +-m4trace:configure.ac:2604: -1- m4_pattern_allow([^PKGCONFIG$]) +-m4trace:configure.ac:2622: -1- AC_SUBST([PKGCONFIG]) +-m4trace:configure.ac:2622: -1- AC_SUBST_TRACE([PKGCONFIG]) +-m4trace:configure.ac:2622: -1- m4_pattern_allow([^PKGCONFIG$]) +-m4trace:configure.ac:2661: -1- AH_OUTPUT([HAVE_IDN2_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:2588: -1- AC_SUBST([IDN_ENABLED], [1]) ++m4trace:configure.ac:2588: -1- AC_SUBST_TRACE([IDN_ENABLED]) ++m4trace:configure.ac:2588: -1- m4_pattern_allow([^IDN_ENABLED$]) ++m4trace:configure.ac:2650: -1- AC_SUBST([PKGCONFIG]) ++m4trace:configure.ac:2650: -1- AC_SUBST_TRACE([PKGCONFIG]) ++m4trace:configure.ac:2650: -1- m4_pattern_allow([^PKGCONFIG$]) ++m4trace:configure.ac:2668: -1- AC_SUBST([PKGCONFIG]) ++m4trace:configure.ac:2668: -1- AC_SUBST_TRACE([PKGCONFIG]) ++m4trace:configure.ac:2668: -1- m4_pattern_allow([^PKGCONFIG$]) ++m4trace:configure.ac:2707: -1- AH_OUTPUT([HAVE_IDN2_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_IDN2_H]) +-m4trace:configure.ac:2661: -1- AC_DEFINE_TRACE_LITERAL([HAVE_IDN2_H]) +-m4trace:configure.ac:2661: -1- m4_pattern_allow([^HAVE_IDN2_H$]) +-m4trace:configure.ac:2664: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBIDN2]) +-m4trace:configure.ac:2664: -1- m4_pattern_allow([^HAVE_LIBIDN2$]) +-m4trace:configure.ac:2664: -1- AH_OUTPUT([HAVE_LIBIDN2], [/* Define to 1 if you have the `idn2\' library (-lidn2). */ ++m4trace:configure.ac:2707: -1- AC_DEFINE_TRACE_LITERAL([HAVE_IDN2_H]) ++m4trace:configure.ac:2707: -1- m4_pattern_allow([^HAVE_IDN2_H$]) ++m4trace:configure.ac:2710: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBIDN2]) ++m4trace:configure.ac:2710: -1- m4_pattern_allow([^HAVE_LIBIDN2$]) ++m4trace:configure.ac:2710: -1- AH_OUTPUT([HAVE_LIBIDN2], [/* Define to 1 if you have the `idn2\' library (-lidn2). */ + @%:@undef HAVE_LIBIDN2]) +-m4trace:configure.ac:2667: -1- AC_SUBST([IDN_ENABLED], [1]) +-m4trace:configure.ac:2667: -1- AC_SUBST_TRACE([IDN_ENABLED]) +-m4trace:configure.ac:2667: -1- m4_pattern_allow([^IDN_ENABLED$]) +-m4trace:configure.ac:2722: -1- AC_SUBST([PKGCONFIG]) +-m4trace:configure.ac:2722: -1- AC_SUBST_TRACE([PKGCONFIG]) +-m4trace:configure.ac:2722: -1- m4_pattern_allow([^PKGCONFIG$]) +-m4trace:configure.ac:2757: -2- AC_DEFINE_TRACE_LITERAL([USE_NGHTTP2]) +-m4trace:configure.ac:2757: -2- m4_pattern_allow([^USE_NGHTTP2$]) +-m4trace:configure.ac:2757: -2- AH_OUTPUT([USE_NGHTTP2], [/* if nghttp2 is in use */ ++m4trace:configure.ac:2713: -1- AC_SUBST([IDN_ENABLED], [1]) ++m4trace:configure.ac:2713: -1- AC_SUBST_TRACE([IDN_ENABLED]) ++m4trace:configure.ac:2713: -1- m4_pattern_allow([^IDN_ENABLED$]) ++m4trace:configure.ac:2768: -1- AC_SUBST([PKGCONFIG]) ++m4trace:configure.ac:2768: -1- AC_SUBST_TRACE([PKGCONFIG]) ++m4trace:configure.ac:2768: -1- m4_pattern_allow([^PKGCONFIG$]) ++m4trace:configure.ac:2803: -2- AC_DEFINE_TRACE_LITERAL([USE_NGHTTP2]) ++m4trace:configure.ac:2803: -2- m4_pattern_allow([^USE_NGHTTP2$]) ++m4trace:configure.ac:2803: -2- AH_OUTPUT([USE_NGHTTP2], [/* if nghttp2 is in use */ + @%:@undef USE_NGHTTP2]) +-m4trace:configure.ac:2757: -2- AC_SUBST([USE_NGHTTP2], [1]) +-m4trace:configure.ac:2757: -2- AC_SUBST_TRACE([USE_NGHTTP2]) +-m4trace:configure.ac:2757: -2- m4_pattern_allow([^USE_NGHTTP2$]) +-m4trace:configure.ac:2757: -1- AH_OUTPUT([HAVE_NGHTTP2_NGHTTP2_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:2803: -2- AC_SUBST([USE_NGHTTP2], [1]) ++m4trace:configure.ac:2803: -2- AC_SUBST_TRACE([USE_NGHTTP2]) ++m4trace:configure.ac:2803: -2- m4_pattern_allow([^USE_NGHTTP2$]) ++m4trace:configure.ac:2803: -1- AH_OUTPUT([HAVE_NGHTTP2_NGHTTP2_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_NGHTTP2_NGHTTP2_H]) +-m4trace:configure.ac:2757: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NGHTTP2_NGHTTP2_H]) +-m4trace:configure.ac:2757: -1- m4_pattern_allow([^HAVE_NGHTTP2_NGHTTP2_H$]) +-m4trace:configure.ac:2816: -1- AC_SUBST([PKGCONFIG]) +-m4trace:configure.ac:2816: -1- AC_SUBST_TRACE([PKGCONFIG]) +-m4trace:configure.ac:2816: -1- m4_pattern_allow([^PKGCONFIG$]) +-m4trace:configure.ac:2838: -2- AC_DEFINE_TRACE_LITERAL([USE_NGTCP2]) +-m4trace:configure.ac:2838: -2- m4_pattern_allow([^USE_NGTCP2$]) +-m4trace:configure.ac:2838: -2- AH_OUTPUT([USE_NGTCP2], [/* if ngtcp2 is in use */ ++m4trace:configure.ac:2803: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NGHTTP2_NGHTTP2_H]) ++m4trace:configure.ac:2803: -1- m4_pattern_allow([^HAVE_NGHTTP2_NGHTTP2_H$]) ++m4trace:configure.ac:2867: -1- AC_SUBST([PKGCONFIG]) ++m4trace:configure.ac:2867: -1- AC_SUBST_TRACE([PKGCONFIG]) ++m4trace:configure.ac:2867: -1- m4_pattern_allow([^PKGCONFIG$]) ++m4trace:configure.ac:2889: -2- AC_DEFINE_TRACE_LITERAL([USE_NGTCP2]) ++m4trace:configure.ac:2889: -2- m4_pattern_allow([^USE_NGTCP2$]) ++m4trace:configure.ac:2889: -2- AH_OUTPUT([USE_NGTCP2], [/* if ngtcp2 is in use */ + @%:@undef USE_NGTCP2]) +-m4trace:configure.ac:2838: -2- AC_SUBST([USE_NGTCP2], [1]) +-m4trace:configure.ac:2838: -2- AC_SUBST_TRACE([USE_NGTCP2]) +-m4trace:configure.ac:2838: -2- m4_pattern_allow([^USE_NGTCP2$]) +-m4trace:configure.ac:2838: -1- AH_OUTPUT([HAVE_NGTCP2_NGTCP2_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:2889: -2- AC_SUBST([USE_NGTCP2], [1]) ++m4trace:configure.ac:2889: -2- AC_SUBST_TRACE([USE_NGTCP2]) ++m4trace:configure.ac:2889: -2- m4_pattern_allow([^USE_NGTCP2$]) ++m4trace:configure.ac:2889: -1- AH_OUTPUT([HAVE_NGTCP2_NGTCP2_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_NGTCP2_NGTCP2_H]) +-m4trace:configure.ac:2838: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NGTCP2_NGTCP2_H]) +-m4trace:configure.ac:2838: -1- m4_pattern_allow([^HAVE_NGTCP2_NGTCP2_H$]) +-m4trace:configure.ac:2872: -1- AC_SUBST([PKGCONFIG]) +-m4trace:configure.ac:2872: -1- AC_SUBST_TRACE([PKGCONFIG]) +-m4trace:configure.ac:2872: -1- m4_pattern_allow([^PKGCONFIG$]) +-m4trace:configure.ac:2894: -2- AC_DEFINE_TRACE_LITERAL([USE_NGTCP2_CRYPTO_QUICTLS]) +-m4trace:configure.ac:2894: -2- m4_pattern_allow([^USE_NGTCP2_CRYPTO_QUICTLS$]) +-m4trace:configure.ac:2894: -2- AH_OUTPUT([USE_NGTCP2_CRYPTO_QUICTLS], [/* if ngtcp2_crypto_quictls is in use */ ++m4trace:configure.ac:2889: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NGTCP2_NGTCP2_H]) ++m4trace:configure.ac:2889: -1- m4_pattern_allow([^HAVE_NGTCP2_NGTCP2_H$]) ++m4trace:configure.ac:2923: -1- AC_SUBST([PKGCONFIG]) ++m4trace:configure.ac:2923: -1- AC_SUBST_TRACE([PKGCONFIG]) ++m4trace:configure.ac:2923: -1- m4_pattern_allow([^PKGCONFIG$]) ++m4trace:configure.ac:2945: -2- AC_DEFINE_TRACE_LITERAL([USE_NGTCP2_CRYPTO_QUICTLS]) ++m4trace:configure.ac:2945: -2- m4_pattern_allow([^USE_NGTCP2_CRYPTO_QUICTLS$]) ++m4trace:configure.ac:2945: -2- AH_OUTPUT([USE_NGTCP2_CRYPTO_QUICTLS], [/* if ngtcp2_crypto_quictls is in use */ + @%:@undef USE_NGTCP2_CRYPTO_QUICTLS]) +-m4trace:configure.ac:2894: -2- AC_SUBST([USE_NGTCP2_CRYPTO_QUICTLS], [1]) +-m4trace:configure.ac:2894: -2- AC_SUBST_TRACE([USE_NGTCP2_CRYPTO_QUICTLS]) +-m4trace:configure.ac:2894: -2- m4_pattern_allow([^USE_NGTCP2_CRYPTO_QUICTLS$]) +-m4trace:configure.ac:2894: -1- AH_OUTPUT([HAVE_NGTCP2_NGTCP2_CRYPTO_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:2945: -2- AC_SUBST([USE_NGTCP2_CRYPTO_QUICTLS], [1]) ++m4trace:configure.ac:2945: -2- AC_SUBST_TRACE([USE_NGTCP2_CRYPTO_QUICTLS]) ++m4trace:configure.ac:2945: -2- m4_pattern_allow([^USE_NGTCP2_CRYPTO_QUICTLS$]) ++m4trace:configure.ac:2945: -1- AH_OUTPUT([HAVE_NGTCP2_NGTCP2_CRYPTO_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_NGTCP2_NGTCP2_CRYPTO_H]) ++m4trace:configure.ac:2945: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NGTCP2_NGTCP2_CRYPTO_H]) ++m4trace:configure.ac:2945: -1- m4_pattern_allow([^HAVE_NGTCP2_NGTCP2_CRYPTO_H$]) ++m4trace:configure.ac:2978: -1- AC_SUBST([PKGCONFIG]) ++m4trace:configure.ac:2978: -1- AC_SUBST_TRACE([PKGCONFIG]) ++m4trace:configure.ac:2978: -1- m4_pattern_allow([^PKGCONFIG$]) ++m4trace:configure.ac:3000: -2- AC_DEFINE_TRACE_LITERAL([USE_NGTCP2_CRYPTO_BORINGSSL]) ++m4trace:configure.ac:3000: -2- m4_pattern_allow([^USE_NGTCP2_CRYPTO_BORINGSSL$]) ++m4trace:configure.ac:3000: -2- AH_OUTPUT([USE_NGTCP2_CRYPTO_BORINGSSL], [/* if ngtcp2_crypto_boringssl is in use */ ++@%:@undef USE_NGTCP2_CRYPTO_BORINGSSL]) ++m4trace:configure.ac:3000: -2- AC_SUBST([USE_NGTCP2_CRYPTO_BORINGSSL], [1]) ++m4trace:configure.ac:3000: -2- AC_SUBST_TRACE([USE_NGTCP2_CRYPTO_BORINGSSL]) ++m4trace:configure.ac:3000: -2- m4_pattern_allow([^USE_NGTCP2_CRYPTO_BORINGSSL$]) ++m4trace:configure.ac:3000: -1- AH_OUTPUT([HAVE_NGTCP2_NGTCP2_CRYPTO_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_NGTCP2_NGTCP2_CRYPTO_H]) +-m4trace:configure.ac:2894: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NGTCP2_NGTCP2_CRYPTO_H]) +-m4trace:configure.ac:2894: -1- m4_pattern_allow([^HAVE_NGTCP2_NGTCP2_CRYPTO_H$]) +-m4trace:configure.ac:2927: -1- AC_SUBST([PKGCONFIG]) +-m4trace:configure.ac:2927: -1- AC_SUBST_TRACE([PKGCONFIG]) +-m4trace:configure.ac:2927: -1- m4_pattern_allow([^PKGCONFIG$]) +-m4trace:configure.ac:2949: -2- AC_DEFINE_TRACE_LITERAL([USE_NGTCP2_CRYPTO_GNUTLS]) +-m4trace:configure.ac:2949: -2- m4_pattern_allow([^USE_NGTCP2_CRYPTO_GNUTLS$]) +-m4trace:configure.ac:2949: -2- AH_OUTPUT([USE_NGTCP2_CRYPTO_GNUTLS], [/* if ngtcp2_crypto_gnutls is in use */ ++m4trace:configure.ac:3000: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NGTCP2_NGTCP2_CRYPTO_H]) ++m4trace:configure.ac:3000: -1- m4_pattern_allow([^HAVE_NGTCP2_NGTCP2_CRYPTO_H$]) ++m4trace:configure.ac:3033: -1- AC_SUBST([PKGCONFIG]) ++m4trace:configure.ac:3033: -1- AC_SUBST_TRACE([PKGCONFIG]) ++m4trace:configure.ac:3033: -1- m4_pattern_allow([^PKGCONFIG$]) ++m4trace:configure.ac:3055: -2- AC_DEFINE_TRACE_LITERAL([USE_NGTCP2_CRYPTO_GNUTLS]) ++m4trace:configure.ac:3055: -2- m4_pattern_allow([^USE_NGTCP2_CRYPTO_GNUTLS$]) ++m4trace:configure.ac:3055: -2- AH_OUTPUT([USE_NGTCP2_CRYPTO_GNUTLS], [/* if ngtcp2_crypto_gnutls is in use */ + @%:@undef USE_NGTCP2_CRYPTO_GNUTLS]) +-m4trace:configure.ac:2949: -2- AC_SUBST([USE_NGTCP2_CRYPTO_GNUTLS], [1]) +-m4trace:configure.ac:2949: -2- AC_SUBST_TRACE([USE_NGTCP2_CRYPTO_GNUTLS]) +-m4trace:configure.ac:2949: -2- m4_pattern_allow([^USE_NGTCP2_CRYPTO_GNUTLS$]) +-m4trace:configure.ac:2949: -1- AH_OUTPUT([HAVE_NGTCP2_NGTCP2_CRYPTO_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3055: -2- AC_SUBST([USE_NGTCP2_CRYPTO_GNUTLS], [1]) ++m4trace:configure.ac:3055: -2- AC_SUBST_TRACE([USE_NGTCP2_CRYPTO_GNUTLS]) ++m4trace:configure.ac:3055: -2- m4_pattern_allow([^USE_NGTCP2_CRYPTO_GNUTLS$]) ++m4trace:configure.ac:3055: -1- AH_OUTPUT([HAVE_NGTCP2_NGTCP2_CRYPTO_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_NGTCP2_NGTCP2_CRYPTO_H]) +-m4trace:configure.ac:2949: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NGTCP2_NGTCP2_CRYPTO_H]) +-m4trace:configure.ac:2949: -1- m4_pattern_allow([^HAVE_NGTCP2_NGTCP2_CRYPTO_H$]) +-m4trace:configure.ac:2982: -1- AC_SUBST([PKGCONFIG]) +-m4trace:configure.ac:2982: -1- AC_SUBST_TRACE([PKGCONFIG]) +-m4trace:configure.ac:2982: -1- m4_pattern_allow([^PKGCONFIG$]) +-m4trace:configure.ac:3004: -2- AC_DEFINE_TRACE_LITERAL([USE_NGTCP2_CRYPTO_WOLFSSL]) +-m4trace:configure.ac:3004: -2- m4_pattern_allow([^USE_NGTCP2_CRYPTO_WOLFSSL$]) +-m4trace:configure.ac:3004: -2- AH_OUTPUT([USE_NGTCP2_CRYPTO_WOLFSSL], [/* if ngtcp2_crypto_wolfssl is in use */ ++m4trace:configure.ac:3055: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NGTCP2_NGTCP2_CRYPTO_H]) ++m4trace:configure.ac:3055: -1- m4_pattern_allow([^HAVE_NGTCP2_NGTCP2_CRYPTO_H$]) ++m4trace:configure.ac:3088: -1- AC_SUBST([PKGCONFIG]) ++m4trace:configure.ac:3088: -1- AC_SUBST_TRACE([PKGCONFIG]) ++m4trace:configure.ac:3088: -1- m4_pattern_allow([^PKGCONFIG$]) ++m4trace:configure.ac:3110: -2- AC_DEFINE_TRACE_LITERAL([USE_NGTCP2_CRYPTO_WOLFSSL]) ++m4trace:configure.ac:3110: -2- m4_pattern_allow([^USE_NGTCP2_CRYPTO_WOLFSSL$]) ++m4trace:configure.ac:3110: -2- AH_OUTPUT([USE_NGTCP2_CRYPTO_WOLFSSL], [/* if ngtcp2_crypto_wolfssl is in use */ + @%:@undef USE_NGTCP2_CRYPTO_WOLFSSL]) +-m4trace:configure.ac:3004: -2- AC_SUBST([USE_NGTCP2_CRYPTO_WOLFSSL], [1]) +-m4trace:configure.ac:3004: -2- AC_SUBST_TRACE([USE_NGTCP2_CRYPTO_WOLFSSL]) +-m4trace:configure.ac:3004: -2- m4_pattern_allow([^USE_NGTCP2_CRYPTO_WOLFSSL$]) +-m4trace:configure.ac:3004: -1- AH_OUTPUT([HAVE_NGTCP2_NGTCP2_CRYPTO_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3110: -2- AC_SUBST([USE_NGTCP2_CRYPTO_WOLFSSL], [1]) ++m4trace:configure.ac:3110: -2- AC_SUBST_TRACE([USE_NGTCP2_CRYPTO_WOLFSSL]) ++m4trace:configure.ac:3110: -2- m4_pattern_allow([^USE_NGTCP2_CRYPTO_WOLFSSL$]) ++m4trace:configure.ac:3110: -1- AH_OUTPUT([HAVE_NGTCP2_NGTCP2_CRYPTO_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_NGTCP2_NGTCP2_CRYPTO_H]) +-m4trace:configure.ac:3004: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NGTCP2_NGTCP2_CRYPTO_H]) +-m4trace:configure.ac:3004: -1- m4_pattern_allow([^HAVE_NGTCP2_NGTCP2_CRYPTO_H$]) +-m4trace:configure.ac:3070: -1- AC_SUBST([PKGCONFIG]) +-m4trace:configure.ac:3070: -1- AC_SUBST_TRACE([PKGCONFIG]) +-m4trace:configure.ac:3070: -1- m4_pattern_allow([^PKGCONFIG$]) +-m4trace:configure.ac:3092: -2- AC_DEFINE_TRACE_LITERAL([USE_NGHTTP3]) +-m4trace:configure.ac:3092: -2- m4_pattern_allow([^USE_NGHTTP3$]) +-m4trace:configure.ac:3092: -2- AH_OUTPUT([USE_NGHTTP3], [/* if nghttp3 is in use */ ++m4trace:configure.ac:3110: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NGTCP2_NGTCP2_CRYPTO_H]) ++m4trace:configure.ac:3110: -1- m4_pattern_allow([^HAVE_NGTCP2_NGTCP2_CRYPTO_H$]) ++m4trace:configure.ac:3172: -1- AC_DEFINE_TRACE_LITERAL([USE_OPENSSL_QUIC]) ++m4trace:configure.ac:3172: -1- m4_pattern_allow([^USE_OPENSSL_QUIC$]) ++m4trace:configure.ac:3172: -1- AH_OUTPUT([USE_OPENSSL_QUIC], [/* if openssl QUIC is in use */ ++@%:@undef USE_OPENSSL_QUIC]) ++m4trace:configure.ac:3173: -1- AC_SUBST([USE_OPENSSL_QUIC], [1]) ++m4trace:configure.ac:3173: -1- AC_SUBST_TRACE([USE_OPENSSL_QUIC]) ++m4trace:configure.ac:3173: -1- m4_pattern_allow([^USE_OPENSSL_QUIC$]) ++m4trace:configure.ac:3217: -1- AC_SUBST([PKGCONFIG]) ++m4trace:configure.ac:3217: -1- AC_SUBST_TRACE([PKGCONFIG]) ++m4trace:configure.ac:3217: -1- m4_pattern_allow([^PKGCONFIG$]) ++m4trace:configure.ac:3239: -2- AC_DEFINE_TRACE_LITERAL([USE_NGHTTP3]) ++m4trace:configure.ac:3239: -2- m4_pattern_allow([^USE_NGHTTP3$]) ++m4trace:configure.ac:3239: -2- AH_OUTPUT([USE_NGHTTP3], [/* if nghttp3 is in use */ + @%:@undef USE_NGHTTP3]) +-m4trace:configure.ac:3092: -2- AC_SUBST([USE_NGHTTP3], [1]) +-m4trace:configure.ac:3092: -2- AC_SUBST_TRACE([USE_NGHTTP3]) +-m4trace:configure.ac:3092: -2- m4_pattern_allow([^USE_NGHTTP3$]) +-m4trace:configure.ac:3092: -1- AH_OUTPUT([HAVE_NGHTTP3_NGHTTP3_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3239: -2- AC_SUBST([USE_NGHTTP3], [1]) ++m4trace:configure.ac:3239: -2- AC_SUBST_TRACE([USE_NGHTTP3]) ++m4trace:configure.ac:3239: -2- m4_pattern_allow([^USE_NGHTTP3$]) ++m4trace:configure.ac:3239: -1- AH_OUTPUT([HAVE_NGHTTP3_NGHTTP3_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_NGHTTP3_NGHTTP3_H]) +-m4trace:configure.ac:3092: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NGHTTP3_NGHTTP3_H]) +-m4trace:configure.ac:3092: -1- m4_pattern_allow([^HAVE_NGHTTP3_NGHTTP3_H$]) +-m4trace:configure.ac:3165: -1- AC_SUBST([PKGCONFIG]) +-m4trace:configure.ac:3165: -1- AC_SUBST_TRACE([PKGCONFIG]) +-m4trace:configure.ac:3165: -1- m4_pattern_allow([^PKGCONFIG$]) +-m4trace:configure.ac:3187: -2- AC_DEFINE_TRACE_LITERAL([USE_QUICHE]) +-m4trace:configure.ac:3187: -2- m4_pattern_allow([^USE_QUICHE$]) +-m4trace:configure.ac:3187: -2- AH_OUTPUT([USE_QUICHE], [/* if quiche is in use */ ++m4trace:configure.ac:3239: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NGHTTP3_NGHTTP3_H]) ++m4trace:configure.ac:3239: -1- m4_pattern_allow([^HAVE_NGHTTP3_NGHTTP3_H$]) ++m4trace:configure.ac:3271: -1- AC_DEFINE_TRACE_LITERAL([USE_NGTCP2_H3]) ++m4trace:configure.ac:3271: -1- m4_pattern_allow([^USE_NGTCP2_H3$]) ++m4trace:configure.ac:3271: -1- AH_OUTPUT([USE_NGTCP2_H3], [/* if ngtcp2 + nghttp3 is in use */ ++@%:@undef USE_NGTCP2_H3]) ++m4trace:configure.ac:3272: -1- AC_SUBST([USE_NGTCP2_H3], [1]) ++m4trace:configure.ac:3272: -1- AC_SUBST_TRACE([USE_NGTCP2_H3]) ++m4trace:configure.ac:3272: -1- m4_pattern_allow([^USE_NGTCP2_H3$]) ++m4trace:configure.ac:3283: -1- AC_DEFINE_TRACE_LITERAL([USE_OPENSSL_H3]) ++m4trace:configure.ac:3283: -1- m4_pattern_allow([^USE_OPENSSL_H3$]) ++m4trace:configure.ac:3283: -1- AH_OUTPUT([USE_OPENSSL_H3], [/* if openssl quic + nghttp3 is in use */ ++@%:@undef USE_OPENSSL_H3]) ++m4trace:configure.ac:3284: -1- AC_SUBST([USE_OPENSSL_H3], [1]) ++m4trace:configure.ac:3284: -1- AC_SUBST_TRACE([USE_OPENSSL_H3]) ++m4trace:configure.ac:3284: -1- m4_pattern_allow([^USE_OPENSSL_H3$]) ++m4trace:configure.ac:3336: -1- AC_SUBST([PKGCONFIG]) ++m4trace:configure.ac:3336: -1- AC_SUBST_TRACE([PKGCONFIG]) ++m4trace:configure.ac:3336: -1- m4_pattern_allow([^PKGCONFIG$]) ++m4trace:configure.ac:3358: -2- AC_DEFINE_TRACE_LITERAL([USE_QUICHE]) ++m4trace:configure.ac:3358: -2- m4_pattern_allow([^USE_QUICHE$]) ++m4trace:configure.ac:3358: -2- AH_OUTPUT([USE_QUICHE], [/* if quiche is in use */ + @%:@undef USE_QUICHE]) +-m4trace:configure.ac:3187: -2- AC_SUBST([USE_QUICHE], [1]) +-m4trace:configure.ac:3187: -2- AC_SUBST_TRACE([USE_QUICHE]) +-m4trace:configure.ac:3187: -2- m4_pattern_allow([^USE_QUICHE$]) +-m4trace:configure.ac:3187: -2- AH_OUTPUT([HAVE_QUICHE_CONN_SET_QLOG_FD], [/* Define to 1 if you have the `quiche_conn_set_qlog_fd\' function. */ ++m4trace:configure.ac:3358: -2- AC_SUBST([USE_QUICHE], [1]) ++m4trace:configure.ac:3358: -2- AC_SUBST_TRACE([USE_QUICHE]) ++m4trace:configure.ac:3358: -2- m4_pattern_allow([^USE_QUICHE$]) ++m4trace:configure.ac:3358: -2- AH_OUTPUT([HAVE_QUICHE_CONN_SET_QLOG_FD], [/* Define to 1 if you have the `quiche_conn_set_qlog_fd\' function. */ + @%:@undef HAVE_QUICHE_CONN_SET_QLOG_FD]) +-m4trace:configure.ac:3187: -2- AC_DEFINE_TRACE_LITERAL([HAVE_QUICHE_CONN_SET_QLOG_FD]) +-m4trace:configure.ac:3187: -2- m4_pattern_allow([^HAVE_QUICHE_CONN_SET_QLOG_FD$]) +-m4trace:configure.ac:3187: -1- AH_OUTPUT([HAVE_QUICHE_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3358: -2- AC_DEFINE_TRACE_LITERAL([HAVE_QUICHE_CONN_SET_QLOG_FD]) ++m4trace:configure.ac:3358: -2- m4_pattern_allow([^HAVE_QUICHE_CONN_SET_QLOG_FD$]) ++m4trace:configure.ac:3358: -1- AH_OUTPUT([HAVE_QUICHE_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_QUICHE_H]) +-m4trace:configure.ac:3187: -1- AC_DEFINE_TRACE_LITERAL([HAVE_QUICHE_H]) +-m4trace:configure.ac:3187: -1- m4_pattern_allow([^HAVE_QUICHE_H$]) +-m4trace:configure.ac:3272: -2- AC_DEFINE_TRACE_LITERAL([USE_MSH3]) +-m4trace:configure.ac:3272: -2- m4_pattern_allow([^USE_MSH3$]) +-m4trace:configure.ac:3272: -2- AH_OUTPUT([USE_MSH3], [/* if msh3 is in use */ ++m4trace:configure.ac:3358: -1- AC_DEFINE_TRACE_LITERAL([HAVE_QUICHE_H]) ++m4trace:configure.ac:3358: -1- m4_pattern_allow([^HAVE_QUICHE_H$]) ++m4trace:configure.ac:3456: -2- AC_DEFINE_TRACE_LITERAL([USE_MSH3]) ++m4trace:configure.ac:3456: -2- m4_pattern_allow([^USE_MSH3$]) ++m4trace:configure.ac:3456: -2- AH_OUTPUT([USE_MSH3], [/* if msh3 is in use */ + @%:@undef USE_MSH3]) +-m4trace:configure.ac:3272: -2- AC_SUBST([USE_MSH3], [1]) +-m4trace:configure.ac:3272: -2- AC_SUBST_TRACE([USE_MSH3]) +-m4trace:configure.ac:3272: -2- m4_pattern_allow([^USE_MSH3$]) +-m4trace:configure.ac:3272: -1- AH_OUTPUT([HAVE_MSH3_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3456: -2- AC_SUBST([USE_MSH3], [1]) ++m4trace:configure.ac:3456: -2- AC_SUBST_TRACE([USE_MSH3]) ++m4trace:configure.ac:3456: -2- m4_pattern_allow([^USE_MSH3$]) ++m4trace:configure.ac:3456: -1- AH_OUTPUT([HAVE_MSH3_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_MSH3_H]) +-m4trace:configure.ac:3272: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MSH3_H]) +-m4trace:configure.ac:3272: -1- m4_pattern_allow([^HAVE_MSH3_H$]) +-m4trace:configure.ac:3308: -1- AC_SUBST([ZSH_FUNCTIONS_DIR]) +-m4trace:configure.ac:3308: -1- AC_SUBST_TRACE([ZSH_FUNCTIONS_DIR]) +-m4trace:configure.ac:3308: -1- m4_pattern_allow([^ZSH_FUNCTIONS_DIR$]) +-m4trace:configure.ac:3313: -1- AC_SUBST([ZSH_FUNCTIONS_DIR]) +-m4trace:configure.ac:3313: -1- AC_SUBST_TRACE([ZSH_FUNCTIONS_DIR]) +-m4trace:configure.ac:3313: -1- m4_pattern_allow([^ZSH_FUNCTIONS_DIR$]) +-m4trace:configure.ac:3332: -1- AC_SUBST([PKGCONFIG]) +-m4trace:configure.ac:3332: -1- AC_SUBST_TRACE([PKGCONFIG]) +-m4trace:configure.ac:3332: -1- m4_pattern_allow([^PKGCONFIG$]) +-m4trace:configure.ac:3338: -1- AC_SUBST([FISH_FUNCTIONS_DIR]) +-m4trace:configure.ac:3338: -1- AC_SUBST_TRACE([FISH_FUNCTIONS_DIR]) +-m4trace:configure.ac:3338: -1- m4_pattern_allow([^FISH_FUNCTIONS_DIR$]) +-m4trace:configure.ac:3343: -1- AC_SUBST([FISH_FUNCTIONS_DIR]) +-m4trace:configure.ac:3343: -1- AC_SUBST_TRACE([FISH_FUNCTIONS_DIR]) +-m4trace:configure.ac:3343: -1- m4_pattern_allow([^FISH_FUNCTIONS_DIR$]) +-m4trace:configure.ac:3349: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3456: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MSH3_H]) ++m4trace:configure.ac:3456: -1- m4_pattern_allow([^HAVE_MSH3_H$]) ++m4trace:configure.ac:3492: -1- AC_SUBST([ZSH_FUNCTIONS_DIR]) ++m4trace:configure.ac:3492: -1- AC_SUBST_TRACE([ZSH_FUNCTIONS_DIR]) ++m4trace:configure.ac:3492: -1- m4_pattern_allow([^ZSH_FUNCTIONS_DIR$]) ++m4trace:configure.ac:3497: -1- AC_SUBST([ZSH_FUNCTIONS_DIR]) ++m4trace:configure.ac:3497: -1- AC_SUBST_TRACE([ZSH_FUNCTIONS_DIR]) ++m4trace:configure.ac:3497: -1- m4_pattern_allow([^ZSH_FUNCTIONS_DIR$]) ++m4trace:configure.ac:3500: -1- AM_CONDITIONAL([USE_ZSH_COMPLETION], [test x"$ZSH_FUNCTIONS_DIR" != x]) ++m4trace:configure.ac:3500: -1- AC_SUBST([USE_ZSH_COMPLETION_TRUE]) ++m4trace:configure.ac:3500: -1- AC_SUBST_TRACE([USE_ZSH_COMPLETION_TRUE]) ++m4trace:configure.ac:3500: -1- m4_pattern_allow([^USE_ZSH_COMPLETION_TRUE$]) ++m4trace:configure.ac:3500: -1- AC_SUBST([USE_ZSH_COMPLETION_FALSE]) ++m4trace:configure.ac:3500: -1- AC_SUBST_TRACE([USE_ZSH_COMPLETION_FALSE]) ++m4trace:configure.ac:3500: -1- m4_pattern_allow([^USE_ZSH_COMPLETION_FALSE$]) ++m4trace:configure.ac:3500: -1- _AM_SUBST_NOTMAKE([USE_ZSH_COMPLETION_TRUE]) ++m4trace:configure.ac:3500: -1- _AM_SUBST_NOTMAKE([USE_ZSH_COMPLETION_FALSE]) ++m4trace:configure.ac:3517: -1- AC_SUBST([PKGCONFIG]) ++m4trace:configure.ac:3517: -1- AC_SUBST_TRACE([PKGCONFIG]) ++m4trace:configure.ac:3517: -1- m4_pattern_allow([^PKGCONFIG$]) ++m4trace:configure.ac:3523: -1- AC_SUBST([FISH_FUNCTIONS_DIR]) ++m4trace:configure.ac:3523: -1- AC_SUBST_TRACE([FISH_FUNCTIONS_DIR]) ++m4trace:configure.ac:3523: -1- m4_pattern_allow([^FISH_FUNCTIONS_DIR$]) ++m4trace:configure.ac:3528: -1- AC_SUBST([FISH_FUNCTIONS_DIR]) ++m4trace:configure.ac:3528: -1- AC_SUBST_TRACE([FISH_FUNCTIONS_DIR]) ++m4trace:configure.ac:3528: -1- m4_pattern_allow([^FISH_FUNCTIONS_DIR$]) ++m4trace:configure.ac:3531: -1- AM_CONDITIONAL([USE_FISH_COMPLETION], [test x"$FISH_FUNCTIONS_DIR" != x]) ++m4trace:configure.ac:3531: -1- AC_SUBST([USE_FISH_COMPLETION_TRUE]) ++m4trace:configure.ac:3531: -1- AC_SUBST_TRACE([USE_FISH_COMPLETION_TRUE]) ++m4trace:configure.ac:3531: -1- m4_pattern_allow([^USE_FISH_COMPLETION_TRUE$]) ++m4trace:configure.ac:3531: -1- AC_SUBST([USE_FISH_COMPLETION_FALSE]) ++m4trace:configure.ac:3531: -1- AC_SUBST_TRACE([USE_FISH_COMPLETION_FALSE]) ++m4trace:configure.ac:3531: -1- m4_pattern_allow([^USE_FISH_COMPLETION_FALSE$]) ++m4trace:configure.ac:3531: -1- _AM_SUBST_NOTMAKE([USE_FISH_COMPLETION_TRUE]) ++m4trace:configure.ac:3531: -1- _AM_SUBST_NOTMAKE([USE_FISH_COMPLETION_FALSE]) ++m4trace:configure.ac:3535: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_SYS_TYPES_H]) +-m4trace:configure.ac:3349: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TYPES_H]) +-m4trace:configure.ac:3349: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) +-m4trace:configure.ac:3349: -1- AH_OUTPUT([HAVE_SYS_TIME_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3535: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TYPES_H]) ++m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) ++m4trace:configure.ac:3535: -1- AH_OUTPUT([HAVE_SYS_TIME_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_SYS_TIME_H]) +-m4trace:configure.ac:3349: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TIME_H]) +-m4trace:configure.ac:3349: -1- m4_pattern_allow([^HAVE_SYS_TIME_H$]) +-m4trace:configure.ac:3349: -1- AH_OUTPUT([HAVE_SYS_SELECT_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3535: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TIME_H]) ++m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_SYS_TIME_H$]) ++m4trace:configure.ac:3535: -1- AH_OUTPUT([HAVE_SYS_SELECT_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_SYS_SELECT_H]) +-m4trace:configure.ac:3349: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_SELECT_H]) +-m4trace:configure.ac:3349: -1- m4_pattern_allow([^HAVE_SYS_SELECT_H$]) +-m4trace:configure.ac:3349: -1- AH_OUTPUT([HAVE_SYS_SOCKET_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3535: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_SELECT_H]) ++m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_SYS_SELECT_H$]) ++m4trace:configure.ac:3535: -1- AH_OUTPUT([HAVE_SYS_SOCKET_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_SYS_SOCKET_H]) +-m4trace:configure.ac:3349: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_SOCKET_H]) +-m4trace:configure.ac:3349: -1- m4_pattern_allow([^HAVE_SYS_SOCKET_H$]) +-m4trace:configure.ac:3349: -1- AH_OUTPUT([HAVE_SYS_IOCTL_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3535: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_SOCKET_H]) ++m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_SYS_SOCKET_H$]) ++m4trace:configure.ac:3535: -1- AH_OUTPUT([HAVE_SYS_IOCTL_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_SYS_IOCTL_H]) +-m4trace:configure.ac:3349: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_IOCTL_H]) +-m4trace:configure.ac:3349: -1- m4_pattern_allow([^HAVE_SYS_IOCTL_H$]) +-m4trace:configure.ac:3349: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3535: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_IOCTL_H]) ++m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_SYS_IOCTL_H$]) ++m4trace:configure.ac:3535: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_UNISTD_H]) +-m4trace:configure.ac:3349: -1- AC_DEFINE_TRACE_LITERAL([HAVE_UNISTD_H]) +-m4trace:configure.ac:3349: -1- m4_pattern_allow([^HAVE_UNISTD_H$]) +-m4trace:configure.ac:3349: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3535: -1- AC_DEFINE_TRACE_LITERAL([HAVE_UNISTD_H]) ++m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_UNISTD_H$]) ++m4trace:configure.ac:3535: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_STDLIB_H]) +-m4trace:configure.ac:3349: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STDLIB_H]) +-m4trace:configure.ac:3349: -1- m4_pattern_allow([^HAVE_STDLIB_H$]) +-m4trace:configure.ac:3349: -1- AH_OUTPUT([HAVE_ARPA_INET_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3535: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STDLIB_H]) ++m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_STDLIB_H$]) ++m4trace:configure.ac:3535: -1- AH_OUTPUT([HAVE_ARPA_INET_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_ARPA_INET_H]) +-m4trace:configure.ac:3349: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ARPA_INET_H]) +-m4trace:configure.ac:3349: -1- m4_pattern_allow([^HAVE_ARPA_INET_H$]) +-m4trace:configure.ac:3349: -1- AH_OUTPUT([HAVE_NET_IF_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3535: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ARPA_INET_H]) ++m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_ARPA_INET_H$]) ++m4trace:configure.ac:3535: -1- AH_OUTPUT([HAVE_NET_IF_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_NET_IF_H]) +-m4trace:configure.ac:3349: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NET_IF_H]) +-m4trace:configure.ac:3349: -1- m4_pattern_allow([^HAVE_NET_IF_H$]) +-m4trace:configure.ac:3349: -1- AH_OUTPUT([HAVE_NETINET_IN_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3535: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NET_IF_H]) ++m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_NET_IF_H$]) ++m4trace:configure.ac:3535: -1- AH_OUTPUT([HAVE_NETINET_IN_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_NETINET_IN_H]) +-m4trace:configure.ac:3349: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NETINET_IN_H]) +-m4trace:configure.ac:3349: -1- m4_pattern_allow([^HAVE_NETINET_IN_H$]) +-m4trace:configure.ac:3349: -1- AH_OUTPUT([HAVE_NETINET_IN6_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3535: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NETINET_IN_H]) ++m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_NETINET_IN_H$]) ++m4trace:configure.ac:3535: -1- AH_OUTPUT([HAVE_NETINET_IN6_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_NETINET_IN6_H]) +-m4trace:configure.ac:3349: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NETINET_IN6_H]) +-m4trace:configure.ac:3349: -1- m4_pattern_allow([^HAVE_NETINET_IN6_H$]) +-m4trace:configure.ac:3349: -1- AH_OUTPUT([HAVE_SYS_UN_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3535: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NETINET_IN6_H]) ++m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_NETINET_IN6_H$]) ++m4trace:configure.ac:3535: -1- AH_OUTPUT([HAVE_SYS_UN_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_SYS_UN_H]) +-m4trace:configure.ac:3349: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_UN_H]) +-m4trace:configure.ac:3349: -1- m4_pattern_allow([^HAVE_SYS_UN_H$]) +-m4trace:configure.ac:3349: -1- AH_OUTPUT([HAVE_LINUX_TCP_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3535: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_UN_H]) ++m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_SYS_UN_H$]) ++m4trace:configure.ac:3535: -1- AH_OUTPUT([HAVE_LINUX_TCP_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_LINUX_TCP_H]) +-m4trace:configure.ac:3349: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LINUX_TCP_H]) +-m4trace:configure.ac:3349: -1- m4_pattern_allow([^HAVE_LINUX_TCP_H$]) +-m4trace:configure.ac:3349: -1- AH_OUTPUT([HAVE_NETINET_TCP_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3535: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LINUX_TCP_H]) ++m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_LINUX_TCP_H$]) ++m4trace:configure.ac:3535: -1- AH_OUTPUT([HAVE_NETINET_TCP_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_NETINET_TCP_H]) +-m4trace:configure.ac:3349: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NETINET_TCP_H]) +-m4trace:configure.ac:3349: -1- m4_pattern_allow([^HAVE_NETINET_TCP_H$]) +-m4trace:configure.ac:3349: -1- AH_OUTPUT([HAVE_NETINET_UDP_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3535: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NETINET_TCP_H]) ++m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_NETINET_TCP_H$]) ++m4trace:configure.ac:3535: -1- AH_OUTPUT([HAVE_NETINET_UDP_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_NETINET_UDP_H]) +-m4trace:configure.ac:3349: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NETINET_UDP_H]) +-m4trace:configure.ac:3349: -1- m4_pattern_allow([^HAVE_NETINET_UDP_H$]) +-m4trace:configure.ac:3349: -1- AH_OUTPUT([HAVE_NETDB_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3535: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NETINET_UDP_H]) ++m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_NETINET_UDP_H$]) ++m4trace:configure.ac:3535: -1- AH_OUTPUT([HAVE_NETDB_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_NETDB_H]) +-m4trace:configure.ac:3349: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NETDB_H]) +-m4trace:configure.ac:3349: -1- m4_pattern_allow([^HAVE_NETDB_H$]) +-m4trace:configure.ac:3349: -1- AH_OUTPUT([HAVE_SYS_SOCKIO_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3535: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NETDB_H]) ++m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_NETDB_H$]) ++m4trace:configure.ac:3535: -1- AH_OUTPUT([HAVE_SYS_SOCKIO_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_SYS_SOCKIO_H]) +-m4trace:configure.ac:3349: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_SOCKIO_H]) +-m4trace:configure.ac:3349: -1- m4_pattern_allow([^HAVE_SYS_SOCKIO_H$]) +-m4trace:configure.ac:3349: -1- AH_OUTPUT([HAVE_SYS_STAT_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3535: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_SOCKIO_H]) ++m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_SYS_SOCKIO_H$]) ++m4trace:configure.ac:3535: -1- AH_OUTPUT([HAVE_SYS_STAT_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_SYS_STAT_H]) +-m4trace:configure.ac:3349: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_STAT_H]) +-m4trace:configure.ac:3349: -1- m4_pattern_allow([^HAVE_SYS_STAT_H$]) +-m4trace:configure.ac:3349: -1- AH_OUTPUT([HAVE_SYS_PARAM_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3535: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_STAT_H]) ++m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_SYS_STAT_H$]) ++m4trace:configure.ac:3535: -1- AH_OUTPUT([HAVE_SYS_PARAM_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_SYS_PARAM_H]) +-m4trace:configure.ac:3349: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_PARAM_H]) +-m4trace:configure.ac:3349: -1- m4_pattern_allow([^HAVE_SYS_PARAM_H$]) +-m4trace:configure.ac:3349: -1- AH_OUTPUT([HAVE_TERMIOS_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3535: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_PARAM_H]) ++m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_SYS_PARAM_H$]) ++m4trace:configure.ac:3535: -1- AH_OUTPUT([HAVE_TERMIOS_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_TERMIOS_H]) +-m4trace:configure.ac:3349: -1- AC_DEFINE_TRACE_LITERAL([HAVE_TERMIOS_H]) +-m4trace:configure.ac:3349: -1- m4_pattern_allow([^HAVE_TERMIOS_H$]) +-m4trace:configure.ac:3349: -1- AH_OUTPUT([HAVE_TERMIO_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3535: -1- AC_DEFINE_TRACE_LITERAL([HAVE_TERMIOS_H]) ++m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_TERMIOS_H$]) ++m4trace:configure.ac:3535: -1- AH_OUTPUT([HAVE_TERMIO_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_TERMIO_H]) +-m4trace:configure.ac:3349: -1- AC_DEFINE_TRACE_LITERAL([HAVE_TERMIO_H]) +-m4trace:configure.ac:3349: -1- m4_pattern_allow([^HAVE_TERMIO_H$]) +-m4trace:configure.ac:3349: -1- AH_OUTPUT([HAVE_FCNTL_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3535: -1- AC_DEFINE_TRACE_LITERAL([HAVE_TERMIO_H]) ++m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_TERMIO_H$]) ++m4trace:configure.ac:3535: -1- AH_OUTPUT([HAVE_FCNTL_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_FCNTL_H]) +-m4trace:configure.ac:3349: -1- AC_DEFINE_TRACE_LITERAL([HAVE_FCNTL_H]) +-m4trace:configure.ac:3349: -1- m4_pattern_allow([^HAVE_FCNTL_H$]) +-m4trace:configure.ac:3349: -1- AH_OUTPUT([HAVE_IO_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3535: -1- AC_DEFINE_TRACE_LITERAL([HAVE_FCNTL_H]) ++m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_FCNTL_H$]) ++m4trace:configure.ac:3535: -1- AH_OUTPUT([HAVE_IO_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_IO_H]) +-m4trace:configure.ac:3349: -1- AC_DEFINE_TRACE_LITERAL([HAVE_IO_H]) +-m4trace:configure.ac:3349: -1- m4_pattern_allow([^HAVE_IO_H$]) +-m4trace:configure.ac:3349: -1- AH_OUTPUT([HAVE_PWD_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3535: -1- AC_DEFINE_TRACE_LITERAL([HAVE_IO_H]) ++m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_IO_H$]) ++m4trace:configure.ac:3535: -1- AH_OUTPUT([HAVE_PWD_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_PWD_H]) +-m4trace:configure.ac:3349: -1- AC_DEFINE_TRACE_LITERAL([HAVE_PWD_H]) +-m4trace:configure.ac:3349: -1- m4_pattern_allow([^HAVE_PWD_H$]) +-m4trace:configure.ac:3349: -1- AH_OUTPUT([HAVE_UTIME_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3535: -1- AC_DEFINE_TRACE_LITERAL([HAVE_PWD_H]) ++m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_PWD_H$]) ++m4trace:configure.ac:3535: -1- AH_OUTPUT([HAVE_UTIME_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_UTIME_H]) +-m4trace:configure.ac:3349: -1- AC_DEFINE_TRACE_LITERAL([HAVE_UTIME_H]) +-m4trace:configure.ac:3349: -1- m4_pattern_allow([^HAVE_UTIME_H$]) +-m4trace:configure.ac:3349: -1- AH_OUTPUT([HAVE_SYS_UTIME_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3535: -1- AC_DEFINE_TRACE_LITERAL([HAVE_UTIME_H]) ++m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_UTIME_H$]) ++m4trace:configure.ac:3535: -1- AH_OUTPUT([HAVE_SYS_UTIME_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_SYS_UTIME_H]) +-m4trace:configure.ac:3349: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_UTIME_H]) +-m4trace:configure.ac:3349: -1- m4_pattern_allow([^HAVE_SYS_UTIME_H$]) +-m4trace:configure.ac:3349: -1- AH_OUTPUT([HAVE_SYS_POLL_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3535: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_UTIME_H]) ++m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_SYS_UTIME_H$]) ++m4trace:configure.ac:3535: -1- AH_OUTPUT([HAVE_SYS_POLL_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_SYS_POLL_H]) +-m4trace:configure.ac:3349: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_POLL_H]) +-m4trace:configure.ac:3349: -1- m4_pattern_allow([^HAVE_SYS_POLL_H$]) +-m4trace:configure.ac:3349: -1- AH_OUTPUT([HAVE_POLL_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3535: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_POLL_H]) ++m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_SYS_POLL_H$]) ++m4trace:configure.ac:3535: -1- AH_OUTPUT([HAVE_POLL_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_POLL_H]) +-m4trace:configure.ac:3349: -1- AC_DEFINE_TRACE_LITERAL([HAVE_POLL_H]) +-m4trace:configure.ac:3349: -1- m4_pattern_allow([^HAVE_POLL_H$]) +-m4trace:configure.ac:3349: -1- AH_OUTPUT([HAVE_SOCKET_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3535: -1- AC_DEFINE_TRACE_LITERAL([HAVE_POLL_H]) ++m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_POLL_H$]) ++m4trace:configure.ac:3535: -1- AH_OUTPUT([HAVE_SOCKET_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_SOCKET_H]) +-m4trace:configure.ac:3349: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SOCKET_H]) +-m4trace:configure.ac:3349: -1- m4_pattern_allow([^HAVE_SOCKET_H$]) +-m4trace:configure.ac:3349: -1- AH_OUTPUT([HAVE_SYS_RESOURCE_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3535: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SOCKET_H]) ++m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_SOCKET_H$]) ++m4trace:configure.ac:3535: -1- AH_OUTPUT([HAVE_SYS_RESOURCE_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_SYS_RESOURCE_H]) +-m4trace:configure.ac:3349: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_RESOURCE_H]) +-m4trace:configure.ac:3349: -1- m4_pattern_allow([^HAVE_SYS_RESOURCE_H$]) +-m4trace:configure.ac:3349: -1- AH_OUTPUT([HAVE_LIBGEN_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3535: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_RESOURCE_H]) ++m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_SYS_RESOURCE_H$]) ++m4trace:configure.ac:3535: -1- AH_OUTPUT([HAVE_LIBGEN_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_LIBGEN_H]) +-m4trace:configure.ac:3349: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBGEN_H]) +-m4trace:configure.ac:3349: -1- m4_pattern_allow([^HAVE_LIBGEN_H$]) +-m4trace:configure.ac:3349: -1- AH_OUTPUT([HAVE_LOCALE_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3535: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBGEN_H]) ++m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_LIBGEN_H$]) ++m4trace:configure.ac:3535: -1- AH_OUTPUT([HAVE_LOCALE_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_LOCALE_H]) +-m4trace:configure.ac:3349: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LOCALE_H]) +-m4trace:configure.ac:3349: -1- m4_pattern_allow([^HAVE_LOCALE_H$]) +-m4trace:configure.ac:3349: -1- AH_OUTPUT([HAVE_STDBOOL_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3535: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LOCALE_H]) ++m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_LOCALE_H$]) ++m4trace:configure.ac:3535: -1- AH_OUTPUT([HAVE_STDBOOL_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_STDBOOL_H]) +-m4trace:configure.ac:3349: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STDBOOL_H]) +-m4trace:configure.ac:3349: -1- m4_pattern_allow([^HAVE_STDBOOL_H$]) +-m4trace:configure.ac:3349: -1- AH_OUTPUT([HAVE_SYS_FILIO_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3535: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STDBOOL_H]) ++m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_STDBOOL_H$]) ++m4trace:configure.ac:3535: -1- AH_OUTPUT([HAVE_SYS_FILIO_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_SYS_FILIO_H]) +-m4trace:configure.ac:3349: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_FILIO_H]) +-m4trace:configure.ac:3349: -1- m4_pattern_allow([^HAVE_SYS_FILIO_H$]) +-m4trace:configure.ac:3349: -1- AH_OUTPUT([HAVE_SYS_WAIT_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3535: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_FILIO_H]) ++m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_SYS_FILIO_H$]) ++m4trace:configure.ac:3535: -1- AH_OUTPUT([HAVE_SYS_WAIT_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_SYS_WAIT_H]) +-m4trace:configure.ac:3349: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_WAIT_H]) +-m4trace:configure.ac:3349: -1- m4_pattern_allow([^HAVE_SYS_WAIT_H$]) +-m4trace:configure.ac:3349: -1- AH_OUTPUT([HAVE_SETJMP_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3535: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_WAIT_H]) ++m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_SYS_WAIT_H$]) ++m4trace:configure.ac:3535: -1- AH_OUTPUT([HAVE_SETJMP_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_SETJMP_H]) +-m4trace:configure.ac:3349: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SETJMP_H]) +-m4trace:configure.ac:3349: -1- m4_pattern_allow([^HAVE_SETJMP_H$]) +-m4trace:configure.ac:3420: -1- AC_DEFINE_TRACE_LITERAL([const]) +-m4trace:configure.ac:3420: -1- m4_pattern_allow([^const$]) +-m4trace:configure.ac:3420: -1- AH_OUTPUT([const], [/* Define to empty if `const\' does not conform to ANSI C. */ ++m4trace:configure.ac:3535: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SETJMP_H]) ++m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_SETJMP_H$]) ++m4trace:configure.ac:3606: -1- AC_DEFINE_TRACE_LITERAL([const]) ++m4trace:configure.ac:3606: -1- m4_pattern_allow([^const$]) ++m4trace:configure.ac:3606: -1- AH_OUTPUT([const], [/* Define to empty if `const\' does not conform to ANSI C. */ + @%:@undef const]) +-m4trace:configure.ac:3421: -1- AC_DEFINE_TRACE_LITERAL([HAVE_VARIADIC_MACROS_C99]) +-m4trace:configure.ac:3421: -1- m4_pattern_allow([^HAVE_VARIADIC_MACROS_C99$]) +-m4trace:configure.ac:3421: -1- AH_OUTPUT([HAVE_VARIADIC_MACROS_C99], [/* Define to 1 if compiler supports C99 variadic macro style. */ +-@%:@undef HAVE_VARIADIC_MACROS_C99]) +-m4trace:configure.ac:3421: -1- AC_DEFINE_TRACE_LITERAL([HAVE_VARIADIC_MACROS_GCC]) +-m4trace:configure.ac:3421: -1- m4_pattern_allow([^HAVE_VARIADIC_MACROS_GCC$]) +-m4trace:configure.ac:3421: -1- AH_OUTPUT([HAVE_VARIADIC_MACROS_GCC], [/* Define to 1 if compiler supports old gcc variadic macro style. */ +-@%:@undef HAVE_VARIADIC_MACROS_GCC]) +-m4trace:configure.ac:3422: -1- AC_DEFINE_TRACE_LITERAL([size_t]) +-m4trace:configure.ac:3422: -1- m4_pattern_allow([^size_t$]) +-m4trace:configure.ac:3422: -1- AH_OUTPUT([size_t], [/* Define to `unsigned int\' if does not define. */ ++m4trace:configure.ac:3607: -1- AC_DEFINE_TRACE_LITERAL([size_t]) ++m4trace:configure.ac:3607: -1- m4_pattern_allow([^size_t$]) ++m4trace:configure.ac:3607: -1- AH_OUTPUT([size_t], [/* Define to `unsigned int\' if does not define. */ + @%:@undef size_t]) +-m4trace:configure.ac:3424: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3609: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_SYS_TYPES_H]) +-m4trace:configure.ac:3424: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TYPES_H]) +-m4trace:configure.ac:3424: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) +-m4trace:configure.ac:3424: -1- AH_OUTPUT([HAVE_SYS_TIME_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3609: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TYPES_H]) ++m4trace:configure.ac:3609: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) ++m4trace:configure.ac:3609: -1- AH_OUTPUT([HAVE_SYS_TIME_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_SYS_TIME_H]) +-m4trace:configure.ac:3424: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TIME_H]) +-m4trace:configure.ac:3424: -1- m4_pattern_allow([^HAVE_SYS_TIME_H$]) +-m4trace:configure.ac:3424: -1- AH_OUTPUT([HAVE_SYS_SOCKET_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3609: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TIME_H]) ++m4trace:configure.ac:3609: -1- m4_pattern_allow([^HAVE_SYS_TIME_H$]) ++m4trace:configure.ac:3609: -1- AH_OUTPUT([HAVE_SYS_SOCKET_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_SYS_SOCKET_H]) +-m4trace:configure.ac:3424: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_SOCKET_H]) +-m4trace:configure.ac:3424: -1- m4_pattern_allow([^HAVE_SYS_SOCKET_H$]) +-m4trace:configure.ac:3424: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_TIMEVAL]) +-m4trace:configure.ac:3424: -1- m4_pattern_allow([^HAVE_STRUCT_TIMEVAL$]) +-m4trace:configure.ac:3424: -1- AH_OUTPUT([HAVE_STRUCT_TIMEVAL], [/* Define to 1 if you have the timeval struct. */ ++m4trace:configure.ac:3609: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_SOCKET_H]) ++m4trace:configure.ac:3609: -1- m4_pattern_allow([^HAVE_SYS_SOCKET_H$]) ++m4trace:configure.ac:3609: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_TIMEVAL]) ++m4trace:configure.ac:3609: -1- m4_pattern_allow([^HAVE_STRUCT_TIMEVAL$]) ++m4trace:configure.ac:3609: -1- AH_OUTPUT([HAVE_STRUCT_TIMEVAL], [/* Define to 1 if you have the timeval struct. */ + @%:@undef HAVE_STRUCT_TIMEVAL]) +-m4trace:configure.ac:3425: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:5818: CURL_RUN_IFELSE is expanded from... +-acinclude.m4:1353: CURL_VERIFY_RUNTIMELIBS is expanded from... +-configure.ac:3425: the top level]) +-m4trace:configure.ac:3425: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:5818: CURL_RUN_IFELSE is expanded from... +-acinclude.m4:1353: CURL_VERIFY_RUNTIMELIBS is expanded from... +-configure.ac:3425: the top level]) +-m4trace:configure.ac:3427: -1- AC_DEFINE_TRACE_LITERAL([SIZEOF_SIZE_T]) +-m4trace:configure.ac:3427: -1- m4_pattern_allow([^SIZEOF_SIZE_T$]) +-m4trace:configure.ac:3427: -1- AH_OUTPUT([SIZEOF_SIZE_T], [/* Size of size_t in number of bytes */ ++m4trace:configure.ac:3610: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:5778: CURL_RUN_IFELSE is expanded from... ++acinclude.m4:1178: CURL_VERIFY_RUNTIMELIBS is expanded from... ++configure.ac:3610: the top level]) ++m4trace:configure.ac:3610: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:5778: CURL_RUN_IFELSE is expanded from... ++acinclude.m4:1178: CURL_VERIFY_RUNTIMELIBS is expanded from... ++configure.ac:3610: the top level]) ++m4trace:configure.ac:3612: -1- AC_DEFINE_TRACE_LITERAL([SIZEOF_SIZE_T]) ++m4trace:configure.ac:3612: -1- m4_pattern_allow([^SIZEOF_SIZE_T$]) ++m4trace:configure.ac:3612: -1- AH_OUTPUT([SIZEOF_SIZE_T], [/* Size of size_t in number of bytes */ + @%:@undef SIZEOF_SIZE_T]) +-m4trace:configure.ac:3428: -1- AC_DEFINE_TRACE_LITERAL([SIZEOF_LONG]) +-m4trace:configure.ac:3428: -1- m4_pattern_allow([^SIZEOF_LONG$]) +-m4trace:configure.ac:3428: -1- AH_OUTPUT([SIZEOF_LONG], [/* Size of long in number of bytes */ ++m4trace:configure.ac:3613: -1- AC_DEFINE_TRACE_LITERAL([SIZEOF_LONG]) ++m4trace:configure.ac:3613: -1- m4_pattern_allow([^SIZEOF_LONG$]) ++m4trace:configure.ac:3613: -1- AH_OUTPUT([SIZEOF_LONG], [/* Size of long in number of bytes */ + @%:@undef SIZEOF_LONG]) +-m4trace:configure.ac:3429: -1- AC_DEFINE_TRACE_LITERAL([SIZEOF_INT]) +-m4trace:configure.ac:3429: -1- m4_pattern_allow([^SIZEOF_INT$]) +-m4trace:configure.ac:3429: -1- AH_OUTPUT([SIZEOF_INT], [/* Size of int in number of bytes */ ++m4trace:configure.ac:3614: -1- AC_DEFINE_TRACE_LITERAL([SIZEOF_INT]) ++m4trace:configure.ac:3614: -1- m4_pattern_allow([^SIZEOF_INT$]) ++m4trace:configure.ac:3614: -1- AH_OUTPUT([SIZEOF_INT], [/* Size of int in number of bytes */ + @%:@undef SIZEOF_INT]) +-m4trace:configure.ac:3430: -1- AC_DEFINE_TRACE_LITERAL([SIZEOF_TIME_T]) +-m4trace:configure.ac:3430: -1- m4_pattern_allow([^SIZEOF_TIME_T$]) +-m4trace:configure.ac:3430: -1- AH_OUTPUT([SIZEOF_TIME_T], [/* Size of time_t in number of bytes */ ++m4trace:configure.ac:3615: -1- AC_DEFINE_TRACE_LITERAL([SIZEOF_TIME_T]) ++m4trace:configure.ac:3615: -1- m4_pattern_allow([^SIZEOF_TIME_T$]) ++m4trace:configure.ac:3615: -1- AH_OUTPUT([SIZEOF_TIME_T], [/* Size of time_t in number of bytes */ + @%:@undef SIZEOF_TIME_T]) +-m4trace:configure.ac:3431: -1- AC_DEFINE_TRACE_LITERAL([SIZEOF_OFF_T]) +-m4trace:configure.ac:3431: -1- m4_pattern_allow([^SIZEOF_OFF_T$]) +-m4trace:configure.ac:3431: -1- AH_OUTPUT([SIZEOF_OFF_T], [/* Size of off_t in number of bytes */ ++m4trace:configure.ac:3616: -1- AC_DEFINE_TRACE_LITERAL([SIZEOF_OFF_T]) ++m4trace:configure.ac:3616: -1- m4_pattern_allow([^SIZEOF_OFF_T$]) ++m4trace:configure.ac:3616: -1- AH_OUTPUT([SIZEOF_OFF_T], [/* Size of off_t in number of bytes */ + @%:@undef SIZEOF_OFF_T]) +-m4trace:configure.ac:3435: -1- AC_DEFINE_TRACE_LITERAL([SIZEOF_CURL_OFF_T]) +-m4trace:configure.ac:3435: -1- m4_pattern_allow([^SIZEOF_CURL_OFF_T$]) +-m4trace:configure.ac:3435: -1- AH_OUTPUT([SIZEOF_CURL_OFF_T], [/* Size of curl_off_t in number of bytes */ ++m4trace:configure.ac:3620: -1- AC_DEFINE_TRACE_LITERAL([SIZEOF_CURL_OFF_T]) ++m4trace:configure.ac:3620: -1- m4_pattern_allow([^SIZEOF_CURL_OFF_T$]) ++m4trace:configure.ac:3620: -1- AH_OUTPUT([SIZEOF_CURL_OFF_T], [/* Size of curl_off_t in number of bytes */ + @%:@undef SIZEOF_CURL_OFF_T]) +-m4trace:configure.ac:3438: -1- AC_DEFINE_TRACE_LITERAL([SIZEOF_CURL_SOCKET_T]) +-m4trace:configure.ac:3438: -1- m4_pattern_allow([^SIZEOF_CURL_SOCKET_T$]) +-m4trace:configure.ac:3438: -1- AH_OUTPUT([SIZEOF_CURL_SOCKET_T], [/* Size of curl_socket_t in number of bytes */ ++m4trace:configure.ac:3623: -1- AC_DEFINE_TRACE_LITERAL([SIZEOF_CURL_SOCKET_T]) ++m4trace:configure.ac:3623: -1- m4_pattern_allow([^SIZEOF_CURL_SOCKET_T$]) ++m4trace:configure.ac:3623: -1- AH_OUTPUT([SIZEOF_CURL_SOCKET_T], [/* Size of curl_socket_t in number of bytes */ + @%:@undef SIZEOF_CURL_SOCKET_T]) +-m4trace:configure.ac:3443: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LONGLONG]) +-m4trace:configure.ac:3443: -1- m4_pattern_allow([^HAVE_LONGLONG$]) +-m4trace:configure.ac:3443: -1- AH_OUTPUT([HAVE_LONGLONG], [/* Define to 1 if the compiler supports the \'long long\' data type. */ ++m4trace:configure.ac:3628: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LONGLONG]) ++m4trace:configure.ac:3628: -1- m4_pattern_allow([^HAVE_LONGLONG$]) ++m4trace:configure.ac:3628: -1- AH_OUTPUT([HAVE_LONGLONG], [/* Define to 1 if the compiler supports the \'long long\' data type. */ + @%:@undef HAVE_LONGLONG]) +-m4trace:configure.ac:3455: -2- AC_DEFINE_TRACE_LITERAL([ssize_t]) +-m4trace:configure.ac:3455: -2- m4_pattern_allow([^ssize_t$]) +-m4trace:configure.ac:3455: -2- AH_OUTPUT([ssize_t], [/* the signed version of size_t */ ++m4trace:configure.ac:3640: -2- AC_DEFINE_TRACE_LITERAL([ssize_t]) ++m4trace:configure.ac:3640: -2- m4_pattern_allow([^ssize_t$]) ++m4trace:configure.ac:3640: -2- AH_OUTPUT([ssize_t], [/* the signed version of size_t */ + @%:@undef ssize_t]) +-m4trace:configure.ac:3458: -1- AC_DEFINE_TRACE_LITERAL([HAVE_BOOL_T]) +-m4trace:configure.ac:3458: -1- m4_pattern_allow([^HAVE_BOOL_T$]) +-m4trace:configure.ac:3458: -1- AH_OUTPUT([HAVE_BOOL_T], [/* Define to 1 if bool is an available type. */ ++m4trace:configure.ac:3643: -1- AC_DEFINE_TRACE_LITERAL([HAVE_BOOL_T]) ++m4trace:configure.ac:3643: -1- m4_pattern_allow([^HAVE_BOOL_T$]) ++m4trace:configure.ac:3643: -1- AH_OUTPUT([HAVE_BOOL_T], [/* Define to 1 if bool is an available type. */ + @%:@undef HAVE_BOOL_T]) +-m4trace:configure.ac:3472: -2- AC_DEFINE_TRACE_LITERAL([CURL_SA_FAMILY_T]) +-m4trace:configure.ac:3472: -2- m4_pattern_allow([^CURL_SA_FAMILY_T$]) +-m4trace:configure.ac:3472: -2- AH_OUTPUT([CURL_SA_FAMILY_T], [/* IP address type in sockaddr */ ++m4trace:configure.ac:3657: -2- AC_DEFINE_TRACE_LITERAL([CURL_SA_FAMILY_T]) ++m4trace:configure.ac:3657: -2- m4_pattern_allow([^CURL_SA_FAMILY_T$]) ++m4trace:configure.ac:3657: -2- AH_OUTPUT([CURL_SA_FAMILY_T], [/* IP address type in sockaddr */ + @%:@undef CURL_SA_FAMILY_T]) +-m4trace:configure.ac:3471: -2- AC_DEFINE_TRACE_LITERAL([CURL_SA_FAMILY_T]) +-m4trace:configure.ac:3471: -2- m4_pattern_allow([^CURL_SA_FAMILY_T$]) +-m4trace:configure.ac:3471: -2- AH_OUTPUT([CURL_SA_FAMILY_T], [/* IP address type in sockaddr */ ++m4trace:configure.ac:3656: -2- AC_DEFINE_TRACE_LITERAL([CURL_SA_FAMILY_T]) ++m4trace:configure.ac:3656: -2- m4_pattern_allow([^CURL_SA_FAMILY_T$]) ++m4trace:configure.ac:3656: -2- AH_OUTPUT([CURL_SA_FAMILY_T], [/* IP address type in sockaddr */ + @%:@undef CURL_SA_FAMILY_T]) +-m4trace:configure.ac:3471: -2- AC_DEFINE_TRACE_LITERAL([CURL_SA_FAMILY_T]) +-m4trace:configure.ac:3471: -2- m4_pattern_allow([^CURL_SA_FAMILY_T$]) +-m4trace:configure.ac:3471: -2- AH_OUTPUT([CURL_SA_FAMILY_T], [/* IP address type in sockaddr */ ++m4trace:configure.ac:3656: -2- AC_DEFINE_TRACE_LITERAL([CURL_SA_FAMILY_T]) ++m4trace:configure.ac:3656: -2- m4_pattern_allow([^CURL_SA_FAMILY_T$]) ++m4trace:configure.ac:3656: -2- AH_OUTPUT([CURL_SA_FAMILY_T], [/* IP address type in sockaddr */ + @%:@undef CURL_SA_FAMILY_T]) +-m4trace:configure.ac:3491: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SUSECONDS_T]) +-m4trace:configure.ac:3491: -1- m4_pattern_allow([^HAVE_SUSECONDS_T$]) +-m4trace:configure.ac:3491: -1- AH_OUTPUT([HAVE_SUSECONDS_T], [/* Define to 1 if suseconds_t is an available type. */ ++m4trace:configure.ac:3682: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SUSECONDS_T]) ++m4trace:configure.ac:3682: -1- m4_pattern_allow([^HAVE_SUSECONDS_T$]) ++m4trace:configure.ac:3682: -1- AH_OUTPUT([HAVE_SUSECONDS_T], [/* Define to 1 if suseconds_t is an available type. */ + @%:@undef HAVE_SUSECONDS_T]) +-m4trace:configure.ac:3504: -2- AC_DEFINE_TRACE_LITERAL([HAVE_TIME_T_UNSIGNED]) +-m4trace:configure.ac:3504: -2- m4_pattern_allow([^HAVE_TIME_T_UNSIGNED$]) +-m4trace:configure.ac:3504: -2- AH_OUTPUT([HAVE_TIME_T_UNSIGNED], [/* Define this if time_t is unsigned */ ++m4trace:configure.ac:3695: -2- AC_DEFINE_TRACE_LITERAL([HAVE_TIME_T_UNSIGNED]) ++m4trace:configure.ac:3695: -2- m4_pattern_allow([^HAVE_TIME_T_UNSIGNED$]) ++m4trace:configure.ac:3695: -2- AH_OUTPUT([HAVE_TIME_T_UNSIGNED], [/* Define this if time_t is unsigned */ + @%:@undef HAVE_TIME_T_UNSIGNED]) +-m4trace:configure.ac:3504: -2- AC_DEFINE_TRACE_LITERAL([HAVE_TIME_T_UNSIGNED]) +-m4trace:configure.ac:3504: -2- m4_pattern_allow([^HAVE_TIME_T_UNSIGNED$]) +-m4trace:configure.ac:3504: -2- AH_OUTPUT([HAVE_TIME_T_UNSIGNED], [/* Define this if time_t is unsigned */ ++m4trace:configure.ac:3695: -2- AC_DEFINE_TRACE_LITERAL([HAVE_TIME_T_UNSIGNED]) ++m4trace:configure.ac:3695: -2- m4_pattern_allow([^HAVE_TIME_T_UNSIGNED$]) ++m4trace:configure.ac:3695: -2- AH_OUTPUT([HAVE_TIME_T_UNSIGNED], [/* Define this if time_t is unsigned */ + @%:@undef HAVE_TIME_T_UNSIGNED]) +-m4trace:configure.ac:3522: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the header file. */ +-@%:@undef HAVE_SYS_TYPES_H]) +-m4trace:configure.ac:3522: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TYPES_H]) +-m4trace:configure.ac:3522: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) +-m4trace:configure.ac:3522: -1- AH_OUTPUT([HAVE_POLL_H], [/* Define to 1 if you have the header file. */ +-@%:@undef HAVE_POLL_H]) +-m4trace:configure.ac:3522: -1- AC_DEFINE_TRACE_LITERAL([HAVE_POLL_H]) +-m4trace:configure.ac:3522: -1- m4_pattern_allow([^HAVE_POLL_H$]) +-m4trace:configure.ac:3522: -1- AH_OUTPUT([HAVE_SYS_POLL_H], [/* Define to 1 if you have the header file. */ +-@%:@undef HAVE_SYS_POLL_H]) +-m4trace:configure.ac:3522: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_POLL_H]) +-m4trace:configure.ac:3522: -1- m4_pattern_allow([^HAVE_SYS_POLL_H$]) +-m4trace:configure.ac:3524: -1- AC_DEFINE_TRACE_LITERAL([in_addr_t]) +-m4trace:configure.ac:3524: -1- m4_pattern_allow([^in_addr_t$]) +-m4trace:configure.ac:3524: -1- AH_OUTPUT([in_addr_t], [/* Type to use in place of in_addr_t when system does not provide it. */ ++m4trace:configure.ac:3713: -1- AC_DEFINE_TRACE_LITERAL([in_addr_t]) ++m4trace:configure.ac:3713: -1- m4_pattern_allow([^in_addr_t$]) ++m4trace:configure.ac:3713: -1- AH_OUTPUT([in_addr_t], [/* Type to use in place of in_addr_t when system does not provide it. */ + @%:@undef in_addr_t]) +-m4trace:configure.ac:3526: -2- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_SOCKADDR_STORAGE]) +-m4trace:configure.ac:3526: -2- m4_pattern_allow([^HAVE_STRUCT_SOCKADDR_STORAGE$]) +-m4trace:configure.ac:3526: -2- AH_OUTPUT([HAVE_STRUCT_SOCKADDR_STORAGE], [/* if struct sockaddr_storage is defined */ ++m4trace:configure.ac:3715: -2- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_SOCKADDR_STORAGE]) ++m4trace:configure.ac:3715: -2- m4_pattern_allow([^HAVE_STRUCT_SOCKADDR_STORAGE$]) ++m4trace:configure.ac:3715: -2- AH_OUTPUT([HAVE_STRUCT_SOCKADDR_STORAGE], [/* if struct sockaddr_storage is defined */ + @%:@undef HAVE_STRUCT_SOCKADDR_STORAGE]) +-m4trace:configure.ac:3528: -1- AH_OUTPUT([HAVE_SYS_SELECT_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3717: -1- AH_OUTPUT([HAVE_SYS_SELECT_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_SYS_SELECT_H]) +-m4trace:configure.ac:3528: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_SELECT_H]) +-m4trace:configure.ac:3528: -1- m4_pattern_allow([^HAVE_SYS_SELECT_H$]) +-m4trace:configure.ac:3528: -1- AH_OUTPUT([HAVE_SYS_SOCKET_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3717: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_SELECT_H]) ++m4trace:configure.ac:3717: -1- m4_pattern_allow([^HAVE_SYS_SELECT_H$]) ++m4trace:configure.ac:3717: -1- AH_OUTPUT([HAVE_SYS_SOCKET_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_SYS_SOCKET_H]) +-m4trace:configure.ac:3528: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_SOCKET_H]) +-m4trace:configure.ac:3528: -1- m4_pattern_allow([^HAVE_SYS_SOCKET_H$]) +-m4trace:configure.ac:3528: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SELECT]) +-m4trace:configure.ac:3528: -1- m4_pattern_allow([^HAVE_SELECT$]) +-m4trace:configure.ac:3528: -1- AH_OUTPUT([HAVE_SELECT], [/* Define to 1 if you have the select function. */ ++m4trace:configure.ac:3717: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_SOCKET_H]) ++m4trace:configure.ac:3717: -1- m4_pattern_allow([^HAVE_SYS_SOCKET_H$]) ++m4trace:configure.ac:3717: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SELECT]) ++m4trace:configure.ac:3717: -1- m4_pattern_allow([^HAVE_SELECT$]) ++m4trace:configure.ac:3717: -1- AH_OUTPUT([HAVE_SELECT], [/* Define to 1 if you have the select function. */ + @%:@undef HAVE_SELECT]) +-m4trace:configure.ac:3530: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3719: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_SYS_TYPES_H]) +-m4trace:configure.ac:3530: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TYPES_H]) +-m4trace:configure.ac:3530: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) +-m4trace:configure.ac:3530: -1- AH_OUTPUT([HAVE_SYS_SOCKET_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3719: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TYPES_H]) ++m4trace:configure.ac:3719: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) ++m4trace:configure.ac:3719: -1- AH_OUTPUT([HAVE_SYS_SOCKET_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_SYS_SOCKET_H]) +-m4trace:configure.ac:3530: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_SOCKET_H]) +-m4trace:configure.ac:3530: -1- m4_pattern_allow([^HAVE_SYS_SOCKET_H$]) +-m4trace:configure.ac:3530: -1- AC_DEFINE_TRACE_LITERAL([HAVE_RECV]) +-m4trace:configure.ac:3530: -1- m4_pattern_allow([^HAVE_RECV$]) +-m4trace:configure.ac:3530: -1- AH_OUTPUT([HAVE_RECV], [/* Define to 1 if you have the recv function. */ ++m4trace:configure.ac:3719: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_SOCKET_H]) ++m4trace:configure.ac:3719: -1- m4_pattern_allow([^HAVE_SYS_SOCKET_H$]) ++m4trace:configure.ac:3719: -1- AC_DEFINE_TRACE_LITERAL([HAVE_RECV]) ++m4trace:configure.ac:3719: -1- m4_pattern_allow([^HAVE_RECV$]) ++m4trace:configure.ac:3719: -1- AH_OUTPUT([HAVE_RECV], [/* Define to 1 if you have the recv function. */ + @%:@undef HAVE_RECV]) +-m4trace:configure.ac:3531: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3720: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_SYS_TYPES_H]) +-m4trace:configure.ac:3531: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TYPES_H]) +-m4trace:configure.ac:3531: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) +-m4trace:configure.ac:3531: -1- AH_OUTPUT([HAVE_SYS_SOCKET_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3720: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TYPES_H]) ++m4trace:configure.ac:3720: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) ++m4trace:configure.ac:3720: -1- AH_OUTPUT([HAVE_SYS_SOCKET_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_SYS_SOCKET_H]) +-m4trace:configure.ac:3531: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_SOCKET_H]) +-m4trace:configure.ac:3531: -1- m4_pattern_allow([^HAVE_SYS_SOCKET_H$]) +-m4trace:configure.ac:3531: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SEND]) +-m4trace:configure.ac:3531: -1- m4_pattern_allow([^HAVE_SEND$]) +-m4trace:configure.ac:3531: -1- AH_OUTPUT([HAVE_SEND], [/* Define to 1 if you have the send function. */ ++m4trace:configure.ac:3720: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_SOCKET_H]) ++m4trace:configure.ac:3720: -1- m4_pattern_allow([^HAVE_SYS_SOCKET_H$]) ++m4trace:configure.ac:3720: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SEND]) ++m4trace:configure.ac:3720: -1- m4_pattern_allow([^HAVE_SEND$]) ++m4trace:configure.ac:3720: -1- AH_OUTPUT([HAVE_SEND], [/* Define to 1 if you have the send function. */ + @%:@undef HAVE_SEND]) +-m4trace:configure.ac:3532: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3721: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_SYS_TYPES_H]) +-m4trace:configure.ac:3532: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TYPES_H]) +-m4trace:configure.ac:3532: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) +-m4trace:configure.ac:3532: -1- AH_OUTPUT([HAVE_SYS_SOCKET_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3721: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TYPES_H]) ++m4trace:configure.ac:3721: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) ++m4trace:configure.ac:3721: -1- AH_OUTPUT([HAVE_SYS_SOCKET_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_SYS_SOCKET_H]) +-m4trace:configure.ac:3532: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_SOCKET_H]) +-m4trace:configure.ac:3532: -1- m4_pattern_allow([^HAVE_SYS_SOCKET_H$]) +-m4trace:configure.ac:3532: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MSG_NOSIGNAL]) +-m4trace:configure.ac:3532: -1- m4_pattern_allow([^HAVE_MSG_NOSIGNAL$]) +-m4trace:configure.ac:3532: -1- AH_OUTPUT([HAVE_MSG_NOSIGNAL], [/* Define to 1 if you have the MSG_NOSIGNAL flag. */ ++m4trace:configure.ac:3721: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_SOCKET_H]) ++m4trace:configure.ac:3721: -1- m4_pattern_allow([^HAVE_SYS_SOCKET_H$]) ++m4trace:configure.ac:3721: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MSG_NOSIGNAL]) ++m4trace:configure.ac:3721: -1- m4_pattern_allow([^HAVE_MSG_NOSIGNAL$]) ++m4trace:configure.ac:3721: -1- AH_OUTPUT([HAVE_MSG_NOSIGNAL], [/* Define to 1 if you have the MSG_NOSIGNAL flag. */ + @%:@undef HAVE_MSG_NOSIGNAL]) +-m4trace:configure.ac:3534: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3723: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_SYS_TYPES_H]) +-m4trace:configure.ac:3534: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TYPES_H]) +-m4trace:configure.ac:3534: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) +-m4trace:configure.ac:3534: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3723: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TYPES_H]) ++m4trace:configure.ac:3723: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) ++m4trace:configure.ac:3723: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_UNISTD_H]) +-m4trace:configure.ac:3534: -1- AC_DEFINE_TRACE_LITERAL([HAVE_UNISTD_H]) +-m4trace:configure.ac:3534: -1- m4_pattern_allow([^HAVE_UNISTD_H$]) +-m4trace:configure.ac:3534: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ALARM]) +-m4trace:configure.ac:3534: -1- m4_pattern_allow([^HAVE_ALARM$]) +-m4trace:configure.ac:3534: -1- AH_OUTPUT([HAVE_ALARM], [/* Define to 1 if you have the alarm function. */ ++m4trace:configure.ac:3723: -1- AC_DEFINE_TRACE_LITERAL([HAVE_UNISTD_H]) ++m4trace:configure.ac:3723: -1- m4_pattern_allow([^HAVE_UNISTD_H$]) ++m4trace:configure.ac:3723: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ALARM]) ++m4trace:configure.ac:3723: -1- m4_pattern_allow([^HAVE_ALARM$]) ++m4trace:configure.ac:3723: -1- AH_OUTPUT([HAVE_ALARM], [/* Define to 1 if you have the alarm function. */ + @%:@undef HAVE_ALARM]) +-m4trace:configure.ac:3535: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3724: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_SYS_TYPES_H]) +-m4trace:configure.ac:3535: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TYPES_H]) +-m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) +-m4trace:configure.ac:3535: -1- AH_OUTPUT([HAVE_STRINGS_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3724: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TYPES_H]) ++m4trace:configure.ac:3724: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) ++m4trace:configure.ac:3724: -1- AH_OUTPUT([HAVE_STRINGS_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_STRINGS_H]) +-m4trace:configure.ac:3535: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRINGS_H]) +-m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_STRINGS_H$]) +-m4trace:configure.ac:3535: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3724: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRINGS_H]) ++m4trace:configure.ac:3724: -1- m4_pattern_allow([^HAVE_STRINGS_H$]) ++m4trace:configure.ac:3724: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_SYS_TYPES_H]) +-m4trace:configure.ac:3535: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TYPES_H]) +-m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) +-m4trace:configure.ac:3535: -1- AH_OUTPUT([HAVE_LIBGEN_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3724: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TYPES_H]) ++m4trace:configure.ac:3724: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) ++m4trace:configure.ac:3724: -1- AH_OUTPUT([HAVE_LIBGEN_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_LIBGEN_H]) +-m4trace:configure.ac:3535: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBGEN_H]) +-m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_LIBGEN_H$]) +-m4trace:configure.ac:3535: -1- AC_DEFINE_TRACE_LITERAL([HAVE_BASENAME]) +-m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_BASENAME$]) +-m4trace:configure.ac:3535: -1- AH_OUTPUT([HAVE_BASENAME], [/* Define to 1 if you have the basename function. */ ++m4trace:configure.ac:3724: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBGEN_H]) ++m4trace:configure.ac:3724: -1- m4_pattern_allow([^HAVE_LIBGEN_H$]) ++m4trace:configure.ac:3724: -1- AC_DEFINE_TRACE_LITERAL([HAVE_BASENAME]) ++m4trace:configure.ac:3724: -1- m4_pattern_allow([^HAVE_BASENAME$]) ++m4trace:configure.ac:3724: -1- AH_OUTPUT([HAVE_BASENAME], [/* Define to 1 if you have the basename function. */ + @%:@undef HAVE_BASENAME]) +-m4trace:configure.ac:3536: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3725: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_SYS_TYPES_H]) +-m4trace:configure.ac:3536: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TYPES_H]) +-m4trace:configure.ac:3536: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) +-m4trace:configure.ac:3536: -1- AH_OUTPUT([HAVE_SOCKET_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3725: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TYPES_H]) ++m4trace:configure.ac:3725: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) ++m4trace:configure.ac:3725: -1- AH_OUTPUT([HAVE_SOCKET_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_SOCKET_H]) +-m4trace:configure.ac:3536: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SOCKET_H]) +-m4trace:configure.ac:3536: -1- m4_pattern_allow([^HAVE_SOCKET_H$]) +-m4trace:configure.ac:3536: -1- AC_DEFINE_TRACE_LITERAL([HAVE_CLOSESOCKET]) +-m4trace:configure.ac:3536: -1- m4_pattern_allow([^HAVE_CLOSESOCKET$]) +-m4trace:configure.ac:3536: -1- AH_OUTPUT([HAVE_CLOSESOCKET], [/* Define to 1 if you have the closesocket function. */ ++m4trace:configure.ac:3725: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SOCKET_H]) ++m4trace:configure.ac:3725: -1- m4_pattern_allow([^HAVE_SOCKET_H$]) ++m4trace:configure.ac:3725: -1- AC_DEFINE_TRACE_LITERAL([HAVE_CLOSESOCKET]) ++m4trace:configure.ac:3725: -1- m4_pattern_allow([^HAVE_CLOSESOCKET$]) ++m4trace:configure.ac:3725: -1- AH_OUTPUT([HAVE_CLOSESOCKET], [/* Define to 1 if you have the closesocket function. */ + @%:@undef HAVE_CLOSESOCKET]) +-m4trace:configure.ac:3537: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3726: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_SYS_TYPES_H]) +-m4trace:configure.ac:3537: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TYPES_H]) +-m4trace:configure.ac:3537: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) +-m4trace:configure.ac:3537: -1- AH_OUTPUT([HAVE_SYS_SOCKET_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3726: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TYPES_H]) ++m4trace:configure.ac:3726: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) ++m4trace:configure.ac:3726: -1- AH_OUTPUT([HAVE_SYS_SOCKET_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_SYS_SOCKET_H]) +-m4trace:configure.ac:3537: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_SOCKET_H]) +-m4trace:configure.ac:3537: -1- m4_pattern_allow([^HAVE_SYS_SOCKET_H$]) +-m4trace:configure.ac:3537: -1- AC_DEFINE_TRACE_LITERAL([HAVE_CLOSESOCKET_CAMEL]) +-m4trace:configure.ac:3537: -1- m4_pattern_allow([^HAVE_CLOSESOCKET_CAMEL$]) +-m4trace:configure.ac:3537: -1- AH_OUTPUT([HAVE_CLOSESOCKET_CAMEL], [/* Define to 1 if you have the CloseSocket camel case function. */ ++m4trace:configure.ac:3726: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_SOCKET_H]) ++m4trace:configure.ac:3726: -1- m4_pattern_allow([^HAVE_SYS_SOCKET_H$]) ++m4trace:configure.ac:3726: -1- AC_DEFINE_TRACE_LITERAL([HAVE_CLOSESOCKET_CAMEL]) ++m4trace:configure.ac:3726: -1- m4_pattern_allow([^HAVE_CLOSESOCKET_CAMEL$]) ++m4trace:configure.ac:3726: -1- AH_OUTPUT([HAVE_CLOSESOCKET_CAMEL], [/* Define to 1 if you have the CloseSocket camel case function. */ + @%:@undef HAVE_CLOSESOCKET_CAMEL]) +-m4trace:configure.ac:3538: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3727: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_SYS_TYPES_H]) +-m4trace:configure.ac:3538: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TYPES_H]) +-m4trace:configure.ac:3538: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) +-m4trace:configure.ac:3538: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3727: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TYPES_H]) ++m4trace:configure.ac:3727: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) ++m4trace:configure.ac:3727: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_UNISTD_H]) +-m4trace:configure.ac:3538: -1- AC_DEFINE_TRACE_LITERAL([HAVE_UNISTD_H]) +-m4trace:configure.ac:3538: -1- m4_pattern_allow([^HAVE_UNISTD_H$]) +-m4trace:configure.ac:3538: -1- AH_OUTPUT([HAVE_FCNTL_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3727: -1- AC_DEFINE_TRACE_LITERAL([HAVE_UNISTD_H]) ++m4trace:configure.ac:3727: -1- m4_pattern_allow([^HAVE_UNISTD_H$]) ++m4trace:configure.ac:3727: -1- AH_OUTPUT([HAVE_FCNTL_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_FCNTL_H]) +-m4trace:configure.ac:3538: -1- AC_DEFINE_TRACE_LITERAL([HAVE_FCNTL_H]) +-m4trace:configure.ac:3538: -1- m4_pattern_allow([^HAVE_FCNTL_H$]) +-m4trace:configure.ac:3538: -1- AC_DEFINE_TRACE_LITERAL([HAVE_FCNTL]) +-m4trace:configure.ac:3538: -1- m4_pattern_allow([^HAVE_FCNTL$]) +-m4trace:configure.ac:3538: -1- AH_OUTPUT([HAVE_FCNTL], [/* Define to 1 if you have the fcntl function. */ ++m4trace:configure.ac:3727: -1- AC_DEFINE_TRACE_LITERAL([HAVE_FCNTL_H]) ++m4trace:configure.ac:3727: -1- m4_pattern_allow([^HAVE_FCNTL_H$]) ++m4trace:configure.ac:3727: -1- AC_DEFINE_TRACE_LITERAL([HAVE_FCNTL]) ++m4trace:configure.ac:3727: -1- m4_pattern_allow([^HAVE_FCNTL$]) ++m4trace:configure.ac:3727: -1- AH_OUTPUT([HAVE_FCNTL], [/* Define to 1 if you have the fcntl function. */ + @%:@undef HAVE_FCNTL]) +-m4trace:configure.ac:3538: -1- AC_DEFINE_TRACE_LITERAL([HAVE_FCNTL_O_NONBLOCK]) +-m4trace:configure.ac:3538: -1- m4_pattern_allow([^HAVE_FCNTL_O_NONBLOCK$]) +-m4trace:configure.ac:3538: -1- AH_OUTPUT([HAVE_FCNTL_O_NONBLOCK], [/* Define to 1 if you have a working fcntl O_NONBLOCK function. */ ++m4trace:configure.ac:3727: -1- AC_DEFINE_TRACE_LITERAL([HAVE_FCNTL_O_NONBLOCK]) ++m4trace:configure.ac:3727: -1- m4_pattern_allow([^HAVE_FCNTL_O_NONBLOCK$]) ++m4trace:configure.ac:3727: -1- AH_OUTPUT([HAVE_FCNTL_O_NONBLOCK], [/* Define to 1 if you have a working fcntl O_NONBLOCK function. */ + @%:@undef HAVE_FCNTL_O_NONBLOCK]) +-m4trace:configure.ac:3539: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WINDOWS_H]) +-m4trace:configure.ac:3539: -1- m4_pattern_allow([^HAVE_WINDOWS_H$]) +-m4trace:configure.ac:3539: -1- AH_OUTPUT([HAVE_WINDOWS_H], [/* Define to 1 if you have the windows.h header file. */ +-@%:@undef HAVE_WINDOWS_H]) +-m4trace:configure.ac:3539: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WINSOCK2_H]) +-m4trace:configure.ac:3539: -1- m4_pattern_allow([^HAVE_WINSOCK2_H$]) +-m4trace:configure.ac:3539: -1- AH_OUTPUT([HAVE_WINSOCK2_H], [/* Define to 1 if you have the winsock2.h header file. */ +-@%:@undef HAVE_WINSOCK2_H]) +-m4trace:configure.ac:3539: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WS2TCPIP_H]) +-m4trace:configure.ac:3539: -1- m4_pattern_allow([^HAVE_WS2TCPIP_H$]) +-m4trace:configure.ac:3539: -1- AH_OUTPUT([HAVE_WS2TCPIP_H], [/* Define to 1 if you have the ws2tcpip.h header file. */ +-@%:@undef HAVE_WS2TCPIP_H]) +-m4trace:configure.ac:3539: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3728: -1- AM_CONDITIONAL([DOING_NATIVE_WINDOWS], [test "x$curl_cv_native_windows" = xyes]) ++m4trace:configure.ac:3728: -1- AC_SUBST([DOING_NATIVE_WINDOWS_TRUE]) ++m4trace:configure.ac:3728: -1- AC_SUBST_TRACE([DOING_NATIVE_WINDOWS_TRUE]) ++m4trace:configure.ac:3728: -1- m4_pattern_allow([^DOING_NATIVE_WINDOWS_TRUE$]) ++m4trace:configure.ac:3728: -1- AC_SUBST([DOING_NATIVE_WINDOWS_FALSE]) ++m4trace:configure.ac:3728: -1- AC_SUBST_TRACE([DOING_NATIVE_WINDOWS_FALSE]) ++m4trace:configure.ac:3728: -1- m4_pattern_allow([^DOING_NATIVE_WINDOWS_FALSE$]) ++m4trace:configure.ac:3728: -1- _AM_SUBST_NOTMAKE([DOING_NATIVE_WINDOWS_TRUE]) ++m4trace:configure.ac:3728: -1- _AM_SUBST_NOTMAKE([DOING_NATIVE_WINDOWS_FALSE]) ++m4trace:configure.ac:3728: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_SYS_TYPES_H]) +-m4trace:configure.ac:3539: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TYPES_H]) +-m4trace:configure.ac:3539: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) +-m4trace:configure.ac:3539: -1- AH_OUTPUT([HAVE_NETDB_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3728: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TYPES_H]) ++m4trace:configure.ac:3728: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) ++m4trace:configure.ac:3728: -1- AH_OUTPUT([HAVE_NETDB_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_NETDB_H]) +-m4trace:configure.ac:3539: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NETDB_H]) +-m4trace:configure.ac:3539: -1- m4_pattern_allow([^HAVE_NETDB_H$]) +-m4trace:configure.ac:3539: -1- AC_DEFINE_TRACE_LITERAL([HAVE_FREEADDRINFO]) +-m4trace:configure.ac:3539: -1- m4_pattern_allow([^HAVE_FREEADDRINFO$]) +-m4trace:configure.ac:3539: -1- AH_OUTPUT([HAVE_FREEADDRINFO], [/* Define to 1 if you have the freeaddrinfo function. */ ++m4trace:configure.ac:3728: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NETDB_H]) ++m4trace:configure.ac:3728: -1- m4_pattern_allow([^HAVE_NETDB_H$]) ++m4trace:configure.ac:3728: -1- AC_DEFINE_TRACE_LITERAL([HAVE_FREEADDRINFO]) ++m4trace:configure.ac:3728: -1- m4_pattern_allow([^HAVE_FREEADDRINFO$]) ++m4trace:configure.ac:3728: -1- AH_OUTPUT([HAVE_FREEADDRINFO], [/* Define to 1 if you have the freeaddrinfo function. */ + @%:@undef HAVE_FREEADDRINFO]) +-m4trace:configure.ac:3540: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3729: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_SYS_TYPES_H]) +-m4trace:configure.ac:3540: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TYPES_H]) +-m4trace:configure.ac:3540: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) +-m4trace:configure.ac:3540: -1- AH_OUTPUT([HAVE_SYS_XATTR_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3729: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TYPES_H]) ++m4trace:configure.ac:3729: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) ++m4trace:configure.ac:3729: -1- AH_OUTPUT([HAVE_SYS_XATTR_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_SYS_XATTR_H]) +-m4trace:configure.ac:3540: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_XATTR_H]) +-m4trace:configure.ac:3540: -1- m4_pattern_allow([^HAVE_SYS_XATTR_H$]) +-m4trace:configure.ac:3540: -1- AC_DEFINE_TRACE_LITERAL([HAVE_FSETXATTR]) +-m4trace:configure.ac:3540: -1- m4_pattern_allow([^HAVE_FSETXATTR$]) +-m4trace:configure.ac:3540: -1- AH_OUTPUT([HAVE_FSETXATTR], [/* Define to 1 if you have the fsetxattr function. */ ++m4trace:configure.ac:3729: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_XATTR_H]) ++m4trace:configure.ac:3729: -1- m4_pattern_allow([^HAVE_SYS_XATTR_H$]) ++m4trace:configure.ac:3729: -1- AC_DEFINE_TRACE_LITERAL([HAVE_FSETXATTR]) ++m4trace:configure.ac:3729: -1- m4_pattern_allow([^HAVE_FSETXATTR$]) ++m4trace:configure.ac:3729: -1- AH_OUTPUT([HAVE_FSETXATTR], [/* Define to 1 if you have the fsetxattr function. */ + @%:@undef HAVE_FSETXATTR]) +-m4trace:configure.ac:3540: -1- AC_DEFINE_TRACE_LITERAL([HAVE_FSETXATTR_5]) +-m4trace:configure.ac:3540: -1- m4_pattern_allow([^HAVE_FSETXATTR_5$]) +-m4trace:configure.ac:3540: -1- AH_OUTPUT([HAVE_FSETXATTR_5], [/* fsetxattr() takes 5 args */ ++m4trace:configure.ac:3729: -1- AC_DEFINE_TRACE_LITERAL([HAVE_FSETXATTR_5]) ++m4trace:configure.ac:3729: -1- m4_pattern_allow([^HAVE_FSETXATTR_5$]) ++m4trace:configure.ac:3729: -1- AH_OUTPUT([HAVE_FSETXATTR_5], [/* fsetxattr() takes 5 args */ + @%:@undef HAVE_FSETXATTR_5]) +-m4trace:configure.ac:3540: -1- AC_DEFINE_TRACE_LITERAL([HAVE_FSETXATTR_6]) +-m4trace:configure.ac:3540: -1- m4_pattern_allow([^HAVE_FSETXATTR_6$]) +-m4trace:configure.ac:3540: -1- AH_OUTPUT([HAVE_FSETXATTR_6], [/* fsetxattr() takes 6 args */ ++m4trace:configure.ac:3729: -1- AC_DEFINE_TRACE_LITERAL([HAVE_FSETXATTR_6]) ++m4trace:configure.ac:3729: -1- m4_pattern_allow([^HAVE_FSETXATTR_6$]) ++m4trace:configure.ac:3729: -1- AH_OUTPUT([HAVE_FSETXATTR_6], [/* fsetxattr() takes 6 args */ + @%:@undef HAVE_FSETXATTR_6]) +-m4trace:configure.ac:3541: -1- AC_DEFINE_TRACE_LITERAL([HAVE_FTRUNCATE]) +-m4trace:configure.ac:3541: -1- m4_pattern_allow([^HAVE_FTRUNCATE$]) +-m4trace:configure.ac:3541: -1- AH_OUTPUT([HAVE_FTRUNCATE], [/* Define to 1 if you have the ftruncate function. */ ++m4trace:configure.ac:3730: -1- AC_DEFINE_TRACE_LITERAL([HAVE_FTRUNCATE]) ++m4trace:configure.ac:3730: -1- m4_pattern_allow([^HAVE_FTRUNCATE$]) ++m4trace:configure.ac:3730: -1- AH_OUTPUT([HAVE_FTRUNCATE], [/* Define to 1 if you have the ftruncate function. */ + @%:@undef HAVE_FTRUNCATE]) +-m4trace:configure.ac:3542: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3731: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_SYS_TYPES_H]) +-m4trace:configure.ac:3542: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TYPES_H]) +-m4trace:configure.ac:3542: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) +-m4trace:configure.ac:3542: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:5818: CURL_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:1742: CURL_CHECK_FUNC_GETADDRINFO is expanded from... +-configure.ac:3542: the top level]) +-m4trace:configure.ac:3542: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:5818: CURL_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:1742: CURL_CHECK_FUNC_GETADDRINFO is expanded from... +-configure.ac:3542: the top level]) +-m4trace:configure.ac:3542: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETADDRINFO]) +-m4trace:configure.ac:3542: -1- m4_pattern_allow([^HAVE_GETADDRINFO$]) +-m4trace:configure.ac:3542: -1- AH_OUTPUT([HAVE_GETADDRINFO], [/* Define to 1 if you have a working getaddrinfo function. */ ++m4trace:configure.ac:3731: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TYPES_H]) ++m4trace:configure.ac:3731: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) ++m4trace:configure.ac:3731: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:5778: CURL_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:1702: CURL_CHECK_FUNC_GETADDRINFO is expanded from... ++configure.ac:3731: the top level]) ++m4trace:configure.ac:3731: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:5778: CURL_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:1702: CURL_CHECK_FUNC_GETADDRINFO is expanded from... ++configure.ac:3731: the top level]) ++m4trace:configure.ac:3731: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETADDRINFO]) ++m4trace:configure.ac:3731: -1- m4_pattern_allow([^HAVE_GETADDRINFO$]) ++m4trace:configure.ac:3731: -1- AH_OUTPUT([HAVE_GETADDRINFO], [/* Define to 1 if you have a working getaddrinfo function. */ + @%:@undef HAVE_GETADDRINFO]) +-m4trace:configure.ac:3542: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETADDRINFO_THREADSAFE]) +-m4trace:configure.ac:3542: -1- m4_pattern_allow([^HAVE_GETADDRINFO_THREADSAFE$]) +-m4trace:configure.ac:3542: -1- AH_OUTPUT([HAVE_GETADDRINFO_THREADSAFE], [/* Define to 1 if the getaddrinfo function is threadsafe. */ ++m4trace:configure.ac:3731: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETADDRINFO_THREADSAFE]) ++m4trace:configure.ac:3731: -1- m4_pattern_allow([^HAVE_GETADDRINFO_THREADSAFE$]) ++m4trace:configure.ac:3731: -1- AH_OUTPUT([HAVE_GETADDRINFO_THREADSAFE], [/* Define to 1 if the getaddrinfo function is threadsafe. */ + @%:@undef HAVE_GETADDRINFO_THREADSAFE]) +-m4trace:configure.ac:3543: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETHOSTBYNAME]) +-m4trace:configure.ac:3543: -1- m4_pattern_allow([^HAVE_GETHOSTBYNAME$]) +-m4trace:configure.ac:3543: -1- AH_OUTPUT([HAVE_GETHOSTBYNAME], [/* Define to 1 if you have the gethostbyname function. */ ++m4trace:configure.ac:3732: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETHOSTBYNAME]) ++m4trace:configure.ac:3732: -1- m4_pattern_allow([^HAVE_GETHOSTBYNAME$]) ++m4trace:configure.ac:3732: -1- AH_OUTPUT([HAVE_GETHOSTBYNAME], [/* Define to 1 if you have the gethostbyname function. */ + @%:@undef HAVE_GETHOSTBYNAME]) +-m4trace:configure.ac:3544: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETHOSTBYNAME_R]) +-m4trace:configure.ac:3544: -1- m4_pattern_allow([^HAVE_GETHOSTBYNAME_R$]) +-m4trace:configure.ac:3544: -1- AH_OUTPUT([HAVE_GETHOSTBYNAME_R], [/* Define to 1 if you have the gethostbyname_r function. */ ++m4trace:configure.ac:3733: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETHOSTBYNAME_R]) ++m4trace:configure.ac:3733: -1- m4_pattern_allow([^HAVE_GETHOSTBYNAME_R$]) ++m4trace:configure.ac:3733: -1- AH_OUTPUT([HAVE_GETHOSTBYNAME_R], [/* Define to 1 if you have the gethostbyname_r function. */ + @%:@undef HAVE_GETHOSTBYNAME_R]) +-m4trace:configure.ac:3544: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETHOSTBYNAME_R_3]) +-m4trace:configure.ac:3544: -1- m4_pattern_allow([^HAVE_GETHOSTBYNAME_R_3$]) +-m4trace:configure.ac:3544: -1- AH_OUTPUT([HAVE_GETHOSTBYNAME_R_3], [/* gethostbyname_r() takes 3 args */ ++m4trace:configure.ac:3733: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETHOSTBYNAME_R_3]) ++m4trace:configure.ac:3733: -1- m4_pattern_allow([^HAVE_GETHOSTBYNAME_R_3$]) ++m4trace:configure.ac:3733: -1- AH_OUTPUT([HAVE_GETHOSTBYNAME_R_3], [/* gethostbyname_r() takes 3 args */ + @%:@undef HAVE_GETHOSTBYNAME_R_3]) +-m4trace:configure.ac:3544: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETHOSTBYNAME_R_5]) +-m4trace:configure.ac:3544: -1- m4_pattern_allow([^HAVE_GETHOSTBYNAME_R_5$]) +-m4trace:configure.ac:3544: -1- AH_OUTPUT([HAVE_GETHOSTBYNAME_R_5], [/* gethostbyname_r() takes 5 args */ ++m4trace:configure.ac:3733: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETHOSTBYNAME_R_5]) ++m4trace:configure.ac:3733: -1- m4_pattern_allow([^HAVE_GETHOSTBYNAME_R_5$]) ++m4trace:configure.ac:3733: -1- AH_OUTPUT([HAVE_GETHOSTBYNAME_R_5], [/* gethostbyname_r() takes 5 args */ + @%:@undef HAVE_GETHOSTBYNAME_R_5]) +-m4trace:configure.ac:3544: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETHOSTBYNAME_R_6]) +-m4trace:configure.ac:3544: -1- m4_pattern_allow([^HAVE_GETHOSTBYNAME_R_6$]) +-m4trace:configure.ac:3544: -1- AH_OUTPUT([HAVE_GETHOSTBYNAME_R_6], [/* gethostbyname_r() takes 6 args */ ++m4trace:configure.ac:3733: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETHOSTBYNAME_R_6]) ++m4trace:configure.ac:3733: -1- m4_pattern_allow([^HAVE_GETHOSTBYNAME_R_6$]) ++m4trace:configure.ac:3733: -1- AH_OUTPUT([HAVE_GETHOSTBYNAME_R_6], [/* gethostbyname_r() takes 6 args */ + @%:@undef HAVE_GETHOSTBYNAME_R_6]) +-m4trace:configure.ac:3545: -1- AC_DEFINE_TRACE_LITERAL([GETHOSTNAME_TYPE_ARG2]) +-m4trace:configure.ac:3545: -1- m4_pattern_allow([^GETHOSTNAME_TYPE_ARG2$]) +-m4trace:configure.ac:3545: -1- AH_OUTPUT([GETHOSTNAME_TYPE_ARG2], [/* Define to the type of arg 2 for gethostname. */ ++m4trace:configure.ac:3734: -1- AC_DEFINE_TRACE_LITERAL([GETHOSTNAME_TYPE_ARG2]) ++m4trace:configure.ac:3734: -1- m4_pattern_allow([^GETHOSTNAME_TYPE_ARG2$]) ++m4trace:configure.ac:3734: -1- AH_OUTPUT([GETHOSTNAME_TYPE_ARG2], [/* Define to the type of arg 2 for gethostname. */ + @%:@undef GETHOSTNAME_TYPE_ARG2]) +-m4trace:configure.ac:3545: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETHOSTNAME]) +-m4trace:configure.ac:3545: -1- m4_pattern_allow([^HAVE_GETHOSTNAME$]) +-m4trace:configure.ac:3545: -1- AH_OUTPUT([HAVE_GETHOSTNAME], [/* Define to 1 if you have the gethostname function. */ ++m4trace:configure.ac:3734: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETHOSTNAME]) ++m4trace:configure.ac:3734: -1- m4_pattern_allow([^HAVE_GETHOSTNAME$]) ++m4trace:configure.ac:3734: -1- AH_OUTPUT([HAVE_GETHOSTNAME], [/* Define to 1 if you have the gethostname function. */ + @%:@undef HAVE_GETHOSTNAME]) +-m4trace:configure.ac:3546: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETPEERNAME]) +-m4trace:configure.ac:3546: -1- m4_pattern_allow([^HAVE_GETPEERNAME$]) +-m4trace:configure.ac:3546: -1- AH_OUTPUT([HAVE_GETPEERNAME], [/* Define to 1 if you have the getpeername function. */ ++m4trace:configure.ac:3735: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETPEERNAME]) ++m4trace:configure.ac:3735: -1- m4_pattern_allow([^HAVE_GETPEERNAME$]) ++m4trace:configure.ac:3735: -1- AH_OUTPUT([HAVE_GETPEERNAME], [/* Define to 1 if you have the getpeername function. */ + @%:@undef HAVE_GETPEERNAME]) +-m4trace:configure.ac:3547: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETSOCKNAME]) +-m4trace:configure.ac:3547: -1- m4_pattern_allow([^HAVE_GETSOCKNAME$]) +-m4trace:configure.ac:3547: -1- AH_OUTPUT([HAVE_GETSOCKNAME], [/* Define to 1 if you have the getsockname function. */ ++m4trace:configure.ac:3736: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETSOCKNAME]) ++m4trace:configure.ac:3736: -1- m4_pattern_allow([^HAVE_GETSOCKNAME$]) ++m4trace:configure.ac:3736: -1- AH_OUTPUT([HAVE_GETSOCKNAME], [/* Define to 1 if you have the getsockname function. */ + @%:@undef HAVE_GETSOCKNAME]) +-m4trace:configure.ac:3548: -1- AH_OUTPUT([HAVE_NET_IF_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3737: -1- AH_OUTPUT([HAVE_NET_IF_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_NET_IF_H]) +-m4trace:configure.ac:3548: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NET_IF_H]) +-m4trace:configure.ac:3548: -1- m4_pattern_allow([^HAVE_NET_IF_H$]) +-m4trace:configure.ac:3548: -1- AC_DEFINE_TRACE_LITERAL([HAVE_IF_NAMETOINDEX]) +-m4trace:configure.ac:3548: -1- m4_pattern_allow([^HAVE_IF_NAMETOINDEX$]) +-m4trace:configure.ac:3548: -1- AH_OUTPUT([HAVE_IF_NAMETOINDEX], [/* Define to 1 if you have the if_nametoindex function. */ ++m4trace:configure.ac:3737: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NET_IF_H]) ++m4trace:configure.ac:3737: -1- m4_pattern_allow([^HAVE_NET_IF_H$]) ++m4trace:configure.ac:3737: -1- AC_DEFINE_TRACE_LITERAL([HAVE_IF_NAMETOINDEX]) ++m4trace:configure.ac:3737: -1- m4_pattern_allow([^HAVE_IF_NAMETOINDEX$]) ++m4trace:configure.ac:3737: -1- AH_OUTPUT([HAVE_IF_NAMETOINDEX], [/* Define to 1 if you have the if_nametoindex function. */ + @%:@undef HAVE_IF_NAMETOINDEX]) +-m4trace:configure.ac:3549: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3738: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_SYS_TYPES_H]) +-m4trace:configure.ac:3549: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TYPES_H]) +-m4trace:configure.ac:3549: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) +-m4trace:configure.ac:3549: -1- AH_OUTPUT([HAVE_SYS_SOCKET_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3738: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TYPES_H]) ++m4trace:configure.ac:3738: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) ++m4trace:configure.ac:3738: -1- AH_OUTPUT([HAVE_SYS_SOCKET_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_SYS_SOCKET_H]) +-m4trace:configure.ac:3549: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_SOCKET_H]) +-m4trace:configure.ac:3549: -1- m4_pattern_allow([^HAVE_SYS_SOCKET_H$]) +-m4trace:configure.ac:3549: -1- AH_OUTPUT([HAVE_NETINET_IN_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3738: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_SOCKET_H]) ++m4trace:configure.ac:3738: -1- m4_pattern_allow([^HAVE_SYS_SOCKET_H$]) ++m4trace:configure.ac:3738: -1- AH_OUTPUT([HAVE_NETINET_IN_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_NETINET_IN_H]) +-m4trace:configure.ac:3549: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NETINET_IN_H]) +-m4trace:configure.ac:3549: -1- m4_pattern_allow([^HAVE_NETINET_IN_H$]) +-m4trace:configure.ac:3549: -1- AH_OUTPUT([HAVE_IFADDRS_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3738: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NETINET_IN_H]) ++m4trace:configure.ac:3738: -1- m4_pattern_allow([^HAVE_NETINET_IN_H$]) ++m4trace:configure.ac:3738: -1- AH_OUTPUT([HAVE_IFADDRS_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_IFADDRS_H]) +-m4trace:configure.ac:3549: -1- AC_DEFINE_TRACE_LITERAL([HAVE_IFADDRS_H]) +-m4trace:configure.ac:3549: -1- m4_pattern_allow([^HAVE_IFADDRS_H$]) +-m4trace:configure.ac:3549: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:5818: CURL_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:2669: CURL_CHECK_FUNC_GETIFADDRS is expanded from... +-configure.ac:3549: the top level]) +-m4trace:configure.ac:3549: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:5818: CURL_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:2669: CURL_CHECK_FUNC_GETIFADDRS is expanded from... +-configure.ac:3549: the top level]) +-m4trace:configure.ac:3549: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETIFADDRS]) +-m4trace:configure.ac:3549: -1- m4_pattern_allow([^HAVE_GETIFADDRS$]) +-m4trace:configure.ac:3549: -1- AH_OUTPUT([HAVE_GETIFADDRS], [/* Define to 1 if you have a working getifaddrs function. */ ++m4trace:configure.ac:3738: -1- AC_DEFINE_TRACE_LITERAL([HAVE_IFADDRS_H]) ++m4trace:configure.ac:3738: -1- m4_pattern_allow([^HAVE_IFADDRS_H$]) ++m4trace:configure.ac:3738: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:5778: CURL_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:2629: CURL_CHECK_FUNC_GETIFADDRS is expanded from... ++configure.ac:3738: the top level]) ++m4trace:configure.ac:3738: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:5778: CURL_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:2629: CURL_CHECK_FUNC_GETIFADDRS is expanded from... ++configure.ac:3738: the top level]) ++m4trace:configure.ac:3738: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETIFADDRS]) ++m4trace:configure.ac:3738: -1- m4_pattern_allow([^HAVE_GETIFADDRS$]) ++m4trace:configure.ac:3738: -1- AH_OUTPUT([HAVE_GETIFADDRS], [/* Define to 1 if you have a working getifaddrs function. */ + @%:@undef HAVE_GETIFADDRS]) +-m4trace:configure.ac:3550: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3739: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_SYS_TYPES_H]) +-m4trace:configure.ac:3550: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TYPES_H]) +-m4trace:configure.ac:3550: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) +-m4trace:configure.ac:3550: -1- AH_OUTPUT([HAVE_SYS_TIME_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3739: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TYPES_H]) ++m4trace:configure.ac:3739: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) ++m4trace:configure.ac:3739: -1- AH_OUTPUT([HAVE_SYS_TIME_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_SYS_TIME_H]) +-m4trace:configure.ac:3550: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TIME_H]) +-m4trace:configure.ac:3550: -1- m4_pattern_allow([^HAVE_SYS_TIME_H$]) +-m4trace:configure.ac:3550: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:5818: CURL_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:2907: CURL_CHECK_FUNC_GMTIME_R is expanded from... +-configure.ac:3550: the top level]) +-m4trace:configure.ac:3550: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:5818: CURL_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:2907: CURL_CHECK_FUNC_GMTIME_R is expanded from... +-configure.ac:3550: the top level]) +-m4trace:configure.ac:3550: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GMTIME_R]) +-m4trace:configure.ac:3550: -1- m4_pattern_allow([^HAVE_GMTIME_R$]) +-m4trace:configure.ac:3550: -1- AH_OUTPUT([HAVE_GMTIME_R], [/* Define to 1 if you have a working gmtime_r function. */ ++m4trace:configure.ac:3739: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TIME_H]) ++m4trace:configure.ac:3739: -1- m4_pattern_allow([^HAVE_SYS_TIME_H$]) ++m4trace:configure.ac:3739: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:5778: CURL_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:2867: CURL_CHECK_FUNC_GMTIME_R is expanded from... ++configure.ac:3739: the top level]) ++m4trace:configure.ac:3739: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:5778: CURL_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:2867: CURL_CHECK_FUNC_GMTIME_R is expanded from... ++configure.ac:3739: the top level]) ++m4trace:configure.ac:3739: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GMTIME_R]) ++m4trace:configure.ac:3739: -1- m4_pattern_allow([^HAVE_GMTIME_R$]) ++m4trace:configure.ac:3739: -1- AH_OUTPUT([HAVE_GMTIME_R], [/* Define to 1 if you have a working gmtime_r function. */ + @%:@undef HAVE_GMTIME_R]) +-m4trace:configure.ac:3551: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3740: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_SYS_TYPES_H]) +-m4trace:configure.ac:3551: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TYPES_H]) +-m4trace:configure.ac:3551: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) +-m4trace:configure.ac:3551: -1- AH_OUTPUT([HAVE_SYS_SOCKET_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3740: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TYPES_H]) ++m4trace:configure.ac:3740: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) ++m4trace:configure.ac:3740: -1- AH_OUTPUT([HAVE_SYS_SOCKET_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_SYS_SOCKET_H]) +-m4trace:configure.ac:3551: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_SOCKET_H]) +-m4trace:configure.ac:3551: -1- m4_pattern_allow([^HAVE_SYS_SOCKET_H$]) +-m4trace:configure.ac:3551: -1- AH_OUTPUT([HAVE_NETINET_IN_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3740: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_SOCKET_H]) ++m4trace:configure.ac:3740: -1- m4_pattern_allow([^HAVE_SYS_SOCKET_H$]) ++m4trace:configure.ac:3740: -1- AH_OUTPUT([HAVE_NETINET_IN_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_NETINET_IN_H]) +-m4trace:configure.ac:3551: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NETINET_IN_H]) +-m4trace:configure.ac:3551: -1- m4_pattern_allow([^HAVE_NETINET_IN_H$]) +-m4trace:configure.ac:3551: -1- AH_OUTPUT([HAVE_ARPA_INET_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3740: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NETINET_IN_H]) ++m4trace:configure.ac:3740: -1- m4_pattern_allow([^HAVE_NETINET_IN_H$]) ++m4trace:configure.ac:3740: -1- AH_OUTPUT([HAVE_ARPA_INET_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_ARPA_INET_H]) +-m4trace:configure.ac:3551: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ARPA_INET_H]) +-m4trace:configure.ac:3551: -1- m4_pattern_allow([^HAVE_ARPA_INET_H$]) +-m4trace:configure.ac:3551: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:5818: CURL_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:3023: CURL_CHECK_FUNC_INET_NTOP is expanded from... +-configure.ac:3551: the top level]) +-m4trace:configure.ac:3551: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:5818: CURL_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:3023: CURL_CHECK_FUNC_INET_NTOP is expanded from... +-configure.ac:3551: the top level]) +-m4trace:configure.ac:3551: -1- AC_DEFINE_TRACE_LITERAL([HAVE_INET_NTOP]) +-m4trace:configure.ac:3551: -1- m4_pattern_allow([^HAVE_INET_NTOP$]) +-m4trace:configure.ac:3551: -1- AH_OUTPUT([HAVE_INET_NTOP], [/* Define to 1 if you have a IPv6 capable working inet_ntop function. */ ++m4trace:configure.ac:3740: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ARPA_INET_H]) ++m4trace:configure.ac:3740: -1- m4_pattern_allow([^HAVE_ARPA_INET_H$]) ++m4trace:configure.ac:3740: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:5778: CURL_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:2983: CURL_CHECK_FUNC_INET_NTOP is expanded from... ++configure.ac:3740: the top level]) ++m4trace:configure.ac:3740: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:5778: CURL_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:2983: CURL_CHECK_FUNC_INET_NTOP is expanded from... ++configure.ac:3740: the top level]) ++m4trace:configure.ac:3740: -1- AC_DEFINE_TRACE_LITERAL([HAVE_INET_NTOP]) ++m4trace:configure.ac:3740: -1- m4_pattern_allow([^HAVE_INET_NTOP$]) ++m4trace:configure.ac:3740: -1- AH_OUTPUT([HAVE_INET_NTOP], [/* Define to 1 if you have a IPv6 capable working inet_ntop function. */ + @%:@undef HAVE_INET_NTOP]) +-m4trace:configure.ac:3552: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:5818: CURL_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:3182: CURL_CHECK_FUNC_INET_PTON is expanded from... +-configure.ac:3552: the top level]) +-m4trace:configure.ac:3552: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:5818: CURL_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:3182: CURL_CHECK_FUNC_INET_PTON is expanded from... +-configure.ac:3552: the top level]) +-m4trace:configure.ac:3552: -1- AC_DEFINE_TRACE_LITERAL([HAVE_INET_PTON]) +-m4trace:configure.ac:3552: -1- m4_pattern_allow([^HAVE_INET_PTON$]) +-m4trace:configure.ac:3552: -1- AH_OUTPUT([HAVE_INET_PTON], [/* Define to 1 if you have a IPv6 capable working inet_pton function. */ ++m4trace:configure.ac:3741: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:5778: CURL_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:3142: CURL_CHECK_FUNC_INET_PTON is expanded from... ++configure.ac:3741: the top level]) ++m4trace:configure.ac:3741: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:5778: CURL_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:3142: CURL_CHECK_FUNC_INET_PTON is expanded from... ++configure.ac:3741: the top level]) ++m4trace:configure.ac:3741: -1- AC_DEFINE_TRACE_LITERAL([HAVE_INET_PTON]) ++m4trace:configure.ac:3741: -1- m4_pattern_allow([^HAVE_INET_PTON$]) ++m4trace:configure.ac:3741: -1- AH_OUTPUT([HAVE_INET_PTON], [/* Define to 1 if you have a IPv6 capable working inet_pton function. */ + @%:@undef HAVE_INET_PTON]) +-m4trace:configure.ac:3553: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3742: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_SYS_TYPES_H]) +-m4trace:configure.ac:3553: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TYPES_H]) +-m4trace:configure.ac:3553: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) +-m4trace:configure.ac:3553: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3742: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TYPES_H]) ++m4trace:configure.ac:3742: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) ++m4trace:configure.ac:3742: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_UNISTD_H]) +-m4trace:configure.ac:3553: -1- AC_DEFINE_TRACE_LITERAL([HAVE_UNISTD_H]) +-m4trace:configure.ac:3553: -1- m4_pattern_allow([^HAVE_UNISTD_H$]) +-m4trace:configure.ac:3553: -1- AH_OUTPUT([HAVE_SYS_SOCKET_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3742: -1- AC_DEFINE_TRACE_LITERAL([HAVE_UNISTD_H]) ++m4trace:configure.ac:3742: -1- m4_pattern_allow([^HAVE_UNISTD_H$]) ++m4trace:configure.ac:3742: -1- AH_OUTPUT([HAVE_SYS_SOCKET_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_SYS_SOCKET_H]) +-m4trace:configure.ac:3553: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_SOCKET_H]) +-m4trace:configure.ac:3553: -1- m4_pattern_allow([^HAVE_SYS_SOCKET_H$]) +-m4trace:configure.ac:3553: -1- AH_OUTPUT([HAVE_SYS_IOCTL_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3742: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_SOCKET_H]) ++m4trace:configure.ac:3742: -1- m4_pattern_allow([^HAVE_SYS_SOCKET_H$]) ++m4trace:configure.ac:3742: -1- AH_OUTPUT([HAVE_SYS_IOCTL_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_SYS_IOCTL_H]) +-m4trace:configure.ac:3553: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_IOCTL_H]) +-m4trace:configure.ac:3553: -1- m4_pattern_allow([^HAVE_SYS_IOCTL_H$]) +-m4trace:configure.ac:3553: -1- AH_OUTPUT([HAVE_STROPTS_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3742: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_IOCTL_H]) ++m4trace:configure.ac:3742: -1- m4_pattern_allow([^HAVE_SYS_IOCTL_H$]) ++m4trace:configure.ac:3742: -1- AH_OUTPUT([HAVE_STROPTS_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_STROPTS_H]) +-m4trace:configure.ac:3553: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STROPTS_H]) +-m4trace:configure.ac:3553: -1- m4_pattern_allow([^HAVE_STROPTS_H$]) +-m4trace:configure.ac:3553: -1- AC_DEFINE_TRACE_LITERAL([HAVE_IOCTL]) +-m4trace:configure.ac:3553: -1- m4_pattern_allow([^HAVE_IOCTL$]) +-m4trace:configure.ac:3553: -1- AH_OUTPUT([HAVE_IOCTL], [/* Define to 1 if you have the ioctl function. */ ++m4trace:configure.ac:3742: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STROPTS_H]) ++m4trace:configure.ac:3742: -1- m4_pattern_allow([^HAVE_STROPTS_H$]) ++m4trace:configure.ac:3742: -1- AC_DEFINE_TRACE_LITERAL([HAVE_IOCTL]) ++m4trace:configure.ac:3742: -1- m4_pattern_allow([^HAVE_IOCTL$]) ++m4trace:configure.ac:3742: -1- AH_OUTPUT([HAVE_IOCTL], [/* Define to 1 if you have the ioctl function. */ + @%:@undef HAVE_IOCTL]) +-m4trace:configure.ac:3553: -1- AC_DEFINE_TRACE_LITERAL([HAVE_IOCTL_FIONBIO]) +-m4trace:configure.ac:3553: -1- m4_pattern_allow([^HAVE_IOCTL_FIONBIO$]) +-m4trace:configure.ac:3553: -1- AH_OUTPUT([HAVE_IOCTL_FIONBIO], [/* Define to 1 if you have a working ioctl FIONBIO function. */ ++m4trace:configure.ac:3742: -1- AC_DEFINE_TRACE_LITERAL([HAVE_IOCTL_FIONBIO]) ++m4trace:configure.ac:3742: -1- m4_pattern_allow([^HAVE_IOCTL_FIONBIO$]) ++m4trace:configure.ac:3742: -1- AH_OUTPUT([HAVE_IOCTL_FIONBIO], [/* Define to 1 if you have a working ioctl FIONBIO function. */ + @%:@undef HAVE_IOCTL_FIONBIO]) +-m4trace:configure.ac:3553: -1- AC_DEFINE_TRACE_LITERAL([HAVE_IOCTL_SIOCGIFADDR]) +-m4trace:configure.ac:3553: -1- m4_pattern_allow([^HAVE_IOCTL_SIOCGIFADDR$]) +-m4trace:configure.ac:3553: -1- AH_OUTPUT([HAVE_IOCTL_SIOCGIFADDR], [/* Define to 1 if you have a working ioctl SIOCGIFADDR function. */ ++m4trace:configure.ac:3742: -1- AC_DEFINE_TRACE_LITERAL([HAVE_IOCTL_SIOCGIFADDR]) ++m4trace:configure.ac:3742: -1- m4_pattern_allow([^HAVE_IOCTL_SIOCGIFADDR$]) ++m4trace:configure.ac:3742: -1- AH_OUTPUT([HAVE_IOCTL_SIOCGIFADDR], [/* Define to 1 if you have a working ioctl SIOCGIFADDR function. */ + @%:@undef HAVE_IOCTL_SIOCGIFADDR]) +-m4trace:configure.ac:3554: -1- AC_DEFINE_TRACE_LITERAL([HAVE_IOCTLSOCKET]) +-m4trace:configure.ac:3554: -1- m4_pattern_allow([^HAVE_IOCTLSOCKET$]) +-m4trace:configure.ac:3554: -1- AH_OUTPUT([HAVE_IOCTLSOCKET], [/* Define to 1 if you have the ioctlsocket function. */ ++m4trace:configure.ac:3743: -1- AC_DEFINE_TRACE_LITERAL([HAVE_IOCTLSOCKET]) ++m4trace:configure.ac:3743: -1- m4_pattern_allow([^HAVE_IOCTLSOCKET$]) ++m4trace:configure.ac:3743: -1- AH_OUTPUT([HAVE_IOCTLSOCKET], [/* Define to 1 if you have the ioctlsocket function. */ + @%:@undef HAVE_IOCTLSOCKET]) +-m4trace:configure.ac:3554: -1- AC_DEFINE_TRACE_LITERAL([HAVE_IOCTLSOCKET_FIONBIO]) +-m4trace:configure.ac:3554: -1- m4_pattern_allow([^HAVE_IOCTLSOCKET_FIONBIO$]) +-m4trace:configure.ac:3554: -1- AH_OUTPUT([HAVE_IOCTLSOCKET_FIONBIO], [/* Define to 1 if you have a working ioctlsocket FIONBIO function. */ ++m4trace:configure.ac:3743: -1- AC_DEFINE_TRACE_LITERAL([HAVE_IOCTLSOCKET_FIONBIO]) ++m4trace:configure.ac:3743: -1- m4_pattern_allow([^HAVE_IOCTLSOCKET_FIONBIO$]) ++m4trace:configure.ac:3743: -1- AH_OUTPUT([HAVE_IOCTLSOCKET_FIONBIO], [/* Define to 1 if you have a working ioctlsocket FIONBIO function. */ + @%:@undef HAVE_IOCTLSOCKET_FIONBIO]) +-m4trace:configure.ac:3555: -1- AC_DEFINE_TRACE_LITERAL([HAVE_IOCTLSOCKET_CAMEL]) +-m4trace:configure.ac:3555: -1- m4_pattern_allow([^HAVE_IOCTLSOCKET_CAMEL$]) +-m4trace:configure.ac:3555: -1- AH_OUTPUT([HAVE_IOCTLSOCKET_CAMEL], [/* Define to 1 if you have the IoctlSocket camel case function. */ ++m4trace:configure.ac:3744: -1- AC_DEFINE_TRACE_LITERAL([HAVE_IOCTLSOCKET_CAMEL]) ++m4trace:configure.ac:3744: -1- m4_pattern_allow([^HAVE_IOCTLSOCKET_CAMEL$]) ++m4trace:configure.ac:3744: -1- AH_OUTPUT([HAVE_IOCTLSOCKET_CAMEL], [/* Define to 1 if you have the IoctlSocket camel case function. */ + @%:@undef HAVE_IOCTLSOCKET_CAMEL]) +-m4trace:configure.ac:3555: -1- AC_DEFINE_TRACE_LITERAL([HAVE_IOCTLSOCKET_CAMEL_FIONBIO]) +-m4trace:configure.ac:3555: -1- m4_pattern_allow([^HAVE_IOCTLSOCKET_CAMEL_FIONBIO$]) +-m4trace:configure.ac:3555: -1- AH_OUTPUT([HAVE_IOCTLSOCKET_CAMEL_FIONBIO], [/* Define to 1 if you have a working IoctlSocket camel case FIONBIO function. ++m4trace:configure.ac:3744: -1- AC_DEFINE_TRACE_LITERAL([HAVE_IOCTLSOCKET_CAMEL_FIONBIO]) ++m4trace:configure.ac:3744: -1- m4_pattern_allow([^HAVE_IOCTLSOCKET_CAMEL_FIONBIO$]) ++m4trace:configure.ac:3744: -1- AH_OUTPUT([HAVE_IOCTLSOCKET_CAMEL_FIONBIO], [/* Define to 1 if you have a working IoctlSocket camel case FIONBIO function. + */ + @%:@undef HAVE_IOCTLSOCKET_CAMEL_FIONBIO]) +-m4trace:configure.ac:3556: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MEMRCHR]) +-m4trace:configure.ac:3556: -1- m4_pattern_allow([^HAVE_MEMRCHR$]) +-m4trace:configure.ac:3556: -1- AH_OUTPUT([HAVE_MEMRCHR], [/* Define to 1 if you have the memrchr function or macro. */ ++m4trace:configure.ac:3745: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MEMRCHR]) ++m4trace:configure.ac:3745: -1- m4_pattern_allow([^HAVE_MEMRCHR$]) ++m4trace:configure.ac:3745: -1- AH_OUTPUT([HAVE_MEMRCHR], [/* Define to 1 if you have the memrchr function or macro. */ + @%:@undef HAVE_MEMRCHR]) +-m4trace:configure.ac:3557: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:5818: CURL_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:4051: CURL_CHECK_FUNC_POLL is expanded from... +-configure.ac:3557: the top level]) +-m4trace:configure.ac:3557: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:5818: CURL_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:4051: CURL_CHECK_FUNC_POLL is expanded from... +-configure.ac:3557: the top level]) +-m4trace:configure.ac:3557: -1- AC_DEFINE_TRACE_LITERAL([HAVE_POLL_FINE]) +-m4trace:configure.ac:3557: -1- m4_pattern_allow([^HAVE_POLL_FINE$]) +-m4trace:configure.ac:3557: -1- AH_OUTPUT([HAVE_POLL_FINE], [/* If you have a fine poll */ ++m4trace:configure.ac:3746: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_SYS_TYPES_H]) ++m4trace:configure.ac:3746: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TYPES_H]) ++m4trace:configure.ac:3746: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) ++m4trace:configure.ac:3746: -1- AH_OUTPUT([HAVE_POLL_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_POLL_H]) ++m4trace:configure.ac:3746: -1- AC_DEFINE_TRACE_LITERAL([HAVE_POLL_H]) ++m4trace:configure.ac:3746: -1- m4_pattern_allow([^HAVE_POLL_H$]) ++m4trace:configure.ac:3746: -1- AH_OUTPUT([HAVE_SYS_POLL_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_SYS_POLL_H]) ++m4trace:configure.ac:3746: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_POLL_H]) ++m4trace:configure.ac:3746: -1- m4_pattern_allow([^HAVE_SYS_POLL_H$]) ++m4trace:configure.ac:3746: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:5778: CURL_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:4011: CURL_CHECK_FUNC_POLL is expanded from... ++configure.ac:3746: the top level]) ++m4trace:configure.ac:3746: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:5778: CURL_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:4011: CURL_CHECK_FUNC_POLL is expanded from... ++configure.ac:3746: the top level]) ++m4trace:configure.ac:3746: -1- AC_DEFINE_TRACE_LITERAL([HAVE_POLL_FINE]) ++m4trace:configure.ac:3746: -1- m4_pattern_allow([^HAVE_POLL_FINE$]) ++m4trace:configure.ac:3746: -1- AH_OUTPUT([HAVE_POLL_FINE], [/* If you have a fine poll */ + @%:@undef HAVE_POLL_FINE]) +-m4trace:configure.ac:3558: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3747: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_SYS_TYPES_H]) +-m4trace:configure.ac:3558: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TYPES_H]) +-m4trace:configure.ac:3558: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) +-m4trace:configure.ac:3558: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SIGACTION]) +-m4trace:configure.ac:3558: -1- m4_pattern_allow([^HAVE_SIGACTION$]) +-m4trace:configure.ac:3558: -1- AH_OUTPUT([HAVE_SIGACTION], [/* Define to 1 if you have the sigaction function. */ ++m4trace:configure.ac:3747: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TYPES_H]) ++m4trace:configure.ac:3747: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) ++m4trace:configure.ac:3747: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SIGACTION]) ++m4trace:configure.ac:3747: -1- m4_pattern_allow([^HAVE_SIGACTION$]) ++m4trace:configure.ac:3747: -1- AH_OUTPUT([HAVE_SIGACTION], [/* Define to 1 if you have the sigaction function. */ + @%:@undef HAVE_SIGACTION]) +-m4trace:configure.ac:3559: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SIGINTERRUPT]) +-m4trace:configure.ac:3559: -1- m4_pattern_allow([^HAVE_SIGINTERRUPT$]) +-m4trace:configure.ac:3559: -1- AH_OUTPUT([HAVE_SIGINTERRUPT], [/* Define to 1 if you have the siginterrupt function. */ ++m4trace:configure.ac:3748: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SIGINTERRUPT]) ++m4trace:configure.ac:3748: -1- m4_pattern_allow([^HAVE_SIGINTERRUPT$]) ++m4trace:configure.ac:3748: -1- AH_OUTPUT([HAVE_SIGINTERRUPT], [/* Define to 1 if you have the siginterrupt function. */ + @%:@undef HAVE_SIGINTERRUPT]) +-m4trace:configure.ac:3560: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SIGNAL]) +-m4trace:configure.ac:3560: -1- m4_pattern_allow([^HAVE_SIGNAL$]) +-m4trace:configure.ac:3560: -1- AH_OUTPUT([HAVE_SIGNAL], [/* Define to 1 if you have the signal function. */ ++m4trace:configure.ac:3749: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SIGNAL]) ++m4trace:configure.ac:3749: -1- m4_pattern_allow([^HAVE_SIGNAL$]) ++m4trace:configure.ac:3749: -1- AH_OUTPUT([HAVE_SIGNAL], [/* Define to 1 if you have the signal function. */ + @%:@undef HAVE_SIGNAL]) +-m4trace:configure.ac:3561: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3750: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_SYS_TYPES_H]) +-m4trace:configure.ac:3561: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TYPES_H]) +-m4trace:configure.ac:3561: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) +-m4trace:configure.ac:3561: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SIGSETJMP]) +-m4trace:configure.ac:3561: -1- m4_pattern_allow([^HAVE_SIGSETJMP$]) +-m4trace:configure.ac:3561: -1- AH_OUTPUT([HAVE_SIGSETJMP], [/* Define to 1 if you have the sigsetjmp function or macro. */ ++m4trace:configure.ac:3750: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TYPES_H]) ++m4trace:configure.ac:3750: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) ++m4trace:configure.ac:3750: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SIGSETJMP]) ++m4trace:configure.ac:3750: -1- m4_pattern_allow([^HAVE_SIGSETJMP$]) ++m4trace:configure.ac:3750: -1- AH_OUTPUT([HAVE_SIGSETJMP], [/* Define to 1 if you have the sigsetjmp function or macro. */ + @%:@undef HAVE_SIGSETJMP]) +-m4trace:configure.ac:3562: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SOCKET]) +-m4trace:configure.ac:3562: -1- m4_pattern_allow([^HAVE_SOCKET$]) +-m4trace:configure.ac:3562: -1- AH_OUTPUT([HAVE_SOCKET], [/* Define to 1 if you have the socket function. */ ++m4trace:configure.ac:3751: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SOCKET]) ++m4trace:configure.ac:3751: -1- m4_pattern_allow([^HAVE_SOCKET$]) ++m4trace:configure.ac:3751: -1- AH_OUTPUT([HAVE_SOCKET], [/* Define to 1 if you have the socket function. */ + @%:@undef HAVE_SOCKET]) +-m4trace:configure.ac:3563: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SOCKETPAIR]) +-m4trace:configure.ac:3563: -1- m4_pattern_allow([^HAVE_SOCKETPAIR$]) +-m4trace:configure.ac:3563: -1- AH_OUTPUT([HAVE_SOCKETPAIR], [/* Define to 1 if you have the socketpair function. */ ++m4trace:configure.ac:3752: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SOCKETPAIR]) ++m4trace:configure.ac:3752: -1- m4_pattern_allow([^HAVE_SOCKETPAIR$]) ++m4trace:configure.ac:3752: -1- AH_OUTPUT([HAVE_SOCKETPAIR], [/* Define to 1 if you have the socketpair function. */ + @%:@undef HAVE_SOCKETPAIR]) +-m4trace:configure.ac:3564: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRCASECMP]) +-m4trace:configure.ac:3564: -1- m4_pattern_allow([^HAVE_STRCASECMP$]) +-m4trace:configure.ac:3564: -1- AH_OUTPUT([HAVE_STRCASECMP], [/* Define to 1 if you have the strcasecmp function. */ ++m4trace:configure.ac:3753: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRCASECMP]) ++m4trace:configure.ac:3753: -1- m4_pattern_allow([^HAVE_STRCASECMP$]) ++m4trace:configure.ac:3753: -1- AH_OUTPUT([HAVE_STRCASECMP], [/* Define to 1 if you have the strcasecmp function. */ + @%:@undef HAVE_STRCASECMP]) +-m4trace:configure.ac:3565: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRCMPI]) +-m4trace:configure.ac:3565: -1- m4_pattern_allow([^HAVE_STRCMPI$]) +-m4trace:configure.ac:3565: -1- AH_OUTPUT([HAVE_STRCMPI], [/* Define to 1 if you have the strcmpi function. */ ++m4trace:configure.ac:3754: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRCMPI]) ++m4trace:configure.ac:3754: -1- m4_pattern_allow([^HAVE_STRCMPI$]) ++m4trace:configure.ac:3754: -1- AH_OUTPUT([HAVE_STRCMPI], [/* Define to 1 if you have the strcmpi function. */ + @%:@undef HAVE_STRCMPI]) +-m4trace:configure.ac:3566: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRDUP]) +-m4trace:configure.ac:3566: -1- m4_pattern_allow([^HAVE_STRDUP$]) +-m4trace:configure.ac:3566: -1- AH_OUTPUT([HAVE_STRDUP], [/* Define to 1 if you have the strdup function. */ ++m4trace:configure.ac:3755: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRDUP]) ++m4trace:configure.ac:3755: -1- m4_pattern_allow([^HAVE_STRDUP$]) ++m4trace:configure.ac:3755: -1- AH_OUTPUT([HAVE_STRDUP], [/* Define to 1 if you have the strdup function. */ + @%:@undef HAVE_STRDUP]) +-m4trace:configure.ac:3567: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:5818: CURL_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:5320: CURL_CHECK_FUNC_STRERROR_R is expanded from... +-configure.ac:3567: the top level]) +-m4trace:configure.ac:3567: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:5818: CURL_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:5320: CURL_CHECK_FUNC_STRERROR_R is expanded from... +-configure.ac:3567: the top level]) +-m4trace:configure.ac:3567: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:5818: CURL_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:5320: CURL_CHECK_FUNC_STRERROR_R is expanded from... +-configure.ac:3567: the top level]) +-m4trace:configure.ac:3567: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:5818: CURL_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:5320: CURL_CHECK_FUNC_STRERROR_R is expanded from... +-configure.ac:3567: the top level]) +-m4trace:configure.ac:3567: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRERROR_R]) +-m4trace:configure.ac:3567: -1- m4_pattern_allow([^HAVE_STRERROR_R$]) +-m4trace:configure.ac:3567: -1- AH_OUTPUT([HAVE_STRERROR_R], [/* Define to 1 if you have the strerror_r function. */ ++m4trace:configure.ac:3756: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:5778: CURL_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:5280: CURL_CHECK_FUNC_STRERROR_R is expanded from... ++configure.ac:3756: the top level]) ++m4trace:configure.ac:3756: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:5778: CURL_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:5280: CURL_CHECK_FUNC_STRERROR_R is expanded from... ++configure.ac:3756: the top level]) ++m4trace:configure.ac:3756: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:5778: CURL_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:5280: CURL_CHECK_FUNC_STRERROR_R is expanded from... ++configure.ac:3756: the top level]) ++m4trace:configure.ac:3756: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:5778: CURL_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:5280: CURL_CHECK_FUNC_STRERROR_R is expanded from... ++configure.ac:3756: the top level]) ++m4trace:configure.ac:3756: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRERROR_R]) ++m4trace:configure.ac:3756: -1- m4_pattern_allow([^HAVE_STRERROR_R$]) ++m4trace:configure.ac:3756: -1- AH_OUTPUT([HAVE_STRERROR_R], [/* Define to 1 if you have the strerror_r function. */ + @%:@undef HAVE_STRERROR_R]) +-m4trace:configure.ac:3567: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GLIBC_STRERROR_R]) +-m4trace:configure.ac:3567: -1- m4_pattern_allow([^HAVE_GLIBC_STRERROR_R$]) +-m4trace:configure.ac:3567: -1- AH_OUTPUT([HAVE_GLIBC_STRERROR_R], [/* Define to 1 if you have a working glibc-style strerror_r function. */ ++m4trace:configure.ac:3756: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GLIBC_STRERROR_R]) ++m4trace:configure.ac:3756: -1- m4_pattern_allow([^HAVE_GLIBC_STRERROR_R$]) ++m4trace:configure.ac:3756: -1- AH_OUTPUT([HAVE_GLIBC_STRERROR_R], [/* Define to 1 if you have a working glibc-style strerror_r function. */ + @%:@undef HAVE_GLIBC_STRERROR_R]) +-m4trace:configure.ac:3567: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRERROR_R]) +-m4trace:configure.ac:3567: -1- m4_pattern_allow([^HAVE_STRERROR_R$]) +-m4trace:configure.ac:3567: -1- AH_OUTPUT([HAVE_STRERROR_R], [/* Define to 1 if you have the strerror_r function. */ ++m4trace:configure.ac:3756: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRERROR_R]) ++m4trace:configure.ac:3756: -1- m4_pattern_allow([^HAVE_STRERROR_R$]) ++m4trace:configure.ac:3756: -1- AH_OUTPUT([HAVE_STRERROR_R], [/* Define to 1 if you have the strerror_r function. */ + @%:@undef HAVE_STRERROR_R]) +-m4trace:configure.ac:3567: -1- AC_DEFINE_TRACE_LITERAL([HAVE_POSIX_STRERROR_R]) +-m4trace:configure.ac:3567: -1- m4_pattern_allow([^HAVE_POSIX_STRERROR_R$]) +-m4trace:configure.ac:3567: -1- AH_OUTPUT([HAVE_POSIX_STRERROR_R], [/* Define to 1 if you have a working POSIX-style strerror_r function. */ ++m4trace:configure.ac:3756: -1- AC_DEFINE_TRACE_LITERAL([HAVE_POSIX_STRERROR_R]) ++m4trace:configure.ac:3756: -1- m4_pattern_allow([^HAVE_POSIX_STRERROR_R$]) ++m4trace:configure.ac:3756: -1- AH_OUTPUT([HAVE_POSIX_STRERROR_R], [/* Define to 1 if you have a working POSIX-style strerror_r function. */ + @%:@undef HAVE_POSIX_STRERROR_R]) +-m4trace:configure.ac:3568: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRICMP]) +-m4trace:configure.ac:3568: -1- m4_pattern_allow([^HAVE_STRICMP$]) +-m4trace:configure.ac:3568: -1- AH_OUTPUT([HAVE_STRICMP], [/* Define to 1 if you have the stricmp function. */ ++m4trace:configure.ac:3757: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRICMP]) ++m4trace:configure.ac:3757: -1- m4_pattern_allow([^HAVE_STRICMP$]) ++m4trace:configure.ac:3757: -1- AH_OUTPUT([HAVE_STRICMP], [/* Define to 1 if you have the stricmp function. */ + @%:@undef HAVE_STRICMP]) +-m4trace:configure.ac:3569: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRTOK_R]) +-m4trace:configure.ac:3569: -1- m4_pattern_allow([^HAVE_STRTOK_R$]) +-m4trace:configure.ac:3569: -1- AH_OUTPUT([HAVE_STRTOK_R], [/* Define to 1 if you have the strtok_r function. */ ++m4trace:configure.ac:3758: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRTOK_R]) ++m4trace:configure.ac:3758: -1- m4_pattern_allow([^HAVE_STRTOK_R$]) ++m4trace:configure.ac:3758: -1- AH_OUTPUT([HAVE_STRTOK_R], [/* Define to 1 if you have the strtok_r function. */ + @%:@undef HAVE_STRTOK_R]) +-m4trace:configure.ac:3570: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRTOLL]) +-m4trace:configure.ac:3570: -1- m4_pattern_allow([^HAVE_STRTOLL$]) +-m4trace:configure.ac:3570: -1- AH_OUTPUT([HAVE_STRTOLL], [/* Define to 1 if you have the strtoll function. */ ++m4trace:configure.ac:3759: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRTOLL]) ++m4trace:configure.ac:3759: -1- m4_pattern_allow([^HAVE_STRTOLL$]) ++m4trace:configure.ac:3759: -1- AH_OUTPUT([HAVE_STRTOLL], [/* Define to 1 if you have the strtoll function. */ + @%:@undef HAVE_STRTOLL]) +-m4trace:configure.ac:3580: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_GETPWUID_R]) +-m4trace:configure.ac:3580: -1- m4_pattern_allow([^HAVE_DECL_GETPWUID_R$]) +-m4trace:configure.ac:3580: -1- AH_OUTPUT([HAVE_DECL_GETPWUID_R], [/* Define to 1 if you have the declaration of `getpwuid_r\', and to 0 if you ++m4trace:configure.ac:3769: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_GETPWUID_R]) ++m4trace:configure.ac:3769: -1- m4_pattern_allow([^HAVE_DECL_GETPWUID_R$]) ++m4trace:configure.ac:3769: -1- AH_OUTPUT([HAVE_DECL_GETPWUID_R], [/* Define to 1 if you have the declaration of `getpwuid_r\', and to 0 if you + don\'t. */ + @%:@undef HAVE_DECL_GETPWUID_R]) +-m4trace:configure.ac:3580: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_GETPWUID_R_MISSING]) +-m4trace:configure.ac:3580: -1- m4_pattern_allow([^HAVE_DECL_GETPWUID_R_MISSING$]) +-m4trace:configure.ac:3580: -1- AH_OUTPUT([HAVE_DECL_GETPWUID_R_MISSING], [/* "Set if getpwuid_r() declaration is missing" */ ++m4trace:configure.ac:3769: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_GETPWUID_R_MISSING]) ++m4trace:configure.ac:3769: -1- m4_pattern_allow([^HAVE_DECL_GETPWUID_R_MISSING$]) ++m4trace:configure.ac:3769: -1- AH_OUTPUT([HAVE_DECL_GETPWUID_R_MISSING], [/* "Set if getpwuid_r() declaration is missing" */ + @%:@undef HAVE_DECL_GETPWUID_R_MISSING]) +-m4trace:configure.ac:3585: -1- AH_OUTPUT([HAVE__FSEEKI64], [/* Define to 1 if you have the `_fseeki64\' function. */ ++m4trace:configure.ac:3773: -1- AH_OUTPUT([HAVE__FSEEKI64], [/* Define to 1 if you have the `_fseeki64\' function. */ + @%:@undef HAVE__FSEEKI64]) +-m4trace:configure.ac:3585: -1- AH_OUTPUT([HAVE_ARC4RANDOM], [/* Define to 1 if you have the `arc4random\' function. */ ++m4trace:configure.ac:3773: -1- AH_OUTPUT([HAVE_ARC4RANDOM], [/* Define to 1 if you have the `arc4random\' function. */ + @%:@undef HAVE_ARC4RANDOM]) +-m4trace:configure.ac:3585: -1- AH_OUTPUT([HAVE_FCHMOD], [/* Define to 1 if you have the `fchmod\' function. */ +-@%:@undef HAVE_FCHMOD]) +-m4trace:configure.ac:3585: -1- AH_OUTPUT([HAVE_FNMATCH], [/* Define to 1 if you have the `fnmatch\' function. */ ++m4trace:configure.ac:3773: -1- AH_OUTPUT([HAVE_FNMATCH], [/* Define to 1 if you have the `fnmatch\' function. */ + @%:@undef HAVE_FNMATCH]) +-m4trace:configure.ac:3585: -1- AH_OUTPUT([HAVE_FSEEKO], [/* Define to 1 if you have the `fseeko\' function. */ ++m4trace:configure.ac:3773: -1- AH_OUTPUT([HAVE_FSEEKO], [/* Define to 1 if you have the `fseeko\' function. */ + @%:@undef HAVE_FSEEKO]) +-m4trace:configure.ac:3585: -1- AH_OUTPUT([HAVE_GETEUID], [/* Define to 1 if you have the `geteuid\' function. */ ++m4trace:configure.ac:3773: -1- AH_OUTPUT([HAVE_GETEUID], [/* Define to 1 if you have the `geteuid\' function. */ + @%:@undef HAVE_GETEUID]) +-m4trace:configure.ac:3585: -1- AH_OUTPUT([HAVE_GETPASS_R], [/* Define to 1 if you have the `getpass_r\' function. */ ++m4trace:configure.ac:3773: -1- AH_OUTPUT([HAVE_GETPASS_R], [/* Define to 1 if you have the `getpass_r\' function. */ + @%:@undef HAVE_GETPASS_R]) +-m4trace:configure.ac:3585: -1- AH_OUTPUT([HAVE_GETPPID], [/* Define to 1 if you have the `getppid\' function. */ ++m4trace:configure.ac:3773: -1- AH_OUTPUT([HAVE_GETPPID], [/* Define to 1 if you have the `getppid\' function. */ + @%:@undef HAVE_GETPPID]) +-m4trace:configure.ac:3585: -1- AH_OUTPUT([HAVE_GETPWUID], [/* Define to 1 if you have the `getpwuid\' function. */ ++m4trace:configure.ac:3773: -1- AH_OUTPUT([HAVE_GETPWUID], [/* Define to 1 if you have the `getpwuid\' function. */ + @%:@undef HAVE_GETPWUID]) +-m4trace:configure.ac:3585: -1- AH_OUTPUT([HAVE_GETPWUID_R], [/* Define to 1 if you have the `getpwuid_r\' function. */ ++m4trace:configure.ac:3773: -1- AH_OUTPUT([HAVE_GETPWUID_R], [/* Define to 1 if you have the `getpwuid_r\' function. */ + @%:@undef HAVE_GETPWUID_R]) +-m4trace:configure.ac:3585: -1- AH_OUTPUT([HAVE_GETRLIMIT], [/* Define to 1 if you have the `getrlimit\' function. */ ++m4trace:configure.ac:3773: -1- AH_OUTPUT([HAVE_GETRLIMIT], [/* Define to 1 if you have the `getrlimit\' function. */ + @%:@undef HAVE_GETRLIMIT]) +-m4trace:configure.ac:3585: -1- AH_OUTPUT([HAVE_GETTIMEOFDAY], [/* Define to 1 if you have the `gettimeofday\' function. */ ++m4trace:configure.ac:3773: -1- AH_OUTPUT([HAVE_GETTIMEOFDAY], [/* Define to 1 if you have the `gettimeofday\' function. */ + @%:@undef HAVE_GETTIMEOFDAY]) +-m4trace:configure.ac:3585: -1- AH_OUTPUT([HAVE_IF_NAMETOINDEX], [/* Define to 1 if you have the `if_nametoindex\' function. */ ++m4trace:configure.ac:3773: -1- AH_OUTPUT([HAVE_IF_NAMETOINDEX], [/* Define to 1 if you have the `if_nametoindex\' function. */ + @%:@undef HAVE_IF_NAMETOINDEX]) +-m4trace:configure.ac:3585: -1- AH_OUTPUT([HAVE_MACH_ABSOLUTE_TIME], [/* Define to 1 if you have the `mach_absolute_time\' function. */ ++m4trace:configure.ac:3773: -1- AH_OUTPUT([HAVE_MACH_ABSOLUTE_TIME], [/* Define to 1 if you have the `mach_absolute_time\' function. */ + @%:@undef HAVE_MACH_ABSOLUTE_TIME]) +-m4trace:configure.ac:3585: -1- AH_OUTPUT([HAVE_PIPE], [/* Define to 1 if you have the `pipe\' function. */ ++m4trace:configure.ac:3773: -1- AH_OUTPUT([HAVE_PIPE], [/* Define to 1 if you have the `pipe\' function. */ + @%:@undef HAVE_PIPE]) +-m4trace:configure.ac:3585: -1- AH_OUTPUT([HAVE_SCHED_YIELD], [/* Define to 1 if you have the `sched_yield\' function. */ ++m4trace:configure.ac:3773: -1- AH_OUTPUT([HAVE_SCHED_YIELD], [/* Define to 1 if you have the `sched_yield\' function. */ + @%:@undef HAVE_SCHED_YIELD]) +-m4trace:configure.ac:3585: -1- AH_OUTPUT([HAVE_SENDMSG], [/* Define to 1 if you have the `sendmsg\' function. */ ++m4trace:configure.ac:3773: -1- AH_OUTPUT([HAVE_SENDMSG], [/* Define to 1 if you have the `sendmsg\' function. */ + @%:@undef HAVE_SENDMSG]) +-m4trace:configure.ac:3585: -1- AH_OUTPUT([HAVE_SETLOCALE], [/* Define to 1 if you have the `setlocale\' function. */ ++m4trace:configure.ac:3773: -1- AH_OUTPUT([HAVE_SETLOCALE], [/* Define to 1 if you have the `setlocale\' function. */ + @%:@undef HAVE_SETLOCALE]) +-m4trace:configure.ac:3585: -1- AH_OUTPUT([HAVE_SETMODE], [/* Define to 1 if you have the `setmode\' function. */ ++m4trace:configure.ac:3773: -1- AH_OUTPUT([HAVE_SETMODE], [/* Define to 1 if you have the `setmode\' function. */ + @%:@undef HAVE_SETMODE]) +-m4trace:configure.ac:3585: -1- AH_OUTPUT([HAVE_SETRLIMIT], [/* Define to 1 if you have the `setrlimit\' function. */ ++m4trace:configure.ac:3773: -1- AH_OUTPUT([HAVE_SETRLIMIT], [/* Define to 1 if you have the `setrlimit\' function. */ + @%:@undef HAVE_SETRLIMIT]) +-m4trace:configure.ac:3585: -1- AH_OUTPUT([HAVE_SNPRINTF], [/* Define to 1 if you have the `snprintf\' function. */ ++m4trace:configure.ac:3773: -1- AH_OUTPUT([HAVE_SNPRINTF], [/* Define to 1 if you have the `snprintf\' function. */ + @%:@undef HAVE_SNPRINTF]) +-m4trace:configure.ac:3585: -1- AH_OUTPUT([HAVE_UTIME], [/* Define to 1 if you have the `utime\' function. */ ++m4trace:configure.ac:3773: -1- AH_OUTPUT([HAVE_UTIME], [/* Define to 1 if you have the `utime\' function. */ + @%:@undef HAVE_UTIME]) +-m4trace:configure.ac:3585: -1- AH_OUTPUT([HAVE_UTIMES], [/* Define to 1 if you have the `utimes\' function. */ ++m4trace:configure.ac:3773: -1- AH_OUTPUT([HAVE_UTIMES], [/* Define to 1 if you have the `utimes\' function. */ + @%:@undef HAVE_UTIMES]) +-m4trace:configure.ac:3637: -1- AC_SUBST([PERL]) +-m4trace:configure.ac:3637: -1- AC_SUBST_TRACE([PERL]) +-m4trace:configure.ac:3637: -1- m4_pattern_allow([^PERL$]) +-m4trace:configure.ac:3639: -1- AC_SUBST([PERL]) +-m4trace:configure.ac:3639: -1- AC_SUBST_TRACE([PERL]) +-m4trace:configure.ac:3639: -1- m4_pattern_allow([^PERL$]) +-m4trace:configure.ac:3641: -1- AC_SUBST([NROFF]) +-m4trace:configure.ac:3641: -1- AC_SUBST_TRACE([NROFF]) +-m4trace:configure.ac:3641: -1- m4_pattern_allow([^NROFF$]) +-m4trace:configure.ac:3643: -1- AC_SUBST([NROFF]) +-m4trace:configure.ac:3643: -1- AC_SUBST_TRACE([NROFF]) +-m4trace:configure.ac:3643: -1- m4_pattern_allow([^NROFF$]) +-m4trace:configure.ac:3664: -1- AC_SUBST([MANOPT]) +-m4trace:configure.ac:3664: -1- AC_SUBST_TRACE([MANOPT]) +-m4trace:configure.ac:3664: -1- m4_pattern_allow([^MANOPT$]) +-m4trace:configure.ac:3680: -1- AC_DEFINE_TRACE_LITERAL([USE_MANUAL]) +-m4trace:configure.ac:3680: -1- m4_pattern_allow([^USE_MANUAL$]) +-m4trace:configure.ac:3680: -1- AH_OUTPUT([USE_MANUAL], [/* If you want to build curl with the built-in manual */ ++m4trace:configure.ac:3821: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_FSEEKO]) ++m4trace:configure.ac:3821: -1- m4_pattern_allow([^HAVE_DECL_FSEEKO$]) ++m4trace:configure.ac:3821: -1- AH_OUTPUT([HAVE_DECL_FSEEKO], [/* Define to 1 if you have the fseeko declaration */ ++@%:@undef HAVE_DECL_FSEEKO]) ++m4trace:configure.ac:3829: -1- AC_SUBST([PERL]) ++m4trace:configure.ac:3829: -1- AC_SUBST_TRACE([PERL]) ++m4trace:configure.ac:3829: -1- m4_pattern_allow([^PERL$]) ++m4trace:configure.ac:3831: -1- AC_SUBST([PERL]) ++m4trace:configure.ac:3831: -1- AC_SUBST_TRACE([PERL]) ++m4trace:configure.ac:3831: -1- m4_pattern_allow([^PERL$]) ++m4trace:configure.ac:3841: -1- AM_CONDITIONAL([BUILD_DOCS], [test x"$BUILD_DOCS" = x1]) ++m4trace:configure.ac:3841: -1- AC_SUBST([BUILD_DOCS_TRUE]) ++m4trace:configure.ac:3841: -1- AC_SUBST_TRACE([BUILD_DOCS_TRUE]) ++m4trace:configure.ac:3841: -1- m4_pattern_allow([^BUILD_DOCS_TRUE$]) ++m4trace:configure.ac:3841: -1- AC_SUBST([BUILD_DOCS_FALSE]) ++m4trace:configure.ac:3841: -1- AC_SUBST_TRACE([BUILD_DOCS_FALSE]) ++m4trace:configure.ac:3841: -1- m4_pattern_allow([^BUILD_DOCS_FALSE$]) ++m4trace:configure.ac:3841: -1- _AM_SUBST_NOTMAKE([BUILD_DOCS_TRUE]) ++m4trace:configure.ac:3841: -1- _AM_SUBST_NOTMAKE([BUILD_DOCS_FALSE]) ++m4trace:configure.ac:3848: -1- AC_DEFINE_TRACE_LITERAL([USE_MANUAL]) ++m4trace:configure.ac:3848: -1- m4_pattern_allow([^USE_MANUAL$]) ++m4trace:configure.ac:3848: -1- AH_OUTPUT([USE_MANUAL], [/* If you want to build curl with the built-in manual */ + @%:@undef USE_MANUAL]) +-m4trace:configure.ac:3685: -1- AM_CONDITIONAL([USE_MANUAL], [test x"$USE_MANUAL" = x1]) +-m4trace:configure.ac:3685: -1- AC_SUBST([USE_MANUAL_TRUE]) +-m4trace:configure.ac:3685: -1- AC_SUBST_TRACE([USE_MANUAL_TRUE]) +-m4trace:configure.ac:3685: -1- m4_pattern_allow([^USE_MANUAL_TRUE$]) +-m4trace:configure.ac:3685: -1- AC_SUBST([USE_MANUAL_FALSE]) +-m4trace:configure.ac:3685: -1- AC_SUBST_TRACE([USE_MANUAL_FALSE]) +-m4trace:configure.ac:3685: -1- m4_pattern_allow([^USE_MANUAL_FALSE$]) +-m4trace:configure.ac:3685: -1- _AM_SUBST_NOTMAKE([USE_MANUAL_TRUE]) +-m4trace:configure.ac:3685: -1- _AM_SUBST_NOTMAKE([USE_MANUAL_FALSE]) +-m4trace:configure.ac:3687: -1- AC_SUBST([PKGCONFIG]) +-m4trace:configure.ac:3687: -1- AC_SUBST_TRACE([PKGCONFIG]) +-m4trace:configure.ac:3687: -1- m4_pattern_allow([^PKGCONFIG$]) +-m4trace:configure.ac:3687: -1- AC_SUBST([PKGCONFIG]) +-m4trace:configure.ac:3687: -1- AC_SUBST_TRACE([PKGCONFIG]) +-m4trace:configure.ac:3687: -1- m4_pattern_allow([^PKGCONFIG$]) +-m4trace:configure.ac:3687: -1- AC_DEFINE_TRACE_LITERAL([USE_ARES]) +-m4trace:configure.ac:3687: -1- m4_pattern_allow([^USE_ARES$]) +-m4trace:configure.ac:3687: -1- AH_OUTPUT([USE_ARES], [/* Define to enable c-ares support */ ++m4trace:configure.ac:3853: -1- AM_CONDITIONAL([USE_MANUAL], [test x"$USE_MANUAL" = x1]) ++m4trace:configure.ac:3853: -1- AC_SUBST([USE_MANUAL_TRUE]) ++m4trace:configure.ac:3853: -1- AC_SUBST_TRACE([USE_MANUAL_TRUE]) ++m4trace:configure.ac:3853: -1- m4_pattern_allow([^USE_MANUAL_TRUE$]) ++m4trace:configure.ac:3853: -1- AC_SUBST([USE_MANUAL_FALSE]) ++m4trace:configure.ac:3853: -1- AC_SUBST_TRACE([USE_MANUAL_FALSE]) ++m4trace:configure.ac:3853: -1- m4_pattern_allow([^USE_MANUAL_FALSE$]) ++m4trace:configure.ac:3853: -1- _AM_SUBST_NOTMAKE([USE_MANUAL_TRUE]) ++m4trace:configure.ac:3853: -1- _AM_SUBST_NOTMAKE([USE_MANUAL_FALSE]) ++m4trace:configure.ac:3855: -1- AC_SUBST([PKGCONFIG]) ++m4trace:configure.ac:3855: -1- AC_SUBST_TRACE([PKGCONFIG]) ++m4trace:configure.ac:3855: -1- m4_pattern_allow([^PKGCONFIG$]) ++m4trace:configure.ac:3855: -1- AC_SUBST([PKGCONFIG]) ++m4trace:configure.ac:3855: -1- AC_SUBST_TRACE([PKGCONFIG]) ++m4trace:configure.ac:3855: -1- m4_pattern_allow([^PKGCONFIG$]) ++m4trace:configure.ac:3855: -1- AC_DEFINE_TRACE_LITERAL([USE_ARES]) ++m4trace:configure.ac:3855: -1- m4_pattern_allow([^USE_ARES$]) ++m4trace:configure.ac:3855: -1- AH_OUTPUT([USE_ARES], [/* Define to enable c-ares support */ + @%:@undef USE_ARES]) +-m4trace:configure.ac:3687: -1- AC_SUBST([USE_ARES], [1]) +-m4trace:configure.ac:3687: -1- AC_SUBST_TRACE([USE_ARES]) +-m4trace:configure.ac:3687: -1- m4_pattern_allow([^USE_ARES$]) +-m4trace:configure.ac:3695: -1- AM_CONDITIONAL([BUILD_LIBHOSTNAME], [test x$build_libhostname = xyes]) +-m4trace:configure.ac:3695: -1- AC_SUBST([BUILD_LIBHOSTNAME_TRUE]) +-m4trace:configure.ac:3695: -1- AC_SUBST_TRACE([BUILD_LIBHOSTNAME_TRUE]) +-m4trace:configure.ac:3695: -1- m4_pattern_allow([^BUILD_LIBHOSTNAME_TRUE$]) +-m4trace:configure.ac:3695: -1- AC_SUBST([BUILD_LIBHOSTNAME_FALSE]) +-m4trace:configure.ac:3695: -1- AC_SUBST_TRACE([BUILD_LIBHOSTNAME_FALSE]) +-m4trace:configure.ac:3695: -1- m4_pattern_allow([^BUILD_LIBHOSTNAME_FALSE$]) +-m4trace:configure.ac:3695: -1- _AM_SUBST_NOTMAKE([BUILD_LIBHOSTNAME_TRUE]) +-m4trace:configure.ac:3695: -1- _AM_SUBST_NOTMAKE([BUILD_LIBHOSTNAME_FALSE]) +-m4trace:configure.ac:3743: -1- AC_DEFINE_TRACE_LITERAL([HAVE_PTHREAD_H]) +-m4trace:configure.ac:3743: -1- m4_pattern_allow([^HAVE_PTHREAD_H$]) +-m4trace:configure.ac:3743: -1- AH_OUTPUT([HAVE_PTHREAD_H], [/* if you have */ ++m4trace:configure.ac:3855: -1- AC_SUBST([USE_ARES], [1]) ++m4trace:configure.ac:3855: -1- AC_SUBST_TRACE([USE_ARES]) ++m4trace:configure.ac:3855: -1- m4_pattern_allow([^USE_ARES$]) ++m4trace:configure.ac:3863: -1- AM_CONDITIONAL([BUILD_LIBHOSTNAME], [test x$build_libhostname = xyes]) ++m4trace:configure.ac:3863: -1- AC_SUBST([BUILD_LIBHOSTNAME_TRUE]) ++m4trace:configure.ac:3863: -1- AC_SUBST_TRACE([BUILD_LIBHOSTNAME_TRUE]) ++m4trace:configure.ac:3863: -1- m4_pattern_allow([^BUILD_LIBHOSTNAME_TRUE$]) ++m4trace:configure.ac:3863: -1- AC_SUBST([BUILD_LIBHOSTNAME_FALSE]) ++m4trace:configure.ac:3863: -1- AC_SUBST_TRACE([BUILD_LIBHOSTNAME_FALSE]) ++m4trace:configure.ac:3863: -1- m4_pattern_allow([^BUILD_LIBHOSTNAME_FALSE$]) ++m4trace:configure.ac:3863: -1- _AM_SUBST_NOTMAKE([BUILD_LIBHOSTNAME_TRUE]) ++m4trace:configure.ac:3863: -1- _AM_SUBST_NOTMAKE([BUILD_LIBHOSTNAME_FALSE]) ++m4trace:configure.ac:3911: -1- AC_DEFINE_TRACE_LITERAL([HAVE_PTHREAD_H]) ++m4trace:configure.ac:3911: -1- m4_pattern_allow([^HAVE_PTHREAD_H$]) ++m4trace:configure.ac:3911: -1- AH_OUTPUT([HAVE_PTHREAD_H], [/* if you have */ + @%:@undef HAVE_PTHREAD_H]) +-m4trace:configure.ac:3743: -1- AC_DEFINE_TRACE_LITERAL([USE_THREADS_POSIX]) +-m4trace:configure.ac:3743: -1- m4_pattern_allow([^USE_THREADS_POSIX$]) +-m4trace:configure.ac:3743: -1- AH_OUTPUT([USE_THREADS_POSIX], [/* if you want POSIX threaded DNS lookup */ ++m4trace:configure.ac:3911: -1- AC_DEFINE_TRACE_LITERAL([USE_THREADS_POSIX]) ++m4trace:configure.ac:3911: -1- m4_pattern_allow([^USE_THREADS_POSIX$]) ++m4trace:configure.ac:3911: -1- AH_OUTPUT([USE_THREADS_POSIX], [/* if you want POSIX threaded DNS lookup */ + @%:@undef USE_THREADS_POSIX]) +-m4trace:configure.ac:3813: -1- AC_DEFINE_TRACE_LITERAL([USE_THREADS_WIN32]) +-m4trace:configure.ac:3813: -1- m4_pattern_allow([^USE_THREADS_WIN32$]) +-m4trace:configure.ac:3813: -1- AH_OUTPUT([USE_THREADS_WIN32], [/* if you want Win32 threaded DNS lookup */ ++m4trace:configure.ac:3981: -1- AC_DEFINE_TRACE_LITERAL([USE_THREADS_WIN32]) ++m4trace:configure.ac:3981: -1- m4_pattern_allow([^USE_THREADS_WIN32$]) ++m4trace:configure.ac:3981: -1- AH_OUTPUT([USE_THREADS_WIN32], [/* if you want Win32 threaded DNS lookup */ + @%:@undef USE_THREADS_WIN32]) +-m4trace:configure.ac:3826: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_VERBOSE_STRINGS]) +-m4trace:configure.ac:3826: -1- m4_pattern_allow([^CURL_DISABLE_VERBOSE_STRINGS$]) +-m4trace:configure.ac:3826: -1- AH_OUTPUT([CURL_DISABLE_VERBOSE_STRINGS], [/* to disable verbose strings */ ++m4trace:configure.ac:3994: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_VERBOSE_STRINGS]) ++m4trace:configure.ac:3994: -1- m4_pattern_allow([^CURL_DISABLE_VERBOSE_STRINGS$]) ++m4trace:configure.ac:3994: -1- AH_OUTPUT([CURL_DISABLE_VERBOSE_STRINGS], [/* to disable verbose strings */ + @%:@undef CURL_DISABLE_VERBOSE_STRINGS]) +-m4trace:configure.ac:3845: -1- AC_DEFINE_TRACE_LITERAL([USE_WINDOWS_SSPI]) +-m4trace:configure.ac:3845: -1- m4_pattern_allow([^USE_WINDOWS_SSPI$]) +-m4trace:configure.ac:3845: -1- AH_OUTPUT([USE_WINDOWS_SSPI], [/* to enable SSPI support */ ++m4trace:configure.ac:4013: -1- AC_DEFINE_TRACE_LITERAL([USE_WINDOWS_SSPI]) ++m4trace:configure.ac:4013: -1- m4_pattern_allow([^USE_WINDOWS_SSPI$]) ++m4trace:configure.ac:4013: -1- AH_OUTPUT([USE_WINDOWS_SSPI], [/* to enable SSPI support */ + @%:@undef USE_WINDOWS_SSPI]) +-m4trace:configure.ac:3845: -1- AC_SUBST([USE_WINDOWS_SSPI], [1]) +-m4trace:configure.ac:3845: -1- AC_SUBST_TRACE([USE_WINDOWS_SSPI]) +-m4trace:configure.ac:3845: -1- m4_pattern_allow([^USE_WINDOWS_SSPI$]) +-m4trace:configure.ac:3881: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_BASIC_AUTH]) +-m4trace:configure.ac:3881: -1- m4_pattern_allow([^CURL_DISABLE_BASIC_AUTH$]) +-m4trace:configure.ac:3881: -1- AH_OUTPUT([CURL_DISABLE_BASIC_AUTH], [/* to disable basic authentication */ ++m4trace:configure.ac:4013: -1- AC_SUBST([USE_WINDOWS_SSPI], [1]) ++m4trace:configure.ac:4013: -1- AC_SUBST_TRACE([USE_WINDOWS_SSPI]) ++m4trace:configure.ac:4013: -1- m4_pattern_allow([^USE_WINDOWS_SSPI$]) ++m4trace:configure.ac:4049: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_BASIC_AUTH]) ++m4trace:configure.ac:4049: -1- m4_pattern_allow([^CURL_DISABLE_BASIC_AUTH$]) ++m4trace:configure.ac:4049: -1- AH_OUTPUT([CURL_DISABLE_BASIC_AUTH], [/* to disable basic authentication */ + @%:@undef CURL_DISABLE_BASIC_AUTH]) +-m4trace:configure.ac:3900: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_BEARER_AUTH]) +-m4trace:configure.ac:3900: -1- m4_pattern_allow([^CURL_DISABLE_BEARER_AUTH$]) +-m4trace:configure.ac:3900: -1- AH_OUTPUT([CURL_DISABLE_BEARER_AUTH], [/* to disable bearer authentication */ ++m4trace:configure.ac:4068: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_BEARER_AUTH]) ++m4trace:configure.ac:4068: -1- m4_pattern_allow([^CURL_DISABLE_BEARER_AUTH$]) ++m4trace:configure.ac:4068: -1- AH_OUTPUT([CURL_DISABLE_BEARER_AUTH], [/* to disable bearer authentication */ + @%:@undef CURL_DISABLE_BEARER_AUTH]) +-m4trace:configure.ac:3919: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_DIGEST_AUTH]) +-m4trace:configure.ac:3919: -1- m4_pattern_allow([^CURL_DISABLE_DIGEST_AUTH$]) +-m4trace:configure.ac:3919: -1- AH_OUTPUT([CURL_DISABLE_DIGEST_AUTH], [/* to disable digest authentication */ ++m4trace:configure.ac:4087: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_DIGEST_AUTH]) ++m4trace:configure.ac:4087: -1- m4_pattern_allow([^CURL_DISABLE_DIGEST_AUTH$]) ++m4trace:configure.ac:4087: -1- AH_OUTPUT([CURL_DISABLE_DIGEST_AUTH], [/* to disable digest authentication */ + @%:@undef CURL_DISABLE_DIGEST_AUTH]) +-m4trace:configure.ac:3938: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_KERBEROS_AUTH]) +-m4trace:configure.ac:3938: -1- m4_pattern_allow([^CURL_DISABLE_KERBEROS_AUTH$]) +-m4trace:configure.ac:3938: -1- AH_OUTPUT([CURL_DISABLE_KERBEROS_AUTH], [/* to disable kerberos authentication */ ++m4trace:configure.ac:4106: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_KERBEROS_AUTH]) ++m4trace:configure.ac:4106: -1- m4_pattern_allow([^CURL_DISABLE_KERBEROS_AUTH$]) ++m4trace:configure.ac:4106: -1- AH_OUTPUT([CURL_DISABLE_KERBEROS_AUTH], [/* to disable kerberos authentication */ + @%:@undef CURL_DISABLE_KERBEROS_AUTH]) +-m4trace:configure.ac:3957: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_NEGOTIATE_AUTH]) +-m4trace:configure.ac:3957: -1- m4_pattern_allow([^CURL_DISABLE_NEGOTIATE_AUTH$]) +-m4trace:configure.ac:3957: -1- AH_OUTPUT([CURL_DISABLE_NEGOTIATE_AUTH], [/* to disable negotiate authentication */ ++m4trace:configure.ac:4125: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_NEGOTIATE_AUTH]) ++m4trace:configure.ac:4125: -1- m4_pattern_allow([^CURL_DISABLE_NEGOTIATE_AUTH$]) ++m4trace:configure.ac:4125: -1- AH_OUTPUT([CURL_DISABLE_NEGOTIATE_AUTH], [/* to disable negotiate authentication */ + @%:@undef CURL_DISABLE_NEGOTIATE_AUTH]) +-m4trace:configure.ac:3977: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_AWS]) +-m4trace:configure.ac:3977: -1- m4_pattern_allow([^CURL_DISABLE_AWS$]) +-m4trace:configure.ac:3977: -1- AH_OUTPUT([CURL_DISABLE_AWS], [/* to disable AWS sig support */ ++m4trace:configure.ac:4145: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_AWS]) ++m4trace:configure.ac:4145: -1- m4_pattern_allow([^CURL_DISABLE_AWS$]) ++m4trace:configure.ac:4145: -1- AH_OUTPUT([CURL_DISABLE_AWS], [/* to disable AWS sig support */ + @%:@undef CURL_DISABLE_AWS]) +-m4trace:configure.ac:3996: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_NTLM]) +-m4trace:configure.ac:3996: -1- m4_pattern_allow([^CURL_DISABLE_NTLM$]) +-m4trace:configure.ac:3996: -1- AH_OUTPUT([CURL_DISABLE_NTLM], [/* to disable NTLM support */ ++m4trace:configure.ac:4164: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_NTLM]) ++m4trace:configure.ac:4164: -1- m4_pattern_allow([^CURL_DISABLE_NTLM$]) ++m4trace:configure.ac:4164: -1- AH_OUTPUT([CURL_DISABLE_NTLM], [/* to disable NTLM support */ + @%:@undef CURL_DISABLE_NTLM]) +-m4trace:configure.ac:4013: -1- AC_DEFINE_TRACE_LITERAL([NTLM_WB_ENABLED]) +-m4trace:configure.ac:4013: -1- m4_pattern_allow([^NTLM_WB_ENABLED$]) +-m4trace:configure.ac:4013: -1- AH_OUTPUT([NTLM_WB_ENABLED], [/* Define to enable NTLM delegation to winbind\'s ntlm_auth helper. */ ++m4trace:configure.ac:4181: -1- AC_DEFINE_TRACE_LITERAL([NTLM_WB_ENABLED]) ++m4trace:configure.ac:4181: -1- m4_pattern_allow([^NTLM_WB_ENABLED$]) ++m4trace:configure.ac:4181: -1- AH_OUTPUT([NTLM_WB_ENABLED], [/* Define to enable NTLM delegation to winbind\'s ntlm_auth helper. */ + @%:@undef NTLM_WB_ENABLED]) +-m4trace:configure.ac:4013: -1- AC_DEFINE_TRACE_LITERAL([NTLM_WB_FILE]) +-m4trace:configure.ac:4013: -1- m4_pattern_allow([^NTLM_WB_FILE$]) +-m4trace:configure.ac:4013: -1- AH_OUTPUT([NTLM_WB_FILE], [/* Define absolute filename for winbind\'s ntlm_auth helper. */ ++m4trace:configure.ac:4181: -1- AC_DEFINE_TRACE_LITERAL([NTLM_WB_FILE]) ++m4trace:configure.ac:4181: -1- m4_pattern_allow([^NTLM_WB_FILE$]) ++m4trace:configure.ac:4181: -1- AH_OUTPUT([NTLM_WB_FILE], [/* Define absolute filename for winbind\'s ntlm_auth helper. */ + @%:@undef NTLM_WB_FILE]) +-m4trace:configure.ac:4036: -1- AC_DEFINE_TRACE_LITERAL([USE_TLS_SRP]) +-m4trace:configure.ac:4036: -1- m4_pattern_allow([^USE_TLS_SRP$]) +-m4trace:configure.ac:4036: -1- AH_OUTPUT([USE_TLS_SRP], [/* Use TLS-SRP authentication */ ++m4trace:configure.ac:4204: -1- AC_DEFINE_TRACE_LITERAL([USE_TLS_SRP]) ++m4trace:configure.ac:4204: -1- m4_pattern_allow([^USE_TLS_SRP$]) ++m4trace:configure.ac:4204: -1- AH_OUTPUT([USE_TLS_SRP], [/* Use TLS-SRP authentication */ + @%:@undef USE_TLS_SRP]) +-m4trace:configure.ac:4063: -1- AC_DEFINE_TRACE_LITERAL([USE_UNIX_SOCKETS]) +-m4trace:configure.ac:4063: -1- m4_pattern_allow([^USE_UNIX_SOCKETS$]) +-m4trace:configure.ac:4063: -1- AH_OUTPUT([USE_UNIX_SOCKETS], [/* Use Unix domain sockets */ ++m4trace:configure.ac:4231: -1- AC_DEFINE_TRACE_LITERAL([USE_UNIX_SOCKETS]) ++m4trace:configure.ac:4231: -1- m4_pattern_allow([^USE_UNIX_SOCKETS$]) ++m4trace:configure.ac:4231: -1- AH_OUTPUT([USE_UNIX_SOCKETS], [/* Use Unix domain sockets */ + @%:@undef USE_UNIX_SOCKETS]) +-m4trace:configure.ac:4066: -1- AC_DEFINE_TRACE_LITERAL([USE_UNIX_SOCKETS]) +-m4trace:configure.ac:4066: -1- m4_pattern_allow([^USE_UNIX_SOCKETS$]) +-m4trace:configure.ac:4066: -1- AH_OUTPUT([USE_UNIX_SOCKETS], [/* Use Unix domain sockets */ ++m4trace:configure.ac:4234: -1- AC_DEFINE_TRACE_LITERAL([USE_UNIX_SOCKETS]) ++m4trace:configure.ac:4234: -1- m4_pattern_allow([^USE_UNIX_SOCKETS$]) ++m4trace:configure.ac:4234: -1- AH_OUTPUT([USE_UNIX_SOCKETS], [/* Use Unix domain sockets */ + @%:@undef USE_UNIX_SOCKETS]) +-m4trace:configure.ac:4066: -1- AC_SUBST([USE_UNIX_SOCKETS], [1]) +-m4trace:configure.ac:4066: -1- AC_SUBST_TRACE([USE_UNIX_SOCKETS]) +-m4trace:configure.ac:4066: -1- m4_pattern_allow([^USE_UNIX_SOCKETS$]) +-m4trace:configure.ac:4084: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_COOKIES]) +-m4trace:configure.ac:4084: -1- m4_pattern_allow([^CURL_DISABLE_COOKIES$]) +-m4trace:configure.ac:4084: -1- AH_OUTPUT([CURL_DISABLE_COOKIES], [/* to disable cookies support */ ++m4trace:configure.ac:4234: -1- AC_SUBST([USE_UNIX_SOCKETS], [1]) ++m4trace:configure.ac:4234: -1- AC_SUBST_TRACE([USE_UNIX_SOCKETS]) ++m4trace:configure.ac:4234: -1- m4_pattern_allow([^USE_UNIX_SOCKETS$]) ++m4trace:configure.ac:4252: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_COOKIES]) ++m4trace:configure.ac:4252: -1- m4_pattern_allow([^CURL_DISABLE_COOKIES$]) ++m4trace:configure.ac:4252: -1- AH_OUTPUT([CURL_DISABLE_COOKIES], [/* to disable cookies support */ + @%:@undef CURL_DISABLE_COOKIES]) +-m4trace:configure.ac:4102: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_SOCKETPAIR]) +-m4trace:configure.ac:4102: -1- m4_pattern_allow([^CURL_DISABLE_SOCKETPAIR$]) +-m4trace:configure.ac:4102: -1- AH_OUTPUT([CURL_DISABLE_SOCKETPAIR], [/* to disable socketpair support */ ++m4trace:configure.ac:4270: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_SOCKETPAIR]) ++m4trace:configure.ac:4270: -1- m4_pattern_allow([^CURL_DISABLE_SOCKETPAIR$]) ++m4trace:configure.ac:4270: -1- AH_OUTPUT([CURL_DISABLE_SOCKETPAIR], [/* to disable socketpair support */ + @%:@undef CURL_DISABLE_SOCKETPAIR]) +-m4trace:configure.ac:4120: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_HTTP_AUTH]) +-m4trace:configure.ac:4120: -1- m4_pattern_allow([^CURL_DISABLE_HTTP_AUTH$]) +-m4trace:configure.ac:4120: -1- AH_OUTPUT([CURL_DISABLE_HTTP_AUTH], [/* disable HTTP authentication */ ++m4trace:configure.ac:4288: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_HTTP_AUTH]) ++m4trace:configure.ac:4288: -1- m4_pattern_allow([^CURL_DISABLE_HTTP_AUTH$]) ++m4trace:configure.ac:4288: -1- AH_OUTPUT([CURL_DISABLE_HTTP_AUTH], [/* disable HTTP authentication */ + @%:@undef CURL_DISABLE_HTTP_AUTH]) +-m4trace:configure.ac:4138: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_DOH]) +-m4trace:configure.ac:4138: -1- m4_pattern_allow([^CURL_DISABLE_DOH$]) +-m4trace:configure.ac:4138: -1- AH_OUTPUT([CURL_DISABLE_DOH], [/* disable DoH */ ++m4trace:configure.ac:4306: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_DOH]) ++m4trace:configure.ac:4306: -1- m4_pattern_allow([^CURL_DISABLE_DOH$]) ++m4trace:configure.ac:4306: -1- AH_OUTPUT([CURL_DISABLE_DOH], [/* disable DoH */ + @%:@undef CURL_DISABLE_DOH]) +-m4trace:configure.ac:4156: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_MIME]) +-m4trace:configure.ac:4156: -1- m4_pattern_allow([^CURL_DISABLE_MIME$]) +-m4trace:configure.ac:4156: -1- AH_OUTPUT([CURL_DISABLE_MIME], [/* disable mime API */ ++m4trace:configure.ac:4324: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_MIME]) ++m4trace:configure.ac:4324: -1- m4_pattern_allow([^CURL_DISABLE_MIME$]) ++m4trace:configure.ac:4324: -1- AH_OUTPUT([CURL_DISABLE_MIME], [/* disable mime API */ + @%:@undef CURL_DISABLE_MIME]) +-m4trace:configure.ac:4174: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_BINDLOCAL]) +-m4trace:configure.ac:4174: -1- m4_pattern_allow([^CURL_DISABLE_BINDLOCAL$]) +-m4trace:configure.ac:4174: -1- AH_OUTPUT([CURL_DISABLE_BINDLOCAL], [/* disable local binding support */ ++m4trace:configure.ac:4342: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_BINDLOCAL]) ++m4trace:configure.ac:4342: -1- m4_pattern_allow([^CURL_DISABLE_BINDLOCAL$]) ++m4trace:configure.ac:4342: -1- AH_OUTPUT([CURL_DISABLE_BINDLOCAL], [/* disable local binding support */ + @%:@undef CURL_DISABLE_BINDLOCAL]) +-m4trace:configure.ac:4192: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_FORM_API]) +-m4trace:configure.ac:4192: -1- m4_pattern_allow([^CURL_DISABLE_FORM_API$]) +-m4trace:configure.ac:4192: -1- AH_OUTPUT([CURL_DISABLE_FORM_API], [/* disable form API */ ++m4trace:configure.ac:4360: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_FORM_API]) ++m4trace:configure.ac:4360: -1- m4_pattern_allow([^CURL_DISABLE_FORM_API$]) ++m4trace:configure.ac:4360: -1- AH_OUTPUT([CURL_DISABLE_FORM_API], [/* disable form API */ + @%:@undef CURL_DISABLE_FORM_API]) +-m4trace:configure.ac:4192: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_FORM_API]) +-m4trace:configure.ac:4192: -1- m4_pattern_allow([^CURL_DISABLE_FORM_API$]) +-m4trace:configure.ac:4192: -1- AH_OUTPUT([CURL_DISABLE_FORM_API], [/* disable form API */ ++m4trace:configure.ac:4360: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_FORM_API]) ++m4trace:configure.ac:4360: -1- m4_pattern_allow([^CURL_DISABLE_FORM_API$]) ++m4trace:configure.ac:4360: -1- AH_OUTPUT([CURL_DISABLE_FORM_API], [/* disable form API */ + @%:@undef CURL_DISABLE_FORM_API]) +-m4trace:configure.ac:4218: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_PARSEDATE]) +-m4trace:configure.ac:4218: -1- m4_pattern_allow([^CURL_DISABLE_PARSEDATE$]) +-m4trace:configure.ac:4218: -1- AH_OUTPUT([CURL_DISABLE_PARSEDATE], [/* disable date parsing */ ++m4trace:configure.ac:4386: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_PARSEDATE]) ++m4trace:configure.ac:4386: -1- m4_pattern_allow([^CURL_DISABLE_PARSEDATE$]) ++m4trace:configure.ac:4386: -1- AH_OUTPUT([CURL_DISABLE_PARSEDATE], [/* disable date parsing */ + @%:@undef CURL_DISABLE_PARSEDATE]) +-m4trace:configure.ac:4236: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_NETRC]) +-m4trace:configure.ac:4236: -1- m4_pattern_allow([^CURL_DISABLE_NETRC$]) +-m4trace:configure.ac:4236: -1- AH_OUTPUT([CURL_DISABLE_NETRC], [/* disable netrc parsing */ ++m4trace:configure.ac:4404: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_NETRC]) ++m4trace:configure.ac:4404: -1- m4_pattern_allow([^CURL_DISABLE_NETRC$]) ++m4trace:configure.ac:4404: -1- AH_OUTPUT([CURL_DISABLE_NETRC], [/* disable netrc parsing */ + @%:@undef CURL_DISABLE_NETRC]) +-m4trace:configure.ac:4254: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_PROGRESS_METER]) +-m4trace:configure.ac:4254: -1- m4_pattern_allow([^CURL_DISABLE_PROGRESS_METER$]) +-m4trace:configure.ac:4254: -1- AH_OUTPUT([CURL_DISABLE_PROGRESS_METER], [/* disable progress-meter */ ++m4trace:configure.ac:4422: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_PROGRESS_METER]) ++m4trace:configure.ac:4422: -1- m4_pattern_allow([^CURL_DISABLE_PROGRESS_METER$]) ++m4trace:configure.ac:4422: -1- AH_OUTPUT([CURL_DISABLE_PROGRESS_METER], [/* disable progress-meter */ + @%:@undef CURL_DISABLE_PROGRESS_METER]) +-m4trace:configure.ac:4272: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_SHUFFLE_DNS]) +-m4trace:configure.ac:4272: -1- m4_pattern_allow([^CURL_DISABLE_SHUFFLE_DNS$]) +-m4trace:configure.ac:4272: -1- AH_OUTPUT([CURL_DISABLE_SHUFFLE_DNS], [/* disable DNS shuffling */ ++m4trace:configure.ac:4440: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_SHUFFLE_DNS]) ++m4trace:configure.ac:4440: -1- m4_pattern_allow([^CURL_DISABLE_SHUFFLE_DNS$]) ++m4trace:configure.ac:4440: -1- AH_OUTPUT([CURL_DISABLE_SHUFFLE_DNS], [/* disable DNS shuffling */ + @%:@undef CURL_DISABLE_SHUFFLE_DNS]) +-m4trace:configure.ac:4290: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_GETOPTIONS]) +-m4trace:configure.ac:4290: -1- m4_pattern_allow([^CURL_DISABLE_GETOPTIONS$]) +-m4trace:configure.ac:4290: -1- AH_OUTPUT([CURL_DISABLE_GETOPTIONS], [/* to disable curl_easy_options */ ++m4trace:configure.ac:4458: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_GETOPTIONS]) ++m4trace:configure.ac:4458: -1- m4_pattern_allow([^CURL_DISABLE_GETOPTIONS$]) ++m4trace:configure.ac:4458: -1- AH_OUTPUT([CURL_DISABLE_GETOPTIONS], [/* to disable curl_easy_options */ + @%:@undef CURL_DISABLE_GETOPTIONS]) +-m4trace:configure.ac:4308: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_ALTSVC]) +-m4trace:configure.ac:4308: -1- m4_pattern_allow([^CURL_DISABLE_ALTSVC$]) +-m4trace:configure.ac:4308: -1- AH_OUTPUT([CURL_DISABLE_ALTSVC], [/* disable alt-svc */ ++m4trace:configure.ac:4476: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_ALTSVC]) ++m4trace:configure.ac:4476: -1- m4_pattern_allow([^CURL_DISABLE_ALTSVC$]) ++m4trace:configure.ac:4476: -1- AH_OUTPUT([CURL_DISABLE_ALTSVC], [/* disable alt-svc */ + @%:@undef CURL_DISABLE_ALTSVC]) +-m4trace:configure.ac:4328: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_HEADERS_API]) +-m4trace:configure.ac:4328: -1- m4_pattern_allow([^CURL_DISABLE_HEADERS_API$]) +-m4trace:configure.ac:4328: -1- AH_OUTPUT([CURL_DISABLE_HEADERS_API], [/* disable headers-api */ ++m4trace:configure.ac:4496: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_HEADERS_API]) ++m4trace:configure.ac:4496: -1- m4_pattern_allow([^CURL_DISABLE_HEADERS_API$]) ++m4trace:configure.ac:4496: -1- AH_OUTPUT([CURL_DISABLE_HEADERS_API], [/* disable headers-api */ + @%:@undef CURL_DISABLE_HEADERS_API]) +-m4trace:configure.ac:4369: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_HSTS]) +-m4trace:configure.ac:4369: -1- m4_pattern_allow([^CURL_DISABLE_HSTS$]) +-m4trace:configure.ac:4369: -1- AH_OUTPUT([CURL_DISABLE_HSTS], [/* disable alt-svc */ ++m4trace:configure.ac:4537: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_HSTS]) ++m4trace:configure.ac:4537: -1- m4_pattern_allow([^CURL_DISABLE_HSTS$]) ++m4trace:configure.ac:4537: -1- AH_OUTPUT([CURL_DISABLE_HSTS], [/* disable alt-svc */ + @%:@undef CURL_DISABLE_HSTS]) +-m4trace:configure.ac:4385: -1- AH_OUTPUT([HAVE_SSL_GET_ECH_STATUS], [/* Define to 1 if you have the `SSL_get_ech_status\' function. */ ++m4trace:configure.ac:4553: -1- AH_OUTPUT([HAVE_SSL_GET_ECH_STATUS], [/* Define to 1 if you have the `SSL_get_ech_status\' function. */ + @%:@undef HAVE_SSL_GET_ECH_STATUS]) +-m4trace:configure.ac:4385: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SSL_GET_ECH_STATUS]) +-m4trace:configure.ac:4385: -1- m4_pattern_allow([^HAVE_SSL_GET_ECH_STATUS$]) +-m4trace:configure.ac:4394: -1- AC_DEFINE_TRACE_LITERAL([USE_ECH]) +-m4trace:configure.ac:4394: -1- m4_pattern_allow([^USE_ECH$]) +-m4trace:configure.ac:4394: -1- AH_OUTPUT([USE_ECH], [/* if ECH support is available */ ++m4trace:configure.ac:4553: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SSL_GET_ECH_STATUS]) ++m4trace:configure.ac:4553: -1- m4_pattern_allow([^HAVE_SSL_GET_ECH_STATUS$]) ++m4trace:configure.ac:4562: -1- AC_DEFINE_TRACE_LITERAL([USE_ECH]) ++m4trace:configure.ac:4562: -1- m4_pattern_allow([^USE_ECH$]) ++m4trace:configure.ac:4562: -1- AH_OUTPUT([USE_ECH], [/* if ECH support is available */ + @%:@undef USE_ECH]) +-m4trace:configure.ac:4406: -1- AH_OUTPUT([HAVE_SSL_SET0_WBIO], [/* Define to 1 if you have the `SSL_set0_wbio\' function. */ ++m4trace:configure.ac:4574: -1- AH_OUTPUT([HAVE_SSL_SET0_WBIO], [/* Define to 1 if you have the `SSL_set0_wbio\' function. */ + @%:@undef HAVE_SSL_SET0_WBIO]) +-m4trace:configure.ac:4406: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SSL_SET0_WBIO]) +-m4trace:configure.ac:4406: -1- m4_pattern_allow([^HAVE_SSL_SET0_WBIO$]) +-m4trace:configure.ac:4413: -1- AC_DEFINE_TRACE_LITERAL([USE_WEBSOCKETS]) +-m4trace:configure.ac:4413: -1- m4_pattern_allow([^USE_WEBSOCKETS$]) +-m4trace:configure.ac:4413: -1- AH_OUTPUT([USE_WEBSOCKETS], [/* enable websockets support */ ++m4trace:configure.ac:4574: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SSL_SET0_WBIO]) ++m4trace:configure.ac:4574: -1- m4_pattern_allow([^HAVE_SSL_SET0_WBIO$]) ++m4trace:configure.ac:4581: -1- AC_DEFINE_TRACE_LITERAL([USE_WEBSOCKETS]) ++m4trace:configure.ac:4581: -1- m4_pattern_allow([^USE_WEBSOCKETS$]) ++m4trace:configure.ac:4581: -1- AH_OUTPUT([USE_WEBSOCKETS], [/* enable websockets support */ + @%:@undef USE_WEBSOCKETS]) +-m4trace:configure.ac:4444: -1- AC_DEFINE_TRACE_LITERAL([CURL_EXTERN_SYMBOL]) +-m4trace:configure.ac:4444: -1- m4_pattern_allow([^CURL_EXTERN_SYMBOL$]) +-m4trace:configure.ac:4444: -1- AH_OUTPUT([CURL_EXTERN_SYMBOL], [/* Definition to make a library symbol externally visible. */ ++m4trace:configure.ac:4612: -1- AC_DEFINE_TRACE_LITERAL([CURL_EXTERN_SYMBOL]) ++m4trace:configure.ac:4612: -1- m4_pattern_allow([^CURL_EXTERN_SYMBOL$]) ++m4trace:configure.ac:4612: -1- AH_OUTPUT([CURL_EXTERN_SYMBOL], [/* Definition to make a library symbol externally visible. */ + @%:@undef CURL_EXTERN_SYMBOL]) +-m4trace:configure.ac:4444: -1- AM_CONDITIONAL([DOING_CURL_SYMBOL_HIDING], [test x$doing_symbol_hiding = xyes]) +-m4trace:configure.ac:4444: -1- AC_SUBST([DOING_CURL_SYMBOL_HIDING_TRUE]) +-m4trace:configure.ac:4444: -1- AC_SUBST_TRACE([DOING_CURL_SYMBOL_HIDING_TRUE]) +-m4trace:configure.ac:4444: -1- m4_pattern_allow([^DOING_CURL_SYMBOL_HIDING_TRUE$]) +-m4trace:configure.ac:4444: -1- AC_SUBST([DOING_CURL_SYMBOL_HIDING_FALSE]) +-m4trace:configure.ac:4444: -1- AC_SUBST_TRACE([DOING_CURL_SYMBOL_HIDING_FALSE]) +-m4trace:configure.ac:4444: -1- m4_pattern_allow([^DOING_CURL_SYMBOL_HIDING_FALSE$]) +-m4trace:configure.ac:4444: -1- _AM_SUBST_NOTMAKE([DOING_CURL_SYMBOL_HIDING_TRUE]) +-m4trace:configure.ac:4444: -1- _AM_SUBST_NOTMAKE([DOING_CURL_SYMBOL_HIDING_FALSE]) +-m4trace:configure.ac:4444: -1- AC_SUBST([CFLAG_CURL_SYMBOL_HIDING]) +-m4trace:configure.ac:4444: -1- AC_SUBST_TRACE([CFLAG_CURL_SYMBOL_HIDING]) +-m4trace:configure.ac:4444: -1- m4_pattern_allow([^CFLAG_CURL_SYMBOL_HIDING$]) +-m4trace:configure.ac:4451: -1- AC_SUBST([LIBCURL_LIBS]) +-m4trace:configure.ac:4451: -1- AC_SUBST_TRACE([LIBCURL_LIBS]) +-m4trace:configure.ac:4451: -1- m4_pattern_allow([^LIBCURL_LIBS$]) +-m4trace:configure.ac:4452: -1- AC_SUBST([CURL_NETWORK_LIBS]) +-m4trace:configure.ac:4452: -1- AC_SUBST_TRACE([CURL_NETWORK_LIBS]) +-m4trace:configure.ac:4452: -1- m4_pattern_allow([^CURL_NETWORK_LIBS$]) +-m4trace:configure.ac:4453: -1- AC_SUBST([CURL_NETWORK_AND_TIME_LIBS]) +-m4trace:configure.ac:4453: -1- AC_SUBST_TRACE([CURL_NETWORK_AND_TIME_LIBS]) +-m4trace:configure.ac:4453: -1- m4_pattern_allow([^CURL_NETWORK_AND_TIME_LIBS$]) +-m4trace:configure.ac:4460: -1- AC_SUBST([BLANK_AT_MAKETIME]) +-m4trace:configure.ac:4460: -1- AC_SUBST_TRACE([BLANK_AT_MAKETIME]) +-m4trace:configure.ac:4460: -1- m4_pattern_allow([^BLANK_AT_MAKETIME$]) +-m4trace:configure.ac:4462: -1- AM_CONDITIONAL([CROSSCOMPILING], [test x$cross_compiling = xyes]) +-m4trace:configure.ac:4462: -1- AC_SUBST([CROSSCOMPILING_TRUE]) +-m4trace:configure.ac:4462: -1- AC_SUBST_TRACE([CROSSCOMPILING_TRUE]) +-m4trace:configure.ac:4462: -1- m4_pattern_allow([^CROSSCOMPILING_TRUE$]) +-m4trace:configure.ac:4462: -1- AC_SUBST([CROSSCOMPILING_FALSE]) +-m4trace:configure.ac:4462: -1- AC_SUBST_TRACE([CROSSCOMPILING_FALSE]) +-m4trace:configure.ac:4462: -1- m4_pattern_allow([^CROSSCOMPILING_FALSE$]) +-m4trace:configure.ac:4462: -1- _AM_SUBST_NOTMAKE([CROSSCOMPILING_TRUE]) +-m4trace:configure.ac:4462: -1- _AM_SUBST_NOTMAKE([CROSSCOMPILING_FALSE]) +-m4trace:configure.ac:4466: -1- AC_SUBST([ENABLE_SHARED]) +-m4trace:configure.ac:4466: -1- AC_SUBST_TRACE([ENABLE_SHARED]) +-m4trace:configure.ac:4466: -1- m4_pattern_allow([^ENABLE_SHARED$]) +-m4trace:configure.ac:4470: -1- AC_SUBST([ENABLE_STATIC]) +-m4trace:configure.ac:4470: -1- AC_SUBST_TRACE([ENABLE_STATIC]) +-m4trace:configure.ac:4470: -1- m4_pattern_allow([^ENABLE_STATIC$]) +-m4trace:configure.ac:4478: -1- AC_SUBST([LIBCURL_NO_SHARED]) +-m4trace:configure.ac:4478: -1- AC_SUBST_TRACE([LIBCURL_NO_SHARED]) +-m4trace:configure.ac:4478: -1- m4_pattern_allow([^LIBCURL_NO_SHARED$]) +-m4trace:configure.ac:4634: -1- AC_SUBST([SUPPORT_FEATURES]) +-m4trace:configure.ac:4634: -1- AC_SUBST_TRACE([SUPPORT_FEATURES]) +-m4trace:configure.ac:4634: -1- m4_pattern_allow([^SUPPORT_FEATURES$]) +-m4trace:configure.ac:4727: -1- AC_SUBST([SUPPORT_PROTOCOLS]) +-m4trace:configure.ac:4727: -1- AC_SUBST_TRACE([SUPPORT_PROTOCOLS]) +-m4trace:configure.ac:4727: -1- m4_pattern_allow([^SUPPORT_PROTOCOLS$]) +-m4trace:configure.ac:4747: -1- AC_SUBST([SSL_BACKENDS]) +-m4trace:configure.ac:4747: -1- AC_SUBST_TRACE([SSL_BACKENDS]) +-m4trace:configure.ac:4747: -1- m4_pattern_allow([^SSL_BACKENDS$]) +-m4trace:configure.ac:4754: -1- AC_CONFIG_FILES([Makefile \ ++m4trace:configure.ac:4612: -1- AM_CONDITIONAL([DOING_CURL_SYMBOL_HIDING], [test x$doing_symbol_hiding = xyes]) ++m4trace:configure.ac:4612: -1- AC_SUBST([DOING_CURL_SYMBOL_HIDING_TRUE]) ++m4trace:configure.ac:4612: -1- AC_SUBST_TRACE([DOING_CURL_SYMBOL_HIDING_TRUE]) ++m4trace:configure.ac:4612: -1- m4_pattern_allow([^DOING_CURL_SYMBOL_HIDING_TRUE$]) ++m4trace:configure.ac:4612: -1- AC_SUBST([DOING_CURL_SYMBOL_HIDING_FALSE]) ++m4trace:configure.ac:4612: -1- AC_SUBST_TRACE([DOING_CURL_SYMBOL_HIDING_FALSE]) ++m4trace:configure.ac:4612: -1- m4_pattern_allow([^DOING_CURL_SYMBOL_HIDING_FALSE$]) ++m4trace:configure.ac:4612: -1- _AM_SUBST_NOTMAKE([DOING_CURL_SYMBOL_HIDING_TRUE]) ++m4trace:configure.ac:4612: -1- _AM_SUBST_NOTMAKE([DOING_CURL_SYMBOL_HIDING_FALSE]) ++m4trace:configure.ac:4612: -1- AC_SUBST([CFLAG_CURL_SYMBOL_HIDING]) ++m4trace:configure.ac:4612: -1- AC_SUBST_TRACE([CFLAG_CURL_SYMBOL_HIDING]) ++m4trace:configure.ac:4612: -1- m4_pattern_allow([^CFLAG_CURL_SYMBOL_HIDING$]) ++m4trace:configure.ac:4619: -1- AC_SUBST([LIBCURL_LIBS]) ++m4trace:configure.ac:4619: -1- AC_SUBST_TRACE([LIBCURL_LIBS]) ++m4trace:configure.ac:4619: -1- m4_pattern_allow([^LIBCURL_LIBS$]) ++m4trace:configure.ac:4620: -1- AC_SUBST([CURL_NETWORK_LIBS]) ++m4trace:configure.ac:4620: -1- AC_SUBST_TRACE([CURL_NETWORK_LIBS]) ++m4trace:configure.ac:4620: -1- m4_pattern_allow([^CURL_NETWORK_LIBS$]) ++m4trace:configure.ac:4621: -1- AC_SUBST([CURL_NETWORK_AND_TIME_LIBS]) ++m4trace:configure.ac:4621: -1- AC_SUBST_TRACE([CURL_NETWORK_AND_TIME_LIBS]) ++m4trace:configure.ac:4621: -1- m4_pattern_allow([^CURL_NETWORK_AND_TIME_LIBS$]) ++m4trace:configure.ac:4628: -1- AC_SUBST([BLANK_AT_MAKETIME]) ++m4trace:configure.ac:4628: -1- AC_SUBST_TRACE([BLANK_AT_MAKETIME]) ++m4trace:configure.ac:4628: -1- m4_pattern_allow([^BLANK_AT_MAKETIME$]) ++m4trace:configure.ac:4630: -1- AM_CONDITIONAL([CROSSCOMPILING], [test x$cross_compiling = xyes]) ++m4trace:configure.ac:4630: -1- AC_SUBST([CROSSCOMPILING_TRUE]) ++m4trace:configure.ac:4630: -1- AC_SUBST_TRACE([CROSSCOMPILING_TRUE]) ++m4trace:configure.ac:4630: -1- m4_pattern_allow([^CROSSCOMPILING_TRUE$]) ++m4trace:configure.ac:4630: -1- AC_SUBST([CROSSCOMPILING_FALSE]) ++m4trace:configure.ac:4630: -1- AC_SUBST_TRACE([CROSSCOMPILING_FALSE]) ++m4trace:configure.ac:4630: -1- m4_pattern_allow([^CROSSCOMPILING_FALSE$]) ++m4trace:configure.ac:4630: -1- _AM_SUBST_NOTMAKE([CROSSCOMPILING_TRUE]) ++m4trace:configure.ac:4630: -1- _AM_SUBST_NOTMAKE([CROSSCOMPILING_FALSE]) ++m4trace:configure.ac:4634: -1- AC_SUBST([ENABLE_SHARED]) ++m4trace:configure.ac:4634: -1- AC_SUBST_TRACE([ENABLE_SHARED]) ++m4trace:configure.ac:4634: -1- m4_pattern_allow([^ENABLE_SHARED$]) ++m4trace:configure.ac:4638: -1- AC_SUBST([ENABLE_STATIC]) ++m4trace:configure.ac:4638: -1- AC_SUBST_TRACE([ENABLE_STATIC]) ++m4trace:configure.ac:4638: -1- m4_pattern_allow([^ENABLE_STATIC$]) ++m4trace:configure.ac:4646: -1- AC_SUBST([LIBCURL_NO_SHARED]) ++m4trace:configure.ac:4646: -1- AC_SUBST_TRACE([LIBCURL_NO_SHARED]) ++m4trace:configure.ac:4646: -1- m4_pattern_allow([^LIBCURL_NO_SHARED$]) ++m4trace:configure.ac:4819: -1- AC_SUBST([SUPPORT_FEATURES]) ++m4trace:configure.ac:4819: -1- AC_SUBST_TRACE([SUPPORT_FEATURES]) ++m4trace:configure.ac:4819: -1- m4_pattern_allow([^SUPPORT_FEATURES$]) ++m4trace:configure.ac:4912: -1- AC_SUBST([SUPPORT_PROTOCOLS]) ++m4trace:configure.ac:4912: -1- AC_SUBST_TRACE([SUPPORT_PROTOCOLS]) ++m4trace:configure.ac:4912: -1- m4_pattern_allow([^SUPPORT_PROTOCOLS$]) ++m4trace:configure.ac:4932: -1- AC_SUBST([SSL_BACKENDS]) ++m4trace:configure.ac:4932: -1- AC_SUBST_TRACE([SSL_BACKENDS]) ++m4trace:configure.ac:4932: -1- m4_pattern_allow([^SSL_BACKENDS$]) ++m4trace:configure.ac:4939: -1- AC_CONFIG_FILES([Makefile \ + docs/Makefile \ + docs/examples/Makefile \ + docs/libcurl/Makefile \ +@@ -2928,30 +2974,30 @@ m4trace:configure.ac:4754: -1- AC_CONFIG_FILES([Makefile \ + curl-config \ + libcurl.pc + ]) +-m4trace:configure.ac:4783: -1- AC_SUBST([LIB@&t@OBJS], [$ac_libobjs]) +-m4trace:configure.ac:4783: -1- AC_SUBST_TRACE([LIB@&t@OBJS]) +-m4trace:configure.ac:4783: -1- m4_pattern_allow([^LIB@&t@OBJS$]) +-m4trace:configure.ac:4783: -1- AC_SUBST([LTLIBOBJS], [$ac_ltlibobjs]) +-m4trace:configure.ac:4783: -1- AC_SUBST_TRACE([LTLIBOBJS]) +-m4trace:configure.ac:4783: -1- m4_pattern_allow([^LTLIBOBJS$]) +-m4trace:configure.ac:4783: -1- AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"]) +-m4trace:configure.ac:4783: -1- AC_SUBST([am__EXEEXT_TRUE]) +-m4trace:configure.ac:4783: -1- AC_SUBST_TRACE([am__EXEEXT_TRUE]) +-m4trace:configure.ac:4783: -1- m4_pattern_allow([^am__EXEEXT_TRUE$]) +-m4trace:configure.ac:4783: -1- AC_SUBST([am__EXEEXT_FALSE]) +-m4trace:configure.ac:4783: -1- AC_SUBST_TRACE([am__EXEEXT_FALSE]) +-m4trace:configure.ac:4783: -1- m4_pattern_allow([^am__EXEEXT_FALSE$]) +-m4trace:configure.ac:4783: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_TRUE]) +-m4trace:configure.ac:4783: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_FALSE]) +-m4trace:configure.ac:4783: -1- AC_SUBST_TRACE([top_builddir]) +-m4trace:configure.ac:4783: -1- AC_SUBST_TRACE([top_build_prefix]) +-m4trace:configure.ac:4783: -1- AC_SUBST_TRACE([srcdir]) +-m4trace:configure.ac:4783: -1- AC_SUBST_TRACE([abs_srcdir]) +-m4trace:configure.ac:4783: -1- AC_SUBST_TRACE([top_srcdir]) +-m4trace:configure.ac:4783: -1- AC_SUBST_TRACE([abs_top_srcdir]) +-m4trace:configure.ac:4783: -1- AC_SUBST_TRACE([builddir]) +-m4trace:configure.ac:4783: -1- AC_SUBST_TRACE([abs_builddir]) +-m4trace:configure.ac:4783: -1- AC_SUBST_TRACE([abs_top_builddir]) +-m4trace:configure.ac:4783: -1- AC_SUBST_TRACE([INSTALL]) +-m4trace:configure.ac:4783: -1- AC_SUBST_TRACE([MKDIR_P]) +-m4trace:configure.ac:4783: -1- AC_REQUIRE_AUX_FILE([ltmain.sh]) ++m4trace:configure.ac:4968: -1- AC_SUBST([LIB@&t@OBJS], [$ac_libobjs]) ++m4trace:configure.ac:4968: -1- AC_SUBST_TRACE([LIB@&t@OBJS]) ++m4trace:configure.ac:4968: -1- m4_pattern_allow([^LIB@&t@OBJS$]) ++m4trace:configure.ac:4968: -1- AC_SUBST([LTLIBOBJS], [$ac_ltlibobjs]) ++m4trace:configure.ac:4968: -1- AC_SUBST_TRACE([LTLIBOBJS]) ++m4trace:configure.ac:4968: -1- m4_pattern_allow([^LTLIBOBJS$]) ++m4trace:configure.ac:4968: -1- AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"]) ++m4trace:configure.ac:4968: -1- AC_SUBST([am__EXEEXT_TRUE]) ++m4trace:configure.ac:4968: -1- AC_SUBST_TRACE([am__EXEEXT_TRUE]) ++m4trace:configure.ac:4968: -1- m4_pattern_allow([^am__EXEEXT_TRUE$]) ++m4trace:configure.ac:4968: -1- AC_SUBST([am__EXEEXT_FALSE]) ++m4trace:configure.ac:4968: -1- AC_SUBST_TRACE([am__EXEEXT_FALSE]) ++m4trace:configure.ac:4968: -1- m4_pattern_allow([^am__EXEEXT_FALSE$]) ++m4trace:configure.ac:4968: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_TRUE]) ++m4trace:configure.ac:4968: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_FALSE]) ++m4trace:configure.ac:4968: -1- AC_SUBST_TRACE([top_builddir]) ++m4trace:configure.ac:4968: -1- AC_SUBST_TRACE([top_build_prefix]) ++m4trace:configure.ac:4968: -1- AC_SUBST_TRACE([srcdir]) ++m4trace:configure.ac:4968: -1- AC_SUBST_TRACE([abs_srcdir]) ++m4trace:configure.ac:4968: -1- AC_SUBST_TRACE([top_srcdir]) ++m4trace:configure.ac:4968: -1- AC_SUBST_TRACE([abs_top_srcdir]) ++m4trace:configure.ac:4968: -1- AC_SUBST_TRACE([builddir]) ++m4trace:configure.ac:4968: -1- AC_SUBST_TRACE([abs_builddir]) ++m4trace:configure.ac:4968: -1- AC_SUBST_TRACE([abs_top_builddir]) ++m4trace:configure.ac:4968: -1- AC_SUBST_TRACE([INSTALL]) ++m4trace:configure.ac:4968: -1- AC_SUBST_TRACE([MKDIR_P]) ++m4trace:configure.ac:4968: -1- AC_REQUIRE_AUX_FILE([ltmain.sh]) +diff --git a/autom4te.cache/traces.2 b/autom4te.cache/traces.2 +index cc36162..ed6d966 100644 +--- a/autom4te.cache/traces.2 ++++ b/autom4te.cache/traces.2 +@@ -512,2394 +512,2440 @@ m4trace:configure.ac:145: -1- m4_pattern_allow([^PKGADD_NAME$]) + m4trace:configure.ac:146: -1- AC_SUBST([PKGADD_VENDOR]) + m4trace:configure.ac:146: -1- AC_SUBST_TRACE([PKGADD_VENDOR]) + m4trace:configure.ac:146: -1- m4_pattern_allow([^PKGADD_VENDOR$]) +-m4trace:configure.ac:309: -1- AC_SUBST([TEST_NGHTTPX]) +-m4trace:configure.ac:309: -1- AC_SUBST_TRACE([TEST_NGHTTPX]) +-m4trace:configure.ac:309: -1- m4_pattern_allow([^TEST_NGHTTPX$]) +-m4trace:configure.ac:319: -1- AC_SUBST([CADDY]) +-m4trace:configure.ac:319: -1- AC_SUBST_TRACE([CADDY]) +-m4trace:configure.ac:319: -1- m4_pattern_allow([^CADDY$]) +-m4trace:configure.ac:332: -1- AC_SUBST([APXS]) +-m4trace:configure.ac:332: -1- AC_SUBST_TRACE([APXS]) +-m4trace:configure.ac:332: -1- m4_pattern_allow([^APXS$]) +-m4trace:configure.ac:338: -1- AC_SUBST([HTTPD]) +-m4trace:configure.ac:338: -1- AC_SUBST_TRACE([HTTPD]) +-m4trace:configure.ac:338: -1- m4_pattern_allow([^HTTPD$]) +-m4trace:configure.ac:340: -1- AC_SUBST([HTTPD]) +-m4trace:configure.ac:340: -1- AC_SUBST_TRACE([HTTPD]) +-m4trace:configure.ac:340: -1- m4_pattern_allow([^HTTPD$]) +-m4trace:configure.ac:342: -1- AC_SUBST([APACHECTL]) +-m4trace:configure.ac:342: -1- AC_SUBST_TRACE([APACHECTL]) +-m4trace:configure.ac:342: -1- m4_pattern_allow([^APACHECTL$]) +-m4trace:configure.ac:343: -1- AC_SUBST([APXS]) +-m4trace:configure.ac:343: -1- AC_SUBST_TRACE([APXS]) +-m4trace:configure.ac:343: -1- m4_pattern_allow([^APXS$]) +-m4trace:configure.ac:375: -1- AC_SUBST([HTTPD]) +-m4trace:configure.ac:375: -1- AC_SUBST_TRACE([HTTPD]) +-m4trace:configure.ac:375: -1- m4_pattern_allow([^HTTPD$]) +-m4trace:configure.ac:376: -1- AC_SUBST([APACHECTL]) +-m4trace:configure.ac:376: -1- AC_SUBST_TRACE([APACHECTL]) +-m4trace:configure.ac:376: -1- m4_pattern_allow([^APACHECTL$]) +-m4trace:configure.ac:377: -1- AC_SUBST([APXS]) +-m4trace:configure.ac:377: -1- AC_SUBST_TRACE([APXS]) +-m4trace:configure.ac:377: -1- m4_pattern_allow([^APXS$]) +-m4trace:configure.ac:383: -1- AC_SUBST([HTTPD_NGHTTPX]) +-m4trace:configure.ac:383: -1- AC_SUBST_TRACE([HTTPD_NGHTTPX]) +-m4trace:configure.ac:383: -1- m4_pattern_allow([^HTTPD_NGHTTPX$]) +-m4trace:configure.ac:386: -1- AC_SUBST([HTTPD_NGHTTPX]) +-m4trace:configure.ac:386: -1- AC_SUBST_TRACE([HTTPD_NGHTTPX]) +-m4trace:configure.ac:386: -1- m4_pattern_allow([^HTTPD_NGHTTPX$]) +-m4trace:configure.ac:392: -1- AC_SUBST([CADDY]) +-m4trace:configure.ac:392: -1- AC_SUBST_TRACE([CADDY]) +-m4trace:configure.ac:392: -1- m4_pattern_allow([^CADDY$]) +-m4trace:configure.ac:394: -1- AC_SUBST([CADDY]) +-m4trace:configure.ac:394: -1- AC_SUBST_TRACE([CADDY]) +-m4trace:configure.ac:394: -1- m4_pattern_allow([^CADDY$]) +-m4trace:configure.ac:424: -1- AC_CANONICAL_HOST +-m4trace:configure.ac:424: -1- AC_CANONICAL_BUILD +-m4trace:configure.ac:424: -1- AC_REQUIRE_AUX_FILE([config.sub]) +-m4trace:configure.ac:424: -1- AC_REQUIRE_AUX_FILE([config.guess]) +-m4trace:configure.ac:424: -1- AC_SUBST([build], [$ac_cv_build]) +-m4trace:configure.ac:424: -1- AC_SUBST_TRACE([build]) +-m4trace:configure.ac:424: -1- m4_pattern_allow([^build$]) +-m4trace:configure.ac:424: -1- AC_SUBST([build_cpu], [$[1]]) +-m4trace:configure.ac:424: -1- AC_SUBST_TRACE([build_cpu]) +-m4trace:configure.ac:424: -1- m4_pattern_allow([^build_cpu$]) +-m4trace:configure.ac:424: -1- AC_SUBST([build_vendor], [$[2]]) +-m4trace:configure.ac:424: -1- AC_SUBST_TRACE([build_vendor]) +-m4trace:configure.ac:424: -1- m4_pattern_allow([^build_vendor$]) +-m4trace:configure.ac:424: -1- AC_SUBST([build_os]) +-m4trace:configure.ac:424: -1- AC_SUBST_TRACE([build_os]) +-m4trace:configure.ac:424: -1- m4_pattern_allow([^build_os$]) +-m4trace:configure.ac:424: -1- AC_SUBST([host], [$ac_cv_host]) +-m4trace:configure.ac:424: -1- AC_SUBST_TRACE([host]) +-m4trace:configure.ac:424: -1- m4_pattern_allow([^host$]) +-m4trace:configure.ac:424: -1- AC_SUBST([host_cpu], [$[1]]) +-m4trace:configure.ac:424: -1- AC_SUBST_TRACE([host_cpu]) +-m4trace:configure.ac:424: -1- m4_pattern_allow([^host_cpu$]) +-m4trace:configure.ac:424: -1- AC_SUBST([host_vendor], [$[2]]) +-m4trace:configure.ac:424: -1- AC_SUBST_TRACE([host_vendor]) +-m4trace:configure.ac:424: -1- m4_pattern_allow([^host_vendor$]) +-m4trace:configure.ac:424: -1- AC_SUBST([host_os]) +-m4trace:configure.ac:424: -1- AC_SUBST_TRACE([host_os]) +-m4trace:configure.ac:424: -1- m4_pattern_allow([^host_os$]) +-m4trace:configure.ac:426: -1- AC_DEFINE_TRACE_LITERAL([OS]) +-m4trace:configure.ac:426: -1- m4_pattern_allow([^OS$]) +-m4trace:configure.ac:426: -1- AH_OUTPUT([OS], [/* cpu-machine-OS */ ++m4trace:configure.ac:310: -1- AC_SUBST([TEST_NGHTTPX]) ++m4trace:configure.ac:310: -1- AC_SUBST_TRACE([TEST_NGHTTPX]) ++m4trace:configure.ac:310: -1- m4_pattern_allow([^TEST_NGHTTPX$]) ++m4trace:configure.ac:320: -1- AC_SUBST([CADDY]) ++m4trace:configure.ac:320: -1- AC_SUBST_TRACE([CADDY]) ++m4trace:configure.ac:320: -1- m4_pattern_allow([^CADDY$]) ++m4trace:configure.ac:333: -1- AC_SUBST([APXS]) ++m4trace:configure.ac:333: -1- AC_SUBST_TRACE([APXS]) ++m4trace:configure.ac:333: -1- m4_pattern_allow([^APXS$]) ++m4trace:configure.ac:339: -1- AC_SUBST([HTTPD]) ++m4trace:configure.ac:339: -1- AC_SUBST_TRACE([HTTPD]) ++m4trace:configure.ac:339: -1- m4_pattern_allow([^HTTPD$]) ++m4trace:configure.ac:341: -1- AC_SUBST([HTTPD]) ++m4trace:configure.ac:341: -1- AC_SUBST_TRACE([HTTPD]) ++m4trace:configure.ac:341: -1- m4_pattern_allow([^HTTPD$]) ++m4trace:configure.ac:343: -1- AC_SUBST([APACHECTL]) ++m4trace:configure.ac:343: -1- AC_SUBST_TRACE([APACHECTL]) ++m4trace:configure.ac:343: -1- m4_pattern_allow([^APACHECTL$]) ++m4trace:configure.ac:344: -1- AC_SUBST([APXS]) ++m4trace:configure.ac:344: -1- AC_SUBST_TRACE([APXS]) ++m4trace:configure.ac:344: -1- m4_pattern_allow([^APXS$]) ++m4trace:configure.ac:376: -1- AC_SUBST([HTTPD]) ++m4trace:configure.ac:376: -1- AC_SUBST_TRACE([HTTPD]) ++m4trace:configure.ac:376: -1- m4_pattern_allow([^HTTPD$]) ++m4trace:configure.ac:377: -1- AC_SUBST([APACHECTL]) ++m4trace:configure.ac:377: -1- AC_SUBST_TRACE([APACHECTL]) ++m4trace:configure.ac:377: -1- m4_pattern_allow([^APACHECTL$]) ++m4trace:configure.ac:378: -1- AC_SUBST([APXS]) ++m4trace:configure.ac:378: -1- AC_SUBST_TRACE([APXS]) ++m4trace:configure.ac:378: -1- m4_pattern_allow([^APXS$]) ++m4trace:configure.ac:384: -1- AC_SUBST([HTTPD_NGHTTPX]) ++m4trace:configure.ac:384: -1- AC_SUBST_TRACE([HTTPD_NGHTTPX]) ++m4trace:configure.ac:384: -1- m4_pattern_allow([^HTTPD_NGHTTPX$]) ++m4trace:configure.ac:387: -1- AC_SUBST([HTTPD_NGHTTPX]) ++m4trace:configure.ac:387: -1- AC_SUBST_TRACE([HTTPD_NGHTTPX]) ++m4trace:configure.ac:387: -1- m4_pattern_allow([^HTTPD_NGHTTPX$]) ++m4trace:configure.ac:393: -1- AC_SUBST([CADDY]) ++m4trace:configure.ac:393: -1- AC_SUBST_TRACE([CADDY]) ++m4trace:configure.ac:393: -1- m4_pattern_allow([^CADDY$]) ++m4trace:configure.ac:395: -1- AC_SUBST([CADDY]) ++m4trace:configure.ac:395: -1- AC_SUBST_TRACE([CADDY]) ++m4trace:configure.ac:395: -1- m4_pattern_allow([^CADDY$]) ++m4trace:configure.ac:425: -1- AC_CANONICAL_HOST ++m4trace:configure.ac:425: -1- AC_CANONICAL_BUILD ++m4trace:configure.ac:425: -1- AC_REQUIRE_AUX_FILE([config.sub]) ++m4trace:configure.ac:425: -1- AC_REQUIRE_AUX_FILE([config.guess]) ++m4trace:configure.ac:425: -1- AC_SUBST([build], [$ac_cv_build]) ++m4trace:configure.ac:425: -1- AC_SUBST_TRACE([build]) ++m4trace:configure.ac:425: -1- m4_pattern_allow([^build$]) ++m4trace:configure.ac:425: -1- AC_SUBST([build_cpu], [$[1]]) ++m4trace:configure.ac:425: -1- AC_SUBST_TRACE([build_cpu]) ++m4trace:configure.ac:425: -1- m4_pattern_allow([^build_cpu$]) ++m4trace:configure.ac:425: -1- AC_SUBST([build_vendor], [$[2]]) ++m4trace:configure.ac:425: -1- AC_SUBST_TRACE([build_vendor]) ++m4trace:configure.ac:425: -1- m4_pattern_allow([^build_vendor$]) ++m4trace:configure.ac:425: -1- AC_SUBST([build_os]) ++m4trace:configure.ac:425: -1- AC_SUBST_TRACE([build_os]) ++m4trace:configure.ac:425: -1- m4_pattern_allow([^build_os$]) ++m4trace:configure.ac:425: -1- AC_SUBST([host], [$ac_cv_host]) ++m4trace:configure.ac:425: -1- AC_SUBST_TRACE([host]) ++m4trace:configure.ac:425: -1- m4_pattern_allow([^host$]) ++m4trace:configure.ac:425: -1- AC_SUBST([host_cpu], [$[1]]) ++m4trace:configure.ac:425: -1- AC_SUBST_TRACE([host_cpu]) ++m4trace:configure.ac:425: -1- m4_pattern_allow([^host_cpu$]) ++m4trace:configure.ac:425: -1- AC_SUBST([host_vendor], [$[2]]) ++m4trace:configure.ac:425: -1- AC_SUBST_TRACE([host_vendor]) ++m4trace:configure.ac:425: -1- m4_pattern_allow([^host_vendor$]) ++m4trace:configure.ac:425: -1- AC_SUBST([host_os]) ++m4trace:configure.ac:425: -1- AC_SUBST_TRACE([host_os]) ++m4trace:configure.ac:425: -1- m4_pattern_allow([^host_os$]) ++m4trace:configure.ac:427: -1- AC_DEFINE_TRACE_LITERAL([OS]) ++m4trace:configure.ac:427: -1- m4_pattern_allow([^OS$]) ++m4trace:configure.ac:427: -1- AH_OUTPUT([OS], [/* cpu-machine-OS */ + @%:@undef OS]) +-m4trace:configure.ac:429: -1- AC_SUBST([AR_FLAGS], [cr]) +-m4trace:configure.ac:429: -1- AC_SUBST_TRACE([AR_FLAGS]) +-m4trace:configure.ac:429: -1- m4_pattern_allow([^AR_FLAGS$]) +-m4trace:configure.ac:432: -1- AH_OUTPUT([_ALL_SOURCE], [/* Define to 1 if OS is AIX. */ ++m4trace:configure.ac:430: -1- AC_SUBST([AR_FLAGS], [cr]) ++m4trace:configure.ac:430: -1- AC_SUBST_TRACE([AR_FLAGS]) ++m4trace:configure.ac:430: -1- m4_pattern_allow([^AR_FLAGS$]) ++m4trace:configure.ac:433: -1- AH_OUTPUT([_ALL_SOURCE], [/* Define to 1 if OS is AIX. */ + #ifndef _ALL_SOURCE + # undef _ALL_SOURCE + #endif]) +-m4trace:configure.ac:432: -1- AC_SUBST([GREP]) +-m4trace:configure.ac:432: -1- AC_SUBST_TRACE([GREP]) +-m4trace:configure.ac:432: -1- m4_pattern_allow([^GREP$]) +-m4trace:configure.ac:432: -1- AC_SUBST([EGREP]) +-m4trace:configure.ac:432: -1- AC_SUBST_TRACE([EGREP]) +-m4trace:configure.ac:432: -1- m4_pattern_allow([^EGREP$]) +-m4trace:configure.ac:432: -1- AC_DEFINE_TRACE_LITERAL([_ALL_SOURCE]) +-m4trace:configure.ac:432: -1- m4_pattern_allow([^_ALL_SOURCE$]) +-m4trace:configure.ac:435: -1- AC_DEFINE_TRACE_LITERAL([NEED_THREAD_SAFE]) +-m4trace:configure.ac:435: -1- m4_pattern_allow([^NEED_THREAD_SAFE$]) +-m4trace:configure.ac:435: -1- AH_OUTPUT([NEED_THREAD_SAFE], [/* Define to 1 if _THREAD_SAFE preprocessor symbol must be defined. */ ++m4trace:configure.ac:433: -1- AC_SUBST([GREP]) ++m4trace:configure.ac:433: -1- AC_SUBST_TRACE([GREP]) ++m4trace:configure.ac:433: -1- m4_pattern_allow([^GREP$]) ++m4trace:configure.ac:433: -1- AC_SUBST([EGREP]) ++m4trace:configure.ac:433: -1- AC_SUBST_TRACE([EGREP]) ++m4trace:configure.ac:433: -1- m4_pattern_allow([^EGREP$]) ++m4trace:configure.ac:433: -1- AC_DEFINE_TRACE_LITERAL([_ALL_SOURCE]) ++m4trace:configure.ac:433: -1- m4_pattern_allow([^_ALL_SOURCE$]) ++m4trace:configure.ac:436: -1- AC_DEFINE_TRACE_LITERAL([NEED_THREAD_SAFE]) ++m4trace:configure.ac:436: -1- m4_pattern_allow([^NEED_THREAD_SAFE$]) ++m4trace:configure.ac:436: -1- AH_OUTPUT([NEED_THREAD_SAFE], [/* Define to 1 if _THREAD_SAFE preprocessor symbol must be defined. */ + @%:@undef NEED_THREAD_SAFE]) +-m4trace:configure.ac:436: -1- AC_DEFINE_TRACE_LITERAL([NEED_REENTRANT]) +-m4trace:configure.ac:436: -1- m4_pattern_allow([^NEED_REENTRANT$]) +-m4trace:configure.ac:436: -1- AH_OUTPUT([NEED_REENTRANT], [/* Define to 1 if _REENTRANT preprocessor symbol must be defined. */ ++m4trace:configure.ac:437: -1- AC_DEFINE_TRACE_LITERAL([NEED_REENTRANT]) ++m4trace:configure.ac:437: -1- m4_pattern_allow([^NEED_REENTRANT$]) ++m4trace:configure.ac:437: -1- AH_OUTPUT([NEED_REENTRANT], [/* Define to 1 if _REENTRANT preprocessor symbol must be defined. */ + @%:@undef NEED_REENTRANT]) +-m4trace:configure.ac:439: -1- AC_DEFINE_TRACE_LITERAL([_FILE_OFFSET_BITS]) +-m4trace:configure.ac:439: -1- m4_pattern_allow([^_FILE_OFFSET_BITS$]) +-m4trace:configure.ac:439: -1- AH_OUTPUT([_FILE_OFFSET_BITS], [/* Number of bits in a file offset, on hosts where this is settable. */ ++m4trace:configure.ac:440: -1- AC_DEFINE_TRACE_LITERAL([_FILE_OFFSET_BITS]) ++m4trace:configure.ac:440: -1- m4_pattern_allow([^_FILE_OFFSET_BITS$]) ++m4trace:configure.ac:440: -1- AH_OUTPUT([_FILE_OFFSET_BITS], [/* Number of bits in a file offset, on hosts where this is settable. */ + @%:@undef _FILE_OFFSET_BITS]) +-m4trace:configure.ac:439: -1- AC_DEFINE_TRACE_LITERAL([_LARGE_FILES]) +-m4trace:configure.ac:439: -1- m4_pattern_allow([^_LARGE_FILES$]) +-m4trace:configure.ac:439: -1- AH_OUTPUT([_LARGE_FILES], [/* Define for large files, on AIX-style hosts. */ ++m4trace:configure.ac:440: -1- AC_DEFINE_TRACE_LITERAL([_LARGE_FILES]) ++m4trace:configure.ac:440: -1- m4_pattern_allow([^_LARGE_FILES$]) ++m4trace:configure.ac:440: -1- AH_OUTPUT([_LARGE_FILES], [/* Define for large files, on AIX-style hosts. */ + @%:@undef _LARGE_FILES]) +-m4trace:configure.ac:441: -1- LT_INIT([win32-dll]) +-m4trace:configure.ac:441: -1- m4_pattern_forbid([^_?LT_[A-Z_]+$]) +-m4trace:configure.ac:441: -1- m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$]) +-m4trace:configure.ac:441: -1- AC_REQUIRE_AUX_FILE([ltmain.sh]) +-m4trace:configure.ac:441: -1- AC_SUBST([AS]) +-m4trace:configure.ac:441: -1- AC_SUBST_TRACE([AS]) +-m4trace:configure.ac:441: -1- m4_pattern_allow([^AS$]) +-m4trace:configure.ac:441: -1- AC_SUBST([DLLTOOL]) +-m4trace:configure.ac:441: -1- AC_SUBST_TRACE([DLLTOOL]) +-m4trace:configure.ac:441: -1- m4_pattern_allow([^DLLTOOL$]) +-m4trace:configure.ac:441: -1- AC_SUBST([OBJDUMP]) +-m4trace:configure.ac:441: -1- AC_SUBST_TRACE([OBJDUMP]) +-m4trace:configure.ac:441: -1- m4_pattern_allow([^OBJDUMP$]) +-m4trace:configure.ac:441: -1- AC_SUBST([LIBTOOL]) +-m4trace:configure.ac:441: -1- AC_SUBST_TRACE([LIBTOOL]) +-m4trace:configure.ac:441: -1- m4_pattern_allow([^LIBTOOL$]) +-m4trace:configure.ac:441: -1- AC_SUBST([SED]) +-m4trace:configure.ac:441: -1- AC_SUBST_TRACE([SED]) +-m4trace:configure.ac:441: -1- m4_pattern_allow([^SED$]) +-m4trace:configure.ac:441: -1- AC_SUBST([FGREP]) +-m4trace:configure.ac:441: -1- AC_SUBST_TRACE([FGREP]) +-m4trace:configure.ac:441: -1- m4_pattern_allow([^FGREP$]) +-m4trace:configure.ac:441: -1- AC_SUBST([GREP]) +-m4trace:configure.ac:441: -1- AC_SUBST_TRACE([GREP]) +-m4trace:configure.ac:441: -1- m4_pattern_allow([^GREP$]) +-m4trace:configure.ac:441: -1- AC_SUBST([LD]) +-m4trace:configure.ac:441: -1- AC_SUBST_TRACE([LD]) +-m4trace:configure.ac:441: -1- m4_pattern_allow([^LD$]) +-m4trace:configure.ac:441: -1- AC_SUBST([DUMPBIN]) +-m4trace:configure.ac:441: -1- AC_SUBST_TRACE([DUMPBIN]) +-m4trace:configure.ac:441: -1- m4_pattern_allow([^DUMPBIN$]) +-m4trace:configure.ac:441: -1- AC_SUBST([ac_ct_DUMPBIN]) +-m4trace:configure.ac:441: -1- AC_SUBST_TRACE([ac_ct_DUMPBIN]) +-m4trace:configure.ac:441: -1- m4_pattern_allow([^ac_ct_DUMPBIN$]) +-m4trace:configure.ac:441: -1- AC_SUBST([DUMPBIN]) +-m4trace:configure.ac:441: -1- AC_SUBST_TRACE([DUMPBIN]) +-m4trace:configure.ac:441: -1- m4_pattern_allow([^DUMPBIN$]) +-m4trace:configure.ac:441: -1- AC_SUBST([NM]) +-m4trace:configure.ac:441: -1- AC_SUBST_TRACE([NM]) +-m4trace:configure.ac:441: -1- m4_pattern_allow([^NM$]) +-m4trace:configure.ac:441: -1- AC_SUBST([LN_S], [$as_ln_s]) +-m4trace:configure.ac:441: -1- AC_SUBST_TRACE([LN_S]) +-m4trace:configure.ac:441: -1- m4_pattern_allow([^LN_S$]) +-m4trace:configure.ac:441: -1- AC_SUBST([FILECMD]) +-m4trace:configure.ac:441: -1- AC_SUBST_TRACE([FILECMD]) +-m4trace:configure.ac:441: -1- m4_pattern_allow([^FILECMD$]) +-m4trace:configure.ac:441: -1- AC_SUBST([OBJDUMP]) +-m4trace:configure.ac:441: -1- AC_SUBST_TRACE([OBJDUMP]) +-m4trace:configure.ac:441: -1- m4_pattern_allow([^OBJDUMP$]) +-m4trace:configure.ac:441: -1- AC_SUBST([OBJDUMP]) +-m4trace:configure.ac:441: -1- AC_SUBST_TRACE([OBJDUMP]) +-m4trace:configure.ac:441: -1- m4_pattern_allow([^OBJDUMP$]) +-m4trace:configure.ac:441: -1- AC_SUBST([DLLTOOL]) +-m4trace:configure.ac:441: -1- AC_SUBST_TRACE([DLLTOOL]) +-m4trace:configure.ac:441: -1- m4_pattern_allow([^DLLTOOL$]) +-m4trace:configure.ac:441: -1- AC_SUBST([DLLTOOL]) +-m4trace:configure.ac:441: -1- AC_SUBST_TRACE([DLLTOOL]) +-m4trace:configure.ac:441: -1- m4_pattern_allow([^DLLTOOL$]) +-m4trace:configure.ac:441: -1- AC_SUBST([AR]) +-m4trace:configure.ac:441: -1- AC_SUBST_TRACE([AR]) +-m4trace:configure.ac:441: -1- m4_pattern_allow([^AR$]) +-m4trace:configure.ac:441: -1- AC_SUBST([ac_ct_AR]) +-m4trace:configure.ac:441: -1- AC_SUBST_TRACE([ac_ct_AR]) +-m4trace:configure.ac:441: -1- m4_pattern_allow([^ac_ct_AR$]) +-m4trace:configure.ac:441: -1- AC_SUBST([STRIP]) +-m4trace:configure.ac:441: -1- AC_SUBST_TRACE([STRIP]) +-m4trace:configure.ac:441: -1- m4_pattern_allow([^STRIP$]) +-m4trace:configure.ac:441: -1- AC_SUBST([RANLIB]) +-m4trace:configure.ac:441: -1- AC_SUBST_TRACE([RANLIB]) +-m4trace:configure.ac:441: -1- m4_pattern_allow([^RANLIB$]) +-m4trace:configure.ac:441: -1- m4_pattern_allow([LT_OBJDIR]) +-m4trace:configure.ac:441: -1- AC_DEFINE_TRACE_LITERAL([LT_OBJDIR]) +-m4trace:configure.ac:441: -1- m4_pattern_allow([^LT_OBJDIR$]) +-m4trace:configure.ac:441: -1- AH_OUTPUT([LT_OBJDIR], [/* Define to the sub-directory where libtool stores uninstalled libraries. */ ++m4trace:configure.ac:442: -1- LT_INIT([win32-dll]) ++m4trace:configure.ac:442: -1- m4_pattern_forbid([^_?LT_[A-Z_]+$]) ++m4trace:configure.ac:442: -1- m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$]) ++m4trace:configure.ac:442: -1- AC_REQUIRE_AUX_FILE([ltmain.sh]) ++m4trace:configure.ac:442: -1- AC_SUBST([AS]) ++m4trace:configure.ac:442: -1- AC_SUBST_TRACE([AS]) ++m4trace:configure.ac:442: -1- m4_pattern_allow([^AS$]) ++m4trace:configure.ac:442: -1- AC_SUBST([DLLTOOL]) ++m4trace:configure.ac:442: -1- AC_SUBST_TRACE([DLLTOOL]) ++m4trace:configure.ac:442: -1- m4_pattern_allow([^DLLTOOL$]) ++m4trace:configure.ac:442: -1- AC_SUBST([OBJDUMP]) ++m4trace:configure.ac:442: -1- AC_SUBST_TRACE([OBJDUMP]) ++m4trace:configure.ac:442: -1- m4_pattern_allow([^OBJDUMP$]) ++m4trace:configure.ac:442: -1- AC_SUBST([LIBTOOL]) ++m4trace:configure.ac:442: -1- AC_SUBST_TRACE([LIBTOOL]) ++m4trace:configure.ac:442: -1- m4_pattern_allow([^LIBTOOL$]) ++m4trace:configure.ac:442: -1- AC_SUBST([SED]) ++m4trace:configure.ac:442: -1- AC_SUBST_TRACE([SED]) ++m4trace:configure.ac:442: -1- m4_pattern_allow([^SED$]) ++m4trace:configure.ac:442: -1- AC_SUBST([FGREP]) ++m4trace:configure.ac:442: -1- AC_SUBST_TRACE([FGREP]) ++m4trace:configure.ac:442: -1- m4_pattern_allow([^FGREP$]) ++m4trace:configure.ac:442: -1- AC_SUBST([GREP]) ++m4trace:configure.ac:442: -1- AC_SUBST_TRACE([GREP]) ++m4trace:configure.ac:442: -1- m4_pattern_allow([^GREP$]) ++m4trace:configure.ac:442: -1- AC_SUBST([LD]) ++m4trace:configure.ac:442: -1- AC_SUBST_TRACE([LD]) ++m4trace:configure.ac:442: -1- m4_pattern_allow([^LD$]) ++m4trace:configure.ac:442: -1- AC_SUBST([DUMPBIN]) ++m4trace:configure.ac:442: -1- AC_SUBST_TRACE([DUMPBIN]) ++m4trace:configure.ac:442: -1- m4_pattern_allow([^DUMPBIN$]) ++m4trace:configure.ac:442: -1- AC_SUBST([ac_ct_DUMPBIN]) ++m4trace:configure.ac:442: -1- AC_SUBST_TRACE([ac_ct_DUMPBIN]) ++m4trace:configure.ac:442: -1- m4_pattern_allow([^ac_ct_DUMPBIN$]) ++m4trace:configure.ac:442: -1- AC_SUBST([DUMPBIN]) ++m4trace:configure.ac:442: -1- AC_SUBST_TRACE([DUMPBIN]) ++m4trace:configure.ac:442: -1- m4_pattern_allow([^DUMPBIN$]) ++m4trace:configure.ac:442: -1- AC_SUBST([NM]) ++m4trace:configure.ac:442: -1- AC_SUBST_TRACE([NM]) ++m4trace:configure.ac:442: -1- m4_pattern_allow([^NM$]) ++m4trace:configure.ac:442: -1- AC_SUBST([LN_S], [$as_ln_s]) ++m4trace:configure.ac:442: -1- AC_SUBST_TRACE([LN_S]) ++m4trace:configure.ac:442: -1- m4_pattern_allow([^LN_S$]) ++m4trace:configure.ac:442: -1- AC_SUBST([FILECMD]) ++m4trace:configure.ac:442: -1- AC_SUBST_TRACE([FILECMD]) ++m4trace:configure.ac:442: -1- m4_pattern_allow([^FILECMD$]) ++m4trace:configure.ac:442: -1- AC_SUBST([OBJDUMP]) ++m4trace:configure.ac:442: -1- AC_SUBST_TRACE([OBJDUMP]) ++m4trace:configure.ac:442: -1- m4_pattern_allow([^OBJDUMP$]) ++m4trace:configure.ac:442: -1- AC_SUBST([OBJDUMP]) ++m4trace:configure.ac:442: -1- AC_SUBST_TRACE([OBJDUMP]) ++m4trace:configure.ac:442: -1- m4_pattern_allow([^OBJDUMP$]) ++m4trace:configure.ac:442: -1- AC_SUBST([DLLTOOL]) ++m4trace:configure.ac:442: -1- AC_SUBST_TRACE([DLLTOOL]) ++m4trace:configure.ac:442: -1- m4_pattern_allow([^DLLTOOL$]) ++m4trace:configure.ac:442: -1- AC_SUBST([DLLTOOL]) ++m4trace:configure.ac:442: -1- AC_SUBST_TRACE([DLLTOOL]) ++m4trace:configure.ac:442: -1- m4_pattern_allow([^DLLTOOL$]) ++m4trace:configure.ac:442: -1- AC_SUBST([AR]) ++m4trace:configure.ac:442: -1- AC_SUBST_TRACE([AR]) ++m4trace:configure.ac:442: -1- m4_pattern_allow([^AR$]) ++m4trace:configure.ac:442: -1- AC_SUBST([ac_ct_AR]) ++m4trace:configure.ac:442: -1- AC_SUBST_TRACE([ac_ct_AR]) ++m4trace:configure.ac:442: -1- m4_pattern_allow([^ac_ct_AR$]) ++m4trace:configure.ac:442: -1- AC_SUBST([STRIP]) ++m4trace:configure.ac:442: -1- AC_SUBST_TRACE([STRIP]) ++m4trace:configure.ac:442: -1- m4_pattern_allow([^STRIP$]) ++m4trace:configure.ac:442: -1- AC_SUBST([RANLIB]) ++m4trace:configure.ac:442: -1- AC_SUBST_TRACE([RANLIB]) ++m4trace:configure.ac:442: -1- m4_pattern_allow([^RANLIB$]) ++m4trace:configure.ac:442: -1- m4_pattern_allow([LT_OBJDIR]) ++m4trace:configure.ac:442: -1- AC_DEFINE_TRACE_LITERAL([LT_OBJDIR]) ++m4trace:configure.ac:442: -1- m4_pattern_allow([^LT_OBJDIR$]) ++m4trace:configure.ac:442: -1- AH_OUTPUT([LT_OBJDIR], [/* Define to the sub-directory where libtool stores uninstalled libraries. */ + @%:@undef LT_OBJDIR]) +-m4trace:configure.ac:441: -1- LT_SUPPORTED_TAG([CC]) +-m4trace:configure.ac:441: -1- AC_SUBST([MANIFEST_TOOL]) +-m4trace:configure.ac:441: -1- AC_SUBST_TRACE([MANIFEST_TOOL]) +-m4trace:configure.ac:441: -1- m4_pattern_allow([^MANIFEST_TOOL$]) +-m4trace:configure.ac:441: -1- AC_SUBST([DSYMUTIL]) +-m4trace:configure.ac:441: -1- AC_SUBST_TRACE([DSYMUTIL]) +-m4trace:configure.ac:441: -1- m4_pattern_allow([^DSYMUTIL$]) +-m4trace:configure.ac:441: -1- AC_SUBST([NMEDIT]) +-m4trace:configure.ac:441: -1- AC_SUBST_TRACE([NMEDIT]) +-m4trace:configure.ac:441: -1- m4_pattern_allow([^NMEDIT$]) +-m4trace:configure.ac:441: -1- AC_SUBST([LIPO]) +-m4trace:configure.ac:441: -1- AC_SUBST_TRACE([LIPO]) +-m4trace:configure.ac:441: -1- m4_pattern_allow([^LIPO$]) +-m4trace:configure.ac:441: -1- AC_SUBST([OTOOL]) +-m4trace:configure.ac:441: -1- AC_SUBST_TRACE([OTOOL]) +-m4trace:configure.ac:441: -1- m4_pattern_allow([^OTOOL$]) +-m4trace:configure.ac:441: -1- AC_SUBST([OTOOL64]) +-m4trace:configure.ac:441: -1- AC_SUBST_TRACE([OTOOL64]) +-m4trace:configure.ac:441: -1- m4_pattern_allow([^OTOOL64$]) +-m4trace:configure.ac:441: -1- AC_SUBST([LT_SYS_LIBRARY_PATH]) +-m4trace:configure.ac:441: -1- AC_SUBST_TRACE([LT_SYS_LIBRARY_PATH]) +-m4trace:configure.ac:441: -1- m4_pattern_allow([^LT_SYS_LIBRARY_PATH$]) +-m4trace:configure.ac:441: -1- AH_OUTPUT([HAVE_DLFCN_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:442: -1- LT_SUPPORTED_TAG([CC]) ++m4trace:configure.ac:442: -1- AC_SUBST([MANIFEST_TOOL]) ++m4trace:configure.ac:442: -1- AC_SUBST_TRACE([MANIFEST_TOOL]) ++m4trace:configure.ac:442: -1- m4_pattern_allow([^MANIFEST_TOOL$]) ++m4trace:configure.ac:442: -1- AC_SUBST([DSYMUTIL]) ++m4trace:configure.ac:442: -1- AC_SUBST_TRACE([DSYMUTIL]) ++m4trace:configure.ac:442: -1- m4_pattern_allow([^DSYMUTIL$]) ++m4trace:configure.ac:442: -1- AC_SUBST([NMEDIT]) ++m4trace:configure.ac:442: -1- AC_SUBST_TRACE([NMEDIT]) ++m4trace:configure.ac:442: -1- m4_pattern_allow([^NMEDIT$]) ++m4trace:configure.ac:442: -1- AC_SUBST([LIPO]) ++m4trace:configure.ac:442: -1- AC_SUBST_TRACE([LIPO]) ++m4trace:configure.ac:442: -1- m4_pattern_allow([^LIPO$]) ++m4trace:configure.ac:442: -1- AC_SUBST([OTOOL]) ++m4trace:configure.ac:442: -1- AC_SUBST_TRACE([OTOOL]) ++m4trace:configure.ac:442: -1- m4_pattern_allow([^OTOOL$]) ++m4trace:configure.ac:442: -1- AC_SUBST([OTOOL64]) ++m4trace:configure.ac:442: -1- AC_SUBST_TRACE([OTOOL64]) ++m4trace:configure.ac:442: -1- m4_pattern_allow([^OTOOL64$]) ++m4trace:configure.ac:442: -1- AC_SUBST([LT_SYS_LIBRARY_PATH]) ++m4trace:configure.ac:442: -1- AC_SUBST_TRACE([LT_SYS_LIBRARY_PATH]) ++m4trace:configure.ac:442: -1- m4_pattern_allow([^LT_SYS_LIBRARY_PATH$]) ++m4trace:configure.ac:442: -1- AH_OUTPUT([HAVE_DLFCN_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_DLFCN_H]) +-m4trace:configure.ac:441: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DLFCN_H]) +-m4trace:configure.ac:441: -1- m4_pattern_allow([^HAVE_DLFCN_H$]) +-m4trace:configure.ac:443: -1- LT_SUPPORTED_TAG([RC]) +-m4trace:configure.ac:443: -1- AC_SUBST([RC]) +-m4trace:configure.ac:443: -1- AC_SUBST_TRACE([RC]) +-m4trace:configure.ac:443: -1- m4_pattern_allow([^RC$]) +-m4trace:configure.ac:449: -1- AM_CONDITIONAL([CURL_LT_SHLIB_USE_VERSION_INFO], [test "x$xc_lt_shlib_use_version_info" = 'xyes']) +-m4trace:configure.ac:449: -1- AC_SUBST([CURL_LT_SHLIB_USE_VERSION_INFO_TRUE]) +-m4trace:configure.ac:449: -1- AC_SUBST_TRACE([CURL_LT_SHLIB_USE_VERSION_INFO_TRUE]) +-m4trace:configure.ac:449: -1- m4_pattern_allow([^CURL_LT_SHLIB_USE_VERSION_INFO_TRUE$]) +-m4trace:configure.ac:449: -1- AC_SUBST([CURL_LT_SHLIB_USE_VERSION_INFO_FALSE]) +-m4trace:configure.ac:449: -1- AC_SUBST_TRACE([CURL_LT_SHLIB_USE_VERSION_INFO_FALSE]) +-m4trace:configure.ac:449: -1- m4_pattern_allow([^CURL_LT_SHLIB_USE_VERSION_INFO_FALSE$]) +-m4trace:configure.ac:449: -1- _AM_SUBST_NOTMAKE([CURL_LT_SHLIB_USE_VERSION_INFO_TRUE]) +-m4trace:configure.ac:449: -1- _AM_SUBST_NOTMAKE([CURL_LT_SHLIB_USE_VERSION_INFO_FALSE]) +-m4trace:configure.ac:451: -1- AM_CONDITIONAL([CURL_LT_SHLIB_USE_NO_UNDEFINED], [test "x$xc_lt_shlib_use_no_undefined" = 'xyes']) +-m4trace:configure.ac:451: -1- AC_SUBST([CURL_LT_SHLIB_USE_NO_UNDEFINED_TRUE]) +-m4trace:configure.ac:451: -1- AC_SUBST_TRACE([CURL_LT_SHLIB_USE_NO_UNDEFINED_TRUE]) +-m4trace:configure.ac:451: -1- m4_pattern_allow([^CURL_LT_SHLIB_USE_NO_UNDEFINED_TRUE$]) +-m4trace:configure.ac:451: -1- AC_SUBST([CURL_LT_SHLIB_USE_NO_UNDEFINED_FALSE]) +-m4trace:configure.ac:451: -1- AC_SUBST_TRACE([CURL_LT_SHLIB_USE_NO_UNDEFINED_FALSE]) +-m4trace:configure.ac:451: -1- m4_pattern_allow([^CURL_LT_SHLIB_USE_NO_UNDEFINED_FALSE$]) +-m4trace:configure.ac:451: -1- _AM_SUBST_NOTMAKE([CURL_LT_SHLIB_USE_NO_UNDEFINED_TRUE]) +-m4trace:configure.ac:451: -1- _AM_SUBST_NOTMAKE([CURL_LT_SHLIB_USE_NO_UNDEFINED_FALSE]) +-m4trace:configure.ac:453: -1- AM_CONDITIONAL([CURL_LT_SHLIB_USE_MIMPURE_TEXT], [test "x$xc_lt_shlib_use_mimpure_text" = 'xyes']) +-m4trace:configure.ac:453: -1- AC_SUBST([CURL_LT_SHLIB_USE_MIMPURE_TEXT_TRUE]) +-m4trace:configure.ac:453: -1- AC_SUBST_TRACE([CURL_LT_SHLIB_USE_MIMPURE_TEXT_TRUE]) +-m4trace:configure.ac:453: -1- m4_pattern_allow([^CURL_LT_SHLIB_USE_MIMPURE_TEXT_TRUE$]) +-m4trace:configure.ac:453: -1- AC_SUBST([CURL_LT_SHLIB_USE_MIMPURE_TEXT_FALSE]) +-m4trace:configure.ac:453: -1- AC_SUBST_TRACE([CURL_LT_SHLIB_USE_MIMPURE_TEXT_FALSE]) +-m4trace:configure.ac:453: -1- m4_pattern_allow([^CURL_LT_SHLIB_USE_MIMPURE_TEXT_FALSE$]) +-m4trace:configure.ac:453: -1- _AM_SUBST_NOTMAKE([CURL_LT_SHLIB_USE_MIMPURE_TEXT_TRUE]) +-m4trace:configure.ac:453: -1- _AM_SUBST_NOTMAKE([CURL_LT_SHLIB_USE_MIMPURE_TEXT_FALSE]) +-m4trace:configure.ac:472: -1- AM_CONDITIONAL([USE_CPPFLAG_CURL_STATICLIB], [test "x$xc_lt_build_static_only" = 'xyes']) +-m4trace:configure.ac:472: -1- AC_SUBST([USE_CPPFLAG_CURL_STATICLIB_TRUE]) +-m4trace:configure.ac:472: -1- AC_SUBST_TRACE([USE_CPPFLAG_CURL_STATICLIB_TRUE]) +-m4trace:configure.ac:472: -1- m4_pattern_allow([^USE_CPPFLAG_CURL_STATICLIB_TRUE$]) +-m4trace:configure.ac:472: -1- AC_SUBST([USE_CPPFLAG_CURL_STATICLIB_FALSE]) +-m4trace:configure.ac:472: -1- AC_SUBST_TRACE([USE_CPPFLAG_CURL_STATICLIB_FALSE]) +-m4trace:configure.ac:472: -1- m4_pattern_allow([^USE_CPPFLAG_CURL_STATICLIB_FALSE$]) +-m4trace:configure.ac:472: -1- _AM_SUBST_NOTMAKE([USE_CPPFLAG_CURL_STATICLIB_TRUE]) +-m4trace:configure.ac:472: -1- _AM_SUBST_NOTMAKE([USE_CPPFLAG_CURL_STATICLIB_FALSE]) +-m4trace:configure.ac:485: -1- AC_SUBST([CPPFLAG_CURL_STATICLIB]) +-m4trace:configure.ac:485: -1- AC_SUBST_TRACE([CPPFLAG_CURL_STATICLIB]) +-m4trace:configure.ac:485: -1- m4_pattern_allow([^CPPFLAG_CURL_STATICLIB$]) +-m4trace:configure.ac:495: -1- AC_SUBST([REQUIRE_LIB_DEPS]) +-m4trace:configure.ac:495: -1- AC_SUBST_TRACE([REQUIRE_LIB_DEPS]) +-m4trace:configure.ac:495: -1- m4_pattern_allow([^REQUIRE_LIB_DEPS$]) +-m4trace:configure.ac:496: -1- AM_CONDITIONAL([USE_EXPLICIT_LIB_DEPS], [test x$REQUIRE_LIB_DEPS = xyes]) +-m4trace:configure.ac:496: -1- AC_SUBST([USE_EXPLICIT_LIB_DEPS_TRUE]) +-m4trace:configure.ac:496: -1- AC_SUBST_TRACE([USE_EXPLICIT_LIB_DEPS_TRUE]) +-m4trace:configure.ac:496: -1- m4_pattern_allow([^USE_EXPLICIT_LIB_DEPS_TRUE$]) +-m4trace:configure.ac:496: -1- AC_SUBST([USE_EXPLICIT_LIB_DEPS_FALSE]) +-m4trace:configure.ac:496: -1- AC_SUBST_TRACE([USE_EXPLICIT_LIB_DEPS_FALSE]) +-m4trace:configure.ac:496: -1- m4_pattern_allow([^USE_EXPLICIT_LIB_DEPS_FALSE$]) +-m4trace:configure.ac:496: -1- _AM_SUBST_NOTMAKE([USE_EXPLICIT_LIB_DEPS_TRUE]) +-m4trace:configure.ac:496: -1- _AM_SUBST_NOTMAKE([USE_EXPLICIT_LIB_DEPS_FALSE]) +-m4trace:configure.ac:499: -1- AH_OUTPUT([inline], [/* Define to `__inline__\' or `__inline\' if that\'s what the C compiler ++m4trace:configure.ac:442: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DLFCN_H]) ++m4trace:configure.ac:442: -1- m4_pattern_allow([^HAVE_DLFCN_H$]) ++m4trace:configure.ac:444: -1- LT_SUPPORTED_TAG([RC]) ++m4trace:configure.ac:444: -1- AC_SUBST([RC]) ++m4trace:configure.ac:444: -1- AC_SUBST_TRACE([RC]) ++m4trace:configure.ac:444: -1- m4_pattern_allow([^RC$]) ++m4trace:configure.ac:450: -1- AM_CONDITIONAL([CURL_LT_SHLIB_USE_VERSION_INFO], [test "x$xc_lt_shlib_use_version_info" = 'xyes']) ++m4trace:configure.ac:450: -1- AC_SUBST([CURL_LT_SHLIB_USE_VERSION_INFO_TRUE]) ++m4trace:configure.ac:450: -1- AC_SUBST_TRACE([CURL_LT_SHLIB_USE_VERSION_INFO_TRUE]) ++m4trace:configure.ac:450: -1- m4_pattern_allow([^CURL_LT_SHLIB_USE_VERSION_INFO_TRUE$]) ++m4trace:configure.ac:450: -1- AC_SUBST([CURL_LT_SHLIB_USE_VERSION_INFO_FALSE]) ++m4trace:configure.ac:450: -1- AC_SUBST_TRACE([CURL_LT_SHLIB_USE_VERSION_INFO_FALSE]) ++m4trace:configure.ac:450: -1- m4_pattern_allow([^CURL_LT_SHLIB_USE_VERSION_INFO_FALSE$]) ++m4trace:configure.ac:450: -1- _AM_SUBST_NOTMAKE([CURL_LT_SHLIB_USE_VERSION_INFO_TRUE]) ++m4trace:configure.ac:450: -1- _AM_SUBST_NOTMAKE([CURL_LT_SHLIB_USE_VERSION_INFO_FALSE]) ++m4trace:configure.ac:452: -1- AM_CONDITIONAL([CURL_LT_SHLIB_USE_NO_UNDEFINED], [test "x$xc_lt_shlib_use_no_undefined" = 'xyes']) ++m4trace:configure.ac:452: -1- AC_SUBST([CURL_LT_SHLIB_USE_NO_UNDEFINED_TRUE]) ++m4trace:configure.ac:452: -1- AC_SUBST_TRACE([CURL_LT_SHLIB_USE_NO_UNDEFINED_TRUE]) ++m4trace:configure.ac:452: -1- m4_pattern_allow([^CURL_LT_SHLIB_USE_NO_UNDEFINED_TRUE$]) ++m4trace:configure.ac:452: -1- AC_SUBST([CURL_LT_SHLIB_USE_NO_UNDEFINED_FALSE]) ++m4trace:configure.ac:452: -1- AC_SUBST_TRACE([CURL_LT_SHLIB_USE_NO_UNDEFINED_FALSE]) ++m4trace:configure.ac:452: -1- m4_pattern_allow([^CURL_LT_SHLIB_USE_NO_UNDEFINED_FALSE$]) ++m4trace:configure.ac:452: -1- _AM_SUBST_NOTMAKE([CURL_LT_SHLIB_USE_NO_UNDEFINED_TRUE]) ++m4trace:configure.ac:452: -1- _AM_SUBST_NOTMAKE([CURL_LT_SHLIB_USE_NO_UNDEFINED_FALSE]) ++m4trace:configure.ac:454: -1- AM_CONDITIONAL([CURL_LT_SHLIB_USE_MIMPURE_TEXT], [test "x$xc_lt_shlib_use_mimpure_text" = 'xyes']) ++m4trace:configure.ac:454: -1- AC_SUBST([CURL_LT_SHLIB_USE_MIMPURE_TEXT_TRUE]) ++m4trace:configure.ac:454: -1- AC_SUBST_TRACE([CURL_LT_SHLIB_USE_MIMPURE_TEXT_TRUE]) ++m4trace:configure.ac:454: -1- m4_pattern_allow([^CURL_LT_SHLIB_USE_MIMPURE_TEXT_TRUE$]) ++m4trace:configure.ac:454: -1- AC_SUBST([CURL_LT_SHLIB_USE_MIMPURE_TEXT_FALSE]) ++m4trace:configure.ac:454: -1- AC_SUBST_TRACE([CURL_LT_SHLIB_USE_MIMPURE_TEXT_FALSE]) ++m4trace:configure.ac:454: -1- m4_pattern_allow([^CURL_LT_SHLIB_USE_MIMPURE_TEXT_FALSE$]) ++m4trace:configure.ac:454: -1- _AM_SUBST_NOTMAKE([CURL_LT_SHLIB_USE_MIMPURE_TEXT_TRUE]) ++m4trace:configure.ac:454: -1- _AM_SUBST_NOTMAKE([CURL_LT_SHLIB_USE_MIMPURE_TEXT_FALSE]) ++m4trace:configure.ac:473: -1- AM_CONDITIONAL([USE_CPPFLAG_CURL_STATICLIB], [test "x$xc_lt_build_static_only" = 'xyes']) ++m4trace:configure.ac:473: -1- AC_SUBST([USE_CPPFLAG_CURL_STATICLIB_TRUE]) ++m4trace:configure.ac:473: -1- AC_SUBST_TRACE([USE_CPPFLAG_CURL_STATICLIB_TRUE]) ++m4trace:configure.ac:473: -1- m4_pattern_allow([^USE_CPPFLAG_CURL_STATICLIB_TRUE$]) ++m4trace:configure.ac:473: -1- AC_SUBST([USE_CPPFLAG_CURL_STATICLIB_FALSE]) ++m4trace:configure.ac:473: -1- AC_SUBST_TRACE([USE_CPPFLAG_CURL_STATICLIB_FALSE]) ++m4trace:configure.ac:473: -1- m4_pattern_allow([^USE_CPPFLAG_CURL_STATICLIB_FALSE$]) ++m4trace:configure.ac:473: -1- _AM_SUBST_NOTMAKE([USE_CPPFLAG_CURL_STATICLIB_TRUE]) ++m4trace:configure.ac:473: -1- _AM_SUBST_NOTMAKE([USE_CPPFLAG_CURL_STATICLIB_FALSE]) ++m4trace:configure.ac:486: -1- AC_SUBST([CPPFLAG_CURL_STATICLIB]) ++m4trace:configure.ac:486: -1- AC_SUBST_TRACE([CPPFLAG_CURL_STATICLIB]) ++m4trace:configure.ac:486: -1- m4_pattern_allow([^CPPFLAG_CURL_STATICLIB$]) ++m4trace:configure.ac:496: -1- AC_SUBST([REQUIRE_LIB_DEPS]) ++m4trace:configure.ac:496: -1- AC_SUBST_TRACE([REQUIRE_LIB_DEPS]) ++m4trace:configure.ac:496: -1- m4_pattern_allow([^REQUIRE_LIB_DEPS$]) ++m4trace:configure.ac:497: -1- AM_CONDITIONAL([USE_EXPLICIT_LIB_DEPS], [test x$REQUIRE_LIB_DEPS = xyes]) ++m4trace:configure.ac:497: -1- AC_SUBST([USE_EXPLICIT_LIB_DEPS_TRUE]) ++m4trace:configure.ac:497: -1- AC_SUBST_TRACE([USE_EXPLICIT_LIB_DEPS_TRUE]) ++m4trace:configure.ac:497: -1- m4_pattern_allow([^USE_EXPLICIT_LIB_DEPS_TRUE$]) ++m4trace:configure.ac:497: -1- AC_SUBST([USE_EXPLICIT_LIB_DEPS_FALSE]) ++m4trace:configure.ac:497: -1- AC_SUBST_TRACE([USE_EXPLICIT_LIB_DEPS_FALSE]) ++m4trace:configure.ac:497: -1- m4_pattern_allow([^USE_EXPLICIT_LIB_DEPS_FALSE$]) ++m4trace:configure.ac:497: -1- _AM_SUBST_NOTMAKE([USE_EXPLICIT_LIB_DEPS_TRUE]) ++m4trace:configure.ac:497: -1- _AM_SUBST_NOTMAKE([USE_EXPLICIT_LIB_DEPS_FALSE]) ++m4trace:configure.ac:500: -1- AH_OUTPUT([inline], [/* Define to `__inline__\' or `__inline\' if that\'s what the C compiler + calls it, or to nothing if \'inline\' is not supported under any name. */ + #ifndef __cplusplus + #undef inline + #endif]) +-m4trace:configure.ac:506: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:5818: CURL_RUN_IFELSE is expanded from... +-m4/curl-compilers.m4:421: CURL_COMPILER_WORKS_IFELSE is expanded from... +-m4/curl-compilers.m4:491: CURL_SET_COMPILER_BASIC_OPTS is expanded from... +-configure.ac:506: the top level]) +-m4trace:configure.ac:506: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:5818: CURL_RUN_IFELSE is expanded from... +-m4/curl-compilers.m4:421: CURL_COMPILER_WORKS_IFELSE is expanded from... +-m4/curl-compilers.m4:491: CURL_SET_COMPILER_BASIC_OPTS is expanded from... +-configure.ac:506: the top level]) ++m4trace:configure.ac:507: -1- AM_CONDITIONAL([DOING_NATIVE_WINDOWS], [test "x$curl_cv_native_windows" = xyes]) ++m4trace:configure.ac:507: -1- AC_SUBST([DOING_NATIVE_WINDOWS_TRUE]) ++m4trace:configure.ac:507: -1- AC_SUBST_TRACE([DOING_NATIVE_WINDOWS_TRUE]) ++m4trace:configure.ac:507: -1- m4_pattern_allow([^DOING_NATIVE_WINDOWS_TRUE$]) ++m4trace:configure.ac:507: -1- AC_SUBST([DOING_NATIVE_WINDOWS_FALSE]) ++m4trace:configure.ac:507: -1- AC_SUBST_TRACE([DOING_NATIVE_WINDOWS_FALSE]) ++m4trace:configure.ac:507: -1- m4_pattern_allow([^DOING_NATIVE_WINDOWS_FALSE$]) ++m4trace:configure.ac:507: -1- _AM_SUBST_NOTMAKE([DOING_NATIVE_WINDOWS_TRUE]) ++m4trace:configure.ac:507: -1- _AM_SUBST_NOTMAKE([DOING_NATIVE_WINDOWS_FALSE]) + m4trace:configure.ac:508: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:5818: CURL_RUN_IFELSE is expanded from... +-m4/curl-compilers.m4:421: CURL_COMPILER_WORKS_IFELSE is expanded from... +-m4/curl-compilers.m4:682: CURL_SET_COMPILER_OPTIMIZE_OPTS is expanded from... ++m4/curl-functions.m4:5778: CURL_RUN_IFELSE is expanded from... ++m4/curl-compilers.m4:429: CURL_COMPILER_WORKS_IFELSE is expanded from... ++m4/curl-compilers.m4:499: CURL_SET_COMPILER_BASIC_OPTS is expanded from... + configure.ac:508: the top level]) + m4trace:configure.ac:508: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:5818: CURL_RUN_IFELSE is expanded from... +-m4/curl-compilers.m4:421: CURL_COMPILER_WORKS_IFELSE is expanded from... +-m4/curl-compilers.m4:682: CURL_SET_COMPILER_OPTIMIZE_OPTS is expanded from... ++m4/curl-functions.m4:5778: CURL_RUN_IFELSE is expanded from... ++m4/curl-compilers.m4:429: CURL_COMPILER_WORKS_IFELSE is expanded from... ++m4/curl-compilers.m4:499: CURL_SET_COMPILER_BASIC_OPTS is expanded from... + configure.ac:508: the top level]) +-m4trace:configure.ac:509: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:5818: CURL_RUN_IFELSE is expanded from... +-m4/curl-compilers.m4:421: CURL_COMPILER_WORKS_IFELSE is expanded from... +-m4/curl-compilers.m4:764: CURL_SET_COMPILER_WARNING_OPTS is expanded from... +-configure.ac:509: the top level]) +-m4trace:configure.ac:509: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:5818: CURL_RUN_IFELSE is expanded from... +-m4/curl-compilers.m4:421: CURL_COMPILER_WORKS_IFELSE is expanded from... +-m4/curl-compilers.m4:764: CURL_SET_COMPILER_WARNING_OPTS is expanded from... +-configure.ac:509: the top level]) +-m4trace:configure.ac:534: -1- AC_SUBST([CURL_CFLAG_EXTRAS]) +-m4trace:configure.ac:534: -1- AC_SUBST_TRACE([CURL_CFLAG_EXTRAS]) +-m4trace:configure.ac:534: -1- m4_pattern_allow([^CURL_CFLAG_EXTRAS$]) +-m4trace:configure.ac:542: -1- AM_CONDITIONAL([CURLDEBUG], [test x$want_curldebug = xyes]) +-m4trace:configure.ac:542: -1- AC_SUBST([CURLDEBUG_TRUE]) +-m4trace:configure.ac:542: -1- AC_SUBST_TRACE([CURLDEBUG_TRUE]) +-m4trace:configure.ac:542: -1- m4_pattern_allow([^CURLDEBUG_TRUE$]) +-m4trace:configure.ac:542: -1- AC_SUBST([CURLDEBUG_FALSE]) +-m4trace:configure.ac:542: -1- AC_SUBST_TRACE([CURLDEBUG_FALSE]) +-m4trace:configure.ac:542: -1- m4_pattern_allow([^CURLDEBUG_FALSE$]) +-m4trace:configure.ac:542: -1- _AM_SUBST_NOTMAKE([CURLDEBUG_TRUE]) +-m4trace:configure.ac:542: -1- _AM_SUBST_NOTMAKE([CURLDEBUG_FALSE]) +-m4trace:configure.ac:580: -1- AM_CONDITIONAL([BUILD_UNITTESTS], [test x$want_unittests = xyes]) +-m4trace:configure.ac:580: -1- AC_SUBST([BUILD_UNITTESTS_TRUE]) +-m4trace:configure.ac:580: -1- AC_SUBST_TRACE([BUILD_UNITTESTS_TRUE]) +-m4trace:configure.ac:580: -1- m4_pattern_allow([^BUILD_UNITTESTS_TRUE$]) +-m4trace:configure.ac:580: -1- AC_SUBST([BUILD_UNITTESTS_FALSE]) +-m4trace:configure.ac:580: -1- AC_SUBST_TRACE([BUILD_UNITTESTS_FALSE]) +-m4trace:configure.ac:580: -1- m4_pattern_allow([^BUILD_UNITTESTS_FALSE$]) +-m4trace:configure.ac:580: -1- _AM_SUBST_NOTMAKE([BUILD_UNITTESTS_TRUE]) +-m4trace:configure.ac:580: -1- _AM_SUBST_NOTMAKE([BUILD_UNITTESTS_FALSE]) +-m4trace:configure.ac:593: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WINDOWS_H]) +-m4trace:configure.ac:593: -1- m4_pattern_allow([^HAVE_WINDOWS_H$]) +-m4trace:configure.ac:593: -1- AH_OUTPUT([HAVE_WINDOWS_H], [/* Define to 1 if you have the windows.h header file. */ +-@%:@undef HAVE_WINDOWS_H]) +-m4trace:configure.ac:594: -1- AM_CONDITIONAL([DOING_NATIVE_WINDOWS], [test "x$curl_cv_native_windows" = xyes]) +-m4trace:configure.ac:594: -1- AC_SUBST([DOING_NATIVE_WINDOWS_TRUE]) +-m4trace:configure.ac:594: -1- AC_SUBST_TRACE([DOING_NATIVE_WINDOWS_TRUE]) +-m4trace:configure.ac:594: -1- m4_pattern_allow([^DOING_NATIVE_WINDOWS_TRUE$]) +-m4trace:configure.ac:594: -1- AC_SUBST([DOING_NATIVE_WINDOWS_FALSE]) +-m4trace:configure.ac:594: -1- AC_SUBST_TRACE([DOING_NATIVE_WINDOWS_FALSE]) +-m4trace:configure.ac:594: -1- m4_pattern_allow([^DOING_NATIVE_WINDOWS_FALSE$]) +-m4trace:configure.ac:594: -1- _AM_SUBST_NOTMAKE([DOING_NATIVE_WINDOWS_TRUE]) +-m4trace:configure.ac:594: -1- _AM_SUBST_NOTMAKE([DOING_NATIVE_WINDOWS_FALSE]) +-m4trace:configure.ac:597: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WINSOCK2_H]) +-m4trace:configure.ac:597: -1- m4_pattern_allow([^HAVE_WINSOCK2_H$]) +-m4trace:configure.ac:597: -1- AH_OUTPUT([HAVE_WINSOCK2_H], [/* Define to 1 if you have the winsock2.h header file. */ +-@%:@undef HAVE_WINSOCK2_H]) +-m4trace:configure.ac:598: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WS2TCPIP_H]) +-m4trace:configure.ac:598: -1- m4_pattern_allow([^HAVE_WS2TCPIP_H$]) +-m4trace:configure.ac:598: -1- AH_OUTPUT([HAVE_WS2TCPIP_H], [/* Define to 1 if you have the ws2tcpip.h header file. */ +-@%:@undef HAVE_WS2TCPIP_H]) +-m4trace:configure.ac:605: -1- AC_DEFINE_TRACE_LITERAL([USE_WIN32_LARGE_FILES]) +-m4trace:configure.ac:605: -1- m4_pattern_allow([^USE_WIN32_LARGE_FILES$]) +-m4trace:configure.ac:605: -1- AH_OUTPUT([USE_WIN32_LARGE_FILES], [/* Define to 1 if you are building a Windows target with large file support. ++m4trace:configure.ac:510: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:5778: CURL_RUN_IFELSE is expanded from... ++m4/curl-compilers.m4:429: CURL_COMPILER_WORKS_IFELSE is expanded from... ++m4/curl-compilers.m4:684: CURL_SET_COMPILER_OPTIMIZE_OPTS is expanded from... ++configure.ac:510: the top level]) ++m4trace:configure.ac:510: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:5778: CURL_RUN_IFELSE is expanded from... ++m4/curl-compilers.m4:429: CURL_COMPILER_WORKS_IFELSE is expanded from... ++m4/curl-compilers.m4:684: CURL_SET_COMPILER_OPTIMIZE_OPTS is expanded from... ++configure.ac:510: the top level]) ++m4trace:configure.ac:511: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:5778: CURL_RUN_IFELSE is expanded from... ++m4/curl-compilers.m4:429: CURL_COMPILER_WORKS_IFELSE is expanded from... ++m4/curl-compilers.m4:766: CURL_SET_COMPILER_WARNING_OPTS is expanded from... ++configure.ac:511: the top level]) ++m4trace:configure.ac:511: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:5778: CURL_RUN_IFELSE is expanded from... ++m4/curl-compilers.m4:429: CURL_COMPILER_WORKS_IFELSE is expanded from... ++m4/curl-compilers.m4:766: CURL_SET_COMPILER_WARNING_OPTS is expanded from... ++configure.ac:511: the top level]) ++m4trace:configure.ac:536: -1- AC_SUBST([CURL_CFLAG_EXTRAS]) ++m4trace:configure.ac:536: -1- AC_SUBST_TRACE([CURL_CFLAG_EXTRAS]) ++m4trace:configure.ac:536: -1- m4_pattern_allow([^CURL_CFLAG_EXTRAS$]) ++m4trace:configure.ac:544: -1- AM_CONDITIONAL([CURLDEBUG], [test x$want_curldebug = xyes]) ++m4trace:configure.ac:544: -1- AC_SUBST([CURLDEBUG_TRUE]) ++m4trace:configure.ac:544: -1- AC_SUBST_TRACE([CURLDEBUG_TRUE]) ++m4trace:configure.ac:544: -1- m4_pattern_allow([^CURLDEBUG_TRUE$]) ++m4trace:configure.ac:544: -1- AC_SUBST([CURLDEBUG_FALSE]) ++m4trace:configure.ac:544: -1- AC_SUBST_TRACE([CURLDEBUG_FALSE]) ++m4trace:configure.ac:544: -1- m4_pattern_allow([^CURLDEBUG_FALSE$]) ++m4trace:configure.ac:544: -1- _AM_SUBST_NOTMAKE([CURLDEBUG_TRUE]) ++m4trace:configure.ac:544: -1- _AM_SUBST_NOTMAKE([CURLDEBUG_FALSE]) ++m4trace:configure.ac:582: -1- AM_CONDITIONAL([BUILD_UNITTESTS], [test x$want_unittests = xyes]) ++m4trace:configure.ac:582: -1- AC_SUBST([BUILD_UNITTESTS_TRUE]) ++m4trace:configure.ac:582: -1- AC_SUBST_TRACE([BUILD_UNITTESTS_TRUE]) ++m4trace:configure.ac:582: -1- m4_pattern_allow([^BUILD_UNITTESTS_TRUE$]) ++m4trace:configure.ac:582: -1- AC_SUBST([BUILD_UNITTESTS_FALSE]) ++m4trace:configure.ac:582: -1- AC_SUBST_TRACE([BUILD_UNITTESTS_FALSE]) ++m4trace:configure.ac:582: -1- m4_pattern_allow([^BUILD_UNITTESTS_FALSE$]) ++m4trace:configure.ac:582: -1- _AM_SUBST_NOTMAKE([BUILD_UNITTESTS_TRUE]) ++m4trace:configure.ac:582: -1- _AM_SUBST_NOTMAKE([BUILD_UNITTESTS_FALSE]) ++m4trace:configure.ac:588: -1- AC_DEFINE_TRACE_LITERAL([USE_WIN32_LARGE_FILES]) ++m4trace:configure.ac:588: -1- m4_pattern_allow([^USE_WIN32_LARGE_FILES$]) ++m4trace:configure.ac:588: -1- AH_OUTPUT([USE_WIN32_LARGE_FILES], [/* Define to 1 if you are building a Windows target with large file support. + */ + @%:@undef USE_WIN32_LARGE_FILES]) +-m4trace:configure.ac:605: -1- AC_SUBST([USE_WIN32_LARGE_FILES], [1]) +-m4trace:configure.ac:605: -1- AC_SUBST_TRACE([USE_WIN32_LARGE_FILES]) +-m4trace:configure.ac:605: -1- m4_pattern_allow([^USE_WIN32_LARGE_FILES$]) +-m4trace:configure.ac:605: -1- AC_DEFINE_TRACE_LITERAL([USE_WIN32_SMALL_FILES]) +-m4trace:configure.ac:605: -1- m4_pattern_allow([^USE_WIN32_SMALL_FILES$]) +-m4trace:configure.ac:605: -1- AH_OUTPUT([USE_WIN32_SMALL_FILES], [/* Define to 1 if you are building a Windows target without large file ++m4trace:configure.ac:588: -1- AC_SUBST([USE_WIN32_LARGE_FILES], [1]) ++m4trace:configure.ac:588: -1- AC_SUBST_TRACE([USE_WIN32_LARGE_FILES]) ++m4trace:configure.ac:588: -1- m4_pattern_allow([^USE_WIN32_LARGE_FILES$]) ++m4trace:configure.ac:588: -1- AC_DEFINE_TRACE_LITERAL([USE_WIN32_SMALL_FILES]) ++m4trace:configure.ac:588: -1- m4_pattern_allow([^USE_WIN32_SMALL_FILES$]) ++m4trace:configure.ac:588: -1- AH_OUTPUT([USE_WIN32_SMALL_FILES], [/* Define to 1 if you are building a Windows target without large file + support. */ + @%:@undef USE_WIN32_SMALL_FILES]) +-m4trace:configure.ac:605: -1- AC_SUBST([USE_WIN32_SMALL_FILES], [1]) +-m4trace:configure.ac:605: -1- AC_SUBST_TRACE([USE_WIN32_SMALL_FILES]) +-m4trace:configure.ac:605: -1- m4_pattern_allow([^USE_WIN32_SMALL_FILES$]) +-m4trace:configure.ac:606: -1- AC_DEFINE_TRACE_LITERAL([USE_WIN32_CRYPTO]) +-m4trace:configure.ac:606: -1- m4_pattern_allow([^USE_WIN32_CRYPTO$]) +-m4trace:configure.ac:606: -1- AH_OUTPUT([USE_WIN32_CRYPTO], [/* Define to 1 if you are building a Windows target with crypto API support. ++m4trace:configure.ac:588: -1- AC_SUBST([USE_WIN32_SMALL_FILES], [1]) ++m4trace:configure.ac:588: -1- AC_SUBST_TRACE([USE_WIN32_SMALL_FILES]) ++m4trace:configure.ac:588: -1- m4_pattern_allow([^USE_WIN32_SMALL_FILES$]) ++m4trace:configure.ac:589: -1- AC_DEFINE_TRACE_LITERAL([USE_WIN32_CRYPTO]) ++m4trace:configure.ac:589: -1- m4_pattern_allow([^USE_WIN32_CRYPTO$]) ++m4trace:configure.ac:589: -1- AH_OUTPUT([USE_WIN32_CRYPTO], [/* Define to 1 if you are building a Windows target with crypto API support. + */ + @%:@undef USE_WIN32_CRYPTO]) +-m4trace:configure.ac:606: -1- AC_SUBST([USE_WIN32_CRYPTO], [1]) +-m4trace:configure.ac:606: -1- AC_SUBST_TRACE([USE_WIN32_CRYPTO]) +-m4trace:configure.ac:606: -1- m4_pattern_allow([^USE_WIN32_CRYPTO$]) +-m4trace:configure.ac:610: -1- AC_DEFINE_TRACE_LITERAL([HAVE_BUILTIN_AVAILABLE]) +-m4trace:configure.ac:610: -1- m4_pattern_allow([^HAVE_BUILTIN_AVAILABLE$]) +-m4trace:configure.ac:610: -1- AH_OUTPUT([HAVE_BUILTIN_AVAILABLE], [/* Define to 1 if you have the __builtin_available function. */ ++m4trace:configure.ac:589: -1- AC_SUBST([USE_WIN32_CRYPTO], [1]) ++m4trace:configure.ac:589: -1- AC_SUBST_TRACE([USE_WIN32_CRYPTO]) ++m4trace:configure.ac:589: -1- m4_pattern_allow([^USE_WIN32_CRYPTO$]) ++m4trace:configure.ac:593: -1- AC_DEFINE_TRACE_LITERAL([HAVE_BUILTIN_AVAILABLE]) ++m4trace:configure.ac:593: -1- m4_pattern_allow([^HAVE_BUILTIN_AVAILABLE$]) ++m4trace:configure.ac:593: -1- AH_OUTPUT([HAVE_BUILTIN_AVAILABLE], [/* Define to 1 if you have the __builtin_available function. */ + @%:@undef HAVE_BUILTIN_AVAILABLE]) +-m4trace:configure.ac:612: -1- AM_CONDITIONAL([HAVE_WINDRES], [test "$curl_cv_native_windows" = "yes" && test -n "${RC}"]) +-m4trace:configure.ac:612: -1- AC_SUBST([HAVE_WINDRES_TRUE]) +-m4trace:configure.ac:612: -1- AC_SUBST_TRACE([HAVE_WINDRES_TRUE]) +-m4trace:configure.ac:612: -1- m4_pattern_allow([^HAVE_WINDRES_TRUE$]) +-m4trace:configure.ac:612: -1- AC_SUBST([HAVE_WINDRES_FALSE]) +-m4trace:configure.ac:612: -1- AC_SUBST_TRACE([HAVE_WINDRES_FALSE]) +-m4trace:configure.ac:612: -1- m4_pattern_allow([^HAVE_WINDRES_FALSE$]) +-m4trace:configure.ac:612: -1- _AM_SUBST_NOTMAKE([HAVE_WINDRES_TRUE]) +-m4trace:configure.ac:612: -1- _AM_SUBST_NOTMAKE([HAVE_WINDRES_FALSE]) +-m4trace:configure.ac:616: -1- _AM_COND_IF([HAVE_WINDRES]) +-m4trace:configure.ac:616: -1- _AM_COND_ELSE([HAVE_WINDRES]) +-m4trace:configure.ac:616: -1- _AM_COND_ENDIF([HAVE_WINDRES]) +-m4trace:configure.ac:624: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_HTTP]) +-m4trace:configure.ac:624: -1- m4_pattern_allow([^CURL_DISABLE_HTTP$]) +-m4trace:configure.ac:624: -1- AH_OUTPUT([CURL_DISABLE_HTTP], [/* to disable HTTP */ ++m4trace:configure.ac:595: -1- AM_CONDITIONAL([HAVE_WINDRES], [test "$curl_cv_native_windows" = "yes" && test -n "${RC}"]) ++m4trace:configure.ac:595: -1- AC_SUBST([HAVE_WINDRES_TRUE]) ++m4trace:configure.ac:595: -1- AC_SUBST_TRACE([HAVE_WINDRES_TRUE]) ++m4trace:configure.ac:595: -1- m4_pattern_allow([^HAVE_WINDRES_TRUE$]) ++m4trace:configure.ac:595: -1- AC_SUBST([HAVE_WINDRES_FALSE]) ++m4trace:configure.ac:595: -1- AC_SUBST_TRACE([HAVE_WINDRES_FALSE]) ++m4trace:configure.ac:595: -1- m4_pattern_allow([^HAVE_WINDRES_FALSE$]) ++m4trace:configure.ac:595: -1- _AM_SUBST_NOTMAKE([HAVE_WINDRES_TRUE]) ++m4trace:configure.ac:595: -1- _AM_SUBST_NOTMAKE([HAVE_WINDRES_FALSE]) ++m4trace:configure.ac:599: -1- _AM_COND_IF([HAVE_WINDRES]) ++m4trace:configure.ac:599: -1- _AM_COND_ELSE([HAVE_WINDRES]) ++m4trace:configure.ac:599: -1- _AM_COND_ENDIF([HAVE_WINDRES]) ++m4trace:configure.ac:607: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_HTTP]) ++m4trace:configure.ac:607: -1- m4_pattern_allow([^CURL_DISABLE_HTTP$]) ++m4trace:configure.ac:607: -1- AH_OUTPUT([CURL_DISABLE_HTTP], [/* to disable HTTP */ + @%:@undef CURL_DISABLE_HTTP]) +-m4trace:configure.ac:624: -1- AC_SUBST([CURL_DISABLE_HTTP], [1]) +-m4trace:configure.ac:624: -1- AC_SUBST_TRACE([CURL_DISABLE_HTTP]) +-m4trace:configure.ac:624: -1- m4_pattern_allow([^CURL_DISABLE_HTTP$]) +-m4trace:configure.ac:624: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_RTSP]) +-m4trace:configure.ac:624: -1- m4_pattern_allow([^CURL_DISABLE_RTSP$]) +-m4trace:configure.ac:624: -1- AH_OUTPUT([CURL_DISABLE_RTSP], [/* to disable RTSP */ ++m4trace:configure.ac:607: -1- AC_SUBST([CURL_DISABLE_HTTP], [1]) ++m4trace:configure.ac:607: -1- AC_SUBST_TRACE([CURL_DISABLE_HTTP]) ++m4trace:configure.ac:607: -1- m4_pattern_allow([^CURL_DISABLE_HTTP$]) ++m4trace:configure.ac:607: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_RTSP]) ++m4trace:configure.ac:607: -1- m4_pattern_allow([^CURL_DISABLE_RTSP$]) ++m4trace:configure.ac:607: -1- AH_OUTPUT([CURL_DISABLE_RTSP], [/* to disable RTSP */ + @%:@undef CURL_DISABLE_RTSP]) +-m4trace:configure.ac:624: -1- AC_SUBST([CURL_DISABLE_RTSP], [1]) +-m4trace:configure.ac:624: -1- AC_SUBST_TRACE([CURL_DISABLE_RTSP]) +-m4trace:configure.ac:624: -1- m4_pattern_allow([^CURL_DISABLE_RTSP$]) +-m4trace:configure.ac:624: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_ALTSVC]) +-m4trace:configure.ac:624: -1- m4_pattern_allow([^CURL_DISABLE_ALTSVC$]) +-m4trace:configure.ac:624: -1- AH_OUTPUT([CURL_DISABLE_ALTSVC], [/* disable alt-svc */ ++m4trace:configure.ac:607: -1- AC_SUBST([CURL_DISABLE_RTSP], [1]) ++m4trace:configure.ac:607: -1- AC_SUBST_TRACE([CURL_DISABLE_RTSP]) ++m4trace:configure.ac:607: -1- m4_pattern_allow([^CURL_DISABLE_RTSP$]) ++m4trace:configure.ac:607: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_ALTSVC]) ++m4trace:configure.ac:607: -1- m4_pattern_allow([^CURL_DISABLE_ALTSVC$]) ++m4trace:configure.ac:607: -1- AH_OUTPUT([CURL_DISABLE_ALTSVC], [/* disable alt-svc */ + @%:@undef CURL_DISABLE_ALTSVC]) +-m4trace:configure.ac:624: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_HSTS]) +-m4trace:configure.ac:624: -1- m4_pattern_allow([^CURL_DISABLE_HSTS$]) +-m4trace:configure.ac:624: -1- AH_OUTPUT([CURL_DISABLE_HSTS], [/* disable HSTS */ ++m4trace:configure.ac:607: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_HSTS]) ++m4trace:configure.ac:607: -1- m4_pattern_allow([^CURL_DISABLE_HSTS$]) ++m4trace:configure.ac:607: -1- AH_OUTPUT([CURL_DISABLE_HSTS], [/* disable HSTS */ + @%:@undef CURL_DISABLE_HSTS]) +-m4trace:configure.ac:651: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_FTP]) +-m4trace:configure.ac:651: -1- m4_pattern_allow([^CURL_DISABLE_FTP$]) +-m4trace:configure.ac:651: -1- AH_OUTPUT([CURL_DISABLE_FTP], [/* to disable FTP */ ++m4trace:configure.ac:634: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_FTP]) ++m4trace:configure.ac:634: -1- m4_pattern_allow([^CURL_DISABLE_FTP$]) ++m4trace:configure.ac:634: -1- AH_OUTPUT([CURL_DISABLE_FTP], [/* to disable FTP */ + @%:@undef CURL_DISABLE_FTP]) +-m4trace:configure.ac:651: -1- AC_SUBST([CURL_DISABLE_FTP], [1]) +-m4trace:configure.ac:651: -1- AC_SUBST_TRACE([CURL_DISABLE_FTP]) +-m4trace:configure.ac:651: -1- m4_pattern_allow([^CURL_DISABLE_FTP$]) +-m4trace:configure.ac:666: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_FILE]) +-m4trace:configure.ac:666: -1- m4_pattern_allow([^CURL_DISABLE_FILE$]) +-m4trace:configure.ac:666: -1- AH_OUTPUT([CURL_DISABLE_FILE], [/* to disable FILE */ ++m4trace:configure.ac:634: -1- AC_SUBST([CURL_DISABLE_FTP], [1]) ++m4trace:configure.ac:634: -1- AC_SUBST_TRACE([CURL_DISABLE_FTP]) ++m4trace:configure.ac:634: -1- m4_pattern_allow([^CURL_DISABLE_FTP$]) ++m4trace:configure.ac:649: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_FILE]) ++m4trace:configure.ac:649: -1- m4_pattern_allow([^CURL_DISABLE_FILE$]) ++m4trace:configure.ac:649: -1- AH_OUTPUT([CURL_DISABLE_FILE], [/* to disable FILE */ + @%:@undef CURL_DISABLE_FILE]) +-m4trace:configure.ac:666: -1- AC_SUBST([CURL_DISABLE_FILE], [1]) +-m4trace:configure.ac:666: -1- AC_SUBST_TRACE([CURL_DISABLE_FILE]) +-m4trace:configure.ac:666: -1- m4_pattern_allow([^CURL_DISABLE_FILE$]) +-m4trace:configure.ac:681: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_LDAP]) +-m4trace:configure.ac:681: -1- m4_pattern_allow([^CURL_DISABLE_LDAP$]) +-m4trace:configure.ac:681: -1- AH_OUTPUT([CURL_DISABLE_LDAP], [/* to disable LDAP */ ++m4trace:configure.ac:649: -1- AC_SUBST([CURL_DISABLE_FILE], [1]) ++m4trace:configure.ac:649: -1- AC_SUBST_TRACE([CURL_DISABLE_FILE]) ++m4trace:configure.ac:649: -1- m4_pattern_allow([^CURL_DISABLE_FILE$]) ++m4trace:configure.ac:664: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_LDAP]) ++m4trace:configure.ac:664: -1- m4_pattern_allow([^CURL_DISABLE_LDAP$]) ++m4trace:configure.ac:664: -1- AH_OUTPUT([CURL_DISABLE_LDAP], [/* to disable LDAP */ + @%:@undef CURL_DISABLE_LDAP]) +-m4trace:configure.ac:681: -1- AC_SUBST([CURL_DISABLE_LDAP], [1]) +-m4trace:configure.ac:681: -1- AC_SUBST_TRACE([CURL_DISABLE_LDAP]) +-m4trace:configure.ac:681: -1- m4_pattern_allow([^CURL_DISABLE_LDAP$]) +-m4trace:configure.ac:701: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_LDAPS]) +-m4trace:configure.ac:701: -1- m4_pattern_allow([^CURL_DISABLE_LDAPS$]) +-m4trace:configure.ac:701: -1- AH_OUTPUT([CURL_DISABLE_LDAPS], [/* to disable LDAPS */ ++m4trace:configure.ac:664: -1- AC_SUBST([CURL_DISABLE_LDAP], [1]) ++m4trace:configure.ac:664: -1- AC_SUBST_TRACE([CURL_DISABLE_LDAP]) ++m4trace:configure.ac:664: -1- m4_pattern_allow([^CURL_DISABLE_LDAP$]) ++m4trace:configure.ac:684: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_LDAPS]) ++m4trace:configure.ac:684: -1- m4_pattern_allow([^CURL_DISABLE_LDAPS$]) ++m4trace:configure.ac:684: -1- AH_OUTPUT([CURL_DISABLE_LDAPS], [/* to disable LDAPS */ + @%:@undef CURL_DISABLE_LDAPS]) +-m4trace:configure.ac:701: -1- AC_SUBST([CURL_DISABLE_LDAPS], [1]) +-m4trace:configure.ac:701: -1- AC_SUBST_TRACE([CURL_DISABLE_LDAPS]) +-m4trace:configure.ac:701: -1- m4_pattern_allow([^CURL_DISABLE_LDAPS$]) +-m4trace:configure.ac:701: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_LDAPS]) +-m4trace:configure.ac:701: -1- m4_pattern_allow([^CURL_DISABLE_LDAPS$]) +-m4trace:configure.ac:701: -1- AH_OUTPUT([CURL_DISABLE_LDAPS], [/* to disable LDAPS */ ++m4trace:configure.ac:684: -1- AC_SUBST([CURL_DISABLE_LDAPS], [1]) ++m4trace:configure.ac:684: -1- AC_SUBST_TRACE([CURL_DISABLE_LDAPS]) ++m4trace:configure.ac:684: -1- m4_pattern_allow([^CURL_DISABLE_LDAPS$]) ++m4trace:configure.ac:684: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_LDAPS]) ++m4trace:configure.ac:684: -1- m4_pattern_allow([^CURL_DISABLE_LDAPS$]) ++m4trace:configure.ac:684: -1- AH_OUTPUT([CURL_DISABLE_LDAPS], [/* to disable LDAPS */ + @%:@undef CURL_DISABLE_LDAPS]) +-m4trace:configure.ac:701: -1- AC_SUBST([CURL_DISABLE_LDAPS], [1]) +-m4trace:configure.ac:701: -1- AC_SUBST_TRACE([CURL_DISABLE_LDAPS]) +-m4trace:configure.ac:701: -1- m4_pattern_allow([^CURL_DISABLE_LDAPS$]) +-m4trace:configure.ac:701: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LDAP_SSL]) +-m4trace:configure.ac:701: -1- m4_pattern_allow([^HAVE_LDAP_SSL$]) +-m4trace:configure.ac:701: -1- AH_OUTPUT([HAVE_LDAP_SSL], [/* Use LDAPS implementation */ ++m4trace:configure.ac:684: -1- AC_SUBST([CURL_DISABLE_LDAPS], [1]) ++m4trace:configure.ac:684: -1- AC_SUBST_TRACE([CURL_DISABLE_LDAPS]) ++m4trace:configure.ac:684: -1- m4_pattern_allow([^CURL_DISABLE_LDAPS$]) ++m4trace:configure.ac:684: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LDAP_SSL]) ++m4trace:configure.ac:684: -1- m4_pattern_allow([^HAVE_LDAP_SSL$]) ++m4trace:configure.ac:684: -1- AH_OUTPUT([HAVE_LDAP_SSL], [/* Use LDAPS implementation */ + @%:@undef HAVE_LDAP_SSL]) +-m4trace:configure.ac:701: -1- AC_SUBST([HAVE_LDAP_SSL], [1]) +-m4trace:configure.ac:701: -1- AC_SUBST_TRACE([HAVE_LDAP_SSL]) +-m4trace:configure.ac:701: -1- m4_pattern_allow([^HAVE_LDAP_SSL$]) +-m4trace:configure.ac:701: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_LDAPS]) +-m4trace:configure.ac:701: -1- m4_pattern_allow([^CURL_DISABLE_LDAPS$]) +-m4trace:configure.ac:701: -1- AH_OUTPUT([CURL_DISABLE_LDAPS], [/* to disable LDAPS */ ++m4trace:configure.ac:684: -1- AC_SUBST([HAVE_LDAP_SSL], [1]) ++m4trace:configure.ac:684: -1- AC_SUBST_TRACE([HAVE_LDAP_SSL]) ++m4trace:configure.ac:684: -1- m4_pattern_allow([^HAVE_LDAP_SSL$]) ++m4trace:configure.ac:684: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_LDAPS]) ++m4trace:configure.ac:684: -1- m4_pattern_allow([^CURL_DISABLE_LDAPS$]) ++m4trace:configure.ac:684: -1- AH_OUTPUT([CURL_DISABLE_LDAPS], [/* to disable LDAPS */ + @%:@undef CURL_DISABLE_LDAPS]) +-m4trace:configure.ac:701: -1- AC_SUBST([CURL_DISABLE_LDAPS], [1]) +-m4trace:configure.ac:701: -1- AC_SUBST_TRACE([CURL_DISABLE_LDAPS]) +-m4trace:configure.ac:701: -1- m4_pattern_allow([^CURL_DISABLE_LDAPS$]) +-m4trace:configure.ac:701: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LDAP_SSL]) +-m4trace:configure.ac:701: -1- m4_pattern_allow([^HAVE_LDAP_SSL$]) +-m4trace:configure.ac:701: -1- AH_OUTPUT([HAVE_LDAP_SSL], [/* Use LDAPS implementation */ ++m4trace:configure.ac:684: -1- AC_SUBST([CURL_DISABLE_LDAPS], [1]) ++m4trace:configure.ac:684: -1- AC_SUBST_TRACE([CURL_DISABLE_LDAPS]) ++m4trace:configure.ac:684: -1- m4_pattern_allow([^CURL_DISABLE_LDAPS$]) ++m4trace:configure.ac:684: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LDAP_SSL]) ++m4trace:configure.ac:684: -1- m4_pattern_allow([^HAVE_LDAP_SSL$]) ++m4trace:configure.ac:684: -1- AH_OUTPUT([HAVE_LDAP_SSL], [/* Use LDAPS implementation */ + @%:@undef HAVE_LDAP_SSL]) +-m4trace:configure.ac:701: -1- AC_SUBST([HAVE_LDAP_SSL], [1]) +-m4trace:configure.ac:701: -1- AC_SUBST_TRACE([HAVE_LDAP_SSL]) +-m4trace:configure.ac:701: -1- m4_pattern_allow([^HAVE_LDAP_SSL$]) +-m4trace:configure.ac:769: -1- AC_SUBST([PKGCONFIG]) +-m4trace:configure.ac:769: -1- AC_SUBST_TRACE([PKGCONFIG]) +-m4trace:configure.ac:769: -1- m4_pattern_allow([^PKGCONFIG$]) +-m4trace:configure.ac:800: -2- AC_DEFINE_TRACE_LITERAL([USE_HYPER]) +-m4trace:configure.ac:800: -2- m4_pattern_allow([^USE_HYPER$]) +-m4trace:configure.ac:800: -2- AH_OUTPUT([USE_HYPER], [/* if hyper is in use */ ++m4trace:configure.ac:684: -1- AC_SUBST([HAVE_LDAP_SSL], [1]) ++m4trace:configure.ac:684: -1- AC_SUBST_TRACE([HAVE_LDAP_SSL]) ++m4trace:configure.ac:684: -1- m4_pattern_allow([^HAVE_LDAP_SSL$]) ++m4trace:configure.ac:752: -1- AC_SUBST([PKGCONFIG]) ++m4trace:configure.ac:752: -1- AC_SUBST_TRACE([PKGCONFIG]) ++m4trace:configure.ac:752: -1- m4_pattern_allow([^PKGCONFIG$]) ++m4trace:configure.ac:783: -2- AC_DEFINE_TRACE_LITERAL([USE_HYPER]) ++m4trace:configure.ac:783: -2- m4_pattern_allow([^USE_HYPER$]) ++m4trace:configure.ac:783: -2- AH_OUTPUT([USE_HYPER], [/* if hyper is in use */ + @%:@undef USE_HYPER]) +-m4trace:configure.ac:800: -2- AC_SUBST([USE_HYPER], [1]) +-m4trace:configure.ac:800: -2- AC_SUBST_TRACE([USE_HYPER]) +-m4trace:configure.ac:800: -2- m4_pattern_allow([^USE_HYPER$]) +-m4trace:configure.ac:800: -1- AH_OUTPUT([HAVE_HYPER_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:783: -2- AC_SUBST([USE_HYPER], [1]) ++m4trace:configure.ac:783: -2- AC_SUBST_TRACE([USE_HYPER]) ++m4trace:configure.ac:783: -2- m4_pattern_allow([^USE_HYPER$]) ++m4trace:configure.ac:783: -1- AH_OUTPUT([HAVE_HYPER_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_HYPER_H]) +-m4trace:configure.ac:800: -1- AC_DEFINE_TRACE_LITERAL([HAVE_HYPER_H]) +-m4trace:configure.ac:800: -1- m4_pattern_allow([^HAVE_HYPER_H$]) +-m4trace:configure.ac:827: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_RTSP]) +-m4trace:configure.ac:827: -1- m4_pattern_allow([^CURL_DISABLE_RTSP$]) +-m4trace:configure.ac:827: -1- AH_OUTPUT([CURL_DISABLE_RTSP], [/* to disable RTSP */ ++m4trace:configure.ac:783: -1- AC_DEFINE_TRACE_LITERAL([HAVE_HYPER_H]) ++m4trace:configure.ac:783: -1- m4_pattern_allow([^HAVE_HYPER_H$]) ++m4trace:configure.ac:809: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_RTSP]) ++m4trace:configure.ac:809: -1- m4_pattern_allow([^CURL_DISABLE_RTSP$]) ++m4trace:configure.ac:809: -1- AH_OUTPUT([CURL_DISABLE_RTSP], [/* to disable RTSP */ + @%:@undef CURL_DISABLE_RTSP]) +-m4trace:configure.ac:828: -1- AC_SUBST([CURL_DISABLE_RTSP], [1]) +-m4trace:configure.ac:828: -1- AC_SUBST_TRACE([CURL_DISABLE_RTSP]) +-m4trace:configure.ac:828: -1- m4_pattern_allow([^CURL_DISABLE_RTSP$]) +-m4trace:configure.ac:831: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_RTSP]) +-m4trace:configure.ac:831: -1- m4_pattern_allow([^CURL_DISABLE_RTSP$]) +-m4trace:configure.ac:831: -1- AH_OUTPUT([CURL_DISABLE_RTSP], [/* to disable RTSP */ ++m4trace:configure.ac:810: -1- AC_SUBST([CURL_DISABLE_RTSP], [1]) ++m4trace:configure.ac:810: -1- AC_SUBST_TRACE([CURL_DISABLE_RTSP]) ++m4trace:configure.ac:810: -1- m4_pattern_allow([^CURL_DISABLE_RTSP$]) ++m4trace:configure.ac:813: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_RTSP]) ++m4trace:configure.ac:813: -1- m4_pattern_allow([^CURL_DISABLE_RTSP$]) ++m4trace:configure.ac:813: -1- AH_OUTPUT([CURL_DISABLE_RTSP], [/* to disable RTSP */ + @%:@undef CURL_DISABLE_RTSP]) +-m4trace:configure.ac:831: -1- AC_SUBST([CURL_DISABLE_RTSP], [1]) +-m4trace:configure.ac:831: -1- AC_SUBST_TRACE([CURL_DISABLE_RTSP]) +-m4trace:configure.ac:831: -1- m4_pattern_allow([^CURL_DISABLE_RTSP$]) +-m4trace:configure.ac:859: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_PROXY]) +-m4trace:configure.ac:859: -1- m4_pattern_allow([^CURL_DISABLE_PROXY$]) +-m4trace:configure.ac:859: -1- AH_OUTPUT([CURL_DISABLE_PROXY], [/* to disable proxies */ ++m4trace:configure.ac:813: -1- AC_SUBST([CURL_DISABLE_RTSP], [1]) ++m4trace:configure.ac:813: -1- AC_SUBST_TRACE([CURL_DISABLE_RTSP]) ++m4trace:configure.ac:813: -1- m4_pattern_allow([^CURL_DISABLE_RTSP$]) ++m4trace:configure.ac:841: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_PROXY]) ++m4trace:configure.ac:841: -1- m4_pattern_allow([^CURL_DISABLE_PROXY$]) ++m4trace:configure.ac:841: -1- AH_OUTPUT([CURL_DISABLE_PROXY], [/* to disable proxies */ + @%:@undef CURL_DISABLE_PROXY]) +-m4trace:configure.ac:859: -1- AC_SUBST([CURL_DISABLE_PROXY], [1]) +-m4trace:configure.ac:859: -1- AC_SUBST_TRACE([CURL_DISABLE_PROXY]) +-m4trace:configure.ac:859: -1- m4_pattern_allow([^CURL_DISABLE_PROXY$]) +-m4trace:configure.ac:876: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_DICT]) +-m4trace:configure.ac:876: -1- m4_pattern_allow([^CURL_DISABLE_DICT$]) +-m4trace:configure.ac:876: -1- AH_OUTPUT([CURL_DISABLE_DICT], [/* to disable DICT */ ++m4trace:configure.ac:841: -1- AC_SUBST([CURL_DISABLE_PROXY], [1]) ++m4trace:configure.ac:841: -1- AC_SUBST_TRACE([CURL_DISABLE_PROXY]) ++m4trace:configure.ac:841: -1- m4_pattern_allow([^CURL_DISABLE_PROXY$]) ++m4trace:configure.ac:858: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_DICT]) ++m4trace:configure.ac:858: -1- m4_pattern_allow([^CURL_DISABLE_DICT$]) ++m4trace:configure.ac:858: -1- AH_OUTPUT([CURL_DISABLE_DICT], [/* to disable DICT */ + @%:@undef CURL_DISABLE_DICT]) +-m4trace:configure.ac:876: -1- AC_SUBST([CURL_DISABLE_DICT], [1]) +-m4trace:configure.ac:876: -1- AC_SUBST_TRACE([CURL_DISABLE_DICT]) +-m4trace:configure.ac:876: -1- m4_pattern_allow([^CURL_DISABLE_DICT$]) +-m4trace:configure.ac:891: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_TELNET]) +-m4trace:configure.ac:891: -1- m4_pattern_allow([^CURL_DISABLE_TELNET$]) +-m4trace:configure.ac:891: -1- AH_OUTPUT([CURL_DISABLE_TELNET], [/* to disable TELNET */ ++m4trace:configure.ac:858: -1- AC_SUBST([CURL_DISABLE_DICT], [1]) ++m4trace:configure.ac:858: -1- AC_SUBST_TRACE([CURL_DISABLE_DICT]) ++m4trace:configure.ac:858: -1- m4_pattern_allow([^CURL_DISABLE_DICT$]) ++m4trace:configure.ac:873: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_TELNET]) ++m4trace:configure.ac:873: -1- m4_pattern_allow([^CURL_DISABLE_TELNET$]) ++m4trace:configure.ac:873: -1- AH_OUTPUT([CURL_DISABLE_TELNET], [/* to disable TELNET */ + @%:@undef CURL_DISABLE_TELNET]) +-m4trace:configure.ac:891: -1- AC_SUBST([CURL_DISABLE_TELNET], [1]) +-m4trace:configure.ac:891: -1- AC_SUBST_TRACE([CURL_DISABLE_TELNET]) +-m4trace:configure.ac:891: -1- m4_pattern_allow([^CURL_DISABLE_TELNET$]) +-m4trace:configure.ac:906: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_TFTP]) +-m4trace:configure.ac:906: -1- m4_pattern_allow([^CURL_DISABLE_TFTP$]) +-m4trace:configure.ac:906: -1- AH_OUTPUT([CURL_DISABLE_TFTP], [/* to disable TFTP */ ++m4trace:configure.ac:873: -1- AC_SUBST([CURL_DISABLE_TELNET], [1]) ++m4trace:configure.ac:873: -1- AC_SUBST_TRACE([CURL_DISABLE_TELNET]) ++m4trace:configure.ac:873: -1- m4_pattern_allow([^CURL_DISABLE_TELNET$]) ++m4trace:configure.ac:888: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_TFTP]) ++m4trace:configure.ac:888: -1- m4_pattern_allow([^CURL_DISABLE_TFTP$]) ++m4trace:configure.ac:888: -1- AH_OUTPUT([CURL_DISABLE_TFTP], [/* to disable TFTP */ + @%:@undef CURL_DISABLE_TFTP]) +-m4trace:configure.ac:906: -1- AC_SUBST([CURL_DISABLE_TFTP], [1]) +-m4trace:configure.ac:906: -1- AC_SUBST_TRACE([CURL_DISABLE_TFTP]) +-m4trace:configure.ac:906: -1- m4_pattern_allow([^CURL_DISABLE_TFTP$]) +-m4trace:configure.ac:922: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_POP3]) +-m4trace:configure.ac:922: -1- m4_pattern_allow([^CURL_DISABLE_POP3$]) +-m4trace:configure.ac:922: -1- AH_OUTPUT([CURL_DISABLE_POP3], [/* to disable POP3 */ ++m4trace:configure.ac:888: -1- AC_SUBST([CURL_DISABLE_TFTP], [1]) ++m4trace:configure.ac:888: -1- AC_SUBST_TRACE([CURL_DISABLE_TFTP]) ++m4trace:configure.ac:888: -1- m4_pattern_allow([^CURL_DISABLE_TFTP$]) ++m4trace:configure.ac:904: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_POP3]) ++m4trace:configure.ac:904: -1- m4_pattern_allow([^CURL_DISABLE_POP3$]) ++m4trace:configure.ac:904: -1- AH_OUTPUT([CURL_DISABLE_POP3], [/* to disable POP3 */ + @%:@undef CURL_DISABLE_POP3]) +-m4trace:configure.ac:922: -1- AC_SUBST([CURL_DISABLE_POP3], [1]) +-m4trace:configure.ac:922: -1- AC_SUBST_TRACE([CURL_DISABLE_POP3]) +-m4trace:configure.ac:922: -1- m4_pattern_allow([^CURL_DISABLE_POP3$]) +-m4trace:configure.ac:939: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_IMAP]) +-m4trace:configure.ac:939: -1- m4_pattern_allow([^CURL_DISABLE_IMAP$]) +-m4trace:configure.ac:939: -1- AH_OUTPUT([CURL_DISABLE_IMAP], [/* to disable IMAP */ ++m4trace:configure.ac:904: -1- AC_SUBST([CURL_DISABLE_POP3], [1]) ++m4trace:configure.ac:904: -1- AC_SUBST_TRACE([CURL_DISABLE_POP3]) ++m4trace:configure.ac:904: -1- m4_pattern_allow([^CURL_DISABLE_POP3$]) ++m4trace:configure.ac:921: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_IMAP]) ++m4trace:configure.ac:921: -1- m4_pattern_allow([^CURL_DISABLE_IMAP$]) ++m4trace:configure.ac:921: -1- AH_OUTPUT([CURL_DISABLE_IMAP], [/* to disable IMAP */ + @%:@undef CURL_DISABLE_IMAP]) +-m4trace:configure.ac:939: -1- AC_SUBST([CURL_DISABLE_IMAP], [1]) +-m4trace:configure.ac:939: -1- AC_SUBST_TRACE([CURL_DISABLE_IMAP]) +-m4trace:configure.ac:939: -1- m4_pattern_allow([^CURL_DISABLE_IMAP$]) +-m4trace:configure.ac:956: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_SMB]) +-m4trace:configure.ac:956: -1- m4_pattern_allow([^CURL_DISABLE_SMB$]) +-m4trace:configure.ac:956: -1- AH_OUTPUT([CURL_DISABLE_SMB], [/* to disable SMB/CIFS */ ++m4trace:configure.ac:921: -1- AC_SUBST([CURL_DISABLE_IMAP], [1]) ++m4trace:configure.ac:921: -1- AC_SUBST_TRACE([CURL_DISABLE_IMAP]) ++m4trace:configure.ac:921: -1- m4_pattern_allow([^CURL_DISABLE_IMAP$]) ++m4trace:configure.ac:938: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_SMB]) ++m4trace:configure.ac:938: -1- m4_pattern_allow([^CURL_DISABLE_SMB$]) ++m4trace:configure.ac:938: -1- AH_OUTPUT([CURL_DISABLE_SMB], [/* to disable SMB/CIFS */ + @%:@undef CURL_DISABLE_SMB]) +-m4trace:configure.ac:956: -1- AC_SUBST([CURL_DISABLE_SMB], [1]) +-m4trace:configure.ac:956: -1- AC_SUBST_TRACE([CURL_DISABLE_SMB]) +-m4trace:configure.ac:956: -1- m4_pattern_allow([^CURL_DISABLE_SMB$]) +-m4trace:configure.ac:972: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_SMTP]) +-m4trace:configure.ac:972: -1- m4_pattern_allow([^CURL_DISABLE_SMTP$]) +-m4trace:configure.ac:972: -1- AH_OUTPUT([CURL_DISABLE_SMTP], [/* to disable SMTP */ ++m4trace:configure.ac:938: -1- AC_SUBST([CURL_DISABLE_SMB], [1]) ++m4trace:configure.ac:938: -1- AC_SUBST_TRACE([CURL_DISABLE_SMB]) ++m4trace:configure.ac:938: -1- m4_pattern_allow([^CURL_DISABLE_SMB$]) ++m4trace:configure.ac:954: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_SMTP]) ++m4trace:configure.ac:954: -1- m4_pattern_allow([^CURL_DISABLE_SMTP$]) ++m4trace:configure.ac:954: -1- AH_OUTPUT([CURL_DISABLE_SMTP], [/* to disable SMTP */ + @%:@undef CURL_DISABLE_SMTP]) +-m4trace:configure.ac:972: -1- AC_SUBST([CURL_DISABLE_SMTP], [1]) +-m4trace:configure.ac:972: -1- AC_SUBST_TRACE([CURL_DISABLE_SMTP]) +-m4trace:configure.ac:972: -1- m4_pattern_allow([^CURL_DISABLE_SMTP$]) +-m4trace:configure.ac:988: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_GOPHER]) +-m4trace:configure.ac:988: -1- m4_pattern_allow([^CURL_DISABLE_GOPHER$]) +-m4trace:configure.ac:988: -1- AH_OUTPUT([CURL_DISABLE_GOPHER], [/* to disable Gopher */ ++m4trace:configure.ac:954: -1- AC_SUBST([CURL_DISABLE_SMTP], [1]) ++m4trace:configure.ac:954: -1- AC_SUBST_TRACE([CURL_DISABLE_SMTP]) ++m4trace:configure.ac:954: -1- m4_pattern_allow([^CURL_DISABLE_SMTP$]) ++m4trace:configure.ac:970: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_GOPHER]) ++m4trace:configure.ac:970: -1- m4_pattern_allow([^CURL_DISABLE_GOPHER$]) ++m4trace:configure.ac:970: -1- AH_OUTPUT([CURL_DISABLE_GOPHER], [/* to disable Gopher */ + @%:@undef CURL_DISABLE_GOPHER]) +-m4trace:configure.ac:988: -1- AC_SUBST([CURL_DISABLE_GOPHER], [1]) +-m4trace:configure.ac:988: -1- AC_SUBST_TRACE([CURL_DISABLE_GOPHER]) +-m4trace:configure.ac:988: -1- m4_pattern_allow([^CURL_DISABLE_GOPHER$]) +-m4trace:configure.ac:1004: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_MQTT]) +-m4trace:configure.ac:1004: -1- m4_pattern_allow([^CURL_DISABLE_MQTT$]) +-m4trace:configure.ac:1004: -1- AH_OUTPUT([CURL_DISABLE_MQTT], [/* to disable MQTT */ ++m4trace:configure.ac:970: -1- AC_SUBST([CURL_DISABLE_GOPHER], [1]) ++m4trace:configure.ac:970: -1- AC_SUBST_TRACE([CURL_DISABLE_GOPHER]) ++m4trace:configure.ac:970: -1- m4_pattern_allow([^CURL_DISABLE_GOPHER$]) ++m4trace:configure.ac:986: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_MQTT]) ++m4trace:configure.ac:986: -1- m4_pattern_allow([^CURL_DISABLE_MQTT$]) ++m4trace:configure.ac:986: -1- AH_OUTPUT([CURL_DISABLE_MQTT], [/* to disable MQTT */ + @%:@undef CURL_DISABLE_MQTT]) +-m4trace:configure.ac:1004: -1- AC_SUBST([CURL_DISABLE_MQTT], [1]) +-m4trace:configure.ac:1004: -1- AC_SUBST_TRACE([CURL_DISABLE_MQTT]) +-m4trace:configure.ac:1004: -1- m4_pattern_allow([^CURL_DISABLE_MQTT$]) +-m4trace:configure.ac:1045: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_LIBCURL_OPTION]) +-m4trace:configure.ac:1045: -1- m4_pattern_allow([^CURL_DISABLE_LIBCURL_OPTION$]) +-m4trace:configure.ac:1045: -1- AH_OUTPUT([CURL_DISABLE_LIBCURL_OPTION], [/* to disable --libcurl C code generation option */ ++m4trace:configure.ac:986: -1- AC_SUBST([CURL_DISABLE_MQTT], [1]) ++m4trace:configure.ac:986: -1- AC_SUBST_TRACE([CURL_DISABLE_MQTT]) ++m4trace:configure.ac:986: -1- m4_pattern_allow([^CURL_DISABLE_MQTT$]) ++m4trace:configure.ac:1049: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_LIBCURL_OPTION]) ++m4trace:configure.ac:1049: -1- m4_pattern_allow([^CURL_DISABLE_LIBCURL_OPTION$]) ++m4trace:configure.ac:1049: -1- AH_OUTPUT([CURL_DISABLE_LIBCURL_OPTION], [/* to disable --libcurl C code generation option */ + @%:@undef CURL_DISABLE_LIBCURL_OPTION]) +-m4trace:configure.ac:1210: -1- AC_DEFINE_TRACE_LITERAL([HAVE_PROTO_BSDSOCKET_H]) +-m4trace:configure.ac:1210: -1- m4_pattern_allow([^HAVE_PROTO_BSDSOCKET_H$]) +-m4trace:configure.ac:1210: -1- AH_OUTPUT([HAVE_PROTO_BSDSOCKET_H], [/* if Amiga bsdsocket.library is in use */ ++m4trace:configure.ac:1209: -1- AC_DEFINE_TRACE_LITERAL([HAVE_PROTO_BSDSOCKET_H]) ++m4trace:configure.ac:1209: -1- m4_pattern_allow([^HAVE_PROTO_BSDSOCKET_H$]) ++m4trace:configure.ac:1209: -1- AH_OUTPUT([HAVE_PROTO_BSDSOCKET_H], [/* if Amiga bsdsocket.library is in use */ + @%:@undef HAVE_PROTO_BSDSOCKET_H]) +-m4trace:configure.ac:1210: -1- AC_SUBST([HAVE_PROTO_BSDSOCKET_H], [1]) +-m4trace:configure.ac:1210: -1- AC_SUBST_TRACE([HAVE_PROTO_BSDSOCKET_H]) +-m4trace:configure.ac:1210: -1- m4_pattern_allow([^HAVE_PROTO_BSDSOCKET_H$]) +-m4trace:configure.ac:1246: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WINDOWS_H]) +-m4trace:configure.ac:1246: -1- m4_pattern_allow([^HAVE_WINDOWS_H$]) +-m4trace:configure.ac:1246: -1- AH_OUTPUT([HAVE_WINDOWS_H], [/* Define to 1 if you have the windows.h header file. */ +-@%:@undef HAVE_WINDOWS_H]) +-m4trace:configure.ac:1246: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WINSOCK2_H]) +-m4trace:configure.ac:1246: -1- m4_pattern_allow([^HAVE_WINSOCK2_H$]) +-m4trace:configure.ac:1246: -1- AH_OUTPUT([HAVE_WINSOCK2_H], [/* Define to 1 if you have the winsock2.h header file. */ +-@%:@undef HAVE_WINSOCK2_H]) +-m4trace:configure.ac:1246: -1- AH_OUTPUT([HAVE_PROTO_BSDSOCKET_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:1209: -1- AC_SUBST([HAVE_PROTO_BSDSOCKET_H], [1]) ++m4trace:configure.ac:1209: -1- AC_SUBST_TRACE([HAVE_PROTO_BSDSOCKET_H]) ++m4trace:configure.ac:1209: -1- m4_pattern_allow([^HAVE_PROTO_BSDSOCKET_H$]) ++m4trace:configure.ac:1245: -1- AM_CONDITIONAL([DOING_NATIVE_WINDOWS], [test "x$curl_cv_native_windows" = xyes]) ++m4trace:configure.ac:1245: -1- AC_SUBST([DOING_NATIVE_WINDOWS_TRUE]) ++m4trace:configure.ac:1245: -1- AC_SUBST_TRACE([DOING_NATIVE_WINDOWS_TRUE]) ++m4trace:configure.ac:1245: -1- m4_pattern_allow([^DOING_NATIVE_WINDOWS_TRUE$]) ++m4trace:configure.ac:1245: -1- AC_SUBST([DOING_NATIVE_WINDOWS_FALSE]) ++m4trace:configure.ac:1245: -1- AC_SUBST_TRACE([DOING_NATIVE_WINDOWS_FALSE]) ++m4trace:configure.ac:1245: -1- m4_pattern_allow([^DOING_NATIVE_WINDOWS_FALSE$]) ++m4trace:configure.ac:1245: -1- _AM_SUBST_NOTMAKE([DOING_NATIVE_WINDOWS_TRUE]) ++m4trace:configure.ac:1245: -1- _AM_SUBST_NOTMAKE([DOING_NATIVE_WINDOWS_FALSE]) ++m4trace:configure.ac:1245: -1- AH_OUTPUT([HAVE_PROTO_BSDSOCKET_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_PROTO_BSDSOCKET_H]) +-m4trace:configure.ac:1246: -1- AC_DEFINE_TRACE_LITERAL([HAVE_PROTO_BSDSOCKET_H]) +-m4trace:configure.ac:1246: -1- m4_pattern_allow([^HAVE_PROTO_BSDSOCKET_H$]) +-m4trace:configure.ac:1254: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:1245: -1- AC_DEFINE_TRACE_LITERAL([HAVE_PROTO_BSDSOCKET_H]) ++m4trace:configure.ac:1245: -1- m4_pattern_allow([^HAVE_PROTO_BSDSOCKET_H$]) ++m4trace:configure.ac:1253: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_SYS_TYPES_H]) +-m4trace:configure.ac:1254: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TYPES_H]) +-m4trace:configure.ac:1254: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) +-m4trace:configure.ac:1254: -1- AH_OUTPUT([HAVE_SYS_TIME_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:1253: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TYPES_H]) ++m4trace:configure.ac:1253: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) ++m4trace:configure.ac:1253: -1- AH_OUTPUT([HAVE_SYS_TIME_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_SYS_TIME_H]) +-m4trace:configure.ac:1254: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TIME_H]) +-m4trace:configure.ac:1254: -1- m4_pattern_allow([^HAVE_SYS_TIME_H$]) +-m4trace:configure.ac:1254: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:5818: CURL_RUN_IFELSE is expanded from... +-acinclude.m4:1080: CURL_CHECK_LIBS_CLOCK_GETTIME_MONOTONIC is expanded from... +-configure.ac:1254: the top level]) +-m4trace:configure.ac:1254: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:5818: CURL_RUN_IFELSE is expanded from... +-acinclude.m4:1080: CURL_CHECK_LIBS_CLOCK_GETTIME_MONOTONIC is expanded from... +-configure.ac:1254: the top level]) +-m4trace:configure.ac:1254: -1- AC_DEFINE_TRACE_LITERAL([HAVE_CLOCK_GETTIME_MONOTONIC]) +-m4trace:configure.ac:1254: -1- m4_pattern_allow([^HAVE_CLOCK_GETTIME_MONOTONIC$]) +-m4trace:configure.ac:1254: -1- AH_OUTPUT([HAVE_CLOCK_GETTIME_MONOTONIC], [/* Define to 1 if you have the clock_gettime function and monotonic timer. */ ++m4trace:configure.ac:1253: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TIME_H]) ++m4trace:configure.ac:1253: -1- m4_pattern_allow([^HAVE_SYS_TIME_H$]) ++m4trace:configure.ac:1253: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:5778: CURL_RUN_IFELSE is expanded from... ++acinclude.m4:942: CURL_CHECK_LIBS_CLOCK_GETTIME_MONOTONIC is expanded from... ++configure.ac:1253: the top level]) ++m4trace:configure.ac:1253: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:5778: CURL_RUN_IFELSE is expanded from... ++acinclude.m4:942: CURL_CHECK_LIBS_CLOCK_GETTIME_MONOTONIC is expanded from... ++configure.ac:1253: the top level]) ++m4trace:configure.ac:1253: -1- AC_DEFINE_TRACE_LITERAL([HAVE_CLOCK_GETTIME_MONOTONIC]) ++m4trace:configure.ac:1253: -1- m4_pattern_allow([^HAVE_CLOCK_GETTIME_MONOTONIC$]) ++m4trace:configure.ac:1253: -1- AH_OUTPUT([HAVE_CLOCK_GETTIME_MONOTONIC], [/* Define to 1 if you have the clock_gettime function and monotonic timer. */ + @%:@undef HAVE_CLOCK_GETTIME_MONOTONIC]) +-m4trace:configure.ac:1257: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:1256: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_SYS_TYPES_H]) +-m4trace:configure.ac:1257: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TYPES_H]) +-m4trace:configure.ac:1257: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) +-m4trace:configure.ac:1257: -1- AH_OUTPUT([HAVE_SYS_TIME_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:1256: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TYPES_H]) ++m4trace:configure.ac:1256: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) ++m4trace:configure.ac:1256: -1- AH_OUTPUT([HAVE_SYS_TIME_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_SYS_TIME_H]) +-m4trace:configure.ac:1257: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TIME_H]) +-m4trace:configure.ac:1257: -1- m4_pattern_allow([^HAVE_SYS_TIME_H$]) +-m4trace:configure.ac:1257: -1- AC_DEFINE_TRACE_LITERAL([HAVE_CLOCK_GETTIME_MONOTONIC_RAW]) +-m4trace:configure.ac:1257: -1- m4_pattern_allow([^HAVE_CLOCK_GETTIME_MONOTONIC_RAW$]) +-m4trace:configure.ac:1257: -1- AH_OUTPUT([HAVE_CLOCK_GETTIME_MONOTONIC_RAW], [/* Define to 1 if you have the clock_gettime function and raw monotonic timer. ++m4trace:configure.ac:1256: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TIME_H]) ++m4trace:configure.ac:1256: -1- m4_pattern_allow([^HAVE_SYS_TIME_H$]) ++m4trace:configure.ac:1256: -1- AC_DEFINE_TRACE_LITERAL([HAVE_CLOCK_GETTIME_MONOTONIC_RAW]) ++m4trace:configure.ac:1256: -1- m4_pattern_allow([^HAVE_CLOCK_GETTIME_MONOTONIC_RAW$]) ++m4trace:configure.ac:1256: -1- AH_OUTPUT([HAVE_CLOCK_GETTIME_MONOTONIC_RAW], [/* Define to 1 if you have the clock_gettime function and raw monotonic timer. + */ + @%:@undef HAVE_CLOCK_GETTIME_MONOTONIC_RAW]) +-m4trace:configure.ac:1290: -1- AC_SUBST([PKGCONFIG]) +-m4trace:configure.ac:1290: -1- AC_SUBST_TRACE([PKGCONFIG]) +-m4trace:configure.ac:1290: -1- m4_pattern_allow([^PKGCONFIG$]) +-m4trace:configure.ac:1367: -1- AC_SUBST([HAVE_LIBZ]) +-m4trace:configure.ac:1367: -1- AC_SUBST_TRACE([HAVE_LIBZ]) ++m4trace:configure.ac:1289: -1- AC_SUBST([PKGCONFIG]) ++m4trace:configure.ac:1289: -1- AC_SUBST_TRACE([PKGCONFIG]) ++m4trace:configure.ac:1289: -1- m4_pattern_allow([^PKGCONFIG$]) ++m4trace:configure.ac:1366: -1- AC_SUBST([HAVE_LIBZ]) ++m4trace:configure.ac:1366: -1- AC_SUBST_TRACE([HAVE_LIBZ]) ++m4trace:configure.ac:1366: -1- m4_pattern_allow([^HAVE_LIBZ$]) ++m4trace:configure.ac:1367: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBZ]) + m4trace:configure.ac:1367: -1- m4_pattern_allow([^HAVE_LIBZ$]) +-m4trace:configure.ac:1368: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBZ]) +-m4trace:configure.ac:1368: -1- m4_pattern_allow([^HAVE_LIBZ$]) +-m4trace:configure.ac:1368: -1- AH_OUTPUT([HAVE_LIBZ], [/* if zlib is available */ ++m4trace:configure.ac:1367: -1- AH_OUTPUT([HAVE_LIBZ], [/* if zlib is available */ + @%:@undef HAVE_LIBZ]) +-m4trace:configure.ac:1379: -1- AM_CONDITIONAL([HAVE_LIBZ], [test x"$AMFIXLIB" = x1]) +-m4trace:configure.ac:1379: -1- AC_SUBST([HAVE_LIBZ_TRUE]) +-m4trace:configure.ac:1379: -1- AC_SUBST_TRACE([HAVE_LIBZ_TRUE]) +-m4trace:configure.ac:1379: -1- m4_pattern_allow([^HAVE_LIBZ_TRUE$]) +-m4trace:configure.ac:1379: -1- AC_SUBST([HAVE_LIBZ_FALSE]) +-m4trace:configure.ac:1379: -1- AC_SUBST_TRACE([HAVE_LIBZ_FALSE]) +-m4trace:configure.ac:1379: -1- m4_pattern_allow([^HAVE_LIBZ_FALSE$]) +-m4trace:configure.ac:1379: -1- _AM_SUBST_NOTMAKE([HAVE_LIBZ_TRUE]) +-m4trace:configure.ac:1379: -1- _AM_SUBST_NOTMAKE([HAVE_LIBZ_FALSE]) +-m4trace:configure.ac:1380: -1- AC_SUBST([ZLIB_LIBS]) +-m4trace:configure.ac:1380: -1- AC_SUBST_TRACE([ZLIB_LIBS]) +-m4trace:configure.ac:1380: -1- m4_pattern_allow([^ZLIB_LIBS$]) +-m4trace:configure.ac:1404: -1- AC_SUBST([PKGCONFIG]) +-m4trace:configure.ac:1404: -1- AC_SUBST_TRACE([PKGCONFIG]) +-m4trace:configure.ac:1404: -1- m4_pattern_allow([^PKGCONFIG$]) +-m4trace:configure.ac:1436: -1- AH_OUTPUT([HAVE_LIBBROTLIDEC], [/* Define to 1 if you have the `brotlidec\' library (-lbrotlidec). */ ++m4trace:configure.ac:1378: -1- AM_CONDITIONAL([HAVE_LIBZ], [test x"$AMFIXLIB" = x1]) ++m4trace:configure.ac:1378: -1- AC_SUBST([HAVE_LIBZ_TRUE]) ++m4trace:configure.ac:1378: -1- AC_SUBST_TRACE([HAVE_LIBZ_TRUE]) ++m4trace:configure.ac:1378: -1- m4_pattern_allow([^HAVE_LIBZ_TRUE$]) ++m4trace:configure.ac:1378: -1- AC_SUBST([HAVE_LIBZ_FALSE]) ++m4trace:configure.ac:1378: -1- AC_SUBST_TRACE([HAVE_LIBZ_FALSE]) ++m4trace:configure.ac:1378: -1- m4_pattern_allow([^HAVE_LIBZ_FALSE$]) ++m4trace:configure.ac:1378: -1- _AM_SUBST_NOTMAKE([HAVE_LIBZ_TRUE]) ++m4trace:configure.ac:1378: -1- _AM_SUBST_NOTMAKE([HAVE_LIBZ_FALSE]) ++m4trace:configure.ac:1379: -1- AC_SUBST([ZLIB_LIBS]) ++m4trace:configure.ac:1379: -1- AC_SUBST_TRACE([ZLIB_LIBS]) ++m4trace:configure.ac:1379: -1- m4_pattern_allow([^ZLIB_LIBS$]) ++m4trace:configure.ac:1403: -1- AC_SUBST([PKGCONFIG]) ++m4trace:configure.ac:1403: -1- AC_SUBST_TRACE([PKGCONFIG]) ++m4trace:configure.ac:1403: -1- m4_pattern_allow([^PKGCONFIG$]) ++m4trace:configure.ac:1435: -1- AH_OUTPUT([HAVE_LIBBROTLIDEC], [/* Define to 1 if you have the `brotlidec\' library (-lbrotlidec). */ + @%:@undef HAVE_LIBBROTLIDEC]) +-m4trace:configure.ac:1436: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBBROTLIDEC]) +-m4trace:configure.ac:1436: -1- m4_pattern_allow([^HAVE_LIBBROTLIDEC$]) +-m4trace:configure.ac:1441: -2- AC_DEFINE_TRACE_LITERAL([HAVE_BROTLI]) +-m4trace:configure.ac:1441: -2- m4_pattern_allow([^HAVE_BROTLI$]) +-m4trace:configure.ac:1441: -2- AH_OUTPUT([HAVE_BROTLI], [/* if BROTLI is in use */ ++m4trace:configure.ac:1435: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBBROTLIDEC]) ++m4trace:configure.ac:1435: -1- m4_pattern_allow([^HAVE_LIBBROTLIDEC$]) ++m4trace:configure.ac:1440: -2- AC_DEFINE_TRACE_LITERAL([HAVE_BROTLI]) ++m4trace:configure.ac:1440: -2- m4_pattern_allow([^HAVE_BROTLI$]) ++m4trace:configure.ac:1440: -2- AH_OUTPUT([HAVE_BROTLI], [/* if BROTLI is in use */ + @%:@undef HAVE_BROTLI]) +-m4trace:configure.ac:1442: -2- AC_SUBST([HAVE_BROTLI], [1]) +-m4trace:configure.ac:1442: -2- AC_SUBST_TRACE([HAVE_BROTLI]) +-m4trace:configure.ac:1442: -2- m4_pattern_allow([^HAVE_BROTLI$]) +-m4trace:configure.ac:1438: -1- AH_OUTPUT([HAVE_BROTLI_DECODE_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:1441: -2- AC_SUBST([HAVE_BROTLI], [1]) ++m4trace:configure.ac:1441: -2- AC_SUBST_TRACE([HAVE_BROTLI]) ++m4trace:configure.ac:1441: -2- m4_pattern_allow([^HAVE_BROTLI$]) ++m4trace:configure.ac:1437: -1- AH_OUTPUT([HAVE_BROTLI_DECODE_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_BROTLI_DECODE_H]) +-m4trace:configure.ac:1438: -1- AC_DEFINE_TRACE_LITERAL([HAVE_BROTLI_DECODE_H]) +-m4trace:configure.ac:1438: -1- m4_pattern_allow([^HAVE_BROTLI_DECODE_H$]) +-m4trace:configure.ac:1490: -1- AC_SUBST([PKGCONFIG]) +-m4trace:configure.ac:1490: -1- AC_SUBST_TRACE([PKGCONFIG]) +-m4trace:configure.ac:1490: -1- m4_pattern_allow([^PKGCONFIG$]) +-m4trace:configure.ac:1522: -1- AH_OUTPUT([HAVE_LIBZSTD], [/* Define to 1 if you have the `zstd\' library (-lzstd). */ ++m4trace:configure.ac:1437: -1- AC_DEFINE_TRACE_LITERAL([HAVE_BROTLI_DECODE_H]) ++m4trace:configure.ac:1437: -1- m4_pattern_allow([^HAVE_BROTLI_DECODE_H$]) ++m4trace:configure.ac:1489: -1- AC_SUBST([PKGCONFIG]) ++m4trace:configure.ac:1489: -1- AC_SUBST_TRACE([PKGCONFIG]) ++m4trace:configure.ac:1489: -1- m4_pattern_allow([^PKGCONFIG$]) ++m4trace:configure.ac:1521: -1- AH_OUTPUT([HAVE_LIBZSTD], [/* Define to 1 if you have the `zstd\' library (-lzstd). */ + @%:@undef HAVE_LIBZSTD]) +-m4trace:configure.ac:1522: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBZSTD]) +-m4trace:configure.ac:1522: -1- m4_pattern_allow([^HAVE_LIBZSTD$]) +-m4trace:configure.ac:1527: -2- AC_DEFINE_TRACE_LITERAL([HAVE_ZSTD]) +-m4trace:configure.ac:1527: -2- m4_pattern_allow([^HAVE_ZSTD$]) +-m4trace:configure.ac:1527: -2- AH_OUTPUT([HAVE_ZSTD], [/* if libzstd is in use */ ++m4trace:configure.ac:1521: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBZSTD]) ++m4trace:configure.ac:1521: -1- m4_pattern_allow([^HAVE_LIBZSTD$]) ++m4trace:configure.ac:1526: -2- AC_DEFINE_TRACE_LITERAL([HAVE_ZSTD]) ++m4trace:configure.ac:1526: -2- m4_pattern_allow([^HAVE_ZSTD$]) ++m4trace:configure.ac:1526: -2- AH_OUTPUT([HAVE_ZSTD], [/* if libzstd is in use */ + @%:@undef HAVE_ZSTD]) +-m4trace:configure.ac:1528: -2- AC_SUBST([HAVE_ZSTD], [1]) +-m4trace:configure.ac:1528: -2- AC_SUBST_TRACE([HAVE_ZSTD]) +-m4trace:configure.ac:1528: -2- m4_pattern_allow([^HAVE_ZSTD$]) +-m4trace:configure.ac:1524: -1- AH_OUTPUT([HAVE_ZSTD_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:1527: -2- AC_SUBST([HAVE_ZSTD], [1]) ++m4trace:configure.ac:1527: -2- AC_SUBST_TRACE([HAVE_ZSTD]) ++m4trace:configure.ac:1527: -2- m4_pattern_allow([^HAVE_ZSTD$]) ++m4trace:configure.ac:1523: -1- AH_OUTPUT([HAVE_ZSTD_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_ZSTD_H]) +-m4trace:configure.ac:1524: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ZSTD_H]) +-m4trace:configure.ac:1524: -1- m4_pattern_allow([^HAVE_ZSTD_H$]) +-m4trace:configure.ac:1573: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LBER_H]) +-m4trace:configure.ac:1573: -1- m4_pattern_allow([^HAVE_LBER_H$]) +-m4trace:configure.ac:1573: -1- AH_OUTPUT([HAVE_LBER_H], [/* Define to 1 if you have the lber.h header file. */ ++m4trace:configure.ac:1523: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ZSTD_H]) ++m4trace:configure.ac:1523: -1- m4_pattern_allow([^HAVE_ZSTD_H$]) ++m4trace:configure.ac:1572: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LBER_H]) ++m4trace:configure.ac:1572: -1- m4_pattern_allow([^HAVE_LBER_H$]) ++m4trace:configure.ac:1572: -1- AH_OUTPUT([HAVE_LBER_H], [/* Define to 1 if you have the lber.h header file. */ + @%:@undef HAVE_LBER_H]) +-m4trace:configure.ac:1573: -1- AC_DEFINE_TRACE_LITERAL([NEED_LBER_H]) +-m4trace:configure.ac:1573: -1- m4_pattern_allow([^NEED_LBER_H$]) +-m4trace:configure.ac:1573: -1- AH_OUTPUT([NEED_LBER_H], [/* Define to 1 if you need the lber.h header file even with ldap.h */ ++m4trace:configure.ac:1572: -1- AC_DEFINE_TRACE_LITERAL([NEED_LBER_H]) ++m4trace:configure.ac:1572: -1- m4_pattern_allow([^NEED_LBER_H$]) ++m4trace:configure.ac:1572: -1- AH_OUTPUT([NEED_LBER_H], [/* Define to 1 if you need the lber.h header file even with ldap.h */ + @%:@undef NEED_LBER_H]) +-m4trace:configure.ac:1574: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LDAP_H]) +-m4trace:configure.ac:1574: -1- m4_pattern_allow([^HAVE_LDAP_H$]) +-m4trace:configure.ac:1574: -1- AH_OUTPUT([HAVE_LDAP_H], [/* Define to 1 if you have the ldap.h header file. */ ++m4trace:configure.ac:1573: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LDAP_H]) ++m4trace:configure.ac:1573: -1- m4_pattern_allow([^HAVE_LDAP_H$]) ++m4trace:configure.ac:1573: -1- AH_OUTPUT([HAVE_LDAP_H], [/* Define to 1 if you have the ldap.h header file. */ + @%:@undef HAVE_LDAP_H]) +-m4trace:configure.ac:1575: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LDAP_SSL_H]) +-m4trace:configure.ac:1575: -1- m4_pattern_allow([^HAVE_LDAP_SSL_H$]) +-m4trace:configure.ac:1575: -1- AH_OUTPUT([HAVE_LDAP_SSL_H], [/* Define to 1 if you have the ldap_ssl.h header file. */ ++m4trace:configure.ac:1574: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LDAP_SSL_H]) ++m4trace:configure.ac:1574: -1- m4_pattern_allow([^HAVE_LDAP_SSL_H$]) ++m4trace:configure.ac:1574: -1- AH_OUTPUT([HAVE_LDAP_SSL_H], [/* Define to 1 if you have the ldap_ssl.h header file. */ + @%:@undef HAVE_LDAP_SSL_H]) +-m4trace:configure.ac:1586: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_LDAP]) +-m4trace:configure.ac:1586: -1- m4_pattern_allow([^CURL_DISABLE_LDAP$]) +-m4trace:configure.ac:1586: -1- AH_OUTPUT([CURL_DISABLE_LDAP], [/* to disable LDAP */ ++m4trace:configure.ac:1585: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_LDAP]) ++m4trace:configure.ac:1585: -1- m4_pattern_allow([^CURL_DISABLE_LDAP$]) ++m4trace:configure.ac:1585: -1- AH_OUTPUT([CURL_DISABLE_LDAP], [/* to disable LDAP */ + @%:@undef CURL_DISABLE_LDAP]) +-m4trace:configure.ac:1586: -1- AC_SUBST([CURL_DISABLE_LDAP], [1]) +-m4trace:configure.ac:1586: -1- AC_SUBST_TRACE([CURL_DISABLE_LDAP]) +-m4trace:configure.ac:1586: -1- m4_pattern_allow([^CURL_DISABLE_LDAP$]) +-m4trace:configure.ac:1586: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_LDAPS]) +-m4trace:configure.ac:1586: -1- m4_pattern_allow([^CURL_DISABLE_LDAPS$]) +-m4trace:configure.ac:1586: -1- AH_OUTPUT([CURL_DISABLE_LDAPS], [/* to disable LDAPS */ ++m4trace:configure.ac:1585: -1- AC_SUBST([CURL_DISABLE_LDAP], [1]) ++m4trace:configure.ac:1585: -1- AC_SUBST_TRACE([CURL_DISABLE_LDAP]) ++m4trace:configure.ac:1585: -1- m4_pattern_allow([^CURL_DISABLE_LDAP$]) ++m4trace:configure.ac:1585: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_LDAPS]) ++m4trace:configure.ac:1585: -1- m4_pattern_allow([^CURL_DISABLE_LDAPS$]) ++m4trace:configure.ac:1585: -1- AH_OUTPUT([CURL_DISABLE_LDAPS], [/* to disable LDAPS */ + @%:@undef CURL_DISABLE_LDAPS]) +-m4trace:configure.ac:1586: -1- AC_SUBST([CURL_DISABLE_LDAPS], [1]) +-m4trace:configure.ac:1586: -1- AC_SUBST_TRACE([CURL_DISABLE_LDAPS]) +-m4trace:configure.ac:1586: -1- m4_pattern_allow([^CURL_DISABLE_LDAPS$]) +-m4trace:configure.ac:1604: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_LDAP]) +-m4trace:configure.ac:1604: -1- m4_pattern_allow([^CURL_DISABLE_LDAP$]) +-m4trace:configure.ac:1604: -1- AH_OUTPUT([CURL_DISABLE_LDAP], [/* to disable LDAP */ ++m4trace:configure.ac:1585: -1- AC_SUBST([CURL_DISABLE_LDAPS], [1]) ++m4trace:configure.ac:1585: -1- AC_SUBST_TRACE([CURL_DISABLE_LDAPS]) ++m4trace:configure.ac:1585: -1- m4_pattern_allow([^CURL_DISABLE_LDAPS$]) ++m4trace:configure.ac:1603: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_LDAP]) ++m4trace:configure.ac:1603: -1- m4_pattern_allow([^CURL_DISABLE_LDAP$]) ++m4trace:configure.ac:1603: -1- AH_OUTPUT([CURL_DISABLE_LDAP], [/* to disable LDAP */ + @%:@undef CURL_DISABLE_LDAP]) +-m4trace:configure.ac:1605: -1- AC_SUBST([CURL_DISABLE_LDAP], [1]) +-m4trace:configure.ac:1605: -1- AC_SUBST_TRACE([CURL_DISABLE_LDAP]) +-m4trace:configure.ac:1605: -1- m4_pattern_allow([^CURL_DISABLE_LDAP$]) +-m4trace:configure.ac:1606: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_LDAPS]) +-m4trace:configure.ac:1606: -1- m4_pattern_allow([^CURL_DISABLE_LDAPS$]) +-m4trace:configure.ac:1606: -1- AH_OUTPUT([CURL_DISABLE_LDAPS], [/* to disable LDAPS */ ++m4trace:configure.ac:1604: -1- AC_SUBST([CURL_DISABLE_LDAP], [1]) ++m4trace:configure.ac:1604: -1- AC_SUBST_TRACE([CURL_DISABLE_LDAP]) ++m4trace:configure.ac:1604: -1- m4_pattern_allow([^CURL_DISABLE_LDAP$]) ++m4trace:configure.ac:1605: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_LDAPS]) ++m4trace:configure.ac:1605: -1- m4_pattern_allow([^CURL_DISABLE_LDAPS$]) ++m4trace:configure.ac:1605: -1- AH_OUTPUT([CURL_DISABLE_LDAPS], [/* to disable LDAPS */ + @%:@undef CURL_DISABLE_LDAPS]) +-m4trace:configure.ac:1607: -1- AC_SUBST([CURL_DISABLE_LDAPS], [1]) +-m4trace:configure.ac:1607: -1- AC_SUBST_TRACE([CURL_DISABLE_LDAPS]) +-m4trace:configure.ac:1607: -1- m4_pattern_allow([^CURL_DISABLE_LDAPS$]) +-m4trace:configure.ac:1619: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_LDAP]) +-m4trace:configure.ac:1619: -1- m4_pattern_allow([^CURL_DISABLE_LDAP$]) +-m4trace:configure.ac:1619: -1- AH_OUTPUT([CURL_DISABLE_LDAP], [/* to disable LDAP */ ++m4trace:configure.ac:1606: -1- AC_SUBST([CURL_DISABLE_LDAPS], [1]) ++m4trace:configure.ac:1606: -1- AC_SUBST_TRACE([CURL_DISABLE_LDAPS]) ++m4trace:configure.ac:1606: -1- m4_pattern_allow([^CURL_DISABLE_LDAPS$]) ++m4trace:configure.ac:1618: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_LDAP]) ++m4trace:configure.ac:1618: -1- m4_pattern_allow([^CURL_DISABLE_LDAP$]) ++m4trace:configure.ac:1618: -1- AH_OUTPUT([CURL_DISABLE_LDAP], [/* to disable LDAP */ + @%:@undef CURL_DISABLE_LDAP]) +-m4trace:configure.ac:1619: -1- AC_SUBST([CURL_DISABLE_LDAP], [1]) +-m4trace:configure.ac:1619: -1- AC_SUBST_TRACE([CURL_DISABLE_LDAP]) +-m4trace:configure.ac:1619: -1- m4_pattern_allow([^CURL_DISABLE_LDAP$]) +-m4trace:configure.ac:1619: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_LDAPS]) +-m4trace:configure.ac:1619: -1- m4_pattern_allow([^CURL_DISABLE_LDAPS$]) +-m4trace:configure.ac:1619: -1- AH_OUTPUT([CURL_DISABLE_LDAPS], [/* to disable LDAPS */ ++m4trace:configure.ac:1618: -1- AC_SUBST([CURL_DISABLE_LDAP], [1]) ++m4trace:configure.ac:1618: -1- AC_SUBST_TRACE([CURL_DISABLE_LDAP]) ++m4trace:configure.ac:1618: -1- m4_pattern_allow([^CURL_DISABLE_LDAP$]) ++m4trace:configure.ac:1618: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_LDAPS]) ++m4trace:configure.ac:1618: -1- m4_pattern_allow([^CURL_DISABLE_LDAPS$]) ++m4trace:configure.ac:1618: -1- AH_OUTPUT([CURL_DISABLE_LDAPS], [/* to disable LDAPS */ + @%:@undef CURL_DISABLE_LDAPS]) +-m4trace:configure.ac:1619: -1- AC_SUBST([CURL_DISABLE_LDAPS], [1]) +-m4trace:configure.ac:1619: -1- AC_SUBST_TRACE([CURL_DISABLE_LDAPS]) +-m4trace:configure.ac:1619: -1- m4_pattern_allow([^CURL_DISABLE_LDAPS$]) +-m4trace:configure.ac:1630: -1- AH_OUTPUT([HAVE_LDAP_URL_PARSE], [/* Define to 1 if you have the `ldap_url_parse\' function. */ ++m4trace:configure.ac:1618: -1- AC_SUBST([CURL_DISABLE_LDAPS], [1]) ++m4trace:configure.ac:1618: -1- AC_SUBST_TRACE([CURL_DISABLE_LDAPS]) ++m4trace:configure.ac:1618: -1- m4_pattern_allow([^CURL_DISABLE_LDAPS$]) ++m4trace:configure.ac:1629: -1- AH_OUTPUT([HAVE_LDAP_URL_PARSE], [/* Define to 1 if you have the `ldap_url_parse\' function. */ + @%:@undef HAVE_LDAP_URL_PARSE]) +-m4trace:configure.ac:1630: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LDAP_URL_PARSE]) +-m4trace:configure.ac:1630: -1- m4_pattern_allow([^HAVE_LDAP_URL_PARSE$]) +-m4trace:configure.ac:1630: -1- AH_OUTPUT([HAVE_LDAP_INIT_FD], [/* Define to 1 if you have the `ldap_init_fd\' function. */ ++m4trace:configure.ac:1629: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LDAP_URL_PARSE]) ++m4trace:configure.ac:1629: -1- m4_pattern_allow([^HAVE_LDAP_URL_PARSE$]) ++m4trace:configure.ac:1629: -1- AH_OUTPUT([HAVE_LDAP_INIT_FD], [/* Define to 1 if you have the `ldap_init_fd\' function. */ + @%:@undef HAVE_LDAP_INIT_FD]) +-m4trace:configure.ac:1630: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LDAP_INIT_FD]) +-m4trace:configure.ac:1630: -1- m4_pattern_allow([^HAVE_LDAP_INIT_FD$]) +-m4trace:configure.ac:1635: -1- AC_DEFINE_TRACE_LITERAL([USE_WIN32_LDAP]) +-m4trace:configure.ac:1635: -1- m4_pattern_allow([^USE_WIN32_LDAP$]) +-m4trace:configure.ac:1635: -1- AH_OUTPUT([USE_WIN32_LDAP], [/* Use Windows LDAP implementation */ ++m4trace:configure.ac:1629: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LDAP_INIT_FD]) ++m4trace:configure.ac:1629: -1- m4_pattern_allow([^HAVE_LDAP_INIT_FD$]) ++m4trace:configure.ac:1634: -1- AC_DEFINE_TRACE_LITERAL([USE_WIN32_LDAP]) ++m4trace:configure.ac:1634: -1- m4_pattern_allow([^USE_WIN32_LDAP$]) ++m4trace:configure.ac:1634: -1- AH_OUTPUT([USE_WIN32_LDAP], [/* Use Windows LDAP implementation */ + @%:@undef USE_WIN32_LDAP]) +-m4trace:configure.ac:1639: -1- AC_DEFINE_TRACE_LITERAL([USE_OPENLDAP]) +-m4trace:configure.ac:1639: -1- m4_pattern_allow([^USE_OPENLDAP$]) +-m4trace:configure.ac:1639: -1- AH_OUTPUT([USE_OPENLDAP], [/* Use OpenLDAP-specific code */ ++m4trace:configure.ac:1638: -1- AC_DEFINE_TRACE_LITERAL([USE_OPENLDAP]) ++m4trace:configure.ac:1638: -1- m4_pattern_allow([^USE_OPENLDAP$]) ++m4trace:configure.ac:1638: -1- AH_OUTPUT([USE_OPENLDAP], [/* Use OpenLDAP-specific code */ + @%:@undef USE_OPENLDAP]) +-m4trace:configure.ac:1640: -1- AC_SUBST([USE_OPENLDAP], [1]) +-m4trace:configure.ac:1640: -1- AC_SUBST_TRACE([USE_OPENLDAP]) +-m4trace:configure.ac:1640: -1- m4_pattern_allow([^USE_OPENLDAP$]) +-m4trace:configure.ac:1704: -1- AC_DEFINE_TRACE_LITERAL([ENABLE_IPV6]) +-m4trace:configure.ac:1704: -1- m4_pattern_allow([^ENABLE_IPV6$]) +-m4trace:configure.ac:1704: -1- AH_OUTPUT([ENABLE_IPV6], [/* Define if you want to enable IPv6 support */ ++m4trace:configure.ac:1639: -1- AC_SUBST([USE_OPENLDAP], [1]) ++m4trace:configure.ac:1639: -1- AC_SUBST_TRACE([USE_OPENLDAP]) ++m4trace:configure.ac:1639: -1- m4_pattern_allow([^USE_OPENLDAP$]) ++m4trace:configure.ac:1700: -1- AC_DEFINE_TRACE_LITERAL([ENABLE_IPV6]) ++m4trace:configure.ac:1700: -1- m4_pattern_allow([^ENABLE_IPV6$]) ++m4trace:configure.ac:1700: -1- AH_OUTPUT([ENABLE_IPV6], [/* Define if you want to enable IPv6 support */ + @%:@undef ENABLE_IPV6]) +-m4trace:configure.ac:1706: -1- AC_SUBST([IPV6_ENABLED]) +-m4trace:configure.ac:1706: -1- AC_SUBST_TRACE([IPV6_ENABLED]) +-m4trace:configure.ac:1706: -1- m4_pattern_allow([^IPV6_ENABLED$]) +-m4trace:configure.ac:1709: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID]) +-m4trace:configure.ac:1709: -1- m4_pattern_allow([^HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID$]) +-m4trace:configure.ac:1709: -1- AH_OUTPUT([HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID], [/* Define to 1 if struct sockaddr_in6 has the sin6_scope_id member */ ++m4trace:configure.ac:1702: -1- AC_SUBST([IPV6_ENABLED]) ++m4trace:configure.ac:1702: -1- AC_SUBST_TRACE([IPV6_ENABLED]) ++m4trace:configure.ac:1702: -1- m4_pattern_allow([^IPV6_ENABLED$]) ++m4trace:configure.ac:1705: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID]) ++m4trace:configure.ac:1705: -1- m4_pattern_allow([^HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID$]) ++m4trace:configure.ac:1705: -1- AH_OUTPUT([HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID], [/* Define to 1 if struct sockaddr_in6 has the sin6_scope_id member */ + @%:@undef HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID]) +-m4trace:configure.ac:1760: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WRITABLE_ARGV]) +-m4trace:configure.ac:1760: -1- m4_pattern_allow([^HAVE_WRITABLE_ARGV$]) +-m4trace:configure.ac:1760: -1- AH_OUTPUT([HAVE_WRITABLE_ARGV], [/* Define this symbol if your OS supports changing the contents of argv */ ++m4trace:configure.ac:1756: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WRITABLE_ARGV]) ++m4trace:configure.ac:1756: -1- m4_pattern_allow([^HAVE_WRITABLE_ARGV$]) ++m4trace:configure.ac:1756: -1- AH_OUTPUT([HAVE_WRITABLE_ARGV], [/* Define this symbol if your OS supports changing the contents of argv */ + @%:@undef HAVE_WRITABLE_ARGV]) +-m4trace:configure.ac:1814: -1- AC_SUBST([PKGCONFIG]) +-m4trace:configure.ac:1814: -1- AC_SUBST_TRACE([PKGCONFIG]) +-m4trace:configure.ac:1814: -1- m4_pattern_allow([^PKGCONFIG$]) +-m4trace:configure.ac:1816: -1- AC_SUBST([PKGCONFIG]) +-m4trace:configure.ac:1816: -1- AC_SUBST_TRACE([PKGCONFIG]) +-m4trace:configure.ac:1816: -1- m4_pattern_allow([^PKGCONFIG$]) +-m4trace:configure.ac:1832: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GSSGNU]) +-m4trace:configure.ac:1832: -1- m4_pattern_allow([^HAVE_GSSGNU$]) +-m4trace:configure.ac:1832: -1- AH_OUTPUT([HAVE_GSSGNU], [/* if you have GNU GSS */ ++m4trace:configure.ac:1810: -1- AC_SUBST([PKGCONFIG]) ++m4trace:configure.ac:1810: -1- AC_SUBST_TRACE([PKGCONFIG]) ++m4trace:configure.ac:1810: -1- m4_pattern_allow([^PKGCONFIG$]) ++m4trace:configure.ac:1812: -1- AC_SUBST([PKGCONFIG]) ++m4trace:configure.ac:1812: -1- AC_SUBST_TRACE([PKGCONFIG]) ++m4trace:configure.ac:1812: -1- m4_pattern_allow([^PKGCONFIG$]) ++m4trace:configure.ac:1828: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GSSGNU]) ++m4trace:configure.ac:1828: -1- m4_pattern_allow([^HAVE_GSSGNU$]) ++m4trace:configure.ac:1828: -1- AH_OUTPUT([HAVE_GSSGNU], [/* if you have GNU GSS */ + @%:@undef HAVE_GSSGNU]) +-m4trace:configure.ac:1832: -1- AH_OUTPUT([HAVE_GSSAPI_GSSAPI_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:1828: -1- AH_OUTPUT([HAVE_GSSAPI_GSSAPI_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_GSSAPI_GSSAPI_H]) +-m4trace:configure.ac:1832: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GSSAPI_GSSAPI_H]) +-m4trace:configure.ac:1832: -1- m4_pattern_allow([^HAVE_GSSAPI_GSSAPI_H$]) +-m4trace:configure.ac:1832: -1- AH_OUTPUT([HAVE_GSSAPI_GSSAPI_GENERIC_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:1828: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GSSAPI_GSSAPI_H]) ++m4trace:configure.ac:1828: -1- m4_pattern_allow([^HAVE_GSSAPI_GSSAPI_H$]) ++m4trace:configure.ac:1828: -1- AH_OUTPUT([HAVE_GSSAPI_GSSAPI_GENERIC_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_GSSAPI_GSSAPI_GENERIC_H]) +-m4trace:configure.ac:1832: -1- AH_OUTPUT([HAVE_GSSAPI_GSSAPI_KRB5_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:1828: -1- AH_OUTPUT([HAVE_GSSAPI_GSSAPI_KRB5_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_GSSAPI_GSSAPI_KRB5_H]) +-m4trace:configure.ac:1832: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GSSHEIMDAL]) +-m4trace:configure.ac:1832: -1- m4_pattern_allow([^HAVE_GSSHEIMDAL$]) +-m4trace:configure.ac:1832: -1- AH_OUTPUT([HAVE_GSSHEIMDAL], [/* if you have Heimdal */ +-@%:@undef HAVE_GSSHEIMDAL]) +-m4trace:configure.ac:1832: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GSSMIT]) +-m4trace:configure.ac:1832: -1- m4_pattern_allow([^HAVE_GSSMIT$]) +-m4trace:configure.ac:1832: -1- AH_OUTPUT([HAVE_GSSMIT], [/* if you have MIT Kerberos */ +-@%:@undef HAVE_GSSMIT]) +-m4trace:configure.ac:1832: -1- AC_DEFINE_TRACE_LITERAL([HAVE_OLD_GSSMIT]) +-m4trace:configure.ac:1832: -1- m4_pattern_allow([^HAVE_OLD_GSSMIT$]) +-m4trace:configure.ac:1832: -1- AH_OUTPUT([HAVE_OLD_GSSMIT], [/* if you have an old MIT Kerberos version, lacking GSS_C_NT_HOSTBASED_SERVICE ++m4trace:configure.ac:1828: -1- AC_DEFINE_TRACE_LITERAL([HAVE_OLD_GSSMIT]) ++m4trace:configure.ac:1828: -1- m4_pattern_allow([^HAVE_OLD_GSSMIT$]) ++m4trace:configure.ac:1828: -1- AH_OUTPUT([HAVE_OLD_GSSMIT], [/* if you have an old MIT Kerberos version, lacking GSS_C_NT_HOSTBASED_SERVICE + */ + @%:@undef HAVE_OLD_GSSMIT]) +-m4trace:configure.ac:1895: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GSSAPI]) +-m4trace:configure.ac:1895: -1- m4_pattern_allow([^HAVE_GSSAPI$]) +-m4trace:configure.ac:1895: -1- AH_OUTPUT([HAVE_GSSAPI], [/* if you have GSS-API libraries */ ++m4trace:configure.ac:1887: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GSSAPI]) ++m4trace:configure.ac:1887: -1- m4_pattern_allow([^HAVE_GSSAPI$]) ++m4trace:configure.ac:1887: -1- AH_OUTPUT([HAVE_GSSAPI], [/* if you have GSS-API libraries */ + @%:@undef HAVE_GSSAPI]) +-m4trace:configure.ac:1910: -1- AC_SUBST([PKGCONFIG]) +-m4trace:configure.ac:1910: -1- AC_SUBST_TRACE([PKGCONFIG]) +-m4trace:configure.ac:1910: -1- m4_pattern_allow([^PKGCONFIG$]) +-m4trace:configure.ac:1912: -1- AC_SUBST([PKGCONFIG]) +-m4trace:configure.ac:1912: -1- AC_SUBST_TRACE([PKGCONFIG]) +-m4trace:configure.ac:1912: -1- m4_pattern_allow([^PKGCONFIG$]) +-m4trace:configure.ac:1978: -1- AM_CONDITIONAL([BUILD_STUB_GSS], [test "x$build_libstubgss" = "xyes"]) +-m4trace:configure.ac:1978: -1- AC_SUBST([BUILD_STUB_GSS_TRUE]) +-m4trace:configure.ac:1978: -1- AC_SUBST_TRACE([BUILD_STUB_GSS_TRUE]) +-m4trace:configure.ac:1978: -1- m4_pattern_allow([^BUILD_STUB_GSS_TRUE$]) +-m4trace:configure.ac:1978: -1- AC_SUBST([BUILD_STUB_GSS_FALSE]) +-m4trace:configure.ac:1978: -1- AC_SUBST_TRACE([BUILD_STUB_GSS_FALSE]) +-m4trace:configure.ac:1978: -1- m4_pattern_allow([^BUILD_STUB_GSS_FALSE$]) +-m4trace:configure.ac:1978: -1- _AM_SUBST_NOTMAKE([BUILD_STUB_GSS_TRUE]) +-m4trace:configure.ac:1978: -1- _AM_SUBST_NOTMAKE([BUILD_STUB_GSS_FALSE]) +-m4trace:configure.ac:2000: -1- AC_SUBST([DEFAULT_SSL_BACKEND]) +-m4trace:configure.ac:2000: -1- AC_SUBST_TRACE([DEFAULT_SSL_BACKEND]) +-m4trace:configure.ac:2000: -1- m4_pattern_allow([^DEFAULT_SSL_BACKEND$]) +-m4trace:configure.ac:2006: -1- AC_DEFINE_TRACE_LITERAL([USE_SCHANNEL]) +-m4trace:configure.ac:2006: -1- m4_pattern_allow([^USE_SCHANNEL$]) +-m4trace:configure.ac:2006: -1- AH_OUTPUT([USE_SCHANNEL], [/* to enable Windows native SSL/TLS support */ ++m4trace:configure.ac:1902: -1- AC_SUBST([PKGCONFIG]) ++m4trace:configure.ac:1902: -1- AC_SUBST_TRACE([PKGCONFIG]) ++m4trace:configure.ac:1902: -1- m4_pattern_allow([^PKGCONFIG$]) ++m4trace:configure.ac:1904: -1- AC_SUBST([PKGCONFIG]) ++m4trace:configure.ac:1904: -1- AC_SUBST_TRACE([PKGCONFIG]) ++m4trace:configure.ac:1904: -1- m4_pattern_allow([^PKGCONFIG$]) ++m4trace:configure.ac:1970: -1- AM_CONDITIONAL([BUILD_STUB_GSS], [test "x$build_libstubgss" = "xyes"]) ++m4trace:configure.ac:1970: -1- AC_SUBST([BUILD_STUB_GSS_TRUE]) ++m4trace:configure.ac:1970: -1- AC_SUBST_TRACE([BUILD_STUB_GSS_TRUE]) ++m4trace:configure.ac:1970: -1- m4_pattern_allow([^BUILD_STUB_GSS_TRUE$]) ++m4trace:configure.ac:1970: -1- AC_SUBST([BUILD_STUB_GSS_FALSE]) ++m4trace:configure.ac:1970: -1- AC_SUBST_TRACE([BUILD_STUB_GSS_FALSE]) ++m4trace:configure.ac:1970: -1- m4_pattern_allow([^BUILD_STUB_GSS_FALSE$]) ++m4trace:configure.ac:1970: -1- _AM_SUBST_NOTMAKE([BUILD_STUB_GSS_TRUE]) ++m4trace:configure.ac:1970: -1- _AM_SUBST_NOTMAKE([BUILD_STUB_GSS_FALSE]) ++m4trace:configure.ac:1992: -1- AC_SUBST([DEFAULT_SSL_BACKEND]) ++m4trace:configure.ac:1992: -1- AC_SUBST_TRACE([DEFAULT_SSL_BACKEND]) ++m4trace:configure.ac:1992: -1- m4_pattern_allow([^DEFAULT_SSL_BACKEND$]) ++m4trace:configure.ac:1998: -1- AC_DEFINE_TRACE_LITERAL([USE_SCHANNEL]) ++m4trace:configure.ac:1998: -1- m4_pattern_allow([^USE_SCHANNEL$]) ++m4trace:configure.ac:1998: -1- AH_OUTPUT([USE_SCHANNEL], [/* to enable Windows native SSL/TLS support */ + @%:@undef USE_SCHANNEL]) +-m4trace:configure.ac:2006: -1- AC_SUBST([USE_SCHANNEL], [1]) +-m4trace:configure.ac:2006: -1- AC_SUBST_TRACE([USE_SCHANNEL]) +-m4trace:configure.ac:2006: -1- m4_pattern_allow([^USE_SCHANNEL$]) +-m4trace:configure.ac:2006: -1- AC_DEFINE_TRACE_LITERAL([USE_WINDOWS_SSPI]) +-m4trace:configure.ac:2006: -1- m4_pattern_allow([^USE_WINDOWS_SSPI$]) +-m4trace:configure.ac:2006: -1- AH_OUTPUT([USE_WINDOWS_SSPI], [/* to enable SSPI support */ ++m4trace:configure.ac:1998: -1- AC_SUBST([USE_SCHANNEL], [1]) ++m4trace:configure.ac:1998: -1- AC_SUBST_TRACE([USE_SCHANNEL]) ++m4trace:configure.ac:1998: -1- m4_pattern_allow([^USE_SCHANNEL$]) ++m4trace:configure.ac:1998: -1- AC_DEFINE_TRACE_LITERAL([USE_WINDOWS_SSPI]) ++m4trace:configure.ac:1998: -1- m4_pattern_allow([^USE_WINDOWS_SSPI$]) ++m4trace:configure.ac:1998: -1- AH_OUTPUT([USE_WINDOWS_SSPI], [/* to enable SSPI support */ + @%:@undef USE_WINDOWS_SSPI]) +-m4trace:configure.ac:2006: -1- AC_SUBST([USE_WINDOWS_SSPI], [1]) +-m4trace:configure.ac:2006: -1- AC_SUBST_TRACE([USE_WINDOWS_SSPI]) +-m4trace:configure.ac:2006: -1- m4_pattern_allow([^USE_WINDOWS_SSPI$]) +-m4trace:configure.ac:2007: -1- AC_DEFINE_TRACE_LITERAL([USE_SECTRANSP]) +-m4trace:configure.ac:2007: -1- m4_pattern_allow([^USE_SECTRANSP$]) +-m4trace:configure.ac:2007: -1- AH_OUTPUT([USE_SECTRANSP], [/* enable Secure Transport */ ++m4trace:configure.ac:1998: -1- AC_SUBST([USE_WINDOWS_SSPI], [1]) ++m4trace:configure.ac:1998: -1- AC_SUBST_TRACE([USE_WINDOWS_SSPI]) ++m4trace:configure.ac:1998: -1- m4_pattern_allow([^USE_WINDOWS_SSPI$]) ++m4trace:configure.ac:1999: -1- AC_DEFINE_TRACE_LITERAL([USE_SECTRANSP]) ++m4trace:configure.ac:1999: -1- m4_pattern_allow([^USE_SECTRANSP$]) ++m4trace:configure.ac:1999: -1- AH_OUTPUT([USE_SECTRANSP], [/* enable Secure Transport */ + @%:@undef USE_SECTRANSP]) +-m4trace:configure.ac:2007: -1- AC_SUBST([USE_SECTRANSP], [1]) +-m4trace:configure.ac:2007: -1- AC_SUBST_TRACE([USE_SECTRANSP]) +-m4trace:configure.ac:2007: -1- m4_pattern_allow([^USE_SECTRANSP$]) +-m4trace:configure.ac:2008: -1- AC_DEFINE_TRACE_LITERAL([USE_AMISSL]) +-m4trace:configure.ac:2008: -1- m4_pattern_allow([^USE_AMISSL$]) +-m4trace:configure.ac:2008: -1- AH_OUTPUT([USE_AMISSL], [/* if AmiSSL is in use */ ++m4trace:configure.ac:1999: -1- AC_SUBST([USE_SECTRANSP], [1]) ++m4trace:configure.ac:1999: -1- AC_SUBST_TRACE([USE_SECTRANSP]) ++m4trace:configure.ac:1999: -1- m4_pattern_allow([^USE_SECTRANSP$]) ++m4trace:configure.ac:2000: -1- AC_DEFINE_TRACE_LITERAL([USE_AMISSL]) ++m4trace:configure.ac:2000: -1- m4_pattern_allow([^USE_AMISSL$]) ++m4trace:configure.ac:2000: -1- AH_OUTPUT([USE_AMISSL], [/* if AmiSSL is in use */ + @%:@undef USE_AMISSL]) +-m4trace:configure.ac:2008: -1- AC_DEFINE_TRACE_LITERAL([USE_OPENSSL]) +-m4trace:configure.ac:2008: -1- m4_pattern_allow([^USE_OPENSSL$]) +-m4trace:configure.ac:2008: -1- AH_OUTPUT([USE_OPENSSL], [/* if OpenSSL is in use */ ++m4trace:configure.ac:2000: -1- AC_DEFINE_TRACE_LITERAL([USE_OPENSSL]) ++m4trace:configure.ac:2000: -1- m4_pattern_allow([^USE_OPENSSL$]) ++m4trace:configure.ac:2000: -1- AH_OUTPUT([USE_OPENSSL], [/* if OpenSSL is in use */ + @%:@undef USE_OPENSSL]) +-m4trace:configure.ac:2008: -1- AC_DEFINE_TRACE_LITERAL([HAVE_OPENSSL3]) +-m4trace:configure.ac:2008: -1- m4_pattern_allow([^HAVE_OPENSSL3$]) +-m4trace:configure.ac:2008: -1- AH_OUTPUT([HAVE_OPENSSL3], [/* Define to 1 if using OpenSSL 3 or later. */ ++m4trace:configure.ac:2000: -1- AC_DEFINE_TRACE_LITERAL([HAVE_OPENSSL3]) ++m4trace:configure.ac:2000: -1- m4_pattern_allow([^HAVE_OPENSSL3$]) ++m4trace:configure.ac:2000: -1- AH_OUTPUT([HAVE_OPENSSL3], [/* Define to 1 if using OpenSSL 3 or later. */ + @%:@undef HAVE_OPENSSL3]) +-m4trace:configure.ac:2008: -1- AH_OUTPUT([HAVE_OPENSSL_X509_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:2000: -1- AH_OUTPUT([HAVE_OPENSSL_X509_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_OPENSSL_X509_H]) +-m4trace:configure.ac:2008: -1- AC_DEFINE_TRACE_LITERAL([HAVE_OPENSSL_X509_H]) +-m4trace:configure.ac:2008: -1- m4_pattern_allow([^HAVE_OPENSSL_X509_H$]) +-m4trace:configure.ac:2008: -1- AH_OUTPUT([HAVE_OPENSSL_RSA_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:2000: -1- AC_DEFINE_TRACE_LITERAL([HAVE_OPENSSL_X509_H]) ++m4trace:configure.ac:2000: -1- m4_pattern_allow([^HAVE_OPENSSL_X509_H$]) ++m4trace:configure.ac:2000: -1- AH_OUTPUT([HAVE_OPENSSL_RSA_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_OPENSSL_RSA_H]) +-m4trace:configure.ac:2008: -1- AC_DEFINE_TRACE_LITERAL([HAVE_OPENSSL_RSA_H]) +-m4trace:configure.ac:2008: -1- m4_pattern_allow([^HAVE_OPENSSL_RSA_H$]) +-m4trace:configure.ac:2008: -1- AH_OUTPUT([HAVE_OPENSSL_CRYPTO_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:2000: -1- AC_DEFINE_TRACE_LITERAL([HAVE_OPENSSL_RSA_H]) ++m4trace:configure.ac:2000: -1- m4_pattern_allow([^HAVE_OPENSSL_RSA_H$]) ++m4trace:configure.ac:2000: -1- AH_OUTPUT([HAVE_OPENSSL_CRYPTO_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_OPENSSL_CRYPTO_H]) +-m4trace:configure.ac:2008: -1- AC_DEFINE_TRACE_LITERAL([HAVE_OPENSSL_CRYPTO_H]) +-m4trace:configure.ac:2008: -1- m4_pattern_allow([^HAVE_OPENSSL_CRYPTO_H$]) +-m4trace:configure.ac:2008: -1- AH_OUTPUT([HAVE_OPENSSL_PEM_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:2000: -1- AC_DEFINE_TRACE_LITERAL([HAVE_OPENSSL_CRYPTO_H]) ++m4trace:configure.ac:2000: -1- m4_pattern_allow([^HAVE_OPENSSL_CRYPTO_H$]) ++m4trace:configure.ac:2000: -1- AH_OUTPUT([HAVE_OPENSSL_PEM_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_OPENSSL_PEM_H]) +-m4trace:configure.ac:2008: -1- AC_DEFINE_TRACE_LITERAL([HAVE_OPENSSL_PEM_H]) +-m4trace:configure.ac:2008: -1- m4_pattern_allow([^HAVE_OPENSSL_PEM_H$]) +-m4trace:configure.ac:2008: -1- AH_OUTPUT([HAVE_OPENSSL_SSL_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:2000: -1- AC_DEFINE_TRACE_LITERAL([HAVE_OPENSSL_PEM_H]) ++m4trace:configure.ac:2000: -1- m4_pattern_allow([^HAVE_OPENSSL_PEM_H$]) ++m4trace:configure.ac:2000: -1- AH_OUTPUT([HAVE_OPENSSL_SSL_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_OPENSSL_SSL_H]) +-m4trace:configure.ac:2008: -1- AC_DEFINE_TRACE_LITERAL([HAVE_OPENSSL_SSL_H]) +-m4trace:configure.ac:2008: -1- m4_pattern_allow([^HAVE_OPENSSL_SSL_H$]) +-m4trace:configure.ac:2008: -1- AH_OUTPUT([HAVE_OPENSSL_ERR_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:2000: -1- AC_DEFINE_TRACE_LITERAL([HAVE_OPENSSL_SSL_H]) ++m4trace:configure.ac:2000: -1- m4_pattern_allow([^HAVE_OPENSSL_SSL_H$]) ++m4trace:configure.ac:2000: -1- AH_OUTPUT([HAVE_OPENSSL_ERR_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_OPENSSL_ERR_H]) +-m4trace:configure.ac:2008: -1- AC_DEFINE_TRACE_LITERAL([HAVE_OPENSSL_ERR_H]) +-m4trace:configure.ac:2008: -1- m4_pattern_allow([^HAVE_OPENSSL_ERR_H$]) +-m4trace:configure.ac:2009: -1- AC_SUBST([PKGCONFIG]) +-m4trace:configure.ac:2009: -1- AC_SUBST_TRACE([PKGCONFIG]) +-m4trace:configure.ac:2009: -1- m4_pattern_allow([^PKGCONFIG$]) +-m4trace:configure.ac:2009: -1- AC_SUBST([SSL_LIBS]) +-m4trace:configure.ac:2009: -1- AC_SUBST_TRACE([SSL_LIBS]) +-m4trace:configure.ac:2009: -1- m4_pattern_allow([^SSL_LIBS$]) +-m4trace:configure.ac:2009: -1- AH_OUTPUT([HAVE_LIBSSL], [/* Define to 1 if you have the `ssl\' library (-lssl). */ ++m4trace:configure.ac:2000: -1- AC_DEFINE_TRACE_LITERAL([HAVE_OPENSSL_ERR_H]) ++m4trace:configure.ac:2000: -1- m4_pattern_allow([^HAVE_OPENSSL_ERR_H$]) ++m4trace:configure.ac:2001: -1- AC_SUBST([PKGCONFIG]) ++m4trace:configure.ac:2001: -1- AC_SUBST_TRACE([PKGCONFIG]) ++m4trace:configure.ac:2001: -1- m4_pattern_allow([^PKGCONFIG$]) ++m4trace:configure.ac:2001: -1- AC_SUBST([SSL_LIBS]) ++m4trace:configure.ac:2001: -1- AC_SUBST_TRACE([SSL_LIBS]) ++m4trace:configure.ac:2001: -1- m4_pattern_allow([^SSL_LIBS$]) ++m4trace:configure.ac:2001: -1- AH_OUTPUT([HAVE_LIBSSL], [/* Define to 1 if you have the `ssl\' library (-lssl). */ + @%:@undef HAVE_LIBSSL]) +-m4trace:configure.ac:2009: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBSSL]) +-m4trace:configure.ac:2009: -1- m4_pattern_allow([^HAVE_LIBSSL$]) +-m4trace:configure.ac:2009: -1- AH_OUTPUT([HAVE_LIBSSL], [/* Define to 1 if you have the `ssl\' library (-lssl). */ ++m4trace:configure.ac:2001: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBSSL]) ++m4trace:configure.ac:2001: -1- m4_pattern_allow([^HAVE_LIBSSL$]) ++m4trace:configure.ac:2001: -1- AH_OUTPUT([HAVE_LIBSSL], [/* Define to 1 if you have the `ssl\' library (-lssl). */ + @%:@undef HAVE_LIBSSL]) +-m4trace:configure.ac:2009: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBSSL]) +-m4trace:configure.ac:2009: -1- m4_pattern_allow([^HAVE_LIBSSL$]) +-m4trace:configure.ac:2009: -2- AC_DEFINE_TRACE_LITERAL([USE_OPENSSL]) +-m4trace:configure.ac:2009: -2- m4_pattern_allow([^USE_OPENSSL$]) +-m4trace:configure.ac:2009: -2- AH_OUTPUT([USE_OPENSSL], [/* if OpenSSL is in use */ ++m4trace:configure.ac:2001: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBSSL]) ++m4trace:configure.ac:2001: -1- m4_pattern_allow([^HAVE_LIBSSL$]) ++m4trace:configure.ac:2001: -2- AC_DEFINE_TRACE_LITERAL([USE_OPENSSL]) ++m4trace:configure.ac:2001: -2- m4_pattern_allow([^USE_OPENSSL$]) ++m4trace:configure.ac:2001: -2- AH_OUTPUT([USE_OPENSSL], [/* if OpenSSL is in use */ + @%:@undef USE_OPENSSL]) +-m4trace:configure.ac:2009: -1- AH_OUTPUT([HAVE_OPENSSL_X509_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:2001: -1- AH_OUTPUT([HAVE_OPENSSL_X509_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_OPENSSL_X509_H]) +-m4trace:configure.ac:2009: -1- AH_OUTPUT([HAVE_OPENSSL_RSA_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:2001: -1- AH_OUTPUT([HAVE_OPENSSL_RSA_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_OPENSSL_RSA_H]) +-m4trace:configure.ac:2009: -1- AH_OUTPUT([HAVE_OPENSSL_CRYPTO_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:2001: -1- AH_OUTPUT([HAVE_OPENSSL_CRYPTO_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_OPENSSL_CRYPTO_H]) +-m4trace:configure.ac:2009: -1- AH_OUTPUT([HAVE_OPENSSL_PEM_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:2001: -1- AH_OUTPUT([HAVE_OPENSSL_PEM_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_OPENSSL_PEM_H]) +-m4trace:configure.ac:2009: -1- AH_OUTPUT([HAVE_OPENSSL_SSL_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:2001: -1- AH_OUTPUT([HAVE_OPENSSL_SSL_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_OPENSSL_SSL_H]) +-m4trace:configure.ac:2009: -1- AH_OUTPUT([HAVE_OPENSSL_ERR_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:2001: -1- AH_OUTPUT([HAVE_OPENSSL_ERR_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_OPENSSL_ERR_H]) +-m4trace:configure.ac:2009: -1- AH_OUTPUT([HAVE_X509_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:2001: -1- AH_OUTPUT([HAVE_X509_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_X509_H]) +-m4trace:configure.ac:2009: -1- AC_DEFINE_TRACE_LITERAL([HAVE_X509_H]) +-m4trace:configure.ac:2009: -1- m4_pattern_allow([^HAVE_X509_H$]) +-m4trace:configure.ac:2009: -1- AH_OUTPUT([HAVE_RSA_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:2001: -1- AC_DEFINE_TRACE_LITERAL([HAVE_X509_H]) ++m4trace:configure.ac:2001: -1- m4_pattern_allow([^HAVE_X509_H$]) ++m4trace:configure.ac:2001: -1- AH_OUTPUT([HAVE_RSA_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_RSA_H]) +-m4trace:configure.ac:2009: -1- AC_DEFINE_TRACE_LITERAL([HAVE_RSA_H]) +-m4trace:configure.ac:2009: -1- m4_pattern_allow([^HAVE_RSA_H$]) +-m4trace:configure.ac:2009: -1- AH_OUTPUT([HAVE_CRYPTO_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:2001: -1- AC_DEFINE_TRACE_LITERAL([HAVE_RSA_H]) ++m4trace:configure.ac:2001: -1- m4_pattern_allow([^HAVE_RSA_H$]) ++m4trace:configure.ac:2001: -1- AH_OUTPUT([HAVE_CRYPTO_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_CRYPTO_H]) +-m4trace:configure.ac:2009: -1- AC_DEFINE_TRACE_LITERAL([HAVE_CRYPTO_H]) +-m4trace:configure.ac:2009: -1- m4_pattern_allow([^HAVE_CRYPTO_H$]) +-m4trace:configure.ac:2009: -1- AH_OUTPUT([HAVE_PEM_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:2001: -1- AC_DEFINE_TRACE_LITERAL([HAVE_CRYPTO_H]) ++m4trace:configure.ac:2001: -1- m4_pattern_allow([^HAVE_CRYPTO_H$]) ++m4trace:configure.ac:2001: -1- AH_OUTPUT([HAVE_PEM_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_PEM_H]) +-m4trace:configure.ac:2009: -1- AC_DEFINE_TRACE_LITERAL([HAVE_PEM_H]) +-m4trace:configure.ac:2009: -1- m4_pattern_allow([^HAVE_PEM_H$]) +-m4trace:configure.ac:2009: -1- AH_OUTPUT([HAVE_SSL_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:2001: -1- AC_DEFINE_TRACE_LITERAL([HAVE_PEM_H]) ++m4trace:configure.ac:2001: -1- m4_pattern_allow([^HAVE_PEM_H$]) ++m4trace:configure.ac:2001: -1- AH_OUTPUT([HAVE_SSL_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_SSL_H]) +-m4trace:configure.ac:2009: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SSL_H]) +-m4trace:configure.ac:2009: -1- m4_pattern_allow([^HAVE_SSL_H$]) +-m4trace:configure.ac:2009: -1- AH_OUTPUT([HAVE_ERR_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:2001: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SSL_H]) ++m4trace:configure.ac:2001: -1- m4_pattern_allow([^HAVE_SSL_H$]) ++m4trace:configure.ac:2001: -1- AH_OUTPUT([HAVE_ERR_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_ERR_H]) +-m4trace:configure.ac:2009: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ERR_H]) +-m4trace:configure.ac:2009: -1- m4_pattern_allow([^HAVE_ERR_H$]) +-m4trace:configure.ac:2009: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBRESSL]) +-m4trace:configure.ac:2009: -1- m4_pattern_allow([^HAVE_LIBRESSL$]) +-m4trace:configure.ac:2009: -1- AH_OUTPUT([HAVE_LIBRESSL], [/* Define to 1 if using libressl. */ ++m4trace:configure.ac:2001: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ERR_H]) ++m4trace:configure.ac:2001: -1- m4_pattern_allow([^HAVE_ERR_H$]) ++m4trace:configure.ac:2001: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBRESSL]) ++m4trace:configure.ac:2001: -1- m4_pattern_allow([^HAVE_LIBRESSL$]) ++m4trace:configure.ac:2001: -1- AH_OUTPUT([HAVE_LIBRESSL], [/* Define to 1 if using libressl. */ + @%:@undef HAVE_LIBRESSL]) +-m4trace:configure.ac:2009: -1- AC_DEFINE_TRACE_LITERAL([HAVE_OPENSSL3]) +-m4trace:configure.ac:2009: -1- m4_pattern_allow([^HAVE_OPENSSL3$]) +-m4trace:configure.ac:2009: -1- AH_OUTPUT([HAVE_OPENSSL3], [/* Define to 1 if using OpenSSL 3 or later. */ ++m4trace:configure.ac:2001: -1- AC_DEFINE_TRACE_LITERAL([HAVE_OPENSSL3]) ++m4trace:configure.ac:2001: -1- m4_pattern_allow([^HAVE_OPENSSL3$]) ++m4trace:configure.ac:2001: -1- AH_OUTPUT([HAVE_OPENSSL3], [/* Define to 1 if using OpenSSL 3 or later. */ + @%:@undef HAVE_OPENSSL3]) +-m4trace:configure.ac:2009: -1- _m4_warn([cross], [cannot check for file existence when cross compiling], [./lib/autoconf/general.m4:3010: AC_CHECK_FILE is expanded from... ++m4trace:configure.ac:2001: -1- AH_OUTPUT([HAVE_SSL_SET_QUIC_USE_LEGACY_CODEPOINT], [/* Define to 1 if you have the `SSL_set_quic_use_legacy_codepoint\' function. ++ */ ++@%:@undef HAVE_SSL_SET_QUIC_USE_LEGACY_CODEPOINT]) ++m4trace:configure.ac:2001: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SSL_SET_QUIC_USE_LEGACY_CODEPOINT]) ++m4trace:configure.ac:2001: -1- m4_pattern_allow([^HAVE_SSL_SET_QUIC_USE_LEGACY_CODEPOINT$]) ++m4trace:configure.ac:2001: -1- _m4_warn([cross], [cannot check for file existence when cross compiling], [./lib/autoconf/general.m4:3010: AC_CHECK_FILE is expanded from... + lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... + lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... + ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... + m4/curl-openssl.m4:32: CURL_WITH_OPENSSL is expanded from... +-configure.ac:2009: the top level]) +-m4trace:configure.ac:2009: -1- AC_SUBST([RANDOM_FILE]) +-m4trace:configure.ac:2009: -1- AC_SUBST_TRACE([RANDOM_FILE]) +-m4trace:configure.ac:2009: -1- m4_pattern_allow([^RANDOM_FILE$]) +-m4trace:configure.ac:2009: -1- AC_DEFINE_TRACE_LITERAL([RANDOM_FILE]) +-m4trace:configure.ac:2009: -1- m4_pattern_allow([^RANDOM_FILE$]) +-m4trace:configure.ac:2009: -1- AH_OUTPUT([RANDOM_FILE], [/* a suitable file to read random data from */ ++configure.ac:2001: the top level]) ++m4trace:configure.ac:2001: -1- AC_SUBST([RANDOM_FILE]) ++m4trace:configure.ac:2001: -1- AC_SUBST_TRACE([RANDOM_FILE]) ++m4trace:configure.ac:2001: -1- m4_pattern_allow([^RANDOM_FILE$]) ++m4trace:configure.ac:2001: -1- AC_DEFINE_TRACE_LITERAL([RANDOM_FILE]) ++m4trace:configure.ac:2001: -1- m4_pattern_allow([^RANDOM_FILE$]) ++m4trace:configure.ac:2001: -1- AH_OUTPUT([RANDOM_FILE], [/* a suitable file to read random data from */ + @%:@undef RANDOM_FILE]) +-m4trace:configure.ac:2009: -1- AC_DEFINE_TRACE_LITERAL([HAVE_OPENSSL_SRP]) +-m4trace:configure.ac:2009: -1- m4_pattern_allow([^HAVE_OPENSSL_SRP$]) +-m4trace:configure.ac:2009: -1- AH_OUTPUT([HAVE_OPENSSL_SRP], [/* if you have the functions SSL_CTX_set_srp_username and ++m4trace:configure.ac:2001: -1- AC_DEFINE_TRACE_LITERAL([HAVE_OPENSSL_SRP]) ++m4trace:configure.ac:2001: -1- m4_pattern_allow([^HAVE_OPENSSL_SRP$]) ++m4trace:configure.ac:2001: -1- AH_OUTPUT([HAVE_OPENSSL_SRP], [/* if you have the functions SSL_CTX_set_srp_username and + SSL_CTX_set_srp_password */ + @%:@undef HAVE_OPENSSL_SRP]) +-m4trace:configure.ac:2009: -1- AC_SUBST([HAVE_OPENSSL_SRP], [1]) +-m4trace:configure.ac:2009: -1- AC_SUBST_TRACE([HAVE_OPENSSL_SRP]) +-m4trace:configure.ac:2009: -1- m4_pattern_allow([^HAVE_OPENSSL_SRP$]) +-m4trace:configure.ac:2009: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_OPENSSL_AUTO_LOAD_CONFIG]) +-m4trace:configure.ac:2009: -1- m4_pattern_allow([^CURL_DISABLE_OPENSSL_AUTO_LOAD_CONFIG$]) +-m4trace:configure.ac:2009: -1- AH_OUTPUT([CURL_DISABLE_OPENSSL_AUTO_LOAD_CONFIG], [/* if the OpenSSL configuration won\'t be loaded automatically */ ++m4trace:configure.ac:2001: -1- AC_SUBST([HAVE_OPENSSL_SRP], [1]) ++m4trace:configure.ac:2001: -1- AC_SUBST_TRACE([HAVE_OPENSSL_SRP]) ++m4trace:configure.ac:2001: -1- m4_pattern_allow([^HAVE_OPENSSL_SRP$]) ++m4trace:configure.ac:2001: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_OPENSSL_AUTO_LOAD_CONFIG]) ++m4trace:configure.ac:2001: -1- m4_pattern_allow([^CURL_DISABLE_OPENSSL_AUTO_LOAD_CONFIG$]) ++m4trace:configure.ac:2001: -1- AH_OUTPUT([CURL_DISABLE_OPENSSL_AUTO_LOAD_CONFIG], [/* if the OpenSSL configuration won\'t be loaded automatically */ + @%:@undef CURL_DISABLE_OPENSSL_AUTO_LOAD_CONFIG]) +-m4trace:configure.ac:2010: -1- AC_SUBST([PKGCONFIG]) +-m4trace:configure.ac:2010: -1- AC_SUBST_TRACE([PKGCONFIG]) +-m4trace:configure.ac:2010: -1- m4_pattern_allow([^PKGCONFIG$]) +-m4trace:configure.ac:2010: -1- AC_DEFINE_TRACE_LITERAL([USE_GNUTLS]) +-m4trace:configure.ac:2010: -1- m4_pattern_allow([^USE_GNUTLS$]) +-m4trace:configure.ac:2010: -1- AH_OUTPUT([USE_GNUTLS], [/* if GnuTLS is enabled */ ++m4trace:configure.ac:2001: -1- AC_DEFINE_TRACE_LITERAL([HAVE_OPENSSL_QUIC]) ++m4trace:configure.ac:2001: -1- m4_pattern_allow([^HAVE_OPENSSL_QUIC$]) ++m4trace:configure.ac:2001: -1- AH_OUTPUT([HAVE_OPENSSL_QUIC], [/* if you have the functions OSSL_QUIC_client_method */ ++@%:@undef HAVE_OPENSSL_QUIC]) ++m4trace:configure.ac:2001: -1- AC_SUBST([HAVE_OPENSSL_QUIC], [1]) ++m4trace:configure.ac:2001: -1- AC_SUBST_TRACE([HAVE_OPENSSL_QUIC]) ++m4trace:configure.ac:2001: -1- m4_pattern_allow([^HAVE_OPENSSL_QUIC$]) ++m4trace:configure.ac:2002: -1- AC_SUBST([PKGCONFIG]) ++m4trace:configure.ac:2002: -1- AC_SUBST_TRACE([PKGCONFIG]) ++m4trace:configure.ac:2002: -1- m4_pattern_allow([^PKGCONFIG$]) ++m4trace:configure.ac:2002: -1- AC_DEFINE_TRACE_LITERAL([USE_GNUTLS]) ++m4trace:configure.ac:2002: -1- m4_pattern_allow([^USE_GNUTLS$]) ++m4trace:configure.ac:2002: -1- AH_OUTPUT([USE_GNUTLS], [/* if GnuTLS is enabled */ + @%:@undef USE_GNUTLS]) +-m4trace:configure.ac:2010: -1- AC_SUBST([USE_GNUTLS], [1]) +-m4trace:configure.ac:2010: -1- AC_SUBST_TRACE([USE_GNUTLS]) +-m4trace:configure.ac:2010: -1- m4_pattern_allow([^USE_GNUTLS$]) +-m4trace:configure.ac:2010: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GNUTLS_SRP]) +-m4trace:configure.ac:2010: -1- m4_pattern_allow([^HAVE_GNUTLS_SRP$]) +-m4trace:configure.ac:2010: -1- AH_OUTPUT([HAVE_GNUTLS_SRP], [/* if you have the function gnutls_srp_verifier */ ++m4trace:configure.ac:2002: -1- AC_SUBST([USE_GNUTLS], [1]) ++m4trace:configure.ac:2002: -1- AC_SUBST_TRACE([USE_GNUTLS]) ++m4trace:configure.ac:2002: -1- m4_pattern_allow([^USE_GNUTLS$]) ++m4trace:configure.ac:2002: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GNUTLS_SRP]) ++m4trace:configure.ac:2002: -1- m4_pattern_allow([^HAVE_GNUTLS_SRP$]) ++m4trace:configure.ac:2002: -1- AH_OUTPUT([HAVE_GNUTLS_SRP], [/* if you have the function gnutls_srp_verifier */ + @%:@undef HAVE_GNUTLS_SRP]) +-m4trace:configure.ac:2010: -1- AC_SUBST([HAVE_GNUTLS_SRP], [1]) +-m4trace:configure.ac:2010: -1- AC_SUBST_TRACE([HAVE_GNUTLS_SRP]) +-m4trace:configure.ac:2010: -1- m4_pattern_allow([^HAVE_GNUTLS_SRP$]) +-m4trace:configure.ac:2011: -1- AC_DEFINE_TRACE_LITERAL([USE_MBEDTLS]) +-m4trace:configure.ac:2011: -1- m4_pattern_allow([^USE_MBEDTLS$]) +-m4trace:configure.ac:2011: -1- AH_OUTPUT([USE_MBEDTLS], [/* if mbedTLS is enabled */ ++m4trace:configure.ac:2002: -1- AC_SUBST([HAVE_GNUTLS_SRP], [1]) ++m4trace:configure.ac:2002: -1- AC_SUBST_TRACE([HAVE_GNUTLS_SRP]) ++m4trace:configure.ac:2002: -1- m4_pattern_allow([^HAVE_GNUTLS_SRP$]) ++m4trace:configure.ac:2003: -1- AC_DEFINE_TRACE_LITERAL([USE_MBEDTLS]) ++m4trace:configure.ac:2003: -1- m4_pattern_allow([^USE_MBEDTLS$]) ++m4trace:configure.ac:2003: -1- AH_OUTPUT([USE_MBEDTLS], [/* if mbedTLS is enabled */ + @%:@undef USE_MBEDTLS]) +-m4trace:configure.ac:2011: -1- AC_SUBST([USE_MBEDTLS], [1]) +-m4trace:configure.ac:2011: -1- AC_SUBST_TRACE([USE_MBEDTLS]) +-m4trace:configure.ac:2011: -1- m4_pattern_allow([^USE_MBEDTLS$]) +-m4trace:configure.ac:2011: -1- AC_DEFINE_TRACE_LITERAL([USE_MBEDTLS]) +-m4trace:configure.ac:2011: -1- m4_pattern_allow([^USE_MBEDTLS$]) +-m4trace:configure.ac:2011: -1- AH_OUTPUT([USE_MBEDTLS], [/* if mbedTLS is enabled */ ++m4trace:configure.ac:2003: -1- AC_SUBST([USE_MBEDTLS], [1]) ++m4trace:configure.ac:2003: -1- AC_SUBST_TRACE([USE_MBEDTLS]) ++m4trace:configure.ac:2003: -1- m4_pattern_allow([^USE_MBEDTLS$]) ++m4trace:configure.ac:2003: -1- AC_DEFINE_TRACE_LITERAL([USE_MBEDTLS]) ++m4trace:configure.ac:2003: -1- m4_pattern_allow([^USE_MBEDTLS$]) ++m4trace:configure.ac:2003: -1- AH_OUTPUT([USE_MBEDTLS], [/* if mbedTLS is enabled */ + @%:@undef USE_MBEDTLS]) +-m4trace:configure.ac:2011: -1- AC_SUBST([USE_MBEDTLS], [1]) +-m4trace:configure.ac:2011: -1- AC_SUBST_TRACE([USE_MBEDTLS]) +-m4trace:configure.ac:2011: -1- m4_pattern_allow([^USE_MBEDTLS$]) +-m4trace:configure.ac:2012: -1- AC_SUBST([PKGCONFIG]) +-m4trace:configure.ac:2012: -1- AC_SUBST_TRACE([PKGCONFIG]) +-m4trace:configure.ac:2012: -1- m4_pattern_allow([^PKGCONFIG$]) +-m4trace:configure.ac:2012: -1- AC_DEFINE_TRACE_LITERAL([USE_WOLFSSL]) +-m4trace:configure.ac:2012: -1- m4_pattern_allow([^USE_WOLFSSL$]) +-m4trace:configure.ac:2012: -1- AH_OUTPUT([USE_WOLFSSL], [/* if wolfSSL is enabled */ ++m4trace:configure.ac:2003: -1- AC_SUBST([USE_MBEDTLS], [1]) ++m4trace:configure.ac:2003: -1- AC_SUBST_TRACE([USE_MBEDTLS]) ++m4trace:configure.ac:2003: -1- m4_pattern_allow([^USE_MBEDTLS$]) ++m4trace:configure.ac:2004: -1- AC_SUBST([PKGCONFIG]) ++m4trace:configure.ac:2004: -1- AC_SUBST_TRACE([PKGCONFIG]) ++m4trace:configure.ac:2004: -1- m4_pattern_allow([^PKGCONFIG$]) ++m4trace:configure.ac:2004: -1- AC_DEFINE_TRACE_LITERAL([USE_WOLFSSL]) ++m4trace:configure.ac:2004: -1- m4_pattern_allow([^USE_WOLFSSL$]) ++m4trace:configure.ac:2004: -1- AH_OUTPUT([USE_WOLFSSL], [/* if wolfSSL is enabled */ + @%:@undef USE_WOLFSSL]) +-m4trace:configure.ac:2012: -1- AC_SUBST([USE_WOLFSSL], [1]) +-m4trace:configure.ac:2012: -1- AC_SUBST_TRACE([USE_WOLFSSL]) +-m4trace:configure.ac:2012: -1- m4_pattern_allow([^USE_WOLFSSL$]) +-m4trace:configure.ac:2012: -1- AC_DEFINE_TRACE_LITERAL([SIZEOF_LONG_LONG]) +-m4trace:configure.ac:2012: -1- m4_pattern_allow([^SIZEOF_LONG_LONG$]) +-m4trace:configure.ac:2012: -1- AH_OUTPUT([SIZEOF_LONG_LONG], [/* Size of long long in number of bytes */ ++m4trace:configure.ac:2004: -1- AC_SUBST([USE_WOLFSSL], [1]) ++m4trace:configure.ac:2004: -1- AC_SUBST_TRACE([USE_WOLFSSL]) ++m4trace:configure.ac:2004: -1- m4_pattern_allow([^USE_WOLFSSL$]) ++m4trace:configure.ac:2004: -1- AC_DEFINE_TRACE_LITERAL([SIZEOF_LONG_LONG]) ++m4trace:configure.ac:2004: -1- m4_pattern_allow([^SIZEOF_LONG_LONG$]) ++m4trace:configure.ac:2004: -1- AH_OUTPUT([SIZEOF_LONG_LONG], [/* Size of long long in number of bytes */ + @%:@undef SIZEOF_LONG_LONG]) +-m4trace:configure.ac:2012: -1- AH_OUTPUT([HAVE_WOLFSSL_GET_PEER_CERTIFICATE], [/* Define to 1 if you have the `wolfSSL_get_peer_certificate\' function. */ ++m4trace:configure.ac:2004: -1- AH_OUTPUT([HAVE_WOLFSSL_GET_PEER_CERTIFICATE], [/* Define to 1 if you have the `wolfSSL_get_peer_certificate\' function. */ + @%:@undef HAVE_WOLFSSL_GET_PEER_CERTIFICATE]) +-m4trace:configure.ac:2012: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WOLFSSL_GET_PEER_CERTIFICATE]) +-m4trace:configure.ac:2012: -1- m4_pattern_allow([^HAVE_WOLFSSL_GET_PEER_CERTIFICATE$]) +-m4trace:configure.ac:2012: -1- AH_OUTPUT([HAVE_WOLFSSL_USEALPN], [/* Define to 1 if you have the `wolfSSL_UseALPN\' function. */ ++m4trace:configure.ac:2004: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WOLFSSL_GET_PEER_CERTIFICATE]) ++m4trace:configure.ac:2004: -1- m4_pattern_allow([^HAVE_WOLFSSL_GET_PEER_CERTIFICATE$]) ++m4trace:configure.ac:2004: -1- AH_OUTPUT([HAVE_WOLFSSL_USEALPN], [/* Define to 1 if you have the `wolfSSL_UseALPN\' function. */ + @%:@undef HAVE_WOLFSSL_USEALPN]) +-m4trace:configure.ac:2012: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WOLFSSL_USEALPN]) +-m4trace:configure.ac:2012: -1- m4_pattern_allow([^HAVE_WOLFSSL_USEALPN$]) +-m4trace:configure.ac:2012: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WOLFSSL_DES_ECB_ENCRYPT]) +-m4trace:configure.ac:2012: -1- m4_pattern_allow([^HAVE_WOLFSSL_DES_ECB_ENCRYPT$]) +-m4trace:configure.ac:2012: -1- AH_OUTPUT([HAVE_WOLFSSL_DES_ECB_ENCRYPT], [/* if you have wolfSSL_DES_ecb_encrypt */ ++m4trace:configure.ac:2004: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WOLFSSL_USEALPN]) ++m4trace:configure.ac:2004: -1- m4_pattern_allow([^HAVE_WOLFSSL_USEALPN$]) ++m4trace:configure.ac:2004: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WOLFSSL_DES_ECB_ENCRYPT]) ++m4trace:configure.ac:2004: -1- m4_pattern_allow([^HAVE_WOLFSSL_DES_ECB_ENCRYPT$]) ++m4trace:configure.ac:2004: -1- AH_OUTPUT([HAVE_WOLFSSL_DES_ECB_ENCRYPT], [/* if you have wolfSSL_DES_ecb_encrypt */ + @%:@undef HAVE_WOLFSSL_DES_ECB_ENCRYPT]) +-m4trace:configure.ac:2012: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WOLFSSL_FULL_BIO]) +-m4trace:configure.ac:2012: -1- m4_pattern_allow([^HAVE_WOLFSSL_FULL_BIO$]) +-m4trace:configure.ac:2012: -1- AH_OUTPUT([HAVE_WOLFSSL_FULL_BIO], [/* if you have wolfSSL_BIO_set_shutdown */ ++m4trace:configure.ac:2004: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WOLFSSL_FULL_BIO]) ++m4trace:configure.ac:2004: -1- m4_pattern_allow([^HAVE_WOLFSSL_FULL_BIO$]) ++m4trace:configure.ac:2004: -1- AH_OUTPUT([HAVE_WOLFSSL_FULL_BIO], [/* if you have wolfSSL_BIO_set_shutdown */ + @%:@undef HAVE_WOLFSSL_FULL_BIO]) +-m4trace:configure.ac:2013: -1- AC_DEFINE_TRACE_LITERAL([USE_BEARSSL]) +-m4trace:configure.ac:2013: -1- m4_pattern_allow([^USE_BEARSSL$]) +-m4trace:configure.ac:2013: -1- AH_OUTPUT([USE_BEARSSL], [/* if BearSSL is enabled */ ++m4trace:configure.ac:2005: -1- AC_DEFINE_TRACE_LITERAL([USE_BEARSSL]) ++m4trace:configure.ac:2005: -1- m4_pattern_allow([^USE_BEARSSL$]) ++m4trace:configure.ac:2005: -1- AH_OUTPUT([USE_BEARSSL], [/* if BearSSL is enabled */ + @%:@undef USE_BEARSSL]) +-m4trace:configure.ac:2013: -1- AC_SUBST([USE_BEARSSL], [1]) +-m4trace:configure.ac:2013: -1- AC_SUBST_TRACE([USE_BEARSSL]) +-m4trace:configure.ac:2013: -1- m4_pattern_allow([^USE_BEARSSL$]) +-m4trace:configure.ac:2013: -1- AC_DEFINE_TRACE_LITERAL([USE_BEARSSL]) +-m4trace:configure.ac:2013: -1- m4_pattern_allow([^USE_BEARSSL$]) +-m4trace:configure.ac:2013: -1- AH_OUTPUT([USE_BEARSSL], [/* if BearSSL is enabled */ ++m4trace:configure.ac:2005: -1- AC_SUBST([USE_BEARSSL], [1]) ++m4trace:configure.ac:2005: -1- AC_SUBST_TRACE([USE_BEARSSL]) ++m4trace:configure.ac:2005: -1- m4_pattern_allow([^USE_BEARSSL$]) ++m4trace:configure.ac:2005: -1- AC_DEFINE_TRACE_LITERAL([USE_BEARSSL]) ++m4trace:configure.ac:2005: -1- m4_pattern_allow([^USE_BEARSSL$]) ++m4trace:configure.ac:2005: -1- AH_OUTPUT([USE_BEARSSL], [/* if BearSSL is enabled */ + @%:@undef USE_BEARSSL]) +-m4trace:configure.ac:2013: -1- AC_SUBST([USE_BEARSSL], [1]) +-m4trace:configure.ac:2013: -1- AC_SUBST_TRACE([USE_BEARSSL]) +-m4trace:configure.ac:2013: -1- m4_pattern_allow([^USE_BEARSSL$]) +-m4trace:configure.ac:2014: -1- AC_DEFINE_TRACE_LITERAL([USE_RUSTLS]) +-m4trace:configure.ac:2014: -1- m4_pattern_allow([^USE_RUSTLS$]) +-m4trace:configure.ac:2014: -1- AH_OUTPUT([USE_RUSTLS], [/* if rustls is enabled */ ++m4trace:configure.ac:2005: -1- AC_SUBST([USE_BEARSSL], [1]) ++m4trace:configure.ac:2005: -1- AC_SUBST_TRACE([USE_BEARSSL]) ++m4trace:configure.ac:2005: -1- m4_pattern_allow([^USE_BEARSSL$]) ++m4trace:configure.ac:2006: -1- AC_DEFINE_TRACE_LITERAL([USE_RUSTLS]) ++m4trace:configure.ac:2006: -1- m4_pattern_allow([^USE_RUSTLS$]) ++m4trace:configure.ac:2006: -1- AH_OUTPUT([USE_RUSTLS], [/* if rustls is enabled */ + @%:@undef USE_RUSTLS]) +-m4trace:configure.ac:2014: -1- AC_SUBST([USE_RUSTLS], [1]) +-m4trace:configure.ac:2014: -1- AC_SUBST_TRACE([USE_RUSTLS]) +-m4trace:configure.ac:2014: -1- m4_pattern_allow([^USE_RUSTLS$]) +-m4trace:configure.ac:2014: -1- AC_DEFINE_TRACE_LITERAL([USE_RUSTLS]) +-m4trace:configure.ac:2014: -1- m4_pattern_allow([^USE_RUSTLS$]) +-m4trace:configure.ac:2014: -1- AH_OUTPUT([USE_RUSTLS], [/* if rustls is enabled */ +-@%:@undef USE_RUSTLS]) +-m4trace:configure.ac:2014: -1- AC_SUBST([USE_RUSTLS], [1]) +-m4trace:configure.ac:2014: -1- AC_SUBST_TRACE([USE_RUSTLS]) +-m4trace:configure.ac:2014: -1- m4_pattern_allow([^USE_RUSTLS$]) +-m4trace:configure.ac:2034: -1- AC_SUBST([SSL_ENABLED]) +-m4trace:configure.ac:2034: -1- AC_SUBST_TRACE([SSL_ENABLED]) +-m4trace:configure.ac:2034: -1- m4_pattern_allow([^SSL_ENABLED$]) +-m4trace:configure.ac:2048: -1- AC_SUBST([SSL_ENABLED]) +-m4trace:configure.ac:2048: -1- AC_SUBST_TRACE([SSL_ENABLED]) +-m4trace:configure.ac:2048: -1- m4_pattern_allow([^SSL_ENABLED$]) +-m4trace:configure.ac:2050: -1- AC_SUBST([CURL_WITH_MULTI_SSL]) +-m4trace:configure.ac:2050: -1- AC_SUBST_TRACE([CURL_WITH_MULTI_SSL]) +-m4trace:configure.ac:2050: -1- m4_pattern_allow([^CURL_WITH_MULTI_SSL$]) +-m4trace:configure.ac:2052: -1- AC_DEFINE_TRACE_LITERAL([CURL_WITH_MULTI_SSL]) +-m4trace:configure.ac:2052: -1- m4_pattern_allow([^CURL_WITH_MULTI_SSL$]) +-m4trace:configure.ac:2052: -1- AH_OUTPUT([CURL_WITH_MULTI_SSL], [/* built with multiple SSL backends */ ++m4trace:configure.ac:2006: -1- AC_SUBST([USE_RUSTLS], [1]) ++m4trace:configure.ac:2006: -1- AC_SUBST_TRACE([USE_RUSTLS]) ++m4trace:configure.ac:2006: -1- m4_pattern_allow([^USE_RUSTLS$]) ++m4trace:configure.ac:2006: -1- AC_SUBST([PKGCONFIG]) ++m4trace:configure.ac:2006: -1- AC_SUBST_TRACE([PKGCONFIG]) ++m4trace:configure.ac:2006: -1- m4_pattern_allow([^PKGCONFIG$]) ++m4trace:configure.ac:2006: -1- AC_SUBST([SSL_LIBS]) ++m4trace:configure.ac:2006: -1- AC_SUBST_TRACE([SSL_LIBS]) ++m4trace:configure.ac:2006: -1- m4_pattern_allow([^SSL_LIBS$]) ++m4trace:configure.ac:2026: -1- AC_SUBST([SSL_ENABLED]) ++m4trace:configure.ac:2026: -1- AC_SUBST_TRACE([SSL_ENABLED]) ++m4trace:configure.ac:2026: -1- m4_pattern_allow([^SSL_ENABLED$]) ++m4trace:configure.ac:2040: -1- AC_SUBST([SSL_ENABLED]) ++m4trace:configure.ac:2040: -1- AC_SUBST_TRACE([SSL_ENABLED]) ++m4trace:configure.ac:2040: -1- m4_pattern_allow([^SSL_ENABLED$]) ++m4trace:configure.ac:2042: -1- AC_SUBST([CURL_WITH_MULTI_SSL]) ++m4trace:configure.ac:2042: -1- AC_SUBST_TRACE([CURL_WITH_MULTI_SSL]) ++m4trace:configure.ac:2042: -1- m4_pattern_allow([^CURL_WITH_MULTI_SSL$]) ++m4trace:configure.ac:2044: -1- AC_DEFINE_TRACE_LITERAL([CURL_WITH_MULTI_SSL]) ++m4trace:configure.ac:2044: -1- m4_pattern_allow([^CURL_WITH_MULTI_SSL$]) ++m4trace:configure.ac:2044: -1- AH_OUTPUT([CURL_WITH_MULTI_SSL], [/* built with multiple SSL backends */ + @%:@undef CURL_WITH_MULTI_SSL]) +-m4trace:configure.ac:2071: -1- AC_DEFINE_TRACE_LITERAL([CURL_DEFAULT_SSL_BACKEND]) +-m4trace:configure.ac:2071: -1- m4_pattern_allow([^CURL_DEFAULT_SSL_BACKEND$]) +-m4trace:configure.ac:2071: -1- AH_OUTPUT([CURL_DEFAULT_SSL_BACKEND], [/* Default SSL backend */ ++m4trace:configure.ac:2063: -1- AC_DEFINE_TRACE_LITERAL([CURL_DEFAULT_SSL_BACKEND]) ++m4trace:configure.ac:2063: -1- m4_pattern_allow([^CURL_DEFAULT_SSL_BACKEND$]) ++m4trace:configure.ac:2063: -1- AH_OUTPUT([CURL_DEFAULT_SSL_BACKEND], [/* Default SSL backend */ + @%:@undef CURL_DEFAULT_SSL_BACKEND]) +-m4trace:configure.ac:2079: -1- AC_DEFINE_TRACE_LITERAL([CURL_CA_BUNDLE]) +-m4trace:configure.ac:2079: -1- m4_pattern_allow([^CURL_CA_BUNDLE$]) +-m4trace:configure.ac:2079: -1- AH_OUTPUT([CURL_CA_BUNDLE], [/* Location of default ca bundle */ ++m4trace:configure.ac:2071: -1- AC_DEFINE_TRACE_LITERAL([CURL_CA_BUNDLE]) ++m4trace:configure.ac:2071: -1- m4_pattern_allow([^CURL_CA_BUNDLE$]) ++m4trace:configure.ac:2071: -1- AH_OUTPUT([CURL_CA_BUNDLE], [/* Location of default ca bundle */ + @%:@undef CURL_CA_BUNDLE]) +-m4trace:configure.ac:2079: -1- AC_SUBST([CURL_CA_BUNDLE]) +-m4trace:configure.ac:2079: -1- AC_SUBST_TRACE([CURL_CA_BUNDLE]) +-m4trace:configure.ac:2079: -1- m4_pattern_allow([^CURL_CA_BUNDLE$]) +-m4trace:configure.ac:2079: -1- AC_DEFINE_TRACE_LITERAL([CURL_CA_PATH]) +-m4trace:configure.ac:2079: -1- m4_pattern_allow([^CURL_CA_PATH$]) +-m4trace:configure.ac:2079: -1- AH_OUTPUT([CURL_CA_PATH], [/* Location of default ca path */ ++m4trace:configure.ac:2071: -1- AC_SUBST([CURL_CA_BUNDLE]) ++m4trace:configure.ac:2071: -1- AC_SUBST_TRACE([CURL_CA_BUNDLE]) ++m4trace:configure.ac:2071: -1- m4_pattern_allow([^CURL_CA_BUNDLE$]) ++m4trace:configure.ac:2071: -1- AC_DEFINE_TRACE_LITERAL([CURL_CA_PATH]) ++m4trace:configure.ac:2071: -1- m4_pattern_allow([^CURL_CA_PATH$]) ++m4trace:configure.ac:2071: -1- AH_OUTPUT([CURL_CA_PATH], [/* Location of default ca path */ + @%:@undef CURL_CA_PATH]) +-m4trace:configure.ac:2079: -1- AC_DEFINE_TRACE_LITERAL([CURL_CA_FALLBACK]) +-m4trace:configure.ac:2079: -1- m4_pattern_allow([^CURL_CA_FALLBACK$]) +-m4trace:configure.ac:2079: -1- AH_OUTPUT([CURL_CA_FALLBACK], [/* define "1" to use built in CA store of SSL library */ ++m4trace:configure.ac:2071: -1- AC_DEFINE_TRACE_LITERAL([CURL_CA_FALLBACK]) ++m4trace:configure.ac:2071: -1- m4_pattern_allow([^CURL_CA_FALLBACK$]) ++m4trace:configure.ac:2071: -1- AH_OUTPUT([CURL_CA_FALLBACK], [/* define "1" to use built in CA store of SSL library */ + @%:@undef CURL_CA_FALLBACK]) +-m4trace:configure.ac:2092: -1- AC_DEFINE_TRACE_LITERAL([USE_LIBPSL]) +-m4trace:configure.ac:2092: -1- m4_pattern_allow([^USE_LIBPSL$]) +-m4trace:configure.ac:2092: -1- AH_OUTPUT([USE_LIBPSL], [/* PSL support enabled */ ++m4trace:configure.ac:2094: -1- AC_SUBST([PKGCONFIG]) ++m4trace:configure.ac:2094: -1- AC_SUBST_TRACE([PKGCONFIG]) ++m4trace:configure.ac:2094: -1- m4_pattern_allow([^PKGCONFIG$]) ++m4trace:configure.ac:2127: -2- AC_DEFINE_TRACE_LITERAL([USE_LIBPSL]) ++m4trace:configure.ac:2127: -2- m4_pattern_allow([^USE_LIBPSL$]) ++m4trace:configure.ac:2127: -2- AH_OUTPUT([USE_LIBPSL], [/* if libpsl is in use */ + @%:@undef USE_LIBPSL]) +-m4trace:configure.ac:2101: -1- AM_CONDITIONAL([USE_LIBPSL], [test "$curl_psl_msg" = "enabled"]) +-m4trace:configure.ac:2101: -1- AC_SUBST([USE_LIBPSL_TRUE]) +-m4trace:configure.ac:2101: -1- AC_SUBST_TRACE([USE_LIBPSL_TRUE]) +-m4trace:configure.ac:2101: -1- m4_pattern_allow([^USE_LIBPSL_TRUE$]) +-m4trace:configure.ac:2101: -1- AC_SUBST([USE_LIBPSL_FALSE]) +-m4trace:configure.ac:2101: -1- AC_SUBST_TRACE([USE_LIBPSL_FALSE]) +-m4trace:configure.ac:2101: -1- m4_pattern_allow([^USE_LIBPSL_FALSE$]) +-m4trace:configure.ac:2101: -1- _AM_SUBST_NOTMAKE([USE_LIBPSL_TRUE]) +-m4trace:configure.ac:2101: -1- _AM_SUBST_NOTMAKE([USE_LIBPSL_FALSE]) +-m4trace:configure.ac:2114: -1- AC_DEFINE_TRACE_LITERAL([USE_GSASL]) +-m4trace:configure.ac:2114: -1- m4_pattern_allow([^USE_GSASL$]) +-m4trace:configure.ac:2114: -1- AH_OUTPUT([USE_GSASL], [/* GSASL support enabled */ ++m4trace:configure.ac:2127: -2- AC_SUBST([USE_LIBPSL], [1]) ++m4trace:configure.ac:2127: -2- AC_SUBST_TRACE([USE_LIBPSL]) ++m4trace:configure.ac:2127: -2- m4_pattern_allow([^USE_LIBPSL$]) ++m4trace:configure.ac:2127: -1- AH_OUTPUT([HAVE_LIBPSL_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_LIBPSL_H]) ++m4trace:configure.ac:2127: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBPSL_H]) ++m4trace:configure.ac:2127: -1- m4_pattern_allow([^HAVE_LIBPSL_H$]) ++m4trace:configure.ac:2147: -1- AM_CONDITIONAL([USE_LIBPSL], [test "$curl_psl_msg" = "enabled"]) ++m4trace:configure.ac:2147: -1- AC_SUBST([USE_LIBPSL_TRUE]) ++m4trace:configure.ac:2147: -1- AC_SUBST_TRACE([USE_LIBPSL_TRUE]) ++m4trace:configure.ac:2147: -1- m4_pattern_allow([^USE_LIBPSL_TRUE$]) ++m4trace:configure.ac:2147: -1- AC_SUBST([USE_LIBPSL_FALSE]) ++m4trace:configure.ac:2147: -1- AC_SUBST_TRACE([USE_LIBPSL_FALSE]) ++m4trace:configure.ac:2147: -1- m4_pattern_allow([^USE_LIBPSL_FALSE$]) ++m4trace:configure.ac:2147: -1- _AM_SUBST_NOTMAKE([USE_LIBPSL_TRUE]) ++m4trace:configure.ac:2147: -1- _AM_SUBST_NOTMAKE([USE_LIBPSL_FALSE]) ++m4trace:configure.ac:2160: -1- AC_DEFINE_TRACE_LITERAL([USE_GSASL]) ++m4trace:configure.ac:2160: -1- m4_pattern_allow([^USE_GSASL$]) ++m4trace:configure.ac:2160: -1- AH_OUTPUT([USE_GSASL], [/* GSASL support enabled */ + @%:@undef USE_GSASL]) +-m4trace:configure.ac:2123: -1- AM_CONDITIONAL([USE_GSASL], [test "$curl_gsasl_msg" = "enabled"]) +-m4trace:configure.ac:2123: -1- AC_SUBST([USE_GSASL_TRUE]) +-m4trace:configure.ac:2123: -1- AC_SUBST_TRACE([USE_GSASL_TRUE]) +-m4trace:configure.ac:2123: -1- m4_pattern_allow([^USE_GSASL_TRUE$]) +-m4trace:configure.ac:2123: -1- AC_SUBST([USE_GSASL_FALSE]) +-m4trace:configure.ac:2123: -1- AC_SUBST_TRACE([USE_GSASL_FALSE]) +-m4trace:configure.ac:2123: -1- m4_pattern_allow([^USE_GSASL_FALSE$]) +-m4trace:configure.ac:2123: -1- _AM_SUBST_NOTMAKE([USE_GSASL_TRUE]) +-m4trace:configure.ac:2123: -1- _AM_SUBST_NOTMAKE([USE_GSASL_FALSE]) +-m4trace:configure.ac:2161: -1- AC_SUBST([PKGCONFIG]) +-m4trace:configure.ac:2161: -1- AC_SUBST_TRACE([PKGCONFIG]) +-m4trace:configure.ac:2161: -1- m4_pattern_allow([^PKGCONFIG$]) +-m4trace:configure.ac:2194: -1- AH_OUTPUT([HAVE_LIBSSH2], [/* Define to 1 if you have the `ssh2\' library (-lssh2). */ ++m4trace:configure.ac:2169: -1- AM_CONDITIONAL([USE_GSASL], [test "$curl_gsasl_msg" = "enabled"]) ++m4trace:configure.ac:2169: -1- AC_SUBST([USE_GSASL_TRUE]) ++m4trace:configure.ac:2169: -1- AC_SUBST_TRACE([USE_GSASL_TRUE]) ++m4trace:configure.ac:2169: -1- m4_pattern_allow([^USE_GSASL_TRUE$]) ++m4trace:configure.ac:2169: -1- AC_SUBST([USE_GSASL_FALSE]) ++m4trace:configure.ac:2169: -1- AC_SUBST_TRACE([USE_GSASL_FALSE]) ++m4trace:configure.ac:2169: -1- m4_pattern_allow([^USE_GSASL_FALSE$]) ++m4trace:configure.ac:2169: -1- _AM_SUBST_NOTMAKE([USE_GSASL_TRUE]) ++m4trace:configure.ac:2169: -1- _AM_SUBST_NOTMAKE([USE_GSASL_FALSE]) ++m4trace:configure.ac:2207: -1- AC_SUBST([PKGCONFIG]) ++m4trace:configure.ac:2207: -1- AC_SUBST_TRACE([PKGCONFIG]) ++m4trace:configure.ac:2207: -1- m4_pattern_allow([^PKGCONFIG$]) ++m4trace:configure.ac:2240: -1- AH_OUTPUT([HAVE_LIBSSH2], [/* Define to 1 if you have the `ssh2\' library (-lssh2). */ + @%:@undef HAVE_LIBSSH2]) +-m4trace:configure.ac:2194: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBSSH2]) +-m4trace:configure.ac:2194: -1- m4_pattern_allow([^HAVE_LIBSSH2$]) +-m4trace:configure.ac:2199: -2- AC_DEFINE_TRACE_LITERAL([USE_LIBSSH2]) +-m4trace:configure.ac:2199: -2- m4_pattern_allow([^USE_LIBSSH2$]) +-m4trace:configure.ac:2199: -2- AH_OUTPUT([USE_LIBSSH2], [/* if libSSH2 is in use */ ++m4trace:configure.ac:2240: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBSSH2]) ++m4trace:configure.ac:2240: -1- m4_pattern_allow([^HAVE_LIBSSH2$]) ++m4trace:configure.ac:2245: -2- AC_DEFINE_TRACE_LITERAL([USE_LIBSSH2]) ++m4trace:configure.ac:2245: -2- m4_pattern_allow([^USE_LIBSSH2$]) ++m4trace:configure.ac:2245: -2- AH_OUTPUT([USE_LIBSSH2], [/* if libSSH2 is in use */ + @%:@undef USE_LIBSSH2]) +-m4trace:configure.ac:2200: -2- AC_SUBST([USE_LIBSSH2], [1]) +-m4trace:configure.ac:2200: -2- AC_SUBST_TRACE([USE_LIBSSH2]) +-m4trace:configure.ac:2200: -2- m4_pattern_allow([^USE_LIBSSH2$]) +-m4trace:configure.ac:2235: -1- AC_SUBST([PKGCONFIG]) +-m4trace:configure.ac:2235: -1- AC_SUBST_TRACE([PKGCONFIG]) +-m4trace:configure.ac:2235: -1- m4_pattern_allow([^PKGCONFIG$]) +-m4trace:configure.ac:2267: -1- AH_OUTPUT([HAVE_LIBSSH], [/* Define to 1 if you have the `ssh\' library (-lssh). */ ++m4trace:configure.ac:2246: -2- AC_SUBST([USE_LIBSSH2], [1]) ++m4trace:configure.ac:2246: -2- AC_SUBST_TRACE([USE_LIBSSH2]) ++m4trace:configure.ac:2246: -2- m4_pattern_allow([^USE_LIBSSH2$]) ++m4trace:configure.ac:2281: -1- AC_SUBST([PKGCONFIG]) ++m4trace:configure.ac:2281: -1- AC_SUBST_TRACE([PKGCONFIG]) ++m4trace:configure.ac:2281: -1- m4_pattern_allow([^PKGCONFIG$]) ++m4trace:configure.ac:2313: -1- AH_OUTPUT([HAVE_LIBSSH], [/* Define to 1 if you have the `ssh\' library (-lssh). */ + @%:@undef HAVE_LIBSSH]) +-m4trace:configure.ac:2267: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBSSH]) +-m4trace:configure.ac:2267: -1- m4_pattern_allow([^HAVE_LIBSSH$]) +-m4trace:configure.ac:2272: -2- AC_DEFINE_TRACE_LITERAL([USE_LIBSSH]) +-m4trace:configure.ac:2272: -2- m4_pattern_allow([^USE_LIBSSH$]) +-m4trace:configure.ac:2272: -2- AH_OUTPUT([USE_LIBSSH], [/* if libSSH is in use */ ++m4trace:configure.ac:2313: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBSSH]) ++m4trace:configure.ac:2313: -1- m4_pattern_allow([^HAVE_LIBSSH$]) ++m4trace:configure.ac:2318: -2- AC_DEFINE_TRACE_LITERAL([USE_LIBSSH]) ++m4trace:configure.ac:2318: -2- m4_pattern_allow([^USE_LIBSSH$]) ++m4trace:configure.ac:2318: -2- AH_OUTPUT([USE_LIBSSH], [/* if libSSH is in use */ + @%:@undef USE_LIBSSH]) +-m4trace:configure.ac:2273: -2- AC_SUBST([USE_LIBSSH], [1]) +-m4trace:configure.ac:2273: -2- AC_SUBST_TRACE([USE_LIBSSH]) +-m4trace:configure.ac:2273: -2- m4_pattern_allow([^USE_LIBSSH$]) +-m4trace:configure.ac:2312: -1- AH_OUTPUT([HAVE_LIBWOLFSSH], [/* Define to 1 if you have the `wolfssh\' library (-lwolfssh). */ ++m4trace:configure.ac:2319: -2- AC_SUBST([USE_LIBSSH], [1]) ++m4trace:configure.ac:2319: -2- AC_SUBST_TRACE([USE_LIBSSH]) ++m4trace:configure.ac:2319: -2- m4_pattern_allow([^USE_LIBSSH$]) ++m4trace:configure.ac:2358: -1- AH_OUTPUT([HAVE_LIBWOLFSSH], [/* Define to 1 if you have the `wolfssh\' library (-lwolfssh). */ + @%:@undef HAVE_LIBWOLFSSH]) +-m4trace:configure.ac:2312: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBWOLFSSH]) +-m4trace:configure.ac:2312: -1- m4_pattern_allow([^HAVE_LIBWOLFSSH$]) +-m4trace:configure.ac:2317: -2- AC_DEFINE_TRACE_LITERAL([USE_WOLFSSH]) +-m4trace:configure.ac:2317: -2- m4_pattern_allow([^USE_WOLFSSH$]) +-m4trace:configure.ac:2317: -2- AH_OUTPUT([USE_WOLFSSH], [/* if wolfSSH is in use */ ++m4trace:configure.ac:2358: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBWOLFSSH]) ++m4trace:configure.ac:2358: -1- m4_pattern_allow([^HAVE_LIBWOLFSSH$]) ++m4trace:configure.ac:2363: -2- AC_DEFINE_TRACE_LITERAL([USE_WOLFSSH]) ++m4trace:configure.ac:2363: -2- m4_pattern_allow([^USE_WOLFSSH$]) ++m4trace:configure.ac:2363: -2- AH_OUTPUT([USE_WOLFSSH], [/* if wolfSSH is in use */ + @%:@undef USE_WOLFSSH]) +-m4trace:configure.ac:2318: -2- AC_SUBST([USE_WOLFSSH], [1]) +-m4trace:configure.ac:2318: -2- AC_SUBST_TRACE([USE_WOLFSSH]) +-m4trace:configure.ac:2318: -2- m4_pattern_allow([^USE_WOLFSSH$]) +-m4trace:configure.ac:2314: -1- AH_OUTPUT([HAVE_WOLFSSH_SSH_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:2364: -2- AC_SUBST([USE_WOLFSSH], [1]) ++m4trace:configure.ac:2364: -2- AC_SUBST_TRACE([USE_WOLFSSH]) ++m4trace:configure.ac:2364: -2- m4_pattern_allow([^USE_WOLFSSH$]) ++m4trace:configure.ac:2360: -1- AH_OUTPUT([HAVE_WOLFSSH_SSH_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_WOLFSSH_SSH_H]) +-m4trace:configure.ac:2314: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WOLFSSH_SSH_H]) +-m4trace:configure.ac:2314: -1- m4_pattern_allow([^HAVE_WOLFSSH_SSH_H$]) +-m4trace:configure.ac:2343: -1- AC_SUBST([PKGCONFIG]) +-m4trace:configure.ac:2343: -1- AC_SUBST_TRACE([PKGCONFIG]) +-m4trace:configure.ac:2343: -1- m4_pattern_allow([^PKGCONFIG$]) +-m4trace:configure.ac:2380: -2- AC_DEFINE_TRACE_LITERAL([USE_LIBRTMP]) +-m4trace:configure.ac:2380: -2- m4_pattern_allow([^USE_LIBRTMP$]) +-m4trace:configure.ac:2380: -2- AH_OUTPUT([USE_LIBRTMP], [/* if librtmp is in use */ ++m4trace:configure.ac:2360: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WOLFSSH_SSH_H]) ++m4trace:configure.ac:2360: -1- m4_pattern_allow([^HAVE_WOLFSSH_SSH_H$]) ++m4trace:configure.ac:2389: -1- AC_SUBST([PKGCONFIG]) ++m4trace:configure.ac:2389: -1- AC_SUBST_TRACE([PKGCONFIG]) ++m4trace:configure.ac:2389: -1- m4_pattern_allow([^PKGCONFIG$]) ++m4trace:configure.ac:2426: -2- AC_DEFINE_TRACE_LITERAL([USE_LIBRTMP]) ++m4trace:configure.ac:2426: -2- m4_pattern_allow([^USE_LIBRTMP$]) ++m4trace:configure.ac:2426: -2- AH_OUTPUT([USE_LIBRTMP], [/* if librtmp is in use */ + @%:@undef USE_LIBRTMP]) +-m4trace:configure.ac:2380: -2- AC_SUBST([USE_LIBRTMP], [1]) +-m4trace:configure.ac:2380: -2- AC_SUBST_TRACE([USE_LIBRTMP]) +-m4trace:configure.ac:2380: -2- m4_pattern_allow([^USE_LIBRTMP$]) +-m4trace:configure.ac:2380: -1- AH_OUTPUT([HAVE_LIBRTMP_RTMP_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:2426: -2- AC_SUBST([USE_LIBRTMP], [1]) ++m4trace:configure.ac:2426: -2- AC_SUBST_TRACE([USE_LIBRTMP]) ++m4trace:configure.ac:2426: -2- m4_pattern_allow([^USE_LIBRTMP$]) ++m4trace:configure.ac:2426: -1- AH_OUTPUT([HAVE_LIBRTMP_RTMP_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_LIBRTMP_RTMP_H]) +-m4trace:configure.ac:2380: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBRTMP_RTMP_H]) +-m4trace:configure.ac:2380: -1- m4_pattern_allow([^HAVE_LIBRTMP_RTMP_H$]) +-m4trace:configure.ac:2447: -1- AC_SUBST([CURL_LT_SHLIB_VERSIONED_FLAVOUR], ["$versioned_symbols_flavour"]) +-m4trace:configure.ac:2447: -1- AC_SUBST_TRACE([CURL_LT_SHLIB_VERSIONED_FLAVOUR]) +-m4trace:configure.ac:2447: -1- m4_pattern_allow([^CURL_LT_SHLIB_VERSIONED_FLAVOUR$]) +-m4trace:configure.ac:2449: -1- AM_CONDITIONAL([CURL_LT_SHLIB_USE_VERSIONED_SYMBOLS], [test "x$versioned_symbols" = 'xyes']) +-m4trace:configure.ac:2449: -1- AC_SUBST([CURL_LT_SHLIB_USE_VERSIONED_SYMBOLS_TRUE]) +-m4trace:configure.ac:2449: -1- AC_SUBST_TRACE([CURL_LT_SHLIB_USE_VERSIONED_SYMBOLS_TRUE]) +-m4trace:configure.ac:2449: -1- m4_pattern_allow([^CURL_LT_SHLIB_USE_VERSIONED_SYMBOLS_TRUE$]) +-m4trace:configure.ac:2449: -1- AC_SUBST([CURL_LT_SHLIB_USE_VERSIONED_SYMBOLS_FALSE]) +-m4trace:configure.ac:2449: -1- AC_SUBST_TRACE([CURL_LT_SHLIB_USE_VERSIONED_SYMBOLS_FALSE]) +-m4trace:configure.ac:2449: -1- m4_pattern_allow([^CURL_LT_SHLIB_USE_VERSIONED_SYMBOLS_FALSE$]) +-m4trace:configure.ac:2449: -1- _AM_SUBST_NOTMAKE([CURL_LT_SHLIB_USE_VERSIONED_SYMBOLS_TRUE]) +-m4trace:configure.ac:2449: -1- _AM_SUBST_NOTMAKE([CURL_LT_SHLIB_USE_VERSIONED_SYMBOLS_FALSE]) +-m4trace:configure.ac:2453: -1- AC_SUBST([CURL_PLIST_VERSION], ["$CURLVERSION"]) +-m4trace:configure.ac:2453: -1- AC_SUBST_TRACE([CURL_PLIST_VERSION]) +-m4trace:configure.ac:2453: -1- m4_pattern_allow([^CURL_PLIST_VERSION$]) +-m4trace:configure.ac:2541: -1- AC_DEFINE_TRACE_LITERAL([USE_WIN32_IDN]) +-m4trace:configure.ac:2541: -1- m4_pattern_allow([^USE_WIN32_IDN$]) +-m4trace:configure.ac:2541: -1- AH_OUTPUT([USE_WIN32_IDN], [/* Define to 1 if you have the `normaliz\' (WinIDN) library (-lnormaliz). */ ++m4trace:configure.ac:2426: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBRTMP_RTMP_H]) ++m4trace:configure.ac:2426: -1- m4_pattern_allow([^HAVE_LIBRTMP_RTMP_H$]) ++m4trace:configure.ac:2493: -1- AC_SUBST([CURL_LT_SHLIB_VERSIONED_FLAVOUR], ["$versioned_symbols_flavour"]) ++m4trace:configure.ac:2493: -1- AC_SUBST_TRACE([CURL_LT_SHLIB_VERSIONED_FLAVOUR]) ++m4trace:configure.ac:2493: -1- m4_pattern_allow([^CURL_LT_SHLIB_VERSIONED_FLAVOUR$]) ++m4trace:configure.ac:2495: -1- AM_CONDITIONAL([CURL_LT_SHLIB_USE_VERSIONED_SYMBOLS], [test "x$versioned_symbols" = 'xyes']) ++m4trace:configure.ac:2495: -1- AC_SUBST([CURL_LT_SHLIB_USE_VERSIONED_SYMBOLS_TRUE]) ++m4trace:configure.ac:2495: -1- AC_SUBST_TRACE([CURL_LT_SHLIB_USE_VERSIONED_SYMBOLS_TRUE]) ++m4trace:configure.ac:2495: -1- m4_pattern_allow([^CURL_LT_SHLIB_USE_VERSIONED_SYMBOLS_TRUE$]) ++m4trace:configure.ac:2495: -1- AC_SUBST([CURL_LT_SHLIB_USE_VERSIONED_SYMBOLS_FALSE]) ++m4trace:configure.ac:2495: -1- AC_SUBST_TRACE([CURL_LT_SHLIB_USE_VERSIONED_SYMBOLS_FALSE]) ++m4trace:configure.ac:2495: -1- m4_pattern_allow([^CURL_LT_SHLIB_USE_VERSIONED_SYMBOLS_FALSE$]) ++m4trace:configure.ac:2495: -1- _AM_SUBST_NOTMAKE([CURL_LT_SHLIB_USE_VERSIONED_SYMBOLS_TRUE]) ++m4trace:configure.ac:2495: -1- _AM_SUBST_NOTMAKE([CURL_LT_SHLIB_USE_VERSIONED_SYMBOLS_FALSE]) ++m4trace:configure.ac:2499: -1- AC_SUBST([CURL_PLIST_VERSION], ["$CURLVERSION"]) ++m4trace:configure.ac:2499: -1- AC_SUBST_TRACE([CURL_PLIST_VERSION]) ++m4trace:configure.ac:2499: -1- m4_pattern_allow([^CURL_PLIST_VERSION$]) ++m4trace:configure.ac:2587: -1- AC_DEFINE_TRACE_LITERAL([USE_WIN32_IDN]) ++m4trace:configure.ac:2587: -1- m4_pattern_allow([^USE_WIN32_IDN$]) ++m4trace:configure.ac:2587: -1- AH_OUTPUT([USE_WIN32_IDN], [/* Define to 1 if you have the `normaliz\' (WinIDN) library (-lnormaliz). */ + @%:@undef USE_WIN32_IDN]) +-m4trace:configure.ac:2542: -1- AC_SUBST([IDN_ENABLED], [1]) +-m4trace:configure.ac:2542: -1- AC_SUBST_TRACE([IDN_ENABLED]) +-m4trace:configure.ac:2542: -1- m4_pattern_allow([^IDN_ENABLED$]) +-m4trace:configure.ac:2604: -1- AC_SUBST([PKGCONFIG]) +-m4trace:configure.ac:2604: -1- AC_SUBST_TRACE([PKGCONFIG]) +-m4trace:configure.ac:2604: -1- m4_pattern_allow([^PKGCONFIG$]) +-m4trace:configure.ac:2622: -1- AC_SUBST([PKGCONFIG]) +-m4trace:configure.ac:2622: -1- AC_SUBST_TRACE([PKGCONFIG]) +-m4trace:configure.ac:2622: -1- m4_pattern_allow([^PKGCONFIG$]) +-m4trace:configure.ac:2661: -1- AH_OUTPUT([HAVE_IDN2_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:2588: -1- AC_SUBST([IDN_ENABLED], [1]) ++m4trace:configure.ac:2588: -1- AC_SUBST_TRACE([IDN_ENABLED]) ++m4trace:configure.ac:2588: -1- m4_pattern_allow([^IDN_ENABLED$]) ++m4trace:configure.ac:2650: -1- AC_SUBST([PKGCONFIG]) ++m4trace:configure.ac:2650: -1- AC_SUBST_TRACE([PKGCONFIG]) ++m4trace:configure.ac:2650: -1- m4_pattern_allow([^PKGCONFIG$]) ++m4trace:configure.ac:2668: -1- AC_SUBST([PKGCONFIG]) ++m4trace:configure.ac:2668: -1- AC_SUBST_TRACE([PKGCONFIG]) ++m4trace:configure.ac:2668: -1- m4_pattern_allow([^PKGCONFIG$]) ++m4trace:configure.ac:2707: -1- AH_OUTPUT([HAVE_IDN2_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_IDN2_H]) +-m4trace:configure.ac:2661: -1- AC_DEFINE_TRACE_LITERAL([HAVE_IDN2_H]) +-m4trace:configure.ac:2661: -1- m4_pattern_allow([^HAVE_IDN2_H$]) +-m4trace:configure.ac:2664: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBIDN2]) +-m4trace:configure.ac:2664: -1- m4_pattern_allow([^HAVE_LIBIDN2$]) +-m4trace:configure.ac:2664: -1- AH_OUTPUT([HAVE_LIBIDN2], [/* Define to 1 if you have the `idn2\' library (-lidn2). */ ++m4trace:configure.ac:2707: -1- AC_DEFINE_TRACE_LITERAL([HAVE_IDN2_H]) ++m4trace:configure.ac:2707: -1- m4_pattern_allow([^HAVE_IDN2_H$]) ++m4trace:configure.ac:2710: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBIDN2]) ++m4trace:configure.ac:2710: -1- m4_pattern_allow([^HAVE_LIBIDN2$]) ++m4trace:configure.ac:2710: -1- AH_OUTPUT([HAVE_LIBIDN2], [/* Define to 1 if you have the `idn2\' library (-lidn2). */ + @%:@undef HAVE_LIBIDN2]) +-m4trace:configure.ac:2667: -1- AC_SUBST([IDN_ENABLED], [1]) +-m4trace:configure.ac:2667: -1- AC_SUBST_TRACE([IDN_ENABLED]) +-m4trace:configure.ac:2667: -1- m4_pattern_allow([^IDN_ENABLED$]) +-m4trace:configure.ac:2722: -1- AC_SUBST([PKGCONFIG]) +-m4trace:configure.ac:2722: -1- AC_SUBST_TRACE([PKGCONFIG]) +-m4trace:configure.ac:2722: -1- m4_pattern_allow([^PKGCONFIG$]) +-m4trace:configure.ac:2757: -2- AC_DEFINE_TRACE_LITERAL([USE_NGHTTP2]) +-m4trace:configure.ac:2757: -2- m4_pattern_allow([^USE_NGHTTP2$]) +-m4trace:configure.ac:2757: -2- AH_OUTPUT([USE_NGHTTP2], [/* if nghttp2 is in use */ ++m4trace:configure.ac:2713: -1- AC_SUBST([IDN_ENABLED], [1]) ++m4trace:configure.ac:2713: -1- AC_SUBST_TRACE([IDN_ENABLED]) ++m4trace:configure.ac:2713: -1- m4_pattern_allow([^IDN_ENABLED$]) ++m4trace:configure.ac:2768: -1- AC_SUBST([PKGCONFIG]) ++m4trace:configure.ac:2768: -1- AC_SUBST_TRACE([PKGCONFIG]) ++m4trace:configure.ac:2768: -1- m4_pattern_allow([^PKGCONFIG$]) ++m4trace:configure.ac:2803: -2- AC_DEFINE_TRACE_LITERAL([USE_NGHTTP2]) ++m4trace:configure.ac:2803: -2- m4_pattern_allow([^USE_NGHTTP2$]) ++m4trace:configure.ac:2803: -2- AH_OUTPUT([USE_NGHTTP2], [/* if nghttp2 is in use */ + @%:@undef USE_NGHTTP2]) +-m4trace:configure.ac:2757: -2- AC_SUBST([USE_NGHTTP2], [1]) +-m4trace:configure.ac:2757: -2- AC_SUBST_TRACE([USE_NGHTTP2]) +-m4trace:configure.ac:2757: -2- m4_pattern_allow([^USE_NGHTTP2$]) +-m4trace:configure.ac:2757: -1- AH_OUTPUT([HAVE_NGHTTP2_NGHTTP2_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:2803: -2- AC_SUBST([USE_NGHTTP2], [1]) ++m4trace:configure.ac:2803: -2- AC_SUBST_TRACE([USE_NGHTTP2]) ++m4trace:configure.ac:2803: -2- m4_pattern_allow([^USE_NGHTTP2$]) ++m4trace:configure.ac:2803: -1- AH_OUTPUT([HAVE_NGHTTP2_NGHTTP2_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_NGHTTP2_NGHTTP2_H]) +-m4trace:configure.ac:2757: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NGHTTP2_NGHTTP2_H]) +-m4trace:configure.ac:2757: -1- m4_pattern_allow([^HAVE_NGHTTP2_NGHTTP2_H$]) +-m4trace:configure.ac:2816: -1- AC_SUBST([PKGCONFIG]) +-m4trace:configure.ac:2816: -1- AC_SUBST_TRACE([PKGCONFIG]) +-m4trace:configure.ac:2816: -1- m4_pattern_allow([^PKGCONFIG$]) +-m4trace:configure.ac:2838: -2- AC_DEFINE_TRACE_LITERAL([USE_NGTCP2]) +-m4trace:configure.ac:2838: -2- m4_pattern_allow([^USE_NGTCP2$]) +-m4trace:configure.ac:2838: -2- AH_OUTPUT([USE_NGTCP2], [/* if ngtcp2 is in use */ ++m4trace:configure.ac:2803: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NGHTTP2_NGHTTP2_H]) ++m4trace:configure.ac:2803: -1- m4_pattern_allow([^HAVE_NGHTTP2_NGHTTP2_H$]) ++m4trace:configure.ac:2867: -1- AC_SUBST([PKGCONFIG]) ++m4trace:configure.ac:2867: -1- AC_SUBST_TRACE([PKGCONFIG]) ++m4trace:configure.ac:2867: -1- m4_pattern_allow([^PKGCONFIG$]) ++m4trace:configure.ac:2889: -2- AC_DEFINE_TRACE_LITERAL([USE_NGTCP2]) ++m4trace:configure.ac:2889: -2- m4_pattern_allow([^USE_NGTCP2$]) ++m4trace:configure.ac:2889: -2- AH_OUTPUT([USE_NGTCP2], [/* if ngtcp2 is in use */ + @%:@undef USE_NGTCP2]) +-m4trace:configure.ac:2838: -2- AC_SUBST([USE_NGTCP2], [1]) +-m4trace:configure.ac:2838: -2- AC_SUBST_TRACE([USE_NGTCP2]) +-m4trace:configure.ac:2838: -2- m4_pattern_allow([^USE_NGTCP2$]) +-m4trace:configure.ac:2838: -1- AH_OUTPUT([HAVE_NGTCP2_NGTCP2_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:2889: -2- AC_SUBST([USE_NGTCP2], [1]) ++m4trace:configure.ac:2889: -2- AC_SUBST_TRACE([USE_NGTCP2]) ++m4trace:configure.ac:2889: -2- m4_pattern_allow([^USE_NGTCP2$]) ++m4trace:configure.ac:2889: -1- AH_OUTPUT([HAVE_NGTCP2_NGTCP2_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_NGTCP2_NGTCP2_H]) +-m4trace:configure.ac:2838: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NGTCP2_NGTCP2_H]) +-m4trace:configure.ac:2838: -1- m4_pattern_allow([^HAVE_NGTCP2_NGTCP2_H$]) +-m4trace:configure.ac:2872: -1- AC_SUBST([PKGCONFIG]) +-m4trace:configure.ac:2872: -1- AC_SUBST_TRACE([PKGCONFIG]) +-m4trace:configure.ac:2872: -1- m4_pattern_allow([^PKGCONFIG$]) +-m4trace:configure.ac:2894: -2- AC_DEFINE_TRACE_LITERAL([USE_NGTCP2_CRYPTO_QUICTLS]) +-m4trace:configure.ac:2894: -2- m4_pattern_allow([^USE_NGTCP2_CRYPTO_QUICTLS$]) +-m4trace:configure.ac:2894: -2- AH_OUTPUT([USE_NGTCP2_CRYPTO_QUICTLS], [/* if ngtcp2_crypto_quictls is in use */ ++m4trace:configure.ac:2889: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NGTCP2_NGTCP2_H]) ++m4trace:configure.ac:2889: -1- m4_pattern_allow([^HAVE_NGTCP2_NGTCP2_H$]) ++m4trace:configure.ac:2923: -1- AC_SUBST([PKGCONFIG]) ++m4trace:configure.ac:2923: -1- AC_SUBST_TRACE([PKGCONFIG]) ++m4trace:configure.ac:2923: -1- m4_pattern_allow([^PKGCONFIG$]) ++m4trace:configure.ac:2945: -2- AC_DEFINE_TRACE_LITERAL([USE_NGTCP2_CRYPTO_QUICTLS]) ++m4trace:configure.ac:2945: -2- m4_pattern_allow([^USE_NGTCP2_CRYPTO_QUICTLS$]) ++m4trace:configure.ac:2945: -2- AH_OUTPUT([USE_NGTCP2_CRYPTO_QUICTLS], [/* if ngtcp2_crypto_quictls is in use */ + @%:@undef USE_NGTCP2_CRYPTO_QUICTLS]) +-m4trace:configure.ac:2894: -2- AC_SUBST([USE_NGTCP2_CRYPTO_QUICTLS], [1]) +-m4trace:configure.ac:2894: -2- AC_SUBST_TRACE([USE_NGTCP2_CRYPTO_QUICTLS]) +-m4trace:configure.ac:2894: -2- m4_pattern_allow([^USE_NGTCP2_CRYPTO_QUICTLS$]) +-m4trace:configure.ac:2894: -1- AH_OUTPUT([HAVE_NGTCP2_NGTCP2_CRYPTO_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:2945: -2- AC_SUBST([USE_NGTCP2_CRYPTO_QUICTLS], [1]) ++m4trace:configure.ac:2945: -2- AC_SUBST_TRACE([USE_NGTCP2_CRYPTO_QUICTLS]) ++m4trace:configure.ac:2945: -2- m4_pattern_allow([^USE_NGTCP2_CRYPTO_QUICTLS$]) ++m4trace:configure.ac:2945: -1- AH_OUTPUT([HAVE_NGTCP2_NGTCP2_CRYPTO_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_NGTCP2_NGTCP2_CRYPTO_H]) ++m4trace:configure.ac:2945: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NGTCP2_NGTCP2_CRYPTO_H]) ++m4trace:configure.ac:2945: -1- m4_pattern_allow([^HAVE_NGTCP2_NGTCP2_CRYPTO_H$]) ++m4trace:configure.ac:2978: -1- AC_SUBST([PKGCONFIG]) ++m4trace:configure.ac:2978: -1- AC_SUBST_TRACE([PKGCONFIG]) ++m4trace:configure.ac:2978: -1- m4_pattern_allow([^PKGCONFIG$]) ++m4trace:configure.ac:3000: -2- AC_DEFINE_TRACE_LITERAL([USE_NGTCP2_CRYPTO_BORINGSSL]) ++m4trace:configure.ac:3000: -2- m4_pattern_allow([^USE_NGTCP2_CRYPTO_BORINGSSL$]) ++m4trace:configure.ac:3000: -2- AH_OUTPUT([USE_NGTCP2_CRYPTO_BORINGSSL], [/* if ngtcp2_crypto_boringssl is in use */ ++@%:@undef USE_NGTCP2_CRYPTO_BORINGSSL]) ++m4trace:configure.ac:3000: -2- AC_SUBST([USE_NGTCP2_CRYPTO_BORINGSSL], [1]) ++m4trace:configure.ac:3000: -2- AC_SUBST_TRACE([USE_NGTCP2_CRYPTO_BORINGSSL]) ++m4trace:configure.ac:3000: -2- m4_pattern_allow([^USE_NGTCP2_CRYPTO_BORINGSSL$]) ++m4trace:configure.ac:3000: -1- AH_OUTPUT([HAVE_NGTCP2_NGTCP2_CRYPTO_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_NGTCP2_NGTCP2_CRYPTO_H]) +-m4trace:configure.ac:2894: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NGTCP2_NGTCP2_CRYPTO_H]) +-m4trace:configure.ac:2894: -1- m4_pattern_allow([^HAVE_NGTCP2_NGTCP2_CRYPTO_H$]) +-m4trace:configure.ac:2927: -1- AC_SUBST([PKGCONFIG]) +-m4trace:configure.ac:2927: -1- AC_SUBST_TRACE([PKGCONFIG]) +-m4trace:configure.ac:2927: -1- m4_pattern_allow([^PKGCONFIG$]) +-m4trace:configure.ac:2949: -2- AC_DEFINE_TRACE_LITERAL([USE_NGTCP2_CRYPTO_GNUTLS]) +-m4trace:configure.ac:2949: -2- m4_pattern_allow([^USE_NGTCP2_CRYPTO_GNUTLS$]) +-m4trace:configure.ac:2949: -2- AH_OUTPUT([USE_NGTCP2_CRYPTO_GNUTLS], [/* if ngtcp2_crypto_gnutls is in use */ ++m4trace:configure.ac:3000: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NGTCP2_NGTCP2_CRYPTO_H]) ++m4trace:configure.ac:3000: -1- m4_pattern_allow([^HAVE_NGTCP2_NGTCP2_CRYPTO_H$]) ++m4trace:configure.ac:3033: -1- AC_SUBST([PKGCONFIG]) ++m4trace:configure.ac:3033: -1- AC_SUBST_TRACE([PKGCONFIG]) ++m4trace:configure.ac:3033: -1- m4_pattern_allow([^PKGCONFIG$]) ++m4trace:configure.ac:3055: -2- AC_DEFINE_TRACE_LITERAL([USE_NGTCP2_CRYPTO_GNUTLS]) ++m4trace:configure.ac:3055: -2- m4_pattern_allow([^USE_NGTCP2_CRYPTO_GNUTLS$]) ++m4trace:configure.ac:3055: -2- AH_OUTPUT([USE_NGTCP2_CRYPTO_GNUTLS], [/* if ngtcp2_crypto_gnutls is in use */ + @%:@undef USE_NGTCP2_CRYPTO_GNUTLS]) +-m4trace:configure.ac:2949: -2- AC_SUBST([USE_NGTCP2_CRYPTO_GNUTLS], [1]) +-m4trace:configure.ac:2949: -2- AC_SUBST_TRACE([USE_NGTCP2_CRYPTO_GNUTLS]) +-m4trace:configure.ac:2949: -2- m4_pattern_allow([^USE_NGTCP2_CRYPTO_GNUTLS$]) +-m4trace:configure.ac:2949: -1- AH_OUTPUT([HAVE_NGTCP2_NGTCP2_CRYPTO_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3055: -2- AC_SUBST([USE_NGTCP2_CRYPTO_GNUTLS], [1]) ++m4trace:configure.ac:3055: -2- AC_SUBST_TRACE([USE_NGTCP2_CRYPTO_GNUTLS]) ++m4trace:configure.ac:3055: -2- m4_pattern_allow([^USE_NGTCP2_CRYPTO_GNUTLS$]) ++m4trace:configure.ac:3055: -1- AH_OUTPUT([HAVE_NGTCP2_NGTCP2_CRYPTO_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_NGTCP2_NGTCP2_CRYPTO_H]) +-m4trace:configure.ac:2949: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NGTCP2_NGTCP2_CRYPTO_H]) +-m4trace:configure.ac:2949: -1- m4_pattern_allow([^HAVE_NGTCP2_NGTCP2_CRYPTO_H$]) +-m4trace:configure.ac:2982: -1- AC_SUBST([PKGCONFIG]) +-m4trace:configure.ac:2982: -1- AC_SUBST_TRACE([PKGCONFIG]) +-m4trace:configure.ac:2982: -1- m4_pattern_allow([^PKGCONFIG$]) +-m4trace:configure.ac:3004: -2- AC_DEFINE_TRACE_LITERAL([USE_NGTCP2_CRYPTO_WOLFSSL]) +-m4trace:configure.ac:3004: -2- m4_pattern_allow([^USE_NGTCP2_CRYPTO_WOLFSSL$]) +-m4trace:configure.ac:3004: -2- AH_OUTPUT([USE_NGTCP2_CRYPTO_WOLFSSL], [/* if ngtcp2_crypto_wolfssl is in use */ ++m4trace:configure.ac:3055: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NGTCP2_NGTCP2_CRYPTO_H]) ++m4trace:configure.ac:3055: -1- m4_pattern_allow([^HAVE_NGTCP2_NGTCP2_CRYPTO_H$]) ++m4trace:configure.ac:3088: -1- AC_SUBST([PKGCONFIG]) ++m4trace:configure.ac:3088: -1- AC_SUBST_TRACE([PKGCONFIG]) ++m4trace:configure.ac:3088: -1- m4_pattern_allow([^PKGCONFIG$]) ++m4trace:configure.ac:3110: -2- AC_DEFINE_TRACE_LITERAL([USE_NGTCP2_CRYPTO_WOLFSSL]) ++m4trace:configure.ac:3110: -2- m4_pattern_allow([^USE_NGTCP2_CRYPTO_WOLFSSL$]) ++m4trace:configure.ac:3110: -2- AH_OUTPUT([USE_NGTCP2_CRYPTO_WOLFSSL], [/* if ngtcp2_crypto_wolfssl is in use */ + @%:@undef USE_NGTCP2_CRYPTO_WOLFSSL]) +-m4trace:configure.ac:3004: -2- AC_SUBST([USE_NGTCP2_CRYPTO_WOLFSSL], [1]) +-m4trace:configure.ac:3004: -2- AC_SUBST_TRACE([USE_NGTCP2_CRYPTO_WOLFSSL]) +-m4trace:configure.ac:3004: -2- m4_pattern_allow([^USE_NGTCP2_CRYPTO_WOLFSSL$]) +-m4trace:configure.ac:3004: -1- AH_OUTPUT([HAVE_NGTCP2_NGTCP2_CRYPTO_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3110: -2- AC_SUBST([USE_NGTCP2_CRYPTO_WOLFSSL], [1]) ++m4trace:configure.ac:3110: -2- AC_SUBST_TRACE([USE_NGTCP2_CRYPTO_WOLFSSL]) ++m4trace:configure.ac:3110: -2- m4_pattern_allow([^USE_NGTCP2_CRYPTO_WOLFSSL$]) ++m4trace:configure.ac:3110: -1- AH_OUTPUT([HAVE_NGTCP2_NGTCP2_CRYPTO_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_NGTCP2_NGTCP2_CRYPTO_H]) +-m4trace:configure.ac:3004: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NGTCP2_NGTCP2_CRYPTO_H]) +-m4trace:configure.ac:3004: -1- m4_pattern_allow([^HAVE_NGTCP2_NGTCP2_CRYPTO_H$]) +-m4trace:configure.ac:3070: -1- AC_SUBST([PKGCONFIG]) +-m4trace:configure.ac:3070: -1- AC_SUBST_TRACE([PKGCONFIG]) +-m4trace:configure.ac:3070: -1- m4_pattern_allow([^PKGCONFIG$]) +-m4trace:configure.ac:3092: -2- AC_DEFINE_TRACE_LITERAL([USE_NGHTTP3]) +-m4trace:configure.ac:3092: -2- m4_pattern_allow([^USE_NGHTTP3$]) +-m4trace:configure.ac:3092: -2- AH_OUTPUT([USE_NGHTTP3], [/* if nghttp3 is in use */ ++m4trace:configure.ac:3110: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NGTCP2_NGTCP2_CRYPTO_H]) ++m4trace:configure.ac:3110: -1- m4_pattern_allow([^HAVE_NGTCP2_NGTCP2_CRYPTO_H$]) ++m4trace:configure.ac:3172: -1- AC_DEFINE_TRACE_LITERAL([USE_OPENSSL_QUIC]) ++m4trace:configure.ac:3172: -1- m4_pattern_allow([^USE_OPENSSL_QUIC$]) ++m4trace:configure.ac:3172: -1- AH_OUTPUT([USE_OPENSSL_QUIC], [/* if openssl QUIC is in use */ ++@%:@undef USE_OPENSSL_QUIC]) ++m4trace:configure.ac:3173: -1- AC_SUBST([USE_OPENSSL_QUIC], [1]) ++m4trace:configure.ac:3173: -1- AC_SUBST_TRACE([USE_OPENSSL_QUIC]) ++m4trace:configure.ac:3173: -1- m4_pattern_allow([^USE_OPENSSL_QUIC$]) ++m4trace:configure.ac:3217: -1- AC_SUBST([PKGCONFIG]) ++m4trace:configure.ac:3217: -1- AC_SUBST_TRACE([PKGCONFIG]) ++m4trace:configure.ac:3217: -1- m4_pattern_allow([^PKGCONFIG$]) ++m4trace:configure.ac:3239: -2- AC_DEFINE_TRACE_LITERAL([USE_NGHTTP3]) ++m4trace:configure.ac:3239: -2- m4_pattern_allow([^USE_NGHTTP3$]) ++m4trace:configure.ac:3239: -2- AH_OUTPUT([USE_NGHTTP3], [/* if nghttp3 is in use */ + @%:@undef USE_NGHTTP3]) +-m4trace:configure.ac:3092: -2- AC_SUBST([USE_NGHTTP3], [1]) +-m4trace:configure.ac:3092: -2- AC_SUBST_TRACE([USE_NGHTTP3]) +-m4trace:configure.ac:3092: -2- m4_pattern_allow([^USE_NGHTTP3$]) +-m4trace:configure.ac:3092: -1- AH_OUTPUT([HAVE_NGHTTP3_NGHTTP3_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3239: -2- AC_SUBST([USE_NGHTTP3], [1]) ++m4trace:configure.ac:3239: -2- AC_SUBST_TRACE([USE_NGHTTP3]) ++m4trace:configure.ac:3239: -2- m4_pattern_allow([^USE_NGHTTP3$]) ++m4trace:configure.ac:3239: -1- AH_OUTPUT([HAVE_NGHTTP3_NGHTTP3_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_NGHTTP3_NGHTTP3_H]) +-m4trace:configure.ac:3092: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NGHTTP3_NGHTTP3_H]) +-m4trace:configure.ac:3092: -1- m4_pattern_allow([^HAVE_NGHTTP3_NGHTTP3_H$]) +-m4trace:configure.ac:3165: -1- AC_SUBST([PKGCONFIG]) +-m4trace:configure.ac:3165: -1- AC_SUBST_TRACE([PKGCONFIG]) +-m4trace:configure.ac:3165: -1- m4_pattern_allow([^PKGCONFIG$]) +-m4trace:configure.ac:3187: -2- AC_DEFINE_TRACE_LITERAL([USE_QUICHE]) +-m4trace:configure.ac:3187: -2- m4_pattern_allow([^USE_QUICHE$]) +-m4trace:configure.ac:3187: -2- AH_OUTPUT([USE_QUICHE], [/* if quiche is in use */ ++m4trace:configure.ac:3239: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NGHTTP3_NGHTTP3_H]) ++m4trace:configure.ac:3239: -1- m4_pattern_allow([^HAVE_NGHTTP3_NGHTTP3_H$]) ++m4trace:configure.ac:3271: -1- AC_DEFINE_TRACE_LITERAL([USE_NGTCP2_H3]) ++m4trace:configure.ac:3271: -1- m4_pattern_allow([^USE_NGTCP2_H3$]) ++m4trace:configure.ac:3271: -1- AH_OUTPUT([USE_NGTCP2_H3], [/* if ngtcp2 + nghttp3 is in use */ ++@%:@undef USE_NGTCP2_H3]) ++m4trace:configure.ac:3272: -1- AC_SUBST([USE_NGTCP2_H3], [1]) ++m4trace:configure.ac:3272: -1- AC_SUBST_TRACE([USE_NGTCP2_H3]) ++m4trace:configure.ac:3272: -1- m4_pattern_allow([^USE_NGTCP2_H3$]) ++m4trace:configure.ac:3283: -1- AC_DEFINE_TRACE_LITERAL([USE_OPENSSL_H3]) ++m4trace:configure.ac:3283: -1- m4_pattern_allow([^USE_OPENSSL_H3$]) ++m4trace:configure.ac:3283: -1- AH_OUTPUT([USE_OPENSSL_H3], [/* if openssl quic + nghttp3 is in use */ ++@%:@undef USE_OPENSSL_H3]) ++m4trace:configure.ac:3284: -1- AC_SUBST([USE_OPENSSL_H3], [1]) ++m4trace:configure.ac:3284: -1- AC_SUBST_TRACE([USE_OPENSSL_H3]) ++m4trace:configure.ac:3284: -1- m4_pattern_allow([^USE_OPENSSL_H3$]) ++m4trace:configure.ac:3336: -1- AC_SUBST([PKGCONFIG]) ++m4trace:configure.ac:3336: -1- AC_SUBST_TRACE([PKGCONFIG]) ++m4trace:configure.ac:3336: -1- m4_pattern_allow([^PKGCONFIG$]) ++m4trace:configure.ac:3358: -2- AC_DEFINE_TRACE_LITERAL([USE_QUICHE]) ++m4trace:configure.ac:3358: -2- m4_pattern_allow([^USE_QUICHE$]) ++m4trace:configure.ac:3358: -2- AH_OUTPUT([USE_QUICHE], [/* if quiche is in use */ + @%:@undef USE_QUICHE]) +-m4trace:configure.ac:3187: -2- AC_SUBST([USE_QUICHE], [1]) +-m4trace:configure.ac:3187: -2- AC_SUBST_TRACE([USE_QUICHE]) +-m4trace:configure.ac:3187: -2- m4_pattern_allow([^USE_QUICHE$]) +-m4trace:configure.ac:3187: -2- AH_OUTPUT([HAVE_QUICHE_CONN_SET_QLOG_FD], [/* Define to 1 if you have the `quiche_conn_set_qlog_fd\' function. */ ++m4trace:configure.ac:3358: -2- AC_SUBST([USE_QUICHE], [1]) ++m4trace:configure.ac:3358: -2- AC_SUBST_TRACE([USE_QUICHE]) ++m4trace:configure.ac:3358: -2- m4_pattern_allow([^USE_QUICHE$]) ++m4trace:configure.ac:3358: -2- AH_OUTPUT([HAVE_QUICHE_CONN_SET_QLOG_FD], [/* Define to 1 if you have the `quiche_conn_set_qlog_fd\' function. */ + @%:@undef HAVE_QUICHE_CONN_SET_QLOG_FD]) +-m4trace:configure.ac:3187: -2- AC_DEFINE_TRACE_LITERAL([HAVE_QUICHE_CONN_SET_QLOG_FD]) +-m4trace:configure.ac:3187: -2- m4_pattern_allow([^HAVE_QUICHE_CONN_SET_QLOG_FD$]) +-m4trace:configure.ac:3187: -1- AH_OUTPUT([HAVE_QUICHE_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3358: -2- AC_DEFINE_TRACE_LITERAL([HAVE_QUICHE_CONN_SET_QLOG_FD]) ++m4trace:configure.ac:3358: -2- m4_pattern_allow([^HAVE_QUICHE_CONN_SET_QLOG_FD$]) ++m4trace:configure.ac:3358: -1- AH_OUTPUT([HAVE_QUICHE_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_QUICHE_H]) +-m4trace:configure.ac:3187: -1- AC_DEFINE_TRACE_LITERAL([HAVE_QUICHE_H]) +-m4trace:configure.ac:3187: -1- m4_pattern_allow([^HAVE_QUICHE_H$]) +-m4trace:configure.ac:3272: -2- AC_DEFINE_TRACE_LITERAL([USE_MSH3]) +-m4trace:configure.ac:3272: -2- m4_pattern_allow([^USE_MSH3$]) +-m4trace:configure.ac:3272: -2- AH_OUTPUT([USE_MSH3], [/* if msh3 is in use */ ++m4trace:configure.ac:3358: -1- AC_DEFINE_TRACE_LITERAL([HAVE_QUICHE_H]) ++m4trace:configure.ac:3358: -1- m4_pattern_allow([^HAVE_QUICHE_H$]) ++m4trace:configure.ac:3456: -2- AC_DEFINE_TRACE_LITERAL([USE_MSH3]) ++m4trace:configure.ac:3456: -2- m4_pattern_allow([^USE_MSH3$]) ++m4trace:configure.ac:3456: -2- AH_OUTPUT([USE_MSH3], [/* if msh3 is in use */ + @%:@undef USE_MSH3]) +-m4trace:configure.ac:3272: -2- AC_SUBST([USE_MSH3], [1]) +-m4trace:configure.ac:3272: -2- AC_SUBST_TRACE([USE_MSH3]) +-m4trace:configure.ac:3272: -2- m4_pattern_allow([^USE_MSH3$]) +-m4trace:configure.ac:3272: -1- AH_OUTPUT([HAVE_MSH3_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3456: -2- AC_SUBST([USE_MSH3], [1]) ++m4trace:configure.ac:3456: -2- AC_SUBST_TRACE([USE_MSH3]) ++m4trace:configure.ac:3456: -2- m4_pattern_allow([^USE_MSH3$]) ++m4trace:configure.ac:3456: -1- AH_OUTPUT([HAVE_MSH3_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_MSH3_H]) +-m4trace:configure.ac:3272: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MSH3_H]) +-m4trace:configure.ac:3272: -1- m4_pattern_allow([^HAVE_MSH3_H$]) +-m4trace:configure.ac:3308: -1- AC_SUBST([ZSH_FUNCTIONS_DIR]) +-m4trace:configure.ac:3308: -1- AC_SUBST_TRACE([ZSH_FUNCTIONS_DIR]) +-m4trace:configure.ac:3308: -1- m4_pattern_allow([^ZSH_FUNCTIONS_DIR$]) +-m4trace:configure.ac:3313: -1- AC_SUBST([ZSH_FUNCTIONS_DIR]) +-m4trace:configure.ac:3313: -1- AC_SUBST_TRACE([ZSH_FUNCTIONS_DIR]) +-m4trace:configure.ac:3313: -1- m4_pattern_allow([^ZSH_FUNCTIONS_DIR$]) +-m4trace:configure.ac:3332: -1- AC_SUBST([PKGCONFIG]) +-m4trace:configure.ac:3332: -1- AC_SUBST_TRACE([PKGCONFIG]) +-m4trace:configure.ac:3332: -1- m4_pattern_allow([^PKGCONFIG$]) +-m4trace:configure.ac:3338: -1- AC_SUBST([FISH_FUNCTIONS_DIR]) +-m4trace:configure.ac:3338: -1- AC_SUBST_TRACE([FISH_FUNCTIONS_DIR]) +-m4trace:configure.ac:3338: -1- m4_pattern_allow([^FISH_FUNCTIONS_DIR$]) +-m4trace:configure.ac:3343: -1- AC_SUBST([FISH_FUNCTIONS_DIR]) +-m4trace:configure.ac:3343: -1- AC_SUBST_TRACE([FISH_FUNCTIONS_DIR]) +-m4trace:configure.ac:3343: -1- m4_pattern_allow([^FISH_FUNCTIONS_DIR$]) +-m4trace:configure.ac:3349: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3456: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MSH3_H]) ++m4trace:configure.ac:3456: -1- m4_pattern_allow([^HAVE_MSH3_H$]) ++m4trace:configure.ac:3492: -1- AC_SUBST([ZSH_FUNCTIONS_DIR]) ++m4trace:configure.ac:3492: -1- AC_SUBST_TRACE([ZSH_FUNCTIONS_DIR]) ++m4trace:configure.ac:3492: -1- m4_pattern_allow([^ZSH_FUNCTIONS_DIR$]) ++m4trace:configure.ac:3497: -1- AC_SUBST([ZSH_FUNCTIONS_DIR]) ++m4trace:configure.ac:3497: -1- AC_SUBST_TRACE([ZSH_FUNCTIONS_DIR]) ++m4trace:configure.ac:3497: -1- m4_pattern_allow([^ZSH_FUNCTIONS_DIR$]) ++m4trace:configure.ac:3500: -1- AM_CONDITIONAL([USE_ZSH_COMPLETION], [test x"$ZSH_FUNCTIONS_DIR" != x]) ++m4trace:configure.ac:3500: -1- AC_SUBST([USE_ZSH_COMPLETION_TRUE]) ++m4trace:configure.ac:3500: -1- AC_SUBST_TRACE([USE_ZSH_COMPLETION_TRUE]) ++m4trace:configure.ac:3500: -1- m4_pattern_allow([^USE_ZSH_COMPLETION_TRUE$]) ++m4trace:configure.ac:3500: -1- AC_SUBST([USE_ZSH_COMPLETION_FALSE]) ++m4trace:configure.ac:3500: -1- AC_SUBST_TRACE([USE_ZSH_COMPLETION_FALSE]) ++m4trace:configure.ac:3500: -1- m4_pattern_allow([^USE_ZSH_COMPLETION_FALSE$]) ++m4trace:configure.ac:3500: -1- _AM_SUBST_NOTMAKE([USE_ZSH_COMPLETION_TRUE]) ++m4trace:configure.ac:3500: -1- _AM_SUBST_NOTMAKE([USE_ZSH_COMPLETION_FALSE]) ++m4trace:configure.ac:3517: -1- AC_SUBST([PKGCONFIG]) ++m4trace:configure.ac:3517: -1- AC_SUBST_TRACE([PKGCONFIG]) ++m4trace:configure.ac:3517: -1- m4_pattern_allow([^PKGCONFIG$]) ++m4trace:configure.ac:3523: -1- AC_SUBST([FISH_FUNCTIONS_DIR]) ++m4trace:configure.ac:3523: -1- AC_SUBST_TRACE([FISH_FUNCTIONS_DIR]) ++m4trace:configure.ac:3523: -1- m4_pattern_allow([^FISH_FUNCTIONS_DIR$]) ++m4trace:configure.ac:3528: -1- AC_SUBST([FISH_FUNCTIONS_DIR]) ++m4trace:configure.ac:3528: -1- AC_SUBST_TRACE([FISH_FUNCTIONS_DIR]) ++m4trace:configure.ac:3528: -1- m4_pattern_allow([^FISH_FUNCTIONS_DIR$]) ++m4trace:configure.ac:3531: -1- AM_CONDITIONAL([USE_FISH_COMPLETION], [test x"$FISH_FUNCTIONS_DIR" != x]) ++m4trace:configure.ac:3531: -1- AC_SUBST([USE_FISH_COMPLETION_TRUE]) ++m4trace:configure.ac:3531: -1- AC_SUBST_TRACE([USE_FISH_COMPLETION_TRUE]) ++m4trace:configure.ac:3531: -1- m4_pattern_allow([^USE_FISH_COMPLETION_TRUE$]) ++m4trace:configure.ac:3531: -1- AC_SUBST([USE_FISH_COMPLETION_FALSE]) ++m4trace:configure.ac:3531: -1- AC_SUBST_TRACE([USE_FISH_COMPLETION_FALSE]) ++m4trace:configure.ac:3531: -1- m4_pattern_allow([^USE_FISH_COMPLETION_FALSE$]) ++m4trace:configure.ac:3531: -1- _AM_SUBST_NOTMAKE([USE_FISH_COMPLETION_TRUE]) ++m4trace:configure.ac:3531: -1- _AM_SUBST_NOTMAKE([USE_FISH_COMPLETION_FALSE]) ++m4trace:configure.ac:3535: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_SYS_TYPES_H]) +-m4trace:configure.ac:3349: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TYPES_H]) +-m4trace:configure.ac:3349: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) +-m4trace:configure.ac:3349: -1- AH_OUTPUT([HAVE_SYS_TIME_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3535: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TYPES_H]) ++m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) ++m4trace:configure.ac:3535: -1- AH_OUTPUT([HAVE_SYS_TIME_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_SYS_TIME_H]) +-m4trace:configure.ac:3349: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TIME_H]) +-m4trace:configure.ac:3349: -1- m4_pattern_allow([^HAVE_SYS_TIME_H$]) +-m4trace:configure.ac:3349: -1- AH_OUTPUT([HAVE_SYS_SELECT_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3535: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TIME_H]) ++m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_SYS_TIME_H$]) ++m4trace:configure.ac:3535: -1- AH_OUTPUT([HAVE_SYS_SELECT_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_SYS_SELECT_H]) +-m4trace:configure.ac:3349: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_SELECT_H]) +-m4trace:configure.ac:3349: -1- m4_pattern_allow([^HAVE_SYS_SELECT_H$]) +-m4trace:configure.ac:3349: -1- AH_OUTPUT([HAVE_SYS_SOCKET_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3535: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_SELECT_H]) ++m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_SYS_SELECT_H$]) ++m4trace:configure.ac:3535: -1- AH_OUTPUT([HAVE_SYS_SOCKET_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_SYS_SOCKET_H]) +-m4trace:configure.ac:3349: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_SOCKET_H]) +-m4trace:configure.ac:3349: -1- m4_pattern_allow([^HAVE_SYS_SOCKET_H$]) +-m4trace:configure.ac:3349: -1- AH_OUTPUT([HAVE_SYS_IOCTL_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3535: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_SOCKET_H]) ++m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_SYS_SOCKET_H$]) ++m4trace:configure.ac:3535: -1- AH_OUTPUT([HAVE_SYS_IOCTL_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_SYS_IOCTL_H]) +-m4trace:configure.ac:3349: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_IOCTL_H]) +-m4trace:configure.ac:3349: -1- m4_pattern_allow([^HAVE_SYS_IOCTL_H$]) +-m4trace:configure.ac:3349: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3535: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_IOCTL_H]) ++m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_SYS_IOCTL_H$]) ++m4trace:configure.ac:3535: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_UNISTD_H]) +-m4trace:configure.ac:3349: -1- AC_DEFINE_TRACE_LITERAL([HAVE_UNISTD_H]) +-m4trace:configure.ac:3349: -1- m4_pattern_allow([^HAVE_UNISTD_H$]) +-m4trace:configure.ac:3349: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3535: -1- AC_DEFINE_TRACE_LITERAL([HAVE_UNISTD_H]) ++m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_UNISTD_H$]) ++m4trace:configure.ac:3535: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_STDLIB_H]) +-m4trace:configure.ac:3349: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STDLIB_H]) +-m4trace:configure.ac:3349: -1- m4_pattern_allow([^HAVE_STDLIB_H$]) +-m4trace:configure.ac:3349: -1- AH_OUTPUT([HAVE_ARPA_INET_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3535: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STDLIB_H]) ++m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_STDLIB_H$]) ++m4trace:configure.ac:3535: -1- AH_OUTPUT([HAVE_ARPA_INET_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_ARPA_INET_H]) +-m4trace:configure.ac:3349: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ARPA_INET_H]) +-m4trace:configure.ac:3349: -1- m4_pattern_allow([^HAVE_ARPA_INET_H$]) +-m4trace:configure.ac:3349: -1- AH_OUTPUT([HAVE_NET_IF_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3535: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ARPA_INET_H]) ++m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_ARPA_INET_H$]) ++m4trace:configure.ac:3535: -1- AH_OUTPUT([HAVE_NET_IF_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_NET_IF_H]) +-m4trace:configure.ac:3349: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NET_IF_H]) +-m4trace:configure.ac:3349: -1- m4_pattern_allow([^HAVE_NET_IF_H$]) +-m4trace:configure.ac:3349: -1- AH_OUTPUT([HAVE_NETINET_IN_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3535: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NET_IF_H]) ++m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_NET_IF_H$]) ++m4trace:configure.ac:3535: -1- AH_OUTPUT([HAVE_NETINET_IN_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_NETINET_IN_H]) +-m4trace:configure.ac:3349: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NETINET_IN_H]) +-m4trace:configure.ac:3349: -1- m4_pattern_allow([^HAVE_NETINET_IN_H$]) +-m4trace:configure.ac:3349: -1- AH_OUTPUT([HAVE_NETINET_IN6_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3535: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NETINET_IN_H]) ++m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_NETINET_IN_H$]) ++m4trace:configure.ac:3535: -1- AH_OUTPUT([HAVE_NETINET_IN6_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_NETINET_IN6_H]) +-m4trace:configure.ac:3349: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NETINET_IN6_H]) +-m4trace:configure.ac:3349: -1- m4_pattern_allow([^HAVE_NETINET_IN6_H$]) +-m4trace:configure.ac:3349: -1- AH_OUTPUT([HAVE_SYS_UN_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3535: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NETINET_IN6_H]) ++m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_NETINET_IN6_H$]) ++m4trace:configure.ac:3535: -1- AH_OUTPUT([HAVE_SYS_UN_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_SYS_UN_H]) +-m4trace:configure.ac:3349: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_UN_H]) +-m4trace:configure.ac:3349: -1- m4_pattern_allow([^HAVE_SYS_UN_H$]) +-m4trace:configure.ac:3349: -1- AH_OUTPUT([HAVE_LINUX_TCP_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3535: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_UN_H]) ++m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_SYS_UN_H$]) ++m4trace:configure.ac:3535: -1- AH_OUTPUT([HAVE_LINUX_TCP_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_LINUX_TCP_H]) +-m4trace:configure.ac:3349: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LINUX_TCP_H]) +-m4trace:configure.ac:3349: -1- m4_pattern_allow([^HAVE_LINUX_TCP_H$]) +-m4trace:configure.ac:3349: -1- AH_OUTPUT([HAVE_NETINET_TCP_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3535: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LINUX_TCP_H]) ++m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_LINUX_TCP_H$]) ++m4trace:configure.ac:3535: -1- AH_OUTPUT([HAVE_NETINET_TCP_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_NETINET_TCP_H]) +-m4trace:configure.ac:3349: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NETINET_TCP_H]) +-m4trace:configure.ac:3349: -1- m4_pattern_allow([^HAVE_NETINET_TCP_H$]) +-m4trace:configure.ac:3349: -1- AH_OUTPUT([HAVE_NETINET_UDP_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3535: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NETINET_TCP_H]) ++m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_NETINET_TCP_H$]) ++m4trace:configure.ac:3535: -1- AH_OUTPUT([HAVE_NETINET_UDP_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_NETINET_UDP_H]) +-m4trace:configure.ac:3349: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NETINET_UDP_H]) +-m4trace:configure.ac:3349: -1- m4_pattern_allow([^HAVE_NETINET_UDP_H$]) +-m4trace:configure.ac:3349: -1- AH_OUTPUT([HAVE_NETDB_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3535: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NETINET_UDP_H]) ++m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_NETINET_UDP_H$]) ++m4trace:configure.ac:3535: -1- AH_OUTPUT([HAVE_NETDB_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_NETDB_H]) +-m4trace:configure.ac:3349: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NETDB_H]) +-m4trace:configure.ac:3349: -1- m4_pattern_allow([^HAVE_NETDB_H$]) +-m4trace:configure.ac:3349: -1- AH_OUTPUT([HAVE_SYS_SOCKIO_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3535: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NETDB_H]) ++m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_NETDB_H$]) ++m4trace:configure.ac:3535: -1- AH_OUTPUT([HAVE_SYS_SOCKIO_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_SYS_SOCKIO_H]) +-m4trace:configure.ac:3349: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_SOCKIO_H]) +-m4trace:configure.ac:3349: -1- m4_pattern_allow([^HAVE_SYS_SOCKIO_H$]) +-m4trace:configure.ac:3349: -1- AH_OUTPUT([HAVE_SYS_STAT_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3535: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_SOCKIO_H]) ++m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_SYS_SOCKIO_H$]) ++m4trace:configure.ac:3535: -1- AH_OUTPUT([HAVE_SYS_STAT_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_SYS_STAT_H]) +-m4trace:configure.ac:3349: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_STAT_H]) +-m4trace:configure.ac:3349: -1- m4_pattern_allow([^HAVE_SYS_STAT_H$]) +-m4trace:configure.ac:3349: -1- AH_OUTPUT([HAVE_SYS_PARAM_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3535: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_STAT_H]) ++m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_SYS_STAT_H$]) ++m4trace:configure.ac:3535: -1- AH_OUTPUT([HAVE_SYS_PARAM_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_SYS_PARAM_H]) +-m4trace:configure.ac:3349: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_PARAM_H]) +-m4trace:configure.ac:3349: -1- m4_pattern_allow([^HAVE_SYS_PARAM_H$]) +-m4trace:configure.ac:3349: -1- AH_OUTPUT([HAVE_TERMIOS_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3535: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_PARAM_H]) ++m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_SYS_PARAM_H$]) ++m4trace:configure.ac:3535: -1- AH_OUTPUT([HAVE_TERMIOS_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_TERMIOS_H]) +-m4trace:configure.ac:3349: -1- AC_DEFINE_TRACE_LITERAL([HAVE_TERMIOS_H]) +-m4trace:configure.ac:3349: -1- m4_pattern_allow([^HAVE_TERMIOS_H$]) +-m4trace:configure.ac:3349: -1- AH_OUTPUT([HAVE_TERMIO_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3535: -1- AC_DEFINE_TRACE_LITERAL([HAVE_TERMIOS_H]) ++m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_TERMIOS_H$]) ++m4trace:configure.ac:3535: -1- AH_OUTPUT([HAVE_TERMIO_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_TERMIO_H]) +-m4trace:configure.ac:3349: -1- AC_DEFINE_TRACE_LITERAL([HAVE_TERMIO_H]) +-m4trace:configure.ac:3349: -1- m4_pattern_allow([^HAVE_TERMIO_H$]) +-m4trace:configure.ac:3349: -1- AH_OUTPUT([HAVE_FCNTL_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3535: -1- AC_DEFINE_TRACE_LITERAL([HAVE_TERMIO_H]) ++m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_TERMIO_H$]) ++m4trace:configure.ac:3535: -1- AH_OUTPUT([HAVE_FCNTL_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_FCNTL_H]) +-m4trace:configure.ac:3349: -1- AC_DEFINE_TRACE_LITERAL([HAVE_FCNTL_H]) +-m4trace:configure.ac:3349: -1- m4_pattern_allow([^HAVE_FCNTL_H$]) +-m4trace:configure.ac:3349: -1- AH_OUTPUT([HAVE_IO_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3535: -1- AC_DEFINE_TRACE_LITERAL([HAVE_FCNTL_H]) ++m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_FCNTL_H$]) ++m4trace:configure.ac:3535: -1- AH_OUTPUT([HAVE_IO_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_IO_H]) +-m4trace:configure.ac:3349: -1- AC_DEFINE_TRACE_LITERAL([HAVE_IO_H]) +-m4trace:configure.ac:3349: -1- m4_pattern_allow([^HAVE_IO_H$]) +-m4trace:configure.ac:3349: -1- AH_OUTPUT([HAVE_PWD_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3535: -1- AC_DEFINE_TRACE_LITERAL([HAVE_IO_H]) ++m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_IO_H$]) ++m4trace:configure.ac:3535: -1- AH_OUTPUT([HAVE_PWD_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_PWD_H]) +-m4trace:configure.ac:3349: -1- AC_DEFINE_TRACE_LITERAL([HAVE_PWD_H]) +-m4trace:configure.ac:3349: -1- m4_pattern_allow([^HAVE_PWD_H$]) +-m4trace:configure.ac:3349: -1- AH_OUTPUT([HAVE_UTIME_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3535: -1- AC_DEFINE_TRACE_LITERAL([HAVE_PWD_H]) ++m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_PWD_H$]) ++m4trace:configure.ac:3535: -1- AH_OUTPUT([HAVE_UTIME_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_UTIME_H]) +-m4trace:configure.ac:3349: -1- AC_DEFINE_TRACE_LITERAL([HAVE_UTIME_H]) +-m4trace:configure.ac:3349: -1- m4_pattern_allow([^HAVE_UTIME_H$]) +-m4trace:configure.ac:3349: -1- AH_OUTPUT([HAVE_SYS_UTIME_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3535: -1- AC_DEFINE_TRACE_LITERAL([HAVE_UTIME_H]) ++m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_UTIME_H$]) ++m4trace:configure.ac:3535: -1- AH_OUTPUT([HAVE_SYS_UTIME_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_SYS_UTIME_H]) +-m4trace:configure.ac:3349: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_UTIME_H]) +-m4trace:configure.ac:3349: -1- m4_pattern_allow([^HAVE_SYS_UTIME_H$]) +-m4trace:configure.ac:3349: -1- AH_OUTPUT([HAVE_SYS_POLL_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3535: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_UTIME_H]) ++m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_SYS_UTIME_H$]) ++m4trace:configure.ac:3535: -1- AH_OUTPUT([HAVE_SYS_POLL_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_SYS_POLL_H]) +-m4trace:configure.ac:3349: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_POLL_H]) +-m4trace:configure.ac:3349: -1- m4_pattern_allow([^HAVE_SYS_POLL_H$]) +-m4trace:configure.ac:3349: -1- AH_OUTPUT([HAVE_POLL_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3535: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_POLL_H]) ++m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_SYS_POLL_H$]) ++m4trace:configure.ac:3535: -1- AH_OUTPUT([HAVE_POLL_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_POLL_H]) +-m4trace:configure.ac:3349: -1- AC_DEFINE_TRACE_LITERAL([HAVE_POLL_H]) +-m4trace:configure.ac:3349: -1- m4_pattern_allow([^HAVE_POLL_H$]) +-m4trace:configure.ac:3349: -1- AH_OUTPUT([HAVE_SOCKET_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3535: -1- AC_DEFINE_TRACE_LITERAL([HAVE_POLL_H]) ++m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_POLL_H$]) ++m4trace:configure.ac:3535: -1- AH_OUTPUT([HAVE_SOCKET_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_SOCKET_H]) +-m4trace:configure.ac:3349: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SOCKET_H]) +-m4trace:configure.ac:3349: -1- m4_pattern_allow([^HAVE_SOCKET_H$]) +-m4trace:configure.ac:3349: -1- AH_OUTPUT([HAVE_SYS_RESOURCE_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3535: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SOCKET_H]) ++m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_SOCKET_H$]) ++m4trace:configure.ac:3535: -1- AH_OUTPUT([HAVE_SYS_RESOURCE_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_SYS_RESOURCE_H]) +-m4trace:configure.ac:3349: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_RESOURCE_H]) +-m4trace:configure.ac:3349: -1- m4_pattern_allow([^HAVE_SYS_RESOURCE_H$]) +-m4trace:configure.ac:3349: -1- AH_OUTPUT([HAVE_LIBGEN_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3535: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_RESOURCE_H]) ++m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_SYS_RESOURCE_H$]) ++m4trace:configure.ac:3535: -1- AH_OUTPUT([HAVE_LIBGEN_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_LIBGEN_H]) +-m4trace:configure.ac:3349: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBGEN_H]) +-m4trace:configure.ac:3349: -1- m4_pattern_allow([^HAVE_LIBGEN_H$]) +-m4trace:configure.ac:3349: -1- AH_OUTPUT([HAVE_LOCALE_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3535: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBGEN_H]) ++m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_LIBGEN_H$]) ++m4trace:configure.ac:3535: -1- AH_OUTPUT([HAVE_LOCALE_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_LOCALE_H]) +-m4trace:configure.ac:3349: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LOCALE_H]) +-m4trace:configure.ac:3349: -1- m4_pattern_allow([^HAVE_LOCALE_H$]) +-m4trace:configure.ac:3349: -1- AH_OUTPUT([HAVE_STDBOOL_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3535: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LOCALE_H]) ++m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_LOCALE_H$]) ++m4trace:configure.ac:3535: -1- AH_OUTPUT([HAVE_STDBOOL_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_STDBOOL_H]) +-m4trace:configure.ac:3349: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STDBOOL_H]) +-m4trace:configure.ac:3349: -1- m4_pattern_allow([^HAVE_STDBOOL_H$]) +-m4trace:configure.ac:3349: -1- AH_OUTPUT([HAVE_SYS_FILIO_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3535: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STDBOOL_H]) ++m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_STDBOOL_H$]) ++m4trace:configure.ac:3535: -1- AH_OUTPUT([HAVE_SYS_FILIO_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_SYS_FILIO_H]) +-m4trace:configure.ac:3349: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_FILIO_H]) +-m4trace:configure.ac:3349: -1- m4_pattern_allow([^HAVE_SYS_FILIO_H$]) +-m4trace:configure.ac:3349: -1- AH_OUTPUT([HAVE_SYS_WAIT_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3535: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_FILIO_H]) ++m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_SYS_FILIO_H$]) ++m4trace:configure.ac:3535: -1- AH_OUTPUT([HAVE_SYS_WAIT_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_SYS_WAIT_H]) +-m4trace:configure.ac:3349: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_WAIT_H]) +-m4trace:configure.ac:3349: -1- m4_pattern_allow([^HAVE_SYS_WAIT_H$]) +-m4trace:configure.ac:3349: -1- AH_OUTPUT([HAVE_SETJMP_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3535: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_WAIT_H]) ++m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_SYS_WAIT_H$]) ++m4trace:configure.ac:3535: -1- AH_OUTPUT([HAVE_SETJMP_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_SETJMP_H]) +-m4trace:configure.ac:3349: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SETJMP_H]) +-m4trace:configure.ac:3349: -1- m4_pattern_allow([^HAVE_SETJMP_H$]) +-m4trace:configure.ac:3420: -1- AC_DEFINE_TRACE_LITERAL([const]) +-m4trace:configure.ac:3420: -1- m4_pattern_allow([^const$]) +-m4trace:configure.ac:3420: -1- AH_OUTPUT([const], [/* Define to empty if `const\' does not conform to ANSI C. */ ++m4trace:configure.ac:3535: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SETJMP_H]) ++m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_SETJMP_H$]) ++m4trace:configure.ac:3606: -1- AC_DEFINE_TRACE_LITERAL([const]) ++m4trace:configure.ac:3606: -1- m4_pattern_allow([^const$]) ++m4trace:configure.ac:3606: -1- AH_OUTPUT([const], [/* Define to empty if `const\' does not conform to ANSI C. */ + @%:@undef const]) +-m4trace:configure.ac:3421: -1- AC_DEFINE_TRACE_LITERAL([HAVE_VARIADIC_MACROS_C99]) +-m4trace:configure.ac:3421: -1- m4_pattern_allow([^HAVE_VARIADIC_MACROS_C99$]) +-m4trace:configure.ac:3421: -1- AH_OUTPUT([HAVE_VARIADIC_MACROS_C99], [/* Define to 1 if compiler supports C99 variadic macro style. */ +-@%:@undef HAVE_VARIADIC_MACROS_C99]) +-m4trace:configure.ac:3421: -1- AC_DEFINE_TRACE_LITERAL([HAVE_VARIADIC_MACROS_GCC]) +-m4trace:configure.ac:3421: -1- m4_pattern_allow([^HAVE_VARIADIC_MACROS_GCC$]) +-m4trace:configure.ac:3421: -1- AH_OUTPUT([HAVE_VARIADIC_MACROS_GCC], [/* Define to 1 if compiler supports old gcc variadic macro style. */ +-@%:@undef HAVE_VARIADIC_MACROS_GCC]) +-m4trace:configure.ac:3422: -1- AC_DEFINE_TRACE_LITERAL([size_t]) +-m4trace:configure.ac:3422: -1- m4_pattern_allow([^size_t$]) +-m4trace:configure.ac:3422: -1- AH_OUTPUT([size_t], [/* Define to `unsigned int\' if does not define. */ ++m4trace:configure.ac:3607: -1- AC_DEFINE_TRACE_LITERAL([size_t]) ++m4trace:configure.ac:3607: -1- m4_pattern_allow([^size_t$]) ++m4trace:configure.ac:3607: -1- AH_OUTPUT([size_t], [/* Define to `unsigned int\' if does not define. */ + @%:@undef size_t]) +-m4trace:configure.ac:3424: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3609: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_SYS_TYPES_H]) +-m4trace:configure.ac:3424: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TYPES_H]) +-m4trace:configure.ac:3424: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) +-m4trace:configure.ac:3424: -1- AH_OUTPUT([HAVE_SYS_TIME_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3609: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TYPES_H]) ++m4trace:configure.ac:3609: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) ++m4trace:configure.ac:3609: -1- AH_OUTPUT([HAVE_SYS_TIME_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_SYS_TIME_H]) +-m4trace:configure.ac:3424: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TIME_H]) +-m4trace:configure.ac:3424: -1- m4_pattern_allow([^HAVE_SYS_TIME_H$]) +-m4trace:configure.ac:3424: -1- AH_OUTPUT([HAVE_SYS_SOCKET_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3609: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TIME_H]) ++m4trace:configure.ac:3609: -1- m4_pattern_allow([^HAVE_SYS_TIME_H$]) ++m4trace:configure.ac:3609: -1- AH_OUTPUT([HAVE_SYS_SOCKET_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_SYS_SOCKET_H]) +-m4trace:configure.ac:3424: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_SOCKET_H]) +-m4trace:configure.ac:3424: -1- m4_pattern_allow([^HAVE_SYS_SOCKET_H$]) +-m4trace:configure.ac:3424: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_TIMEVAL]) +-m4trace:configure.ac:3424: -1- m4_pattern_allow([^HAVE_STRUCT_TIMEVAL$]) +-m4trace:configure.ac:3424: -1- AH_OUTPUT([HAVE_STRUCT_TIMEVAL], [/* Define to 1 if you have the timeval struct. */ ++m4trace:configure.ac:3609: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_SOCKET_H]) ++m4trace:configure.ac:3609: -1- m4_pattern_allow([^HAVE_SYS_SOCKET_H$]) ++m4trace:configure.ac:3609: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_TIMEVAL]) ++m4trace:configure.ac:3609: -1- m4_pattern_allow([^HAVE_STRUCT_TIMEVAL$]) ++m4trace:configure.ac:3609: -1- AH_OUTPUT([HAVE_STRUCT_TIMEVAL], [/* Define to 1 if you have the timeval struct. */ + @%:@undef HAVE_STRUCT_TIMEVAL]) +-m4trace:configure.ac:3425: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:5818: CURL_RUN_IFELSE is expanded from... +-acinclude.m4:1353: CURL_VERIFY_RUNTIMELIBS is expanded from... +-configure.ac:3425: the top level]) +-m4trace:configure.ac:3425: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:5818: CURL_RUN_IFELSE is expanded from... +-acinclude.m4:1353: CURL_VERIFY_RUNTIMELIBS is expanded from... +-configure.ac:3425: the top level]) +-m4trace:configure.ac:3427: -1- AC_DEFINE_TRACE_LITERAL([SIZEOF_SIZE_T]) +-m4trace:configure.ac:3427: -1- m4_pattern_allow([^SIZEOF_SIZE_T$]) +-m4trace:configure.ac:3427: -1- AH_OUTPUT([SIZEOF_SIZE_T], [/* Size of size_t in number of bytes */ ++m4trace:configure.ac:3610: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:5778: CURL_RUN_IFELSE is expanded from... ++acinclude.m4:1178: CURL_VERIFY_RUNTIMELIBS is expanded from... ++configure.ac:3610: the top level]) ++m4trace:configure.ac:3610: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:5778: CURL_RUN_IFELSE is expanded from... ++acinclude.m4:1178: CURL_VERIFY_RUNTIMELIBS is expanded from... ++configure.ac:3610: the top level]) ++m4trace:configure.ac:3612: -1- AC_DEFINE_TRACE_LITERAL([SIZEOF_SIZE_T]) ++m4trace:configure.ac:3612: -1- m4_pattern_allow([^SIZEOF_SIZE_T$]) ++m4trace:configure.ac:3612: -1- AH_OUTPUT([SIZEOF_SIZE_T], [/* Size of size_t in number of bytes */ + @%:@undef SIZEOF_SIZE_T]) +-m4trace:configure.ac:3428: -1- AC_DEFINE_TRACE_LITERAL([SIZEOF_LONG]) +-m4trace:configure.ac:3428: -1- m4_pattern_allow([^SIZEOF_LONG$]) +-m4trace:configure.ac:3428: -1- AH_OUTPUT([SIZEOF_LONG], [/* Size of long in number of bytes */ ++m4trace:configure.ac:3613: -1- AC_DEFINE_TRACE_LITERAL([SIZEOF_LONG]) ++m4trace:configure.ac:3613: -1- m4_pattern_allow([^SIZEOF_LONG$]) ++m4trace:configure.ac:3613: -1- AH_OUTPUT([SIZEOF_LONG], [/* Size of long in number of bytes */ + @%:@undef SIZEOF_LONG]) +-m4trace:configure.ac:3429: -1- AC_DEFINE_TRACE_LITERAL([SIZEOF_INT]) +-m4trace:configure.ac:3429: -1- m4_pattern_allow([^SIZEOF_INT$]) +-m4trace:configure.ac:3429: -1- AH_OUTPUT([SIZEOF_INT], [/* Size of int in number of bytes */ ++m4trace:configure.ac:3614: -1- AC_DEFINE_TRACE_LITERAL([SIZEOF_INT]) ++m4trace:configure.ac:3614: -1- m4_pattern_allow([^SIZEOF_INT$]) ++m4trace:configure.ac:3614: -1- AH_OUTPUT([SIZEOF_INT], [/* Size of int in number of bytes */ + @%:@undef SIZEOF_INT]) +-m4trace:configure.ac:3430: -1- AC_DEFINE_TRACE_LITERAL([SIZEOF_TIME_T]) +-m4trace:configure.ac:3430: -1- m4_pattern_allow([^SIZEOF_TIME_T$]) +-m4trace:configure.ac:3430: -1- AH_OUTPUT([SIZEOF_TIME_T], [/* Size of time_t in number of bytes */ ++m4trace:configure.ac:3615: -1- AC_DEFINE_TRACE_LITERAL([SIZEOF_TIME_T]) ++m4trace:configure.ac:3615: -1- m4_pattern_allow([^SIZEOF_TIME_T$]) ++m4trace:configure.ac:3615: -1- AH_OUTPUT([SIZEOF_TIME_T], [/* Size of time_t in number of bytes */ + @%:@undef SIZEOF_TIME_T]) +-m4trace:configure.ac:3431: -1- AC_DEFINE_TRACE_LITERAL([SIZEOF_OFF_T]) +-m4trace:configure.ac:3431: -1- m4_pattern_allow([^SIZEOF_OFF_T$]) +-m4trace:configure.ac:3431: -1- AH_OUTPUT([SIZEOF_OFF_T], [/* Size of off_t in number of bytes */ ++m4trace:configure.ac:3616: -1- AC_DEFINE_TRACE_LITERAL([SIZEOF_OFF_T]) ++m4trace:configure.ac:3616: -1- m4_pattern_allow([^SIZEOF_OFF_T$]) ++m4trace:configure.ac:3616: -1- AH_OUTPUT([SIZEOF_OFF_T], [/* Size of off_t in number of bytes */ + @%:@undef SIZEOF_OFF_T]) +-m4trace:configure.ac:3435: -1- AC_DEFINE_TRACE_LITERAL([SIZEOF_CURL_OFF_T]) +-m4trace:configure.ac:3435: -1- m4_pattern_allow([^SIZEOF_CURL_OFF_T$]) +-m4trace:configure.ac:3435: -1- AH_OUTPUT([SIZEOF_CURL_OFF_T], [/* Size of curl_off_t in number of bytes */ ++m4trace:configure.ac:3620: -1- AC_DEFINE_TRACE_LITERAL([SIZEOF_CURL_OFF_T]) ++m4trace:configure.ac:3620: -1- m4_pattern_allow([^SIZEOF_CURL_OFF_T$]) ++m4trace:configure.ac:3620: -1- AH_OUTPUT([SIZEOF_CURL_OFF_T], [/* Size of curl_off_t in number of bytes */ + @%:@undef SIZEOF_CURL_OFF_T]) +-m4trace:configure.ac:3438: -1- AC_DEFINE_TRACE_LITERAL([SIZEOF_CURL_SOCKET_T]) +-m4trace:configure.ac:3438: -1- m4_pattern_allow([^SIZEOF_CURL_SOCKET_T$]) +-m4trace:configure.ac:3438: -1- AH_OUTPUT([SIZEOF_CURL_SOCKET_T], [/* Size of curl_socket_t in number of bytes */ ++m4trace:configure.ac:3623: -1- AC_DEFINE_TRACE_LITERAL([SIZEOF_CURL_SOCKET_T]) ++m4trace:configure.ac:3623: -1- m4_pattern_allow([^SIZEOF_CURL_SOCKET_T$]) ++m4trace:configure.ac:3623: -1- AH_OUTPUT([SIZEOF_CURL_SOCKET_T], [/* Size of curl_socket_t in number of bytes */ + @%:@undef SIZEOF_CURL_SOCKET_T]) +-m4trace:configure.ac:3443: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LONGLONG]) +-m4trace:configure.ac:3443: -1- m4_pattern_allow([^HAVE_LONGLONG$]) +-m4trace:configure.ac:3443: -1- AH_OUTPUT([HAVE_LONGLONG], [/* Define to 1 if the compiler supports the \'long long\' data type. */ ++m4trace:configure.ac:3628: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LONGLONG]) ++m4trace:configure.ac:3628: -1- m4_pattern_allow([^HAVE_LONGLONG$]) ++m4trace:configure.ac:3628: -1- AH_OUTPUT([HAVE_LONGLONG], [/* Define to 1 if the compiler supports the \'long long\' data type. */ + @%:@undef HAVE_LONGLONG]) +-m4trace:configure.ac:3455: -2- AC_DEFINE_TRACE_LITERAL([ssize_t]) +-m4trace:configure.ac:3455: -2- m4_pattern_allow([^ssize_t$]) +-m4trace:configure.ac:3455: -2- AH_OUTPUT([ssize_t], [/* the signed version of size_t */ ++m4trace:configure.ac:3640: -2- AC_DEFINE_TRACE_LITERAL([ssize_t]) ++m4trace:configure.ac:3640: -2- m4_pattern_allow([^ssize_t$]) ++m4trace:configure.ac:3640: -2- AH_OUTPUT([ssize_t], [/* the signed version of size_t */ + @%:@undef ssize_t]) +-m4trace:configure.ac:3458: -1- AC_DEFINE_TRACE_LITERAL([HAVE_BOOL_T]) +-m4trace:configure.ac:3458: -1- m4_pattern_allow([^HAVE_BOOL_T$]) +-m4trace:configure.ac:3458: -1- AH_OUTPUT([HAVE_BOOL_T], [/* Define to 1 if bool is an available type. */ ++m4trace:configure.ac:3643: -1- AC_DEFINE_TRACE_LITERAL([HAVE_BOOL_T]) ++m4trace:configure.ac:3643: -1- m4_pattern_allow([^HAVE_BOOL_T$]) ++m4trace:configure.ac:3643: -1- AH_OUTPUT([HAVE_BOOL_T], [/* Define to 1 if bool is an available type. */ + @%:@undef HAVE_BOOL_T]) +-m4trace:configure.ac:3472: -2- AC_DEFINE_TRACE_LITERAL([CURL_SA_FAMILY_T]) +-m4trace:configure.ac:3472: -2- m4_pattern_allow([^CURL_SA_FAMILY_T$]) +-m4trace:configure.ac:3472: -2- AH_OUTPUT([CURL_SA_FAMILY_T], [/* IP address type in sockaddr */ ++m4trace:configure.ac:3657: -2- AC_DEFINE_TRACE_LITERAL([CURL_SA_FAMILY_T]) ++m4trace:configure.ac:3657: -2- m4_pattern_allow([^CURL_SA_FAMILY_T$]) ++m4trace:configure.ac:3657: -2- AH_OUTPUT([CURL_SA_FAMILY_T], [/* IP address type in sockaddr */ + @%:@undef CURL_SA_FAMILY_T]) +-m4trace:configure.ac:3471: -2- AC_DEFINE_TRACE_LITERAL([CURL_SA_FAMILY_T]) +-m4trace:configure.ac:3471: -2- m4_pattern_allow([^CURL_SA_FAMILY_T$]) +-m4trace:configure.ac:3471: -2- AH_OUTPUT([CURL_SA_FAMILY_T], [/* IP address type in sockaddr */ ++m4trace:configure.ac:3656: -2- AC_DEFINE_TRACE_LITERAL([CURL_SA_FAMILY_T]) ++m4trace:configure.ac:3656: -2- m4_pattern_allow([^CURL_SA_FAMILY_T$]) ++m4trace:configure.ac:3656: -2- AH_OUTPUT([CURL_SA_FAMILY_T], [/* IP address type in sockaddr */ + @%:@undef CURL_SA_FAMILY_T]) +-m4trace:configure.ac:3471: -2- AC_DEFINE_TRACE_LITERAL([CURL_SA_FAMILY_T]) +-m4trace:configure.ac:3471: -2- m4_pattern_allow([^CURL_SA_FAMILY_T$]) +-m4trace:configure.ac:3471: -2- AH_OUTPUT([CURL_SA_FAMILY_T], [/* IP address type in sockaddr */ ++m4trace:configure.ac:3656: -2- AC_DEFINE_TRACE_LITERAL([CURL_SA_FAMILY_T]) ++m4trace:configure.ac:3656: -2- m4_pattern_allow([^CURL_SA_FAMILY_T$]) ++m4trace:configure.ac:3656: -2- AH_OUTPUT([CURL_SA_FAMILY_T], [/* IP address type in sockaddr */ + @%:@undef CURL_SA_FAMILY_T]) +-m4trace:configure.ac:3491: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SUSECONDS_T]) +-m4trace:configure.ac:3491: -1- m4_pattern_allow([^HAVE_SUSECONDS_T$]) +-m4trace:configure.ac:3491: -1- AH_OUTPUT([HAVE_SUSECONDS_T], [/* Define to 1 if suseconds_t is an available type. */ ++m4trace:configure.ac:3682: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SUSECONDS_T]) ++m4trace:configure.ac:3682: -1- m4_pattern_allow([^HAVE_SUSECONDS_T$]) ++m4trace:configure.ac:3682: -1- AH_OUTPUT([HAVE_SUSECONDS_T], [/* Define to 1 if suseconds_t is an available type. */ + @%:@undef HAVE_SUSECONDS_T]) +-m4trace:configure.ac:3504: -2- AC_DEFINE_TRACE_LITERAL([HAVE_TIME_T_UNSIGNED]) +-m4trace:configure.ac:3504: -2- m4_pattern_allow([^HAVE_TIME_T_UNSIGNED$]) +-m4trace:configure.ac:3504: -2- AH_OUTPUT([HAVE_TIME_T_UNSIGNED], [/* Define this if time_t is unsigned */ ++m4trace:configure.ac:3695: -2- AC_DEFINE_TRACE_LITERAL([HAVE_TIME_T_UNSIGNED]) ++m4trace:configure.ac:3695: -2- m4_pattern_allow([^HAVE_TIME_T_UNSIGNED$]) ++m4trace:configure.ac:3695: -2- AH_OUTPUT([HAVE_TIME_T_UNSIGNED], [/* Define this if time_t is unsigned */ + @%:@undef HAVE_TIME_T_UNSIGNED]) +-m4trace:configure.ac:3504: -2- AC_DEFINE_TRACE_LITERAL([HAVE_TIME_T_UNSIGNED]) +-m4trace:configure.ac:3504: -2- m4_pattern_allow([^HAVE_TIME_T_UNSIGNED$]) +-m4trace:configure.ac:3504: -2- AH_OUTPUT([HAVE_TIME_T_UNSIGNED], [/* Define this if time_t is unsigned */ ++m4trace:configure.ac:3695: -2- AC_DEFINE_TRACE_LITERAL([HAVE_TIME_T_UNSIGNED]) ++m4trace:configure.ac:3695: -2- m4_pattern_allow([^HAVE_TIME_T_UNSIGNED$]) ++m4trace:configure.ac:3695: -2- AH_OUTPUT([HAVE_TIME_T_UNSIGNED], [/* Define this if time_t is unsigned */ + @%:@undef HAVE_TIME_T_UNSIGNED]) +-m4trace:configure.ac:3522: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the header file. */ +-@%:@undef HAVE_SYS_TYPES_H]) +-m4trace:configure.ac:3522: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TYPES_H]) +-m4trace:configure.ac:3522: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) +-m4trace:configure.ac:3522: -1- AH_OUTPUT([HAVE_POLL_H], [/* Define to 1 if you have the header file. */ +-@%:@undef HAVE_POLL_H]) +-m4trace:configure.ac:3522: -1- AC_DEFINE_TRACE_LITERAL([HAVE_POLL_H]) +-m4trace:configure.ac:3522: -1- m4_pattern_allow([^HAVE_POLL_H$]) +-m4trace:configure.ac:3522: -1- AH_OUTPUT([HAVE_SYS_POLL_H], [/* Define to 1 if you have the header file. */ +-@%:@undef HAVE_SYS_POLL_H]) +-m4trace:configure.ac:3522: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_POLL_H]) +-m4trace:configure.ac:3522: -1- m4_pattern_allow([^HAVE_SYS_POLL_H$]) +-m4trace:configure.ac:3524: -1- AC_DEFINE_TRACE_LITERAL([in_addr_t]) +-m4trace:configure.ac:3524: -1- m4_pattern_allow([^in_addr_t$]) +-m4trace:configure.ac:3524: -1- AH_OUTPUT([in_addr_t], [/* Type to use in place of in_addr_t when system does not provide it. */ ++m4trace:configure.ac:3713: -1- AC_DEFINE_TRACE_LITERAL([in_addr_t]) ++m4trace:configure.ac:3713: -1- m4_pattern_allow([^in_addr_t$]) ++m4trace:configure.ac:3713: -1- AH_OUTPUT([in_addr_t], [/* Type to use in place of in_addr_t when system does not provide it. */ + @%:@undef in_addr_t]) +-m4trace:configure.ac:3526: -2- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_SOCKADDR_STORAGE]) +-m4trace:configure.ac:3526: -2- m4_pattern_allow([^HAVE_STRUCT_SOCKADDR_STORAGE$]) +-m4trace:configure.ac:3526: -2- AH_OUTPUT([HAVE_STRUCT_SOCKADDR_STORAGE], [/* if struct sockaddr_storage is defined */ ++m4trace:configure.ac:3715: -2- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_SOCKADDR_STORAGE]) ++m4trace:configure.ac:3715: -2- m4_pattern_allow([^HAVE_STRUCT_SOCKADDR_STORAGE$]) ++m4trace:configure.ac:3715: -2- AH_OUTPUT([HAVE_STRUCT_SOCKADDR_STORAGE], [/* if struct sockaddr_storage is defined */ + @%:@undef HAVE_STRUCT_SOCKADDR_STORAGE]) +-m4trace:configure.ac:3528: -1- AH_OUTPUT([HAVE_SYS_SELECT_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3717: -1- AH_OUTPUT([HAVE_SYS_SELECT_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_SYS_SELECT_H]) +-m4trace:configure.ac:3528: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_SELECT_H]) +-m4trace:configure.ac:3528: -1- m4_pattern_allow([^HAVE_SYS_SELECT_H$]) +-m4trace:configure.ac:3528: -1- AH_OUTPUT([HAVE_SYS_SOCKET_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3717: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_SELECT_H]) ++m4trace:configure.ac:3717: -1- m4_pattern_allow([^HAVE_SYS_SELECT_H$]) ++m4trace:configure.ac:3717: -1- AH_OUTPUT([HAVE_SYS_SOCKET_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_SYS_SOCKET_H]) +-m4trace:configure.ac:3528: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_SOCKET_H]) +-m4trace:configure.ac:3528: -1- m4_pattern_allow([^HAVE_SYS_SOCKET_H$]) +-m4trace:configure.ac:3528: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SELECT]) +-m4trace:configure.ac:3528: -1- m4_pattern_allow([^HAVE_SELECT$]) +-m4trace:configure.ac:3528: -1- AH_OUTPUT([HAVE_SELECT], [/* Define to 1 if you have the select function. */ ++m4trace:configure.ac:3717: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_SOCKET_H]) ++m4trace:configure.ac:3717: -1- m4_pattern_allow([^HAVE_SYS_SOCKET_H$]) ++m4trace:configure.ac:3717: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SELECT]) ++m4trace:configure.ac:3717: -1- m4_pattern_allow([^HAVE_SELECT$]) ++m4trace:configure.ac:3717: -1- AH_OUTPUT([HAVE_SELECT], [/* Define to 1 if you have the select function. */ + @%:@undef HAVE_SELECT]) +-m4trace:configure.ac:3530: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3719: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_SYS_TYPES_H]) +-m4trace:configure.ac:3530: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TYPES_H]) +-m4trace:configure.ac:3530: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) +-m4trace:configure.ac:3530: -1- AH_OUTPUT([HAVE_SYS_SOCKET_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3719: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TYPES_H]) ++m4trace:configure.ac:3719: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) ++m4trace:configure.ac:3719: -1- AH_OUTPUT([HAVE_SYS_SOCKET_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_SYS_SOCKET_H]) +-m4trace:configure.ac:3530: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_SOCKET_H]) +-m4trace:configure.ac:3530: -1- m4_pattern_allow([^HAVE_SYS_SOCKET_H$]) +-m4trace:configure.ac:3530: -1- AC_DEFINE_TRACE_LITERAL([HAVE_RECV]) +-m4trace:configure.ac:3530: -1- m4_pattern_allow([^HAVE_RECV$]) +-m4trace:configure.ac:3530: -1- AH_OUTPUT([HAVE_RECV], [/* Define to 1 if you have the recv function. */ ++m4trace:configure.ac:3719: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_SOCKET_H]) ++m4trace:configure.ac:3719: -1- m4_pattern_allow([^HAVE_SYS_SOCKET_H$]) ++m4trace:configure.ac:3719: -1- AC_DEFINE_TRACE_LITERAL([HAVE_RECV]) ++m4trace:configure.ac:3719: -1- m4_pattern_allow([^HAVE_RECV$]) ++m4trace:configure.ac:3719: -1- AH_OUTPUT([HAVE_RECV], [/* Define to 1 if you have the recv function. */ + @%:@undef HAVE_RECV]) +-m4trace:configure.ac:3531: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3720: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_SYS_TYPES_H]) +-m4trace:configure.ac:3531: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TYPES_H]) +-m4trace:configure.ac:3531: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) +-m4trace:configure.ac:3531: -1- AH_OUTPUT([HAVE_SYS_SOCKET_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3720: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TYPES_H]) ++m4trace:configure.ac:3720: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) ++m4trace:configure.ac:3720: -1- AH_OUTPUT([HAVE_SYS_SOCKET_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_SYS_SOCKET_H]) +-m4trace:configure.ac:3531: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_SOCKET_H]) +-m4trace:configure.ac:3531: -1- m4_pattern_allow([^HAVE_SYS_SOCKET_H$]) +-m4trace:configure.ac:3531: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SEND]) +-m4trace:configure.ac:3531: -1- m4_pattern_allow([^HAVE_SEND$]) +-m4trace:configure.ac:3531: -1- AH_OUTPUT([HAVE_SEND], [/* Define to 1 if you have the send function. */ ++m4trace:configure.ac:3720: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_SOCKET_H]) ++m4trace:configure.ac:3720: -1- m4_pattern_allow([^HAVE_SYS_SOCKET_H$]) ++m4trace:configure.ac:3720: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SEND]) ++m4trace:configure.ac:3720: -1- m4_pattern_allow([^HAVE_SEND$]) ++m4trace:configure.ac:3720: -1- AH_OUTPUT([HAVE_SEND], [/* Define to 1 if you have the send function. */ + @%:@undef HAVE_SEND]) +-m4trace:configure.ac:3532: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3721: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_SYS_TYPES_H]) +-m4trace:configure.ac:3532: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TYPES_H]) +-m4trace:configure.ac:3532: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) +-m4trace:configure.ac:3532: -1- AH_OUTPUT([HAVE_SYS_SOCKET_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3721: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TYPES_H]) ++m4trace:configure.ac:3721: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) ++m4trace:configure.ac:3721: -1- AH_OUTPUT([HAVE_SYS_SOCKET_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_SYS_SOCKET_H]) +-m4trace:configure.ac:3532: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_SOCKET_H]) +-m4trace:configure.ac:3532: -1- m4_pattern_allow([^HAVE_SYS_SOCKET_H$]) +-m4trace:configure.ac:3532: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MSG_NOSIGNAL]) +-m4trace:configure.ac:3532: -1- m4_pattern_allow([^HAVE_MSG_NOSIGNAL$]) +-m4trace:configure.ac:3532: -1- AH_OUTPUT([HAVE_MSG_NOSIGNAL], [/* Define to 1 if you have the MSG_NOSIGNAL flag. */ ++m4trace:configure.ac:3721: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_SOCKET_H]) ++m4trace:configure.ac:3721: -1- m4_pattern_allow([^HAVE_SYS_SOCKET_H$]) ++m4trace:configure.ac:3721: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MSG_NOSIGNAL]) ++m4trace:configure.ac:3721: -1- m4_pattern_allow([^HAVE_MSG_NOSIGNAL$]) ++m4trace:configure.ac:3721: -1- AH_OUTPUT([HAVE_MSG_NOSIGNAL], [/* Define to 1 if you have the MSG_NOSIGNAL flag. */ + @%:@undef HAVE_MSG_NOSIGNAL]) +-m4trace:configure.ac:3534: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3723: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_SYS_TYPES_H]) +-m4trace:configure.ac:3534: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TYPES_H]) +-m4trace:configure.ac:3534: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) +-m4trace:configure.ac:3534: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3723: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TYPES_H]) ++m4trace:configure.ac:3723: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) ++m4trace:configure.ac:3723: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_UNISTD_H]) +-m4trace:configure.ac:3534: -1- AC_DEFINE_TRACE_LITERAL([HAVE_UNISTD_H]) +-m4trace:configure.ac:3534: -1- m4_pattern_allow([^HAVE_UNISTD_H$]) +-m4trace:configure.ac:3534: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ALARM]) +-m4trace:configure.ac:3534: -1- m4_pattern_allow([^HAVE_ALARM$]) +-m4trace:configure.ac:3534: -1- AH_OUTPUT([HAVE_ALARM], [/* Define to 1 if you have the alarm function. */ ++m4trace:configure.ac:3723: -1- AC_DEFINE_TRACE_LITERAL([HAVE_UNISTD_H]) ++m4trace:configure.ac:3723: -1- m4_pattern_allow([^HAVE_UNISTD_H$]) ++m4trace:configure.ac:3723: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ALARM]) ++m4trace:configure.ac:3723: -1- m4_pattern_allow([^HAVE_ALARM$]) ++m4trace:configure.ac:3723: -1- AH_OUTPUT([HAVE_ALARM], [/* Define to 1 if you have the alarm function. */ + @%:@undef HAVE_ALARM]) +-m4trace:configure.ac:3535: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3724: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_SYS_TYPES_H]) +-m4trace:configure.ac:3535: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TYPES_H]) +-m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) +-m4trace:configure.ac:3535: -1- AH_OUTPUT([HAVE_STRINGS_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3724: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TYPES_H]) ++m4trace:configure.ac:3724: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) ++m4trace:configure.ac:3724: -1- AH_OUTPUT([HAVE_STRINGS_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_STRINGS_H]) +-m4trace:configure.ac:3535: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRINGS_H]) +-m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_STRINGS_H$]) +-m4trace:configure.ac:3535: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3724: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRINGS_H]) ++m4trace:configure.ac:3724: -1- m4_pattern_allow([^HAVE_STRINGS_H$]) ++m4trace:configure.ac:3724: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_SYS_TYPES_H]) +-m4trace:configure.ac:3535: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TYPES_H]) +-m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) +-m4trace:configure.ac:3535: -1- AH_OUTPUT([HAVE_LIBGEN_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3724: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TYPES_H]) ++m4trace:configure.ac:3724: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) ++m4trace:configure.ac:3724: -1- AH_OUTPUT([HAVE_LIBGEN_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_LIBGEN_H]) +-m4trace:configure.ac:3535: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBGEN_H]) +-m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_LIBGEN_H$]) +-m4trace:configure.ac:3535: -1- AC_DEFINE_TRACE_LITERAL([HAVE_BASENAME]) +-m4trace:configure.ac:3535: -1- m4_pattern_allow([^HAVE_BASENAME$]) +-m4trace:configure.ac:3535: -1- AH_OUTPUT([HAVE_BASENAME], [/* Define to 1 if you have the basename function. */ ++m4trace:configure.ac:3724: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBGEN_H]) ++m4trace:configure.ac:3724: -1- m4_pattern_allow([^HAVE_LIBGEN_H$]) ++m4trace:configure.ac:3724: -1- AC_DEFINE_TRACE_LITERAL([HAVE_BASENAME]) ++m4trace:configure.ac:3724: -1- m4_pattern_allow([^HAVE_BASENAME$]) ++m4trace:configure.ac:3724: -1- AH_OUTPUT([HAVE_BASENAME], [/* Define to 1 if you have the basename function. */ + @%:@undef HAVE_BASENAME]) +-m4trace:configure.ac:3536: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3725: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_SYS_TYPES_H]) +-m4trace:configure.ac:3536: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TYPES_H]) +-m4trace:configure.ac:3536: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) +-m4trace:configure.ac:3536: -1- AH_OUTPUT([HAVE_SOCKET_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3725: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TYPES_H]) ++m4trace:configure.ac:3725: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) ++m4trace:configure.ac:3725: -1- AH_OUTPUT([HAVE_SOCKET_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_SOCKET_H]) +-m4trace:configure.ac:3536: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SOCKET_H]) +-m4trace:configure.ac:3536: -1- m4_pattern_allow([^HAVE_SOCKET_H$]) +-m4trace:configure.ac:3536: -1- AC_DEFINE_TRACE_LITERAL([HAVE_CLOSESOCKET]) +-m4trace:configure.ac:3536: -1- m4_pattern_allow([^HAVE_CLOSESOCKET$]) +-m4trace:configure.ac:3536: -1- AH_OUTPUT([HAVE_CLOSESOCKET], [/* Define to 1 if you have the closesocket function. */ ++m4trace:configure.ac:3725: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SOCKET_H]) ++m4trace:configure.ac:3725: -1- m4_pattern_allow([^HAVE_SOCKET_H$]) ++m4trace:configure.ac:3725: -1- AC_DEFINE_TRACE_LITERAL([HAVE_CLOSESOCKET]) ++m4trace:configure.ac:3725: -1- m4_pattern_allow([^HAVE_CLOSESOCKET$]) ++m4trace:configure.ac:3725: -1- AH_OUTPUT([HAVE_CLOSESOCKET], [/* Define to 1 if you have the closesocket function. */ + @%:@undef HAVE_CLOSESOCKET]) +-m4trace:configure.ac:3537: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3726: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_SYS_TYPES_H]) +-m4trace:configure.ac:3537: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TYPES_H]) +-m4trace:configure.ac:3537: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) +-m4trace:configure.ac:3537: -1- AH_OUTPUT([HAVE_SYS_SOCKET_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3726: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TYPES_H]) ++m4trace:configure.ac:3726: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) ++m4trace:configure.ac:3726: -1- AH_OUTPUT([HAVE_SYS_SOCKET_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_SYS_SOCKET_H]) +-m4trace:configure.ac:3537: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_SOCKET_H]) +-m4trace:configure.ac:3537: -1- m4_pattern_allow([^HAVE_SYS_SOCKET_H$]) +-m4trace:configure.ac:3537: -1- AC_DEFINE_TRACE_LITERAL([HAVE_CLOSESOCKET_CAMEL]) +-m4trace:configure.ac:3537: -1- m4_pattern_allow([^HAVE_CLOSESOCKET_CAMEL$]) +-m4trace:configure.ac:3537: -1- AH_OUTPUT([HAVE_CLOSESOCKET_CAMEL], [/* Define to 1 if you have the CloseSocket camel case function. */ ++m4trace:configure.ac:3726: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_SOCKET_H]) ++m4trace:configure.ac:3726: -1- m4_pattern_allow([^HAVE_SYS_SOCKET_H$]) ++m4trace:configure.ac:3726: -1- AC_DEFINE_TRACE_LITERAL([HAVE_CLOSESOCKET_CAMEL]) ++m4trace:configure.ac:3726: -1- m4_pattern_allow([^HAVE_CLOSESOCKET_CAMEL$]) ++m4trace:configure.ac:3726: -1- AH_OUTPUT([HAVE_CLOSESOCKET_CAMEL], [/* Define to 1 if you have the CloseSocket camel case function. */ + @%:@undef HAVE_CLOSESOCKET_CAMEL]) +-m4trace:configure.ac:3538: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3727: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_SYS_TYPES_H]) +-m4trace:configure.ac:3538: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TYPES_H]) +-m4trace:configure.ac:3538: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) +-m4trace:configure.ac:3538: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3727: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TYPES_H]) ++m4trace:configure.ac:3727: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) ++m4trace:configure.ac:3727: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_UNISTD_H]) +-m4trace:configure.ac:3538: -1- AC_DEFINE_TRACE_LITERAL([HAVE_UNISTD_H]) +-m4trace:configure.ac:3538: -1- m4_pattern_allow([^HAVE_UNISTD_H$]) +-m4trace:configure.ac:3538: -1- AH_OUTPUT([HAVE_FCNTL_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3727: -1- AC_DEFINE_TRACE_LITERAL([HAVE_UNISTD_H]) ++m4trace:configure.ac:3727: -1- m4_pattern_allow([^HAVE_UNISTD_H$]) ++m4trace:configure.ac:3727: -1- AH_OUTPUT([HAVE_FCNTL_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_FCNTL_H]) +-m4trace:configure.ac:3538: -1- AC_DEFINE_TRACE_LITERAL([HAVE_FCNTL_H]) +-m4trace:configure.ac:3538: -1- m4_pattern_allow([^HAVE_FCNTL_H$]) +-m4trace:configure.ac:3538: -1- AC_DEFINE_TRACE_LITERAL([HAVE_FCNTL]) +-m4trace:configure.ac:3538: -1- m4_pattern_allow([^HAVE_FCNTL$]) +-m4trace:configure.ac:3538: -1- AH_OUTPUT([HAVE_FCNTL], [/* Define to 1 if you have the fcntl function. */ ++m4trace:configure.ac:3727: -1- AC_DEFINE_TRACE_LITERAL([HAVE_FCNTL_H]) ++m4trace:configure.ac:3727: -1- m4_pattern_allow([^HAVE_FCNTL_H$]) ++m4trace:configure.ac:3727: -1- AC_DEFINE_TRACE_LITERAL([HAVE_FCNTL]) ++m4trace:configure.ac:3727: -1- m4_pattern_allow([^HAVE_FCNTL$]) ++m4trace:configure.ac:3727: -1- AH_OUTPUT([HAVE_FCNTL], [/* Define to 1 if you have the fcntl function. */ + @%:@undef HAVE_FCNTL]) +-m4trace:configure.ac:3538: -1- AC_DEFINE_TRACE_LITERAL([HAVE_FCNTL_O_NONBLOCK]) +-m4trace:configure.ac:3538: -1- m4_pattern_allow([^HAVE_FCNTL_O_NONBLOCK$]) +-m4trace:configure.ac:3538: -1- AH_OUTPUT([HAVE_FCNTL_O_NONBLOCK], [/* Define to 1 if you have a working fcntl O_NONBLOCK function. */ ++m4trace:configure.ac:3727: -1- AC_DEFINE_TRACE_LITERAL([HAVE_FCNTL_O_NONBLOCK]) ++m4trace:configure.ac:3727: -1- m4_pattern_allow([^HAVE_FCNTL_O_NONBLOCK$]) ++m4trace:configure.ac:3727: -1- AH_OUTPUT([HAVE_FCNTL_O_NONBLOCK], [/* Define to 1 if you have a working fcntl O_NONBLOCK function. */ + @%:@undef HAVE_FCNTL_O_NONBLOCK]) +-m4trace:configure.ac:3539: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WINDOWS_H]) +-m4trace:configure.ac:3539: -1- m4_pattern_allow([^HAVE_WINDOWS_H$]) +-m4trace:configure.ac:3539: -1- AH_OUTPUT([HAVE_WINDOWS_H], [/* Define to 1 if you have the windows.h header file. */ +-@%:@undef HAVE_WINDOWS_H]) +-m4trace:configure.ac:3539: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WINSOCK2_H]) +-m4trace:configure.ac:3539: -1- m4_pattern_allow([^HAVE_WINSOCK2_H$]) +-m4trace:configure.ac:3539: -1- AH_OUTPUT([HAVE_WINSOCK2_H], [/* Define to 1 if you have the winsock2.h header file. */ +-@%:@undef HAVE_WINSOCK2_H]) +-m4trace:configure.ac:3539: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WS2TCPIP_H]) +-m4trace:configure.ac:3539: -1- m4_pattern_allow([^HAVE_WS2TCPIP_H$]) +-m4trace:configure.ac:3539: -1- AH_OUTPUT([HAVE_WS2TCPIP_H], [/* Define to 1 if you have the ws2tcpip.h header file. */ +-@%:@undef HAVE_WS2TCPIP_H]) +-m4trace:configure.ac:3539: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3728: -1- AM_CONDITIONAL([DOING_NATIVE_WINDOWS], [test "x$curl_cv_native_windows" = xyes]) ++m4trace:configure.ac:3728: -1- AC_SUBST([DOING_NATIVE_WINDOWS_TRUE]) ++m4trace:configure.ac:3728: -1- AC_SUBST_TRACE([DOING_NATIVE_WINDOWS_TRUE]) ++m4trace:configure.ac:3728: -1- m4_pattern_allow([^DOING_NATIVE_WINDOWS_TRUE$]) ++m4trace:configure.ac:3728: -1- AC_SUBST([DOING_NATIVE_WINDOWS_FALSE]) ++m4trace:configure.ac:3728: -1- AC_SUBST_TRACE([DOING_NATIVE_WINDOWS_FALSE]) ++m4trace:configure.ac:3728: -1- m4_pattern_allow([^DOING_NATIVE_WINDOWS_FALSE$]) ++m4trace:configure.ac:3728: -1- _AM_SUBST_NOTMAKE([DOING_NATIVE_WINDOWS_TRUE]) ++m4trace:configure.ac:3728: -1- _AM_SUBST_NOTMAKE([DOING_NATIVE_WINDOWS_FALSE]) ++m4trace:configure.ac:3728: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_SYS_TYPES_H]) +-m4trace:configure.ac:3539: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TYPES_H]) +-m4trace:configure.ac:3539: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) +-m4trace:configure.ac:3539: -1- AH_OUTPUT([HAVE_NETDB_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3728: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TYPES_H]) ++m4trace:configure.ac:3728: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) ++m4trace:configure.ac:3728: -1- AH_OUTPUT([HAVE_NETDB_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_NETDB_H]) +-m4trace:configure.ac:3539: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NETDB_H]) +-m4trace:configure.ac:3539: -1- m4_pattern_allow([^HAVE_NETDB_H$]) +-m4trace:configure.ac:3539: -1- AC_DEFINE_TRACE_LITERAL([HAVE_FREEADDRINFO]) +-m4trace:configure.ac:3539: -1- m4_pattern_allow([^HAVE_FREEADDRINFO$]) +-m4trace:configure.ac:3539: -1- AH_OUTPUT([HAVE_FREEADDRINFO], [/* Define to 1 if you have the freeaddrinfo function. */ ++m4trace:configure.ac:3728: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NETDB_H]) ++m4trace:configure.ac:3728: -1- m4_pattern_allow([^HAVE_NETDB_H$]) ++m4trace:configure.ac:3728: -1- AC_DEFINE_TRACE_LITERAL([HAVE_FREEADDRINFO]) ++m4trace:configure.ac:3728: -1- m4_pattern_allow([^HAVE_FREEADDRINFO$]) ++m4trace:configure.ac:3728: -1- AH_OUTPUT([HAVE_FREEADDRINFO], [/* Define to 1 if you have the freeaddrinfo function. */ + @%:@undef HAVE_FREEADDRINFO]) +-m4trace:configure.ac:3540: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3729: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_SYS_TYPES_H]) +-m4trace:configure.ac:3540: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TYPES_H]) +-m4trace:configure.ac:3540: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) +-m4trace:configure.ac:3540: -1- AH_OUTPUT([HAVE_SYS_XATTR_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3729: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TYPES_H]) ++m4trace:configure.ac:3729: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) ++m4trace:configure.ac:3729: -1- AH_OUTPUT([HAVE_SYS_XATTR_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_SYS_XATTR_H]) +-m4trace:configure.ac:3540: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_XATTR_H]) +-m4trace:configure.ac:3540: -1- m4_pattern_allow([^HAVE_SYS_XATTR_H$]) +-m4trace:configure.ac:3540: -1- AC_DEFINE_TRACE_LITERAL([HAVE_FSETXATTR]) +-m4trace:configure.ac:3540: -1- m4_pattern_allow([^HAVE_FSETXATTR$]) +-m4trace:configure.ac:3540: -1- AH_OUTPUT([HAVE_FSETXATTR], [/* Define to 1 if you have the fsetxattr function. */ ++m4trace:configure.ac:3729: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_XATTR_H]) ++m4trace:configure.ac:3729: -1- m4_pattern_allow([^HAVE_SYS_XATTR_H$]) ++m4trace:configure.ac:3729: -1- AC_DEFINE_TRACE_LITERAL([HAVE_FSETXATTR]) ++m4trace:configure.ac:3729: -1- m4_pattern_allow([^HAVE_FSETXATTR$]) ++m4trace:configure.ac:3729: -1- AH_OUTPUT([HAVE_FSETXATTR], [/* Define to 1 if you have the fsetxattr function. */ + @%:@undef HAVE_FSETXATTR]) +-m4trace:configure.ac:3540: -1- AC_DEFINE_TRACE_LITERAL([HAVE_FSETXATTR_5]) +-m4trace:configure.ac:3540: -1- m4_pattern_allow([^HAVE_FSETXATTR_5$]) +-m4trace:configure.ac:3540: -1- AH_OUTPUT([HAVE_FSETXATTR_5], [/* fsetxattr() takes 5 args */ ++m4trace:configure.ac:3729: -1- AC_DEFINE_TRACE_LITERAL([HAVE_FSETXATTR_5]) ++m4trace:configure.ac:3729: -1- m4_pattern_allow([^HAVE_FSETXATTR_5$]) ++m4trace:configure.ac:3729: -1- AH_OUTPUT([HAVE_FSETXATTR_5], [/* fsetxattr() takes 5 args */ + @%:@undef HAVE_FSETXATTR_5]) +-m4trace:configure.ac:3540: -1- AC_DEFINE_TRACE_LITERAL([HAVE_FSETXATTR_6]) +-m4trace:configure.ac:3540: -1- m4_pattern_allow([^HAVE_FSETXATTR_6$]) +-m4trace:configure.ac:3540: -1- AH_OUTPUT([HAVE_FSETXATTR_6], [/* fsetxattr() takes 6 args */ ++m4trace:configure.ac:3729: -1- AC_DEFINE_TRACE_LITERAL([HAVE_FSETXATTR_6]) ++m4trace:configure.ac:3729: -1- m4_pattern_allow([^HAVE_FSETXATTR_6$]) ++m4trace:configure.ac:3729: -1- AH_OUTPUT([HAVE_FSETXATTR_6], [/* fsetxattr() takes 6 args */ + @%:@undef HAVE_FSETXATTR_6]) +-m4trace:configure.ac:3541: -1- AC_DEFINE_TRACE_LITERAL([HAVE_FTRUNCATE]) +-m4trace:configure.ac:3541: -1- m4_pattern_allow([^HAVE_FTRUNCATE$]) +-m4trace:configure.ac:3541: -1- AH_OUTPUT([HAVE_FTRUNCATE], [/* Define to 1 if you have the ftruncate function. */ ++m4trace:configure.ac:3730: -1- AC_DEFINE_TRACE_LITERAL([HAVE_FTRUNCATE]) ++m4trace:configure.ac:3730: -1- m4_pattern_allow([^HAVE_FTRUNCATE$]) ++m4trace:configure.ac:3730: -1- AH_OUTPUT([HAVE_FTRUNCATE], [/* Define to 1 if you have the ftruncate function. */ + @%:@undef HAVE_FTRUNCATE]) +-m4trace:configure.ac:3542: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3731: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_SYS_TYPES_H]) +-m4trace:configure.ac:3542: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TYPES_H]) +-m4trace:configure.ac:3542: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) +-m4trace:configure.ac:3542: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:5818: CURL_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:1742: CURL_CHECK_FUNC_GETADDRINFO is expanded from... +-configure.ac:3542: the top level]) +-m4trace:configure.ac:3542: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:5818: CURL_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:1742: CURL_CHECK_FUNC_GETADDRINFO is expanded from... +-configure.ac:3542: the top level]) +-m4trace:configure.ac:3542: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETADDRINFO]) +-m4trace:configure.ac:3542: -1- m4_pattern_allow([^HAVE_GETADDRINFO$]) +-m4trace:configure.ac:3542: -1- AH_OUTPUT([HAVE_GETADDRINFO], [/* Define to 1 if you have a working getaddrinfo function. */ ++m4trace:configure.ac:3731: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TYPES_H]) ++m4trace:configure.ac:3731: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) ++m4trace:configure.ac:3731: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:5778: CURL_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:1702: CURL_CHECK_FUNC_GETADDRINFO is expanded from... ++configure.ac:3731: the top level]) ++m4trace:configure.ac:3731: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:5778: CURL_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:1702: CURL_CHECK_FUNC_GETADDRINFO is expanded from... ++configure.ac:3731: the top level]) ++m4trace:configure.ac:3731: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETADDRINFO]) ++m4trace:configure.ac:3731: -1- m4_pattern_allow([^HAVE_GETADDRINFO$]) ++m4trace:configure.ac:3731: -1- AH_OUTPUT([HAVE_GETADDRINFO], [/* Define to 1 if you have a working getaddrinfo function. */ + @%:@undef HAVE_GETADDRINFO]) +-m4trace:configure.ac:3542: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETADDRINFO_THREADSAFE]) +-m4trace:configure.ac:3542: -1- m4_pattern_allow([^HAVE_GETADDRINFO_THREADSAFE$]) +-m4trace:configure.ac:3542: -1- AH_OUTPUT([HAVE_GETADDRINFO_THREADSAFE], [/* Define to 1 if the getaddrinfo function is threadsafe. */ ++m4trace:configure.ac:3731: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETADDRINFO_THREADSAFE]) ++m4trace:configure.ac:3731: -1- m4_pattern_allow([^HAVE_GETADDRINFO_THREADSAFE$]) ++m4trace:configure.ac:3731: -1- AH_OUTPUT([HAVE_GETADDRINFO_THREADSAFE], [/* Define to 1 if the getaddrinfo function is threadsafe. */ + @%:@undef HAVE_GETADDRINFO_THREADSAFE]) +-m4trace:configure.ac:3543: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETHOSTBYNAME]) +-m4trace:configure.ac:3543: -1- m4_pattern_allow([^HAVE_GETHOSTBYNAME$]) +-m4trace:configure.ac:3543: -1- AH_OUTPUT([HAVE_GETHOSTBYNAME], [/* Define to 1 if you have the gethostbyname function. */ ++m4trace:configure.ac:3732: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETHOSTBYNAME]) ++m4trace:configure.ac:3732: -1- m4_pattern_allow([^HAVE_GETHOSTBYNAME$]) ++m4trace:configure.ac:3732: -1- AH_OUTPUT([HAVE_GETHOSTBYNAME], [/* Define to 1 if you have the gethostbyname function. */ + @%:@undef HAVE_GETHOSTBYNAME]) +-m4trace:configure.ac:3544: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETHOSTBYNAME_R]) +-m4trace:configure.ac:3544: -1- m4_pattern_allow([^HAVE_GETHOSTBYNAME_R$]) +-m4trace:configure.ac:3544: -1- AH_OUTPUT([HAVE_GETHOSTBYNAME_R], [/* Define to 1 if you have the gethostbyname_r function. */ ++m4trace:configure.ac:3733: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETHOSTBYNAME_R]) ++m4trace:configure.ac:3733: -1- m4_pattern_allow([^HAVE_GETHOSTBYNAME_R$]) ++m4trace:configure.ac:3733: -1- AH_OUTPUT([HAVE_GETHOSTBYNAME_R], [/* Define to 1 if you have the gethostbyname_r function. */ + @%:@undef HAVE_GETHOSTBYNAME_R]) +-m4trace:configure.ac:3544: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETHOSTBYNAME_R_3]) +-m4trace:configure.ac:3544: -1- m4_pattern_allow([^HAVE_GETHOSTBYNAME_R_3$]) +-m4trace:configure.ac:3544: -1- AH_OUTPUT([HAVE_GETHOSTBYNAME_R_3], [/* gethostbyname_r() takes 3 args */ ++m4trace:configure.ac:3733: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETHOSTBYNAME_R_3]) ++m4trace:configure.ac:3733: -1- m4_pattern_allow([^HAVE_GETHOSTBYNAME_R_3$]) ++m4trace:configure.ac:3733: -1- AH_OUTPUT([HAVE_GETHOSTBYNAME_R_3], [/* gethostbyname_r() takes 3 args */ + @%:@undef HAVE_GETHOSTBYNAME_R_3]) +-m4trace:configure.ac:3544: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETHOSTBYNAME_R_5]) +-m4trace:configure.ac:3544: -1- m4_pattern_allow([^HAVE_GETHOSTBYNAME_R_5$]) +-m4trace:configure.ac:3544: -1- AH_OUTPUT([HAVE_GETHOSTBYNAME_R_5], [/* gethostbyname_r() takes 5 args */ ++m4trace:configure.ac:3733: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETHOSTBYNAME_R_5]) ++m4trace:configure.ac:3733: -1- m4_pattern_allow([^HAVE_GETHOSTBYNAME_R_5$]) ++m4trace:configure.ac:3733: -1- AH_OUTPUT([HAVE_GETHOSTBYNAME_R_5], [/* gethostbyname_r() takes 5 args */ + @%:@undef HAVE_GETHOSTBYNAME_R_5]) +-m4trace:configure.ac:3544: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETHOSTBYNAME_R_6]) +-m4trace:configure.ac:3544: -1- m4_pattern_allow([^HAVE_GETHOSTBYNAME_R_6$]) +-m4trace:configure.ac:3544: -1- AH_OUTPUT([HAVE_GETHOSTBYNAME_R_6], [/* gethostbyname_r() takes 6 args */ ++m4trace:configure.ac:3733: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETHOSTBYNAME_R_6]) ++m4trace:configure.ac:3733: -1- m4_pattern_allow([^HAVE_GETHOSTBYNAME_R_6$]) ++m4trace:configure.ac:3733: -1- AH_OUTPUT([HAVE_GETHOSTBYNAME_R_6], [/* gethostbyname_r() takes 6 args */ + @%:@undef HAVE_GETHOSTBYNAME_R_6]) +-m4trace:configure.ac:3545: -1- AC_DEFINE_TRACE_LITERAL([GETHOSTNAME_TYPE_ARG2]) +-m4trace:configure.ac:3545: -1- m4_pattern_allow([^GETHOSTNAME_TYPE_ARG2$]) +-m4trace:configure.ac:3545: -1- AH_OUTPUT([GETHOSTNAME_TYPE_ARG2], [/* Define to the type of arg 2 for gethostname. */ ++m4trace:configure.ac:3734: -1- AC_DEFINE_TRACE_LITERAL([GETHOSTNAME_TYPE_ARG2]) ++m4trace:configure.ac:3734: -1- m4_pattern_allow([^GETHOSTNAME_TYPE_ARG2$]) ++m4trace:configure.ac:3734: -1- AH_OUTPUT([GETHOSTNAME_TYPE_ARG2], [/* Define to the type of arg 2 for gethostname. */ + @%:@undef GETHOSTNAME_TYPE_ARG2]) +-m4trace:configure.ac:3545: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETHOSTNAME]) +-m4trace:configure.ac:3545: -1- m4_pattern_allow([^HAVE_GETHOSTNAME$]) +-m4trace:configure.ac:3545: -1- AH_OUTPUT([HAVE_GETHOSTNAME], [/* Define to 1 if you have the gethostname function. */ ++m4trace:configure.ac:3734: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETHOSTNAME]) ++m4trace:configure.ac:3734: -1- m4_pattern_allow([^HAVE_GETHOSTNAME$]) ++m4trace:configure.ac:3734: -1- AH_OUTPUT([HAVE_GETHOSTNAME], [/* Define to 1 if you have the gethostname function. */ + @%:@undef HAVE_GETHOSTNAME]) +-m4trace:configure.ac:3546: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETPEERNAME]) +-m4trace:configure.ac:3546: -1- m4_pattern_allow([^HAVE_GETPEERNAME$]) +-m4trace:configure.ac:3546: -1- AH_OUTPUT([HAVE_GETPEERNAME], [/* Define to 1 if you have the getpeername function. */ ++m4trace:configure.ac:3735: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETPEERNAME]) ++m4trace:configure.ac:3735: -1- m4_pattern_allow([^HAVE_GETPEERNAME$]) ++m4trace:configure.ac:3735: -1- AH_OUTPUT([HAVE_GETPEERNAME], [/* Define to 1 if you have the getpeername function. */ + @%:@undef HAVE_GETPEERNAME]) +-m4trace:configure.ac:3547: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETSOCKNAME]) +-m4trace:configure.ac:3547: -1- m4_pattern_allow([^HAVE_GETSOCKNAME$]) +-m4trace:configure.ac:3547: -1- AH_OUTPUT([HAVE_GETSOCKNAME], [/* Define to 1 if you have the getsockname function. */ ++m4trace:configure.ac:3736: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETSOCKNAME]) ++m4trace:configure.ac:3736: -1- m4_pattern_allow([^HAVE_GETSOCKNAME$]) ++m4trace:configure.ac:3736: -1- AH_OUTPUT([HAVE_GETSOCKNAME], [/* Define to 1 if you have the getsockname function. */ + @%:@undef HAVE_GETSOCKNAME]) +-m4trace:configure.ac:3548: -1- AH_OUTPUT([HAVE_NET_IF_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3737: -1- AH_OUTPUT([HAVE_NET_IF_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_NET_IF_H]) +-m4trace:configure.ac:3548: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NET_IF_H]) +-m4trace:configure.ac:3548: -1- m4_pattern_allow([^HAVE_NET_IF_H$]) +-m4trace:configure.ac:3548: -1- AC_DEFINE_TRACE_LITERAL([HAVE_IF_NAMETOINDEX]) +-m4trace:configure.ac:3548: -1- m4_pattern_allow([^HAVE_IF_NAMETOINDEX$]) +-m4trace:configure.ac:3548: -1- AH_OUTPUT([HAVE_IF_NAMETOINDEX], [/* Define to 1 if you have the if_nametoindex function. */ ++m4trace:configure.ac:3737: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NET_IF_H]) ++m4trace:configure.ac:3737: -1- m4_pattern_allow([^HAVE_NET_IF_H$]) ++m4trace:configure.ac:3737: -1- AC_DEFINE_TRACE_LITERAL([HAVE_IF_NAMETOINDEX]) ++m4trace:configure.ac:3737: -1- m4_pattern_allow([^HAVE_IF_NAMETOINDEX$]) ++m4trace:configure.ac:3737: -1- AH_OUTPUT([HAVE_IF_NAMETOINDEX], [/* Define to 1 if you have the if_nametoindex function. */ + @%:@undef HAVE_IF_NAMETOINDEX]) +-m4trace:configure.ac:3549: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3738: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_SYS_TYPES_H]) +-m4trace:configure.ac:3549: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TYPES_H]) +-m4trace:configure.ac:3549: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) +-m4trace:configure.ac:3549: -1- AH_OUTPUT([HAVE_SYS_SOCKET_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3738: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TYPES_H]) ++m4trace:configure.ac:3738: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) ++m4trace:configure.ac:3738: -1- AH_OUTPUT([HAVE_SYS_SOCKET_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_SYS_SOCKET_H]) +-m4trace:configure.ac:3549: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_SOCKET_H]) +-m4trace:configure.ac:3549: -1- m4_pattern_allow([^HAVE_SYS_SOCKET_H$]) +-m4trace:configure.ac:3549: -1- AH_OUTPUT([HAVE_NETINET_IN_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3738: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_SOCKET_H]) ++m4trace:configure.ac:3738: -1- m4_pattern_allow([^HAVE_SYS_SOCKET_H$]) ++m4trace:configure.ac:3738: -1- AH_OUTPUT([HAVE_NETINET_IN_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_NETINET_IN_H]) +-m4trace:configure.ac:3549: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NETINET_IN_H]) +-m4trace:configure.ac:3549: -1- m4_pattern_allow([^HAVE_NETINET_IN_H$]) +-m4trace:configure.ac:3549: -1- AH_OUTPUT([HAVE_IFADDRS_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3738: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NETINET_IN_H]) ++m4trace:configure.ac:3738: -1- m4_pattern_allow([^HAVE_NETINET_IN_H$]) ++m4trace:configure.ac:3738: -1- AH_OUTPUT([HAVE_IFADDRS_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_IFADDRS_H]) +-m4trace:configure.ac:3549: -1- AC_DEFINE_TRACE_LITERAL([HAVE_IFADDRS_H]) +-m4trace:configure.ac:3549: -1- m4_pattern_allow([^HAVE_IFADDRS_H$]) +-m4trace:configure.ac:3549: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:5818: CURL_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:2669: CURL_CHECK_FUNC_GETIFADDRS is expanded from... +-configure.ac:3549: the top level]) +-m4trace:configure.ac:3549: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:5818: CURL_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:2669: CURL_CHECK_FUNC_GETIFADDRS is expanded from... +-configure.ac:3549: the top level]) +-m4trace:configure.ac:3549: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETIFADDRS]) +-m4trace:configure.ac:3549: -1- m4_pattern_allow([^HAVE_GETIFADDRS$]) +-m4trace:configure.ac:3549: -1- AH_OUTPUT([HAVE_GETIFADDRS], [/* Define to 1 if you have a working getifaddrs function. */ ++m4trace:configure.ac:3738: -1- AC_DEFINE_TRACE_LITERAL([HAVE_IFADDRS_H]) ++m4trace:configure.ac:3738: -1- m4_pattern_allow([^HAVE_IFADDRS_H$]) ++m4trace:configure.ac:3738: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:5778: CURL_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:2629: CURL_CHECK_FUNC_GETIFADDRS is expanded from... ++configure.ac:3738: the top level]) ++m4trace:configure.ac:3738: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:5778: CURL_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:2629: CURL_CHECK_FUNC_GETIFADDRS is expanded from... ++configure.ac:3738: the top level]) ++m4trace:configure.ac:3738: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETIFADDRS]) ++m4trace:configure.ac:3738: -1- m4_pattern_allow([^HAVE_GETIFADDRS$]) ++m4trace:configure.ac:3738: -1- AH_OUTPUT([HAVE_GETIFADDRS], [/* Define to 1 if you have a working getifaddrs function. */ + @%:@undef HAVE_GETIFADDRS]) +-m4trace:configure.ac:3550: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3739: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_SYS_TYPES_H]) +-m4trace:configure.ac:3550: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TYPES_H]) +-m4trace:configure.ac:3550: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) +-m4trace:configure.ac:3550: -1- AH_OUTPUT([HAVE_SYS_TIME_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3739: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TYPES_H]) ++m4trace:configure.ac:3739: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) ++m4trace:configure.ac:3739: -1- AH_OUTPUT([HAVE_SYS_TIME_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_SYS_TIME_H]) +-m4trace:configure.ac:3550: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TIME_H]) +-m4trace:configure.ac:3550: -1- m4_pattern_allow([^HAVE_SYS_TIME_H$]) +-m4trace:configure.ac:3550: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:5818: CURL_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:2907: CURL_CHECK_FUNC_GMTIME_R is expanded from... +-configure.ac:3550: the top level]) +-m4trace:configure.ac:3550: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:5818: CURL_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:2907: CURL_CHECK_FUNC_GMTIME_R is expanded from... +-configure.ac:3550: the top level]) +-m4trace:configure.ac:3550: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GMTIME_R]) +-m4trace:configure.ac:3550: -1- m4_pattern_allow([^HAVE_GMTIME_R$]) +-m4trace:configure.ac:3550: -1- AH_OUTPUT([HAVE_GMTIME_R], [/* Define to 1 if you have a working gmtime_r function. */ ++m4trace:configure.ac:3739: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TIME_H]) ++m4trace:configure.ac:3739: -1- m4_pattern_allow([^HAVE_SYS_TIME_H$]) ++m4trace:configure.ac:3739: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:5778: CURL_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:2867: CURL_CHECK_FUNC_GMTIME_R is expanded from... ++configure.ac:3739: the top level]) ++m4trace:configure.ac:3739: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:5778: CURL_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:2867: CURL_CHECK_FUNC_GMTIME_R is expanded from... ++configure.ac:3739: the top level]) ++m4trace:configure.ac:3739: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GMTIME_R]) ++m4trace:configure.ac:3739: -1- m4_pattern_allow([^HAVE_GMTIME_R$]) ++m4trace:configure.ac:3739: -1- AH_OUTPUT([HAVE_GMTIME_R], [/* Define to 1 if you have a working gmtime_r function. */ + @%:@undef HAVE_GMTIME_R]) +-m4trace:configure.ac:3551: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3740: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_SYS_TYPES_H]) +-m4trace:configure.ac:3551: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TYPES_H]) +-m4trace:configure.ac:3551: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) +-m4trace:configure.ac:3551: -1- AH_OUTPUT([HAVE_SYS_SOCKET_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3740: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TYPES_H]) ++m4trace:configure.ac:3740: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) ++m4trace:configure.ac:3740: -1- AH_OUTPUT([HAVE_SYS_SOCKET_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_SYS_SOCKET_H]) +-m4trace:configure.ac:3551: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_SOCKET_H]) +-m4trace:configure.ac:3551: -1- m4_pattern_allow([^HAVE_SYS_SOCKET_H$]) +-m4trace:configure.ac:3551: -1- AH_OUTPUT([HAVE_NETINET_IN_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3740: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_SOCKET_H]) ++m4trace:configure.ac:3740: -1- m4_pattern_allow([^HAVE_SYS_SOCKET_H$]) ++m4trace:configure.ac:3740: -1- AH_OUTPUT([HAVE_NETINET_IN_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_NETINET_IN_H]) +-m4trace:configure.ac:3551: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NETINET_IN_H]) +-m4trace:configure.ac:3551: -1- m4_pattern_allow([^HAVE_NETINET_IN_H$]) +-m4trace:configure.ac:3551: -1- AH_OUTPUT([HAVE_ARPA_INET_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3740: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NETINET_IN_H]) ++m4trace:configure.ac:3740: -1- m4_pattern_allow([^HAVE_NETINET_IN_H$]) ++m4trace:configure.ac:3740: -1- AH_OUTPUT([HAVE_ARPA_INET_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_ARPA_INET_H]) +-m4trace:configure.ac:3551: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ARPA_INET_H]) +-m4trace:configure.ac:3551: -1- m4_pattern_allow([^HAVE_ARPA_INET_H$]) +-m4trace:configure.ac:3551: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:5818: CURL_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:3023: CURL_CHECK_FUNC_INET_NTOP is expanded from... +-configure.ac:3551: the top level]) +-m4trace:configure.ac:3551: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:5818: CURL_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:3023: CURL_CHECK_FUNC_INET_NTOP is expanded from... +-configure.ac:3551: the top level]) +-m4trace:configure.ac:3551: -1- AC_DEFINE_TRACE_LITERAL([HAVE_INET_NTOP]) +-m4trace:configure.ac:3551: -1- m4_pattern_allow([^HAVE_INET_NTOP$]) +-m4trace:configure.ac:3551: -1- AH_OUTPUT([HAVE_INET_NTOP], [/* Define to 1 if you have a IPv6 capable working inet_ntop function. */ ++m4trace:configure.ac:3740: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ARPA_INET_H]) ++m4trace:configure.ac:3740: -1- m4_pattern_allow([^HAVE_ARPA_INET_H$]) ++m4trace:configure.ac:3740: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:5778: CURL_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:2983: CURL_CHECK_FUNC_INET_NTOP is expanded from... ++configure.ac:3740: the top level]) ++m4trace:configure.ac:3740: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:5778: CURL_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:2983: CURL_CHECK_FUNC_INET_NTOP is expanded from... ++configure.ac:3740: the top level]) ++m4trace:configure.ac:3740: -1- AC_DEFINE_TRACE_LITERAL([HAVE_INET_NTOP]) ++m4trace:configure.ac:3740: -1- m4_pattern_allow([^HAVE_INET_NTOP$]) ++m4trace:configure.ac:3740: -1- AH_OUTPUT([HAVE_INET_NTOP], [/* Define to 1 if you have a IPv6 capable working inet_ntop function. */ + @%:@undef HAVE_INET_NTOP]) +-m4trace:configure.ac:3552: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:5818: CURL_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:3182: CURL_CHECK_FUNC_INET_PTON is expanded from... +-configure.ac:3552: the top level]) +-m4trace:configure.ac:3552: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:5818: CURL_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:3182: CURL_CHECK_FUNC_INET_PTON is expanded from... +-configure.ac:3552: the top level]) +-m4trace:configure.ac:3552: -1- AC_DEFINE_TRACE_LITERAL([HAVE_INET_PTON]) +-m4trace:configure.ac:3552: -1- m4_pattern_allow([^HAVE_INET_PTON$]) +-m4trace:configure.ac:3552: -1- AH_OUTPUT([HAVE_INET_PTON], [/* Define to 1 if you have a IPv6 capable working inet_pton function. */ ++m4trace:configure.ac:3741: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:5778: CURL_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:3142: CURL_CHECK_FUNC_INET_PTON is expanded from... ++configure.ac:3741: the top level]) ++m4trace:configure.ac:3741: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:5778: CURL_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:3142: CURL_CHECK_FUNC_INET_PTON is expanded from... ++configure.ac:3741: the top level]) ++m4trace:configure.ac:3741: -1- AC_DEFINE_TRACE_LITERAL([HAVE_INET_PTON]) ++m4trace:configure.ac:3741: -1- m4_pattern_allow([^HAVE_INET_PTON$]) ++m4trace:configure.ac:3741: -1- AH_OUTPUT([HAVE_INET_PTON], [/* Define to 1 if you have a IPv6 capable working inet_pton function. */ + @%:@undef HAVE_INET_PTON]) +-m4trace:configure.ac:3553: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3742: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_SYS_TYPES_H]) +-m4trace:configure.ac:3553: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TYPES_H]) +-m4trace:configure.ac:3553: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) +-m4trace:configure.ac:3553: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3742: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TYPES_H]) ++m4trace:configure.ac:3742: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) ++m4trace:configure.ac:3742: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_UNISTD_H]) +-m4trace:configure.ac:3553: -1- AC_DEFINE_TRACE_LITERAL([HAVE_UNISTD_H]) +-m4trace:configure.ac:3553: -1- m4_pattern_allow([^HAVE_UNISTD_H$]) +-m4trace:configure.ac:3553: -1- AH_OUTPUT([HAVE_SYS_SOCKET_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3742: -1- AC_DEFINE_TRACE_LITERAL([HAVE_UNISTD_H]) ++m4trace:configure.ac:3742: -1- m4_pattern_allow([^HAVE_UNISTD_H$]) ++m4trace:configure.ac:3742: -1- AH_OUTPUT([HAVE_SYS_SOCKET_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_SYS_SOCKET_H]) +-m4trace:configure.ac:3553: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_SOCKET_H]) +-m4trace:configure.ac:3553: -1- m4_pattern_allow([^HAVE_SYS_SOCKET_H$]) +-m4trace:configure.ac:3553: -1- AH_OUTPUT([HAVE_SYS_IOCTL_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3742: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_SOCKET_H]) ++m4trace:configure.ac:3742: -1- m4_pattern_allow([^HAVE_SYS_SOCKET_H$]) ++m4trace:configure.ac:3742: -1- AH_OUTPUT([HAVE_SYS_IOCTL_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_SYS_IOCTL_H]) +-m4trace:configure.ac:3553: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_IOCTL_H]) +-m4trace:configure.ac:3553: -1- m4_pattern_allow([^HAVE_SYS_IOCTL_H$]) +-m4trace:configure.ac:3553: -1- AH_OUTPUT([HAVE_STROPTS_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3742: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_IOCTL_H]) ++m4trace:configure.ac:3742: -1- m4_pattern_allow([^HAVE_SYS_IOCTL_H$]) ++m4trace:configure.ac:3742: -1- AH_OUTPUT([HAVE_STROPTS_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_STROPTS_H]) +-m4trace:configure.ac:3553: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STROPTS_H]) +-m4trace:configure.ac:3553: -1- m4_pattern_allow([^HAVE_STROPTS_H$]) +-m4trace:configure.ac:3553: -1- AC_DEFINE_TRACE_LITERAL([HAVE_IOCTL]) +-m4trace:configure.ac:3553: -1- m4_pattern_allow([^HAVE_IOCTL$]) +-m4trace:configure.ac:3553: -1- AH_OUTPUT([HAVE_IOCTL], [/* Define to 1 if you have the ioctl function. */ ++m4trace:configure.ac:3742: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STROPTS_H]) ++m4trace:configure.ac:3742: -1- m4_pattern_allow([^HAVE_STROPTS_H$]) ++m4trace:configure.ac:3742: -1- AC_DEFINE_TRACE_LITERAL([HAVE_IOCTL]) ++m4trace:configure.ac:3742: -1- m4_pattern_allow([^HAVE_IOCTL$]) ++m4trace:configure.ac:3742: -1- AH_OUTPUT([HAVE_IOCTL], [/* Define to 1 if you have the ioctl function. */ + @%:@undef HAVE_IOCTL]) +-m4trace:configure.ac:3553: -1- AC_DEFINE_TRACE_LITERAL([HAVE_IOCTL_FIONBIO]) +-m4trace:configure.ac:3553: -1- m4_pattern_allow([^HAVE_IOCTL_FIONBIO$]) +-m4trace:configure.ac:3553: -1- AH_OUTPUT([HAVE_IOCTL_FIONBIO], [/* Define to 1 if you have a working ioctl FIONBIO function. */ ++m4trace:configure.ac:3742: -1- AC_DEFINE_TRACE_LITERAL([HAVE_IOCTL_FIONBIO]) ++m4trace:configure.ac:3742: -1- m4_pattern_allow([^HAVE_IOCTL_FIONBIO$]) ++m4trace:configure.ac:3742: -1- AH_OUTPUT([HAVE_IOCTL_FIONBIO], [/* Define to 1 if you have a working ioctl FIONBIO function. */ + @%:@undef HAVE_IOCTL_FIONBIO]) +-m4trace:configure.ac:3553: -1- AC_DEFINE_TRACE_LITERAL([HAVE_IOCTL_SIOCGIFADDR]) +-m4trace:configure.ac:3553: -1- m4_pattern_allow([^HAVE_IOCTL_SIOCGIFADDR$]) +-m4trace:configure.ac:3553: -1- AH_OUTPUT([HAVE_IOCTL_SIOCGIFADDR], [/* Define to 1 if you have a working ioctl SIOCGIFADDR function. */ ++m4trace:configure.ac:3742: -1- AC_DEFINE_TRACE_LITERAL([HAVE_IOCTL_SIOCGIFADDR]) ++m4trace:configure.ac:3742: -1- m4_pattern_allow([^HAVE_IOCTL_SIOCGIFADDR$]) ++m4trace:configure.ac:3742: -1- AH_OUTPUT([HAVE_IOCTL_SIOCGIFADDR], [/* Define to 1 if you have a working ioctl SIOCGIFADDR function. */ + @%:@undef HAVE_IOCTL_SIOCGIFADDR]) +-m4trace:configure.ac:3554: -1- AC_DEFINE_TRACE_LITERAL([HAVE_IOCTLSOCKET]) +-m4trace:configure.ac:3554: -1- m4_pattern_allow([^HAVE_IOCTLSOCKET$]) +-m4trace:configure.ac:3554: -1- AH_OUTPUT([HAVE_IOCTLSOCKET], [/* Define to 1 if you have the ioctlsocket function. */ ++m4trace:configure.ac:3743: -1- AC_DEFINE_TRACE_LITERAL([HAVE_IOCTLSOCKET]) ++m4trace:configure.ac:3743: -1- m4_pattern_allow([^HAVE_IOCTLSOCKET$]) ++m4trace:configure.ac:3743: -1- AH_OUTPUT([HAVE_IOCTLSOCKET], [/* Define to 1 if you have the ioctlsocket function. */ + @%:@undef HAVE_IOCTLSOCKET]) +-m4trace:configure.ac:3554: -1- AC_DEFINE_TRACE_LITERAL([HAVE_IOCTLSOCKET_FIONBIO]) +-m4trace:configure.ac:3554: -1- m4_pattern_allow([^HAVE_IOCTLSOCKET_FIONBIO$]) +-m4trace:configure.ac:3554: -1- AH_OUTPUT([HAVE_IOCTLSOCKET_FIONBIO], [/* Define to 1 if you have a working ioctlsocket FIONBIO function. */ ++m4trace:configure.ac:3743: -1- AC_DEFINE_TRACE_LITERAL([HAVE_IOCTLSOCKET_FIONBIO]) ++m4trace:configure.ac:3743: -1- m4_pattern_allow([^HAVE_IOCTLSOCKET_FIONBIO$]) ++m4trace:configure.ac:3743: -1- AH_OUTPUT([HAVE_IOCTLSOCKET_FIONBIO], [/* Define to 1 if you have a working ioctlsocket FIONBIO function. */ + @%:@undef HAVE_IOCTLSOCKET_FIONBIO]) +-m4trace:configure.ac:3555: -1- AC_DEFINE_TRACE_LITERAL([HAVE_IOCTLSOCKET_CAMEL]) +-m4trace:configure.ac:3555: -1- m4_pattern_allow([^HAVE_IOCTLSOCKET_CAMEL$]) +-m4trace:configure.ac:3555: -1- AH_OUTPUT([HAVE_IOCTLSOCKET_CAMEL], [/* Define to 1 if you have the IoctlSocket camel case function. */ ++m4trace:configure.ac:3744: -1- AC_DEFINE_TRACE_LITERAL([HAVE_IOCTLSOCKET_CAMEL]) ++m4trace:configure.ac:3744: -1- m4_pattern_allow([^HAVE_IOCTLSOCKET_CAMEL$]) ++m4trace:configure.ac:3744: -1- AH_OUTPUT([HAVE_IOCTLSOCKET_CAMEL], [/* Define to 1 if you have the IoctlSocket camel case function. */ + @%:@undef HAVE_IOCTLSOCKET_CAMEL]) +-m4trace:configure.ac:3555: -1- AC_DEFINE_TRACE_LITERAL([HAVE_IOCTLSOCKET_CAMEL_FIONBIO]) +-m4trace:configure.ac:3555: -1- m4_pattern_allow([^HAVE_IOCTLSOCKET_CAMEL_FIONBIO$]) +-m4trace:configure.ac:3555: -1- AH_OUTPUT([HAVE_IOCTLSOCKET_CAMEL_FIONBIO], [/* Define to 1 if you have a working IoctlSocket camel case FIONBIO function. ++m4trace:configure.ac:3744: -1- AC_DEFINE_TRACE_LITERAL([HAVE_IOCTLSOCKET_CAMEL_FIONBIO]) ++m4trace:configure.ac:3744: -1- m4_pattern_allow([^HAVE_IOCTLSOCKET_CAMEL_FIONBIO$]) ++m4trace:configure.ac:3744: -1- AH_OUTPUT([HAVE_IOCTLSOCKET_CAMEL_FIONBIO], [/* Define to 1 if you have a working IoctlSocket camel case FIONBIO function. + */ + @%:@undef HAVE_IOCTLSOCKET_CAMEL_FIONBIO]) +-m4trace:configure.ac:3556: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MEMRCHR]) +-m4trace:configure.ac:3556: -1- m4_pattern_allow([^HAVE_MEMRCHR$]) +-m4trace:configure.ac:3556: -1- AH_OUTPUT([HAVE_MEMRCHR], [/* Define to 1 if you have the memrchr function or macro. */ ++m4trace:configure.ac:3745: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MEMRCHR]) ++m4trace:configure.ac:3745: -1- m4_pattern_allow([^HAVE_MEMRCHR$]) ++m4trace:configure.ac:3745: -1- AH_OUTPUT([HAVE_MEMRCHR], [/* Define to 1 if you have the memrchr function or macro. */ + @%:@undef HAVE_MEMRCHR]) +-m4trace:configure.ac:3557: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:5818: CURL_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:4051: CURL_CHECK_FUNC_POLL is expanded from... +-configure.ac:3557: the top level]) +-m4trace:configure.ac:3557: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:5818: CURL_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:4051: CURL_CHECK_FUNC_POLL is expanded from... +-configure.ac:3557: the top level]) +-m4trace:configure.ac:3557: -1- AC_DEFINE_TRACE_LITERAL([HAVE_POLL_FINE]) +-m4trace:configure.ac:3557: -1- m4_pattern_allow([^HAVE_POLL_FINE$]) +-m4trace:configure.ac:3557: -1- AH_OUTPUT([HAVE_POLL_FINE], [/* If you have a fine poll */ ++m4trace:configure.ac:3746: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_SYS_TYPES_H]) ++m4trace:configure.ac:3746: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TYPES_H]) ++m4trace:configure.ac:3746: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) ++m4trace:configure.ac:3746: -1- AH_OUTPUT([HAVE_POLL_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_POLL_H]) ++m4trace:configure.ac:3746: -1- AC_DEFINE_TRACE_LITERAL([HAVE_POLL_H]) ++m4trace:configure.ac:3746: -1- m4_pattern_allow([^HAVE_POLL_H$]) ++m4trace:configure.ac:3746: -1- AH_OUTPUT([HAVE_SYS_POLL_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_SYS_POLL_H]) ++m4trace:configure.ac:3746: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_POLL_H]) ++m4trace:configure.ac:3746: -1- m4_pattern_allow([^HAVE_SYS_POLL_H$]) ++m4trace:configure.ac:3746: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:5778: CURL_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:4011: CURL_CHECK_FUNC_POLL is expanded from... ++configure.ac:3746: the top level]) ++m4trace:configure.ac:3746: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:5778: CURL_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:4011: CURL_CHECK_FUNC_POLL is expanded from... ++configure.ac:3746: the top level]) ++m4trace:configure.ac:3746: -1- AC_DEFINE_TRACE_LITERAL([HAVE_POLL_FINE]) ++m4trace:configure.ac:3746: -1- m4_pattern_allow([^HAVE_POLL_FINE$]) ++m4trace:configure.ac:3746: -1- AH_OUTPUT([HAVE_POLL_FINE], [/* If you have a fine poll */ + @%:@undef HAVE_POLL_FINE]) +-m4trace:configure.ac:3558: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3747: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_SYS_TYPES_H]) +-m4trace:configure.ac:3558: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TYPES_H]) +-m4trace:configure.ac:3558: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) +-m4trace:configure.ac:3558: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SIGACTION]) +-m4trace:configure.ac:3558: -1- m4_pattern_allow([^HAVE_SIGACTION$]) +-m4trace:configure.ac:3558: -1- AH_OUTPUT([HAVE_SIGACTION], [/* Define to 1 if you have the sigaction function. */ ++m4trace:configure.ac:3747: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TYPES_H]) ++m4trace:configure.ac:3747: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) ++m4trace:configure.ac:3747: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SIGACTION]) ++m4trace:configure.ac:3747: -1- m4_pattern_allow([^HAVE_SIGACTION$]) ++m4trace:configure.ac:3747: -1- AH_OUTPUT([HAVE_SIGACTION], [/* Define to 1 if you have the sigaction function. */ + @%:@undef HAVE_SIGACTION]) +-m4trace:configure.ac:3559: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SIGINTERRUPT]) +-m4trace:configure.ac:3559: -1- m4_pattern_allow([^HAVE_SIGINTERRUPT$]) +-m4trace:configure.ac:3559: -1- AH_OUTPUT([HAVE_SIGINTERRUPT], [/* Define to 1 if you have the siginterrupt function. */ ++m4trace:configure.ac:3748: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SIGINTERRUPT]) ++m4trace:configure.ac:3748: -1- m4_pattern_allow([^HAVE_SIGINTERRUPT$]) ++m4trace:configure.ac:3748: -1- AH_OUTPUT([HAVE_SIGINTERRUPT], [/* Define to 1 if you have the siginterrupt function. */ + @%:@undef HAVE_SIGINTERRUPT]) +-m4trace:configure.ac:3560: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SIGNAL]) +-m4trace:configure.ac:3560: -1- m4_pattern_allow([^HAVE_SIGNAL$]) +-m4trace:configure.ac:3560: -1- AH_OUTPUT([HAVE_SIGNAL], [/* Define to 1 if you have the signal function. */ ++m4trace:configure.ac:3749: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SIGNAL]) ++m4trace:configure.ac:3749: -1- m4_pattern_allow([^HAVE_SIGNAL$]) ++m4trace:configure.ac:3749: -1- AH_OUTPUT([HAVE_SIGNAL], [/* Define to 1 if you have the signal function. */ + @%:@undef HAVE_SIGNAL]) +-m4trace:configure.ac:3561: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the header file. */ ++m4trace:configure.ac:3750: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the header file. */ + @%:@undef HAVE_SYS_TYPES_H]) +-m4trace:configure.ac:3561: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TYPES_H]) +-m4trace:configure.ac:3561: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) +-m4trace:configure.ac:3561: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SIGSETJMP]) +-m4trace:configure.ac:3561: -1- m4_pattern_allow([^HAVE_SIGSETJMP$]) +-m4trace:configure.ac:3561: -1- AH_OUTPUT([HAVE_SIGSETJMP], [/* Define to 1 if you have the sigsetjmp function or macro. */ ++m4trace:configure.ac:3750: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TYPES_H]) ++m4trace:configure.ac:3750: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) ++m4trace:configure.ac:3750: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SIGSETJMP]) ++m4trace:configure.ac:3750: -1- m4_pattern_allow([^HAVE_SIGSETJMP$]) ++m4trace:configure.ac:3750: -1- AH_OUTPUT([HAVE_SIGSETJMP], [/* Define to 1 if you have the sigsetjmp function or macro. */ + @%:@undef HAVE_SIGSETJMP]) +-m4trace:configure.ac:3562: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SOCKET]) +-m4trace:configure.ac:3562: -1- m4_pattern_allow([^HAVE_SOCKET$]) +-m4trace:configure.ac:3562: -1- AH_OUTPUT([HAVE_SOCKET], [/* Define to 1 if you have the socket function. */ ++m4trace:configure.ac:3751: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SOCKET]) ++m4trace:configure.ac:3751: -1- m4_pattern_allow([^HAVE_SOCKET$]) ++m4trace:configure.ac:3751: -1- AH_OUTPUT([HAVE_SOCKET], [/* Define to 1 if you have the socket function. */ + @%:@undef HAVE_SOCKET]) +-m4trace:configure.ac:3563: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SOCKETPAIR]) +-m4trace:configure.ac:3563: -1- m4_pattern_allow([^HAVE_SOCKETPAIR$]) +-m4trace:configure.ac:3563: -1- AH_OUTPUT([HAVE_SOCKETPAIR], [/* Define to 1 if you have the socketpair function. */ ++m4trace:configure.ac:3752: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SOCKETPAIR]) ++m4trace:configure.ac:3752: -1- m4_pattern_allow([^HAVE_SOCKETPAIR$]) ++m4trace:configure.ac:3752: -1- AH_OUTPUT([HAVE_SOCKETPAIR], [/* Define to 1 if you have the socketpair function. */ + @%:@undef HAVE_SOCKETPAIR]) +-m4trace:configure.ac:3564: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRCASECMP]) +-m4trace:configure.ac:3564: -1- m4_pattern_allow([^HAVE_STRCASECMP$]) +-m4trace:configure.ac:3564: -1- AH_OUTPUT([HAVE_STRCASECMP], [/* Define to 1 if you have the strcasecmp function. */ ++m4trace:configure.ac:3753: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRCASECMP]) ++m4trace:configure.ac:3753: -1- m4_pattern_allow([^HAVE_STRCASECMP$]) ++m4trace:configure.ac:3753: -1- AH_OUTPUT([HAVE_STRCASECMP], [/* Define to 1 if you have the strcasecmp function. */ + @%:@undef HAVE_STRCASECMP]) +-m4trace:configure.ac:3565: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRCMPI]) +-m4trace:configure.ac:3565: -1- m4_pattern_allow([^HAVE_STRCMPI$]) +-m4trace:configure.ac:3565: -1- AH_OUTPUT([HAVE_STRCMPI], [/* Define to 1 if you have the strcmpi function. */ ++m4trace:configure.ac:3754: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRCMPI]) ++m4trace:configure.ac:3754: -1- m4_pattern_allow([^HAVE_STRCMPI$]) ++m4trace:configure.ac:3754: -1- AH_OUTPUT([HAVE_STRCMPI], [/* Define to 1 if you have the strcmpi function. */ + @%:@undef HAVE_STRCMPI]) +-m4trace:configure.ac:3566: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRDUP]) +-m4trace:configure.ac:3566: -1- m4_pattern_allow([^HAVE_STRDUP$]) +-m4trace:configure.ac:3566: -1- AH_OUTPUT([HAVE_STRDUP], [/* Define to 1 if you have the strdup function. */ ++m4trace:configure.ac:3755: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRDUP]) ++m4trace:configure.ac:3755: -1- m4_pattern_allow([^HAVE_STRDUP$]) ++m4trace:configure.ac:3755: -1- AH_OUTPUT([HAVE_STRDUP], [/* Define to 1 if you have the strdup function. */ + @%:@undef HAVE_STRDUP]) +-m4trace:configure.ac:3567: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:5818: CURL_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:5320: CURL_CHECK_FUNC_STRERROR_R is expanded from... +-configure.ac:3567: the top level]) +-m4trace:configure.ac:3567: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:5818: CURL_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:5320: CURL_CHECK_FUNC_STRERROR_R is expanded from... +-configure.ac:3567: the top level]) +-m4trace:configure.ac:3567: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:5818: CURL_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:5320: CURL_CHECK_FUNC_STRERROR_R is expanded from... +-configure.ac:3567: the top level]) +-m4trace:configure.ac:3567: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:5818: CURL_RUN_IFELSE is expanded from... +-m4/curl-functions.m4:5320: CURL_CHECK_FUNC_STRERROR_R is expanded from... +-configure.ac:3567: the top level]) +-m4trace:configure.ac:3567: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRERROR_R]) +-m4trace:configure.ac:3567: -1- m4_pattern_allow([^HAVE_STRERROR_R$]) +-m4trace:configure.ac:3567: -1- AH_OUTPUT([HAVE_STRERROR_R], [/* Define to 1 if you have the strerror_r function. */ ++m4trace:configure.ac:3756: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:5778: CURL_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:5280: CURL_CHECK_FUNC_STRERROR_R is expanded from... ++configure.ac:3756: the top level]) ++m4trace:configure.ac:3756: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:5778: CURL_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:5280: CURL_CHECK_FUNC_STRERROR_R is expanded from... ++configure.ac:3756: the top level]) ++m4trace:configure.ac:3756: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:5778: CURL_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:5280: CURL_CHECK_FUNC_STRERROR_R is expanded from... ++configure.ac:3756: the top level]) ++m4trace:configure.ac:3756: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:5778: CURL_RUN_IFELSE is expanded from... ++m4/curl-functions.m4:5280: CURL_CHECK_FUNC_STRERROR_R is expanded from... ++configure.ac:3756: the top level]) ++m4trace:configure.ac:3756: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRERROR_R]) ++m4trace:configure.ac:3756: -1- m4_pattern_allow([^HAVE_STRERROR_R$]) ++m4trace:configure.ac:3756: -1- AH_OUTPUT([HAVE_STRERROR_R], [/* Define to 1 if you have the strerror_r function. */ + @%:@undef HAVE_STRERROR_R]) +-m4trace:configure.ac:3567: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GLIBC_STRERROR_R]) +-m4trace:configure.ac:3567: -1- m4_pattern_allow([^HAVE_GLIBC_STRERROR_R$]) +-m4trace:configure.ac:3567: -1- AH_OUTPUT([HAVE_GLIBC_STRERROR_R], [/* Define to 1 if you have a working glibc-style strerror_r function. */ ++m4trace:configure.ac:3756: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GLIBC_STRERROR_R]) ++m4trace:configure.ac:3756: -1- m4_pattern_allow([^HAVE_GLIBC_STRERROR_R$]) ++m4trace:configure.ac:3756: -1- AH_OUTPUT([HAVE_GLIBC_STRERROR_R], [/* Define to 1 if you have a working glibc-style strerror_r function. */ + @%:@undef HAVE_GLIBC_STRERROR_R]) +-m4trace:configure.ac:3567: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRERROR_R]) +-m4trace:configure.ac:3567: -1- m4_pattern_allow([^HAVE_STRERROR_R$]) +-m4trace:configure.ac:3567: -1- AH_OUTPUT([HAVE_STRERROR_R], [/* Define to 1 if you have the strerror_r function. */ ++m4trace:configure.ac:3756: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRERROR_R]) ++m4trace:configure.ac:3756: -1- m4_pattern_allow([^HAVE_STRERROR_R$]) ++m4trace:configure.ac:3756: -1- AH_OUTPUT([HAVE_STRERROR_R], [/* Define to 1 if you have the strerror_r function. */ + @%:@undef HAVE_STRERROR_R]) +-m4trace:configure.ac:3567: -1- AC_DEFINE_TRACE_LITERAL([HAVE_POSIX_STRERROR_R]) +-m4trace:configure.ac:3567: -1- m4_pattern_allow([^HAVE_POSIX_STRERROR_R$]) +-m4trace:configure.ac:3567: -1- AH_OUTPUT([HAVE_POSIX_STRERROR_R], [/* Define to 1 if you have a working POSIX-style strerror_r function. */ ++m4trace:configure.ac:3756: -1- AC_DEFINE_TRACE_LITERAL([HAVE_POSIX_STRERROR_R]) ++m4trace:configure.ac:3756: -1- m4_pattern_allow([^HAVE_POSIX_STRERROR_R$]) ++m4trace:configure.ac:3756: -1- AH_OUTPUT([HAVE_POSIX_STRERROR_R], [/* Define to 1 if you have a working POSIX-style strerror_r function. */ + @%:@undef HAVE_POSIX_STRERROR_R]) +-m4trace:configure.ac:3568: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRICMP]) +-m4trace:configure.ac:3568: -1- m4_pattern_allow([^HAVE_STRICMP$]) +-m4trace:configure.ac:3568: -1- AH_OUTPUT([HAVE_STRICMP], [/* Define to 1 if you have the stricmp function. */ ++m4trace:configure.ac:3757: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRICMP]) ++m4trace:configure.ac:3757: -1- m4_pattern_allow([^HAVE_STRICMP$]) ++m4trace:configure.ac:3757: -1- AH_OUTPUT([HAVE_STRICMP], [/* Define to 1 if you have the stricmp function. */ + @%:@undef HAVE_STRICMP]) +-m4trace:configure.ac:3569: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRTOK_R]) +-m4trace:configure.ac:3569: -1- m4_pattern_allow([^HAVE_STRTOK_R$]) +-m4trace:configure.ac:3569: -1- AH_OUTPUT([HAVE_STRTOK_R], [/* Define to 1 if you have the strtok_r function. */ ++m4trace:configure.ac:3758: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRTOK_R]) ++m4trace:configure.ac:3758: -1- m4_pattern_allow([^HAVE_STRTOK_R$]) ++m4trace:configure.ac:3758: -1- AH_OUTPUT([HAVE_STRTOK_R], [/* Define to 1 if you have the strtok_r function. */ + @%:@undef HAVE_STRTOK_R]) +-m4trace:configure.ac:3570: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRTOLL]) +-m4trace:configure.ac:3570: -1- m4_pattern_allow([^HAVE_STRTOLL$]) +-m4trace:configure.ac:3570: -1- AH_OUTPUT([HAVE_STRTOLL], [/* Define to 1 if you have the strtoll function. */ ++m4trace:configure.ac:3759: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRTOLL]) ++m4trace:configure.ac:3759: -1- m4_pattern_allow([^HAVE_STRTOLL$]) ++m4trace:configure.ac:3759: -1- AH_OUTPUT([HAVE_STRTOLL], [/* Define to 1 if you have the strtoll function. */ + @%:@undef HAVE_STRTOLL]) +-m4trace:configure.ac:3580: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_GETPWUID_R]) +-m4trace:configure.ac:3580: -1- m4_pattern_allow([^HAVE_DECL_GETPWUID_R$]) +-m4trace:configure.ac:3580: -1- AH_OUTPUT([HAVE_DECL_GETPWUID_R], [/* Define to 1 if you have the declaration of `getpwuid_r\', and to 0 if you ++m4trace:configure.ac:3769: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_GETPWUID_R]) ++m4trace:configure.ac:3769: -1- m4_pattern_allow([^HAVE_DECL_GETPWUID_R$]) ++m4trace:configure.ac:3769: -1- AH_OUTPUT([HAVE_DECL_GETPWUID_R], [/* Define to 1 if you have the declaration of `getpwuid_r\', and to 0 if you + don\'t. */ + @%:@undef HAVE_DECL_GETPWUID_R]) +-m4trace:configure.ac:3580: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_GETPWUID_R_MISSING]) +-m4trace:configure.ac:3580: -1- m4_pattern_allow([^HAVE_DECL_GETPWUID_R_MISSING$]) +-m4trace:configure.ac:3580: -1- AH_OUTPUT([HAVE_DECL_GETPWUID_R_MISSING], [/* "Set if getpwuid_r() declaration is missing" */ ++m4trace:configure.ac:3769: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_GETPWUID_R_MISSING]) ++m4trace:configure.ac:3769: -1- m4_pattern_allow([^HAVE_DECL_GETPWUID_R_MISSING$]) ++m4trace:configure.ac:3769: -1- AH_OUTPUT([HAVE_DECL_GETPWUID_R_MISSING], [/* "Set if getpwuid_r() declaration is missing" */ + @%:@undef HAVE_DECL_GETPWUID_R_MISSING]) +-m4trace:configure.ac:3585: -1- AH_OUTPUT([HAVE__FSEEKI64], [/* Define to 1 if you have the `_fseeki64\' function. */ ++m4trace:configure.ac:3773: -1- AH_OUTPUT([HAVE__FSEEKI64], [/* Define to 1 if you have the `_fseeki64\' function. */ + @%:@undef HAVE__FSEEKI64]) +-m4trace:configure.ac:3585: -1- AH_OUTPUT([HAVE_ARC4RANDOM], [/* Define to 1 if you have the `arc4random\' function. */ ++m4trace:configure.ac:3773: -1- AH_OUTPUT([HAVE_ARC4RANDOM], [/* Define to 1 if you have the `arc4random\' function. */ + @%:@undef HAVE_ARC4RANDOM]) +-m4trace:configure.ac:3585: -1- AH_OUTPUT([HAVE_FCHMOD], [/* Define to 1 if you have the `fchmod\' function. */ +-@%:@undef HAVE_FCHMOD]) +-m4trace:configure.ac:3585: -1- AH_OUTPUT([HAVE_FNMATCH], [/* Define to 1 if you have the `fnmatch\' function. */ ++m4trace:configure.ac:3773: -1- AH_OUTPUT([HAVE_FNMATCH], [/* Define to 1 if you have the `fnmatch\' function. */ + @%:@undef HAVE_FNMATCH]) +-m4trace:configure.ac:3585: -1- AH_OUTPUT([HAVE_FSEEKO], [/* Define to 1 if you have the `fseeko\' function. */ ++m4trace:configure.ac:3773: -1- AH_OUTPUT([HAVE_FSEEKO], [/* Define to 1 if you have the `fseeko\' function. */ + @%:@undef HAVE_FSEEKO]) +-m4trace:configure.ac:3585: -1- AH_OUTPUT([HAVE_GETEUID], [/* Define to 1 if you have the `geteuid\' function. */ ++m4trace:configure.ac:3773: -1- AH_OUTPUT([HAVE_GETEUID], [/* Define to 1 if you have the `geteuid\' function. */ + @%:@undef HAVE_GETEUID]) +-m4trace:configure.ac:3585: -1- AH_OUTPUT([HAVE_GETPASS_R], [/* Define to 1 if you have the `getpass_r\' function. */ ++m4trace:configure.ac:3773: -1- AH_OUTPUT([HAVE_GETPASS_R], [/* Define to 1 if you have the `getpass_r\' function. */ + @%:@undef HAVE_GETPASS_R]) +-m4trace:configure.ac:3585: -1- AH_OUTPUT([HAVE_GETPPID], [/* Define to 1 if you have the `getppid\' function. */ ++m4trace:configure.ac:3773: -1- AH_OUTPUT([HAVE_GETPPID], [/* Define to 1 if you have the `getppid\' function. */ + @%:@undef HAVE_GETPPID]) +-m4trace:configure.ac:3585: -1- AH_OUTPUT([HAVE_GETPWUID], [/* Define to 1 if you have the `getpwuid\' function. */ ++m4trace:configure.ac:3773: -1- AH_OUTPUT([HAVE_GETPWUID], [/* Define to 1 if you have the `getpwuid\' function. */ + @%:@undef HAVE_GETPWUID]) +-m4trace:configure.ac:3585: -1- AH_OUTPUT([HAVE_GETPWUID_R], [/* Define to 1 if you have the `getpwuid_r\' function. */ ++m4trace:configure.ac:3773: -1- AH_OUTPUT([HAVE_GETPWUID_R], [/* Define to 1 if you have the `getpwuid_r\' function. */ + @%:@undef HAVE_GETPWUID_R]) +-m4trace:configure.ac:3585: -1- AH_OUTPUT([HAVE_GETRLIMIT], [/* Define to 1 if you have the `getrlimit\' function. */ ++m4trace:configure.ac:3773: -1- AH_OUTPUT([HAVE_GETRLIMIT], [/* Define to 1 if you have the `getrlimit\' function. */ + @%:@undef HAVE_GETRLIMIT]) +-m4trace:configure.ac:3585: -1- AH_OUTPUT([HAVE_GETTIMEOFDAY], [/* Define to 1 if you have the `gettimeofday\' function. */ ++m4trace:configure.ac:3773: -1- AH_OUTPUT([HAVE_GETTIMEOFDAY], [/* Define to 1 if you have the `gettimeofday\' function. */ + @%:@undef HAVE_GETTIMEOFDAY]) +-m4trace:configure.ac:3585: -1- AH_OUTPUT([HAVE_IF_NAMETOINDEX], [/* Define to 1 if you have the `if_nametoindex\' function. */ ++m4trace:configure.ac:3773: -1- AH_OUTPUT([HAVE_IF_NAMETOINDEX], [/* Define to 1 if you have the `if_nametoindex\' function. */ + @%:@undef HAVE_IF_NAMETOINDEX]) +-m4trace:configure.ac:3585: -1- AH_OUTPUT([HAVE_MACH_ABSOLUTE_TIME], [/* Define to 1 if you have the `mach_absolute_time\' function. */ ++m4trace:configure.ac:3773: -1- AH_OUTPUT([HAVE_MACH_ABSOLUTE_TIME], [/* Define to 1 if you have the `mach_absolute_time\' function. */ + @%:@undef HAVE_MACH_ABSOLUTE_TIME]) +-m4trace:configure.ac:3585: -1- AH_OUTPUT([HAVE_PIPE], [/* Define to 1 if you have the `pipe\' function. */ ++m4trace:configure.ac:3773: -1- AH_OUTPUT([HAVE_PIPE], [/* Define to 1 if you have the `pipe\' function. */ + @%:@undef HAVE_PIPE]) +-m4trace:configure.ac:3585: -1- AH_OUTPUT([HAVE_SCHED_YIELD], [/* Define to 1 if you have the `sched_yield\' function. */ ++m4trace:configure.ac:3773: -1- AH_OUTPUT([HAVE_SCHED_YIELD], [/* Define to 1 if you have the `sched_yield\' function. */ + @%:@undef HAVE_SCHED_YIELD]) +-m4trace:configure.ac:3585: -1- AH_OUTPUT([HAVE_SENDMSG], [/* Define to 1 if you have the `sendmsg\' function. */ ++m4trace:configure.ac:3773: -1- AH_OUTPUT([HAVE_SENDMSG], [/* Define to 1 if you have the `sendmsg\' function. */ + @%:@undef HAVE_SENDMSG]) +-m4trace:configure.ac:3585: -1- AH_OUTPUT([HAVE_SETLOCALE], [/* Define to 1 if you have the `setlocale\' function. */ ++m4trace:configure.ac:3773: -1- AH_OUTPUT([HAVE_SETLOCALE], [/* Define to 1 if you have the `setlocale\' function. */ + @%:@undef HAVE_SETLOCALE]) +-m4trace:configure.ac:3585: -1- AH_OUTPUT([HAVE_SETMODE], [/* Define to 1 if you have the `setmode\' function. */ ++m4trace:configure.ac:3773: -1- AH_OUTPUT([HAVE_SETMODE], [/* Define to 1 if you have the `setmode\' function. */ + @%:@undef HAVE_SETMODE]) +-m4trace:configure.ac:3585: -1- AH_OUTPUT([HAVE_SETRLIMIT], [/* Define to 1 if you have the `setrlimit\' function. */ ++m4trace:configure.ac:3773: -1- AH_OUTPUT([HAVE_SETRLIMIT], [/* Define to 1 if you have the `setrlimit\' function. */ + @%:@undef HAVE_SETRLIMIT]) +-m4trace:configure.ac:3585: -1- AH_OUTPUT([HAVE_SNPRINTF], [/* Define to 1 if you have the `snprintf\' function. */ ++m4trace:configure.ac:3773: -1- AH_OUTPUT([HAVE_SNPRINTF], [/* Define to 1 if you have the `snprintf\' function. */ + @%:@undef HAVE_SNPRINTF]) +-m4trace:configure.ac:3585: -1- AH_OUTPUT([HAVE_UTIME], [/* Define to 1 if you have the `utime\' function. */ ++m4trace:configure.ac:3773: -1- AH_OUTPUT([HAVE_UTIME], [/* Define to 1 if you have the `utime\' function. */ + @%:@undef HAVE_UTIME]) +-m4trace:configure.ac:3585: -1- AH_OUTPUT([HAVE_UTIMES], [/* Define to 1 if you have the `utimes\' function. */ ++m4trace:configure.ac:3773: -1- AH_OUTPUT([HAVE_UTIMES], [/* Define to 1 if you have the `utimes\' function. */ + @%:@undef HAVE_UTIMES]) +-m4trace:configure.ac:3637: -1- AC_SUBST([PERL]) +-m4trace:configure.ac:3637: -1- AC_SUBST_TRACE([PERL]) +-m4trace:configure.ac:3637: -1- m4_pattern_allow([^PERL$]) +-m4trace:configure.ac:3639: -1- AC_SUBST([PERL]) +-m4trace:configure.ac:3639: -1- AC_SUBST_TRACE([PERL]) +-m4trace:configure.ac:3639: -1- m4_pattern_allow([^PERL$]) +-m4trace:configure.ac:3641: -1- AC_SUBST([NROFF]) +-m4trace:configure.ac:3641: -1- AC_SUBST_TRACE([NROFF]) +-m4trace:configure.ac:3641: -1- m4_pattern_allow([^NROFF$]) +-m4trace:configure.ac:3643: -1- AC_SUBST([NROFF]) +-m4trace:configure.ac:3643: -1- AC_SUBST_TRACE([NROFF]) +-m4trace:configure.ac:3643: -1- m4_pattern_allow([^NROFF$]) +-m4trace:configure.ac:3664: -1- AC_SUBST([MANOPT]) +-m4trace:configure.ac:3664: -1- AC_SUBST_TRACE([MANOPT]) +-m4trace:configure.ac:3664: -1- m4_pattern_allow([^MANOPT$]) +-m4trace:configure.ac:3680: -1- AC_DEFINE_TRACE_LITERAL([USE_MANUAL]) +-m4trace:configure.ac:3680: -1- m4_pattern_allow([^USE_MANUAL$]) +-m4trace:configure.ac:3680: -1- AH_OUTPUT([USE_MANUAL], [/* If you want to build curl with the built-in manual */ ++m4trace:configure.ac:3821: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_FSEEKO]) ++m4trace:configure.ac:3821: -1- m4_pattern_allow([^HAVE_DECL_FSEEKO$]) ++m4trace:configure.ac:3821: -1- AH_OUTPUT([HAVE_DECL_FSEEKO], [/* Define to 1 if you have the fseeko declaration */ ++@%:@undef HAVE_DECL_FSEEKO]) ++m4trace:configure.ac:3829: -1- AC_SUBST([PERL]) ++m4trace:configure.ac:3829: -1- AC_SUBST_TRACE([PERL]) ++m4trace:configure.ac:3829: -1- m4_pattern_allow([^PERL$]) ++m4trace:configure.ac:3831: -1- AC_SUBST([PERL]) ++m4trace:configure.ac:3831: -1- AC_SUBST_TRACE([PERL]) ++m4trace:configure.ac:3831: -1- m4_pattern_allow([^PERL$]) ++m4trace:configure.ac:3841: -1- AM_CONDITIONAL([BUILD_DOCS], [test x"$BUILD_DOCS" = x1]) ++m4trace:configure.ac:3841: -1- AC_SUBST([BUILD_DOCS_TRUE]) ++m4trace:configure.ac:3841: -1- AC_SUBST_TRACE([BUILD_DOCS_TRUE]) ++m4trace:configure.ac:3841: -1- m4_pattern_allow([^BUILD_DOCS_TRUE$]) ++m4trace:configure.ac:3841: -1- AC_SUBST([BUILD_DOCS_FALSE]) ++m4trace:configure.ac:3841: -1- AC_SUBST_TRACE([BUILD_DOCS_FALSE]) ++m4trace:configure.ac:3841: -1- m4_pattern_allow([^BUILD_DOCS_FALSE$]) ++m4trace:configure.ac:3841: -1- _AM_SUBST_NOTMAKE([BUILD_DOCS_TRUE]) ++m4trace:configure.ac:3841: -1- _AM_SUBST_NOTMAKE([BUILD_DOCS_FALSE]) ++m4trace:configure.ac:3848: -1- AC_DEFINE_TRACE_LITERAL([USE_MANUAL]) ++m4trace:configure.ac:3848: -1- m4_pattern_allow([^USE_MANUAL$]) ++m4trace:configure.ac:3848: -1- AH_OUTPUT([USE_MANUAL], [/* If you want to build curl with the built-in manual */ + @%:@undef USE_MANUAL]) +-m4trace:configure.ac:3685: -1- AM_CONDITIONAL([USE_MANUAL], [test x"$USE_MANUAL" = x1]) +-m4trace:configure.ac:3685: -1- AC_SUBST([USE_MANUAL_TRUE]) +-m4trace:configure.ac:3685: -1- AC_SUBST_TRACE([USE_MANUAL_TRUE]) +-m4trace:configure.ac:3685: -1- m4_pattern_allow([^USE_MANUAL_TRUE$]) +-m4trace:configure.ac:3685: -1- AC_SUBST([USE_MANUAL_FALSE]) +-m4trace:configure.ac:3685: -1- AC_SUBST_TRACE([USE_MANUAL_FALSE]) +-m4trace:configure.ac:3685: -1- m4_pattern_allow([^USE_MANUAL_FALSE$]) +-m4trace:configure.ac:3685: -1- _AM_SUBST_NOTMAKE([USE_MANUAL_TRUE]) +-m4trace:configure.ac:3685: -1- _AM_SUBST_NOTMAKE([USE_MANUAL_FALSE]) +-m4trace:configure.ac:3687: -1- AC_SUBST([PKGCONFIG]) +-m4trace:configure.ac:3687: -1- AC_SUBST_TRACE([PKGCONFIG]) +-m4trace:configure.ac:3687: -1- m4_pattern_allow([^PKGCONFIG$]) +-m4trace:configure.ac:3687: -1- AC_SUBST([PKGCONFIG]) +-m4trace:configure.ac:3687: -1- AC_SUBST_TRACE([PKGCONFIG]) +-m4trace:configure.ac:3687: -1- m4_pattern_allow([^PKGCONFIG$]) +-m4trace:configure.ac:3687: -1- AC_DEFINE_TRACE_LITERAL([USE_ARES]) +-m4trace:configure.ac:3687: -1- m4_pattern_allow([^USE_ARES$]) +-m4trace:configure.ac:3687: -1- AH_OUTPUT([USE_ARES], [/* Define to enable c-ares support */ ++m4trace:configure.ac:3853: -1- AM_CONDITIONAL([USE_MANUAL], [test x"$USE_MANUAL" = x1]) ++m4trace:configure.ac:3853: -1- AC_SUBST([USE_MANUAL_TRUE]) ++m4trace:configure.ac:3853: -1- AC_SUBST_TRACE([USE_MANUAL_TRUE]) ++m4trace:configure.ac:3853: -1- m4_pattern_allow([^USE_MANUAL_TRUE$]) ++m4trace:configure.ac:3853: -1- AC_SUBST([USE_MANUAL_FALSE]) ++m4trace:configure.ac:3853: -1- AC_SUBST_TRACE([USE_MANUAL_FALSE]) ++m4trace:configure.ac:3853: -1- m4_pattern_allow([^USE_MANUAL_FALSE$]) ++m4trace:configure.ac:3853: -1- _AM_SUBST_NOTMAKE([USE_MANUAL_TRUE]) ++m4trace:configure.ac:3853: -1- _AM_SUBST_NOTMAKE([USE_MANUAL_FALSE]) ++m4trace:configure.ac:3855: -1- AC_SUBST([PKGCONFIG]) ++m4trace:configure.ac:3855: -1- AC_SUBST_TRACE([PKGCONFIG]) ++m4trace:configure.ac:3855: -1- m4_pattern_allow([^PKGCONFIG$]) ++m4trace:configure.ac:3855: -1- AC_SUBST([PKGCONFIG]) ++m4trace:configure.ac:3855: -1- AC_SUBST_TRACE([PKGCONFIG]) ++m4trace:configure.ac:3855: -1- m4_pattern_allow([^PKGCONFIG$]) ++m4trace:configure.ac:3855: -1- AC_DEFINE_TRACE_LITERAL([USE_ARES]) ++m4trace:configure.ac:3855: -1- m4_pattern_allow([^USE_ARES$]) ++m4trace:configure.ac:3855: -1- AH_OUTPUT([USE_ARES], [/* Define to enable c-ares support */ + @%:@undef USE_ARES]) +-m4trace:configure.ac:3687: -1- AC_SUBST([USE_ARES], [1]) +-m4trace:configure.ac:3687: -1- AC_SUBST_TRACE([USE_ARES]) +-m4trace:configure.ac:3687: -1- m4_pattern_allow([^USE_ARES$]) +-m4trace:configure.ac:3695: -1- AM_CONDITIONAL([BUILD_LIBHOSTNAME], [test x$build_libhostname = xyes]) +-m4trace:configure.ac:3695: -1- AC_SUBST([BUILD_LIBHOSTNAME_TRUE]) +-m4trace:configure.ac:3695: -1- AC_SUBST_TRACE([BUILD_LIBHOSTNAME_TRUE]) +-m4trace:configure.ac:3695: -1- m4_pattern_allow([^BUILD_LIBHOSTNAME_TRUE$]) +-m4trace:configure.ac:3695: -1- AC_SUBST([BUILD_LIBHOSTNAME_FALSE]) +-m4trace:configure.ac:3695: -1- AC_SUBST_TRACE([BUILD_LIBHOSTNAME_FALSE]) +-m4trace:configure.ac:3695: -1- m4_pattern_allow([^BUILD_LIBHOSTNAME_FALSE$]) +-m4trace:configure.ac:3695: -1- _AM_SUBST_NOTMAKE([BUILD_LIBHOSTNAME_TRUE]) +-m4trace:configure.ac:3695: -1- _AM_SUBST_NOTMAKE([BUILD_LIBHOSTNAME_FALSE]) +-m4trace:configure.ac:3743: -1- AC_DEFINE_TRACE_LITERAL([HAVE_PTHREAD_H]) +-m4trace:configure.ac:3743: -1- m4_pattern_allow([^HAVE_PTHREAD_H$]) +-m4trace:configure.ac:3743: -1- AH_OUTPUT([HAVE_PTHREAD_H], [/* if you have */ ++m4trace:configure.ac:3855: -1- AC_SUBST([USE_ARES], [1]) ++m4trace:configure.ac:3855: -1- AC_SUBST_TRACE([USE_ARES]) ++m4trace:configure.ac:3855: -1- m4_pattern_allow([^USE_ARES$]) ++m4trace:configure.ac:3863: -1- AM_CONDITIONAL([BUILD_LIBHOSTNAME], [test x$build_libhostname = xyes]) ++m4trace:configure.ac:3863: -1- AC_SUBST([BUILD_LIBHOSTNAME_TRUE]) ++m4trace:configure.ac:3863: -1- AC_SUBST_TRACE([BUILD_LIBHOSTNAME_TRUE]) ++m4trace:configure.ac:3863: -1- m4_pattern_allow([^BUILD_LIBHOSTNAME_TRUE$]) ++m4trace:configure.ac:3863: -1- AC_SUBST([BUILD_LIBHOSTNAME_FALSE]) ++m4trace:configure.ac:3863: -1- AC_SUBST_TRACE([BUILD_LIBHOSTNAME_FALSE]) ++m4trace:configure.ac:3863: -1- m4_pattern_allow([^BUILD_LIBHOSTNAME_FALSE$]) ++m4trace:configure.ac:3863: -1- _AM_SUBST_NOTMAKE([BUILD_LIBHOSTNAME_TRUE]) ++m4trace:configure.ac:3863: -1- _AM_SUBST_NOTMAKE([BUILD_LIBHOSTNAME_FALSE]) ++m4trace:configure.ac:3911: -1- AC_DEFINE_TRACE_LITERAL([HAVE_PTHREAD_H]) ++m4trace:configure.ac:3911: -1- m4_pattern_allow([^HAVE_PTHREAD_H$]) ++m4trace:configure.ac:3911: -1- AH_OUTPUT([HAVE_PTHREAD_H], [/* if you have */ + @%:@undef HAVE_PTHREAD_H]) +-m4trace:configure.ac:3743: -1- AC_DEFINE_TRACE_LITERAL([USE_THREADS_POSIX]) +-m4trace:configure.ac:3743: -1- m4_pattern_allow([^USE_THREADS_POSIX$]) +-m4trace:configure.ac:3743: -1- AH_OUTPUT([USE_THREADS_POSIX], [/* if you want POSIX threaded DNS lookup */ ++m4trace:configure.ac:3911: -1- AC_DEFINE_TRACE_LITERAL([USE_THREADS_POSIX]) ++m4trace:configure.ac:3911: -1- m4_pattern_allow([^USE_THREADS_POSIX$]) ++m4trace:configure.ac:3911: -1- AH_OUTPUT([USE_THREADS_POSIX], [/* if you want POSIX threaded DNS lookup */ + @%:@undef USE_THREADS_POSIX]) +-m4trace:configure.ac:3813: -1- AC_DEFINE_TRACE_LITERAL([USE_THREADS_WIN32]) +-m4trace:configure.ac:3813: -1- m4_pattern_allow([^USE_THREADS_WIN32$]) +-m4trace:configure.ac:3813: -1- AH_OUTPUT([USE_THREADS_WIN32], [/* if you want Win32 threaded DNS lookup */ ++m4trace:configure.ac:3981: -1- AC_DEFINE_TRACE_LITERAL([USE_THREADS_WIN32]) ++m4trace:configure.ac:3981: -1- m4_pattern_allow([^USE_THREADS_WIN32$]) ++m4trace:configure.ac:3981: -1- AH_OUTPUT([USE_THREADS_WIN32], [/* if you want Win32 threaded DNS lookup */ + @%:@undef USE_THREADS_WIN32]) +-m4trace:configure.ac:3826: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_VERBOSE_STRINGS]) +-m4trace:configure.ac:3826: -1- m4_pattern_allow([^CURL_DISABLE_VERBOSE_STRINGS$]) +-m4trace:configure.ac:3826: -1- AH_OUTPUT([CURL_DISABLE_VERBOSE_STRINGS], [/* to disable verbose strings */ ++m4trace:configure.ac:3994: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_VERBOSE_STRINGS]) ++m4trace:configure.ac:3994: -1- m4_pattern_allow([^CURL_DISABLE_VERBOSE_STRINGS$]) ++m4trace:configure.ac:3994: -1- AH_OUTPUT([CURL_DISABLE_VERBOSE_STRINGS], [/* to disable verbose strings */ + @%:@undef CURL_DISABLE_VERBOSE_STRINGS]) +-m4trace:configure.ac:3845: -1- AC_DEFINE_TRACE_LITERAL([USE_WINDOWS_SSPI]) +-m4trace:configure.ac:3845: -1- m4_pattern_allow([^USE_WINDOWS_SSPI$]) +-m4trace:configure.ac:3845: -1- AH_OUTPUT([USE_WINDOWS_SSPI], [/* to enable SSPI support */ ++m4trace:configure.ac:4013: -1- AC_DEFINE_TRACE_LITERAL([USE_WINDOWS_SSPI]) ++m4trace:configure.ac:4013: -1- m4_pattern_allow([^USE_WINDOWS_SSPI$]) ++m4trace:configure.ac:4013: -1- AH_OUTPUT([USE_WINDOWS_SSPI], [/* to enable SSPI support */ + @%:@undef USE_WINDOWS_SSPI]) +-m4trace:configure.ac:3845: -1- AC_SUBST([USE_WINDOWS_SSPI], [1]) +-m4trace:configure.ac:3845: -1- AC_SUBST_TRACE([USE_WINDOWS_SSPI]) +-m4trace:configure.ac:3845: -1- m4_pattern_allow([^USE_WINDOWS_SSPI$]) +-m4trace:configure.ac:3881: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_BASIC_AUTH]) +-m4trace:configure.ac:3881: -1- m4_pattern_allow([^CURL_DISABLE_BASIC_AUTH$]) +-m4trace:configure.ac:3881: -1- AH_OUTPUT([CURL_DISABLE_BASIC_AUTH], [/* to disable basic authentication */ ++m4trace:configure.ac:4013: -1- AC_SUBST([USE_WINDOWS_SSPI], [1]) ++m4trace:configure.ac:4013: -1- AC_SUBST_TRACE([USE_WINDOWS_SSPI]) ++m4trace:configure.ac:4013: -1- m4_pattern_allow([^USE_WINDOWS_SSPI$]) ++m4trace:configure.ac:4049: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_BASIC_AUTH]) ++m4trace:configure.ac:4049: -1- m4_pattern_allow([^CURL_DISABLE_BASIC_AUTH$]) ++m4trace:configure.ac:4049: -1- AH_OUTPUT([CURL_DISABLE_BASIC_AUTH], [/* to disable basic authentication */ + @%:@undef CURL_DISABLE_BASIC_AUTH]) +-m4trace:configure.ac:3900: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_BEARER_AUTH]) +-m4trace:configure.ac:3900: -1- m4_pattern_allow([^CURL_DISABLE_BEARER_AUTH$]) +-m4trace:configure.ac:3900: -1- AH_OUTPUT([CURL_DISABLE_BEARER_AUTH], [/* to disable bearer authentication */ ++m4trace:configure.ac:4068: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_BEARER_AUTH]) ++m4trace:configure.ac:4068: -1- m4_pattern_allow([^CURL_DISABLE_BEARER_AUTH$]) ++m4trace:configure.ac:4068: -1- AH_OUTPUT([CURL_DISABLE_BEARER_AUTH], [/* to disable bearer authentication */ + @%:@undef CURL_DISABLE_BEARER_AUTH]) +-m4trace:configure.ac:3919: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_DIGEST_AUTH]) +-m4trace:configure.ac:3919: -1- m4_pattern_allow([^CURL_DISABLE_DIGEST_AUTH$]) +-m4trace:configure.ac:3919: -1- AH_OUTPUT([CURL_DISABLE_DIGEST_AUTH], [/* to disable digest authentication */ ++m4trace:configure.ac:4087: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_DIGEST_AUTH]) ++m4trace:configure.ac:4087: -1- m4_pattern_allow([^CURL_DISABLE_DIGEST_AUTH$]) ++m4trace:configure.ac:4087: -1- AH_OUTPUT([CURL_DISABLE_DIGEST_AUTH], [/* to disable digest authentication */ + @%:@undef CURL_DISABLE_DIGEST_AUTH]) +-m4trace:configure.ac:3938: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_KERBEROS_AUTH]) +-m4trace:configure.ac:3938: -1- m4_pattern_allow([^CURL_DISABLE_KERBEROS_AUTH$]) +-m4trace:configure.ac:3938: -1- AH_OUTPUT([CURL_DISABLE_KERBEROS_AUTH], [/* to disable kerberos authentication */ ++m4trace:configure.ac:4106: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_KERBEROS_AUTH]) ++m4trace:configure.ac:4106: -1- m4_pattern_allow([^CURL_DISABLE_KERBEROS_AUTH$]) ++m4trace:configure.ac:4106: -1- AH_OUTPUT([CURL_DISABLE_KERBEROS_AUTH], [/* to disable kerberos authentication */ + @%:@undef CURL_DISABLE_KERBEROS_AUTH]) +-m4trace:configure.ac:3957: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_NEGOTIATE_AUTH]) +-m4trace:configure.ac:3957: -1- m4_pattern_allow([^CURL_DISABLE_NEGOTIATE_AUTH$]) +-m4trace:configure.ac:3957: -1- AH_OUTPUT([CURL_DISABLE_NEGOTIATE_AUTH], [/* to disable negotiate authentication */ ++m4trace:configure.ac:4125: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_NEGOTIATE_AUTH]) ++m4trace:configure.ac:4125: -1- m4_pattern_allow([^CURL_DISABLE_NEGOTIATE_AUTH$]) ++m4trace:configure.ac:4125: -1- AH_OUTPUT([CURL_DISABLE_NEGOTIATE_AUTH], [/* to disable negotiate authentication */ + @%:@undef CURL_DISABLE_NEGOTIATE_AUTH]) +-m4trace:configure.ac:3977: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_AWS]) +-m4trace:configure.ac:3977: -1- m4_pattern_allow([^CURL_DISABLE_AWS$]) +-m4trace:configure.ac:3977: -1- AH_OUTPUT([CURL_DISABLE_AWS], [/* to disable AWS sig support */ ++m4trace:configure.ac:4145: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_AWS]) ++m4trace:configure.ac:4145: -1- m4_pattern_allow([^CURL_DISABLE_AWS$]) ++m4trace:configure.ac:4145: -1- AH_OUTPUT([CURL_DISABLE_AWS], [/* to disable AWS sig support */ + @%:@undef CURL_DISABLE_AWS]) +-m4trace:configure.ac:3996: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_NTLM]) +-m4trace:configure.ac:3996: -1- m4_pattern_allow([^CURL_DISABLE_NTLM$]) +-m4trace:configure.ac:3996: -1- AH_OUTPUT([CURL_DISABLE_NTLM], [/* to disable NTLM support */ ++m4trace:configure.ac:4164: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_NTLM]) ++m4trace:configure.ac:4164: -1- m4_pattern_allow([^CURL_DISABLE_NTLM$]) ++m4trace:configure.ac:4164: -1- AH_OUTPUT([CURL_DISABLE_NTLM], [/* to disable NTLM support */ + @%:@undef CURL_DISABLE_NTLM]) +-m4trace:configure.ac:4013: -1- AC_DEFINE_TRACE_LITERAL([NTLM_WB_ENABLED]) +-m4trace:configure.ac:4013: -1- m4_pattern_allow([^NTLM_WB_ENABLED$]) +-m4trace:configure.ac:4013: -1- AH_OUTPUT([NTLM_WB_ENABLED], [/* Define to enable NTLM delegation to winbind\'s ntlm_auth helper. */ ++m4trace:configure.ac:4181: -1- AC_DEFINE_TRACE_LITERAL([NTLM_WB_ENABLED]) ++m4trace:configure.ac:4181: -1- m4_pattern_allow([^NTLM_WB_ENABLED$]) ++m4trace:configure.ac:4181: -1- AH_OUTPUT([NTLM_WB_ENABLED], [/* Define to enable NTLM delegation to winbind\'s ntlm_auth helper. */ + @%:@undef NTLM_WB_ENABLED]) +-m4trace:configure.ac:4013: -1- AC_DEFINE_TRACE_LITERAL([NTLM_WB_FILE]) +-m4trace:configure.ac:4013: -1- m4_pattern_allow([^NTLM_WB_FILE$]) +-m4trace:configure.ac:4013: -1- AH_OUTPUT([NTLM_WB_FILE], [/* Define absolute filename for winbind\'s ntlm_auth helper. */ ++m4trace:configure.ac:4181: -1- AC_DEFINE_TRACE_LITERAL([NTLM_WB_FILE]) ++m4trace:configure.ac:4181: -1- m4_pattern_allow([^NTLM_WB_FILE$]) ++m4trace:configure.ac:4181: -1- AH_OUTPUT([NTLM_WB_FILE], [/* Define absolute filename for winbind\'s ntlm_auth helper. */ + @%:@undef NTLM_WB_FILE]) +-m4trace:configure.ac:4036: -1- AC_DEFINE_TRACE_LITERAL([USE_TLS_SRP]) +-m4trace:configure.ac:4036: -1- m4_pattern_allow([^USE_TLS_SRP$]) +-m4trace:configure.ac:4036: -1- AH_OUTPUT([USE_TLS_SRP], [/* Use TLS-SRP authentication */ ++m4trace:configure.ac:4204: -1- AC_DEFINE_TRACE_LITERAL([USE_TLS_SRP]) ++m4trace:configure.ac:4204: -1- m4_pattern_allow([^USE_TLS_SRP$]) ++m4trace:configure.ac:4204: -1- AH_OUTPUT([USE_TLS_SRP], [/* Use TLS-SRP authentication */ + @%:@undef USE_TLS_SRP]) +-m4trace:configure.ac:4063: -1- AC_DEFINE_TRACE_LITERAL([USE_UNIX_SOCKETS]) +-m4trace:configure.ac:4063: -1- m4_pattern_allow([^USE_UNIX_SOCKETS$]) +-m4trace:configure.ac:4063: -1- AH_OUTPUT([USE_UNIX_SOCKETS], [/* Use Unix domain sockets */ ++m4trace:configure.ac:4231: -1- AC_DEFINE_TRACE_LITERAL([USE_UNIX_SOCKETS]) ++m4trace:configure.ac:4231: -1- m4_pattern_allow([^USE_UNIX_SOCKETS$]) ++m4trace:configure.ac:4231: -1- AH_OUTPUT([USE_UNIX_SOCKETS], [/* Use Unix domain sockets */ + @%:@undef USE_UNIX_SOCKETS]) +-m4trace:configure.ac:4066: -1- AC_DEFINE_TRACE_LITERAL([USE_UNIX_SOCKETS]) +-m4trace:configure.ac:4066: -1- m4_pattern_allow([^USE_UNIX_SOCKETS$]) +-m4trace:configure.ac:4066: -1- AH_OUTPUT([USE_UNIX_SOCKETS], [/* Use Unix domain sockets */ ++m4trace:configure.ac:4234: -1- AC_DEFINE_TRACE_LITERAL([USE_UNIX_SOCKETS]) ++m4trace:configure.ac:4234: -1- m4_pattern_allow([^USE_UNIX_SOCKETS$]) ++m4trace:configure.ac:4234: -1- AH_OUTPUT([USE_UNIX_SOCKETS], [/* Use Unix domain sockets */ + @%:@undef USE_UNIX_SOCKETS]) +-m4trace:configure.ac:4066: -1- AC_SUBST([USE_UNIX_SOCKETS], [1]) +-m4trace:configure.ac:4066: -1- AC_SUBST_TRACE([USE_UNIX_SOCKETS]) +-m4trace:configure.ac:4066: -1- m4_pattern_allow([^USE_UNIX_SOCKETS$]) +-m4trace:configure.ac:4084: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_COOKIES]) +-m4trace:configure.ac:4084: -1- m4_pattern_allow([^CURL_DISABLE_COOKIES$]) +-m4trace:configure.ac:4084: -1- AH_OUTPUT([CURL_DISABLE_COOKIES], [/* to disable cookies support */ ++m4trace:configure.ac:4234: -1- AC_SUBST([USE_UNIX_SOCKETS], [1]) ++m4trace:configure.ac:4234: -1- AC_SUBST_TRACE([USE_UNIX_SOCKETS]) ++m4trace:configure.ac:4234: -1- m4_pattern_allow([^USE_UNIX_SOCKETS$]) ++m4trace:configure.ac:4252: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_COOKIES]) ++m4trace:configure.ac:4252: -1- m4_pattern_allow([^CURL_DISABLE_COOKIES$]) ++m4trace:configure.ac:4252: -1- AH_OUTPUT([CURL_DISABLE_COOKIES], [/* to disable cookies support */ + @%:@undef CURL_DISABLE_COOKIES]) +-m4trace:configure.ac:4102: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_SOCKETPAIR]) +-m4trace:configure.ac:4102: -1- m4_pattern_allow([^CURL_DISABLE_SOCKETPAIR$]) +-m4trace:configure.ac:4102: -1- AH_OUTPUT([CURL_DISABLE_SOCKETPAIR], [/* to disable socketpair support */ ++m4trace:configure.ac:4270: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_SOCKETPAIR]) ++m4trace:configure.ac:4270: -1- m4_pattern_allow([^CURL_DISABLE_SOCKETPAIR$]) ++m4trace:configure.ac:4270: -1- AH_OUTPUT([CURL_DISABLE_SOCKETPAIR], [/* to disable socketpair support */ + @%:@undef CURL_DISABLE_SOCKETPAIR]) +-m4trace:configure.ac:4120: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_HTTP_AUTH]) +-m4trace:configure.ac:4120: -1- m4_pattern_allow([^CURL_DISABLE_HTTP_AUTH$]) +-m4trace:configure.ac:4120: -1- AH_OUTPUT([CURL_DISABLE_HTTP_AUTH], [/* disable HTTP authentication */ ++m4trace:configure.ac:4288: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_HTTP_AUTH]) ++m4trace:configure.ac:4288: -1- m4_pattern_allow([^CURL_DISABLE_HTTP_AUTH$]) ++m4trace:configure.ac:4288: -1- AH_OUTPUT([CURL_DISABLE_HTTP_AUTH], [/* disable HTTP authentication */ + @%:@undef CURL_DISABLE_HTTP_AUTH]) +-m4trace:configure.ac:4138: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_DOH]) +-m4trace:configure.ac:4138: -1- m4_pattern_allow([^CURL_DISABLE_DOH$]) +-m4trace:configure.ac:4138: -1- AH_OUTPUT([CURL_DISABLE_DOH], [/* disable DoH */ ++m4trace:configure.ac:4306: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_DOH]) ++m4trace:configure.ac:4306: -1- m4_pattern_allow([^CURL_DISABLE_DOH$]) ++m4trace:configure.ac:4306: -1- AH_OUTPUT([CURL_DISABLE_DOH], [/* disable DoH */ + @%:@undef CURL_DISABLE_DOH]) +-m4trace:configure.ac:4156: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_MIME]) +-m4trace:configure.ac:4156: -1- m4_pattern_allow([^CURL_DISABLE_MIME$]) +-m4trace:configure.ac:4156: -1- AH_OUTPUT([CURL_DISABLE_MIME], [/* disable mime API */ ++m4trace:configure.ac:4324: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_MIME]) ++m4trace:configure.ac:4324: -1- m4_pattern_allow([^CURL_DISABLE_MIME$]) ++m4trace:configure.ac:4324: -1- AH_OUTPUT([CURL_DISABLE_MIME], [/* disable mime API */ + @%:@undef CURL_DISABLE_MIME]) +-m4trace:configure.ac:4174: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_BINDLOCAL]) +-m4trace:configure.ac:4174: -1- m4_pattern_allow([^CURL_DISABLE_BINDLOCAL$]) +-m4trace:configure.ac:4174: -1- AH_OUTPUT([CURL_DISABLE_BINDLOCAL], [/* disable local binding support */ ++m4trace:configure.ac:4342: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_BINDLOCAL]) ++m4trace:configure.ac:4342: -1- m4_pattern_allow([^CURL_DISABLE_BINDLOCAL$]) ++m4trace:configure.ac:4342: -1- AH_OUTPUT([CURL_DISABLE_BINDLOCAL], [/* disable local binding support */ + @%:@undef CURL_DISABLE_BINDLOCAL]) +-m4trace:configure.ac:4192: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_FORM_API]) +-m4trace:configure.ac:4192: -1- m4_pattern_allow([^CURL_DISABLE_FORM_API$]) +-m4trace:configure.ac:4192: -1- AH_OUTPUT([CURL_DISABLE_FORM_API], [/* disable form API */ ++m4trace:configure.ac:4360: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_FORM_API]) ++m4trace:configure.ac:4360: -1- m4_pattern_allow([^CURL_DISABLE_FORM_API$]) ++m4trace:configure.ac:4360: -1- AH_OUTPUT([CURL_DISABLE_FORM_API], [/* disable form API */ + @%:@undef CURL_DISABLE_FORM_API]) +-m4trace:configure.ac:4192: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_FORM_API]) +-m4trace:configure.ac:4192: -1- m4_pattern_allow([^CURL_DISABLE_FORM_API$]) +-m4trace:configure.ac:4192: -1- AH_OUTPUT([CURL_DISABLE_FORM_API], [/* disable form API */ ++m4trace:configure.ac:4360: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_FORM_API]) ++m4trace:configure.ac:4360: -1- m4_pattern_allow([^CURL_DISABLE_FORM_API$]) ++m4trace:configure.ac:4360: -1- AH_OUTPUT([CURL_DISABLE_FORM_API], [/* disable form API */ + @%:@undef CURL_DISABLE_FORM_API]) +-m4trace:configure.ac:4218: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_PARSEDATE]) +-m4trace:configure.ac:4218: -1- m4_pattern_allow([^CURL_DISABLE_PARSEDATE$]) +-m4trace:configure.ac:4218: -1- AH_OUTPUT([CURL_DISABLE_PARSEDATE], [/* disable date parsing */ ++m4trace:configure.ac:4386: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_PARSEDATE]) ++m4trace:configure.ac:4386: -1- m4_pattern_allow([^CURL_DISABLE_PARSEDATE$]) ++m4trace:configure.ac:4386: -1- AH_OUTPUT([CURL_DISABLE_PARSEDATE], [/* disable date parsing */ + @%:@undef CURL_DISABLE_PARSEDATE]) +-m4trace:configure.ac:4236: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_NETRC]) +-m4trace:configure.ac:4236: -1- m4_pattern_allow([^CURL_DISABLE_NETRC$]) +-m4trace:configure.ac:4236: -1- AH_OUTPUT([CURL_DISABLE_NETRC], [/* disable netrc parsing */ ++m4trace:configure.ac:4404: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_NETRC]) ++m4trace:configure.ac:4404: -1- m4_pattern_allow([^CURL_DISABLE_NETRC$]) ++m4trace:configure.ac:4404: -1- AH_OUTPUT([CURL_DISABLE_NETRC], [/* disable netrc parsing */ + @%:@undef CURL_DISABLE_NETRC]) +-m4trace:configure.ac:4254: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_PROGRESS_METER]) +-m4trace:configure.ac:4254: -1- m4_pattern_allow([^CURL_DISABLE_PROGRESS_METER$]) +-m4trace:configure.ac:4254: -1- AH_OUTPUT([CURL_DISABLE_PROGRESS_METER], [/* disable progress-meter */ ++m4trace:configure.ac:4422: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_PROGRESS_METER]) ++m4trace:configure.ac:4422: -1- m4_pattern_allow([^CURL_DISABLE_PROGRESS_METER$]) ++m4trace:configure.ac:4422: -1- AH_OUTPUT([CURL_DISABLE_PROGRESS_METER], [/* disable progress-meter */ + @%:@undef CURL_DISABLE_PROGRESS_METER]) +-m4trace:configure.ac:4272: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_SHUFFLE_DNS]) +-m4trace:configure.ac:4272: -1- m4_pattern_allow([^CURL_DISABLE_SHUFFLE_DNS$]) +-m4trace:configure.ac:4272: -1- AH_OUTPUT([CURL_DISABLE_SHUFFLE_DNS], [/* disable DNS shuffling */ ++m4trace:configure.ac:4440: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_SHUFFLE_DNS]) ++m4trace:configure.ac:4440: -1- m4_pattern_allow([^CURL_DISABLE_SHUFFLE_DNS$]) ++m4trace:configure.ac:4440: -1- AH_OUTPUT([CURL_DISABLE_SHUFFLE_DNS], [/* disable DNS shuffling */ + @%:@undef CURL_DISABLE_SHUFFLE_DNS]) +-m4trace:configure.ac:4290: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_GETOPTIONS]) +-m4trace:configure.ac:4290: -1- m4_pattern_allow([^CURL_DISABLE_GETOPTIONS$]) +-m4trace:configure.ac:4290: -1- AH_OUTPUT([CURL_DISABLE_GETOPTIONS], [/* to disable curl_easy_options */ ++m4trace:configure.ac:4458: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_GETOPTIONS]) ++m4trace:configure.ac:4458: -1- m4_pattern_allow([^CURL_DISABLE_GETOPTIONS$]) ++m4trace:configure.ac:4458: -1- AH_OUTPUT([CURL_DISABLE_GETOPTIONS], [/* to disable curl_easy_options */ + @%:@undef CURL_DISABLE_GETOPTIONS]) +-m4trace:configure.ac:4308: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_ALTSVC]) +-m4trace:configure.ac:4308: -1- m4_pattern_allow([^CURL_DISABLE_ALTSVC$]) +-m4trace:configure.ac:4308: -1- AH_OUTPUT([CURL_DISABLE_ALTSVC], [/* disable alt-svc */ ++m4trace:configure.ac:4476: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_ALTSVC]) ++m4trace:configure.ac:4476: -1- m4_pattern_allow([^CURL_DISABLE_ALTSVC$]) ++m4trace:configure.ac:4476: -1- AH_OUTPUT([CURL_DISABLE_ALTSVC], [/* disable alt-svc */ + @%:@undef CURL_DISABLE_ALTSVC]) +-m4trace:configure.ac:4328: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_HEADERS_API]) +-m4trace:configure.ac:4328: -1- m4_pattern_allow([^CURL_DISABLE_HEADERS_API$]) +-m4trace:configure.ac:4328: -1- AH_OUTPUT([CURL_DISABLE_HEADERS_API], [/* disable headers-api */ ++m4trace:configure.ac:4496: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_HEADERS_API]) ++m4trace:configure.ac:4496: -1- m4_pattern_allow([^CURL_DISABLE_HEADERS_API$]) ++m4trace:configure.ac:4496: -1- AH_OUTPUT([CURL_DISABLE_HEADERS_API], [/* disable headers-api */ + @%:@undef CURL_DISABLE_HEADERS_API]) +-m4trace:configure.ac:4369: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_HSTS]) +-m4trace:configure.ac:4369: -1- m4_pattern_allow([^CURL_DISABLE_HSTS$]) +-m4trace:configure.ac:4369: -1- AH_OUTPUT([CURL_DISABLE_HSTS], [/* disable alt-svc */ ++m4trace:configure.ac:4537: -1- AC_DEFINE_TRACE_LITERAL([CURL_DISABLE_HSTS]) ++m4trace:configure.ac:4537: -1- m4_pattern_allow([^CURL_DISABLE_HSTS$]) ++m4trace:configure.ac:4537: -1- AH_OUTPUT([CURL_DISABLE_HSTS], [/* disable alt-svc */ + @%:@undef CURL_DISABLE_HSTS]) +-m4trace:configure.ac:4385: -1- AH_OUTPUT([HAVE_SSL_GET_ECH_STATUS], [/* Define to 1 if you have the `SSL_get_ech_status\' function. */ ++m4trace:configure.ac:4553: -1- AH_OUTPUT([HAVE_SSL_GET_ECH_STATUS], [/* Define to 1 if you have the `SSL_get_ech_status\' function. */ + @%:@undef HAVE_SSL_GET_ECH_STATUS]) +-m4trace:configure.ac:4385: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SSL_GET_ECH_STATUS]) +-m4trace:configure.ac:4385: -1- m4_pattern_allow([^HAVE_SSL_GET_ECH_STATUS$]) +-m4trace:configure.ac:4394: -1- AC_DEFINE_TRACE_LITERAL([USE_ECH]) +-m4trace:configure.ac:4394: -1- m4_pattern_allow([^USE_ECH$]) +-m4trace:configure.ac:4394: -1- AH_OUTPUT([USE_ECH], [/* if ECH support is available */ ++m4trace:configure.ac:4553: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SSL_GET_ECH_STATUS]) ++m4trace:configure.ac:4553: -1- m4_pattern_allow([^HAVE_SSL_GET_ECH_STATUS$]) ++m4trace:configure.ac:4562: -1- AC_DEFINE_TRACE_LITERAL([USE_ECH]) ++m4trace:configure.ac:4562: -1- m4_pattern_allow([^USE_ECH$]) ++m4trace:configure.ac:4562: -1- AH_OUTPUT([USE_ECH], [/* if ECH support is available */ + @%:@undef USE_ECH]) +-m4trace:configure.ac:4406: -1- AH_OUTPUT([HAVE_SSL_SET0_WBIO], [/* Define to 1 if you have the `SSL_set0_wbio\' function. */ ++m4trace:configure.ac:4574: -1- AH_OUTPUT([HAVE_SSL_SET0_WBIO], [/* Define to 1 if you have the `SSL_set0_wbio\' function. */ + @%:@undef HAVE_SSL_SET0_WBIO]) +-m4trace:configure.ac:4406: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SSL_SET0_WBIO]) +-m4trace:configure.ac:4406: -1- m4_pattern_allow([^HAVE_SSL_SET0_WBIO$]) +-m4trace:configure.ac:4413: -1- AC_DEFINE_TRACE_LITERAL([USE_WEBSOCKETS]) +-m4trace:configure.ac:4413: -1- m4_pattern_allow([^USE_WEBSOCKETS$]) +-m4trace:configure.ac:4413: -1- AH_OUTPUT([USE_WEBSOCKETS], [/* enable websockets support */ ++m4trace:configure.ac:4574: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SSL_SET0_WBIO]) ++m4trace:configure.ac:4574: -1- m4_pattern_allow([^HAVE_SSL_SET0_WBIO$]) ++m4trace:configure.ac:4581: -1- AC_DEFINE_TRACE_LITERAL([USE_WEBSOCKETS]) ++m4trace:configure.ac:4581: -1- m4_pattern_allow([^USE_WEBSOCKETS$]) ++m4trace:configure.ac:4581: -1- AH_OUTPUT([USE_WEBSOCKETS], [/* enable websockets support */ + @%:@undef USE_WEBSOCKETS]) +-m4trace:configure.ac:4444: -1- AC_DEFINE_TRACE_LITERAL([CURL_EXTERN_SYMBOL]) +-m4trace:configure.ac:4444: -1- m4_pattern_allow([^CURL_EXTERN_SYMBOL$]) +-m4trace:configure.ac:4444: -1- AH_OUTPUT([CURL_EXTERN_SYMBOL], [/* Definition to make a library symbol externally visible. */ ++m4trace:configure.ac:4612: -1- AC_DEFINE_TRACE_LITERAL([CURL_EXTERN_SYMBOL]) ++m4trace:configure.ac:4612: -1- m4_pattern_allow([^CURL_EXTERN_SYMBOL$]) ++m4trace:configure.ac:4612: -1- AH_OUTPUT([CURL_EXTERN_SYMBOL], [/* Definition to make a library symbol externally visible. */ + @%:@undef CURL_EXTERN_SYMBOL]) +-m4trace:configure.ac:4444: -1- AM_CONDITIONAL([DOING_CURL_SYMBOL_HIDING], [test x$doing_symbol_hiding = xyes]) +-m4trace:configure.ac:4444: -1- AC_SUBST([DOING_CURL_SYMBOL_HIDING_TRUE]) +-m4trace:configure.ac:4444: -1- AC_SUBST_TRACE([DOING_CURL_SYMBOL_HIDING_TRUE]) +-m4trace:configure.ac:4444: -1- m4_pattern_allow([^DOING_CURL_SYMBOL_HIDING_TRUE$]) +-m4trace:configure.ac:4444: -1- AC_SUBST([DOING_CURL_SYMBOL_HIDING_FALSE]) +-m4trace:configure.ac:4444: -1- AC_SUBST_TRACE([DOING_CURL_SYMBOL_HIDING_FALSE]) +-m4trace:configure.ac:4444: -1- m4_pattern_allow([^DOING_CURL_SYMBOL_HIDING_FALSE$]) +-m4trace:configure.ac:4444: -1- _AM_SUBST_NOTMAKE([DOING_CURL_SYMBOL_HIDING_TRUE]) +-m4trace:configure.ac:4444: -1- _AM_SUBST_NOTMAKE([DOING_CURL_SYMBOL_HIDING_FALSE]) +-m4trace:configure.ac:4444: -1- AC_SUBST([CFLAG_CURL_SYMBOL_HIDING]) +-m4trace:configure.ac:4444: -1- AC_SUBST_TRACE([CFLAG_CURL_SYMBOL_HIDING]) +-m4trace:configure.ac:4444: -1- m4_pattern_allow([^CFLAG_CURL_SYMBOL_HIDING$]) +-m4trace:configure.ac:4451: -1- AC_SUBST([LIBCURL_LIBS]) +-m4trace:configure.ac:4451: -1- AC_SUBST_TRACE([LIBCURL_LIBS]) +-m4trace:configure.ac:4451: -1- m4_pattern_allow([^LIBCURL_LIBS$]) +-m4trace:configure.ac:4452: -1- AC_SUBST([CURL_NETWORK_LIBS]) +-m4trace:configure.ac:4452: -1- AC_SUBST_TRACE([CURL_NETWORK_LIBS]) +-m4trace:configure.ac:4452: -1- m4_pattern_allow([^CURL_NETWORK_LIBS$]) +-m4trace:configure.ac:4453: -1- AC_SUBST([CURL_NETWORK_AND_TIME_LIBS]) +-m4trace:configure.ac:4453: -1- AC_SUBST_TRACE([CURL_NETWORK_AND_TIME_LIBS]) +-m4trace:configure.ac:4453: -1- m4_pattern_allow([^CURL_NETWORK_AND_TIME_LIBS$]) +-m4trace:configure.ac:4460: -1- AC_SUBST([BLANK_AT_MAKETIME]) +-m4trace:configure.ac:4460: -1- AC_SUBST_TRACE([BLANK_AT_MAKETIME]) +-m4trace:configure.ac:4460: -1- m4_pattern_allow([^BLANK_AT_MAKETIME$]) +-m4trace:configure.ac:4462: -1- AM_CONDITIONAL([CROSSCOMPILING], [test x$cross_compiling = xyes]) +-m4trace:configure.ac:4462: -1- AC_SUBST([CROSSCOMPILING_TRUE]) +-m4trace:configure.ac:4462: -1- AC_SUBST_TRACE([CROSSCOMPILING_TRUE]) +-m4trace:configure.ac:4462: -1- m4_pattern_allow([^CROSSCOMPILING_TRUE$]) +-m4trace:configure.ac:4462: -1- AC_SUBST([CROSSCOMPILING_FALSE]) +-m4trace:configure.ac:4462: -1- AC_SUBST_TRACE([CROSSCOMPILING_FALSE]) +-m4trace:configure.ac:4462: -1- m4_pattern_allow([^CROSSCOMPILING_FALSE$]) +-m4trace:configure.ac:4462: -1- _AM_SUBST_NOTMAKE([CROSSCOMPILING_TRUE]) +-m4trace:configure.ac:4462: -1- _AM_SUBST_NOTMAKE([CROSSCOMPILING_FALSE]) +-m4trace:configure.ac:4466: -1- AC_SUBST([ENABLE_SHARED]) +-m4trace:configure.ac:4466: -1- AC_SUBST_TRACE([ENABLE_SHARED]) +-m4trace:configure.ac:4466: -1- m4_pattern_allow([^ENABLE_SHARED$]) +-m4trace:configure.ac:4470: -1- AC_SUBST([ENABLE_STATIC]) +-m4trace:configure.ac:4470: -1- AC_SUBST_TRACE([ENABLE_STATIC]) +-m4trace:configure.ac:4470: -1- m4_pattern_allow([^ENABLE_STATIC$]) +-m4trace:configure.ac:4478: -1- AC_SUBST([LIBCURL_NO_SHARED]) +-m4trace:configure.ac:4478: -1- AC_SUBST_TRACE([LIBCURL_NO_SHARED]) +-m4trace:configure.ac:4478: -1- m4_pattern_allow([^LIBCURL_NO_SHARED$]) +-m4trace:configure.ac:4634: -1- AC_SUBST([SUPPORT_FEATURES]) +-m4trace:configure.ac:4634: -1- AC_SUBST_TRACE([SUPPORT_FEATURES]) +-m4trace:configure.ac:4634: -1- m4_pattern_allow([^SUPPORT_FEATURES$]) +-m4trace:configure.ac:4727: -1- AC_SUBST([SUPPORT_PROTOCOLS]) +-m4trace:configure.ac:4727: -1- AC_SUBST_TRACE([SUPPORT_PROTOCOLS]) +-m4trace:configure.ac:4727: -1- m4_pattern_allow([^SUPPORT_PROTOCOLS$]) +-m4trace:configure.ac:4747: -1- AC_SUBST([SSL_BACKENDS]) +-m4trace:configure.ac:4747: -1- AC_SUBST_TRACE([SSL_BACKENDS]) +-m4trace:configure.ac:4747: -1- m4_pattern_allow([^SSL_BACKENDS$]) +-m4trace:configure.ac:4754: -1- AC_CONFIG_FILES([Makefile \ ++m4trace:configure.ac:4612: -1- AM_CONDITIONAL([DOING_CURL_SYMBOL_HIDING], [test x$doing_symbol_hiding = xyes]) ++m4trace:configure.ac:4612: -1- AC_SUBST([DOING_CURL_SYMBOL_HIDING_TRUE]) ++m4trace:configure.ac:4612: -1- AC_SUBST_TRACE([DOING_CURL_SYMBOL_HIDING_TRUE]) ++m4trace:configure.ac:4612: -1- m4_pattern_allow([^DOING_CURL_SYMBOL_HIDING_TRUE$]) ++m4trace:configure.ac:4612: -1- AC_SUBST([DOING_CURL_SYMBOL_HIDING_FALSE]) ++m4trace:configure.ac:4612: -1- AC_SUBST_TRACE([DOING_CURL_SYMBOL_HIDING_FALSE]) ++m4trace:configure.ac:4612: -1- m4_pattern_allow([^DOING_CURL_SYMBOL_HIDING_FALSE$]) ++m4trace:configure.ac:4612: -1- _AM_SUBST_NOTMAKE([DOING_CURL_SYMBOL_HIDING_TRUE]) ++m4trace:configure.ac:4612: -1- _AM_SUBST_NOTMAKE([DOING_CURL_SYMBOL_HIDING_FALSE]) ++m4trace:configure.ac:4612: -1- AC_SUBST([CFLAG_CURL_SYMBOL_HIDING]) ++m4trace:configure.ac:4612: -1- AC_SUBST_TRACE([CFLAG_CURL_SYMBOL_HIDING]) ++m4trace:configure.ac:4612: -1- m4_pattern_allow([^CFLAG_CURL_SYMBOL_HIDING$]) ++m4trace:configure.ac:4619: -1- AC_SUBST([LIBCURL_LIBS]) ++m4trace:configure.ac:4619: -1- AC_SUBST_TRACE([LIBCURL_LIBS]) ++m4trace:configure.ac:4619: -1- m4_pattern_allow([^LIBCURL_LIBS$]) ++m4trace:configure.ac:4620: -1- AC_SUBST([CURL_NETWORK_LIBS]) ++m4trace:configure.ac:4620: -1- AC_SUBST_TRACE([CURL_NETWORK_LIBS]) ++m4trace:configure.ac:4620: -1- m4_pattern_allow([^CURL_NETWORK_LIBS$]) ++m4trace:configure.ac:4621: -1- AC_SUBST([CURL_NETWORK_AND_TIME_LIBS]) ++m4trace:configure.ac:4621: -1- AC_SUBST_TRACE([CURL_NETWORK_AND_TIME_LIBS]) ++m4trace:configure.ac:4621: -1- m4_pattern_allow([^CURL_NETWORK_AND_TIME_LIBS$]) ++m4trace:configure.ac:4628: -1- AC_SUBST([BLANK_AT_MAKETIME]) ++m4trace:configure.ac:4628: -1- AC_SUBST_TRACE([BLANK_AT_MAKETIME]) ++m4trace:configure.ac:4628: -1- m4_pattern_allow([^BLANK_AT_MAKETIME$]) ++m4trace:configure.ac:4630: -1- AM_CONDITIONAL([CROSSCOMPILING], [test x$cross_compiling = xyes]) ++m4trace:configure.ac:4630: -1- AC_SUBST([CROSSCOMPILING_TRUE]) ++m4trace:configure.ac:4630: -1- AC_SUBST_TRACE([CROSSCOMPILING_TRUE]) ++m4trace:configure.ac:4630: -1- m4_pattern_allow([^CROSSCOMPILING_TRUE$]) ++m4trace:configure.ac:4630: -1- AC_SUBST([CROSSCOMPILING_FALSE]) ++m4trace:configure.ac:4630: -1- AC_SUBST_TRACE([CROSSCOMPILING_FALSE]) ++m4trace:configure.ac:4630: -1- m4_pattern_allow([^CROSSCOMPILING_FALSE$]) ++m4trace:configure.ac:4630: -1- _AM_SUBST_NOTMAKE([CROSSCOMPILING_TRUE]) ++m4trace:configure.ac:4630: -1- _AM_SUBST_NOTMAKE([CROSSCOMPILING_FALSE]) ++m4trace:configure.ac:4634: -1- AC_SUBST([ENABLE_SHARED]) ++m4trace:configure.ac:4634: -1- AC_SUBST_TRACE([ENABLE_SHARED]) ++m4trace:configure.ac:4634: -1- m4_pattern_allow([^ENABLE_SHARED$]) ++m4trace:configure.ac:4638: -1- AC_SUBST([ENABLE_STATIC]) ++m4trace:configure.ac:4638: -1- AC_SUBST_TRACE([ENABLE_STATIC]) ++m4trace:configure.ac:4638: -1- m4_pattern_allow([^ENABLE_STATIC$]) ++m4trace:configure.ac:4646: -1- AC_SUBST([LIBCURL_NO_SHARED]) ++m4trace:configure.ac:4646: -1- AC_SUBST_TRACE([LIBCURL_NO_SHARED]) ++m4trace:configure.ac:4646: -1- m4_pattern_allow([^LIBCURL_NO_SHARED$]) ++m4trace:configure.ac:4819: -1- AC_SUBST([SUPPORT_FEATURES]) ++m4trace:configure.ac:4819: -1- AC_SUBST_TRACE([SUPPORT_FEATURES]) ++m4trace:configure.ac:4819: -1- m4_pattern_allow([^SUPPORT_FEATURES$]) ++m4trace:configure.ac:4912: -1- AC_SUBST([SUPPORT_PROTOCOLS]) ++m4trace:configure.ac:4912: -1- AC_SUBST_TRACE([SUPPORT_PROTOCOLS]) ++m4trace:configure.ac:4912: -1- m4_pattern_allow([^SUPPORT_PROTOCOLS$]) ++m4trace:configure.ac:4932: -1- AC_SUBST([SSL_BACKENDS]) ++m4trace:configure.ac:4932: -1- AC_SUBST_TRACE([SSL_BACKENDS]) ++m4trace:configure.ac:4932: -1- m4_pattern_allow([^SSL_BACKENDS$]) ++m4trace:configure.ac:4939: -1- AC_CONFIG_FILES([Makefile \ + docs/Makefile \ + docs/examples/Makefile \ + docs/libcurl/Makefile \ +@@ -2928,30 +2974,30 @@ m4trace:configure.ac:4754: -1- AC_CONFIG_FILES([Makefile \ + curl-config \ + libcurl.pc + ]) +-m4trace:configure.ac:4783: -1- AC_SUBST([LIB@&t@OBJS], [$ac_libobjs]) +-m4trace:configure.ac:4783: -1- AC_SUBST_TRACE([LIB@&t@OBJS]) +-m4trace:configure.ac:4783: -1- m4_pattern_allow([^LIB@&t@OBJS$]) +-m4trace:configure.ac:4783: -1- AC_SUBST([LTLIBOBJS], [$ac_ltlibobjs]) +-m4trace:configure.ac:4783: -1- AC_SUBST_TRACE([LTLIBOBJS]) +-m4trace:configure.ac:4783: -1- m4_pattern_allow([^LTLIBOBJS$]) +-m4trace:configure.ac:4783: -1- AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"]) +-m4trace:configure.ac:4783: -1- AC_SUBST([am__EXEEXT_TRUE]) +-m4trace:configure.ac:4783: -1- AC_SUBST_TRACE([am__EXEEXT_TRUE]) +-m4trace:configure.ac:4783: -1- m4_pattern_allow([^am__EXEEXT_TRUE$]) +-m4trace:configure.ac:4783: -1- AC_SUBST([am__EXEEXT_FALSE]) +-m4trace:configure.ac:4783: -1- AC_SUBST_TRACE([am__EXEEXT_FALSE]) +-m4trace:configure.ac:4783: -1- m4_pattern_allow([^am__EXEEXT_FALSE$]) +-m4trace:configure.ac:4783: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_TRUE]) +-m4trace:configure.ac:4783: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_FALSE]) +-m4trace:configure.ac:4783: -1- AC_SUBST_TRACE([top_builddir]) +-m4trace:configure.ac:4783: -1- AC_SUBST_TRACE([top_build_prefix]) +-m4trace:configure.ac:4783: -1- AC_SUBST_TRACE([srcdir]) +-m4trace:configure.ac:4783: -1- AC_SUBST_TRACE([abs_srcdir]) +-m4trace:configure.ac:4783: -1- AC_SUBST_TRACE([top_srcdir]) +-m4trace:configure.ac:4783: -1- AC_SUBST_TRACE([abs_top_srcdir]) +-m4trace:configure.ac:4783: -1- AC_SUBST_TRACE([builddir]) +-m4trace:configure.ac:4783: -1- AC_SUBST_TRACE([abs_builddir]) +-m4trace:configure.ac:4783: -1- AC_SUBST_TRACE([abs_top_builddir]) +-m4trace:configure.ac:4783: -1- AC_SUBST_TRACE([INSTALL]) +-m4trace:configure.ac:4783: -1- AC_SUBST_TRACE([MKDIR_P]) +-m4trace:configure.ac:4783: -1- AC_REQUIRE_AUX_FILE([ltmain.sh]) ++m4trace:configure.ac:4968: -1- AC_SUBST([LIB@&t@OBJS], [$ac_libobjs]) ++m4trace:configure.ac:4968: -1- AC_SUBST_TRACE([LIB@&t@OBJS]) ++m4trace:configure.ac:4968: -1- m4_pattern_allow([^LIB@&t@OBJS$]) ++m4trace:configure.ac:4968: -1- AC_SUBST([LTLIBOBJS], [$ac_ltlibobjs]) ++m4trace:configure.ac:4968: -1- AC_SUBST_TRACE([LTLIBOBJS]) ++m4trace:configure.ac:4968: -1- m4_pattern_allow([^LTLIBOBJS$]) ++m4trace:configure.ac:4968: -1- AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"]) ++m4trace:configure.ac:4968: -1- AC_SUBST([am__EXEEXT_TRUE]) ++m4trace:configure.ac:4968: -1- AC_SUBST_TRACE([am__EXEEXT_TRUE]) ++m4trace:configure.ac:4968: -1- m4_pattern_allow([^am__EXEEXT_TRUE$]) ++m4trace:configure.ac:4968: -1- AC_SUBST([am__EXEEXT_FALSE]) ++m4trace:configure.ac:4968: -1- AC_SUBST_TRACE([am__EXEEXT_FALSE]) ++m4trace:configure.ac:4968: -1- m4_pattern_allow([^am__EXEEXT_FALSE$]) ++m4trace:configure.ac:4968: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_TRUE]) ++m4trace:configure.ac:4968: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_FALSE]) ++m4trace:configure.ac:4968: -1- AC_SUBST_TRACE([top_builddir]) ++m4trace:configure.ac:4968: -1- AC_SUBST_TRACE([top_build_prefix]) ++m4trace:configure.ac:4968: -1- AC_SUBST_TRACE([srcdir]) ++m4trace:configure.ac:4968: -1- AC_SUBST_TRACE([abs_srcdir]) ++m4trace:configure.ac:4968: -1- AC_SUBST_TRACE([top_srcdir]) ++m4trace:configure.ac:4968: -1- AC_SUBST_TRACE([abs_top_srcdir]) ++m4trace:configure.ac:4968: -1- AC_SUBST_TRACE([builddir]) ++m4trace:configure.ac:4968: -1- AC_SUBST_TRACE([abs_builddir]) ++m4trace:configure.ac:4968: -1- AC_SUBST_TRACE([abs_top_builddir]) ++m4trace:configure.ac:4968: -1- AC_SUBST_TRACE([INSTALL]) ++m4trace:configure.ac:4968: -1- AC_SUBST_TRACE([MKDIR_P]) ++m4trace:configure.ac:4968: -1- AC_REQUIRE_AUX_FILE([ltmain.sh]) +diff --git a/buildconf.bat b/buildconf.bat +index 118a70d..bef4874 100644 +--- a/buildconf.bat ++++ b/buildconf.bat +@@ -38,19 +38,7 @@ rem + cd /d "%~0\.." 1>NUL 2>&1 + + rem Check we are running from a curl git repository +- if not exist GIT-INFO goto norepo +- +- rem Detect programs. HAVE_ +- rem When not found the variable is set undefined. The undefined pattern +- rem allows for statements like "if not defined HAVE_PERL (command)" +- groff --version NUL 2>&1 +- if errorlevel 1 (set HAVE_GROFF=) else (set HAVE_GROFF=Y) +- nroff --version NUL 2>&1 +- if errorlevel 1 (set HAVE_NROFF=) else (set HAVE_NROFF=Y) +- perl --version NUL 2>&1 +- if errorlevel 1 (set HAVE_PERL=) else (set HAVE_PERL=Y) +- gzip --version NUL 2>&1 +- if errorlevel 1 (set HAVE_GZIP=) else (set HAVE_GZIP=Y) ++ if not exist GIT-INFO.md goto norepo + + :parseArgs + if "%~1" == "" goto start +@@ -125,15 +113,6 @@ rem + ) + cmd /c exit 0 + +- rem Setup c-ares git tree +- if exist ares\buildconf.bat ( +- echo. +- echo Configuring c-ares build environment +- cd ares +- call buildconf.bat +- cd .. +- ) +- + if "%BASIC_HUGEHELP%" == "1" ( + if "%OS%" == "Windows_NT" endlocal + exit /B 1 +@@ -182,47 +161,20 @@ rem + :genHugeHelp + if "%OS%" == "Windows_NT" setlocal + set LC_ALL=C +- set ROFFCMD= + set BASIC=1 + +- if defined HAVE_PERL ( +- if defined HAVE_GROFF ( +- set ROFFCMD=groff -mtty-char -Tascii -P-c -man +- ) else if defined HAVE_NROFF ( +- set ROFFCMD=nroff -c -Tascii -man +- ) +- ) +- +- if defined ROFFCMD ( ++ if exist src\tool_hugehelp.c.cvs ( ++ copy /Y src\tool_hugehelp.c.cvs src\tool_hugehelp.c 1>NUL 2>&1 ++ ) else ( + echo #include "tool_setup.h"> src\tool_hugehelp.c + echo #include "tool_hugehelp.h">> src\tool_hugehelp.c +- +- if defined HAVE_GZIP ( +- echo #ifndef HAVE_LIBZ>> src\tool_hugehelp.c +- ) +- +- %ROFFCMD% docs\curl.1 2>NUL | perl src\mkhelp.pl docs\MANUAL >> src\tool_hugehelp.c +- if defined HAVE_GZIP ( +- echo #else>> src\tool_hugehelp.c +- %ROFFCMD% docs\curl.1 2>NUL | perl src\mkhelp.pl -c docs\MANUAL >> src\tool_hugehelp.c +- echo #endif /^* HAVE_LIBZ ^*/>> src\tool_hugehelp.c +- ) +- +- set BASIC=0 +- ) else ( +- if exist src\tool_hugehelp.c.cvs ( +- copy /Y src\tool_hugehelp.c.cvs src\tool_hugehelp.c 1>NUL 2>&1 +- ) else ( +- echo #include "tool_setup.h"> src\tool_hugehelp.c +- echo #include "tool_hugehelp.h">> src\tool_hugehelp.c +- echo.>> src\tool_hugehelp.c +- echo void hugehelp(void^)>> src\tool_hugehelp.c +- echo {>> src\tool_hugehelp.c +- echo #ifdef USE_MANUAL>> src\tool_hugehelp.c +- echo fputs("Built-in manual not included\n", stdout^);>> src\tool_hugehelp.c +- echo #endif>> src\tool_hugehelp.c +- echo }>> src\tool_hugehelp.c +- ) ++ echo.>> src\tool_hugehelp.c ++ echo void hugehelp(void^)>> src\tool_hugehelp.c ++ echo {>> src\tool_hugehelp.c ++ echo #ifdef USE_MANUAL>> src\tool_hugehelp.c ++ echo fputs("Built-in manual not included\n", stdout^);>> src\tool_hugehelp.c ++ echo #endif>> src\tool_hugehelp.c ++ echo }>> src\tool_hugehelp.c + ) + + findstr "/C:void hugehelp(void)" src\tool_hugehelp.c 1>NUL 2>&1 +@@ -244,13 +196,8 @@ rem Windows 9x as setlocal isn't available until Windows NT + rem + :dosCleanup + set MODE= +- set HAVE_GROFF= +- set HAVE_NROFF= +- set HAVE_PERL= +- set HAVE_GZIP= + set BASIC_HUGEHELP= + set LC_ALL +- set ROFFCMD= + set BASIC= + + exit /B +@@ -296,10 +243,9 @@ rem + :warning + echo. + echo Warning: The curl manual could not be integrated in the source. This means when +- echo you build curl the manual will not be available (curl --man^). Integration of ++ echo you build curl the manual will not be available (curl --manual^). Integration of + echo the manual is not required and a summary of the options will still be available +- echo (curl --help^). To integrate the manual your PATH is required to have +- echo groff/nroff, perl and optionally gzip for compression. ++ echo (curl --help^). To integrate the manual build with configure or cmake. + goto success + + :error +diff --git a/configure b/configure +index 8931c74..e9b3bcf 100755 +--- a/configure ++++ b/configure +@@ -923,16 +923,24 @@ BUILD_LIBHOSTNAME_TRUE + USE_ARES + USE_MANUAL_FALSE + USE_MANUAL_TRUE +-MANOPT +-NROFF ++BUILD_DOCS_FALSE ++BUILD_DOCS_TRUE + PERL ++USE_FISH_COMPLETION_FALSE ++USE_FISH_COMPLETION_TRUE + FISH_FUNCTIONS_DIR ++USE_ZSH_COMPLETION_FALSE ++USE_ZSH_COMPLETION_TRUE + ZSH_FUNCTIONS_DIR + USE_MSH3 + USE_QUICHE ++USE_OPENSSL_H3 ++USE_NGTCP2_H3 + USE_NGHTTP3 ++USE_OPENSSL_QUIC + USE_NGTCP2_CRYPTO_WOLFSSL + USE_NGTCP2_CRYPTO_GNUTLS ++USE_NGTCP2_CRYPTO_BORINGSSL + USE_NGTCP2_CRYPTO_QUICTLS + USE_NGTCP2 + USE_NGHTTP2 +@@ -949,6 +957,7 @@ USE_GSASL_FALSE + USE_GSASL_TRUE + USE_LIBPSL_FALSE + USE_LIBPSL_TRUE ++USE_LIBPSL + CURL_CA_BUNDLE + CURL_WITH_MULTI_SSL + SSL_ENABLED +@@ -958,6 +967,7 @@ USE_WOLFSSL + USE_MBEDTLS + HAVE_GNUTLS_SRP + USE_GNUTLS ++HAVE_OPENSSL_QUIC + HAVE_OPENSSL_SRP + RANDOM_FILE + SSL_LIBS +@@ -1000,13 +1010,13 @@ HAVE_WINDRES_TRUE + USE_WIN32_CRYPTO + USE_WIN32_SMALL_FILES + USE_WIN32_LARGE_FILES +-DOING_NATIVE_WINDOWS_FALSE +-DOING_NATIVE_WINDOWS_TRUE + BUILD_UNITTESTS_FALSE + BUILD_UNITTESTS_TRUE + CURLDEBUG_FALSE + CURLDEBUG_TRUE + CURL_CFLAG_EXTRAS ++DOING_NATIVE_WINDOWS_FALSE ++DOING_NATIVE_WINDOWS_TRUE + USE_EXPLICIT_LIB_DEPS_FALSE + USE_EXPLICIT_LIB_DEPS_TRUE + REQUIRE_LIB_DEPS +@@ -1214,6 +1224,7 @@ enable_smb + enable_smtp + enable_gopher + enable_mqtt ++enable_docs + enable_manual + enable_libcurl_option + enable_libgcc +@@ -1244,6 +1255,7 @@ with_winidn + with_libidn2 + with_nghttp2 + with_ngtcp2 ++with_openssl_quic + with_nghttp3 + with_quiche + with_msh3 +@@ -1982,6 +1994,8 @@ Optional Features: + --disable-gopher Disable Gopher support + --enable-mqtt Enable MQTT support + --disable-mqtt Disable MQTT support ++ --enable-docs Enable documentation ++ --disable-docs Disable documentation + --enable-manual Enable built-in manual + --disable-manual Disable built-in manual + --enable-libcurl-option Enable --libcurl C code generation support +@@ -2140,7 +2154,10 @@ Optional Packages: + --without-ca-path Don't use a default CA path + --with-ca-fallback Use the built in CA store of the SSL library + --without-ca-fallback Don't use the built in CA store of the SSL library +- --without-libpsl disable support for libpsl cookie checking ++ --with-libpsl=PATH Where to look for libpsl, PATH points to the LIBPSL ++ installation; when possible, set the PKG_CONFIG_PATH ++ environment variable instead of using this option ++ --without-libpsl disable LIBPSL + --without-libgsasl disable libgsasl support for SCRAM + --with-libssh2=PATH Where to look for libssh2, PATH points to the + libssh2 installation; when possible, set the +@@ -2169,6 +2186,8 @@ Optional Packages: + --without-nghttp2 Disable nghttp2 usage + --with-ngtcp2=PATH Enable ngtcp2 usage + --without-ngtcp2 Disable ngtcp2 usage ++ --with-openssl-quic Enable OpenSSL QUIC usage ++ --without-openssl-quic Disable OpenSSL QUIC usage + --with-nghttp3=PATH Enable nghttp3 usage + --without-nghttp3 Disable nghttp3 usage + --with-quiche=PATH Enable quiche usage +@@ -6662,6 +6681,7 @@ curl_tls_srp_msg="no (--enable-tls-srp)" + curl_ipv6_msg="no (--enable-ipv6)" + curl_unix_sockets_msg="no (--enable-unix-sockets)" + curl_idn_msg="no (--with-{libidn2,winidn})" ++ curl_docs_msg="enabled (--disable-docs)" + curl_manual_msg="no (--enable-manual)" + curl_libcurl_msg="enabled (--disable-libcurl-option)" + curl_verbose_msg="enabled (--disable-verbose)" +@@ -6677,8 +6697,8 @@ curl_headers_msg="enabled (--disable-headers-api)" + curl_ws_msg="no (--enable-websockets)" + ssl_backends= + curl_h1_msg="enabled (internal)" +- curl_h2_msg="no (--with-nghttp2, --with-hyper)" +- curl_h3_msg="no (--with-ngtcp2 --with-nghttp3, --with-quiche, --with-msh3)" ++ curl_h2_msg="no (--with-nghttp2)" ++ curl_h3_msg="no (--with-ngtcp2 --with-nghttp3, --with-quiche, --with-openssl-quic, --with-msh3)" + + enable_altsvc="yes" + hsts="yes" +@@ -7511,7 +7531,7 @@ printf "%s\n" "$ac_cv_path_EGREP" >&6; } + + + +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if OS is AIX (to define _ALL_SOURCE)" >&5 ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if OS is AIX (to define _ALL_SOURCE)" >&5 + printf %s "checking if OS is AIX (to define _ALL_SOURCE)... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ +@@ -17666,7 +17686,11 @@ rm -f conftest.err conftest.i conftest.$ac_ext + if test "$curl_cv_have_def___INTEL_COMPILER" = "yes"; then + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 + printf "%s\n" "yes" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking compiler version" >&5 ++printf %s "checking compiler version... " >&6; } + compiler_num="$curl_cv_def___INTEL_COMPILER" ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: Intel C '$compiler_num'" >&5 ++printf "%s\n" "Intel C '$compiler_num'" >&6; } + + OLDCPPFLAGS=$CPPFLAGS + # CPPPFLAG comes from CURL_CPP_P +@@ -17837,18 +17861,41 @@ printf "%s\n" "yes" >&6; } + printf "%s\n" "no" >&6; } + compiler_id="CLANG" + fi ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking compiler version" >&5 ++printf %s "checking compiler version... " >&6; } + fullclangver=`$CC -v 2>&1 | grep version` ++ if echo $fullclangver | grep 'Apple' >/dev/null; then ++ appleclang=1 ++ else ++ appleclang=0 ++ fi + clangver=`echo $fullclangver | grep "based on LLVM " | "$SED" 's/.*(based on LLVM \([0-9]*\.[0-9]*\).*)/\1/'` + if test -z "$clangver"; then +- if echo $fullclangver | grep "Apple LLVM version " >/dev/null; then +- clangver="3.7" +- else +- clangver=`echo $fullclangver | "$SED" 's/.*version \([0-9]*\.[0-9]*\).*/\1/'` +- fi ++ clangver=`echo $fullclangver | "$SED" 's/.*version \([0-9]*\.[0-9]*\).*/\1/'` ++ oldapple=0 ++ else ++ oldapple=1 + fi + clangvhi=`echo $clangver | cut -d . -f1` + clangvlo=`echo $clangver | cut -d . -f2` + compiler_num=`(expr $clangvhi "*" 100 + $clangvlo) 2>/dev/null` ++ if test "$appleclang" = '1' && test "$oldapple" = '0'; then ++ if test "$compiler_num" -ge '1300'; then compiler_num='1200' ++ elif test "$compiler_num" -ge '1205'; then compiler_num='1101' ++ elif test "$compiler_num" -ge '1204'; then compiler_num='1000' ++ elif test "$compiler_num" -ge '1107'; then compiler_num='900' ++ elif test "$compiler_num" -ge '1103'; then compiler_num='800' ++ elif test "$compiler_num" -ge '1003'; then compiler_num='700' ++ elif test "$compiler_num" -ge '1001'; then compiler_num='600' ++ elif test "$compiler_num" -ge '904'; then compiler_num='500' ++ elif test "$compiler_num" -ge '902'; then compiler_num='400' ++ elif test "$compiler_num" -ge '803'; then compiler_num='309' ++ elif test "$compiler_num" -ge '703'; then compiler_num='308' ++ else compiler_num='307' ++ fi ++ fi ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: clang '$compiler_num' (raw: '$fullclangver' / '$clangver')" >&5 ++printf "%s\n" "clang '$compiler_num' (raw: '$fullclangver' / '$clangver')" >&6; } + flags_dbg_yes="-g" + flags_opt_all="-O -O0 -O1 -O2 -Os -O3 -O4" + flags_opt_yes="-O2" +@@ -17911,120 +17958,23 @@ rm -f conftest.err conftest.i conftest.$ac_ext + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 + printf "%s\n" "yes" >&6; } + compiler_id="GNU_C" +- gccver=`$CC -dumpversion` ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking compiler version" >&5 ++printf %s "checking compiler version... " >&6; } ++ # strip '-suffix' parts, e.g. Ubuntu Windows cross-gcc returns '10-win32' ++ gccver=`$CC -dumpversion | sed -E 's/-.+$//'` + gccvhi=`echo $gccver | cut -d . -f1` +- gccvlo=`echo $gccver | cut -d . -f2` ++ if echo $gccver | grep -F '.' >/dev/null; then ++ gccvlo=`echo $gccver | cut -d . -f2` ++ else ++ gccvlo="0" ++ fi + compiler_num=`(expr $gccvhi "*" 100 + $gccvlo) 2>/dev/null` ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: gcc '$compiler_num' (raw: '$gccver')" >&5 ++printf "%s\n" "gcc '$compiler_num' (raw: '$gccver')" >&6; } + flags_dbg_yes="-g" + flags_opt_all="-O -O0 -O1 -O2 -O3 -Os -Og -Ofast" + flags_opt_yes="-O2" + flags_opt_off="-O0" +- +- OLDCPPFLAGS=$CPPFLAGS +- # CPPPFLAG comes from CURL_CPP_P +- CPPFLAGS="$CPPFLAGS $CPPPFLAG" +- if test -z "$SED"; then +- as_fn_error $? "SED not set. Cannot continue without SED being set." "$LINENO" 5 +- fi +- if test -z "$GREP"; then +- as_fn_error $? "GREP not set. Cannot continue without GREP being set." "$LINENO" 5 +- fi +- +- tmp_exp="" +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext +-/* end confdefs.h. */ +- +- +-#ifdef _WIN32 +-CURL_DEF_TOKEN _WIN32 +-#endif +- +- +-_ACEOF +-if ac_fn_c_try_cpp "$LINENO" +-then : +- +- tmp_exp=`eval "$ac_cpp conftest.$ac_ext" 2>/dev/null | \ +- "$GREP" CURL_DEF_TOKEN 2>/dev/null | \ +- "$SED" 's/.*CURL_DEF_TOKEN[ ][ ]*//' 2>/dev/null | \ +- "$SED" 's/["][ ]*["]//g' 2>/dev/null` +- if test -z "$tmp_exp" || test "$tmp_exp" = "_WIN32"; then +- tmp_exp="" +- fi +- +-fi +-rm -f conftest.err conftest.i conftest.$ac_ext +- if test -z "$tmp_exp"; then +- curl_cv_have_def__WIN32=no +- +- else +- curl_cv_have_def__WIN32=yes +- curl_cv_def__WIN32=$tmp_exp +- +- fi +- CPPFLAGS=$OLDCPPFLAGS +- +- else +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-printf "%s\n" "no" >&6; } +- fi +- +- +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler is LCC" >&5 +-printf %s "checking if compiler is LCC... " >&6; } +- +- OLDCPPFLAGS=$CPPFLAGS +- # CPPPFLAG comes from CURL_CPP_P +- CPPFLAGS="$CPPFLAGS $CPPPFLAG" +- if test -z "$SED"; then +- as_fn_error $? "SED not set. Cannot continue without SED being set." "$LINENO" 5 +- fi +- if test -z "$GREP"; then +- as_fn_error $? "GREP not set. Cannot continue without GREP being set." "$LINENO" 5 +- fi +- +- tmp_exp="" +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext +-/* end confdefs.h. */ +- +- +-#ifdef __LCC__ +-CURL_DEF_TOKEN __LCC__ +-#endif +- +- +-_ACEOF +-if ac_fn_c_try_cpp "$LINENO" +-then : +- +- tmp_exp=`eval "$ac_cpp conftest.$ac_ext" 2>/dev/null | \ +- "$GREP" CURL_DEF_TOKEN 2>/dev/null | \ +- "$SED" 's/.*CURL_DEF_TOKEN[ ][ ]*//' 2>/dev/null | \ +- "$SED" 's/["][ ]*["]//g' 2>/dev/null` +- if test -z "$tmp_exp" || test "$tmp_exp" = "__LCC__"; then +- tmp_exp="" +- fi +- +-fi +-rm -f conftest.err conftest.i conftest.$ac_ext +- if test -z "$tmp_exp"; then +- curl_cv_have_def___LCC__=no +- +- else +- curl_cv_have_def___LCC__=yes +- curl_cv_def___LCC__=$tmp_exp +- +- fi +- CPPFLAGS=$OLDCPPFLAGS +- +- if test "$curl_cv_have_def___LCC__" = "yes"; then +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +-printf "%s\n" "yes" >&6; } +- compiler_id="LCC" +- flags_dbg_yes="-g" +- flags_opt_all="" +- flags_opt_yes="" +- flags_opt_off="" + else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 + printf "%s\n" "no" >&6; } +@@ -18431,6 +18381,57 @@ _EOF + fi + + ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build target is a native Windows one" >&5 ++printf %s "checking whether build target is a native Windows one... " >&6; } ++if test ${curl_cv_native_windows+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ ++ ++int main (void) ++{ ++ ++#ifdef _WIN32 ++ int dummy=1; ++#else ++ Not a native Windows build target. ++#endif ++ ++ ; ++ return 0; ++} ++ ++_ACEOF ++if ac_fn_c_try_compile "$LINENO" ++then : ++ ++ curl_cv_native_windows="yes" ++ ++else $as_nop ++ ++ curl_cv_native_windows="no" ++ ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ++ ++fi ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_native_windows" >&5 ++printf "%s\n" "$curl_cv_native_windows" >&6; } ++ if test "x$curl_cv_native_windows" = xyes; then ++ DOING_NATIVE_WINDOWS_TRUE= ++ DOING_NATIVE_WINDOWS_FALSE='#' ++else ++ DOING_NATIVE_WINDOWS_TRUE='#' ++ DOING_NATIVE_WINDOWS_FALSE= ++fi ++ ++ ++ + squeeze() { + _sqz_result="" + eval _sqz_input=\$$1 +@@ -18501,11 +18502,6 @@ squeeze() { + tmp_CFLAGS="$tmp_CFLAGS" + ;; + # +- LCC) +- # +- tmp_CFLAGS="$tmp_CFLAGS -n" +- ;; +- # + SGI_MIPS_C) + # + tmp_CFLAGS="$tmp_CFLAGS" +@@ -19215,7 +19211,7 @@ printf "%s\n" "$as_me: WARNING: compiler options rejected: $tmp_options" >&2;} + + + ac_var_added_warnings="" +- for warning in no-multichar sign-compare; do ++ for warning in sign-compare; do + + ac_var_match_word="no" + for word1 in $CFLAGS; do +@@ -19233,6 +19229,7 @@ printf "%s\n" "$as_me: WARNING: compiler options rejected: $tmp_options" >&2;} + tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" + squeeze tmp_CFLAGS + ++ tmp_CFLAGS="$tmp_CFLAGS -Wno-multichar" + + ac_var_added_warnings="" + for warning in undef; do +@@ -19359,10 +19356,10 @@ printf "%s\n" "$as_me: WARNING: compiler options rejected: $tmp_options" >&2;} + + fi + # +- if test "$compiler_num" -ge "208"; then ++ if test "$compiler_num" -ge "207"; then + + ac_var_added_warnings="" +- for warning in vla; do ++ for warning in address; do + + ac_var_match_word="no" + for word1 in $CFLAGS; do +@@ -19380,12 +19377,9 @@ printf "%s\n" "$as_me: WARNING: compiler options rejected: $tmp_options" >&2;} + tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" + squeeze tmp_CFLAGS + +- fi +- # +- if test "$compiler_num" -ge "209"; then + + ac_var_added_warnings="" +- for warning in shift-sign-overflow; do ++ for warning in attributes; do + + ac_var_match_word="no" + for word1 in $CFLAGS; do +@@ -19403,9 +19397,6 @@ printf "%s\n" "$as_me: WARNING: compiler options rejected: $tmp_options" >&2;} + tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" + squeeze tmp_CFLAGS + +- fi +- # +- if test "$compiler_num" -ge "300"; then + + ac_var_added_warnings="" + for warning in bad-function-cast; do +@@ -19430,6 +19421,26 @@ printf "%s\n" "$as_me: WARNING: compiler options rejected: $tmp_options" >&2;} + ac_var_added_warnings="" + for warning in conversion; do + ++ ac_var_match_word="no" ++ for word1 in $CFLAGS; do ++ for word2 in -Wno-$warning -W$warning; do ++ if test "$word1" = "$word2"; then ++ ac_var_match_word="yes" ++ fi ++ done ++ done ++ ++ if test "$ac_var_match_word" = "no"; then ++ ac_var_added_warnings="$ac_var_added_warnings -W$warning" ++ fi ++ done ++ tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" ++ squeeze tmp_CFLAGS ++ ++ ++ ac_var_added_warnings="" ++ for warning in div-by-zero format-security; do ++ + ac_var_match_word="no" + for word1 in $CFLAGS; do + for word2 in -Wno-$warning -W$warning; do +@@ -19468,7 +19479,7 @@ printf "%s\n" "$as_me: WARNING: compiler options rejected: $tmp_options" >&2;} + + + ac_var_added_warnings="" +- for warning in ignored-qualifiers; do ++ for warning in missing-field-initializers; do + + ac_var_match_word="no" + for word1 in $CFLAGS; do +@@ -19487,6 +19498,67 @@ printf "%s\n" "$as_me: WARNING: compiler options rejected: $tmp_options" >&2;} + squeeze tmp_CFLAGS + + ++ ac_var_added_warnings="" ++ for warning in missing-noreturn; do ++ ++ ac_var_match_word="no" ++ for word1 in $CFLAGS; do ++ for word2 in -Wno-$warning -W$warning; do ++ if test "$word1" = "$word2"; then ++ ac_var_match_word="yes" ++ fi ++ done ++ done ++ ++ if test "$ac_var_match_word" = "no"; then ++ ac_var_added_warnings="$ac_var_added_warnings -W$warning" ++ fi ++ done ++ tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" ++ squeeze tmp_CFLAGS ++ ++ ++ ac_var_added_warnings="" ++ for warning in old-style-definition; do ++ ++ ac_var_match_word="no" ++ for word1 in $CFLAGS; do ++ for word2 in -Wno-$warning -W$warning; do ++ if test "$word1" = "$word2"; then ++ ac_var_match_word="yes" ++ fi ++ done ++ done ++ ++ if test "$ac_var_match_word" = "no"; then ++ ac_var_added_warnings="$ac_var_added_warnings -W$warning" ++ fi ++ done ++ tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" ++ squeeze tmp_CFLAGS ++ ++ ++ ac_var_added_warnings="" ++ for warning in redundant-decls; do ++ ++ ac_var_match_word="no" ++ for word1 in $CFLAGS; do ++ for word2 in -Wno-$warning -W$warning; do ++ if test "$word1" = "$word2"; then ++ ac_var_match_word="yes" ++ fi ++ done ++ done ++ ++ if test "$ac_var_match_word" = "no"; then ++ ac_var_added_warnings="$ac_var_added_warnings -W$warning" ++ fi ++ done ++ tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" ++ squeeze tmp_CFLAGS ++ ++ # CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [switch-enum]) # Not used because this basically disallows default case ++ + ac_var_added_warnings="" + for warning in type-limits; do + +@@ -19506,9 +19578,10 @@ printf "%s\n" "$as_me: WARNING: compiler options rejected: $tmp_options" >&2;} + tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" + squeeze tmp_CFLAGS + ++ # CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [unused-macros]) # Not practical + + ac_var_added_warnings="" +- for warning in no-sign-conversion; do ++ for warning in unreachable-code unused-parameter; do + + ac_var_match_word="no" + for word1 in $CFLAGS; do +@@ -19527,12 +19600,144 @@ printf "%s\n" "$as_me: WARNING: compiler options rejected: $tmp_options" >&2;} + squeeze tmp_CFLAGS + + fi ++ # ++ if test "$compiler_num" -ge "208"; then ++ ++ ac_var_added_warnings="" ++ for warning in ignored-qualifiers; do ++ ++ ac_var_match_word="no" ++ for word1 in $CFLAGS; do ++ for word2 in -Wno-$warning -W$warning; do ++ if test "$word1" = "$word2"; then ++ ac_var_match_word="yes" ++ fi ++ done ++ done ++ ++ if test "$ac_var_match_word" = "no"; then ++ ac_var_added_warnings="$ac_var_added_warnings -W$warning" ++ fi ++ done ++ tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" ++ squeeze tmp_CFLAGS ++ ++ ++ ac_var_added_warnings="" ++ for warning in vla; do ++ ++ ac_var_match_word="no" ++ for word1 in $CFLAGS; do ++ for word2 in -Wno-$warning -W$warning; do ++ if test "$word1" = "$word2"; then ++ ac_var_match_word="yes" ++ fi ++ done ++ done ++ ++ if test "$ac_var_match_word" = "no"; then ++ ac_var_added_warnings="$ac_var_added_warnings -W$warning" ++ fi ++ done ++ tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" ++ squeeze tmp_CFLAGS ++ ++ fi ++ # ++ if test "$compiler_num" -ge "209"; then ++ ++ ac_var_added_warnings="" ++ for warning in sign-conversion; do ++ ++ ac_var_match_word="no" ++ for word1 in $CFLAGS; do ++ for word2 in -Wno-$warning -W$warning; do ++ if test "$word1" = "$word2"; then ++ ac_var_match_word="yes" ++ fi ++ done ++ done ++ ++ if test "$ac_var_match_word" = "no"; then ++ ac_var_added_warnings="$ac_var_added_warnings -W$warning" ++ fi ++ done ++ tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" ++ squeeze tmp_CFLAGS ++ ++ tmp_CFLAGS="$tmp_CFLAGS -Wno-error=sign-conversion" # FIXME ++ ++ ac_var_added_warnings="" ++ for warning in shift-sign-overflow; do ++ ++ ac_var_match_word="no" ++ for word1 in $CFLAGS; do ++ for word2 in -Wno-$warning -W$warning; do ++ if test "$word1" = "$word2"; then ++ ac_var_match_word="yes" ++ fi ++ done ++ done ++ ++ if test "$ac_var_match_word" = "no"; then ++ ac_var_added_warnings="$ac_var_added_warnings -W$warning" ++ fi ++ done ++ tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" ++ squeeze tmp_CFLAGS ++ ++ # CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [padded]) # Not used because we cannot change public structs ++ fi ++ # ++ if test "$compiler_num" -ge "300"; then ++ ++ ac_var_added_warnings="" ++ for warning in language-extension-token; do ++ ++ ac_var_match_word="no" ++ for word1 in $CFLAGS; do ++ for word2 in -Wno-$warning -W$warning; do ++ if test "$word1" = "$word2"; then ++ ac_var_match_word="yes" ++ fi ++ done ++ done ++ ++ if test "$ac_var_match_word" = "no"; then ++ ac_var_added_warnings="$ac_var_added_warnings -W$warning" ++ fi ++ done ++ tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" ++ squeeze tmp_CFLAGS ++ ++ tmp_CFLAGS="$tmp_CFLAGS -Wformat=2" ++ fi + # + if test "$compiler_num" -ge "302"; then + + ac_var_added_warnings="" + for warning in enum-conversion; do + ++ ac_var_match_word="no" ++ for word1 in $CFLAGS; do ++ for word2 in -Wno-$warning -W$warning; do ++ if test "$word1" = "$word2"; then ++ ac_var_match_word="yes" ++ fi ++ done ++ done ++ ++ if test "$ac_var_match_word" = "no"; then ++ ac_var_added_warnings="$ac_var_added_warnings -W$warning" ++ fi ++ done ++ tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" ++ squeeze tmp_CFLAGS ++ ++ ++ ac_var_added_warnings="" ++ for warning in sometimes-uninitialized; do ++ + ac_var_match_word="no" + for word1 in $CFLAGS; do + for word2 in -Wno-$warning -W$warning; do +@@ -19579,9 +19784,72 @@ printf "%s\n" "$as_me: WARNING: compiler options rejected: $tmp_options" >&2;} + # + if test "$compiler_num" -ge "304"; then + ++ ac_var_added_warnings="" ++ for warning in header-guard; do ++ ++ ac_var_match_word="no" ++ for word1 in $CFLAGS; do ++ for word2 in -Wno-$warning -W$warning; do ++ if test "$word1" = "$word2"; then ++ ac_var_match_word="yes" ++ fi ++ done ++ done ++ ++ if test "$ac_var_match_word" = "no"; then ++ ac_var_added_warnings="$ac_var_added_warnings -W$warning" ++ fi ++ done ++ tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" ++ squeeze tmp_CFLAGS ++ ++ + ac_var_added_warnings="" + for warning in unused-const-variable; do + ++ ac_var_match_word="no" ++ for word1 in $CFLAGS; do ++ for word2 in -Wno-$warning -W$warning; do ++ if test "$word1" = "$word2"; then ++ ac_var_match_word="yes" ++ fi ++ done ++ done ++ ++ if test "$ac_var_match_word" = "no"; then ++ ac_var_added_warnings="$ac_var_added_warnings -W$warning" ++ fi ++ done ++ tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" ++ squeeze tmp_CFLAGS ++ ++ fi ++ # ++ if test "$compiler_num" -ge "305"; then ++ ++ ac_var_added_warnings="" ++ for warning in pragmas; do ++ ++ ac_var_match_word="no" ++ for word1 in $CFLAGS; do ++ for word2 in -Wno-$warning -W$warning; do ++ if test "$word1" = "$word2"; then ++ ac_var_match_word="yes" ++ fi ++ done ++ done ++ ++ if test "$ac_var_match_word" = "no"; then ++ ac_var_added_warnings="$ac_var_added_warnings -W$warning" ++ fi ++ done ++ tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" ++ squeeze tmp_CFLAGS ++ ++ ++ ac_var_added_warnings="" ++ for warning in unreachable-code-break; do ++ + ac_var_match_word="no" + for word1 in $CFLAGS; do + for word2 in -Wno-$warning -W$warning; do +@@ -19691,6 +19959,9 @@ printf "%s\n" "$as_me: WARNING: compiler options rejected: $tmp_options" >&2;} + tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" + squeeze tmp_CFLAGS + ++ fi ++ if test "$compiler_num" -ge "1000"; then ++ tmp_CFLAGS="$tmp_CFLAGS -Wimplicit-fallthrough" # we have silencing markup for clang 10.0 and above only + fi + fi + tmp_CFLAGS="$tmp_CFLAGS -Wno-pointer-bool-conversion" +@@ -19706,7 +19977,6 @@ printf "%s\n" "$as_me: WARNING: compiler options rejected: $tmp_options" >&2;} + GNU_C) + # + if test "$want_warnings" = "yes"; then +- tmp_CFLAGS="$tmp_CFLAGS -std=gnu89" + # + if test "x$cross_compiling" != "xyes" || + test "$compiler_num" -ge "300"; then +@@ -20012,6 +20282,158 @@ printf "%s\n" "$as_me: WARNING: compiler options rejected: $tmp_options" >&2;} + if test "$compiler_num" -ge "400"; then + tmp_CFLAGS="$tmp_CFLAGS -Wstrict-aliasing=3" + fi ++ # ++ if test "$compiler_num" -ge "401"; then ++ ++ ac_var_added_warnings="" ++ for warning in attributes; do ++ ++ ac_var_match_word="no" ++ for word1 in $CFLAGS; do ++ for word2 in -Wno-$warning -W$warning; do ++ if test "$word1" = "$word2"; then ++ ac_var_match_word="yes" ++ fi ++ done ++ done ++ ++ if test "$ac_var_match_word" = "no"; then ++ ac_var_added_warnings="$ac_var_added_warnings -W$warning" ++ fi ++ done ++ tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" ++ squeeze tmp_CFLAGS ++ ++ ++ ac_var_added_warnings="" ++ for warning in div-by-zero format-security; do ++ ++ ac_var_match_word="no" ++ for word1 in $CFLAGS; do ++ for word2 in -Wno-$warning -W$warning; do ++ if test "$word1" = "$word2"; then ++ ac_var_match_word="yes" ++ fi ++ done ++ done ++ ++ if test "$ac_var_match_word" = "no"; then ++ ac_var_added_warnings="$ac_var_added_warnings -W$warning" ++ fi ++ done ++ tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" ++ squeeze tmp_CFLAGS ++ ++ ++ ac_var_added_warnings="" ++ for warning in missing-field-initializers; do ++ ++ ac_var_match_word="no" ++ for word1 in $CFLAGS; do ++ for word2 in -Wno-$warning -W$warning; do ++ if test "$word1" = "$word2"; then ++ ac_var_match_word="yes" ++ fi ++ done ++ done ++ ++ if test "$ac_var_match_word" = "no"; then ++ ac_var_added_warnings="$ac_var_added_warnings -W$warning" ++ fi ++ done ++ tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" ++ squeeze tmp_CFLAGS ++ ++ case $host in ++ *-*-msys*) ++ ;; ++ *) ++ ++ ac_var_added_warnings="" ++ for warning in missing-noreturn; do ++ ++ ac_var_match_word="no" ++ for word1 in $CFLAGS; do ++ for word2 in -Wno-$warning -W$warning; do ++ if test "$word1" = "$word2"; then ++ ac_var_match_word="yes" ++ fi ++ done ++ done ++ ++ if test "$ac_var_match_word" = "no"; then ++ ac_var_added_warnings="$ac_var_added_warnings -W$warning" ++ fi ++ done ++ tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" ++ squeeze tmp_CFLAGS ++ # Seen to clash with libtool-generated stub code ++ ;; ++ esac ++ ++ ac_var_added_warnings="" ++ for warning in unreachable-code unused-parameter; do ++ ++ ac_var_match_word="no" ++ for word1 in $CFLAGS; do ++ for word2 in -Wno-$warning -W$warning; do ++ if test "$word1" = "$word2"; then ++ ac_var_match_word="yes" ++ fi ++ done ++ done ++ ++ if test "$ac_var_match_word" = "no"; then ++ ac_var_added_warnings="$ac_var_added_warnings -W$warning" ++ fi ++ done ++ tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" ++ squeeze tmp_CFLAGS ++ ++ # CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [padded]) # Not used because we cannot change public structs ++ ++ ac_var_added_warnings="" ++ for warning in pragmas; do ++ ++ ac_var_match_word="no" ++ for word1 in $CFLAGS; do ++ for word2 in -Wno-$warning -W$warning; do ++ if test "$word1" = "$word2"; then ++ ac_var_match_word="yes" ++ fi ++ done ++ done ++ ++ if test "$ac_var_match_word" = "no"; then ++ ac_var_added_warnings="$ac_var_added_warnings -W$warning" ++ fi ++ done ++ tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" ++ squeeze tmp_CFLAGS ++ ++ ++ ac_var_added_warnings="" ++ for warning in redundant-decls; do ++ ++ ac_var_match_word="no" ++ for word1 in $CFLAGS; do ++ for word2 in -Wno-$warning -W$warning; do ++ if test "$word1" = "$word2"; then ++ ac_var_match_word="yes" ++ fi ++ done ++ done ++ ++ if test "$ac_var_match_word" = "no"; then ++ ac_var_added_warnings="$ac_var_added_warnings -W$warning" ++ fi ++ done ++ tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" ++ squeeze tmp_CFLAGS ++ ++ # CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [switch-enum]) # Not used because this basically disallows default case ++ # CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [unused-macros]) # Not practical ++ fi + # + if test "$compiler_num" -ge "402"; then + +@@ -20038,6 +20460,26 @@ printf "%s\n" "$as_me: WARNING: compiler options rejected: $tmp_options" >&2;} + # + if test "$compiler_num" -ge "403"; then + ++ ac_var_added_warnings="" ++ for warning in address; do ++ ++ ac_var_match_word="no" ++ for word1 in $CFLAGS; do ++ for word2 in -Wno-$warning -W$warning; do ++ if test "$word1" = "$word2"; then ++ ac_var_match_word="yes" ++ fi ++ done ++ done ++ ++ if test "$ac_var_match_word" = "no"; then ++ ac_var_added_warnings="$ac_var_added_warnings -W$warning" ++ fi ++ done ++ tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" ++ squeeze tmp_CFLAGS ++ ++ + ac_var_added_warnings="" + for warning in type-limits old-style-declaration; do + +@@ -20099,7 +20541,27 @@ printf "%s\n" "$as_me: WARNING: compiler options rejected: $tmp_options" >&2;} + + + ac_var_added_warnings="" +- for warning in conversion; do ++ for warning in conversion trampolines; do ++ ++ ac_var_match_word="no" ++ for word1 in $CFLAGS; do ++ for word2 in -Wno-$warning -W$warning; do ++ if test "$word1" = "$word2"; then ++ ac_var_match_word="yes" ++ fi ++ done ++ done ++ ++ if test "$ac_var_match_word" = "no"; then ++ ac_var_added_warnings="$ac_var_added_warnings -W$warning" ++ fi ++ done ++ tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" ++ squeeze tmp_CFLAGS ++ ++ ++ ac_var_added_warnings="" ++ for warning in sign-conversion; do + + ac_var_match_word="no" + for word1 in $CFLAGS; do +@@ -20117,7 +20579,7 @@ printf "%s\n" "$as_me: WARNING: compiler options rejected: $tmp_options" >&2;} + tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" + squeeze tmp_CFLAGS + +- tmp_CFLAGS="$tmp_CFLAGS -Wno-sign-conversion" ++ tmp_CFLAGS="$tmp_CFLAGS -Wno-error=sign-conversion" # FIXME + + ac_var_added_warnings="" + for warning in vla; do +@@ -20142,7 +20604,7 @@ printf "%s\n" "$as_me: WARNING: compiler options rejected: $tmp_options" >&2;} + fi + # + if test "$compiler_num" -ge "405"; then +- if test "$curl_cv_have_def__WIN32" = "yes"; then ++ if test "$curl_cv_native_windows" = "yes"; then + tmp_CFLAGS="$tmp_CFLAGS -Wno-pedantic-ms-format" + fi + fi +@@ -20326,9 +20788,7 @@ printf "%s\n" "$as_me: WARNING: compiler options rejected: $tmp_options" >&2;} + + tmp_CFLAGS="$tmp_CFLAGS -Wformat-overflow=2" + tmp_CFLAGS="$tmp_CFLAGS -Wformat-truncation=2" +- if test "$compiler_num" -lt "1200"; then +- tmp_CFLAGS="$tmp_CFLAGS -Wimplicit-fallthrough=4" +- fi ++ tmp_CFLAGS="$tmp_CFLAGS -Wimplicit-fallthrough" + fi + # + if test "$compiler_num" -ge "1000"; then +@@ -20430,13 +20890,6 @@ printf "%s\n" "$as_me: WARNING: compiler options rejected: $tmp_options" >&2;} + tmp_CFLAGS="$tmp_CFLAGS" + ;; + # +- LCC) +- # +- if test "$want_warnings" = "yes"; then +- tmp_CFLAGS="$tmp_CFLAGS" +- fi +- ;; +- # + SGI_MIPS_C) + # + if test "$want_warnings" = "yes"; then +@@ -21081,243 +21534,10 @@ fi + + + +- +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for windows.h" >&5 +-printf %s "checking for windows.h... " >&6; } +-if test ${curl_cv_header_windows_h+y} +-then : +- printf %s "(cached) " >&6 +-else $as_nop +- +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext +-/* end confdefs.h. */ +- +- +-#undef inline +-#ifndef WIN32_LEAN_AND_MEAN +-#define WIN32_LEAN_AND_MEAN +-#endif +-#include +- +-int main (void) +-{ +- +-#if defined(__CYGWIN__) || defined(__CEGCC__) +- HAVE_WINDOWS_H shall not be defined. +-#else +- int dummy=2*WINVER; +-#endif +- +- ; +- return 0; +-} +- +-_ACEOF +-if ac_fn_c_try_compile "$LINENO" +-then : +- +- curl_cv_header_windows_h="yes" +- +-else $as_nop +- +- curl_cv_header_windows_h="no" +- +-fi +-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +- +-fi +-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_header_windows_h" >&5 +-printf "%s\n" "$curl_cv_header_windows_h" >&6; } +- case "$curl_cv_header_windows_h" in +- yes) +- +-printf "%s\n" "#define HAVE_WINDOWS_H 1" >>confdefs.h +- +- ;; +- esac +- +- +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build target is a native Windows one" >&5 +-printf %s "checking whether build target is a native Windows one... " >&6; } +-if test ${curl_cv_native_windows+y} +-then : +- printf %s "(cached) " >&6 +-else $as_nop +- +- if test "$curl_cv_header_windows_h" = "no"; then +- curl_cv_native_windows="no" +- else +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext +-/* end confdefs.h. */ +- +- +- +-int main (void) +-{ +- +-#if defined(__MINGW32__) || defined(__MINGW32CE__) || \ +- (defined(_MSC_VER) && (defined(_WIN32) || defined(_WIN64))) +- int dummy=1; +-#else +- Not a native Windows build target. +-#endif +- +- ; +- return 0; +-} +- +-_ACEOF +-if ac_fn_c_try_compile "$LINENO" +-then : +- +- curl_cv_native_windows="yes" +- +-else $as_nop +- +- curl_cv_native_windows="no" +- +-fi +-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +- fi +- +-fi +-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_native_windows" >&5 +-printf "%s\n" "$curl_cv_native_windows" >&6; } +- if test "x$curl_cv_native_windows" = xyes; then +- DOING_NATIVE_WINDOWS_TRUE= +- DOING_NATIVE_WINDOWS_FALSE='#' +-else +- DOING_NATIVE_WINDOWS_TRUE='#' +- DOING_NATIVE_WINDOWS_FALSE= +-fi +- +- +-case X-"$curl_cv_native_windows" in +- X-yes) +- +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for winsock2.h" >&5 +-printf %s "checking for winsock2.h... " >&6; } +-if test ${curl_cv_header_winsock2_h+y} +-then : +- printf %s "(cached) " >&6 +-else $as_nop +- +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext +-/* end confdefs.h. */ +- +- +-#undef inline +-#ifndef WIN32_LEAN_AND_MEAN +-#define WIN32_LEAN_AND_MEAN +-#endif +-#include +-#include +- +-int main (void) +-{ +- +-#if defined(__CYGWIN__) || defined(__CEGCC__) || defined(__MINGW32CE__) +- HAVE_WINSOCK2_H shall not be defined. +-#else +- int dummy=2*IPPROTO_ESP; +-#endif +- +- ; +- return 0; +-} +- +-_ACEOF +-if ac_fn_c_try_compile "$LINENO" +-then : +- +- curl_cv_header_winsock2_h="yes" +- +-else $as_nop +- +- curl_cv_header_winsock2_h="no" +- +-fi +-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +- +-fi +-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_header_winsock2_h" >&5 +-printf "%s\n" "$curl_cv_header_winsock2_h" >&6; } +- case "$curl_cv_header_winsock2_h" in +- yes) +- +-printf "%s\n" "#define HAVE_WINSOCK2_H 1" >>confdefs.h +- +- ;; +- esac +- +- +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ws2tcpip.h" >&5 +-printf %s "checking for ws2tcpip.h... " >&6; } +-if test ${curl_cv_header_ws2tcpip_h+y} +-then : +- printf %s "(cached) " >&6 +-else $as_nop +- +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext +-/* end confdefs.h. */ +- +- +-#undef inline +-#ifndef WIN32_LEAN_AND_MEAN +-#define WIN32_LEAN_AND_MEAN +-#endif +-#include +-#include +-#include +- +-int main (void) +-{ +- +-#if defined(__CYGWIN__) || defined(__CEGCC__) || defined(__MINGW32CE__) +- HAVE_WS2TCPIP_H shall not be defined. +-#else +- int dummy=2*IP_PKTINFO; +-#endif +- +- ; +- return 0; +-} +- +-_ACEOF +-if ac_fn_c_try_compile "$LINENO" +-then : +- +- curl_cv_header_ws2tcpip_h="yes" +- +-else $as_nop +- +- curl_cv_header_ws2tcpip_h="no" +- +-fi +-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +- +-fi +-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_header_ws2tcpip_h" >&5 +-printf "%s\n" "$curl_cv_header_ws2tcpip_h" >&6; } +- case "$curl_cv_header_ws2tcpip_h" in +- yes) +- +-printf "%s\n" "#define HAVE_WS2TCPIP_H 1" >>confdefs.h +- +- ;; +- esac +- +- ;; +- *) +- curl_cv_header_winsock2_h="no" +- curl_cv_header_ws2tcpip_h="no" +- ;; +-esac +- + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build target supports WIN32 file API" >&5 + printf %s "checking whether build target supports WIN32 file API... " >&6; } + curl_win32_file_api="no" +- if test "$curl_cv_header_windows_h" = "yes"; then ++ if test "$curl_cv_native_windows" = "yes"; then + if test x"$enable_largefile" != "xno"; then + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ +@@ -21327,9 +21547,7 @@ printf %s "checking whether build target supports WIN32 file API... " >&6; } + int main (void) + { + +-#if !defined(_WIN32_WCE) && \ +- (defined(__MINGW32__) || \ +- (defined(_MSC_VER) && (defined(_WIN32) || defined(_WIN64)))) ++#if !defined(_WIN32_WCE) && (defined(__MINGW32__) || defined(_MSC_VER)) + int dummy=1; + #else + WIN32 large file API not supported. +@@ -21406,7 +21624,7 @@ printf "%s\n" "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build target supports WIN32 crypto API" >&5 + printf %s "checking whether build target supports WIN32 crypto API... " >&6; } + curl_win32_crypto_api="no" +- if test "$curl_cv_header_windows_h" = "yes"; then ++ if test "$curl_cv_native_windows" = "yes"; then + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + +@@ -22047,7 +22265,6 @@ then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Hyper support is experimental" >&5 + printf "%s\n" "$as_me: Hyper support is experimental" >&6;} + curl_h1_msg="enabled (Hyper)" +- curl_h2_msg=$curl_h1_msg + HYPER_ENABLED=1 + + printf "%s\n" "#define USE_HYPER 1" >>confdefs.h +@@ -22385,6 +22602,32 @@ fi + + + ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build documentation" >&5 ++printf %s "checking whether to build documentation... " >&6; } ++# Check whether --enable-docs was given. ++if test ${enable_docs+y} ++then : ++ enableval=$enable_docs; case "$enableval" in ++ no) ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++ BUILD_DOCS=0 ++ curl_docs_msg="no" ++ ;; ++ *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++ BUILD_DOCS=1 ++ ;; ++ esac ++else $as_nop ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++ BUILD_DOCS=1 ++ ++fi ++ ++ ++ + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to provide built-in manual" >&5 + printf %s "checking whether to provide built-in manual... " >&6; } + # Check whether --enable-manual was given. +@@ -22676,10 +22919,8 @@ fi + + if test "$HAVE_GETHOSTBYNAME" != "1" + then +- if test "$curl_cv_header_windows_h" = "yes"; then +- if test "$curl_cv_header_winsock2_h" = "yes"; then +- winsock_LIB="-lws2_32" +- fi ++ if test "$curl_cv_native_windows" = "yes"; then ++ winsock_LIB="-lws2_32" + if test ! -z "$winsock_LIB"; then + my_ac_save_LIBS=$LIBS + LIBS="$winsock_LIB $LIBS" +@@ -22689,15 +22930,12 @@ printf %s "checking for gethostbyname in $winsock_LIB... " >&6; } + /* end confdefs.h. */ + + +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + #ifndef WIN32_LEAN_AND_MEAN + #define WIN32_LEAN_AND_MEAN + #endif +-#include +-#ifdef HAVE_WINSOCK2_H + #include + #endif +-#endif + + int main (void) + { +@@ -22908,20 +23146,17 @@ fi + + curl_includes_winsock2="\ + /* includes start */ +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + # ifndef WIN32_LEAN_AND_MEAN + # define WIN32_LEAN_AND_MEAN + # endif +-# include +-# ifdef HAVE_WINSOCK2_H +-# include +-# endif ++# include + #endif + /* includes end */" + +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for windows.h" >&5 +-printf %s "checking for windows.h... " >&6; } +-if test ${curl_cv_header_windows_h+y} ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build target is a native Windows one" >&5 ++printf %s "checking whether build target is a native Windows one... " >&6; } ++if test ${curl_cv_native_windows+y} + then : + printf %s "(cached) " >&6 + else $as_nop +@@ -22930,19 +23165,14 @@ else $as_nop + /* end confdefs.h. */ + + +-#undef inline +-#ifndef WIN32_LEAN_AND_MEAN +-#define WIN32_LEAN_AND_MEAN +-#endif +-#include + + int main (void) + { + +-#if defined(__CYGWIN__) || defined(__CEGCC__) +- HAVE_WINDOWS_H shall not be defined. ++#ifdef _WIN32 ++ int dummy=1; + #else +- int dummy=2*WINVER; ++ Not a native Windows build target. + #endif + + ; +@@ -22953,81 +23183,26 @@ _ACEOF + if ac_fn_c_try_compile "$LINENO" + then : + +- curl_cv_header_windows_h="yes" ++ curl_cv_native_windows="yes" + + else $as_nop + +- curl_cv_header_windows_h="no" ++ curl_cv_native_windows="no" + + fi + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + + fi +-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_header_windows_h" >&5 +-printf "%s\n" "$curl_cv_header_windows_h" >&6; } +- case "$curl_cv_header_windows_h" in +- yes) +- +-printf "%s\n" "#define HAVE_WINDOWS_H 1" >>confdefs.h +- +- ;; +- esac +- +- +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for winsock2.h" >&5 +-printf %s "checking for winsock2.h... " >&6; } +-if test ${curl_cv_header_winsock2_h+y} +-then : +- printf %s "(cached) " >&6 +-else $as_nop +- +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext +-/* end confdefs.h. */ +- +- +-#undef inline +-#ifndef WIN32_LEAN_AND_MEAN +-#define WIN32_LEAN_AND_MEAN +-#endif +-#include +-#include +- +-int main (void) +-{ +- +-#if defined(__CYGWIN__) || defined(__CEGCC__) || defined(__MINGW32CE__) +- HAVE_WINSOCK2_H shall not be defined. +-#else +- int dummy=2*IPPROTO_ESP; +-#endif +- +- ; +- return 0; +-} +- +-_ACEOF +-if ac_fn_c_try_compile "$LINENO" +-then : +- +- curl_cv_header_winsock2_h="yes" +- +-else $as_nop +- +- curl_cv_header_winsock2_h="no" +- +-fi +-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +- ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_native_windows" >&5 ++printf "%s\n" "$curl_cv_native_windows" >&6; } ++ if test "x$curl_cv_native_windows" = xyes; then ++ DOING_NATIVE_WINDOWS_TRUE= ++ DOING_NATIVE_WINDOWS_FALSE='#' ++else ++ DOING_NATIVE_WINDOWS_TRUE='#' ++ DOING_NATIVE_WINDOWS_FALSE= + fi +-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_header_winsock2_h" >&5 +-printf "%s\n" "$curl_cv_header_winsock2_h" >&6; } +- case "$curl_cv_header_winsock2_h" in +- yes) +- +-printf "%s\n" "#define HAVE_WINSOCK2_H 1" >>confdefs.h + +- ;; +- esac + + + +@@ -23071,7 +23246,7 @@ printf %s "checking for connect in libraries... " >&6; } + + $curl_includes_winsock2 + $curl_includes_bsdsocket +- #if !defined(HAVE_WINDOWS_H) && !defined(HAVE_PROTO_BSDSOCKET_H) ++ #if !defined(_WIN32) && !defined(HAVE_PROTO_BSDSOCKET_H) + int connect(int, void*, int); + #endif + +@@ -24351,7 +24526,7 @@ else $as_nop + + + #undef inline +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + #ifndef WIN32_LEAN_AND_MEAN + #define WIN32_LEAN_AND_MEAN + #endif +@@ -24403,7 +24578,7 @@ printf "%s\n" "#define HAVE_LBER_H 1" >>confdefs.h + + + #undef inline +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + #ifndef WIN32_LEAN_AND_MEAN + #define WIN32_LEAN_AND_MEAN + #endif +@@ -24467,7 +24642,7 @@ else $as_nop + + + #undef inline +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + #ifndef WIN32_LEAN_AND_MEAN + #define WIN32_LEAN_AND_MEAN + #endif +@@ -24532,7 +24707,7 @@ else $as_nop + + + #undef inline +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + #ifndef WIN32_LEAN_AND_MEAN + #define WIN32_LEAN_AND_MEAN + #endif +@@ -24691,7 +24866,7 @@ printf %s "checking for LDAP libraries... " >&6; } + + + #undef inline +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + #ifndef WIN32_LEAN_AND_MEAN + #define WIN32_LEAN_AND_MEAN + #endif +@@ -24921,7 +25096,7 @@ else $as_nop + + /* are AF_INET6 and sockaddr_in6 available? */ + #include +-#ifdef HAVE_WINSOCK2_H ++#ifdef _WIN32 + #include + #include + #else +@@ -24931,15 +25106,12 @@ else $as_nop + # include + #endif + #endif +-#include /* for exit() */ +-main() ++ ++int main(void) + { + struct sockaddr_in6 s; + (void)s; +- if (socket(AF_INET6, SOCK_STREAM, 0) < 0) +- exit(1); +- else +- exit(0); ++ return socket(AF_INET6, SOCK_STREAM, 0) < 0; + } + + +@@ -24975,7 +25147,7 @@ printf %s "checking if struct sockaddr_in6 has sin6_scope_id member... " >&6; } + /* end confdefs.h. */ + + #include +-#ifdef HAVE_WINSOCK2_H ++#ifdef _WIN32 + #include + #include + #else +@@ -25509,10 +25681,6 @@ done + if test "x$ac_cv_header_gssapi_h" = xyes + then : + +- +-printf "%s\n" "#define HAVE_GSSHEIMDAL 1" >>confdefs.h +- +- + else $as_nop + + want_gss=no +@@ -25523,10 +25691,7 @@ printf "%s\n" "$as_me: WARNING: disabling GSS-API support since no header files + fi + + else +- +-printf "%s\n" "#define HAVE_GSSMIT 1" >>confdefs.h +- +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if GSS-API headers declare GSS_C_NT_HOSTBASED_SERVICE" >&5 ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if GSS-API headers declare GSS_C_NT_HOSTBASED_SERVICE" >&5 + printf %s "checking if GSS-API headers declare GSS_C_NT_HOSTBASED_SERVICE... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ +@@ -26072,7 +26237,7 @@ int main (void) + { + + #if defined(AMISSL_CURRENT_VERSION) && defined(AMISSL_V3xx) && \ +- defined(OPENSSL_VERSION_MAJOR) && (OPENSSL_VERSION_MAJOR >= 3) && \ ++ (OPENSSL_VERSION_NUMBER >= 0x30000000L) && \ + defined(PROTO_AMISSL_H) + return 0; + #else +@@ -26809,6 +26974,7 @@ then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 + printf "%s\n" "yes" >&6; } + ssl_msg="BoringSSL" ++ OPENSSL_IS_BORINGSSL=1 + + else $as_nop + +@@ -26844,6 +27010,7 @@ then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 + printf "%s\n" "yes" >&6; } + ssl_msg="AWS-LC" ++ OPENSSL_IS_BORINGSSL=1 + + else $as_nop + +@@ -26900,7 +27067,7 @@ printf %s "checking for OpenSSL >= v3... " >&6; } + int main (void) + { + +- #if defined(OPENSSL_VERSION_MAJOR) && (OPENSSL_VERSION_MAJOR >= 3) ++ #if (OPENSSL_VERSION_NUMBER >= 0x30000000L) + return 0; + #else + #error older than 3 +@@ -26930,6 +27097,25 @@ fi + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + fi + ++ ++ for ac_func in SSL_set_quic_use_legacy_codepoint ++do : ++ ac_fn_c_check_func "$LINENO" "SSL_set_quic_use_legacy_codepoint" "ac_cv_func_SSL_set_quic_use_legacy_codepoint" ++if test "x$ac_cv_func_SSL_set_quic_use_legacy_codepoint" = xyes ++then : ++ printf "%s\n" "#define HAVE_SSL_SET_QUIC_USE_LEGACY_CODEPOINT 1" >>confdefs.h ++ QUIC_ENABLED=yes ++fi ++ ++done ++ if test "$QUIC_ENABLED" = "yes"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: OpenSSL fork speaks QUIC API" >&5 ++printf "%s\n" "$as_me: OpenSSL fork speaks QUIC API" >&6;} ++ else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: OpenSSL version does not speak QUIC API" >&5 ++printf "%s\n" "$as_me: OpenSSL version does not speak QUIC API" >&6;} ++ fi ++ + if test "$OPENSSL_ENABLED" = "1"; then + if test -n "$LIB_OPENSSL"; then + if test "x$cross_compiling" != "xyes"; then +@@ -27060,6 +27246,45 @@ fi + + fi + ++if test "$OPENSSL_ENABLED" = "1"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for QUIC support in OpenSSL" >&5 ++printf %s "checking for QUIC support in OpenSSL... " >&6; } ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ ++#include ++ ++int main (void) ++{ ++ ++ OSSL_QUIC_client_method(); ++ ++ ; ++ return 0; ++} ++ ++_ACEOF ++if ac_fn_c_try_link "$LINENO" ++then : ++ ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++ ++printf "%s\n" "#define HAVE_OPENSSL_QUIC 1" >>confdefs.h ++ ++ HAVE_OPENSSL_QUIC=1 ++ ++ ++else $as_nop ++ ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++ ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ ++ conftest$ac_exeext conftest.$ac_ext ++fi + + + if test "x$OPT_GNUTLS" != xno; then +@@ -27305,6 +27530,7 @@ printf "%s\n" "#define USE_GNUTLS 1" >>confdefs.h + GNUTLS_ENABLED=1 + USE_GNUTLS="yes" + ssl_msg="GnuTLS" ++ QUIC_ENABLED=yes + test gnutls != "$DEFAULT_SSL_BACKEND" || VALID_DEFAULT_SSL_BACKEND=yes + + else $as_nop +@@ -27896,6 +28122,7 @@ printf "%s\n" "#define USE_WOLFSSL 1" >>confdefs.h + WOLFSSL_ENABLED=1 + USE_WOLFSSL="yes" + ssl_msg="WolfSSL" ++ QUIC_ENABLED=yes + test wolfssl != "$DEFAULT_SSL_BACKEND" || VALID_DEFAULT_SSL_BACKEND=yes + + else $as_nop +@@ -28189,29 +28416,61 @@ fi + + + if test "x$OPT_RUSTLS" != xno; then +- _cppflags=$CPPFLAGS +- _ldflags=$LDFLAGS + ssl_msg= + +- if test X"$OPT_RUSTLS" != Xno; then ++ CLEANLDFLAGS="$LDFLAGS" ++ CLEANCPPFLAGS="$CPPFLAGS" + +- if test "$OPT_RUSTLS" = "yes"; then +- OPT_RUSTLS="" +- fi ++ case $host_os in ++ darwin*) ++ LDFLAGS="$LDFLAGS -framework Security" ++ ;; ++ *) ++ ;; ++ esac ++ ## NEW CODE + +- case $host_os in +- darwin*) +- LDFLAGS="$LDFLAGS -framework Security" +- ;; +- *) +- ;; +- esac + +- if test -z "$OPT_RUSTLS" ; then ++ case "$OPT_RUSTLS" in ++ yes) ++ PKGTEST="yes" ++ PREFIX_RUSTLS= ++ ;; ++ *) ++ PKGTEST="no" ++ PREFIX_RUSTLS=$OPT_RUSTLS ++ ++ ++ RUSTLS_PCDIR="$PREFIX_RUSTLS/lib/pkgconfig" ++ if test -f "$RUSTLS_PCDIR/rustls.pc"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: PKG_CONFIG_LIBDIR will be set to \"$RUSTLS_PCDIR\"" >&5 ++printf "%s\n" "$as_me: PKG_CONFIG_LIBDIR will be set to \"$RUSTLS_PCDIR\"" >&6;} ++ PKGTEST="yes" ++ fi ++ ++ if test "$PKGTEST" != "yes"; then ++ # try lib64 instead ++ RUSTLS_PCDIR="$PREFIX_RUSTLS/lib64/pkgconfig" ++ if test -f "$RUSTLS_PCDIR/rustls.pc"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: PKG_CONFIG_LIBDIR will be set to \"$RUSTLS_PCDIR\"" >&5 ++printf "%s\n" "$as_me: PKG_CONFIG_LIBDIR will be set to \"$RUSTLS_PCDIR\"" >&6;} ++ PKGTEST="yes" ++ fi ++ fi + +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for rustls_client_session_read in -lrustls" >&5 +-printf %s "checking for rustls_client_session_read in -lrustls... " >&6; } +-if test ${ac_cv_lib_rustls_rustls_client_session_read+y} ++ if test "$PKGTEST" != "yes"; then ++ ++ addld=-L$PREFIX_RUSTLS/lib$libsuff ++ addcflags=-I$PREFIX_RUSTLS/include ++ ++ LDFLAGS="$LDFLAGS $addld" ++ if test "$addcflags" != "-I/usr/include"; then ++ CPPFLAGS="$CPPFLAGS $addcflags" ++ fi ++ ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for rustls_connection_read in -lrustls" >&5 ++printf %s "checking for rustls_connection_read in -lrustls... " >&6; } ++if test ${ac_cv_lib_rustls_rustls_connection_read+y} + then : + printf %s "(cached) " >&6 + else $as_nop +@@ -28224,125 +28483,256 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + #ifdef __cplusplus + extern "C" + #endif +-char rustls_client_session_read (); ++char rustls_connection_read (); + int main (void) + { +-return rustls_client_session_read (); ++return rustls_connection_read (); + ; + return 0; + } + _ACEOF + if ac_fn_c_try_link "$LINENO" + then : +- ac_cv_lib_rustls_rustls_client_session_read=yes ++ ac_cv_lib_rustls_rustls_connection_read=yes + else $as_nop +- ac_cv_lib_rustls_rustls_client_session_read=no ++ ac_cv_lib_rustls_rustls_connection_read=no + fi + rm -f core conftest.err conftest.$ac_objext conftest.beam \ + conftest$ac_exeext conftest.$ac_ext + LIBS=$ac_check_lib_save_LIBS + fi +-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rustls_rustls_client_session_read" >&5 +-printf "%s\n" "$ac_cv_lib_rustls_rustls_client_session_read" >&6; } +-if test "x$ac_cv_lib_rustls_rustls_client_session_read" = xyes ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rustls_rustls_connection_read" >&5 ++printf "%s\n" "$ac_cv_lib_rustls_rustls_connection_read" >&6; } ++if test "x$ac_cv_lib_rustls_rustls_connection_read" = xyes + then : + + + printf "%s\n" "#define USE_RUSTLS 1" >>confdefs.h + +- USE_RUSTLS=1 ++ USE_RUSTLS=1 + +- RUSTLS_ENABLED=1 +- USE_RUSTLS="yes" +- ssl_msg="rustls" +- test rustls != "$DEFAULT_SSL_BACKEND" || VALID_DEFAULT_SSL_BACKEND=yes ++ RUSTLS_ENABLED=1 ++ USE_RUSTLS="yes" ++ ssl_msg="rustls" ++ test rustls != "$DEFAULT_SSL_BACKEND" || VALID_DEFAULT_SSL_BACKEND=yes + ++else $as_nop ++ as_fn_error $? "--with-rustls was specified but could not find rustls." "$LINENO" 5 + fi + +- fi + +- if test "x$USE_RUSTLS" != "xyes"; then +- addld=-L$OPT_RUSTLS/lib$libsuff +- addcflags=-I$OPT_RUSTLS/include +- rustlslib=$OPT_RUSTLS/lib$libsuff ++ USE_RUSTLS="yes" ++ ssl_msg="rustls" + +- LDFLAGS="$LDFLAGS $addld" +- if test "$addcflags" != "-I/usr/include"; then +- CPPFLAGS="$CPPFLAGS $addcflags" ++ LIB_RUSTLS="$PREFIX_RUSTLS/lib$libsuff" ++ if test "$PREFIX_RUSTLS" != "/usr" ; then ++ SSL_LDFLAGS="-L$LIB_RUSTLS" ++ SSL_CPPFLAGS="-I$PREFIX_RUSTLS/include" ++ fi + fi ++ ;; ++ esac + +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for rustls_connection_read in -lrustls" >&5 +-printf %s "checking for rustls_connection_read in -lrustls... " >&6; } +-if test ${ac_cv_lib_rustls_rustls_connection_read+y} ++ if test "$PKGTEST" = "yes"; then ++ ++ ++ if test -n "$PKG_CONFIG"; then ++ PKGCONFIG="$PKG_CONFIG" ++ else ++ if test -n "$ac_tool_prefix"; then ++ # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. ++set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_path_PKGCONFIG+y} + then : + printf %s "(cached) " >&6 + else $as_nop +- ac_check_lib_save_LIBS=$LIBS +-LIBS="-lrustls -lpthread -ldl -lm $LIBS" +-cat confdefs.h - <<_ACEOF >conftest.$ac_ext +-/* end confdefs.h. */ ++ case $PKGCONFIG in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_PKGCONFIG="$PKGCONFIG" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++as_dummy="$PATH:/usr/bin:/usr/local/bin" ++for as_dir in $as_dummy ++do ++ IFS=$as_save_IFS ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ++ ac_cv_path_PKGCONFIG="$as_dir$ac_word$ac_exec_ext" ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS + ++ ;; ++esac ++fi ++PKGCONFIG=$ac_cv_path_PKGCONFIG ++if test -n "$PKGCONFIG"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5 ++printf "%s\n" "$PKGCONFIG" >&6; } ++else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++fi + +-#ifdef __cplusplus +-extern "C" +-#endif +-char rustls_connection_read (); +-int main (void) +-{ +-return rustls_connection_read (); +- ; +- return 0; +-} +-_ACEOF +-if ac_fn_c_try_link "$LINENO" ++ ++fi ++if test -z "$ac_cv_path_PKGCONFIG"; then ++ ac_pt_PKGCONFIG=$PKGCONFIG ++ # Extract the first word of "pkg-config", so it can be a program name with args. ++set dummy pkg-config; ac_word=$2 ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_path_ac_pt_PKGCONFIG+y} + then : +- ac_cv_lib_rustls_rustls_connection_read=yes ++ printf %s "(cached) " >&6 + else $as_nop +- ac_cv_lib_rustls_rustls_connection_read=no ++ case $ac_pt_PKGCONFIG in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_ac_pt_PKGCONFIG="$ac_pt_PKGCONFIG" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++as_dummy="$PATH:/usr/bin:/usr/local/bin" ++for as_dir in $as_dummy ++do ++ IFS=$as_save_IFS ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ++ ac_cv_path_ac_pt_PKGCONFIG="$as_dir$ac_word$ac_exec_ext" ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++ ;; ++esac + fi +-rm -f core conftest.err conftest.$ac_objext conftest.beam \ +- conftest$ac_exeext conftest.$ac_ext +-LIBS=$ac_check_lib_save_LIBS ++ac_pt_PKGCONFIG=$ac_cv_path_ac_pt_PKGCONFIG ++if test -n "$ac_pt_PKGCONFIG"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5 ++printf "%s\n" "$ac_pt_PKGCONFIG" >&6; } ++else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + fi +-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rustls_rustls_connection_read" >&5 +-printf "%s\n" "$ac_cv_lib_rustls_rustls_connection_read" >&6; } +-if test "x$ac_cv_lib_rustls_rustls_connection_read" = xyes +-then : + ++ if test "x$ac_pt_PKGCONFIG" = x; then ++ PKGCONFIG="no" ++ else ++ case $cross_compiling:$ac_tool_warned in ++yes:) ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 ++printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ++ac_tool_warned=yes ;; ++esac ++ PKGCONFIG=$ac_pt_PKGCONFIG ++ fi ++else ++ PKGCONFIG="$ac_cv_path_PKGCONFIG" ++fi + +-printf "%s\n" "#define USE_RUSTLS 1" >>confdefs.h ++ fi + +- USE_RUSTLS=1 ++ if test "x$PKGCONFIG" != "xno"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for rustls options with pkg-config" >&5 ++printf %s "checking for rustls options with pkg-config... " >&6; } ++ itexists=` ++ if test -n "$RUSTLS_PCDIR"; then ++ PKG_CONFIG_LIBDIR="$RUSTLS_PCDIR" ++ export PKG_CONFIG_LIBDIR ++ fi ++ $PKGCONFIG --exists rustls >/dev/null 2>&1 && echo 1` + +- RUSTLS_ENABLED=1 +- USE_RUSTLS="yes" +- ssl_msg="rustls" +- test rustls != "$DEFAULT_SSL_BACKEND" || VALID_DEFAULT_SSL_BACKEND=yes ++ if test -z "$itexists"; then ++ PKGCONFIG="no" ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++ else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5 ++printf "%s\n" "found" >&6; } ++ fi ++ fi + +-else $as_nop +- as_fn_error $? "--with-rustls was specified but could not find rustls." "$LINENO" 5 +-fi + ++ if test "$PKGCONFIG" != "no" ; then ++ SSL_LIBS=` ++ if test -n "$RUSTLS_PCDIR"; then ++ PKG_CONFIG_LIBDIR="$RUSTLS_PCDIR" ++ export PKG_CONFIG_LIBDIR + fi ++ $PKGCONFIG --libs-only-l --libs-only-other rustls 2>/dev/null` + +- if test "x$USE_RUSTLS" = "xyes"; then +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: detected rustls" >&5 +-printf "%s\n" "$as_me: detected rustls" >&6;} +- check_for_ca_bundle=1 ++ SSL_LDFLAGS=` ++ if test -n "$RUSTLS_PCDIR"; then ++ PKG_CONFIG_LIBDIR="$RUSTLS_PCDIR" ++ export PKG_CONFIG_LIBDIR ++ fi ++ $PKGCONFIG --libs-only-L rustls 2>/dev/null` ++ ++ SSL_CPPFLAGS=` ++ if test -n "$RUSTLS_PCDIR"; then ++ PKG_CONFIG_LIBDIR="$RUSTLS_PCDIR" ++ export PKG_CONFIG_LIBDIR ++ fi ++ $PKGCONFIG --cflags-only-I rustls 2>/dev/null` + +- LIBS="-lrustls -lpthread -ldl -lm $LIBS" + +- if test -n "$rustlslib"; then +- if test "x$cross_compiling" != "xyes"; then +- CURL_LIBRARY_PATH="$CURL_LIBRARY_PATH:$rustlslib" +- export CURL_LIBRARY_PATH +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Added $rustlslib to CURL_LIBRARY_PATH" >&5 +-printf "%s\n" "$as_me: Added $rustlslib to CURL_LIBRARY_PATH" >&6;} +- fi +- fi ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: pkg-config: SSL_LIBS: \"$SSL_LIBS\"" >&5 ++printf "%s\n" "$as_me: pkg-config: SSL_LIBS: \"$SSL_LIBS\"" >&6;} ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: pkg-config: SSL_LDFLAGS: \"$SSL_LDFLAGS\"" >&5 ++printf "%s\n" "$as_me: pkg-config: SSL_LDFLAGS: \"$SSL_LDFLAGS\"" >&6;} ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: pkg-config: SSL_CPPFLAGS: \"$SSL_CPPFLAGS\"" >&5 ++printf "%s\n" "$as_me: pkg-config: SSL_CPPFLAGS: \"$SSL_CPPFLAGS\"" >&6;} ++ ++ LIB_RUSTLS=`echo $SSL_LDFLAGS | sed -e 's/^-L//'` ++ ++ LIBS="$SSL_LIBS $LIBS" ++ USE_RUSTLS="yes" ++ ssl_msg="rustls" ++ else ++ as_fn_error $? "pkg-config: Could not find rustls" "$LINENO" 5 + fi + ++ else ++ LIBS="-lrustls -lpthread -ldl -lm $LIBS" ++ fi ++ ++ CPPFLAGS="$CLEAN_CPPFLAGS $SSL_CPPFLAGS" ++ LDFLAGS="$CLAN_LDFLAGS $SSL_LDFLAGS" ++ ++ if test "x$USE_RUSTLS" = "xyes"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: detected rustls" >&5 ++printf "%s\n" "$as_me: detected rustls" >&6;} ++ check_for_ca_bundle=1 ++ ++ if test -n "$LIB_RUSTLS"; then ++ if test "x$cross_compiling" != "xyes"; then ++ CURL_LIBRARY_PATH="$CURL_LIBRARY_PATH:$LIB_RUSTLS" ++ export CURL_LIBRARY_PATH ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Added $LIB_RUSTLS to CURL_LIBRARY_PATH" >&5 ++printf "%s\n" "$as_me: Added $LIB_RUSTLS to CURL_LIBRARY_PATH" >&6;} ++ fi ++ fi + fi ++ + test -z "$ssl_msg" || ssl_backends="${ssl_backends:+$ssl_backends, }$ssl_msg" + fi + +@@ -28579,23 +28969,194 @@ printf "%s\n" "#define CURL_CA_FALLBACK 1" >>confdefs.h + fi + + ++OPT_LIBPSL=off + + # Check whether --with-libpsl was given. + if test ${with_libpsl+y} + then : +- withval=$with_libpsl; with_libpsl=$withval ++ withval=$with_libpsl; OPT_LIBPSL=$withval ++fi ++ ++ ++if test X"$OPT_LIBPSL" != Xno; then ++ CLEANLDFLAGS="$LDFLAGS" ++ CLEANCPPFLAGS="$CPPFLAGS" ++ CLEANLIBS="$LIBS" ++ ++ case "$OPT_LIBPSL" in ++ yes) ++ ++ if test -n "$PKG_CONFIG"; then ++ PKGCONFIG="$PKG_CONFIG" ++ else ++ if test -n "$ac_tool_prefix"; then ++ # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. ++set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_path_PKGCONFIG+y} ++then : ++ printf %s "(cached) " >&6 + else $as_nop +- with_libpsl=yes ++ case $PKGCONFIG in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_PKGCONFIG="$PKGCONFIG" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++as_dummy="$PATH:/usr/bin:/usr/local/bin" ++for as_dir in $as_dummy ++do ++ IFS=$as_save_IFS ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ++ ac_cv_path_PKGCONFIG="$as_dir$ac_word$ac_exec_ext" ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++ ;; ++esac ++fi ++PKGCONFIG=$ac_cv_path_PKGCONFIG ++if test -n "$PKGCONFIG"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5 ++printf "%s\n" "$PKGCONFIG" >&6; } ++else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + fi + +-if test $with_libpsl != "no"; then +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing psl_builtin" >&5 +-printf %s "checking for library containing psl_builtin... " >&6; } +-if test ${ac_cv_search_psl_builtin+y} ++ ++fi ++if test -z "$ac_cv_path_PKGCONFIG"; then ++ ac_pt_PKGCONFIG=$PKGCONFIG ++ # Extract the first word of "pkg-config", so it can be a program name with args. ++set dummy pkg-config; ac_word=$2 ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_path_ac_pt_PKGCONFIG+y} + then : + printf %s "(cached) " >&6 + else $as_nop +- ac_func_search_save_LIBS=$LIBS ++ case $ac_pt_PKGCONFIG in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_ac_pt_PKGCONFIG="$ac_pt_PKGCONFIG" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++as_dummy="$PATH:/usr/bin:/usr/local/bin" ++for as_dir in $as_dummy ++do ++ IFS=$as_save_IFS ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ++ ac_cv_path_ac_pt_PKGCONFIG="$as_dir$ac_word$ac_exec_ext" ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++ ;; ++esac ++fi ++ac_pt_PKGCONFIG=$ac_cv_path_ac_pt_PKGCONFIG ++if test -n "$ac_pt_PKGCONFIG"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5 ++printf "%s\n" "$ac_pt_PKGCONFIG" >&6; } ++else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++fi ++ ++ if test "x$ac_pt_PKGCONFIG" = x; then ++ PKGCONFIG="no" ++ else ++ case $cross_compiling:$ac_tool_warned in ++yes:) ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 ++printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ++ac_tool_warned=yes ;; ++esac ++ PKGCONFIG=$ac_pt_PKGCONFIG ++ fi ++else ++ PKGCONFIG="$ac_cv_path_PKGCONFIG" ++fi ++ ++ fi ++ ++ if test "x$PKGCONFIG" != "xno"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libpsl options with pkg-config" >&5 ++printf %s "checking for libpsl options with pkg-config... " >&6; } ++ itexists=` ++ if test -n ""; then ++ PKG_CONFIG_LIBDIR="" ++ export PKG_CONFIG_LIBDIR ++ fi ++ $PKGCONFIG --exists libpsl >/dev/null 2>&1 && echo 1` ++ ++ if test -z "$itexists"; then ++ PKGCONFIG="no" ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++ else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5 ++printf "%s\n" "found" >&6; } ++ fi ++ fi ++ ++ ++ if test "$PKGCONFIG" != "no" ; then ++ LIB_PSL=`$PKGCONFIG --libs-only-l libpsl` ++ LD_PSL=`$PKGCONFIG --libs-only-L libpsl` ++ CPP_PSL=`$PKGCONFIG --cflags-only-I libpsl` ++ else ++ LIB_PSL="-lpsl" ++ fi ++ ++ ;; ++ off) ++ LIB_PSL="-lpsl" ++ ;; ++ *) ++ LIB_PSL="-lpsl" ++ PREFIX_PSL=$OPT_LIBPSL ++ ;; ++ esac ++ ++ if test -n "$PREFIX_PSL"; then ++ LD_PSL=-L${PREFIX_PSL}/lib$libsuff ++ CPP_PSL=-I${PREFIX_PSL}/include ++ fi ++ ++ LDFLAGS="$LDFLAGS $LD_PSL" ++ CPPFLAGS="$CPPFLAGS $CPP_PSL" ++ LIBS="$LIB_PSL $LIBS" ++ ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for psl_builtin in -lpsl" >&5 ++printf %s "checking for psl_builtin in -lpsl... " >&6; } ++if test ${ac_cv_lib_psl_psl_builtin+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lpsl $LIBS" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + +@@ -28611,53 +29172,51 @@ return psl_builtin (); + return 0; + } + _ACEOF +-for ac_lib in '' psl +-do +- if test -z "$ac_lib"; then +- ac_res="none required" +- else +- ac_res=-l$ac_lib +- LIBS="-l$ac_lib $ac_func_search_save_LIBS" +- fi +- if ac_fn_c_try_link "$LINENO" ++if ac_fn_c_try_link "$LINENO" + then : +- ac_cv_search_psl_builtin=$ac_res ++ ac_cv_lib_psl_psl_builtin=yes ++else $as_nop ++ ac_cv_lib_psl_psl_builtin=no + fi + rm -f core conftest.err conftest.$ac_objext conftest.beam \ +- conftest$ac_exeext +- if test ${ac_cv_search_psl_builtin+y} +-then : +- break ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS + fi +-done +-if test ${ac_cv_search_psl_builtin+y} ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_psl_psl_builtin" >&5 ++printf "%s\n" "$ac_cv_lib_psl_psl_builtin" >&6; } ++if test "x$ac_cv_lib_psl_psl_builtin" = xyes + then : + +-else $as_nop +- ac_cv_search_psl_builtin=no +-fi +-rm conftest.$ac_ext +-LIBS=$ac_func_search_save_LIBS +-fi +-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_psl_builtin" >&5 +-printf "%s\n" "$ac_cv_search_psl_builtin" >&6; } +-ac_res=$ac_cv_search_psl_builtin +-if test "$ac_res" != no ++ for ac_header in libpsl.h ++do : ++ ac_fn_c_check_header_compile "$LINENO" "libpsl.h" "ac_cv_header_libpsl_h" "$ac_includes_default" ++if test "x$ac_cv_header_libpsl_h" = xyes + then : +- test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" +- curl_psl_msg="enabled"; ++ printf "%s\n" "#define HAVE_LIBPSL_H 1" >>confdefs.h ++ curl_psl_msg="enabled" ++ LIBPSL_ENABLED=1 + + printf "%s\n" "#define USE_LIBPSL 1" >>confdefs.h + ++ USE_LIBPSL=1 + +-else $as_nop +- curl_psl_msg="no (libpsl not found)"; +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: libpsl was not found" >&5 +-printf "%s\n" "$as_me: WARNING: libpsl was not found" >&2;} + ++fi ++ ++done ++ ++else $as_nop ++ LDFLAGS=$CLEANLDFLAGS ++ CPPFLAGS=$CLEANCPPFLAGS ++ LIBS=$CLEANLIBS + + fi + ++ ++ if test X"$OPT_LIBPSL" != Xoff && ++ test "$LIBPSL_ENABLED" != "1"; then ++ as_fn_error $? "libpsl libs and/or directories were not found where specified!" "$LINENO" 5 ++ fi + fi + if test "$curl_psl_msg" = "enabled"; then + USE_LIBPSL_TRUE= +@@ -30616,6 +31175,11 @@ esac + + curl_tcp2_msg="no (--with-ngtcp2)" + if test X"$want_tcp2" != Xno; then ++ ++ if test "$QUIC_ENABLED" != "yes"; then ++ as_fn_error $? "the detected TLS library does not support QUIC, making --with-ngtcp2 a no-no" "$LINENO" 5 ++ fi ++ + CLEANLDFLAGS="$LDFLAGS" + CLEANCPPFLAGS="$CPPFLAGS" + CLEANLIBS="$LIBS" +@@ -30869,7 +31433,260 @@ fi + + fi + +-if test "x$NGTCP2_ENABLED" = "x1" -a "x$OPENSSL_ENABLED" = "x1"; then ++if test "x$NGTCP2_ENABLED" = "x1" -a "x$OPENSSL_ENABLED" = "x1" -a "x$OPENSSL_IS_BORINGSSL" != "x1"; then ++ CLEANLDFLAGS="$LDFLAGS" ++ CLEANCPPFLAGS="$CPPFLAGS" ++ CLEANLIBS="$LIBS" ++ ++ ++ if test -n "$PKG_CONFIG"; then ++ PKGCONFIG="$PKG_CONFIG" ++ else ++ if test -n "$ac_tool_prefix"; then ++ # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. ++set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_path_PKGCONFIG+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ case $PKGCONFIG in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_PKGCONFIG="$PKGCONFIG" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++as_dummy="$PATH:/usr/bin:/usr/local/bin" ++for as_dir in $as_dummy ++do ++ IFS=$as_save_IFS ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ++ ac_cv_path_PKGCONFIG="$as_dir$ac_word$ac_exec_ext" ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++ ;; ++esac ++fi ++PKGCONFIG=$ac_cv_path_PKGCONFIG ++if test -n "$PKGCONFIG"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5 ++printf "%s\n" "$PKGCONFIG" >&6; } ++else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++fi ++ ++ ++fi ++if test -z "$ac_cv_path_PKGCONFIG"; then ++ ac_pt_PKGCONFIG=$PKGCONFIG ++ # Extract the first word of "pkg-config", so it can be a program name with args. ++set dummy pkg-config; ac_word=$2 ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_path_ac_pt_PKGCONFIG+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ case $ac_pt_PKGCONFIG in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_ac_pt_PKGCONFIG="$ac_pt_PKGCONFIG" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++as_dummy="$PATH:/usr/bin:/usr/local/bin" ++for as_dir in $as_dummy ++do ++ IFS=$as_save_IFS ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ++ ac_cv_path_ac_pt_PKGCONFIG="$as_dir$ac_word$ac_exec_ext" ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++ ;; ++esac ++fi ++ac_pt_PKGCONFIG=$ac_cv_path_ac_pt_PKGCONFIG ++if test -n "$ac_pt_PKGCONFIG"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5 ++printf "%s\n" "$ac_pt_PKGCONFIG" >&6; } ++else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++fi ++ ++ if test "x$ac_pt_PKGCONFIG" = x; then ++ PKGCONFIG="no" ++ else ++ case $cross_compiling:$ac_tool_warned in ++yes:) ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 ++printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ++ac_tool_warned=yes ;; ++esac ++ PKGCONFIG=$ac_pt_PKGCONFIG ++ fi ++else ++ PKGCONFIG="$ac_cv_path_PKGCONFIG" ++fi ++ ++ fi ++ ++ if test "x$PKGCONFIG" != "xno"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libngtcp2_crypto_quictls options with pkg-config" >&5 ++printf %s "checking for libngtcp2_crypto_quictls options with pkg-config... " >&6; } ++ itexists=` ++ if test -n "$want_tcp2_path"; then ++ PKG_CONFIG_LIBDIR="$want_tcp2_path" ++ export PKG_CONFIG_LIBDIR ++ fi ++ $PKGCONFIG --exists libngtcp2_crypto_quictls >/dev/null 2>&1 && echo 1` ++ ++ if test -z "$itexists"; then ++ PKGCONFIG="no" ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++ else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5 ++printf "%s\n" "found" >&6; } ++ fi ++ fi ++ ++ ++ if test "$PKGCONFIG" != "no" ; then ++ LIB_NGTCP2_CRYPTO_QUICTLS=` ++ if test -n "$want_tcp2_path"; then ++ PKG_CONFIG_LIBDIR="$want_tcp2_path" ++ export PKG_CONFIG_LIBDIR ++ fi ++ ++ $PKGCONFIG --libs-only-l libngtcp2_crypto_quictls` ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -l is $LIB_NGTCP2_CRYPTO_QUICTLS" >&5 ++printf "%s\n" "$as_me: -l is $LIB_NGTCP2_CRYPTO_QUICTLS" >&6;} ++ ++ CPP_NGTCP2_CRYPTO_QUICTLS=` ++ if test -n "$want_tcp2_path"; then ++ PKG_CONFIG_LIBDIR="$want_tcp2_path" ++ export PKG_CONFIG_LIBDIR ++ fi ++ $PKGCONFIG --cflags-only-I libngtcp2_crypto_quictls` ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -I is $CPP_NGTCP2_CRYPTO_QUICTLS" >&5 ++printf "%s\n" "$as_me: -I is $CPP_NGTCP2_CRYPTO_QUICTLS" >&6;} ++ ++ LD_NGTCP2_CRYPTO_QUICTLS=` ++ if test -n "$want_tcp2_path"; then ++ PKG_CONFIG_LIBDIR="$want_tcp2_path" ++ export PKG_CONFIG_LIBDIR ++ fi ++ ++ $PKGCONFIG --libs-only-L libngtcp2_crypto_quictls` ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -L is $LD_NGTCP2_CRYPTO_QUICTLS" >&5 ++printf "%s\n" "$as_me: -L is $LD_NGTCP2_CRYPTO_QUICTLS" >&6;} ++ ++ LDFLAGS="$LDFLAGS $LD_NGTCP2_CRYPTO_QUICTLS" ++ CPPFLAGS="$CPPFLAGS $CPP_NGTCP2_CRYPTO_QUICTLS" ++ LIBS="$LIB_NGTCP2_CRYPTO_QUICTLS $LIBS" ++ ++ if test "x$cross_compiling" != "xyes"; then ++ DIR_NGTCP2_CRYPTO_QUICTLS=`echo $LD_NGTCP2_CRYPTO_QUICTLS | $SED -e 's/^-L//'` ++ fi ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ngtcp2_crypto_recv_client_initial_cb in -lngtcp2_crypto_quictls" >&5 ++printf %s "checking for ngtcp2_crypto_recv_client_initial_cb in -lngtcp2_crypto_quictls... " >&6; } ++if test ${ac_cv_lib_ngtcp2_crypto_quictls_ngtcp2_crypto_recv_client_initial_cb+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lngtcp2_crypto_quictls $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ ++#ifdef __cplusplus ++extern "C" ++#endif ++char ngtcp2_crypto_recv_client_initial_cb (); ++int main (void) ++{ ++return ngtcp2_crypto_recv_client_initial_cb (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO" ++then : ++ ac_cv_lib_ngtcp2_crypto_quictls_ngtcp2_crypto_recv_client_initial_cb=yes ++else $as_nop ++ ac_cv_lib_ngtcp2_crypto_quictls_ngtcp2_crypto_recv_client_initial_cb=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ngtcp2_crypto_quictls_ngtcp2_crypto_recv_client_initial_cb" >&5 ++printf "%s\n" "$ac_cv_lib_ngtcp2_crypto_quictls_ngtcp2_crypto_recv_client_initial_cb" >&6; } ++if test "x$ac_cv_lib_ngtcp2_crypto_quictls_ngtcp2_crypto_recv_client_initial_cb" = xyes ++then : ++ ++ for ac_header in ngtcp2/ngtcp2_crypto.h ++do : ++ ac_fn_c_check_header_compile "$LINENO" "ngtcp2/ngtcp2_crypto.h" "ac_cv_header_ngtcp2_ngtcp2_crypto_h" "$ac_includes_default" ++if test "x$ac_cv_header_ngtcp2_ngtcp2_crypto_h" = xyes ++then : ++ printf "%s\n" "#define HAVE_NGTCP2_NGTCP2_CRYPTO_H 1" >>confdefs.h ++ NGTCP2_ENABLED=1 ++ ++printf "%s\n" "#define USE_NGTCP2_CRYPTO_QUICTLS 1" >>confdefs.h ++ ++ USE_NGTCP2_CRYPTO_QUICTLS=1 ++ ++ CURL_LIBRARY_PATH="$CURL_LIBRARY_PATH:$DIR_NGTCP2_CRYPTO_QUICTLS" ++ export CURL_LIBRARY_PATH ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Added $DIR_NGTCP2_CRYPTO_QUICTLS to CURL_LIBRARY_PATH" >&5 ++printf "%s\n" "$as_me: Added $DIR_NGTCP2_CRYPTO_QUICTLS to CURL_LIBRARY_PATH" >&6;} ++ ++fi ++ ++done ++ ++else $as_nop ++ LDFLAGS=$CLEANLDFLAGS ++ CPPFLAGS=$CLEANCPPFLAGS ++ LIBS=$CLEANLIBS ++ ++fi ++ ++ ++ else ++ if test X"$want_tcp2" != Xdefault; then ++ as_fn_error $? "--with-ngtcp2 was specified but could not find ngtcp2_crypto_quictls pkg-config file." "$LINENO" 5 ++ fi ++ fi ++fi ++ ++if test "x$NGTCP2_ENABLED" = "x1" -a "x$OPENSSL_ENABLED" = "x1" -a "x$OPENSSL_IS_BORINGSSL" = "x1"; then + CLEANLDFLAGS="$LDFLAGS" + CLEANCPPFLAGS="$CPPFLAGS" + CLEANLIBS="$LIBS" +@@ -30991,14 +31808,14 @@ fi + fi + + if test "x$PKGCONFIG" != "xno"; then +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libngtcp2_crypto_quictls options with pkg-config" >&5 +-printf %s "checking for libngtcp2_crypto_quictls options with pkg-config... " >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libngtcp2_crypto_boringssl options with pkg-config" >&5 ++printf %s "checking for libngtcp2_crypto_boringssl options with pkg-config... " >&6; } + itexists=` + if test -n "$want_tcp2_path"; then + PKG_CONFIG_LIBDIR="$want_tcp2_path" + export PKG_CONFIG_LIBDIR + fi +- $PKGCONFIG --exists libngtcp2_crypto_quictls >/dev/null 2>&1 && echo 1` ++ $PKGCONFIG --exists libngtcp2_crypto_boringssl >/dev/null 2>&1 && echo 1` + + if test -z "$itexists"; then + PKGCONFIG="no" +@@ -31012,50 +31829,50 @@ printf "%s\n" "found" >&6; } + + + if test "$PKGCONFIG" != "no" ; then +- LIB_NGTCP2_CRYPTO_QUICTLS=` ++ LIB_NGTCP2_CRYPTO_BORINGSSL=` + if test -n "$want_tcp2_path"; then + PKG_CONFIG_LIBDIR="$want_tcp2_path" + export PKG_CONFIG_LIBDIR + fi + +- $PKGCONFIG --libs-only-l libngtcp2_crypto_quictls` +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -l is $LIB_NGTCP2_CRYPTO_QUICTLS" >&5 +-printf "%s\n" "$as_me: -l is $LIB_NGTCP2_CRYPTO_QUICTLS" >&6;} ++ $PKGCONFIG --libs-only-l libngtcp2_crypto_boringssl` ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -l is $LIB_NGTCP2_CRYPTO_BORINGSSL" >&5 ++printf "%s\n" "$as_me: -l is $LIB_NGTCP2_CRYPTO_BORINGSSL" >&6;} + +- CPP_NGTCP2_CRYPTO_QUICTLS=` ++ CPP_NGTCP2_CRYPTO_BORINGSSL=` + if test -n "$want_tcp2_path"; then + PKG_CONFIG_LIBDIR="$want_tcp2_path" + export PKG_CONFIG_LIBDIR + fi +- $PKGCONFIG --cflags-only-I libngtcp2_crypto_quictls` +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -I is $CPP_NGTCP2_CRYPTO_QUICTLS" >&5 +-printf "%s\n" "$as_me: -I is $CPP_NGTCP2_CRYPTO_QUICTLS" >&6;} ++ $PKGCONFIG --cflags-only-I libngtcp2_crypto_boringssl` ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -I is $CPP_NGTCP2_CRYPTO_BORINGSSL" >&5 ++printf "%s\n" "$as_me: -I is $CPP_NGTCP2_CRYPTO_BORINGSSL" >&6;} + +- LD_NGTCP2_CRYPTO_QUICTLS=` ++ LD_NGTCP2_CRYPTO_BORINGSSL=` + if test -n "$want_tcp2_path"; then + PKG_CONFIG_LIBDIR="$want_tcp2_path" + export PKG_CONFIG_LIBDIR + fi + +- $PKGCONFIG --libs-only-L libngtcp2_crypto_quictls` +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -L is $LD_NGTCP2_CRYPTO_QUICTLS" >&5 +-printf "%s\n" "$as_me: -L is $LD_NGTCP2_CRYPTO_QUICTLS" >&6;} ++ $PKGCONFIG --libs-only-L libngtcp2_crypto_boringssl` ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -L is $LD_NGTCP2_CRYPTO_BORINGSSL" >&5 ++printf "%s\n" "$as_me: -L is $LD_NGTCP2_CRYPTO_BORINGSSL" >&6;} + +- LDFLAGS="$LDFLAGS $LD_NGTCP2_CRYPTO_QUICTLS" +- CPPFLAGS="$CPPFLAGS $CPP_NGTCP2_CRYPTO_QUICTLS" +- LIBS="$LIB_NGTCP2_CRYPTO_QUICTLS $LIBS" ++ LDFLAGS="$LDFLAGS $LD_NGTCP2_CRYPTO_BORINGSSL" ++ CPPFLAGS="$CPPFLAGS $CPP_NGTCP2_CRYPTO_BORINGSSL" ++ LIBS="$LIB_NGTCP2_CRYPTO_BORINGSSL $LIBS" + + if test "x$cross_compiling" != "xyes"; then +- DIR_NGTCP2_CRYPTO_QUICTLS=`echo $LD_NGTCP2_CRYPTO_QUICTLS | $SED -e 's/^-L//'` ++ DIR_NGTCP2_CRYPTO_BORINGSSL=`echo $LD_NGTCP2_CRYPTO_BORINGSSL | $SED -e 's/^-L//'` + fi +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ngtcp2_crypto_recv_client_initial_cb in -lngtcp2_crypto_quictls" >&5 +-printf %s "checking for ngtcp2_crypto_recv_client_initial_cb in -lngtcp2_crypto_quictls... " >&6; } +-if test ${ac_cv_lib_ngtcp2_crypto_quictls_ngtcp2_crypto_recv_client_initial_cb+y} ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ngtcp2_crypto_recv_client_initial_cb in -lngtcp2_crypto_boringssl" >&5 ++printf %s "checking for ngtcp2_crypto_recv_client_initial_cb in -lngtcp2_crypto_boringssl... " >&6; } ++if test ${ac_cv_lib_ngtcp2_crypto_boringssl_ngtcp2_crypto_recv_client_initial_cb+y} + then : + printf %s "(cached) " >&6 + else $as_nop + ac_check_lib_save_LIBS=$LIBS +-LIBS="-lngtcp2_crypto_quictls $LIBS" ++LIBS="-lngtcp2_crypto_boringssl $LIBS" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + +@@ -31073,17 +31890,17 @@ return ngtcp2_crypto_recv_client_initial_cb (); + _ACEOF + if ac_fn_c_try_link "$LINENO" + then : +- ac_cv_lib_ngtcp2_crypto_quictls_ngtcp2_crypto_recv_client_initial_cb=yes ++ ac_cv_lib_ngtcp2_crypto_boringssl_ngtcp2_crypto_recv_client_initial_cb=yes + else $as_nop +- ac_cv_lib_ngtcp2_crypto_quictls_ngtcp2_crypto_recv_client_initial_cb=no ++ ac_cv_lib_ngtcp2_crypto_boringssl_ngtcp2_crypto_recv_client_initial_cb=no + fi + rm -f core conftest.err conftest.$ac_objext conftest.beam \ + conftest$ac_exeext conftest.$ac_ext + LIBS=$ac_check_lib_save_LIBS + fi +-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ngtcp2_crypto_quictls_ngtcp2_crypto_recv_client_initial_cb" >&5 +-printf "%s\n" "$ac_cv_lib_ngtcp2_crypto_quictls_ngtcp2_crypto_recv_client_initial_cb" >&6; } +-if test "x$ac_cv_lib_ngtcp2_crypto_quictls_ngtcp2_crypto_recv_client_initial_cb" = xyes ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ngtcp2_crypto_boringssl_ngtcp2_crypto_recv_client_initial_cb" >&5 ++printf "%s\n" "$ac_cv_lib_ngtcp2_crypto_boringssl_ngtcp2_crypto_recv_client_initial_cb" >&6; } ++if test "x$ac_cv_lib_ngtcp2_crypto_boringssl_ngtcp2_crypto_recv_client_initial_cb" = xyes + then : + + for ac_header in ngtcp2/ngtcp2_crypto.h +@@ -31094,14 +31911,14 @@ then : + printf "%s\n" "#define HAVE_NGTCP2_NGTCP2_CRYPTO_H 1" >>confdefs.h + NGTCP2_ENABLED=1 + +-printf "%s\n" "#define USE_NGTCP2_CRYPTO_QUICTLS 1" >>confdefs.h ++printf "%s\n" "#define USE_NGTCP2_CRYPTO_BORINGSSL 1" >>confdefs.h + +- USE_NGTCP2_CRYPTO_QUICTLS=1 ++ USE_NGTCP2_CRYPTO_BORINGSSL=1 + +- CURL_LIBRARY_PATH="$CURL_LIBRARY_PATH:$DIR_NGTCP2_CRYPTO_QUICTLS" ++ CURL_LIBRARY_PATH="$CURL_LIBRARY_PATH:$DIR_NGTCP2_CRYPTO_BORINGSSL" + export CURL_LIBRARY_PATH +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Added $DIR_NGTCP2_CRYPTO_QUICTLS to CURL_LIBRARY_PATH" >&5 +-printf "%s\n" "$as_me: Added $DIR_NGTCP2_CRYPTO_QUICTLS to CURL_LIBRARY_PATH" >&6;} ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Added $DIR_NGTCP2_CRYPTO_BORINGSSL to CURL_LIBRARY_PATH" >&5 ++printf "%s\n" "$as_me: Added $DIR_NGTCP2_CRYPTO_BORINGSSL to CURL_LIBRARY_PATH" >&6;} + + fi + +@@ -31117,7 +31934,7 @@ fi + + else + if test X"$want_tcp2" != Xdefault; then +- as_fn_error $? "--with-ngtcp2 was specified but could not find ngtcp2_crypto_quictls pkg-config file." "$LINENO" 5 ++ as_fn_error $? "--with-ngtcp2 was specified but could not find ngtcp2_crypto_boringssl pkg-config file." "$LINENO" 5 + fi + fi + fi +@@ -31629,11 +32446,52 @@ fi + fi + + ++OPT_OPENSSL_QUIC="no" ++ ++if test "x$disable_http" = "xyes" -o "x$OPENSSL_ENABLED" != "x1"; then ++ # without HTTP or without openssl, no use ++ OPT_OPENSSL_QUIC="no" ++fi ++ ++ ++# Check whether --with-openssl-quic was given. ++if test ${with_openssl_quic+y} ++then : ++ withval=$with_openssl_quic; OPT_OPENSSL_QUIC=$withval ++fi ++ ++case "$OPT_OPENSSL_QUIC" in ++ no) ++ want_openssl_quic="no" ++ ;; ++ yes) ++ want_openssl_quic="yes" ++ ;; ++esac ++ ++curl_openssl_quic_msg="no (--with-openssl-quic)" ++if test "x$want_openssl_quic" = "xyes"; then ++ ++ if test "$NGTCP2_ENABLED" = 1; then ++ as_fn_error $? "--with-openssl-quic and --with-ngtcp2 are mutually exclusive" "$LINENO" 5 ++ fi ++ if test "$HAVE_OPENSSL_QUIC" != 1; then ++ as_fn_error $? "--with-openssl-quic requires quic support in OpenSSL" "$LINENO" 5 ++ fi ++ ++printf "%s\n" "#define USE_OPENSSL_QUIC 1" >>confdefs.h ++ ++ USE_OPENSSL_QUIC=1 ++ ++fi ++ ++ + OPT_NGHTTP3="yes" + +-if test "x$NGTCP2_ENABLED" = "x"; then +- # without ngtcp2, nghttp3 is of no use for us ++if test "x$USE_NGTCP2" != "x1" -a "x$USE_OPENSSL_QUIC" != "x1"; then ++ # without ngtcp2 or openssl quic, nghttp3 is of no use for us + OPT_NGHTTP3="no" ++ want_nghttp3="no" + fi + + +@@ -31659,6 +32517,7 @@ esac + + curl_http3_msg="no (--with-nghttp3)" + if test X"$want_nghttp3" != Xno; then ++ + CLEANLDFLAGS="$LDFLAGS" + CLEANCPPFLAGS="$CPPFLAGS" + CLEANLIBS="$LIBS" +@@ -31881,8 +32740,6 @@ do : + if test "x$ac_cv_header_nghttp3_nghttp3_h" = xyes + then : + printf "%s\n" "#define HAVE_NGHTTP3_NGHTTP3_H 1" >>confdefs.h +- curl_h3_msg="enabled (ngtcp2 + nghttp3)" +- NGHTTP3_ENABLED=1 + + printf "%s\n" "#define USE_NGHTTP3 1" >>confdefs.h + +@@ -31892,7 +32749,6 @@ printf "%s\n" "#define USE_NGHTTP3 1" >>confdefs.h + export CURL_LIBRARY_PATH + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Added $DIR_NGHTTP3 to CURL_LIBRARY_PATH" >&5 + printf "%s\n" "$as_me: Added $DIR_NGHTTP3 to CURL_LIBRARY_PATH" >&6;} +- experimental="$experimental HTTP3" + + fi + +@@ -31915,6 +32771,31 @@ fi + fi + + ++if test "x$NGTCP2_ENABLED" = "x1" -a "x$USE_NGHTTP3" = "x1"; then ++ ++printf "%s\n" "#define USE_NGTCP2_H3 1" >>confdefs.h ++ ++ USE_NGTCP2_H3=1 ++ ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: HTTP3 support is experimental" >&5 ++printf "%s\n" "$as_me: HTTP3 support is experimental" >&6;} ++ curl_h3_msg="enabled (ngtcp2 + nghttp3)" ++fi ++ ++ ++if test "x$USE_OPENSSL_QUIC" = "x1" -a "x$USE_NGHTTP3" = "x1"; then ++ experimental="$experimental HTTP3" ++ ++printf "%s\n" "#define USE_OPENSSL_H3 1" >>confdefs.h ++ ++ USE_OPENSSL_H3=1 ++ ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: HTTP3 support is experimental" >&5 ++printf "%s\n" "$as_me: HTTP3 support is experimental" >&6;} ++ curl_h3_msg="enabled (openssl + nghttp3)" ++fi ++ ++ + OPT_QUICHE="no" + + if test "x$disable_http" = "xyes" -o "x$USE_NGTCP" = "x1"; then +@@ -31945,6 +32826,10 @@ esac + + if test X"$want_quiche" != Xno; then + ++ if test "$QUIC_ENABLED" != "yes"; then ++ as_fn_error $? "the detected TLS library does not support QUIC, making --with-quiche a no-no" "$LINENO" 5 ++ fi ++ + if test "$NGHTTP3_ENABLED" = 1; then + as_fn_error $? "--with-quiche and --with-ngtcp2 are mutually exclusive" "$LINENO" 5 + fi +@@ -32244,9 +33129,21 @@ esac + + if test X"$want_msh3" != Xno; then + ++ if test "$curl_cv_native_windows" != "yes"; then ++ if test "$QUIC_ENABLED" != "yes"; then ++ as_fn_error $? "the detected TLS library does not support QUIC, making --with-msh3 a no-no" "$LINENO" 5 ++ fi ++ if test "$OPENSSL_ENABLED" != "1"; then ++ as_fn_error $? "msh3 requires OpenSSL" "$LINENO" 5 ++ fi ++ fi ++ + if test "$NGHTTP3_ENABLED" = 1; then + as_fn_error $? "--with-msh3 and --with-ngtcp2 are mutually exclusive" "$LINENO" 5 + fi ++ if test "$QUICHE_ENABLED" = 1; then ++ as_fn_error $? "--with-msh3 and --with-quiche are mutually exclusive" "$LINENO" 5 ++ fi + + CLEANLDFLAGS="$LDFLAGS" + CLEANCPPFLAGS="$CPPFLAGS" +@@ -32342,9 +33239,9 @@ then : + fi + + case "$OPT_ZSH_FPATH" in +- no) ++ default|no) + ;; +- default|yes) ++ yes) + ZSH_FUNCTIONS_DIR="$datarootdir/zsh/site-functions" + + ;; +@@ -32353,6 +33250,14 @@ case "$OPT_ZSH_FPATH" in + + ;; + esac ++ if test x"$ZSH_FUNCTIONS_DIR" != x; then ++ USE_ZSH_COMPLETION_TRUE= ++ USE_ZSH_COMPLETION_FALSE='#' ++else ++ USE_ZSH_COMPLETION_TRUE='#' ++ USE_ZSH_COMPLETION_FALSE= ++fi ++ + + + OPT_FISH_FPATH=default +@@ -32364,9 +33269,9 @@ then : + fi + + case "$OPT_FISH_FPATH" in +- no) ++ default|no) + ;; +- default|yes) ++ yes) + + if test -n "$PKG_CONFIG"; then + PKGCONFIG="$PKG_CONFIG" +@@ -32515,6 +33420,14 @@ printf "%s\n" "found" >&6; } + + ;; + esac ++ if test x"$FISH_FUNCTIONS_DIR" != x; then ++ USE_FISH_COMPLETION_TRUE= ++ USE_FISH_COMPLETION_FALSE='#' ++else ++ USE_FISH_COMPLETION_TRUE='#' ++ USE_FISH_COMPLETION_FALSE= ++fi ++ + + ac_fn_c_check_header_compile "$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" " + #ifdef HAVE_SYS_TYPES_H +@@ -33753,114 +34666,6 @@ printf "%s\n" "#define const /**/" >>confdefs.h + + fi + +- +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for compiler support of C99 variadic macro style" >&5 +-printf %s "checking for compiler support of C99 variadic macro style... " >&6; } +-if test ${curl_cv_variadic_macros_c99+y} +-then : +- printf %s "(cached) " >&6 +-else $as_nop +- +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext +-/* end confdefs.h. */ +- +- +-#define c99_vmacro3(first, ...) fun3(first, __VA_ARGS__) +-#define c99_vmacro2(first, ...) fun2(first, __VA_ARGS__) +- int fun3(int arg1, int arg2, int arg3); +- int fun2(int arg1, int arg2); +- int fun3(int arg1, int arg2, int arg3) +- { return arg1 + arg2 + arg3; } +- int fun2(int arg1, int arg2) +- { return arg1 + arg2; } +- +-int main (void) +-{ +- +- int res3 = c99_vmacro3(1, 2, 3); +- int res2 = c99_vmacro2(1, 2); +- +- ; +- return 0; +-} +- +-_ACEOF +-if ac_fn_c_try_compile "$LINENO" +-then : +- +- curl_cv_variadic_macros_c99="yes" +- +-else $as_nop +- +- curl_cv_variadic_macros_c99="no" +- +-fi +-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +- +-fi +-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_variadic_macros_c99" >&5 +-printf "%s\n" "$curl_cv_variadic_macros_c99" >&6; } +- case "$curl_cv_variadic_macros_c99" in +- yes) +- +-printf "%s\n" "#define HAVE_VARIADIC_MACROS_C99 1" >>confdefs.h +- +- ;; +- esac +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for compiler support of old gcc variadic macro style" >&5 +-printf %s "checking for compiler support of old gcc variadic macro style... " >&6; } +-if test ${curl_cv_variadic_macros_gcc+y} +-then : +- printf %s "(cached) " >&6 +-else $as_nop +- +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext +-/* end confdefs.h. */ +- +- +-#define gcc_vmacro3(first, args...) fun3(first, args) +-#define gcc_vmacro2(first, args...) fun2(first, args) +- int fun3(int arg1, int arg2, int arg3); +- int fun2(int arg1, int arg2); +- int fun3(int arg1, int arg2, int arg3) +- { return arg1 + arg2 + arg3; } +- int fun2(int arg1, int arg2) +- { return arg1 + arg2; } +- +-int main (void) +-{ +- +- int res3 = gcc_vmacro3(1, 2, 3); +- int res2 = gcc_vmacro2(1, 2); +- +- ; +- return 0; +-} +- +-_ACEOF +-if ac_fn_c_try_compile "$LINENO" +-then : +- +- curl_cv_variadic_macros_gcc="yes" +- +-else $as_nop +- +- curl_cv_variadic_macros_gcc="no" +- +-fi +-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +- +-fi +-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_variadic_macros_gcc" >&5 +-printf "%s\n" "$curl_cv_variadic_macros_gcc" >&6; } +- case "$curl_cv_variadic_macros_gcc" in +- yes) +- +-printf "%s\n" "#define HAVE_VARIADIC_MACROS_GCC 1" >>confdefs.h +- +- ;; +- esac +- + ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" + if test "x$ac_cv_type_size_t" = xyes + then : +@@ -33904,15 +34709,12 @@ else $as_nop + + + #undef inline +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + #ifndef WIN32_LEAN_AND_MEAN + #define WIN32_LEAN_AND_MEAN + #endif +-#include +-#ifdef HAVE_WINSOCK2_H + #include + #endif +-#endif + #ifdef HAVE_SYS_TYPES_H + #include + #endif +@@ -34459,6 +35261,12 @@ else $as_nop + + # The windows name? + ac_fn_c_check_type "$LINENO" "ADDRESS_FAMILY" "ac_cv_type_ADDRESS_FAMILY" " ++#ifdef _WIN32 ++#ifndef WIN32_LEAN_AND_MEAN ++#define WIN32_LEAN_AND_MEAN ++#endif ++#include ++#endif + #ifdef HAVE_SYS_SOCKET_H + #include + #endif +@@ -34586,100 +35394,13 @@ fi + + + +-curl_includes_poll="\ +-/* includes start */ +-#ifdef HAVE_SYS_TYPES_H +-# include +-#endif +-#ifdef HAVE_POLL_H +-# include +-#endif +-#ifdef HAVE_SYS_POLL_H +-# include +-#endif +-/* includes end */" +- ac_fn_c_check_header_compile "$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "$curl_includes_poll +-" +-if test "x$ac_cv_header_sys_types_h" = xyes +-then : +- printf "%s\n" "#define HAVE_SYS_TYPES_H 1" >>confdefs.h +- +-fi +-ac_fn_c_check_header_compile "$LINENO" "poll.h" "ac_cv_header_poll_h" "$curl_includes_poll +-" +-if test "x$ac_cv_header_poll_h" = xyes +-then : +- printf "%s\n" "#define HAVE_POLL_H 1" >>confdefs.h +- +-fi +-ac_fn_c_check_header_compile "$LINENO" "sys/poll.h" "ac_cv_header_sys_poll_h" "$curl_includes_poll +-" +-if test "x$ac_cv_header_sys_poll_h" = xyes +-then : +- printf "%s\n" "#define HAVE_SYS_POLL_H 1" >>confdefs.h +- +-fi +- +- +- +- # +- tst_poll_events_macro_defined="unknown" +- # +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext +-/* end confdefs.h. */ +- +- +- $curl_includes_poll +- +-int main (void) +-{ +- +-#if defined(events) || defined(revents) +- return 0; +-#else +- force compilation error +-#endif +- +- ; +- return 0; +-} +- +-_ACEOF +-if ac_fn_c_try_compile "$LINENO" +-then : +- +- tst_poll_events_macro_defined="yes" +- +-else $as_nop +- +- tst_poll_events_macro_defined="no" +- +-fi +-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +- # +- if test "$tst_poll_events_macro_defined" = "yes"; then +- if test "x$ac_cv_header_sys_poll_h" = "xyes"; then +- +-cat >>confdefs.h <<_EOF +-#define CURL_PULL_SYS_POLL_H 1 +-_EOF +- +- fi +- fi +- # +- +- +- + ac_fn_c_check_type "$LINENO" "in_addr_t" "ac_cv_type_in_addr_t" " + #undef inline +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + #ifndef WIN32_LEAN_AND_MEAN + #define WIN32_LEAN_AND_MEAN + #endif +-#include +-#ifdef HAVE_WINSOCK2_H + #include +-#endif + #else + #ifdef HAVE_SYS_TYPES_H + #include +@@ -34716,14 +35437,11 @@ else $as_nop + + + #undef inline +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + #ifndef WIN32_LEAN_AND_MEAN + #define WIN32_LEAN_AND_MEAN + #endif +-#include +-#ifdef HAVE_WINSOCK2_H + #include +-#endif + #else + #ifdef HAVE_SYS_TYPES_H + #include +@@ -34781,14 +35499,11 @@ fi + + ac_fn_c_check_type "$LINENO" "struct sockaddr_storage" "ac_cv_type_struct_sockaddr_storage" " + #undef inline +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + #ifndef WIN32_LEAN_AND_MEAN + #define WIN32_LEAN_AND_MEAN + #endif +-#include +-#ifdef HAVE_WINSOCK2_H + #include +-#endif + #else + #ifdef HAVE_SYS_TYPES_H + #include +@@ -34836,15 +35551,12 @@ printf %s "checking for select... " >&6; } + + + #undef inline +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + #ifndef WIN32_LEAN_AND_MEAN + #define WIN32_LEAN_AND_MEAN + #endif +-#include +-#ifdef HAVE_WINSOCK2_H + #include + #endif +-#endif + #ifdef HAVE_SYS_TYPES_H + #include + #endif +@@ -34852,7 +35564,7 @@ printf %s "checking for select... " >&6; } + #include + #endif + #include +-#ifndef HAVE_WINDOWS_H ++#ifndef _WIN32 + #ifdef HAVE_SYS_SELECT_H + #include + #elif defined(HAVE_UNISTD_H) +@@ -34921,14 +35633,11 @@ printf %s "checking for recv... " >&6; } + + + #undef inline +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + #ifndef WIN32_LEAN_AND_MEAN + #define WIN32_LEAN_AND_MEAN + #endif +-#include +-#ifdef HAVE_WINSOCK2_H + #include +-#endif + #else + $curl_includes_bsdsocket + #ifdef HAVE_SYS_TYPES_H +@@ -34997,14 +35706,11 @@ printf %s "checking for send... " >&6; } + + + #undef inline +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + #ifndef WIN32_LEAN_AND_MEAN + #define WIN32_LEAN_AND_MEAN + #endif +-#include +-#ifdef HAVE_WINSOCK2_H + #include +-#endif + #else + $curl_includes_bsdsocket + #ifdef HAVE_SYS_TYPES_H +@@ -35077,14 +35783,11 @@ else $as_nop + + + #undef inline +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + #ifndef WIN32_LEAN_AND_MEAN + #define WIN32_LEAN_AND_MEAN + #endif +-#include +-#ifdef HAVE_WINSOCK2_H + #include +-#endif + #else + #ifdef HAVE_SYS_TYPES_H + #include +@@ -36117,78 +36820,18 @@ printf "%s\n" "no" >&6; } + + curl_includes_ws2tcpip="\ + /* includes start */ +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + # ifndef WIN32_LEAN_AND_MEAN + # define WIN32_LEAN_AND_MEAN + # endif +-# include +-# ifdef HAVE_WINSOCK2_H +-# include +-# ifdef HAVE_WS2TCPIP_H +-# include +-# endif +-# endif ++# include ++# include + #endif + /* includes end */" + +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for windows.h" >&5 +-printf %s "checking for windows.h... " >&6; } +-if test ${curl_cv_header_windows_h+y} +-then : +- printf %s "(cached) " >&6 +-else $as_nop +- +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext +-/* end confdefs.h. */ +- +- +-#undef inline +-#ifndef WIN32_LEAN_AND_MEAN +-#define WIN32_LEAN_AND_MEAN +-#endif +-#include +- +-int main (void) +-{ +- +-#if defined(__CYGWIN__) || defined(__CEGCC__) +- HAVE_WINDOWS_H shall not be defined. +-#else +- int dummy=2*WINVER; +-#endif +- +- ; +- return 0; +-} +- +-_ACEOF +-if ac_fn_c_try_compile "$LINENO" +-then : +- +- curl_cv_header_windows_h="yes" +- +-else $as_nop +- +- curl_cv_header_windows_h="no" +- +-fi +-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +- +-fi +-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_header_windows_h" >&5 +-printf "%s\n" "$curl_cv_header_windows_h" >&6; } +- case "$curl_cv_header_windows_h" in +- yes) +- +-printf "%s\n" "#define HAVE_WINDOWS_H 1" >>confdefs.h +- +- ;; +- esac +- +- +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for winsock2.h" >&5 +-printf %s "checking for winsock2.h... " >&6; } +-if test ${curl_cv_header_winsock2_h+y} ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build target is a native Windows one" >&5 ++printf %s "checking whether build target is a native Windows one... " >&6; } ++if test ${curl_cv_native_windows+y} + then : + printf %s "(cached) " >&6 + else $as_nop +@@ -36197,20 +36840,14 @@ else $as_nop + /* end confdefs.h. */ + + +-#undef inline +-#ifndef WIN32_LEAN_AND_MEAN +-#define WIN32_LEAN_AND_MEAN +-#endif +-#include +-#include + + int main (void) + { + +-#if defined(__CYGWIN__) || defined(__CEGCC__) || defined(__MINGW32CE__) +- HAVE_WINSOCK2_H shall not be defined. ++#ifdef _WIN32 ++ int dummy=1; + #else +- int dummy=2*IPPROTO_ESP; ++ Not a native Windows build target. + #endif + + ; +@@ -36221,82 +36858,26 @@ _ACEOF + if ac_fn_c_try_compile "$LINENO" + then : + +- curl_cv_header_winsock2_h="yes" ++ curl_cv_native_windows="yes" + + else $as_nop + +- curl_cv_header_winsock2_h="no" ++ curl_cv_native_windows="no" + + fi + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + + fi +-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_header_winsock2_h" >&5 +-printf "%s\n" "$curl_cv_header_winsock2_h" >&6; } +- case "$curl_cv_header_winsock2_h" in +- yes) +- +-printf "%s\n" "#define HAVE_WINSOCK2_H 1" >>confdefs.h +- +- ;; +- esac +- +- +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ws2tcpip.h" >&5 +-printf %s "checking for ws2tcpip.h... " >&6; } +-if test ${curl_cv_header_ws2tcpip_h+y} +-then : +- printf %s "(cached) " >&6 +-else $as_nop +- +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext +-/* end confdefs.h. */ +- +- +-#undef inline +-#ifndef WIN32_LEAN_AND_MEAN +-#define WIN32_LEAN_AND_MEAN +-#endif +-#include +-#include +-#include +- +-int main (void) +-{ +- +-#if defined(__CYGWIN__) || defined(__CEGCC__) || defined(__MINGW32CE__) +- HAVE_WS2TCPIP_H shall not be defined. +-#else +- int dummy=2*IP_PKTINFO; +-#endif +- +- ; +- return 0; +-} +- +-_ACEOF +-if ac_fn_c_try_compile "$LINENO" +-then : +- +- curl_cv_header_ws2tcpip_h="yes" +- +-else $as_nop +- +- curl_cv_header_ws2tcpip_h="no" +- +-fi +-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +- ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_native_windows" >&5 ++printf "%s\n" "$curl_cv_native_windows" >&6; } ++ if test "x$curl_cv_native_windows" = xyes; then ++ DOING_NATIVE_WINDOWS_TRUE= ++ DOING_NATIVE_WINDOWS_FALSE='#' ++else ++ DOING_NATIVE_WINDOWS_TRUE='#' ++ DOING_NATIVE_WINDOWS_FALSE= + fi +-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_header_ws2tcpip_h" >&5 +-printf "%s\n" "$curl_cv_header_ws2tcpip_h" >&6; } +- case "$curl_cv_header_ws2tcpip_h" in +- yes) +- +-printf "%s\n" "#define HAVE_WS2TCPIP_H 1" >>confdefs.h + +- ;; +- esac + + + +@@ -37020,10 +37601,10 @@ int main (void) + struct addrinfo *ai = 0; + int error; + +- #ifdef HAVE_WINSOCK2_H ++ #ifdef _WIN32 + WSADATA wsa; +- if (WSAStartup(MAKEWORD(2,2), &wsa)) +- exit(2); ++ if(WSAStartup(MAKEWORD(2, 2), &wsa)) ++ exit(2); + #endif + + memset(&hints, 0, sizeof(hints)); +@@ -37088,10 +37669,10 @@ int main (void) + struct addrinfo *ai = 0; + int error; + +- #ifdef HAVE_WINSOCK2_H ++ #ifdef _WIN32 + WSADATA wsa; +- if (WSAStartup(MAKEWORD(2,2), &wsa)) +- exit(2); ++ if(WSAStartup(MAKEWORD(2, 2), &wsa)) ++ exit(2); + #endif + + memset(&hints, 0, sizeof(hints)); +@@ -37746,7 +38327,7 @@ printf "%s\n" "no" >&6; } + + curl_preprocess_callconv="\ + /* preprocess start */ +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + # define FUNCALLCONV __stdcall + #else + # define FUNCALLCONV +@@ -39022,7 +39603,7 @@ curl_includes_arpa_inet="\ + #ifdef HAVE_ARPA_INET_H + # include + #endif +-#ifdef HAVE_WINSOCK2_H ++#ifdef _WIN32 + #include + #include + #endif +@@ -40716,6 +41297,42 @@ printf "%s\n" "no" >&6; } + fi + + ++curl_includes_poll="\ ++/* includes start */ ++#ifdef HAVE_SYS_TYPES_H ++# include ++#endif ++#ifdef HAVE_POLL_H ++# include ++#endif ++#ifdef HAVE_SYS_POLL_H ++# include ++#endif ++/* includes end */" ++ ac_fn_c_check_header_compile "$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "$curl_includes_poll ++" ++if test "x$ac_cv_header_sys_types_h" = xyes ++then : ++ printf "%s\n" "#define HAVE_SYS_TYPES_H 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_header_compile "$LINENO" "poll.h" "ac_cv_header_poll_h" "$curl_includes_poll ++" ++if test "x$ac_cv_header_poll_h" = xyes ++then : ++ printf "%s\n" "#define HAVE_POLL_H 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_header_compile "$LINENO" "sys/poll.h" "ac_cv_header_sys_poll_h" "$curl_includes_poll ++" ++if test "x$ac_cv_header_sys_poll_h" = xyes ++then : ++ printf "%s\n" "#define HAVE_SYS_POLL_H 1" >>confdefs.h ++ ++fi ++ ++ ++ + # + tst_links_poll="unknown" + tst_proto_poll="unknown" +@@ -43520,8 +44137,7 @@ fi + + + +- +- for ac_func in _fseeki64 arc4random fchmod fnmatch fseeko geteuid getpass_r getppid getpwuid getpwuid_r getrlimit gettimeofday if_nametoindex mach_absolute_time pipe sched_yield sendmsg setlocale setmode setrlimit snprintf utime utimes ++ for ac_func in _fseeki64 arc4random fnmatch fseeko geteuid getpass_r getppid getpwuid getpwuid_r getrlimit gettimeofday if_nametoindex mach_absolute_time pipe sched_yield sendmsg setlocale setmode setrlimit snprintf utime utimes + do : + as_ac_var=`printf "%s\n" "ac_cv_func_$ac_func" | $as_tr_sh` + ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +@@ -43580,6 +44196,15 @@ fi + + done + ++ac_fn_check_decl "$LINENO" "fseeko" "ac_cv_have_decl_fseeko" "#include ++" "$ac_c_undeclared_builtin_options" "CFLAGS" ++if test "x$ac_cv_have_decl_fseeko" = xyes ++then : ++ ++printf "%s\n" "#define HAVE_DECL_FSEEKO 1" >>confdefs.h ++ ++fi ++ + + # + tst_method="unknown" +@@ -43605,7 +44230,6 @@ printf "%s\n" "$as_me: WARNING: cannot determine non-blocking socket method." >& + fi + + +- + # Extract the first word of "perl", so it can be a program name with args. + set dummy perl; ac_word=$2 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +@@ -43654,91 +44278,21 @@ fi + + + +-for ac_prog in gnroff nroff +-do +- # Extract the first word of "$ac_prog", so it can be a program name with args. +-set dummy $ac_prog; ac_word=$2 +-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +-printf %s "checking for $ac_word... " >&6; } +-if test ${ac_cv_path_NROFF+y} +-then : +- printf %s "(cached) " >&6 +-else $as_nop +- case $NROFF in +- [\\/]* | ?:[\\/]*) +- ac_cv_path_NROFF="$NROFF" # Let the user override the test with a path. +- ;; +- *) +- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +-as_dummy="$PATH:/usr/bin/:/usr/local/bin " +-for as_dir in $as_dummy +-do +- IFS=$as_save_IFS +- case $as_dir in #((( +- '') as_dir=./ ;; +- */) ;; +- *) as_dir=$as_dir/ ;; +- esac +- for ac_exec_ext in '' $ac_executable_extensions; do +- if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then +- ac_cv_path_NROFF="$as_dir$ac_word$ac_exec_ext" +- printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 +- break 2 +- fi +-done +- done +-IFS=$as_save_IFS +- +- ;; +-esac ++if test -z "$PERL"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: disabling documentation" >&5 ++printf "%s\n" "$as_me: WARNING: disabling documentation" >&2;} ++ BUILD_DOCS=0 ++ curl_docs_msg="no" + fi +-NROFF=$ac_cv_path_NROFF +-if test -n "$NROFF"; then +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NROFF" >&5 +-printf "%s\n" "$NROFF" >&6; } +-else +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-printf "%s\n" "no" >&6; } +-fi +- +- +- test -n "$NROFF" && break +-done +- +- +- +-if test -n "$NROFF"; then +- +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to use *nroff to get plain text from man pages" >&5 +-printf %s "checking how to use *nroff to get plain text from man pages... " >&6; } +- MANOPT="-man" +- mancheck=`echo foo | $NROFF $MANOPT 2>/dev/null` +- if test -z "$mancheck"; then +- MANOPT="-mandoc" +- mancheck=`echo foo | $NROFF $MANOPT 2>/dev/null` +- if test -z "$mancheck"; then +- MANOPT="" +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5 +-printf "%s\n" "failed" >&6; } +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: found no *nroff option to get plaintext from man pages" >&5 +-printf "%s\n" "$as_me: WARNING: found no *nroff option to get plaintext from man pages" >&2;} +- else +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANOPT" >&5 +-printf "%s\n" "$MANOPT" >&6; } +- fi +- else +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANOPT" >&5 +-printf "%s\n" "$MANOPT" >&6; } +- fi + ++ if test x"$BUILD_DOCS" = x1; then ++ BUILD_DOCS_TRUE= ++ BUILD_DOCS_FALSE='#' ++else ++ BUILD_DOCS_TRUE='#' ++ BUILD_DOCS_FALSE= + fi + +-if test -z "$MANOPT" +-then +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: disabling built-in manual" >&5 +-printf "%s\n" "$as_me: WARNING: disabling built-in manual" >&2;} +- USE_MANUAL="no"; +-fi + + + if test "$USE_MANUAL" = "1"; then +@@ -45399,12 +45953,15 @@ if test "x$USE_TLS_SRP" = "x1"; then + SUPPORT_FEATURES="$SUPPORT_FEATURES TLS-SRP" + fi + +-if test "x$USE_NGHTTP2" = "x1" -o "x$USE_HYPER" = "x1"; then ++if test "x$USE_NGHTTP2" = "x1"; then + SUPPORT_FEATURES="$SUPPORT_FEATURES HTTP2" + fi + +-if test "x$USE_NGTCP2" = "x1" -o "x$USE_QUICHE" = "x1" \ +- -o "x$USE_MSH3" = "x1"; then ++if test "x$USE_NGTCP2_H3" = "x1" -o "x$USE_QUICHE" = "x1" \ ++ -o "x$USE_OPENSSL_H3" = "x1" -o "x$USE_MSH3" = "x1"; then ++ if test "x$CURL_WITH_MULTI_SSL" = "x1"; then ++ as_fn_error $? "MultiSSL cannot be enabled with HTTP/3 and vice versa" "$LINENO" 5 ++ fi + SUPPORT_FEATURES="$SUPPORT_FEATURES HTTP3" + fi + +@@ -45412,19 +45969,36 @@ if test "x$CURL_WITH_MULTI_SSL" = "x1"; then + SUPPORT_FEATURES="$SUPPORT_FEATURES MultiSSL" + fi + +-if test "x$https_proxy" != "xno"; then +- if test "x$OPENSSL_ENABLED" = "x1" \ +- -o "x$GNUTLS_ENABLED" = "x1" \ +- -o "x$SECURETRANSPORT_ENABLED" = "x1" \ +- -o "x$RUSTLS_ENABLED" = "x1" \ +- -o "x$BEARSSL_ENABLED" = "x1" \ +- -o "x$SCHANNEL_ENABLED" = "x1" \ +- -o "x$GNUTLS_ENABLED" = "x1" \ +- -o "x$MBEDTLS_ENABLED" = "x1"; then +- SUPPORT_FEATURES="$SUPPORT_FEATURES HTTPS-proxy" +- elif test "x$WOLFSSL_ENABLED" = "x1" -a "x$WOLFSSL_FULL_BIO" = "x1"; then +- SUPPORT_FEATURES="$SUPPORT_FEATURES HTTPS-proxy" ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if this build supports HTTPS-proxy" >&5 ++printf %s "checking if this build supports HTTPS-proxy... " >&6; } ++if test "x$CURL_DISABLE_HTTP" != "x1"; then ++ if test "x$https_proxy" != "xno"; then ++ if test "x$OPENSSL_ENABLED" = "x1" \ ++ -o "x$GNUTLS_ENABLED" = "x1" \ ++ -o "x$SECURETRANSPORT_ENABLED" = "x1" \ ++ -o "x$RUSTLS_ENABLED" = "x1" \ ++ -o "x$BEARSSL_ENABLED" = "x1" \ ++ -o "x$SCHANNEL_ENABLED" = "x1" \ ++ -o "x$GNUTLS_ENABLED" = "x1" \ ++ -o "x$MBEDTLS_ENABLED" = "x1"; then ++ SUPPORT_FEATURES="$SUPPORT_FEATURES HTTPS-proxy" ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++ elif test "x$WOLFSSL_ENABLED" = "x1" -a "x$WOLFSSL_FULL_BIO" = "x1"; then ++ SUPPORT_FEATURES="$SUPPORT_FEATURES HTTPS-proxy" ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++ else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++ fi ++ else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + fi ++else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + fi + + if test "x$ECH_ENABLED" = "x1"; then +@@ -45440,6 +46014,9 @@ fi + + if test "$tst_atomic" = "yes"; then + SUPPORT_FEATURES="$SUPPORT_FEATURES threadsafe" ++elif test "x$USE_THREADS_POSIX" = "x1" -a \ ++ "x$ac_cv_header_pthread_h" = "xyes"; then ++ SUPPORT_FEATURES="$SUPPORT_FEATURES threadsafe" + else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ +@@ -45472,7 +46049,7 @@ SUPPORT_FEATURES=`echo $SUPPORT_FEATURES | tr ' ' '\012' | sort | tr '\012' ' '` + + + if test "x$CURL_DISABLE_HTTP" != "x1"; then +- SUPPORT_PROTOCOLS="$SUPPORT_PROTOCOLS HTTP" ++ SUPPORT_PROTOCOLS="$SUPPORT_PROTOCOLS HTTP IPFS IPNS" + if test "x$SSL_ENABLED" = "x1"; then + SUPPORT_PROTOCOLS="$SUPPORT_PROTOCOLS HTTPS" + fi +@@ -45909,6 +46486,10 @@ if test -z "${USE_EXPLICIT_LIB_DEPS_TRUE}" && test -z "${USE_EXPLICIT_LIB_DEPS_F + as_fn_error $? "conditional \"USE_EXPLICIT_LIB_DEPS\" was never defined. + Usually this means the macro was only invoked conditionally." "$LINENO" 5 + fi ++if test -z "${DOING_NATIVE_WINDOWS_TRUE}" && test -z "${DOING_NATIVE_WINDOWS_FALSE}"; then ++ as_fn_error $? "conditional \"DOING_NATIVE_WINDOWS\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi + if test -z "${CURLDEBUG_TRUE}" && test -z "${CURLDEBUG_FALSE}"; then + as_fn_error $? "conditional \"CURLDEBUG\" was never defined. + Usually this means the macro was only invoked conditionally." "$LINENO" 5 +@@ -45917,14 +46498,14 @@ if test -z "${BUILD_UNITTESTS_TRUE}" && test -z "${BUILD_UNITTESTS_FALSE}"; then + as_fn_error $? "conditional \"BUILD_UNITTESTS\" was never defined. + Usually this means the macro was only invoked conditionally." "$LINENO" 5 + fi +-if test -z "${DOING_NATIVE_WINDOWS_TRUE}" && test -z "${DOING_NATIVE_WINDOWS_FALSE}"; then +- as_fn_error $? "conditional \"DOING_NATIVE_WINDOWS\" was never defined. +-Usually this means the macro was only invoked conditionally." "$LINENO" 5 +-fi + if test -z "${HAVE_WINDRES_TRUE}" && test -z "${HAVE_WINDRES_FALSE}"; then + as_fn_error $? "conditional \"HAVE_WINDRES\" was never defined. + Usually this means the macro was only invoked conditionally." "$LINENO" 5 + fi ++if test -z "${DOING_NATIVE_WINDOWS_TRUE}" && test -z "${DOING_NATIVE_WINDOWS_FALSE}"; then ++ as_fn_error $? "conditional \"DOING_NATIVE_WINDOWS\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi + if test -z "${HAVE_LIBZ_TRUE}" && test -z "${HAVE_LIBZ_FALSE}"; then + as_fn_error $? "conditional \"HAVE_LIBZ\" was never defined. + Usually this means the macro was only invoked conditionally." "$LINENO" 5 +@@ -45945,6 +46526,22 @@ if test -z "${CURL_LT_SHLIB_USE_VERSIONED_SYMBOLS_TRUE}" && test -z "${CURL_LT_S + as_fn_error $? "conditional \"CURL_LT_SHLIB_USE_VERSIONED_SYMBOLS\" was never defined. + Usually this means the macro was only invoked conditionally." "$LINENO" 5 + fi ++if test -z "${USE_ZSH_COMPLETION_TRUE}" && test -z "${USE_ZSH_COMPLETION_FALSE}"; then ++ as_fn_error $? "conditional \"USE_ZSH_COMPLETION\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++if test -z "${USE_FISH_COMPLETION_TRUE}" && test -z "${USE_FISH_COMPLETION_FALSE}"; then ++ as_fn_error $? "conditional \"USE_FISH_COMPLETION\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++if test -z "${DOING_NATIVE_WINDOWS_TRUE}" && test -z "${DOING_NATIVE_WINDOWS_FALSE}"; then ++ as_fn_error $? "conditional \"DOING_NATIVE_WINDOWS\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++if test -z "${BUILD_DOCS_TRUE}" && test -z "${BUILD_DOCS_FALSE}"; then ++ as_fn_error $? "conditional \"BUILD_DOCS\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi + if test -z "${USE_MANUAL_TRUE}" && test -z "${USE_MANUAL_FALSE}"; then + as_fn_error $? "conditional \"USE_MANUAL\" was never defined. + Usually this means the macro was only invoked conditionally." "$LINENO" 5 +@@ -48409,6 +49006,7 @@ _EOF + IPv6: ${curl_ipv6_msg} + Unix sockets: ${curl_unix_sockets_msg} + IDN: ${curl_idn_msg} ++ Build docs: ${curl_docs_msg} + Build libcurl: Shared=${enable_shared}, Static=${enable_static} + Built-in manual: ${curl_manual_msg} + --libcurl option: ${curl_libcurl_msg} +@@ -48457,6 +49055,7 @@ printf "%s\n" "$as_me: Configured to build curl/libcurl: + IPv6: ${curl_ipv6_msg} + Unix sockets: ${curl_unix_sockets_msg} + IDN: ${curl_idn_msg} ++ Build docs: ${curl_docs_msg} + Build libcurl: Shared=${enable_shared}, Static=${enable_static} + Built-in manual: ${curl_manual_msg} + --libcurl option: ${curl_libcurl_msg} +@@ -48482,6 +49081,14 @@ printf "%s\n" "$as_me: Configured to build curl/libcurl: + Protocols: ${SUPPORT_PROTOCOLS} + Features: ${SUPPORT_FEATURES} + " >&6;} ++ ++non13=`echo "$TLSCHOICE" | grep -Ei 'bearssl|secure-transport|mbedtls'`; ++if test -n "$non13"; then ++ cat >&2 << _EOF ++ WARNING: A selected TLS library ($TLSCHOICE) does not support TLS 1.3! ++_EOF ++fi ++ + if test -n "$experimental"; then + cat >&2 << _EOF + WARNING: $experimental enabled but marked EXPERIMENTAL. Use with caution! +diff --git a/configure.ac b/configure.ac +index 2d71c83..49371a7 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -159,6 +159,7 @@ curl_tls_srp_msg="no (--enable-tls-srp)" + curl_ipv6_msg="no (--enable-ipv6)" + curl_unix_sockets_msg="no (--enable-unix-sockets)" + curl_idn_msg="no (--with-{libidn2,winidn})" ++ curl_docs_msg="enabled (--disable-docs)" + curl_manual_msg="no (--enable-manual)" + curl_libcurl_msg="enabled (--disable-libcurl-option)" + curl_verbose_msg="enabled (--disable-verbose)" +@@ -174,8 +175,8 @@ curl_headers_msg="enabled (--disable-headers-api)" + curl_ws_msg="no (--enable-websockets)" + ssl_backends= + curl_h1_msg="enabled (internal)" +- curl_h2_msg="no (--with-nghttp2, --with-hyper)" +- curl_h3_msg="no (--with-ngtcp2 --with-nghttp3, --with-quiche, --with-msh3)" ++ curl_h2_msg="no (--with-nghttp2)" ++ curl_h3_msg="no (--with-ngtcp2 --with-nghttp3, --with-quiche, --with-openssl-quic, --with-msh3)" + + enable_altsvc="yes" + hsts="yes" +@@ -503,6 +504,7 @@ dnl platform/compiler/architecture specific checks/flags + dnl ********************************************************************** + + CURL_CHECK_COMPILER ++CURL_CHECK_NATIVE_WINDOWS + CURL_SET_COMPILER_BASIC_OPTS + CURL_SET_COMPILER_DEBUG_OPTS + CURL_SET_COMPILER_OPTIMIZE_OPTS +@@ -583,25 +585,6 @@ dnl ********************************************************************** + dnl Compilation based checks should not be done before this point. + dnl ********************************************************************** + +-dnl ********************************************************************** +-dnl Make sure that our checks for headers windows.h winsock2.h +-dnl and ws2tcpip.h take precedence over any other further checks which +-dnl could be done later using AC_CHECK_HEADER or AC_CHECK_HEADERS for +-dnl this specific header files. And do them before its results are used. +-dnl ********************************************************************** +- +-CURL_CHECK_HEADER_WINDOWS +-CURL_CHECK_NATIVE_WINDOWS +-case X-"$curl_cv_native_windows" in +- X-yes) +- CURL_CHECK_HEADER_WINSOCK2 +- CURL_CHECK_HEADER_WS2TCPIP +- ;; +- *) +- curl_cv_header_winsock2_h="no" +- curl_cv_header_ws2tcpip_h="no" +- ;; +-esac + CURL_CHECK_WIN32_LARGEFILE + CURL_CHECK_WIN32_CRYPTO + +@@ -803,7 +786,6 @@ if test X"$want_hyper" != Xno; then + experimental="$experimental Hyper" + AC_MSG_NOTICE([Hyper support is experimental]) + curl_h1_msg="enabled (Hyper)" +- curl_h2_msg=$curl_h1_msg + HYPER_ENABLED=1 + AC_DEFINE(USE_HYPER, 1, [if hyper is in use]) + AC_SUBST(USE_HYPER, [1]) +@@ -1016,6 +998,28 @@ AS_HELP_STRING([--disable-mqtt],[Disable MQTT support]), + AC_MSG_RESULT(no) + ) + ++dnl ********************************************************************** ++dnl Check whether to build documentation ++dnl ********************************************************************** ++ ++AC_MSG_CHECKING([whether to build documentation]) ++AC_ARG_ENABLE(docs, ++AS_HELP_STRING([--enable-docs],[Enable documentation]) ++AS_HELP_STRING([--disable-docs],[Disable documentation]), ++[ case "$enableval" in ++ no) ++ AC_MSG_RESULT(no) ++ BUILD_DOCS=0 ++ curl_docs_msg="no" ++ ;; ++ *) AC_MSG_RESULT(yes) ++ BUILD_DOCS=1 ++ ;; ++ esac ], ++ AC_MSG_RESULT(yes) ++ BUILD_DOCS=1 ++) ++ + dnl ********************************************************************** + dnl Check for built-in manual + dnl ********************************************************************** +@@ -1131,24 +1135,19 @@ fi + if test "$HAVE_GETHOSTBYNAME" != "1" + then + dnl This is for winsock systems +- if test "$curl_cv_header_windows_h" = "yes"; then +- if test "$curl_cv_header_winsock2_h" = "yes"; then +- winsock_LIB="-lws2_32" +- fi ++ if test "$curl_cv_native_windows" = "yes"; then ++ winsock_LIB="-lws2_32" + if test ! -z "$winsock_LIB"; then + my_ac_save_LIBS=$LIBS + LIBS="$winsock_LIB $LIBS" + AC_MSG_CHECKING([for gethostbyname in $winsock_LIB]) + AC_LINK_IFELSE([ + AC_LANG_PROGRAM([[ +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + #ifndef WIN32_LEAN_AND_MEAN + #define WIN32_LEAN_AND_MEAN + #endif +-#include +-#ifdef HAVE_WINSOCK2_H + #include +-#endif + #endif + ]],[[ + gethostbyname("localhost"); +@@ -1669,7 +1668,7 @@ AS_HELP_STRING([--disable-ipv6],[Disable IPv6 support]), + AC_RUN_IFELSE([AC_LANG_SOURCE([[ + /* are AF_INET6 and sockaddr_in6 available? */ + #include +-#ifdef HAVE_WINSOCK2_H ++#ifdef _WIN32 + #include + #include + #else +@@ -1679,15 +1678,12 @@ AS_HELP_STRING([--disable-ipv6],[Disable IPv6 support]), + # include + #endif + #endif +-#include /* for exit() */ +-main() ++ ++int main(void) + { + struct sockaddr_in6 s; + (void)s; +- if (socket(AF_INET6, SOCK_STREAM, 0) < 0) +- exit(1); +- else +- exit(0); ++ return socket(AF_INET6, SOCK_STREAM, 0) < 0; + } + ]]) + ], +@@ -1708,7 +1704,7 @@ if test "$ipv6" = yes; then + AC_MSG_CHECKING([if struct sockaddr_in6 has sin6_scope_id member]) + AC_COMPILE_IFELSE([ AC_LANG_PROGRAM([[ + #include +-#ifdef HAVE_WINSOCK2_H ++#ifdef _WIN32 + #include + #include + #else +@@ -1851,10 +1847,7 @@ AC_INCLUDES_DEFAULT + if test "x$not_mit" = "x1"; then + dnl MIT not found, check for Heimdal + AC_CHECK_HEADER(gssapi.h, +- [ +- dnl found +- AC_DEFINE(HAVE_GSSHEIMDAL, 1, [if you have Heimdal]) +- ], ++ [], + [ + dnl no header found, disabling GSS + want_gss=no +@@ -1863,7 +1856,6 @@ AC_INCLUDES_DEFAULT + ) + else + dnl MIT found +- AC_DEFINE(HAVE_GSSMIT, 1, [if you have MIT Kerberos]) + dnl check if we have a really old MIT Kerberos version (<= 1.2) + AC_MSG_CHECKING([if GSS-API headers declare GSS_C_NT_HOSTBASED_SERVICE]) + AC_COMPILE_IFELSE([ +@@ -2083,20 +2075,74 @@ dnl ********************************************************************** + dnl Check for libpsl + dnl ********************************************************************** + +-AC_ARG_WITH(libpsl, +- AS_HELP_STRING([--without-libpsl], +- [disable support for libpsl cookie checking]), +- with_libpsl=$withval, +- with_libpsl=yes) +-if test $with_libpsl != "no"; then +- AC_SEARCH_LIBS(psl_builtin, psl, +- [curl_psl_msg="enabled"; +- AC_DEFINE([USE_LIBPSL], [1], [PSL support enabled]) +- ], +- [curl_psl_msg="no (libpsl not found)"; +- AC_MSG_WARN([libpsl was not found]) +- ] ++dnl Default to compiler & linker defaults for LIBPSL files & libraries. ++OPT_LIBPSL=off ++AC_ARG_WITH(libpsl,dnl ++AS_HELP_STRING([--with-libpsl=PATH],[Where to look for libpsl, PATH points to the LIBPSL installation; when possible, set the PKG_CONFIG_PATH environment variable instead of using this option]) ++AS_HELP_STRING([--without-libpsl], [disable LIBPSL]), ++ OPT_LIBPSL=$withval) ++ ++if test X"$OPT_LIBPSL" != Xno; then ++ dnl backup the pre-libpsl variables ++ CLEANLDFLAGS="$LDFLAGS" ++ CLEANCPPFLAGS="$CPPFLAGS" ++ CLEANLIBS="$LIBS" ++ ++ case "$OPT_LIBPSL" in ++ yes) ++ dnl --with-libpsl (without path) used ++ CURL_CHECK_PKGCONFIG(libpsl) ++ ++ if test "$PKGCONFIG" != "no" ; then ++ LIB_PSL=`$PKGCONFIG --libs-only-l libpsl` ++ LD_PSL=`$PKGCONFIG --libs-only-L libpsl` ++ CPP_PSL=`$PKGCONFIG --cflags-only-I libpsl` ++ else ++ dnl no libpsl pkg-config found ++ LIB_PSL="-lpsl" ++ fi ++ ++ ;; ++ off) ++ dnl no --with-libpsl option given, just check default places ++ LIB_PSL="-lpsl" ++ ;; ++ *) ++ dnl use the given --with-libpsl spot ++ LIB_PSL="-lpsl" ++ PREFIX_PSL=$OPT_LIBPSL ++ ;; ++ esac ++ ++ dnl if given with a prefix, we set -L and -I based on that ++ if test -n "$PREFIX_PSL"; then ++ LD_PSL=-L${PREFIX_PSL}/lib$libsuff ++ CPP_PSL=-I${PREFIX_PSL}/include ++ fi ++ ++ LDFLAGS="$LDFLAGS $LD_PSL" ++ CPPFLAGS="$CPPFLAGS $CPP_PSL" ++ LIBS="$LIB_PSL $LIBS" ++ ++ AC_CHECK_LIB(psl, psl_builtin, ++ [ ++ AC_CHECK_HEADERS(libpsl.h, ++ curl_psl_msg="enabled" ++ LIBPSL_ENABLED=1 ++ AC_DEFINE(USE_LIBPSL, 1, [if libpsl is in use]) ++ AC_SUBST(USE_LIBPSL, [1]) ++ ) ++ ], ++ dnl not found, revert back to clean variables ++ LDFLAGS=$CLEANLDFLAGS ++ CPPFLAGS=$CLEANCPPFLAGS ++ LIBS=$CLEANLIBS + ) ++ ++ if test X"$OPT_LIBPSL" != Xoff && ++ test "$LIBPSL_ENABLED" != "1"; then ++ AC_MSG_ERROR([libpsl libs and/or directories were not found where specified!]) ++ fi + fi + AM_CONDITIONAL([USE_LIBPSL], [test "$curl_psl_msg" = "enabled"]) + +@@ -2808,6 +2854,11 @@ esac + + curl_tcp2_msg="no (--with-ngtcp2)" + if test X"$want_tcp2" != Xno; then ++ ++ if test "$QUIC_ENABLED" != "yes"; then ++ AC_MSG_ERROR([the detected TLS library does not support QUIC, making --with-ngtcp2 a no-no]) ++ fi ++ + dnl backup the pre-ngtcp2 variables + CLEANLDFLAGS="$LDFLAGS" + CLEANCPPFLAGS="$CPPFLAGS" +@@ -2863,7 +2914,7 @@ if test X"$want_tcp2" != Xno; then + + fi + +-if test "x$NGTCP2_ENABLED" = "x1" -a "x$OPENSSL_ENABLED" = "x1"; then ++if test "x$NGTCP2_ENABLED" = "x1" -a "x$OPENSSL_ENABLED" = "x1" -a "x$OPENSSL_IS_BORINGSSL" != "x1"; then + dnl backup the pre-ngtcp2_crypto_quictls variables + CLEANLDFLAGS="$LDFLAGS" + CLEANCPPFLAGS="$CPPFLAGS" +@@ -2918,6 +2969,61 @@ if test "x$NGTCP2_ENABLED" = "x1" -a "x$OPENSSL_ENABLED" = "x1"; then + fi + fi + ++if test "x$NGTCP2_ENABLED" = "x1" -a "x$OPENSSL_ENABLED" = "x1" -a "x$OPENSSL_IS_BORINGSSL" = "x1"; then ++ dnl backup the pre-ngtcp2_crypto_boringssl variables ++ CLEANLDFLAGS="$LDFLAGS" ++ CLEANCPPFLAGS="$CPPFLAGS" ++ CLEANLIBS="$LIBS" ++ ++ CURL_CHECK_PKGCONFIG(libngtcp2_crypto_boringssl, $want_tcp2_path) ++ ++ if test "$PKGCONFIG" != "no" ; then ++ LIB_NGTCP2_CRYPTO_BORINGSSL=`CURL_EXPORT_PCDIR([$want_tcp2_path]) ++ $PKGCONFIG --libs-only-l libngtcp2_crypto_boringssl` ++ AC_MSG_NOTICE([-l is $LIB_NGTCP2_CRYPTO_BORINGSSL]) ++ ++ CPP_NGTCP2_CRYPTO_BORINGSSL=`CURL_EXPORT_PCDIR([$want_tcp2_path]) dnl ++ $PKGCONFIG --cflags-only-I libngtcp2_crypto_boringssl` ++ AC_MSG_NOTICE([-I is $CPP_NGTCP2_CRYPTO_BORINGSSL]) ++ ++ LD_NGTCP2_CRYPTO_BORINGSSL=`CURL_EXPORT_PCDIR([$want_tcp2_path]) ++ $PKGCONFIG --libs-only-L libngtcp2_crypto_boringssl` ++ AC_MSG_NOTICE([-L is $LD_NGTCP2_CRYPTO_BORINGSSL]) ++ ++ LDFLAGS="$LDFLAGS $LD_NGTCP2_CRYPTO_BORINGSSL" ++ CPPFLAGS="$CPPFLAGS $CPP_NGTCP2_CRYPTO_BORINGSSL" ++ LIBS="$LIB_NGTCP2_CRYPTO_BORINGSSL $LIBS" ++ ++ if test "x$cross_compiling" != "xyes"; then ++ DIR_NGTCP2_CRYPTO_BORINGSSL=`echo $LD_NGTCP2_CRYPTO_BORINGSSL | $SED -e 's/^-L//'` ++ fi ++ AC_CHECK_LIB(ngtcp2_crypto_boringssl, ngtcp2_crypto_recv_client_initial_cb, ++ [ ++ AC_CHECK_HEADERS(ngtcp2/ngtcp2_crypto.h, ++ NGTCP2_ENABLED=1 ++ AC_DEFINE(USE_NGTCP2_CRYPTO_BORINGSSL, 1, [if ngtcp2_crypto_boringssl is in use]) ++ AC_SUBST(USE_NGTCP2_CRYPTO_BORINGSSL, [1]) ++ CURL_LIBRARY_PATH="$CURL_LIBRARY_PATH:$DIR_NGTCP2_CRYPTO_BORINGSSL" ++ export CURL_LIBRARY_PATH ++ AC_MSG_NOTICE([Added $DIR_NGTCP2_CRYPTO_BORINGSSL to CURL_LIBRARY_PATH]) ++ ) ++ ], ++ dnl not found, revert back to clean variables ++ LDFLAGS=$CLEANLDFLAGS ++ CPPFLAGS=$CLEANCPPFLAGS ++ LIBS=$CLEANLIBS ++ ) ++ ++ else ++ dnl no ngtcp2_crypto_boringssl pkg-config found, deal with it ++ if test X"$want_tcp2" != Xdefault; then ++ dnl To avoid link errors, we do not allow --with-ngtcp2 without ++ dnl a pkgconfig file ++ AC_MSG_ERROR([--with-ngtcp2 was specified but could not find ngtcp2_crypto_boringssl pkg-config file.]) ++ fi ++ fi ++fi ++ + if test "x$NGTCP2_ENABLED" = "x1" -a "x$GNUTLS_ENABLED" = "x1"; then + dnl backup the pre-ngtcp2_crypto_gnutls variables + CLEANLDFLAGS="$LDFLAGS" +@@ -3028,15 +3134,55 @@ if test "x$NGTCP2_ENABLED" = "x1" -a "x$WOLFSSL_ENABLED" = "x1"; then + fi + fi + ++dnl ********************************************************************** ++dnl Check for OpenSSL QUIC ++dnl ********************************************************************** ++ ++OPT_OPENSSL_QUIC="no" ++ ++if test "x$disable_http" = "xyes" -o "x$OPENSSL_ENABLED" != "x1"; then ++ # without HTTP or without openssl, no use ++ OPT_OPENSSL_QUIC="no" ++fi ++ ++AC_ARG_WITH(openssl-quic, ++AS_HELP_STRING([--with-openssl-quic],[Enable OpenSSL QUIC usage]) ++AS_HELP_STRING([--without-openssl-quic],[Disable OpenSSL QUIC usage]), ++ [OPT_OPENSSL_QUIC=$withval]) ++case "$OPT_OPENSSL_QUIC" in ++ no) ++ dnl --without-openssl-quic option used ++ want_openssl_quic="no" ++ ;; ++ yes) ++ dnl --with-openssl-quic option used ++ want_openssl_quic="yes" ++ ;; ++esac ++ ++curl_openssl_quic_msg="no (--with-openssl-quic)" ++if test "x$want_openssl_quic" = "xyes"; then ++ ++ if test "$NGTCP2_ENABLED" = 1; then ++ AC_MSG_ERROR([--with-openssl-quic and --with-ngtcp2 are mutually exclusive]) ++ fi ++ if test "$HAVE_OPENSSL_QUIC" != 1; then ++ AC_MSG_ERROR([--with-openssl-quic requires quic support in OpenSSL]) ++ fi ++ AC_DEFINE(USE_OPENSSL_QUIC, 1, [if openssl QUIC is in use]) ++ AC_SUBST(USE_OPENSSL_QUIC, [1]) ++fi ++ + dnl ********************************************************************** + dnl Check for nghttp3 (HTTP/3 with ngtcp2) + dnl ********************************************************************** + + OPT_NGHTTP3="yes" + +-if test "x$NGTCP2_ENABLED" = "x"; then +- # without ngtcp2, nghttp3 is of no use for us ++if test "x$USE_NGTCP2" != "x1" -a "x$USE_OPENSSL_QUIC" != "x1"; then ++ # without ngtcp2 or openssl quic, nghttp3 is of no use for us + OPT_NGHTTP3="no" ++ want_nghttp3="no" + fi + + AC_ARG_WITH(nghttp3, +@@ -3062,6 +3208,7 @@ esac + + curl_http3_msg="no (--with-nghttp3)" + if test X"$want_nghttp3" != Xno; then ++ + dnl backup the pre-nghttp3 variables + CLEANLDFLAGS="$LDFLAGS" + CLEANCPPFLAGS="$CPPFLAGS" +@@ -3092,14 +3239,11 @@ if test X"$want_nghttp3" != Xno; then + AC_CHECK_LIB(nghttp3, nghttp3_conn_client_new_versioned, + [ + AC_CHECK_HEADERS(nghttp3/nghttp3.h, +- curl_h3_msg="enabled (ngtcp2 + nghttp3)" +- NGHTTP3_ENABLED=1 + AC_DEFINE(USE_NGHTTP3, 1, [if nghttp3 is in use]) + AC_SUBST(USE_NGHTTP3, [1]) + CURL_LIBRARY_PATH="$CURL_LIBRARY_PATH:$DIR_NGHTTP3" + export CURL_LIBRARY_PATH + AC_MSG_NOTICE([Added $DIR_NGHTTP3 to CURL_LIBRARY_PATH]) +- experimental="$experimental HTTP3" + ) + ], + dnl not found, revert back to clean variables +@@ -3119,6 +3263,29 @@ if test X"$want_nghttp3" != Xno; then + + fi + ++dnl ********************************************************************** ++dnl Check for ngtcp2 and nghttp3 (HTTP/3 with ngtcp2 + nghttp3) ++dnl ********************************************************************** ++ ++if test "x$NGTCP2_ENABLED" = "x1" -a "x$USE_NGHTTP3" = "x1"; then ++ AC_DEFINE(USE_NGTCP2_H3, 1, [if ngtcp2 + nghttp3 is in use]) ++ AC_SUBST(USE_NGTCP2_H3, [1]) ++ AC_MSG_NOTICE([HTTP3 support is experimental]) ++ curl_h3_msg="enabled (ngtcp2 + nghttp3)" ++fi ++ ++dnl ********************************************************************** ++dnl Check for OpenSSL and nghttp3 (HTTP/3 with nghttp3 using OpenSSL QUIC) ++dnl ********************************************************************** ++ ++if test "x$USE_OPENSSL_QUIC" = "x1" -a "x$USE_NGHTTP3" = "x1"; then ++ experimental="$experimental HTTP3" ++ AC_DEFINE(USE_OPENSSL_H3, 1, [if openssl quic + nghttp3 is in use]) ++ AC_SUBST(USE_OPENSSL_H3, [1]) ++ AC_MSG_NOTICE([HTTP3 support is experimental]) ++ curl_h3_msg="enabled (openssl + nghttp3)" ++fi ++ + dnl ********************************************************************** + dnl Check for quiche (QUIC) + dnl ********************************************************************** +@@ -3153,6 +3320,10 @@ esac + + if test X"$want_quiche" != Xno; then + ++ if test "$QUIC_ENABLED" != "yes"; then ++ AC_MSG_ERROR([the detected TLS library does not support QUIC, making --with-quiche a no-no]) ++ fi ++ + if test "$NGHTTP3_ENABLED" = 1; then + AC_MSG_ERROR([--with-quiche and --with-ngtcp2 are mutually exclusive]) + fi +@@ -3251,9 +3422,22 @@ esac + + if test X"$want_msh3" != Xno; then + ++ dnl msh3 on non-Windows needs an OpenSSL with the QUIC API ++ if test "$curl_cv_native_windows" != "yes"; then ++ if test "$QUIC_ENABLED" != "yes"; then ++ AC_MSG_ERROR([the detected TLS library does not support QUIC, making --with-msh3 a no-no]) ++ fi ++ if test "$OPENSSL_ENABLED" != "1"; then ++ AC_MSG_ERROR([msh3 requires OpenSSL]) ++ fi ++ fi ++ + if test "$NGHTTP3_ENABLED" = 1; then + AC_MSG_ERROR([--with-msh3 and --with-ngtcp2 are mutually exclusive]) + fi ++ if test "$QUICHE_ENABLED" = 1; then ++ AC_MSG_ERROR([--with-msh3 and --with-quiche are mutually exclusive]) ++ fi + + dnl backup the pre-msh3 variables + CLEANLDFLAGS="$LDFLAGS" +@@ -3299,10 +3483,10 @@ AS_HELP_STRING([--with-zsh-functions-dir=PATH],[Install zsh completions to PATH] + AS_HELP_STRING([--without-zsh-functions-dir],[Do not install zsh completions]), + [OPT_ZSH_FPATH=$withval]) + case "$OPT_ZSH_FPATH" in +- no) ++ default|no) + dnl --without-zsh-functions-dir option used + ;; +- default|yes) ++ yes) + dnl --with-zsh-functions-dir option used without path + ZSH_FUNCTIONS_DIR="$datarootdir/zsh/site-functions" + AC_SUBST(ZSH_FUNCTIONS_DIR) +@@ -3313,6 +3497,7 @@ case "$OPT_ZSH_FPATH" in + AC_SUBST(ZSH_FUNCTIONS_DIR) + ;; + esac ++AM_CONDITIONAL(USE_ZSH_COMPLETION, test x"$ZSH_FUNCTIONS_DIR" != x) + + dnl ********************************************************************** + dnl Check for fish completion path +@@ -3324,10 +3509,10 @@ AS_HELP_STRING([--with-fish-functions-dir=PATH],[Install fish completions to PAT + AS_HELP_STRING([--without-fish-functions-dir],[Do not install fish completions]), + [OPT_FISH_FPATH=$withval]) + case "$OPT_FISH_FPATH" in +- no) ++ default|no) + dnl --without-fish-functions-dir option used + ;; +- default|yes) ++ yes) + dnl --with-fish-functions-dir option used without path + CURL_CHECK_PKGCONFIG(fish) + if test "$PKGCONFIG" != "no" ; then +@@ -3343,6 +3528,7 @@ case "$OPT_FISH_FPATH" in + AC_SUBST(FISH_FUNCTIONS_DIR) + ;; + esac ++AM_CONDITIONAL(USE_FISH_COMPLETION, test x"$FISH_FUNCTIONS_DIR" != x) + + dnl Now check for the very most basic headers. Then we can use these + dnl ones as default-headers when checking for the rest! +@@ -3418,7 +3604,6 @@ dnl default includes + + dnl Checks for typedefs, structures, and compiler characteristics. + AC_C_CONST +-CURL_CHECK_VARIADIC_MACROS + AC_TYPE_SIZE_T + + CURL_CHECK_STRUCT_TIMEVAL +@@ -3476,6 +3661,12 @@ AC_CHECK_TYPE(sa_family_t, + AC_DEFINE(CURL_SA_FAMILY_T, ADDRESS_FAMILY, [IP address type in sockaddr]), + AC_DEFINE(CURL_SA_FAMILY_T, unsigned short, [IP address type in sockaddr]), + [ ++#ifdef _WIN32 ++#ifndef WIN32_LEAN_AND_MEAN ++#define WIN32_LEAN_AND_MEAN ++#endif ++#include ++#endif + #ifdef HAVE_SYS_SOCKET_H + #include + #endif +@@ -3519,8 +3710,6 @@ CURL_RUN_IFELSE( + AC_MSG_RESULT([no]) + ]) + +-CURL_CONFIGURE_PULL_SYS_POLL +- + TYPE_IN_ADDR_T + + TYPE_SOCKADDR_STORAGE +@@ -3581,11 +3770,9 @@ AC_CHECK_DECLS([getpwuid_r], [], [AC_DEFINE(HAVE_DECL_GETPWUID_R_MISSING, 1, "Se + [[#include + #include ]]) + +- + AC_CHECK_FUNCS([\ + _fseeki64 \ + arc4random \ +- fchmod \ + fnmatch \ + fseeko \ + geteuid \ +@@ -3628,49 +3815,30 @@ AC_CHECK_FUNCS([\ + fi + ]) + +-CURL_CHECK_NONBLOCKING_SOCKET ++dnl On Android, the only way to know if fseeko can be used is to see if it is ++dnl declared or not (for this API level), as the symbol always exists in the ++dnl lib. ++AC_CHECK_DECL([fseeko], ++ [AC_DEFINE([HAVE_DECL_FSEEKO], [1], ++ [Define to 1 if you have the fseeko declaration])], ++ [], ++ [[#include ]]) + +-dnl ************************************************************ +-dnl nroff tool stuff +-dnl ++CURL_CHECK_NONBLOCKING_SOCKET + + AC_PATH_PROG( PERL, perl, , + $PATH:/usr/local/bin/perl:/usr/bin/:/usr/local/bin ) + AC_SUBST(PERL) + +-AC_PATH_PROGS( NROFF, gnroff nroff, , +- $PATH:/usr/bin/:/usr/local/bin ) +-AC_SUBST(NROFF) +- +-if test -n "$NROFF"; then +- dnl only check for nroff options if an nroff command was found +- +- AC_MSG_CHECKING([how to use *nroff to get plain text from man pages]) +- MANOPT="-man" +- mancheck=`echo foo | $NROFF $MANOPT 2>/dev/null` +- if test -z "$mancheck"; then +- MANOPT="-mandoc" +- mancheck=`echo foo | $NROFF $MANOPT 2>/dev/null` +- if test -z "$mancheck"; then +- MANOPT="" +- AC_MSG_RESULT([failed]) +- AC_MSG_WARN([found no *nroff option to get plaintext from man pages]) +- else +- AC_MSG_RESULT([$MANOPT]) +- fi +- else +- AC_MSG_RESULT([$MANOPT]) +- fi +- AC_SUBST(MANOPT) ++if test -z "$PERL"; then ++ dnl if perl was not found then disable building docs ++ AC_MSG_WARN([disabling documentation]) ++ BUILD_DOCS=0 ++ curl_docs_msg="no" + fi + +-if test -z "$MANOPT" +-then +- dnl if no nroff tool was found, or no option that could convert man pages +- dnl was found, then disable the built-in manual stuff +- AC_MSG_WARN([disabling built-in manual]) +- USE_MANUAL="no"; +-fi ++dnl set variable for use in automakefile(s) ++AM_CONDITIONAL(BUILD_DOCS, test x"$BUILD_DOCS" = x1) + + dnl ************************************************************************* + dnl If the manual variable still is set, then we go with providing a built-in +@@ -4570,12 +4738,15 @@ if test "x$USE_TLS_SRP" = "x1"; then + SUPPORT_FEATURES="$SUPPORT_FEATURES TLS-SRP" + fi + +-if test "x$USE_NGHTTP2" = "x1" -o "x$USE_HYPER" = "x1"; then ++if test "x$USE_NGHTTP2" = "x1"; then + SUPPORT_FEATURES="$SUPPORT_FEATURES HTTP2" + fi + +-if test "x$USE_NGTCP2" = "x1" -o "x$USE_QUICHE" = "x1" \ +- -o "x$USE_MSH3" = "x1"; then ++if test "x$USE_NGTCP2_H3" = "x1" -o "x$USE_QUICHE" = "x1" \ ++ -o "x$USE_OPENSSL_H3" = "x1" -o "x$USE_MSH3" = "x1"; then ++ if test "x$CURL_WITH_MULTI_SSL" = "x1"; then ++ AC_MSG_ERROR([MultiSSL cannot be enabled with HTTP/3 and vice versa]) ++ fi + SUPPORT_FEATURES="$SUPPORT_FEATURES HTTP3" + fi + +@@ -4583,20 +4754,31 @@ if test "x$CURL_WITH_MULTI_SSL" = "x1"; then + SUPPORT_FEATURES="$SUPPORT_FEATURES MultiSSL" + fi + ++AC_MSG_CHECKING([if this build supports HTTPS-proxy]) + dnl if not explicitly turned off, HTTPS-proxy comes with some TLS backends +-if test "x$https_proxy" != "xno"; then +- if test "x$OPENSSL_ENABLED" = "x1" \ +- -o "x$GNUTLS_ENABLED" = "x1" \ +- -o "x$SECURETRANSPORT_ENABLED" = "x1" \ +- -o "x$RUSTLS_ENABLED" = "x1" \ +- -o "x$BEARSSL_ENABLED" = "x1" \ +- -o "x$SCHANNEL_ENABLED" = "x1" \ +- -o "x$GNUTLS_ENABLED" = "x1" \ +- -o "x$MBEDTLS_ENABLED" = "x1"; then +- SUPPORT_FEATURES="$SUPPORT_FEATURES HTTPS-proxy" +- elif test "x$WOLFSSL_ENABLED" = "x1" -a "x$WOLFSSL_FULL_BIO" = "x1"; then +- SUPPORT_FEATURES="$SUPPORT_FEATURES HTTPS-proxy" ++if test "x$CURL_DISABLE_HTTP" != "x1"; then ++ if test "x$https_proxy" != "xno"; then ++ if test "x$OPENSSL_ENABLED" = "x1" \ ++ -o "x$GNUTLS_ENABLED" = "x1" \ ++ -o "x$SECURETRANSPORT_ENABLED" = "x1" \ ++ -o "x$RUSTLS_ENABLED" = "x1" \ ++ -o "x$BEARSSL_ENABLED" = "x1" \ ++ -o "x$SCHANNEL_ENABLED" = "x1" \ ++ -o "x$GNUTLS_ENABLED" = "x1" \ ++ -o "x$MBEDTLS_ENABLED" = "x1"; then ++ SUPPORT_FEATURES="$SUPPORT_FEATURES HTTPS-proxy" ++ AC_MSG_RESULT([yes]) ++ elif test "x$WOLFSSL_ENABLED" = "x1" -a "x$WOLFSSL_FULL_BIO" = "x1"; then ++ SUPPORT_FEATURES="$SUPPORT_FEATURES HTTPS-proxy" ++ AC_MSG_RESULT([yes]) ++ else ++ AC_MSG_RESULT([no]) ++ fi ++ else ++ AC_MSG_RESULT([no]) + fi ++else ++ AC_MSG_RESULT([no]) + fi + + if test "x$ECH_ENABLED" = "x1"; then +@@ -4612,6 +4794,9 @@ fi + + if test "$tst_atomic" = "yes"; then + SUPPORT_FEATURES="$SUPPORT_FEATURES threadsafe" ++elif test "x$USE_THREADS_POSIX" = "x1" -a \ ++ "x$ac_cv_header_pthread_h" = "xyes"; then ++ SUPPORT_FEATURES="$SUPPORT_FEATURES threadsafe" + else + AC_COMPILE_IFELSE([ + AC_LANG_PROGRAM([[ +@@ -4635,7 +4820,7 @@ AC_SUBST(SUPPORT_FEATURES) + + dnl For supported protocols in pkg-config file + if test "x$CURL_DISABLE_HTTP" != "x1"; then +- SUPPORT_PROTOCOLS="$SUPPORT_PROTOCOLS HTTP" ++ SUPPORT_PROTOCOLS="$SUPPORT_PROTOCOLS HTTP IPFS IPNS" + if test "x$SSL_ENABLED" = "x1"; then + SUPPORT_PROTOCOLS="$SUPPORT_PROTOCOLS HTTPS" + fi +@@ -4807,6 +4992,7 @@ AC_MSG_NOTICE([Configured to build curl/libcurl: + IPv6: ${curl_ipv6_msg} + Unix sockets: ${curl_unix_sockets_msg} + IDN: ${curl_idn_msg} ++ Build docs: ${curl_docs_msg} + Build libcurl: Shared=${enable_shared}, Static=${enable_static} + Built-in manual: ${curl_manual_msg} + --libcurl option: ${curl_libcurl_msg} +@@ -4832,6 +5018,14 @@ AC_MSG_NOTICE([Configured to build curl/libcurl: + Protocols: ${SUPPORT_PROTOCOLS} + Features: ${SUPPORT_FEATURES} + ]) ++ ++non13=`echo "$TLSCHOICE" | grep -Ei 'bearssl|secure-transport|mbedtls'`; ++if test -n "$non13"; then ++ cat >&2 << _EOF ++ WARNING: A selected TLS library ($TLSCHOICE) does not support TLS 1.3! ++_EOF ++fi ++ + if test -n "$experimental"; then + cat >&2 << _EOF + WARNING: $experimental enabled but marked EXPERIMENTAL. Use with caution! +diff --git a/configure~ b/configure~ +index 04d1de1..4fc60c3 100755 +--- a/configure~ ++++ b/configure~ +@@ -923,16 +923,24 @@ BUILD_LIBHOSTNAME_TRUE + USE_ARES + USE_MANUAL_FALSE + USE_MANUAL_TRUE +-MANOPT +-NROFF ++BUILD_DOCS_FALSE ++BUILD_DOCS_TRUE + PERL ++USE_FISH_COMPLETION_FALSE ++USE_FISH_COMPLETION_TRUE + FISH_FUNCTIONS_DIR ++USE_ZSH_COMPLETION_FALSE ++USE_ZSH_COMPLETION_TRUE + ZSH_FUNCTIONS_DIR + USE_MSH3 + USE_QUICHE ++USE_OPENSSL_H3 ++USE_NGTCP2_H3 + USE_NGHTTP3 ++USE_OPENSSL_QUIC + USE_NGTCP2_CRYPTO_WOLFSSL + USE_NGTCP2_CRYPTO_GNUTLS ++USE_NGTCP2_CRYPTO_BORINGSSL + USE_NGTCP2_CRYPTO_QUICTLS + USE_NGTCP2 + USE_NGHTTP2 +@@ -949,6 +957,7 @@ USE_GSASL_FALSE + USE_GSASL_TRUE + USE_LIBPSL_FALSE + USE_LIBPSL_TRUE ++USE_LIBPSL + CURL_CA_BUNDLE + CURL_WITH_MULTI_SSL + SSL_ENABLED +@@ -958,6 +967,7 @@ USE_WOLFSSL + USE_MBEDTLS + HAVE_GNUTLS_SRP + USE_GNUTLS ++HAVE_OPENSSL_QUIC + HAVE_OPENSSL_SRP + RANDOM_FILE + SSL_LIBS +@@ -1000,13 +1010,13 @@ HAVE_WINDRES_TRUE + USE_WIN32_CRYPTO + USE_WIN32_SMALL_FILES + USE_WIN32_LARGE_FILES +-DOING_NATIVE_WINDOWS_FALSE +-DOING_NATIVE_WINDOWS_TRUE + BUILD_UNITTESTS_FALSE + BUILD_UNITTESTS_TRUE + CURLDEBUG_FALSE + CURLDEBUG_TRUE + CURL_CFLAG_EXTRAS ++DOING_NATIVE_WINDOWS_FALSE ++DOING_NATIVE_WINDOWS_TRUE + USE_EXPLICIT_LIB_DEPS_FALSE + USE_EXPLICIT_LIB_DEPS_TRUE + REQUIRE_LIB_DEPS +@@ -1214,6 +1224,7 @@ enable_smb + enable_smtp + enable_gopher + enable_mqtt ++enable_docs + enable_manual + enable_libcurl_option + enable_libgcc +@@ -1244,6 +1255,7 @@ with_winidn + with_libidn2 + with_nghttp2 + with_ngtcp2 ++with_openssl_quic + with_nghttp3 + with_quiche + with_msh3 +@@ -1982,6 +1994,8 @@ Optional Features: + --disable-gopher Disable Gopher support + --enable-mqtt Enable MQTT support + --disable-mqtt Disable MQTT support ++ --enable-docs Enable documentation ++ --disable-docs Disable documentation + --enable-manual Enable built-in manual + --disable-manual Disable built-in manual + --enable-libcurl-option Enable --libcurl C code generation support +@@ -2140,7 +2154,10 @@ Optional Packages: + --without-ca-path Don't use a default CA path + --with-ca-fallback Use the built in CA store of the SSL library + --without-ca-fallback Don't use the built in CA store of the SSL library +- --without-libpsl disable support for libpsl cookie checking ++ --with-libpsl=PATH Where to look for libpsl, PATH points to the LIBPSL ++ installation; when possible, set the PKG_CONFIG_PATH ++ environment variable instead of using this option ++ --without-libpsl disable LIBPSL + --without-libgsasl disable libgsasl support for SCRAM + --with-libssh2=PATH Where to look for libssh2, PATH points to the + libssh2 installation; when possible, set the +@@ -2169,6 +2186,8 @@ Optional Packages: + --without-nghttp2 Disable nghttp2 usage + --with-ngtcp2=PATH Enable ngtcp2 usage + --without-ngtcp2 Disable ngtcp2 usage ++ --with-openssl-quic Enable OpenSSL QUIC usage ++ --without-openssl-quic Disable OpenSSL QUIC usage + --with-nghttp3=PATH Enable nghttp3 usage + --without-nghttp3 Disable nghttp3 usage + --with-quiche=PATH Enable quiche usage +@@ -6662,6 +6681,7 @@ curl_tls_srp_msg="no (--enable-tls-srp)" + curl_ipv6_msg="no (--enable-ipv6)" + curl_unix_sockets_msg="no (--enable-unix-sockets)" + curl_idn_msg="no (--with-{libidn2,winidn})" ++ curl_docs_msg="enabled (--disable-docs)" + curl_manual_msg="no (--enable-manual)" + curl_libcurl_msg="enabled (--disable-libcurl-option)" + curl_verbose_msg="enabled (--disable-verbose)" +@@ -6677,8 +6697,8 @@ curl_headers_msg="enabled (--disable-headers-api)" + curl_ws_msg="no (--enable-websockets)" + ssl_backends= + curl_h1_msg="enabled (internal)" +- curl_h2_msg="no (--with-nghttp2, --with-hyper)" +- curl_h3_msg="no (--with-ngtcp2 --with-nghttp3, --with-quiche, --with-msh3)" ++ curl_h2_msg="no (--with-nghttp2)" ++ curl_h3_msg="no (--with-ngtcp2 --with-nghttp3, --with-quiche, --with-openssl-quic, --with-msh3)" + + enable_altsvc="yes" + hsts="yes" +@@ -7511,7 +7531,7 @@ printf "%s\n" "$ac_cv_path_EGREP" >&6; } + + + +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if OS is AIX (to define _ALL_SOURCE)" >&5 ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if OS is AIX (to define _ALL_SOURCE)" >&5 + printf %s "checking if OS is AIX (to define _ALL_SOURCE)... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ +@@ -17684,7 +17704,11 @@ rm -f conftest.err conftest.i conftest.$ac_ext + if test "$curl_cv_have_def___INTEL_COMPILER" = "yes"; then + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 + printf "%s\n" "yes" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking compiler version" >&5 ++printf %s "checking compiler version... " >&6; } + compiler_num="$curl_cv_def___INTEL_COMPILER" ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: Intel C '$compiler_num'" >&5 ++printf "%s\n" "Intel C '$compiler_num'" >&6; } + + OLDCPPFLAGS=$CPPFLAGS + # CPPPFLAG comes from CURL_CPP_P +@@ -17855,18 +17879,41 @@ printf "%s\n" "yes" >&6; } + printf "%s\n" "no" >&6; } + compiler_id="CLANG" + fi ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking compiler version" >&5 ++printf %s "checking compiler version... " >&6; } + fullclangver=`$CC -v 2>&1 | grep version` ++ if echo $fullclangver | grep 'Apple' >/dev/null; then ++ appleclang=1 ++ else ++ appleclang=0 ++ fi + clangver=`echo $fullclangver | grep "based on LLVM " | "$SED" 's/.*(based on LLVM \([0-9]*\.[0-9]*\).*)/\1/'` + if test -z "$clangver"; then +- if echo $fullclangver | grep "Apple LLVM version " >/dev/null; then +- clangver="3.7" +- else +- clangver=`echo $fullclangver | "$SED" 's/.*version \([0-9]*\.[0-9]*\).*/\1/'` +- fi ++ clangver=`echo $fullclangver | "$SED" 's/.*version \([0-9]*\.[0-9]*\).*/\1/'` ++ oldapple=0 ++ else ++ oldapple=1 + fi + clangvhi=`echo $clangver | cut -d . -f1` + clangvlo=`echo $clangver | cut -d . -f2` + compiler_num=`(expr $clangvhi "*" 100 + $clangvlo) 2>/dev/null` ++ if test "$appleclang" = '1' && test "$oldapple" = '0'; then ++ if test "$compiler_num" -ge '1300'; then compiler_num='1200' ++ elif test "$compiler_num" -ge '1205'; then compiler_num='1101' ++ elif test "$compiler_num" -ge '1204'; then compiler_num='1000' ++ elif test "$compiler_num" -ge '1107'; then compiler_num='900' ++ elif test "$compiler_num" -ge '1103'; then compiler_num='800' ++ elif test "$compiler_num" -ge '1003'; then compiler_num='700' ++ elif test "$compiler_num" -ge '1001'; then compiler_num='600' ++ elif test "$compiler_num" -ge '904'; then compiler_num='500' ++ elif test "$compiler_num" -ge '902'; then compiler_num='400' ++ elif test "$compiler_num" -ge '803'; then compiler_num='309' ++ elif test "$compiler_num" -ge '703'; then compiler_num='308' ++ else compiler_num='307' ++ fi ++ fi ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: clang '$compiler_num' (raw: '$fullclangver' / '$clangver')" >&5 ++printf "%s\n" "clang '$compiler_num' (raw: '$fullclangver' / '$clangver')" >&6; } + flags_dbg_yes="-g" + flags_opt_all="-O -O0 -O1 -O2 -Os -O3 -O4" + flags_opt_yes="-O2" +@@ -17929,120 +17976,23 @@ rm -f conftest.err conftest.i conftest.$ac_ext + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 + printf "%s\n" "yes" >&6; } + compiler_id="GNU_C" +- gccver=`$CC -dumpversion` ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking compiler version" >&5 ++printf %s "checking compiler version... " >&6; } ++ # strip '-suffix' parts, e.g. Ubuntu Windows cross-gcc returns '10-win32' ++ gccver=`$CC -dumpversion | sed -E 's/-.+$//'` + gccvhi=`echo $gccver | cut -d . -f1` +- gccvlo=`echo $gccver | cut -d . -f2` ++ if echo $gccver | grep -F '.' >/dev/null; then ++ gccvlo=`echo $gccver | cut -d . -f2` ++ else ++ gccvlo="0" ++ fi + compiler_num=`(expr $gccvhi "*" 100 + $gccvlo) 2>/dev/null` ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: gcc '$compiler_num' (raw: '$gccver')" >&5 ++printf "%s\n" "gcc '$compiler_num' (raw: '$gccver')" >&6; } + flags_dbg_yes="-g" + flags_opt_all="-O -O0 -O1 -O2 -O3 -Os -Og -Ofast" + flags_opt_yes="-O2" + flags_opt_off="-O0" +- +- OLDCPPFLAGS=$CPPFLAGS +- # CPPPFLAG comes from CURL_CPP_P +- CPPFLAGS="$CPPFLAGS $CPPPFLAG" +- if test -z "$SED"; then +- as_fn_error $? "SED not set. Cannot continue without SED being set." "$LINENO" 5 +- fi +- if test -z "$GREP"; then +- as_fn_error $? "GREP not set. Cannot continue without GREP being set." "$LINENO" 5 +- fi +- +- tmp_exp="" +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext +-/* end confdefs.h. */ +- +- +-#ifdef _WIN32 +-CURL_DEF_TOKEN _WIN32 +-#endif +- +- +-_ACEOF +-if ac_fn_c_try_cpp "$LINENO" +-then : +- +- tmp_exp=`eval "$ac_cpp conftest.$ac_ext" 2>/dev/null | \ +- "$GREP" CURL_DEF_TOKEN 2>/dev/null | \ +- "$SED" 's/.*CURL_DEF_TOKEN[ ][ ]*//' 2>/dev/null | \ +- "$SED" 's/["][ ]*["]//g' 2>/dev/null` +- if test -z "$tmp_exp" || test "$tmp_exp" = "_WIN32"; then +- tmp_exp="" +- fi +- +-fi +-rm -f conftest.err conftest.i conftest.$ac_ext +- if test -z "$tmp_exp"; then +- curl_cv_have_def__WIN32=no +- +- else +- curl_cv_have_def__WIN32=yes +- curl_cv_def__WIN32=$tmp_exp +- +- fi +- CPPFLAGS=$OLDCPPFLAGS +- +- else +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-printf "%s\n" "no" >&6; } +- fi +- +- +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler is LCC" >&5 +-printf %s "checking if compiler is LCC... " >&6; } +- +- OLDCPPFLAGS=$CPPFLAGS +- # CPPPFLAG comes from CURL_CPP_P +- CPPFLAGS="$CPPFLAGS $CPPPFLAG" +- if test -z "$SED"; then +- as_fn_error $? "SED not set. Cannot continue without SED being set." "$LINENO" 5 +- fi +- if test -z "$GREP"; then +- as_fn_error $? "GREP not set. Cannot continue without GREP being set." "$LINENO" 5 +- fi +- +- tmp_exp="" +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext +-/* end confdefs.h. */ +- +- +-#ifdef __LCC__ +-CURL_DEF_TOKEN __LCC__ +-#endif +- +- +-_ACEOF +-if ac_fn_c_try_cpp "$LINENO" +-then : +- +- tmp_exp=`eval "$ac_cpp conftest.$ac_ext" 2>/dev/null | \ +- "$GREP" CURL_DEF_TOKEN 2>/dev/null | \ +- "$SED" 's/.*CURL_DEF_TOKEN[ ][ ]*//' 2>/dev/null | \ +- "$SED" 's/["][ ]*["]//g' 2>/dev/null` +- if test -z "$tmp_exp" || test "$tmp_exp" = "__LCC__"; then +- tmp_exp="" +- fi +- +-fi +-rm -f conftest.err conftest.i conftest.$ac_ext +- if test -z "$tmp_exp"; then +- curl_cv_have_def___LCC__=no +- +- else +- curl_cv_have_def___LCC__=yes +- curl_cv_def___LCC__=$tmp_exp +- +- fi +- CPPFLAGS=$OLDCPPFLAGS +- +- if test "$curl_cv_have_def___LCC__" = "yes"; then +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +-printf "%s\n" "yes" >&6; } +- compiler_id="LCC" +- flags_dbg_yes="-g" +- flags_opt_all="" +- flags_opt_yes="" +- flags_opt_off="" + else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 + printf "%s\n" "no" >&6; } +@@ -18449,6 +18399,57 @@ _EOF + fi + + ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build target is a native Windows one" >&5 ++printf %s "checking whether build target is a native Windows one... " >&6; } ++if test ${curl_cv_native_windows+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ ++ ++int main (void) ++{ ++ ++#ifdef _WIN32 ++ int dummy=1; ++#else ++ Not a native Windows build target. ++#endif ++ ++ ; ++ return 0; ++} ++ ++_ACEOF ++if ac_fn_c_try_compile "$LINENO" ++then : ++ ++ curl_cv_native_windows="yes" ++ ++else $as_nop ++ ++ curl_cv_native_windows="no" ++ ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ++ ++fi ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_native_windows" >&5 ++printf "%s\n" "$curl_cv_native_windows" >&6; } ++ if test "x$curl_cv_native_windows" = xyes; then ++ DOING_NATIVE_WINDOWS_TRUE= ++ DOING_NATIVE_WINDOWS_FALSE='#' ++else ++ DOING_NATIVE_WINDOWS_TRUE='#' ++ DOING_NATIVE_WINDOWS_FALSE= ++fi ++ ++ ++ + squeeze() { + _sqz_result="" + eval _sqz_input=\$$1 +@@ -18519,11 +18520,6 @@ squeeze() { + tmp_CFLAGS="$tmp_CFLAGS" + ;; + # +- LCC) +- # +- tmp_CFLAGS="$tmp_CFLAGS -n" +- ;; +- # + SGI_MIPS_C) + # + tmp_CFLAGS="$tmp_CFLAGS" +@@ -19233,7 +19229,7 @@ printf "%s\n" "$as_me: WARNING: compiler options rejected: $tmp_options" >&2;} + + + ac_var_added_warnings="" +- for warning in no-multichar sign-compare; do ++ for warning in sign-compare; do + + ac_var_match_word="no" + for word1 in $CFLAGS; do +@@ -19251,6 +19247,7 @@ printf "%s\n" "$as_me: WARNING: compiler options rejected: $tmp_options" >&2;} + tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" + squeeze tmp_CFLAGS + ++ tmp_CFLAGS="$tmp_CFLAGS -Wno-multichar" + + ac_var_added_warnings="" + for warning in undef; do +@@ -19377,10 +19374,10 @@ printf "%s\n" "$as_me: WARNING: compiler options rejected: $tmp_options" >&2;} + + fi + # +- if test "$compiler_num" -ge "208"; then ++ if test "$compiler_num" -ge "207"; then + + ac_var_added_warnings="" +- for warning in vla; do ++ for warning in address; do + + ac_var_match_word="no" + for word1 in $CFLAGS; do +@@ -19398,12 +19395,9 @@ printf "%s\n" "$as_me: WARNING: compiler options rejected: $tmp_options" >&2;} + tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" + squeeze tmp_CFLAGS + +- fi +- # +- if test "$compiler_num" -ge "209"; then + + ac_var_added_warnings="" +- for warning in shift-sign-overflow; do ++ for warning in attributes; do + + ac_var_match_word="no" + for word1 in $CFLAGS; do +@@ -19421,9 +19415,6 @@ printf "%s\n" "$as_me: WARNING: compiler options rejected: $tmp_options" >&2;} + tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" + squeeze tmp_CFLAGS + +- fi +- # +- if test "$compiler_num" -ge "300"; then + + ac_var_added_warnings="" + for warning in bad-function-cast; do +@@ -19448,6 +19439,26 @@ printf "%s\n" "$as_me: WARNING: compiler options rejected: $tmp_options" >&2;} + ac_var_added_warnings="" + for warning in conversion; do + ++ ac_var_match_word="no" ++ for word1 in $CFLAGS; do ++ for word2 in -Wno-$warning -W$warning; do ++ if test "$word1" = "$word2"; then ++ ac_var_match_word="yes" ++ fi ++ done ++ done ++ ++ if test "$ac_var_match_word" = "no"; then ++ ac_var_added_warnings="$ac_var_added_warnings -W$warning" ++ fi ++ done ++ tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" ++ squeeze tmp_CFLAGS ++ ++ ++ ac_var_added_warnings="" ++ for warning in div-by-zero format-security; do ++ + ac_var_match_word="no" + for word1 in $CFLAGS; do + for word2 in -Wno-$warning -W$warning; do +@@ -19486,7 +19497,7 @@ printf "%s\n" "$as_me: WARNING: compiler options rejected: $tmp_options" >&2;} + + + ac_var_added_warnings="" +- for warning in ignored-qualifiers; do ++ for warning in missing-field-initializers; do + + ac_var_match_word="no" + for word1 in $CFLAGS; do +@@ -19505,6 +19516,67 @@ printf "%s\n" "$as_me: WARNING: compiler options rejected: $tmp_options" >&2;} + squeeze tmp_CFLAGS + + ++ ac_var_added_warnings="" ++ for warning in missing-noreturn; do ++ ++ ac_var_match_word="no" ++ for word1 in $CFLAGS; do ++ for word2 in -Wno-$warning -W$warning; do ++ if test "$word1" = "$word2"; then ++ ac_var_match_word="yes" ++ fi ++ done ++ done ++ ++ if test "$ac_var_match_word" = "no"; then ++ ac_var_added_warnings="$ac_var_added_warnings -W$warning" ++ fi ++ done ++ tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" ++ squeeze tmp_CFLAGS ++ ++ ++ ac_var_added_warnings="" ++ for warning in old-style-definition; do ++ ++ ac_var_match_word="no" ++ for word1 in $CFLAGS; do ++ for word2 in -Wno-$warning -W$warning; do ++ if test "$word1" = "$word2"; then ++ ac_var_match_word="yes" ++ fi ++ done ++ done ++ ++ if test "$ac_var_match_word" = "no"; then ++ ac_var_added_warnings="$ac_var_added_warnings -W$warning" ++ fi ++ done ++ tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" ++ squeeze tmp_CFLAGS ++ ++ ++ ac_var_added_warnings="" ++ for warning in redundant-decls; do ++ ++ ac_var_match_word="no" ++ for word1 in $CFLAGS; do ++ for word2 in -Wno-$warning -W$warning; do ++ if test "$word1" = "$word2"; then ++ ac_var_match_word="yes" ++ fi ++ done ++ done ++ ++ if test "$ac_var_match_word" = "no"; then ++ ac_var_added_warnings="$ac_var_added_warnings -W$warning" ++ fi ++ done ++ tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" ++ squeeze tmp_CFLAGS ++ ++ # CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [switch-enum]) # Not used because this basically disallows default case ++ + ac_var_added_warnings="" + for warning in type-limits; do + +@@ -19524,9 +19596,10 @@ printf "%s\n" "$as_me: WARNING: compiler options rejected: $tmp_options" >&2;} + tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" + squeeze tmp_CFLAGS + ++ # CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [unused-macros]) # Not practical + + ac_var_added_warnings="" +- for warning in no-sign-conversion; do ++ for warning in unreachable-code unused-parameter; do + + ac_var_match_word="no" + for word1 in $CFLAGS; do +@@ -19545,12 +19618,144 @@ printf "%s\n" "$as_me: WARNING: compiler options rejected: $tmp_options" >&2;} + squeeze tmp_CFLAGS + + fi ++ # ++ if test "$compiler_num" -ge "208"; then ++ ++ ac_var_added_warnings="" ++ for warning in ignored-qualifiers; do ++ ++ ac_var_match_word="no" ++ for word1 in $CFLAGS; do ++ for word2 in -Wno-$warning -W$warning; do ++ if test "$word1" = "$word2"; then ++ ac_var_match_word="yes" ++ fi ++ done ++ done ++ ++ if test "$ac_var_match_word" = "no"; then ++ ac_var_added_warnings="$ac_var_added_warnings -W$warning" ++ fi ++ done ++ tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" ++ squeeze tmp_CFLAGS ++ ++ ++ ac_var_added_warnings="" ++ for warning in vla; do ++ ++ ac_var_match_word="no" ++ for word1 in $CFLAGS; do ++ for word2 in -Wno-$warning -W$warning; do ++ if test "$word1" = "$word2"; then ++ ac_var_match_word="yes" ++ fi ++ done ++ done ++ ++ if test "$ac_var_match_word" = "no"; then ++ ac_var_added_warnings="$ac_var_added_warnings -W$warning" ++ fi ++ done ++ tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" ++ squeeze tmp_CFLAGS ++ ++ fi ++ # ++ if test "$compiler_num" -ge "209"; then ++ ++ ac_var_added_warnings="" ++ for warning in sign-conversion; do ++ ++ ac_var_match_word="no" ++ for word1 in $CFLAGS; do ++ for word2 in -Wno-$warning -W$warning; do ++ if test "$word1" = "$word2"; then ++ ac_var_match_word="yes" ++ fi ++ done ++ done ++ ++ if test "$ac_var_match_word" = "no"; then ++ ac_var_added_warnings="$ac_var_added_warnings -W$warning" ++ fi ++ done ++ tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" ++ squeeze tmp_CFLAGS ++ ++ tmp_CFLAGS="$tmp_CFLAGS -Wno-error=sign-conversion" # FIXME ++ ++ ac_var_added_warnings="" ++ for warning in shift-sign-overflow; do ++ ++ ac_var_match_word="no" ++ for word1 in $CFLAGS; do ++ for word2 in -Wno-$warning -W$warning; do ++ if test "$word1" = "$word2"; then ++ ac_var_match_word="yes" ++ fi ++ done ++ done ++ ++ if test "$ac_var_match_word" = "no"; then ++ ac_var_added_warnings="$ac_var_added_warnings -W$warning" ++ fi ++ done ++ tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" ++ squeeze tmp_CFLAGS ++ ++ # CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [padded]) # Not used because we cannot change public structs ++ fi ++ # ++ if test "$compiler_num" -ge "300"; then ++ ++ ac_var_added_warnings="" ++ for warning in language-extension-token; do ++ ++ ac_var_match_word="no" ++ for word1 in $CFLAGS; do ++ for word2 in -Wno-$warning -W$warning; do ++ if test "$word1" = "$word2"; then ++ ac_var_match_word="yes" ++ fi ++ done ++ done ++ ++ if test "$ac_var_match_word" = "no"; then ++ ac_var_added_warnings="$ac_var_added_warnings -W$warning" ++ fi ++ done ++ tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" ++ squeeze tmp_CFLAGS ++ ++ tmp_CFLAGS="$tmp_CFLAGS -Wformat=2" ++ fi + # + if test "$compiler_num" -ge "302"; then + + ac_var_added_warnings="" + for warning in enum-conversion; do + ++ ac_var_match_word="no" ++ for word1 in $CFLAGS; do ++ for word2 in -Wno-$warning -W$warning; do ++ if test "$word1" = "$word2"; then ++ ac_var_match_word="yes" ++ fi ++ done ++ done ++ ++ if test "$ac_var_match_word" = "no"; then ++ ac_var_added_warnings="$ac_var_added_warnings -W$warning" ++ fi ++ done ++ tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" ++ squeeze tmp_CFLAGS ++ ++ ++ ac_var_added_warnings="" ++ for warning in sometimes-uninitialized; do ++ + ac_var_match_word="no" + for word1 in $CFLAGS; do + for word2 in -Wno-$warning -W$warning; do +@@ -19597,9 +19802,72 @@ printf "%s\n" "$as_me: WARNING: compiler options rejected: $tmp_options" >&2;} + # + if test "$compiler_num" -ge "304"; then + ++ ac_var_added_warnings="" ++ for warning in header-guard; do ++ ++ ac_var_match_word="no" ++ for word1 in $CFLAGS; do ++ for word2 in -Wno-$warning -W$warning; do ++ if test "$word1" = "$word2"; then ++ ac_var_match_word="yes" ++ fi ++ done ++ done ++ ++ if test "$ac_var_match_word" = "no"; then ++ ac_var_added_warnings="$ac_var_added_warnings -W$warning" ++ fi ++ done ++ tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" ++ squeeze tmp_CFLAGS ++ ++ + ac_var_added_warnings="" + for warning in unused-const-variable; do + ++ ac_var_match_word="no" ++ for word1 in $CFLAGS; do ++ for word2 in -Wno-$warning -W$warning; do ++ if test "$word1" = "$word2"; then ++ ac_var_match_word="yes" ++ fi ++ done ++ done ++ ++ if test "$ac_var_match_word" = "no"; then ++ ac_var_added_warnings="$ac_var_added_warnings -W$warning" ++ fi ++ done ++ tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" ++ squeeze tmp_CFLAGS ++ ++ fi ++ # ++ if test "$compiler_num" -ge "305"; then ++ ++ ac_var_added_warnings="" ++ for warning in pragmas; do ++ ++ ac_var_match_word="no" ++ for word1 in $CFLAGS; do ++ for word2 in -Wno-$warning -W$warning; do ++ if test "$word1" = "$word2"; then ++ ac_var_match_word="yes" ++ fi ++ done ++ done ++ ++ if test "$ac_var_match_word" = "no"; then ++ ac_var_added_warnings="$ac_var_added_warnings -W$warning" ++ fi ++ done ++ tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" ++ squeeze tmp_CFLAGS ++ ++ ++ ac_var_added_warnings="" ++ for warning in unreachable-code-break; do ++ + ac_var_match_word="no" + for word1 in $CFLAGS; do + for word2 in -Wno-$warning -W$warning; do +@@ -19709,6 +19977,9 @@ printf "%s\n" "$as_me: WARNING: compiler options rejected: $tmp_options" >&2;} + tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" + squeeze tmp_CFLAGS + ++ fi ++ if test "$compiler_num" -ge "1000"; then ++ tmp_CFLAGS="$tmp_CFLAGS -Wimplicit-fallthrough" # we have silencing markup for clang 10.0 and above only + fi + fi + tmp_CFLAGS="$tmp_CFLAGS -Wno-pointer-bool-conversion" +@@ -19724,7 +19995,6 @@ printf "%s\n" "$as_me: WARNING: compiler options rejected: $tmp_options" >&2;} + GNU_C) + # + if test "$want_warnings" = "yes"; then +- tmp_CFLAGS="$tmp_CFLAGS -std=gnu89" + # + if test "x$cross_compiling" != "xyes" || + test "$compiler_num" -ge "300"; then +@@ -20030,6 +20300,158 @@ printf "%s\n" "$as_me: WARNING: compiler options rejected: $tmp_options" >&2;} + if test "$compiler_num" -ge "400"; then + tmp_CFLAGS="$tmp_CFLAGS -Wstrict-aliasing=3" + fi ++ # ++ if test "$compiler_num" -ge "401"; then ++ ++ ac_var_added_warnings="" ++ for warning in attributes; do ++ ++ ac_var_match_word="no" ++ for word1 in $CFLAGS; do ++ for word2 in -Wno-$warning -W$warning; do ++ if test "$word1" = "$word2"; then ++ ac_var_match_word="yes" ++ fi ++ done ++ done ++ ++ if test "$ac_var_match_word" = "no"; then ++ ac_var_added_warnings="$ac_var_added_warnings -W$warning" ++ fi ++ done ++ tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" ++ squeeze tmp_CFLAGS ++ ++ ++ ac_var_added_warnings="" ++ for warning in div-by-zero format-security; do ++ ++ ac_var_match_word="no" ++ for word1 in $CFLAGS; do ++ for word2 in -Wno-$warning -W$warning; do ++ if test "$word1" = "$word2"; then ++ ac_var_match_word="yes" ++ fi ++ done ++ done ++ ++ if test "$ac_var_match_word" = "no"; then ++ ac_var_added_warnings="$ac_var_added_warnings -W$warning" ++ fi ++ done ++ tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" ++ squeeze tmp_CFLAGS ++ ++ ++ ac_var_added_warnings="" ++ for warning in missing-field-initializers; do ++ ++ ac_var_match_word="no" ++ for word1 in $CFLAGS; do ++ for word2 in -Wno-$warning -W$warning; do ++ if test "$word1" = "$word2"; then ++ ac_var_match_word="yes" ++ fi ++ done ++ done ++ ++ if test "$ac_var_match_word" = "no"; then ++ ac_var_added_warnings="$ac_var_added_warnings -W$warning" ++ fi ++ done ++ tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" ++ squeeze tmp_CFLAGS ++ ++ case $host in ++ *-*-msys*) ++ ;; ++ *) ++ ++ ac_var_added_warnings="" ++ for warning in missing-noreturn; do ++ ++ ac_var_match_word="no" ++ for word1 in $CFLAGS; do ++ for word2 in -Wno-$warning -W$warning; do ++ if test "$word1" = "$word2"; then ++ ac_var_match_word="yes" ++ fi ++ done ++ done ++ ++ if test "$ac_var_match_word" = "no"; then ++ ac_var_added_warnings="$ac_var_added_warnings -W$warning" ++ fi ++ done ++ tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" ++ squeeze tmp_CFLAGS ++ # Seen to clash with libtool-generated stub code ++ ;; ++ esac ++ ++ ac_var_added_warnings="" ++ for warning in unreachable-code unused-parameter; do ++ ++ ac_var_match_word="no" ++ for word1 in $CFLAGS; do ++ for word2 in -Wno-$warning -W$warning; do ++ if test "$word1" = "$word2"; then ++ ac_var_match_word="yes" ++ fi ++ done ++ done ++ ++ if test "$ac_var_match_word" = "no"; then ++ ac_var_added_warnings="$ac_var_added_warnings -W$warning" ++ fi ++ done ++ tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" ++ squeeze tmp_CFLAGS ++ ++ # CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [padded]) # Not used because we cannot change public structs ++ ++ ac_var_added_warnings="" ++ for warning in pragmas; do ++ ++ ac_var_match_word="no" ++ for word1 in $CFLAGS; do ++ for word2 in -Wno-$warning -W$warning; do ++ if test "$word1" = "$word2"; then ++ ac_var_match_word="yes" ++ fi ++ done ++ done ++ ++ if test "$ac_var_match_word" = "no"; then ++ ac_var_added_warnings="$ac_var_added_warnings -W$warning" ++ fi ++ done ++ tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" ++ squeeze tmp_CFLAGS ++ ++ ++ ac_var_added_warnings="" ++ for warning in redundant-decls; do ++ ++ ac_var_match_word="no" ++ for word1 in $CFLAGS; do ++ for word2 in -Wno-$warning -W$warning; do ++ if test "$word1" = "$word2"; then ++ ac_var_match_word="yes" ++ fi ++ done ++ done ++ ++ if test "$ac_var_match_word" = "no"; then ++ ac_var_added_warnings="$ac_var_added_warnings -W$warning" ++ fi ++ done ++ tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" ++ squeeze tmp_CFLAGS ++ ++ # CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [switch-enum]) # Not used because this basically disallows default case ++ # CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [unused-macros]) # Not practical ++ fi + # + if test "$compiler_num" -ge "402"; then + +@@ -20056,6 +20478,26 @@ printf "%s\n" "$as_me: WARNING: compiler options rejected: $tmp_options" >&2;} + # + if test "$compiler_num" -ge "403"; then + ++ ac_var_added_warnings="" ++ for warning in address; do ++ ++ ac_var_match_word="no" ++ for word1 in $CFLAGS; do ++ for word2 in -Wno-$warning -W$warning; do ++ if test "$word1" = "$word2"; then ++ ac_var_match_word="yes" ++ fi ++ done ++ done ++ ++ if test "$ac_var_match_word" = "no"; then ++ ac_var_added_warnings="$ac_var_added_warnings -W$warning" ++ fi ++ done ++ tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" ++ squeeze tmp_CFLAGS ++ ++ + ac_var_added_warnings="" + for warning in type-limits old-style-declaration; do + +@@ -20117,7 +20559,27 @@ printf "%s\n" "$as_me: WARNING: compiler options rejected: $tmp_options" >&2;} + + + ac_var_added_warnings="" +- for warning in conversion; do ++ for warning in conversion trampolines; do ++ ++ ac_var_match_word="no" ++ for word1 in $CFLAGS; do ++ for word2 in -Wno-$warning -W$warning; do ++ if test "$word1" = "$word2"; then ++ ac_var_match_word="yes" ++ fi ++ done ++ done ++ ++ if test "$ac_var_match_word" = "no"; then ++ ac_var_added_warnings="$ac_var_added_warnings -W$warning" ++ fi ++ done ++ tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" ++ squeeze tmp_CFLAGS ++ ++ ++ ac_var_added_warnings="" ++ for warning in sign-conversion; do + + ac_var_match_word="no" + for word1 in $CFLAGS; do +@@ -20135,7 +20597,7 @@ printf "%s\n" "$as_me: WARNING: compiler options rejected: $tmp_options" >&2;} + tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings" + squeeze tmp_CFLAGS + +- tmp_CFLAGS="$tmp_CFLAGS -Wno-sign-conversion" ++ tmp_CFLAGS="$tmp_CFLAGS -Wno-error=sign-conversion" # FIXME + + ac_var_added_warnings="" + for warning in vla; do +@@ -20160,7 +20622,7 @@ printf "%s\n" "$as_me: WARNING: compiler options rejected: $tmp_options" >&2;} + fi + # + if test "$compiler_num" -ge "405"; then +- if test "$curl_cv_have_def__WIN32" = "yes"; then ++ if test "$curl_cv_native_windows" = "yes"; then + tmp_CFLAGS="$tmp_CFLAGS -Wno-pedantic-ms-format" + fi + fi +@@ -20344,9 +20806,7 @@ printf "%s\n" "$as_me: WARNING: compiler options rejected: $tmp_options" >&2;} + + tmp_CFLAGS="$tmp_CFLAGS -Wformat-overflow=2" + tmp_CFLAGS="$tmp_CFLAGS -Wformat-truncation=2" +- if test "$compiler_num" -lt "1200"; then +- tmp_CFLAGS="$tmp_CFLAGS -Wimplicit-fallthrough=4" +- fi ++ tmp_CFLAGS="$tmp_CFLAGS -Wimplicit-fallthrough" + fi + # + if test "$compiler_num" -ge "1000"; then +@@ -20448,13 +20908,6 @@ printf "%s\n" "$as_me: WARNING: compiler options rejected: $tmp_options" >&2;} + tmp_CFLAGS="$tmp_CFLAGS" + ;; + # +- LCC) +- # +- if test "$want_warnings" = "yes"; then +- tmp_CFLAGS="$tmp_CFLAGS" +- fi +- ;; +- # + SGI_MIPS_C) + # + if test "$want_warnings" = "yes"; then +@@ -21099,243 +21552,10 @@ fi + + + +- +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for windows.h" >&5 +-printf %s "checking for windows.h... " >&6; } +-if test ${curl_cv_header_windows_h+y} +-then : +- printf %s "(cached) " >&6 +-else $as_nop +- +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext +-/* end confdefs.h. */ +- +- +-#undef inline +-#ifndef WIN32_LEAN_AND_MEAN +-#define WIN32_LEAN_AND_MEAN +-#endif +-#include +- +-int main (void) +-{ +- +-#if defined(__CYGWIN__) || defined(__CEGCC__) +- HAVE_WINDOWS_H shall not be defined. +-#else +- int dummy=2*WINVER; +-#endif +- +- ; +- return 0; +-} +- +-_ACEOF +-if ac_fn_c_try_compile "$LINENO" +-then : +- +- curl_cv_header_windows_h="yes" +- +-else $as_nop +- +- curl_cv_header_windows_h="no" +- +-fi +-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +- +-fi +-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_header_windows_h" >&5 +-printf "%s\n" "$curl_cv_header_windows_h" >&6; } +- case "$curl_cv_header_windows_h" in +- yes) +- +-printf "%s\n" "#define HAVE_WINDOWS_H 1" >>confdefs.h +- +- ;; +- esac +- +- +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build target is a native Windows one" >&5 +-printf %s "checking whether build target is a native Windows one... " >&6; } +-if test ${curl_cv_native_windows+y} +-then : +- printf %s "(cached) " >&6 +-else $as_nop +- +- if test "$curl_cv_header_windows_h" = "no"; then +- curl_cv_native_windows="no" +- else +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext +-/* end confdefs.h. */ +- +- +- +-int main (void) +-{ +- +-#if defined(__MINGW32__) || defined(__MINGW32CE__) || \ +- (defined(_MSC_VER) && (defined(_WIN32) || defined(_WIN64))) +- int dummy=1; +-#else +- Not a native Windows build target. +-#endif +- +- ; +- return 0; +-} +- +-_ACEOF +-if ac_fn_c_try_compile "$LINENO" +-then : +- +- curl_cv_native_windows="yes" +- +-else $as_nop +- +- curl_cv_native_windows="no" +- +-fi +-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +- fi +- +-fi +-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_native_windows" >&5 +-printf "%s\n" "$curl_cv_native_windows" >&6; } +- if test "x$curl_cv_native_windows" = xyes; then +- DOING_NATIVE_WINDOWS_TRUE= +- DOING_NATIVE_WINDOWS_FALSE='#' +-else +- DOING_NATIVE_WINDOWS_TRUE='#' +- DOING_NATIVE_WINDOWS_FALSE= +-fi +- +- +-case X-"$curl_cv_native_windows" in +- X-yes) +- +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for winsock2.h" >&5 +-printf %s "checking for winsock2.h... " >&6; } +-if test ${curl_cv_header_winsock2_h+y} +-then : +- printf %s "(cached) " >&6 +-else $as_nop +- +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext +-/* end confdefs.h. */ +- +- +-#undef inline +-#ifndef WIN32_LEAN_AND_MEAN +-#define WIN32_LEAN_AND_MEAN +-#endif +-#include +-#include +- +-int main (void) +-{ +- +-#if defined(__CYGWIN__) || defined(__CEGCC__) || defined(__MINGW32CE__) +- HAVE_WINSOCK2_H shall not be defined. +-#else +- int dummy=2*IPPROTO_ESP; +-#endif +- +- ; +- return 0; +-} +- +-_ACEOF +-if ac_fn_c_try_compile "$LINENO" +-then : +- +- curl_cv_header_winsock2_h="yes" +- +-else $as_nop +- +- curl_cv_header_winsock2_h="no" +- +-fi +-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +- +-fi +-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_header_winsock2_h" >&5 +-printf "%s\n" "$curl_cv_header_winsock2_h" >&6; } +- case "$curl_cv_header_winsock2_h" in +- yes) +- +-printf "%s\n" "#define HAVE_WINSOCK2_H 1" >>confdefs.h +- +- ;; +- esac +- +- +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ws2tcpip.h" >&5 +-printf %s "checking for ws2tcpip.h... " >&6; } +-if test ${curl_cv_header_ws2tcpip_h+y} +-then : +- printf %s "(cached) " >&6 +-else $as_nop +- +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext +-/* end confdefs.h. */ +- +- +-#undef inline +-#ifndef WIN32_LEAN_AND_MEAN +-#define WIN32_LEAN_AND_MEAN +-#endif +-#include +-#include +-#include +- +-int main (void) +-{ +- +-#if defined(__CYGWIN__) || defined(__CEGCC__) || defined(__MINGW32CE__) +- HAVE_WS2TCPIP_H shall not be defined. +-#else +- int dummy=2*IP_PKTINFO; +-#endif +- +- ; +- return 0; +-} +- +-_ACEOF +-if ac_fn_c_try_compile "$LINENO" +-then : +- +- curl_cv_header_ws2tcpip_h="yes" +- +-else $as_nop +- +- curl_cv_header_ws2tcpip_h="no" +- +-fi +-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +- +-fi +-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_header_ws2tcpip_h" >&5 +-printf "%s\n" "$curl_cv_header_ws2tcpip_h" >&6; } +- case "$curl_cv_header_ws2tcpip_h" in +- yes) +- +-printf "%s\n" "#define HAVE_WS2TCPIP_H 1" >>confdefs.h +- +- ;; +- esac +- +- ;; +- *) +- curl_cv_header_winsock2_h="no" +- curl_cv_header_ws2tcpip_h="no" +- ;; +-esac +- + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build target supports WIN32 file API" >&5 + printf %s "checking whether build target supports WIN32 file API... " >&6; } + curl_win32_file_api="no" +- if test "$curl_cv_header_windows_h" = "yes"; then ++ if test "$curl_cv_native_windows" = "yes"; then + if test x"$enable_largefile" != "xno"; then + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ +@@ -21345,9 +21565,7 @@ printf %s "checking whether build target supports WIN32 file API... " >&6; } + int main (void) + { + +-#if !defined(_WIN32_WCE) && \ +- (defined(__MINGW32__) || \ +- (defined(_MSC_VER) && (defined(_WIN32) || defined(_WIN64)))) ++#if !defined(_WIN32_WCE) && (defined(__MINGW32__) || defined(_MSC_VER)) + int dummy=1; + #else + WIN32 large file API not supported. +@@ -21424,7 +21642,7 @@ printf "%s\n" "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build target supports WIN32 crypto API" >&5 + printf %s "checking whether build target supports WIN32 crypto API... " >&6; } + curl_win32_crypto_api="no" +- if test "$curl_cv_header_windows_h" = "yes"; then ++ if test "$curl_cv_native_windows" = "yes"; then + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + +@@ -22065,7 +22283,6 @@ then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Hyper support is experimental" >&5 + printf "%s\n" "$as_me: Hyper support is experimental" >&6;} + curl_h1_msg="enabled (Hyper)" +- curl_h2_msg=$curl_h1_msg + HYPER_ENABLED=1 + + printf "%s\n" "#define USE_HYPER 1" >>confdefs.h +@@ -22403,6 +22620,32 @@ fi + + + ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build documentation" >&5 ++printf %s "checking whether to build documentation... " >&6; } ++# Check whether --enable-docs was given. ++if test ${enable_docs+y} ++then : ++ enableval=$enable_docs; case "$enableval" in ++ no) ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++ BUILD_DOCS=0 ++ curl_docs_msg="no" ++ ;; ++ *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++ BUILD_DOCS=1 ++ ;; ++ esac ++else $as_nop ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++ BUILD_DOCS=1 ++ ++fi ++ ++ ++ + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to provide built-in manual" >&5 + printf %s "checking whether to provide built-in manual... " >&6; } + # Check whether --enable-manual was given. +@@ -22694,10 +22937,8 @@ fi + + if test "$HAVE_GETHOSTBYNAME" != "1" + then +- if test "$curl_cv_header_windows_h" = "yes"; then +- if test "$curl_cv_header_winsock2_h" = "yes"; then +- winsock_LIB="-lws2_32" +- fi ++ if test "$curl_cv_native_windows" = "yes"; then ++ winsock_LIB="-lws2_32" + if test ! -z "$winsock_LIB"; then + my_ac_save_LIBS=$LIBS + LIBS="$winsock_LIB $LIBS" +@@ -22707,15 +22948,12 @@ printf %s "checking for gethostbyname in $winsock_LIB... " >&6; } + /* end confdefs.h. */ + + +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + #ifndef WIN32_LEAN_AND_MEAN + #define WIN32_LEAN_AND_MEAN + #endif +-#include +-#ifdef HAVE_WINSOCK2_H + #include + #endif +-#endif + + int main (void) + { +@@ -22926,20 +23164,17 @@ fi + + curl_includes_winsock2="\ + /* includes start */ +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + # ifndef WIN32_LEAN_AND_MEAN + # define WIN32_LEAN_AND_MEAN + # endif +-# include +-# ifdef HAVE_WINSOCK2_H +-# include +-# endif ++# include + #endif + /* includes end */" + +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for windows.h" >&5 +-printf %s "checking for windows.h... " >&6; } +-if test ${curl_cv_header_windows_h+y} ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build target is a native Windows one" >&5 ++printf %s "checking whether build target is a native Windows one... " >&6; } ++if test ${curl_cv_native_windows+y} + then : + printf %s "(cached) " >&6 + else $as_nop +@@ -22948,19 +23183,14 @@ else $as_nop + /* end confdefs.h. */ + + +-#undef inline +-#ifndef WIN32_LEAN_AND_MEAN +-#define WIN32_LEAN_AND_MEAN +-#endif +-#include + + int main (void) + { + +-#if defined(__CYGWIN__) || defined(__CEGCC__) +- HAVE_WINDOWS_H shall not be defined. ++#ifdef _WIN32 ++ int dummy=1; + #else +- int dummy=2*WINVER; ++ Not a native Windows build target. + #endif + + ; +@@ -22971,81 +23201,26 @@ _ACEOF + if ac_fn_c_try_compile "$LINENO" + then : + +- curl_cv_header_windows_h="yes" ++ curl_cv_native_windows="yes" + + else $as_nop + +- curl_cv_header_windows_h="no" ++ curl_cv_native_windows="no" + + fi + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + + fi +-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_header_windows_h" >&5 +-printf "%s\n" "$curl_cv_header_windows_h" >&6; } +- case "$curl_cv_header_windows_h" in +- yes) +- +-printf "%s\n" "#define HAVE_WINDOWS_H 1" >>confdefs.h +- +- ;; +- esac +- +- +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for winsock2.h" >&5 +-printf %s "checking for winsock2.h... " >&6; } +-if test ${curl_cv_header_winsock2_h+y} +-then : +- printf %s "(cached) " >&6 +-else $as_nop +- +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext +-/* end confdefs.h. */ +- +- +-#undef inline +-#ifndef WIN32_LEAN_AND_MEAN +-#define WIN32_LEAN_AND_MEAN +-#endif +-#include +-#include +- +-int main (void) +-{ +- +-#if defined(__CYGWIN__) || defined(__CEGCC__) || defined(__MINGW32CE__) +- HAVE_WINSOCK2_H shall not be defined. +-#else +- int dummy=2*IPPROTO_ESP; +-#endif +- +- ; +- return 0; +-} +- +-_ACEOF +-if ac_fn_c_try_compile "$LINENO" +-then : +- +- curl_cv_header_winsock2_h="yes" +- +-else $as_nop +- +- curl_cv_header_winsock2_h="no" +- +-fi +-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +- ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_native_windows" >&5 ++printf "%s\n" "$curl_cv_native_windows" >&6; } ++ if test "x$curl_cv_native_windows" = xyes; then ++ DOING_NATIVE_WINDOWS_TRUE= ++ DOING_NATIVE_WINDOWS_FALSE='#' ++else ++ DOING_NATIVE_WINDOWS_TRUE='#' ++ DOING_NATIVE_WINDOWS_FALSE= + fi +-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_header_winsock2_h" >&5 +-printf "%s\n" "$curl_cv_header_winsock2_h" >&6; } +- case "$curl_cv_header_winsock2_h" in +- yes) +- +-printf "%s\n" "#define HAVE_WINSOCK2_H 1" >>confdefs.h + +- ;; +- esac + + + +@@ -23089,7 +23264,7 @@ printf %s "checking for connect in libraries... " >&6; } + + $curl_includes_winsock2 + $curl_includes_bsdsocket +- #if !defined(HAVE_WINDOWS_H) && !defined(HAVE_PROTO_BSDSOCKET_H) ++ #if !defined(_WIN32) && !defined(HAVE_PROTO_BSDSOCKET_H) + int connect(int, void*, int); + #endif + +@@ -24369,7 +24544,7 @@ else $as_nop + + + #undef inline +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + #ifndef WIN32_LEAN_AND_MEAN + #define WIN32_LEAN_AND_MEAN + #endif +@@ -24421,7 +24596,7 @@ printf "%s\n" "#define HAVE_LBER_H 1" >>confdefs.h + + + #undef inline +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + #ifndef WIN32_LEAN_AND_MEAN + #define WIN32_LEAN_AND_MEAN + #endif +@@ -24485,7 +24660,7 @@ else $as_nop + + + #undef inline +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + #ifndef WIN32_LEAN_AND_MEAN + #define WIN32_LEAN_AND_MEAN + #endif +@@ -24550,7 +24725,7 @@ else $as_nop + + + #undef inline +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + #ifndef WIN32_LEAN_AND_MEAN + #define WIN32_LEAN_AND_MEAN + #endif +@@ -24709,7 +24884,7 @@ printf %s "checking for LDAP libraries... " >&6; } + + + #undef inline +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + #ifndef WIN32_LEAN_AND_MEAN + #define WIN32_LEAN_AND_MEAN + #endif +@@ -24939,7 +25114,7 @@ else $as_nop + + /* are AF_INET6 and sockaddr_in6 available? */ + #include +-#ifdef HAVE_WINSOCK2_H ++#ifdef _WIN32 + #include + #include + #else +@@ -24949,15 +25124,12 @@ else $as_nop + # include + #endif + #endif +-#include /* for exit() */ +-main() ++ ++int main(void) + { + struct sockaddr_in6 s; + (void)s; +- if (socket(AF_INET6, SOCK_STREAM, 0) < 0) +- exit(1); +- else +- exit(0); ++ return socket(AF_INET6, SOCK_STREAM, 0) < 0; + } + + +@@ -24993,7 +25165,7 @@ printf %s "checking if struct sockaddr_in6 has sin6_scope_id member... " >&6; } + /* end confdefs.h. */ + + #include +-#ifdef HAVE_WINSOCK2_H ++#ifdef _WIN32 + #include + #include + #else +@@ -25527,10 +25699,6 @@ done + if test "x$ac_cv_header_gssapi_h" = xyes + then : + +- +-printf "%s\n" "#define HAVE_GSSHEIMDAL 1" >>confdefs.h +- +- + else $as_nop + + want_gss=no +@@ -25541,10 +25709,7 @@ printf "%s\n" "$as_me: WARNING: disabling GSS-API support since no header files + fi + + else +- +-printf "%s\n" "#define HAVE_GSSMIT 1" >>confdefs.h +- +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if GSS-API headers declare GSS_C_NT_HOSTBASED_SERVICE" >&5 ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if GSS-API headers declare GSS_C_NT_HOSTBASED_SERVICE" >&5 + printf %s "checking if GSS-API headers declare GSS_C_NT_HOSTBASED_SERVICE... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ +@@ -26090,7 +26255,7 @@ int main (void) + { + + #if defined(AMISSL_CURRENT_VERSION) && defined(AMISSL_V3xx) && \ +- defined(OPENSSL_VERSION_MAJOR) && (OPENSSL_VERSION_MAJOR >= 3) && \ ++ (OPENSSL_VERSION_NUMBER >= 0x30000000L) && \ + defined(PROTO_AMISSL_H) + return 0; + #else +@@ -26827,6 +26992,7 @@ then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 + printf "%s\n" "yes" >&6; } + ssl_msg="BoringSSL" ++ OPENSSL_IS_BORINGSSL=1 + + else $as_nop + +@@ -26862,6 +27028,7 @@ then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 + printf "%s\n" "yes" >&6; } + ssl_msg="AWS-LC" ++ OPENSSL_IS_BORINGSSL=1 + + else $as_nop + +@@ -26918,7 +27085,7 @@ printf %s "checking for OpenSSL >= v3... " >&6; } + int main (void) + { + +- #if defined(OPENSSL_VERSION_MAJOR) && (OPENSSL_VERSION_MAJOR >= 3) ++ #if (OPENSSL_VERSION_NUMBER >= 0x30000000L) + return 0; + #else + #error older than 3 +@@ -26948,6 +27115,25 @@ fi + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + fi + ++ ++ for ac_func in SSL_set_quic_use_legacy_codepoint ++do : ++ ac_fn_c_check_func "$LINENO" "SSL_set_quic_use_legacy_codepoint" "ac_cv_func_SSL_set_quic_use_legacy_codepoint" ++if test "x$ac_cv_func_SSL_set_quic_use_legacy_codepoint" = xyes ++then : ++ printf "%s\n" "#define HAVE_SSL_SET_QUIC_USE_LEGACY_CODEPOINT 1" >>confdefs.h ++ QUIC_ENABLED=yes ++fi ++ ++done ++ if test "$QUIC_ENABLED" = "yes"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: OpenSSL fork speaks QUIC API" >&5 ++printf "%s\n" "$as_me: OpenSSL fork speaks QUIC API" >&6;} ++ else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: OpenSSL version does not speak QUIC API" >&5 ++printf "%s\n" "$as_me: OpenSSL version does not speak QUIC API" >&6;} ++ fi ++ + if test "$OPENSSL_ENABLED" = "1"; then + if test -n "$LIB_OPENSSL"; then + if test "x$cross_compiling" != "xyes"; then +@@ -27078,6 +27264,45 @@ fi + + fi + ++if test "$OPENSSL_ENABLED" = "1"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for QUIC support in OpenSSL" >&5 ++printf %s "checking for QUIC support in OpenSSL... " >&6; } ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ ++#include ++ ++int main (void) ++{ ++ ++ OSSL_QUIC_client_method(); ++ ++ ; ++ return 0; ++} ++ ++_ACEOF ++if ac_fn_c_try_link "$LINENO" ++then : ++ ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++ ++printf "%s\n" "#define HAVE_OPENSSL_QUIC 1" >>confdefs.h ++ ++ HAVE_OPENSSL_QUIC=1 ++ ++ ++else $as_nop ++ ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++ ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ ++ conftest$ac_exeext conftest.$ac_ext ++fi + + + if test "x$OPT_GNUTLS" != xno; then +@@ -27323,6 +27548,7 @@ printf "%s\n" "#define USE_GNUTLS 1" >>confdefs.h + GNUTLS_ENABLED=1 + USE_GNUTLS="yes" + ssl_msg="GnuTLS" ++ QUIC_ENABLED=yes + test gnutls != "$DEFAULT_SSL_BACKEND" || VALID_DEFAULT_SSL_BACKEND=yes + + else $as_nop +@@ -27914,6 +28140,7 @@ printf "%s\n" "#define USE_WOLFSSL 1" >>confdefs.h + WOLFSSL_ENABLED=1 + USE_WOLFSSL="yes" + ssl_msg="WolfSSL" ++ QUIC_ENABLED=yes + test wolfssl != "$DEFAULT_SSL_BACKEND" || VALID_DEFAULT_SSL_BACKEND=yes + + else $as_nop +@@ -28207,29 +28434,61 @@ fi + + + if test "x$OPT_RUSTLS" != xno; then +- _cppflags=$CPPFLAGS +- _ldflags=$LDFLAGS + ssl_msg= + +- if test X"$OPT_RUSTLS" != Xno; then ++ CLEANLDFLAGS="$LDFLAGS" ++ CLEANCPPFLAGS="$CPPFLAGS" + +- if test "$OPT_RUSTLS" = "yes"; then +- OPT_RUSTLS="" +- fi ++ case $host_os in ++ darwin*) ++ LDFLAGS="$LDFLAGS -framework Security" ++ ;; ++ *) ++ ;; ++ esac ++ ## NEW CODE + +- case $host_os in +- darwin*) +- LDFLAGS="$LDFLAGS -framework Security" +- ;; +- *) +- ;; +- esac + +- if test -z "$OPT_RUSTLS" ; then ++ case "$OPT_RUSTLS" in ++ yes) ++ PKGTEST="yes" ++ PREFIX_RUSTLS= ++ ;; ++ *) ++ PKGTEST="no" ++ PREFIX_RUSTLS=$OPT_RUSTLS ++ ++ ++ RUSTLS_PCDIR="$PREFIX_RUSTLS/lib/pkgconfig" ++ if test -f "$RUSTLS_PCDIR/rustls.pc"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: PKG_CONFIG_LIBDIR will be set to \"$RUSTLS_PCDIR\"" >&5 ++printf "%s\n" "$as_me: PKG_CONFIG_LIBDIR will be set to \"$RUSTLS_PCDIR\"" >&6;} ++ PKGTEST="yes" ++ fi ++ ++ if test "$PKGTEST" != "yes"; then ++ # try lib64 instead ++ RUSTLS_PCDIR="$PREFIX_RUSTLS/lib64/pkgconfig" ++ if test -f "$RUSTLS_PCDIR/rustls.pc"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: PKG_CONFIG_LIBDIR will be set to \"$RUSTLS_PCDIR\"" >&5 ++printf "%s\n" "$as_me: PKG_CONFIG_LIBDIR will be set to \"$RUSTLS_PCDIR\"" >&6;} ++ PKGTEST="yes" ++ fi ++ fi + +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for rustls_client_session_read in -lrustls" >&5 +-printf %s "checking for rustls_client_session_read in -lrustls... " >&6; } +-if test ${ac_cv_lib_rustls_rustls_client_session_read+y} ++ if test "$PKGTEST" != "yes"; then ++ ++ addld=-L$PREFIX_RUSTLS/lib$libsuff ++ addcflags=-I$PREFIX_RUSTLS/include ++ ++ LDFLAGS="$LDFLAGS $addld" ++ if test "$addcflags" != "-I/usr/include"; then ++ CPPFLAGS="$CPPFLAGS $addcflags" ++ fi ++ ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for rustls_connection_read in -lrustls" >&5 ++printf %s "checking for rustls_connection_read in -lrustls... " >&6; } ++if test ${ac_cv_lib_rustls_rustls_connection_read+y} + then : + printf %s "(cached) " >&6 + else $as_nop +@@ -28242,125 +28501,256 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + #ifdef __cplusplus + extern "C" + #endif +-char rustls_client_session_read (); ++char rustls_connection_read (); + int main (void) + { +-return rustls_client_session_read (); ++return rustls_connection_read (); + ; + return 0; + } + _ACEOF + if ac_fn_c_try_link "$LINENO" + then : +- ac_cv_lib_rustls_rustls_client_session_read=yes ++ ac_cv_lib_rustls_rustls_connection_read=yes + else $as_nop +- ac_cv_lib_rustls_rustls_client_session_read=no ++ ac_cv_lib_rustls_rustls_connection_read=no + fi + rm -f core conftest.err conftest.$ac_objext conftest.beam \ + conftest$ac_exeext conftest.$ac_ext + LIBS=$ac_check_lib_save_LIBS + fi +-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rustls_rustls_client_session_read" >&5 +-printf "%s\n" "$ac_cv_lib_rustls_rustls_client_session_read" >&6; } +-if test "x$ac_cv_lib_rustls_rustls_client_session_read" = xyes ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rustls_rustls_connection_read" >&5 ++printf "%s\n" "$ac_cv_lib_rustls_rustls_connection_read" >&6; } ++if test "x$ac_cv_lib_rustls_rustls_connection_read" = xyes + then : + + + printf "%s\n" "#define USE_RUSTLS 1" >>confdefs.h + +- USE_RUSTLS=1 ++ USE_RUSTLS=1 + +- RUSTLS_ENABLED=1 +- USE_RUSTLS="yes" +- ssl_msg="rustls" +- test rustls != "$DEFAULT_SSL_BACKEND" || VALID_DEFAULT_SSL_BACKEND=yes ++ RUSTLS_ENABLED=1 ++ USE_RUSTLS="yes" ++ ssl_msg="rustls" ++ test rustls != "$DEFAULT_SSL_BACKEND" || VALID_DEFAULT_SSL_BACKEND=yes + ++else $as_nop ++ as_fn_error $? "--with-rustls was specified but could not find rustls." "$LINENO" 5 + fi + +- fi + +- if test "x$USE_RUSTLS" != "xyes"; then +- addld=-L$OPT_RUSTLS/lib$libsuff +- addcflags=-I$OPT_RUSTLS/include +- rustlslib=$OPT_RUSTLS/lib$libsuff ++ USE_RUSTLS="yes" ++ ssl_msg="rustls" + +- LDFLAGS="$LDFLAGS $addld" +- if test "$addcflags" != "-I/usr/include"; then +- CPPFLAGS="$CPPFLAGS $addcflags" ++ LIB_RUSTLS="$PREFIX_RUSTLS/lib$libsuff" ++ if test "$PREFIX_RUSTLS" != "/usr" ; then ++ SSL_LDFLAGS="-L$LIB_RUSTLS" ++ SSL_CPPFLAGS="-I$PREFIX_RUSTLS/include" ++ fi + fi ++ ;; ++ esac + +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for rustls_connection_read in -lrustls" >&5 +-printf %s "checking for rustls_connection_read in -lrustls... " >&6; } +-if test ${ac_cv_lib_rustls_rustls_connection_read+y} ++ if test "$PKGTEST" = "yes"; then ++ ++ ++ if test -n "$PKG_CONFIG"; then ++ PKGCONFIG="$PKG_CONFIG" ++ else ++ if test -n "$ac_tool_prefix"; then ++ # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. ++set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_path_PKGCONFIG+y} + then : + printf %s "(cached) " >&6 + else $as_nop +- ac_check_lib_save_LIBS=$LIBS +-LIBS="-lrustls -lpthread -ldl -lm $LIBS" +-cat confdefs.h - <<_ACEOF >conftest.$ac_ext +-/* end confdefs.h. */ ++ case $PKGCONFIG in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_PKGCONFIG="$PKGCONFIG" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++as_dummy="$PATH:/usr/bin:/usr/local/bin" ++for as_dir in $as_dummy ++do ++ IFS=$as_save_IFS ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ++ ac_cv_path_PKGCONFIG="$as_dir$ac_word$ac_exec_ext" ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS + ++ ;; ++esac ++fi ++PKGCONFIG=$ac_cv_path_PKGCONFIG ++if test -n "$PKGCONFIG"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5 ++printf "%s\n" "$PKGCONFIG" >&6; } ++else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++fi + +-#ifdef __cplusplus +-extern "C" +-#endif +-char rustls_connection_read (); +-int main (void) +-{ +-return rustls_connection_read (); +- ; +- return 0; +-} +-_ACEOF +-if ac_fn_c_try_link "$LINENO" ++ ++fi ++if test -z "$ac_cv_path_PKGCONFIG"; then ++ ac_pt_PKGCONFIG=$PKGCONFIG ++ # Extract the first word of "pkg-config", so it can be a program name with args. ++set dummy pkg-config; ac_word=$2 ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_path_ac_pt_PKGCONFIG+y} + then : +- ac_cv_lib_rustls_rustls_connection_read=yes ++ printf %s "(cached) " >&6 + else $as_nop +- ac_cv_lib_rustls_rustls_connection_read=no ++ case $ac_pt_PKGCONFIG in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_ac_pt_PKGCONFIG="$ac_pt_PKGCONFIG" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++as_dummy="$PATH:/usr/bin:/usr/local/bin" ++for as_dir in $as_dummy ++do ++ IFS=$as_save_IFS ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ++ ac_cv_path_ac_pt_PKGCONFIG="$as_dir$ac_word$ac_exec_ext" ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++ ;; ++esac + fi +-rm -f core conftest.err conftest.$ac_objext conftest.beam \ +- conftest$ac_exeext conftest.$ac_ext +-LIBS=$ac_check_lib_save_LIBS ++ac_pt_PKGCONFIG=$ac_cv_path_ac_pt_PKGCONFIG ++if test -n "$ac_pt_PKGCONFIG"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5 ++printf "%s\n" "$ac_pt_PKGCONFIG" >&6; } ++else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + fi +-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rustls_rustls_connection_read" >&5 +-printf "%s\n" "$ac_cv_lib_rustls_rustls_connection_read" >&6; } +-if test "x$ac_cv_lib_rustls_rustls_connection_read" = xyes +-then : + ++ if test "x$ac_pt_PKGCONFIG" = x; then ++ PKGCONFIG="no" ++ else ++ case $cross_compiling:$ac_tool_warned in ++yes:) ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 ++printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ++ac_tool_warned=yes ;; ++esac ++ PKGCONFIG=$ac_pt_PKGCONFIG ++ fi ++else ++ PKGCONFIG="$ac_cv_path_PKGCONFIG" ++fi + +-printf "%s\n" "#define USE_RUSTLS 1" >>confdefs.h ++ fi + +- USE_RUSTLS=1 ++ if test "x$PKGCONFIG" != "xno"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for rustls options with pkg-config" >&5 ++printf %s "checking for rustls options with pkg-config... " >&6; } ++ itexists=` ++ if test -n "$RUSTLS_PCDIR"; then ++ PKG_CONFIG_LIBDIR="$RUSTLS_PCDIR" ++ export PKG_CONFIG_LIBDIR ++ fi ++ $PKGCONFIG --exists rustls >/dev/null 2>&1 && echo 1` + +- RUSTLS_ENABLED=1 +- USE_RUSTLS="yes" +- ssl_msg="rustls" +- test rustls != "$DEFAULT_SSL_BACKEND" || VALID_DEFAULT_SSL_BACKEND=yes ++ if test -z "$itexists"; then ++ PKGCONFIG="no" ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++ else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5 ++printf "%s\n" "found" >&6; } ++ fi ++ fi + +-else $as_nop +- as_fn_error $? "--with-rustls was specified but could not find rustls." "$LINENO" 5 +-fi + ++ if test "$PKGCONFIG" != "no" ; then ++ SSL_LIBS=` ++ if test -n "$RUSTLS_PCDIR"; then ++ PKG_CONFIG_LIBDIR="$RUSTLS_PCDIR" ++ export PKG_CONFIG_LIBDIR + fi ++ $PKGCONFIG --libs-only-l --libs-only-other rustls 2>/dev/null` + +- if test "x$USE_RUSTLS" = "xyes"; then +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: detected rustls" >&5 +-printf "%s\n" "$as_me: detected rustls" >&6;} +- check_for_ca_bundle=1 ++ SSL_LDFLAGS=` ++ if test -n "$RUSTLS_PCDIR"; then ++ PKG_CONFIG_LIBDIR="$RUSTLS_PCDIR" ++ export PKG_CONFIG_LIBDIR ++ fi ++ $PKGCONFIG --libs-only-L rustls 2>/dev/null` ++ ++ SSL_CPPFLAGS=` ++ if test -n "$RUSTLS_PCDIR"; then ++ PKG_CONFIG_LIBDIR="$RUSTLS_PCDIR" ++ export PKG_CONFIG_LIBDIR ++ fi ++ $PKGCONFIG --cflags-only-I rustls 2>/dev/null` + +- LIBS="-lrustls -lpthread -ldl -lm $LIBS" + +- if test -n "$rustlslib"; then +- if test "x$cross_compiling" != "xyes"; then +- CURL_LIBRARY_PATH="$CURL_LIBRARY_PATH:$rustlslib" +- export CURL_LIBRARY_PATH +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Added $rustlslib to CURL_LIBRARY_PATH" >&5 +-printf "%s\n" "$as_me: Added $rustlslib to CURL_LIBRARY_PATH" >&6;} +- fi +- fi ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: pkg-config: SSL_LIBS: \"$SSL_LIBS\"" >&5 ++printf "%s\n" "$as_me: pkg-config: SSL_LIBS: \"$SSL_LIBS\"" >&6;} ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: pkg-config: SSL_LDFLAGS: \"$SSL_LDFLAGS\"" >&5 ++printf "%s\n" "$as_me: pkg-config: SSL_LDFLAGS: \"$SSL_LDFLAGS\"" >&6;} ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: pkg-config: SSL_CPPFLAGS: \"$SSL_CPPFLAGS\"" >&5 ++printf "%s\n" "$as_me: pkg-config: SSL_CPPFLAGS: \"$SSL_CPPFLAGS\"" >&6;} ++ ++ LIB_RUSTLS=`echo $SSL_LDFLAGS | sed -e 's/^-L//'` ++ ++ LIBS="$SSL_LIBS $LIBS" ++ USE_RUSTLS="yes" ++ ssl_msg="rustls" ++ else ++ as_fn_error $? "pkg-config: Could not find rustls" "$LINENO" 5 + fi + ++ else ++ LIBS="-lrustls -lpthread -ldl -lm $LIBS" ++ fi ++ ++ CPPFLAGS="$CLEAN_CPPFLAGS $SSL_CPPFLAGS" ++ LDFLAGS="$CLAN_LDFLAGS $SSL_LDFLAGS" ++ ++ if test "x$USE_RUSTLS" = "xyes"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: detected rustls" >&5 ++printf "%s\n" "$as_me: detected rustls" >&6;} ++ check_for_ca_bundle=1 ++ ++ if test -n "$LIB_RUSTLS"; then ++ if test "x$cross_compiling" != "xyes"; then ++ CURL_LIBRARY_PATH="$CURL_LIBRARY_PATH:$LIB_RUSTLS" ++ export CURL_LIBRARY_PATH ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Added $LIB_RUSTLS to CURL_LIBRARY_PATH" >&5 ++printf "%s\n" "$as_me: Added $LIB_RUSTLS to CURL_LIBRARY_PATH" >&6;} ++ fi ++ fi + fi ++ + test -z "$ssl_msg" || ssl_backends="${ssl_backends:+$ssl_backends, }$ssl_msg" + fi + +@@ -28597,23 +28987,194 @@ printf "%s\n" "#define CURL_CA_FALLBACK 1" >>confdefs.h + fi + + ++OPT_LIBPSL=off + + # Check whether --with-libpsl was given. + if test ${with_libpsl+y} + then : +- withval=$with_libpsl; with_libpsl=$withval ++ withval=$with_libpsl; OPT_LIBPSL=$withval ++fi ++ ++ ++if test X"$OPT_LIBPSL" != Xno; then ++ CLEANLDFLAGS="$LDFLAGS" ++ CLEANCPPFLAGS="$CPPFLAGS" ++ CLEANLIBS="$LIBS" ++ ++ case "$OPT_LIBPSL" in ++ yes) ++ ++ if test -n "$PKG_CONFIG"; then ++ PKGCONFIG="$PKG_CONFIG" ++ else ++ if test -n "$ac_tool_prefix"; then ++ # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. ++set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_path_PKGCONFIG+y} ++then : ++ printf %s "(cached) " >&6 + else $as_nop +- with_libpsl=yes ++ case $PKGCONFIG in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_PKGCONFIG="$PKGCONFIG" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++as_dummy="$PATH:/usr/bin:/usr/local/bin" ++for as_dir in $as_dummy ++do ++ IFS=$as_save_IFS ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ++ ac_cv_path_PKGCONFIG="$as_dir$ac_word$ac_exec_ext" ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++ ;; ++esac ++fi ++PKGCONFIG=$ac_cv_path_PKGCONFIG ++if test -n "$PKGCONFIG"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5 ++printf "%s\n" "$PKGCONFIG" >&6; } ++else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + fi + +-if test $with_libpsl != "no"; then +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing psl_builtin" >&5 +-printf %s "checking for library containing psl_builtin... " >&6; } +-if test ${ac_cv_search_psl_builtin+y} ++ ++fi ++if test -z "$ac_cv_path_PKGCONFIG"; then ++ ac_pt_PKGCONFIG=$PKGCONFIG ++ # Extract the first word of "pkg-config", so it can be a program name with args. ++set dummy pkg-config; ac_word=$2 ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_path_ac_pt_PKGCONFIG+y} + then : + printf %s "(cached) " >&6 + else $as_nop +- ac_func_search_save_LIBS=$LIBS ++ case $ac_pt_PKGCONFIG in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_ac_pt_PKGCONFIG="$ac_pt_PKGCONFIG" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++as_dummy="$PATH:/usr/bin:/usr/local/bin" ++for as_dir in $as_dummy ++do ++ IFS=$as_save_IFS ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ++ ac_cv_path_ac_pt_PKGCONFIG="$as_dir$ac_word$ac_exec_ext" ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++ ;; ++esac ++fi ++ac_pt_PKGCONFIG=$ac_cv_path_ac_pt_PKGCONFIG ++if test -n "$ac_pt_PKGCONFIG"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5 ++printf "%s\n" "$ac_pt_PKGCONFIG" >&6; } ++else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++fi ++ ++ if test "x$ac_pt_PKGCONFIG" = x; then ++ PKGCONFIG="no" ++ else ++ case $cross_compiling:$ac_tool_warned in ++yes:) ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 ++printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ++ac_tool_warned=yes ;; ++esac ++ PKGCONFIG=$ac_pt_PKGCONFIG ++ fi ++else ++ PKGCONFIG="$ac_cv_path_PKGCONFIG" ++fi ++ ++ fi ++ ++ if test "x$PKGCONFIG" != "xno"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libpsl options with pkg-config" >&5 ++printf %s "checking for libpsl options with pkg-config... " >&6; } ++ itexists=` ++ if test -n ""; then ++ PKG_CONFIG_LIBDIR="" ++ export PKG_CONFIG_LIBDIR ++ fi ++ $PKGCONFIG --exists libpsl >/dev/null 2>&1 && echo 1` ++ ++ if test -z "$itexists"; then ++ PKGCONFIG="no" ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++ else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5 ++printf "%s\n" "found" >&6; } ++ fi ++ fi ++ ++ ++ if test "$PKGCONFIG" != "no" ; then ++ LIB_PSL=`$PKGCONFIG --libs-only-l libpsl` ++ LD_PSL=`$PKGCONFIG --libs-only-L libpsl` ++ CPP_PSL=`$PKGCONFIG --cflags-only-I libpsl` ++ else ++ LIB_PSL="-lpsl" ++ fi ++ ++ ;; ++ off) ++ LIB_PSL="-lpsl" ++ ;; ++ *) ++ LIB_PSL="-lpsl" ++ PREFIX_PSL=$OPT_LIBPSL ++ ;; ++ esac ++ ++ if test -n "$PREFIX_PSL"; then ++ LD_PSL=-L${PREFIX_PSL}/lib$libsuff ++ CPP_PSL=-I${PREFIX_PSL}/include ++ fi ++ ++ LDFLAGS="$LDFLAGS $LD_PSL" ++ CPPFLAGS="$CPPFLAGS $CPP_PSL" ++ LIBS="$LIB_PSL $LIBS" ++ ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for psl_builtin in -lpsl" >&5 ++printf %s "checking for psl_builtin in -lpsl... " >&6; } ++if test ${ac_cv_lib_psl_psl_builtin+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lpsl $LIBS" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + +@@ -28629,53 +29190,51 @@ return psl_builtin (); + return 0; + } + _ACEOF +-for ac_lib in '' psl +-do +- if test -z "$ac_lib"; then +- ac_res="none required" +- else +- ac_res=-l$ac_lib +- LIBS="-l$ac_lib $ac_func_search_save_LIBS" +- fi +- if ac_fn_c_try_link "$LINENO" ++if ac_fn_c_try_link "$LINENO" + then : +- ac_cv_search_psl_builtin=$ac_res ++ ac_cv_lib_psl_psl_builtin=yes ++else $as_nop ++ ac_cv_lib_psl_psl_builtin=no + fi + rm -f core conftest.err conftest.$ac_objext conftest.beam \ +- conftest$ac_exeext +- if test ${ac_cv_search_psl_builtin+y} +-then : +- break ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS + fi +-done +-if test ${ac_cv_search_psl_builtin+y} ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_psl_psl_builtin" >&5 ++printf "%s\n" "$ac_cv_lib_psl_psl_builtin" >&6; } ++if test "x$ac_cv_lib_psl_psl_builtin" = xyes + then : + +-else $as_nop +- ac_cv_search_psl_builtin=no +-fi +-rm conftest.$ac_ext +-LIBS=$ac_func_search_save_LIBS +-fi +-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_psl_builtin" >&5 +-printf "%s\n" "$ac_cv_search_psl_builtin" >&6; } +-ac_res=$ac_cv_search_psl_builtin +-if test "$ac_res" != no ++ for ac_header in libpsl.h ++do : ++ ac_fn_c_check_header_compile "$LINENO" "libpsl.h" "ac_cv_header_libpsl_h" "$ac_includes_default" ++if test "x$ac_cv_header_libpsl_h" = xyes + then : +- test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" +- curl_psl_msg="enabled"; ++ printf "%s\n" "#define HAVE_LIBPSL_H 1" >>confdefs.h ++ curl_psl_msg="enabled" ++ LIBPSL_ENABLED=1 + + printf "%s\n" "#define USE_LIBPSL 1" >>confdefs.h + ++ USE_LIBPSL=1 + +-else $as_nop +- curl_psl_msg="no (libpsl not found)"; +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: libpsl was not found" >&5 +-printf "%s\n" "$as_me: WARNING: libpsl was not found" >&2;} + ++fi ++ ++done ++ ++else $as_nop ++ LDFLAGS=$CLEANLDFLAGS ++ CPPFLAGS=$CLEANCPPFLAGS ++ LIBS=$CLEANLIBS + + fi + ++ ++ if test X"$OPT_LIBPSL" != Xoff && ++ test "$LIBPSL_ENABLED" != "1"; then ++ as_fn_error $? "libpsl libs and/or directories were not found where specified!" "$LINENO" 5 ++ fi + fi + if test "$curl_psl_msg" = "enabled"; then + USE_LIBPSL_TRUE= +@@ -30634,6 +31193,11 @@ esac + + curl_tcp2_msg="no (--with-ngtcp2)" + if test X"$want_tcp2" != Xno; then ++ ++ if test "$QUIC_ENABLED" != "yes"; then ++ as_fn_error $? "the detected TLS library does not support QUIC, making --with-ngtcp2 a no-no" "$LINENO" 5 ++ fi ++ + CLEANLDFLAGS="$LDFLAGS" + CLEANCPPFLAGS="$CPPFLAGS" + CLEANLIBS="$LIBS" +@@ -30887,7 +31451,260 @@ fi + + fi + +-if test "x$NGTCP2_ENABLED" = "x1" -a "x$OPENSSL_ENABLED" = "x1"; then ++if test "x$NGTCP2_ENABLED" = "x1" -a "x$OPENSSL_ENABLED" = "x1" -a "x$OPENSSL_IS_BORINGSSL" != "x1"; then ++ CLEANLDFLAGS="$LDFLAGS" ++ CLEANCPPFLAGS="$CPPFLAGS" ++ CLEANLIBS="$LIBS" ++ ++ ++ if test -n "$PKG_CONFIG"; then ++ PKGCONFIG="$PKG_CONFIG" ++ else ++ if test -n "$ac_tool_prefix"; then ++ # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. ++set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_path_PKGCONFIG+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ case $PKGCONFIG in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_PKGCONFIG="$PKGCONFIG" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++as_dummy="$PATH:/usr/bin:/usr/local/bin" ++for as_dir in $as_dummy ++do ++ IFS=$as_save_IFS ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ++ ac_cv_path_PKGCONFIG="$as_dir$ac_word$ac_exec_ext" ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++ ;; ++esac ++fi ++PKGCONFIG=$ac_cv_path_PKGCONFIG ++if test -n "$PKGCONFIG"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5 ++printf "%s\n" "$PKGCONFIG" >&6; } ++else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++fi ++ ++ ++fi ++if test -z "$ac_cv_path_PKGCONFIG"; then ++ ac_pt_PKGCONFIG=$PKGCONFIG ++ # Extract the first word of "pkg-config", so it can be a program name with args. ++set dummy pkg-config; ac_word=$2 ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_path_ac_pt_PKGCONFIG+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ case $ac_pt_PKGCONFIG in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_ac_pt_PKGCONFIG="$ac_pt_PKGCONFIG" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++as_dummy="$PATH:/usr/bin:/usr/local/bin" ++for as_dir in $as_dummy ++do ++ IFS=$as_save_IFS ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ++ ac_cv_path_ac_pt_PKGCONFIG="$as_dir$ac_word$ac_exec_ext" ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++ ;; ++esac ++fi ++ac_pt_PKGCONFIG=$ac_cv_path_ac_pt_PKGCONFIG ++if test -n "$ac_pt_PKGCONFIG"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5 ++printf "%s\n" "$ac_pt_PKGCONFIG" >&6; } ++else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++fi ++ ++ if test "x$ac_pt_PKGCONFIG" = x; then ++ PKGCONFIG="no" ++ else ++ case $cross_compiling:$ac_tool_warned in ++yes:) ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 ++printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ++ac_tool_warned=yes ;; ++esac ++ PKGCONFIG=$ac_pt_PKGCONFIG ++ fi ++else ++ PKGCONFIG="$ac_cv_path_PKGCONFIG" ++fi ++ ++ fi ++ ++ if test "x$PKGCONFIG" != "xno"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libngtcp2_crypto_quictls options with pkg-config" >&5 ++printf %s "checking for libngtcp2_crypto_quictls options with pkg-config... " >&6; } ++ itexists=` ++ if test -n "$want_tcp2_path"; then ++ PKG_CONFIG_LIBDIR="$want_tcp2_path" ++ export PKG_CONFIG_LIBDIR ++ fi ++ $PKGCONFIG --exists libngtcp2_crypto_quictls >/dev/null 2>&1 && echo 1` ++ ++ if test -z "$itexists"; then ++ PKGCONFIG="no" ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++ else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5 ++printf "%s\n" "found" >&6; } ++ fi ++ fi ++ ++ ++ if test "$PKGCONFIG" != "no" ; then ++ LIB_NGTCP2_CRYPTO_QUICTLS=` ++ if test -n "$want_tcp2_path"; then ++ PKG_CONFIG_LIBDIR="$want_tcp2_path" ++ export PKG_CONFIG_LIBDIR ++ fi ++ ++ $PKGCONFIG --libs-only-l libngtcp2_crypto_quictls` ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -l is $LIB_NGTCP2_CRYPTO_QUICTLS" >&5 ++printf "%s\n" "$as_me: -l is $LIB_NGTCP2_CRYPTO_QUICTLS" >&6;} ++ ++ CPP_NGTCP2_CRYPTO_QUICTLS=` ++ if test -n "$want_tcp2_path"; then ++ PKG_CONFIG_LIBDIR="$want_tcp2_path" ++ export PKG_CONFIG_LIBDIR ++ fi ++ $PKGCONFIG --cflags-only-I libngtcp2_crypto_quictls` ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -I is $CPP_NGTCP2_CRYPTO_QUICTLS" >&5 ++printf "%s\n" "$as_me: -I is $CPP_NGTCP2_CRYPTO_QUICTLS" >&6;} ++ ++ LD_NGTCP2_CRYPTO_QUICTLS=` ++ if test -n "$want_tcp2_path"; then ++ PKG_CONFIG_LIBDIR="$want_tcp2_path" ++ export PKG_CONFIG_LIBDIR ++ fi ++ ++ $PKGCONFIG --libs-only-L libngtcp2_crypto_quictls` ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -L is $LD_NGTCP2_CRYPTO_QUICTLS" >&5 ++printf "%s\n" "$as_me: -L is $LD_NGTCP2_CRYPTO_QUICTLS" >&6;} ++ ++ LDFLAGS="$LDFLAGS $LD_NGTCP2_CRYPTO_QUICTLS" ++ CPPFLAGS="$CPPFLAGS $CPP_NGTCP2_CRYPTO_QUICTLS" ++ LIBS="$LIB_NGTCP2_CRYPTO_QUICTLS $LIBS" ++ ++ if test "x$cross_compiling" != "xyes"; then ++ DIR_NGTCP2_CRYPTO_QUICTLS=`echo $LD_NGTCP2_CRYPTO_QUICTLS | $SED -e 's/^-L//'` ++ fi ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ngtcp2_crypto_recv_client_initial_cb in -lngtcp2_crypto_quictls" >&5 ++printf %s "checking for ngtcp2_crypto_recv_client_initial_cb in -lngtcp2_crypto_quictls... " >&6; } ++if test ${ac_cv_lib_ngtcp2_crypto_quictls_ngtcp2_crypto_recv_client_initial_cb+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lngtcp2_crypto_quictls $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ ++#ifdef __cplusplus ++extern "C" ++#endif ++char ngtcp2_crypto_recv_client_initial_cb (); ++int main (void) ++{ ++return ngtcp2_crypto_recv_client_initial_cb (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO" ++then : ++ ac_cv_lib_ngtcp2_crypto_quictls_ngtcp2_crypto_recv_client_initial_cb=yes ++else $as_nop ++ ac_cv_lib_ngtcp2_crypto_quictls_ngtcp2_crypto_recv_client_initial_cb=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ngtcp2_crypto_quictls_ngtcp2_crypto_recv_client_initial_cb" >&5 ++printf "%s\n" "$ac_cv_lib_ngtcp2_crypto_quictls_ngtcp2_crypto_recv_client_initial_cb" >&6; } ++if test "x$ac_cv_lib_ngtcp2_crypto_quictls_ngtcp2_crypto_recv_client_initial_cb" = xyes ++then : ++ ++ for ac_header in ngtcp2/ngtcp2_crypto.h ++do : ++ ac_fn_c_check_header_compile "$LINENO" "ngtcp2/ngtcp2_crypto.h" "ac_cv_header_ngtcp2_ngtcp2_crypto_h" "$ac_includes_default" ++if test "x$ac_cv_header_ngtcp2_ngtcp2_crypto_h" = xyes ++then : ++ printf "%s\n" "#define HAVE_NGTCP2_NGTCP2_CRYPTO_H 1" >>confdefs.h ++ NGTCP2_ENABLED=1 ++ ++printf "%s\n" "#define USE_NGTCP2_CRYPTO_QUICTLS 1" >>confdefs.h ++ ++ USE_NGTCP2_CRYPTO_QUICTLS=1 ++ ++ CURL_LIBRARY_PATH="$CURL_LIBRARY_PATH:$DIR_NGTCP2_CRYPTO_QUICTLS" ++ export CURL_LIBRARY_PATH ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Added $DIR_NGTCP2_CRYPTO_QUICTLS to CURL_LIBRARY_PATH" >&5 ++printf "%s\n" "$as_me: Added $DIR_NGTCP2_CRYPTO_QUICTLS to CURL_LIBRARY_PATH" >&6;} ++ ++fi ++ ++done ++ ++else $as_nop ++ LDFLAGS=$CLEANLDFLAGS ++ CPPFLAGS=$CLEANCPPFLAGS ++ LIBS=$CLEANLIBS ++ ++fi ++ ++ ++ else ++ if test X"$want_tcp2" != Xdefault; then ++ as_fn_error $? "--with-ngtcp2 was specified but could not find ngtcp2_crypto_quictls pkg-config file." "$LINENO" 5 ++ fi ++ fi ++fi ++ ++if test "x$NGTCP2_ENABLED" = "x1" -a "x$OPENSSL_ENABLED" = "x1" -a "x$OPENSSL_IS_BORINGSSL" = "x1"; then + CLEANLDFLAGS="$LDFLAGS" + CLEANCPPFLAGS="$CPPFLAGS" + CLEANLIBS="$LIBS" +@@ -31009,14 +31826,14 @@ fi + fi + + if test "x$PKGCONFIG" != "xno"; then +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libngtcp2_crypto_quictls options with pkg-config" >&5 +-printf %s "checking for libngtcp2_crypto_quictls options with pkg-config... " >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libngtcp2_crypto_boringssl options with pkg-config" >&5 ++printf %s "checking for libngtcp2_crypto_boringssl options with pkg-config... " >&6; } + itexists=` + if test -n "$want_tcp2_path"; then + PKG_CONFIG_LIBDIR="$want_tcp2_path" + export PKG_CONFIG_LIBDIR + fi +- $PKGCONFIG --exists libngtcp2_crypto_quictls >/dev/null 2>&1 && echo 1` ++ $PKGCONFIG --exists libngtcp2_crypto_boringssl >/dev/null 2>&1 && echo 1` + + if test -z "$itexists"; then + PKGCONFIG="no" +@@ -31030,50 +31847,50 @@ printf "%s\n" "found" >&6; } + + + if test "$PKGCONFIG" != "no" ; then +- LIB_NGTCP2_CRYPTO_QUICTLS=` ++ LIB_NGTCP2_CRYPTO_BORINGSSL=` + if test -n "$want_tcp2_path"; then + PKG_CONFIG_LIBDIR="$want_tcp2_path" + export PKG_CONFIG_LIBDIR + fi + +- $PKGCONFIG --libs-only-l libngtcp2_crypto_quictls` +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -l is $LIB_NGTCP2_CRYPTO_QUICTLS" >&5 +-printf "%s\n" "$as_me: -l is $LIB_NGTCP2_CRYPTO_QUICTLS" >&6;} ++ $PKGCONFIG --libs-only-l libngtcp2_crypto_boringssl` ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -l is $LIB_NGTCP2_CRYPTO_BORINGSSL" >&5 ++printf "%s\n" "$as_me: -l is $LIB_NGTCP2_CRYPTO_BORINGSSL" >&6;} + +- CPP_NGTCP2_CRYPTO_QUICTLS=` ++ CPP_NGTCP2_CRYPTO_BORINGSSL=` + if test -n "$want_tcp2_path"; then + PKG_CONFIG_LIBDIR="$want_tcp2_path" + export PKG_CONFIG_LIBDIR + fi +- $PKGCONFIG --cflags-only-I libngtcp2_crypto_quictls` +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -I is $CPP_NGTCP2_CRYPTO_QUICTLS" >&5 +-printf "%s\n" "$as_me: -I is $CPP_NGTCP2_CRYPTO_QUICTLS" >&6;} ++ $PKGCONFIG --cflags-only-I libngtcp2_crypto_boringssl` ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -I is $CPP_NGTCP2_CRYPTO_BORINGSSL" >&5 ++printf "%s\n" "$as_me: -I is $CPP_NGTCP2_CRYPTO_BORINGSSL" >&6;} + +- LD_NGTCP2_CRYPTO_QUICTLS=` ++ LD_NGTCP2_CRYPTO_BORINGSSL=` + if test -n "$want_tcp2_path"; then + PKG_CONFIG_LIBDIR="$want_tcp2_path" + export PKG_CONFIG_LIBDIR + fi + +- $PKGCONFIG --libs-only-L libngtcp2_crypto_quictls` +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -L is $LD_NGTCP2_CRYPTO_QUICTLS" >&5 +-printf "%s\n" "$as_me: -L is $LD_NGTCP2_CRYPTO_QUICTLS" >&6;} ++ $PKGCONFIG --libs-only-L libngtcp2_crypto_boringssl` ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -L is $LD_NGTCP2_CRYPTO_BORINGSSL" >&5 ++printf "%s\n" "$as_me: -L is $LD_NGTCP2_CRYPTO_BORINGSSL" >&6;} + +- LDFLAGS="$LDFLAGS $LD_NGTCP2_CRYPTO_QUICTLS" +- CPPFLAGS="$CPPFLAGS $CPP_NGTCP2_CRYPTO_QUICTLS" +- LIBS="$LIB_NGTCP2_CRYPTO_QUICTLS $LIBS" ++ LDFLAGS="$LDFLAGS $LD_NGTCP2_CRYPTO_BORINGSSL" ++ CPPFLAGS="$CPPFLAGS $CPP_NGTCP2_CRYPTO_BORINGSSL" ++ LIBS="$LIB_NGTCP2_CRYPTO_BORINGSSL $LIBS" + + if test "x$cross_compiling" != "xyes"; then +- DIR_NGTCP2_CRYPTO_QUICTLS=`echo $LD_NGTCP2_CRYPTO_QUICTLS | $SED -e 's/^-L//'` ++ DIR_NGTCP2_CRYPTO_BORINGSSL=`echo $LD_NGTCP2_CRYPTO_BORINGSSL | $SED -e 's/^-L//'` + fi +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ngtcp2_crypto_recv_client_initial_cb in -lngtcp2_crypto_quictls" >&5 +-printf %s "checking for ngtcp2_crypto_recv_client_initial_cb in -lngtcp2_crypto_quictls... " >&6; } +-if test ${ac_cv_lib_ngtcp2_crypto_quictls_ngtcp2_crypto_recv_client_initial_cb+y} ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ngtcp2_crypto_recv_client_initial_cb in -lngtcp2_crypto_boringssl" >&5 ++printf %s "checking for ngtcp2_crypto_recv_client_initial_cb in -lngtcp2_crypto_boringssl... " >&6; } ++if test ${ac_cv_lib_ngtcp2_crypto_boringssl_ngtcp2_crypto_recv_client_initial_cb+y} + then : + printf %s "(cached) " >&6 + else $as_nop + ac_check_lib_save_LIBS=$LIBS +-LIBS="-lngtcp2_crypto_quictls $LIBS" ++LIBS="-lngtcp2_crypto_boringssl $LIBS" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + +@@ -31091,17 +31908,17 @@ return ngtcp2_crypto_recv_client_initial_cb (); + _ACEOF + if ac_fn_c_try_link "$LINENO" + then : +- ac_cv_lib_ngtcp2_crypto_quictls_ngtcp2_crypto_recv_client_initial_cb=yes ++ ac_cv_lib_ngtcp2_crypto_boringssl_ngtcp2_crypto_recv_client_initial_cb=yes + else $as_nop +- ac_cv_lib_ngtcp2_crypto_quictls_ngtcp2_crypto_recv_client_initial_cb=no ++ ac_cv_lib_ngtcp2_crypto_boringssl_ngtcp2_crypto_recv_client_initial_cb=no + fi + rm -f core conftest.err conftest.$ac_objext conftest.beam \ + conftest$ac_exeext conftest.$ac_ext + LIBS=$ac_check_lib_save_LIBS + fi +-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ngtcp2_crypto_quictls_ngtcp2_crypto_recv_client_initial_cb" >&5 +-printf "%s\n" "$ac_cv_lib_ngtcp2_crypto_quictls_ngtcp2_crypto_recv_client_initial_cb" >&6; } +-if test "x$ac_cv_lib_ngtcp2_crypto_quictls_ngtcp2_crypto_recv_client_initial_cb" = xyes ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ngtcp2_crypto_boringssl_ngtcp2_crypto_recv_client_initial_cb" >&5 ++printf "%s\n" "$ac_cv_lib_ngtcp2_crypto_boringssl_ngtcp2_crypto_recv_client_initial_cb" >&6; } ++if test "x$ac_cv_lib_ngtcp2_crypto_boringssl_ngtcp2_crypto_recv_client_initial_cb" = xyes + then : + + for ac_header in ngtcp2/ngtcp2_crypto.h +@@ -31112,14 +31929,14 @@ then : + printf "%s\n" "#define HAVE_NGTCP2_NGTCP2_CRYPTO_H 1" >>confdefs.h + NGTCP2_ENABLED=1 + +-printf "%s\n" "#define USE_NGTCP2_CRYPTO_QUICTLS 1" >>confdefs.h ++printf "%s\n" "#define USE_NGTCP2_CRYPTO_BORINGSSL 1" >>confdefs.h + +- USE_NGTCP2_CRYPTO_QUICTLS=1 ++ USE_NGTCP2_CRYPTO_BORINGSSL=1 + +- CURL_LIBRARY_PATH="$CURL_LIBRARY_PATH:$DIR_NGTCP2_CRYPTO_QUICTLS" ++ CURL_LIBRARY_PATH="$CURL_LIBRARY_PATH:$DIR_NGTCP2_CRYPTO_BORINGSSL" + export CURL_LIBRARY_PATH +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Added $DIR_NGTCP2_CRYPTO_QUICTLS to CURL_LIBRARY_PATH" >&5 +-printf "%s\n" "$as_me: Added $DIR_NGTCP2_CRYPTO_QUICTLS to CURL_LIBRARY_PATH" >&6;} ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Added $DIR_NGTCP2_CRYPTO_BORINGSSL to CURL_LIBRARY_PATH" >&5 ++printf "%s\n" "$as_me: Added $DIR_NGTCP2_CRYPTO_BORINGSSL to CURL_LIBRARY_PATH" >&6;} + + fi + +@@ -31135,7 +31952,7 @@ fi + + else + if test X"$want_tcp2" != Xdefault; then +- as_fn_error $? "--with-ngtcp2 was specified but could not find ngtcp2_crypto_quictls pkg-config file." "$LINENO" 5 ++ as_fn_error $? "--with-ngtcp2 was specified but could not find ngtcp2_crypto_boringssl pkg-config file." "$LINENO" 5 + fi + fi + fi +@@ -31647,11 +32464,52 @@ fi + fi + + ++OPT_OPENSSL_QUIC="no" ++ ++if test "x$disable_http" = "xyes" -o "x$OPENSSL_ENABLED" != "x1"; then ++ # without HTTP or without openssl, no use ++ OPT_OPENSSL_QUIC="no" ++fi ++ ++ ++# Check whether --with-openssl-quic was given. ++if test ${with_openssl_quic+y} ++then : ++ withval=$with_openssl_quic; OPT_OPENSSL_QUIC=$withval ++fi ++ ++case "$OPT_OPENSSL_QUIC" in ++ no) ++ want_openssl_quic="no" ++ ;; ++ yes) ++ want_openssl_quic="yes" ++ ;; ++esac ++ ++curl_openssl_quic_msg="no (--with-openssl-quic)" ++if test "x$want_openssl_quic" = "xyes"; then ++ ++ if test "$NGTCP2_ENABLED" = 1; then ++ as_fn_error $? "--with-openssl-quic and --with-ngtcp2 are mutually exclusive" "$LINENO" 5 ++ fi ++ if test "$HAVE_OPENSSL_QUIC" != 1; then ++ as_fn_error $? "--with-openssl-quic requires quic support in OpenSSL" "$LINENO" 5 ++ fi ++ ++printf "%s\n" "#define USE_OPENSSL_QUIC 1" >>confdefs.h ++ ++ USE_OPENSSL_QUIC=1 ++ ++fi ++ ++ + OPT_NGHTTP3="yes" + +-if test "x$NGTCP2_ENABLED" = "x"; then +- # without ngtcp2, nghttp3 is of no use for us ++if test "x$USE_NGTCP2" != "x1" -a "x$USE_OPENSSL_QUIC" != "x1"; then ++ # without ngtcp2 or openssl quic, nghttp3 is of no use for us + OPT_NGHTTP3="no" ++ want_nghttp3="no" + fi + + +@@ -31677,6 +32535,7 @@ esac + + curl_http3_msg="no (--with-nghttp3)" + if test X"$want_nghttp3" != Xno; then ++ + CLEANLDFLAGS="$LDFLAGS" + CLEANCPPFLAGS="$CPPFLAGS" + CLEANLIBS="$LIBS" +@@ -31899,8 +32758,6 @@ do : + if test "x$ac_cv_header_nghttp3_nghttp3_h" = xyes + then : + printf "%s\n" "#define HAVE_NGHTTP3_NGHTTP3_H 1" >>confdefs.h +- curl_h3_msg="enabled (ngtcp2 + nghttp3)" +- NGHTTP3_ENABLED=1 + + printf "%s\n" "#define USE_NGHTTP3 1" >>confdefs.h + +@@ -31910,7 +32767,6 @@ printf "%s\n" "#define USE_NGHTTP3 1" >>confdefs.h + export CURL_LIBRARY_PATH + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Added $DIR_NGHTTP3 to CURL_LIBRARY_PATH" >&5 + printf "%s\n" "$as_me: Added $DIR_NGHTTP3 to CURL_LIBRARY_PATH" >&6;} +- experimental="$experimental HTTP3" + + fi + +@@ -31933,6 +32789,31 @@ fi + fi + + ++if test "x$NGTCP2_ENABLED" = "x1" -a "x$USE_NGHTTP3" = "x1"; then ++ ++printf "%s\n" "#define USE_NGTCP2_H3 1" >>confdefs.h ++ ++ USE_NGTCP2_H3=1 ++ ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: HTTP3 support is experimental" >&5 ++printf "%s\n" "$as_me: HTTP3 support is experimental" >&6;} ++ curl_h3_msg="enabled (ngtcp2 + nghttp3)" ++fi ++ ++ ++if test "x$USE_OPENSSL_QUIC" = "x1" -a "x$USE_NGHTTP3" = "x1"; then ++ experimental="$experimental HTTP3" ++ ++printf "%s\n" "#define USE_OPENSSL_H3 1" >>confdefs.h ++ ++ USE_OPENSSL_H3=1 ++ ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: HTTP3 support is experimental" >&5 ++printf "%s\n" "$as_me: HTTP3 support is experimental" >&6;} ++ curl_h3_msg="enabled (openssl + nghttp3)" ++fi ++ ++ + OPT_QUICHE="no" + + if test "x$disable_http" = "xyes" -o "x$USE_NGTCP" = "x1"; then +@@ -31963,6 +32844,10 @@ esac + + if test X"$want_quiche" != Xno; then + ++ if test "$QUIC_ENABLED" != "yes"; then ++ as_fn_error $? "the detected TLS library does not support QUIC, making --with-quiche a no-no" "$LINENO" 5 ++ fi ++ + if test "$NGHTTP3_ENABLED" = 1; then + as_fn_error $? "--with-quiche and --with-ngtcp2 are mutually exclusive" "$LINENO" 5 + fi +@@ -32262,9 +33147,21 @@ esac + + if test X"$want_msh3" != Xno; then + ++ if test "$curl_cv_native_windows" != "yes"; then ++ if test "$QUIC_ENABLED" != "yes"; then ++ as_fn_error $? "the detected TLS library does not support QUIC, making --with-msh3 a no-no" "$LINENO" 5 ++ fi ++ if test "$OPENSSL_ENABLED" != "1"; then ++ as_fn_error $? "msh3 requires OpenSSL" "$LINENO" 5 ++ fi ++ fi ++ + if test "$NGHTTP3_ENABLED" = 1; then + as_fn_error $? "--with-msh3 and --with-ngtcp2 are mutually exclusive" "$LINENO" 5 + fi ++ if test "$QUICHE_ENABLED" = 1; then ++ as_fn_error $? "--with-msh3 and --with-quiche are mutually exclusive" "$LINENO" 5 ++ fi + + CLEANLDFLAGS="$LDFLAGS" + CLEANCPPFLAGS="$CPPFLAGS" +@@ -32360,9 +33257,9 @@ then : + fi + + case "$OPT_ZSH_FPATH" in +- no) ++ default|no) + ;; +- default|yes) ++ yes) + ZSH_FUNCTIONS_DIR="$datarootdir/zsh/site-functions" + + ;; +@@ -32371,6 +33268,14 @@ case "$OPT_ZSH_FPATH" in + + ;; + esac ++ if test x"$ZSH_FUNCTIONS_DIR" != x; then ++ USE_ZSH_COMPLETION_TRUE= ++ USE_ZSH_COMPLETION_FALSE='#' ++else ++ USE_ZSH_COMPLETION_TRUE='#' ++ USE_ZSH_COMPLETION_FALSE= ++fi ++ + + + OPT_FISH_FPATH=default +@@ -32382,9 +33287,9 @@ then : + fi + + case "$OPT_FISH_FPATH" in +- no) ++ default|no) + ;; +- default|yes) ++ yes) + + if test -n "$PKG_CONFIG"; then + PKGCONFIG="$PKG_CONFIG" +@@ -32533,6 +33438,14 @@ printf "%s\n" "found" >&6; } + + ;; + esac ++ if test x"$FISH_FUNCTIONS_DIR" != x; then ++ USE_FISH_COMPLETION_TRUE= ++ USE_FISH_COMPLETION_FALSE='#' ++else ++ USE_FISH_COMPLETION_TRUE='#' ++ USE_FISH_COMPLETION_FALSE= ++fi ++ + + ac_fn_c_check_header_compile "$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" " + #ifdef HAVE_SYS_TYPES_H +@@ -33771,114 +34684,6 @@ printf "%s\n" "#define const /**/" >>confdefs.h + + fi + +- +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for compiler support of C99 variadic macro style" >&5 +-printf %s "checking for compiler support of C99 variadic macro style... " >&6; } +-if test ${curl_cv_variadic_macros_c99+y} +-then : +- printf %s "(cached) " >&6 +-else $as_nop +- +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext +-/* end confdefs.h. */ +- +- +-#define c99_vmacro3(first, ...) fun3(first, __VA_ARGS__) +-#define c99_vmacro2(first, ...) fun2(first, __VA_ARGS__) +- int fun3(int arg1, int arg2, int arg3); +- int fun2(int arg1, int arg2); +- int fun3(int arg1, int arg2, int arg3) +- { return arg1 + arg2 + arg3; } +- int fun2(int arg1, int arg2) +- { return arg1 + arg2; } +- +-int main (void) +-{ +- +- int res3 = c99_vmacro3(1, 2, 3); +- int res2 = c99_vmacro2(1, 2); +- +- ; +- return 0; +-} +- +-_ACEOF +-if ac_fn_c_try_compile "$LINENO" +-then : +- +- curl_cv_variadic_macros_c99="yes" +- +-else $as_nop +- +- curl_cv_variadic_macros_c99="no" +- +-fi +-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +- +-fi +-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_variadic_macros_c99" >&5 +-printf "%s\n" "$curl_cv_variadic_macros_c99" >&6; } +- case "$curl_cv_variadic_macros_c99" in +- yes) +- +-printf "%s\n" "#define HAVE_VARIADIC_MACROS_C99 1" >>confdefs.h +- +- ;; +- esac +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for compiler support of old gcc variadic macro style" >&5 +-printf %s "checking for compiler support of old gcc variadic macro style... " >&6; } +-if test ${curl_cv_variadic_macros_gcc+y} +-then : +- printf %s "(cached) " >&6 +-else $as_nop +- +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext +-/* end confdefs.h. */ +- +- +-#define gcc_vmacro3(first, args...) fun3(first, args) +-#define gcc_vmacro2(first, args...) fun2(first, args) +- int fun3(int arg1, int arg2, int arg3); +- int fun2(int arg1, int arg2); +- int fun3(int arg1, int arg2, int arg3) +- { return arg1 + arg2 + arg3; } +- int fun2(int arg1, int arg2) +- { return arg1 + arg2; } +- +-int main (void) +-{ +- +- int res3 = gcc_vmacro3(1, 2, 3); +- int res2 = gcc_vmacro2(1, 2); +- +- ; +- return 0; +-} +- +-_ACEOF +-if ac_fn_c_try_compile "$LINENO" +-then : +- +- curl_cv_variadic_macros_gcc="yes" +- +-else $as_nop +- +- curl_cv_variadic_macros_gcc="no" +- +-fi +-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +- +-fi +-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_variadic_macros_gcc" >&5 +-printf "%s\n" "$curl_cv_variadic_macros_gcc" >&6; } +- case "$curl_cv_variadic_macros_gcc" in +- yes) +- +-printf "%s\n" "#define HAVE_VARIADIC_MACROS_GCC 1" >>confdefs.h +- +- ;; +- esac +- + ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" + if test "x$ac_cv_type_size_t" = xyes + then : +@@ -33922,15 +34727,12 @@ else $as_nop + + + #undef inline +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + #ifndef WIN32_LEAN_AND_MEAN + #define WIN32_LEAN_AND_MEAN + #endif +-#include +-#ifdef HAVE_WINSOCK2_H + #include + #endif +-#endif + #ifdef HAVE_SYS_TYPES_H + #include + #endif +@@ -34477,6 +35279,12 @@ else $as_nop + + # The windows name? + ac_fn_c_check_type "$LINENO" "ADDRESS_FAMILY" "ac_cv_type_ADDRESS_FAMILY" " ++#ifdef _WIN32 ++#ifndef WIN32_LEAN_AND_MEAN ++#define WIN32_LEAN_AND_MEAN ++#endif ++#include ++#endif + #ifdef HAVE_SYS_SOCKET_H + #include + #endif +@@ -34604,100 +35412,13 @@ fi + + + +-curl_includes_poll="\ +-/* includes start */ +-#ifdef HAVE_SYS_TYPES_H +-# include +-#endif +-#ifdef HAVE_POLL_H +-# include +-#endif +-#ifdef HAVE_SYS_POLL_H +-# include +-#endif +-/* includes end */" +- ac_fn_c_check_header_compile "$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "$curl_includes_poll +-" +-if test "x$ac_cv_header_sys_types_h" = xyes +-then : +- printf "%s\n" "#define HAVE_SYS_TYPES_H 1" >>confdefs.h +- +-fi +-ac_fn_c_check_header_compile "$LINENO" "poll.h" "ac_cv_header_poll_h" "$curl_includes_poll +-" +-if test "x$ac_cv_header_poll_h" = xyes +-then : +- printf "%s\n" "#define HAVE_POLL_H 1" >>confdefs.h +- +-fi +-ac_fn_c_check_header_compile "$LINENO" "sys/poll.h" "ac_cv_header_sys_poll_h" "$curl_includes_poll +-" +-if test "x$ac_cv_header_sys_poll_h" = xyes +-then : +- printf "%s\n" "#define HAVE_SYS_POLL_H 1" >>confdefs.h +- +-fi +- +- +- +- # +- tst_poll_events_macro_defined="unknown" +- # +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext +-/* end confdefs.h. */ +- +- +- $curl_includes_poll +- +-int main (void) +-{ +- +-#if defined(events) || defined(revents) +- return 0; +-#else +- force compilation error +-#endif +- +- ; +- return 0; +-} +- +-_ACEOF +-if ac_fn_c_try_compile "$LINENO" +-then : +- +- tst_poll_events_macro_defined="yes" +- +-else $as_nop +- +- tst_poll_events_macro_defined="no" +- +-fi +-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +- # +- if test "$tst_poll_events_macro_defined" = "yes"; then +- if test "x$ac_cv_header_sys_poll_h" = "xyes"; then +- +-cat >>confdefs.h <<_EOF +-#define CURL_PULL_SYS_POLL_H 1 +-_EOF +- +- fi +- fi +- # +- +- +- + ac_fn_c_check_type "$LINENO" "in_addr_t" "ac_cv_type_in_addr_t" " + #undef inline +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + #ifndef WIN32_LEAN_AND_MEAN + #define WIN32_LEAN_AND_MEAN + #endif +-#include +-#ifdef HAVE_WINSOCK2_H + #include +-#endif + #else + #ifdef HAVE_SYS_TYPES_H + #include +@@ -34734,14 +35455,11 @@ else $as_nop + + + #undef inline +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + #ifndef WIN32_LEAN_AND_MEAN + #define WIN32_LEAN_AND_MEAN + #endif +-#include +-#ifdef HAVE_WINSOCK2_H + #include +-#endif + #else + #ifdef HAVE_SYS_TYPES_H + #include +@@ -34799,14 +35517,11 @@ fi + + ac_fn_c_check_type "$LINENO" "struct sockaddr_storage" "ac_cv_type_struct_sockaddr_storage" " + #undef inline +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + #ifndef WIN32_LEAN_AND_MEAN + #define WIN32_LEAN_AND_MEAN + #endif +-#include +-#ifdef HAVE_WINSOCK2_H + #include +-#endif + #else + #ifdef HAVE_SYS_TYPES_H + #include +@@ -34854,15 +35569,12 @@ printf %s "checking for select... " >&6; } + + + #undef inline +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + #ifndef WIN32_LEAN_AND_MEAN + #define WIN32_LEAN_AND_MEAN + #endif +-#include +-#ifdef HAVE_WINSOCK2_H + #include + #endif +-#endif + #ifdef HAVE_SYS_TYPES_H + #include + #endif +@@ -34870,7 +35582,7 @@ printf %s "checking for select... " >&6; } + #include + #endif + #include +-#ifndef HAVE_WINDOWS_H ++#ifndef _WIN32 + #ifdef HAVE_SYS_SELECT_H + #include + #elif defined(HAVE_UNISTD_H) +@@ -34939,14 +35651,11 @@ printf %s "checking for recv... " >&6; } + + + #undef inline +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + #ifndef WIN32_LEAN_AND_MEAN + #define WIN32_LEAN_AND_MEAN + #endif +-#include +-#ifdef HAVE_WINSOCK2_H + #include +-#endif + #else + $curl_includes_bsdsocket + #ifdef HAVE_SYS_TYPES_H +@@ -35015,14 +35724,11 @@ printf %s "checking for send... " >&6; } + + + #undef inline +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + #ifndef WIN32_LEAN_AND_MEAN + #define WIN32_LEAN_AND_MEAN + #endif +-#include +-#ifdef HAVE_WINSOCK2_H + #include +-#endif + #else + $curl_includes_bsdsocket + #ifdef HAVE_SYS_TYPES_H +@@ -35095,14 +35801,11 @@ else $as_nop + + + #undef inline +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + #ifndef WIN32_LEAN_AND_MEAN + #define WIN32_LEAN_AND_MEAN + #endif +-#include +-#ifdef HAVE_WINSOCK2_H + #include +-#endif + #else + #ifdef HAVE_SYS_TYPES_H + #include +@@ -36135,78 +36838,18 @@ printf "%s\n" "no" >&6; } + + curl_includes_ws2tcpip="\ + /* includes start */ +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + # ifndef WIN32_LEAN_AND_MEAN + # define WIN32_LEAN_AND_MEAN + # endif +-# include +-# ifdef HAVE_WINSOCK2_H +-# include +-# ifdef HAVE_WS2TCPIP_H +-# include +-# endif +-# endif ++# include ++# include + #endif + /* includes end */" + +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for windows.h" >&5 +-printf %s "checking for windows.h... " >&6; } +-if test ${curl_cv_header_windows_h+y} +-then : +- printf %s "(cached) " >&6 +-else $as_nop +- +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext +-/* end confdefs.h. */ +- +- +-#undef inline +-#ifndef WIN32_LEAN_AND_MEAN +-#define WIN32_LEAN_AND_MEAN +-#endif +-#include +- +-int main (void) +-{ +- +-#if defined(__CYGWIN__) || defined(__CEGCC__) +- HAVE_WINDOWS_H shall not be defined. +-#else +- int dummy=2*WINVER; +-#endif +- +- ; +- return 0; +-} +- +-_ACEOF +-if ac_fn_c_try_compile "$LINENO" +-then : +- +- curl_cv_header_windows_h="yes" +- +-else $as_nop +- +- curl_cv_header_windows_h="no" +- +-fi +-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +- +-fi +-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_header_windows_h" >&5 +-printf "%s\n" "$curl_cv_header_windows_h" >&6; } +- case "$curl_cv_header_windows_h" in +- yes) +- +-printf "%s\n" "#define HAVE_WINDOWS_H 1" >>confdefs.h +- +- ;; +- esac +- +- +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for winsock2.h" >&5 +-printf %s "checking for winsock2.h... " >&6; } +-if test ${curl_cv_header_winsock2_h+y} ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build target is a native Windows one" >&5 ++printf %s "checking whether build target is a native Windows one... " >&6; } ++if test ${curl_cv_native_windows+y} + then : + printf %s "(cached) " >&6 + else $as_nop +@@ -36215,20 +36858,14 @@ else $as_nop + /* end confdefs.h. */ + + +-#undef inline +-#ifndef WIN32_LEAN_AND_MEAN +-#define WIN32_LEAN_AND_MEAN +-#endif +-#include +-#include + + int main (void) + { + +-#if defined(__CYGWIN__) || defined(__CEGCC__) || defined(__MINGW32CE__) +- HAVE_WINSOCK2_H shall not be defined. ++#ifdef _WIN32 ++ int dummy=1; + #else +- int dummy=2*IPPROTO_ESP; ++ Not a native Windows build target. + #endif + + ; +@@ -36239,82 +36876,26 @@ _ACEOF + if ac_fn_c_try_compile "$LINENO" + then : + +- curl_cv_header_winsock2_h="yes" ++ curl_cv_native_windows="yes" + + else $as_nop + +- curl_cv_header_winsock2_h="no" ++ curl_cv_native_windows="no" + + fi + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + + fi +-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_header_winsock2_h" >&5 +-printf "%s\n" "$curl_cv_header_winsock2_h" >&6; } +- case "$curl_cv_header_winsock2_h" in +- yes) +- +-printf "%s\n" "#define HAVE_WINSOCK2_H 1" >>confdefs.h +- +- ;; +- esac +- +- +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ws2tcpip.h" >&5 +-printf %s "checking for ws2tcpip.h... " >&6; } +-if test ${curl_cv_header_ws2tcpip_h+y} +-then : +- printf %s "(cached) " >&6 +-else $as_nop +- +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext +-/* end confdefs.h. */ +- +- +-#undef inline +-#ifndef WIN32_LEAN_AND_MEAN +-#define WIN32_LEAN_AND_MEAN +-#endif +-#include +-#include +-#include +- +-int main (void) +-{ +- +-#if defined(__CYGWIN__) || defined(__CEGCC__) || defined(__MINGW32CE__) +- HAVE_WS2TCPIP_H shall not be defined. +-#else +- int dummy=2*IP_PKTINFO; +-#endif +- +- ; +- return 0; +-} +- +-_ACEOF +-if ac_fn_c_try_compile "$LINENO" +-then : +- +- curl_cv_header_ws2tcpip_h="yes" +- +-else $as_nop +- +- curl_cv_header_ws2tcpip_h="no" +- +-fi +-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +- ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_native_windows" >&5 ++printf "%s\n" "$curl_cv_native_windows" >&6; } ++ if test "x$curl_cv_native_windows" = xyes; then ++ DOING_NATIVE_WINDOWS_TRUE= ++ DOING_NATIVE_WINDOWS_FALSE='#' ++else ++ DOING_NATIVE_WINDOWS_TRUE='#' ++ DOING_NATIVE_WINDOWS_FALSE= + fi +-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_header_ws2tcpip_h" >&5 +-printf "%s\n" "$curl_cv_header_ws2tcpip_h" >&6; } +- case "$curl_cv_header_ws2tcpip_h" in +- yes) +- +-printf "%s\n" "#define HAVE_WS2TCPIP_H 1" >>confdefs.h + +- ;; +- esac + + + +@@ -37038,10 +37619,10 @@ int main (void) + struct addrinfo *ai = 0; + int error; + +- #ifdef HAVE_WINSOCK2_H ++ #ifdef _WIN32 + WSADATA wsa; +- if (WSAStartup(MAKEWORD(2,2), &wsa)) +- exit(2); ++ if(WSAStartup(MAKEWORD(2, 2), &wsa)) ++ exit(2); + #endif + + memset(&hints, 0, sizeof(hints)); +@@ -37106,10 +37687,10 @@ int main (void) + struct addrinfo *ai = 0; + int error; + +- #ifdef HAVE_WINSOCK2_H ++ #ifdef _WIN32 + WSADATA wsa; +- if (WSAStartup(MAKEWORD(2,2), &wsa)) +- exit(2); ++ if(WSAStartup(MAKEWORD(2, 2), &wsa)) ++ exit(2); + #endif + + memset(&hints, 0, sizeof(hints)); +@@ -37764,7 +38345,7 @@ printf "%s\n" "no" >&6; } + + curl_preprocess_callconv="\ + /* preprocess start */ +-#ifdef HAVE_WINDOWS_H ++#ifdef _WIN32 + # define FUNCALLCONV __stdcall + #else + # define FUNCALLCONV +@@ -39040,7 +39621,7 @@ curl_includes_arpa_inet="\ + #ifdef HAVE_ARPA_INET_H + # include + #endif +-#ifdef HAVE_WINSOCK2_H ++#ifdef _WIN32 + #include + #include + #endif +@@ -40734,6 +41315,42 @@ printf "%s\n" "no" >&6; } + fi + + ++curl_includes_poll="\ ++/* includes start */ ++#ifdef HAVE_SYS_TYPES_H ++# include ++#endif ++#ifdef HAVE_POLL_H ++# include ++#endif ++#ifdef HAVE_SYS_POLL_H ++# include ++#endif ++/* includes end */" ++ ac_fn_c_check_header_compile "$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "$curl_includes_poll ++" ++if test "x$ac_cv_header_sys_types_h" = xyes ++then : ++ printf "%s\n" "#define HAVE_SYS_TYPES_H 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_header_compile "$LINENO" "poll.h" "ac_cv_header_poll_h" "$curl_includes_poll ++" ++if test "x$ac_cv_header_poll_h" = xyes ++then : ++ printf "%s\n" "#define HAVE_POLL_H 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_header_compile "$LINENO" "sys/poll.h" "ac_cv_header_sys_poll_h" "$curl_includes_poll ++" ++if test "x$ac_cv_header_sys_poll_h" = xyes ++then : ++ printf "%s\n" "#define HAVE_SYS_POLL_H 1" >>confdefs.h ++ ++fi ++ ++ ++ + # + tst_links_poll="unknown" + tst_proto_poll="unknown" +@@ -43538,8 +44155,7 @@ fi + + + +- +- for ac_func in _fseeki64 arc4random fchmod fnmatch fseeko geteuid getpass_r getppid getpwuid getpwuid_r getrlimit gettimeofday if_nametoindex mach_absolute_time pipe sched_yield sendmsg setlocale setmode setrlimit snprintf utime utimes ++ for ac_func in _fseeki64 arc4random fnmatch fseeko geteuid getpass_r getppid getpwuid getpwuid_r getrlimit gettimeofday if_nametoindex mach_absolute_time pipe sched_yield sendmsg setlocale setmode setrlimit snprintf utime utimes + do : + as_ac_var=`printf "%s\n" "ac_cv_func_$ac_func" | $as_tr_sh` + ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +@@ -43598,6 +44214,15 @@ fi + + done + ++ac_fn_check_decl "$LINENO" "fseeko" "ac_cv_have_decl_fseeko" "#include ++" "$ac_c_undeclared_builtin_options" "CFLAGS" ++if test "x$ac_cv_have_decl_fseeko" = xyes ++then : ++ ++printf "%s\n" "#define HAVE_DECL_FSEEKO 1" >>confdefs.h ++ ++fi ++ + + # + tst_method="unknown" +@@ -43623,7 +44248,6 @@ printf "%s\n" "$as_me: WARNING: cannot determine non-blocking socket method." >& + fi + + +- + # Extract the first word of "perl", so it can be a program name with args. + set dummy perl; ac_word=$2 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +@@ -43672,91 +44296,21 @@ fi + + + +-for ac_prog in gnroff nroff +-do +- # Extract the first word of "$ac_prog", so it can be a program name with args. +-set dummy $ac_prog; ac_word=$2 +-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +-printf %s "checking for $ac_word... " >&6; } +-if test ${ac_cv_path_NROFF+y} +-then : +- printf %s "(cached) " >&6 +-else $as_nop +- case $NROFF in +- [\\/]* | ?:[\\/]*) +- ac_cv_path_NROFF="$NROFF" # Let the user override the test with a path. +- ;; +- *) +- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +-as_dummy="$PATH:/usr/bin/:/usr/local/bin " +-for as_dir in $as_dummy +-do +- IFS=$as_save_IFS +- case $as_dir in #((( +- '') as_dir=./ ;; +- */) ;; +- *) as_dir=$as_dir/ ;; +- esac +- for ac_exec_ext in '' $ac_executable_extensions; do +- if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then +- ac_cv_path_NROFF="$as_dir$ac_word$ac_exec_ext" +- printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 +- break 2 +- fi +-done +- done +-IFS=$as_save_IFS +- +- ;; +-esac ++if test -z "$PERL"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: disabling documentation" >&5 ++printf "%s\n" "$as_me: WARNING: disabling documentation" >&2;} ++ BUILD_DOCS=0 ++ curl_docs_msg="no" + fi +-NROFF=$ac_cv_path_NROFF +-if test -n "$NROFF"; then +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NROFF" >&5 +-printf "%s\n" "$NROFF" >&6; } +-else +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-printf "%s\n" "no" >&6; } +-fi +- +- +- test -n "$NROFF" && break +-done +- +- +- +-if test -n "$NROFF"; then +- +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to use *nroff to get plain text from man pages" >&5 +-printf %s "checking how to use *nroff to get plain text from man pages... " >&6; } +- MANOPT="-man" +- mancheck=`echo foo | $NROFF $MANOPT 2>/dev/null` +- if test -z "$mancheck"; then +- MANOPT="-mandoc" +- mancheck=`echo foo | $NROFF $MANOPT 2>/dev/null` +- if test -z "$mancheck"; then +- MANOPT="" +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5 +-printf "%s\n" "failed" >&6; } +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: found no *nroff option to get plaintext from man pages" >&5 +-printf "%s\n" "$as_me: WARNING: found no *nroff option to get plaintext from man pages" >&2;} +- else +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANOPT" >&5 +-printf "%s\n" "$MANOPT" >&6; } +- fi +- else +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANOPT" >&5 +-printf "%s\n" "$MANOPT" >&6; } +- fi + ++ if test x"$BUILD_DOCS" = x1; then ++ BUILD_DOCS_TRUE= ++ BUILD_DOCS_FALSE='#' ++else ++ BUILD_DOCS_TRUE='#' ++ BUILD_DOCS_FALSE= + fi + +-if test -z "$MANOPT" +-then +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: disabling built-in manual" >&5 +-printf "%s\n" "$as_me: WARNING: disabling built-in manual" >&2;} +- USE_MANUAL="no"; +-fi + + + if test "$USE_MANUAL" = "1"; then +@@ -45417,12 +45971,15 @@ if test "x$USE_TLS_SRP" = "x1"; then + SUPPORT_FEATURES="$SUPPORT_FEATURES TLS-SRP" + fi + +-if test "x$USE_NGHTTP2" = "x1" -o "x$USE_HYPER" = "x1"; then ++if test "x$USE_NGHTTP2" = "x1"; then + SUPPORT_FEATURES="$SUPPORT_FEATURES HTTP2" + fi + +-if test "x$USE_NGTCP2" = "x1" -o "x$USE_QUICHE" = "x1" \ +- -o "x$USE_MSH3" = "x1"; then ++if test "x$USE_NGTCP2_H3" = "x1" -o "x$USE_QUICHE" = "x1" \ ++ -o "x$USE_OPENSSL_H3" = "x1" -o "x$USE_MSH3" = "x1"; then ++ if test "x$CURL_WITH_MULTI_SSL" = "x1"; then ++ as_fn_error $? "MultiSSL cannot be enabled with HTTP/3 and vice versa" "$LINENO" 5 ++ fi + SUPPORT_FEATURES="$SUPPORT_FEATURES HTTP3" + fi + +@@ -45430,19 +45987,36 @@ if test "x$CURL_WITH_MULTI_SSL" = "x1"; then + SUPPORT_FEATURES="$SUPPORT_FEATURES MultiSSL" + fi + +-if test "x$https_proxy" != "xno"; then +- if test "x$OPENSSL_ENABLED" = "x1" \ +- -o "x$GNUTLS_ENABLED" = "x1" \ +- -o "x$SECURETRANSPORT_ENABLED" = "x1" \ +- -o "x$RUSTLS_ENABLED" = "x1" \ +- -o "x$BEARSSL_ENABLED" = "x1" \ +- -o "x$SCHANNEL_ENABLED" = "x1" \ +- -o "x$GNUTLS_ENABLED" = "x1" \ +- -o "x$MBEDTLS_ENABLED" = "x1"; then +- SUPPORT_FEATURES="$SUPPORT_FEATURES HTTPS-proxy" +- elif test "x$WOLFSSL_ENABLED" = "x1" -a "x$WOLFSSL_FULL_BIO" = "x1"; then +- SUPPORT_FEATURES="$SUPPORT_FEATURES HTTPS-proxy" ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if this build supports HTTPS-proxy" >&5 ++printf %s "checking if this build supports HTTPS-proxy... " >&6; } ++if test "x$CURL_DISABLE_HTTP" != "x1"; then ++ if test "x$https_proxy" != "xno"; then ++ if test "x$OPENSSL_ENABLED" = "x1" \ ++ -o "x$GNUTLS_ENABLED" = "x1" \ ++ -o "x$SECURETRANSPORT_ENABLED" = "x1" \ ++ -o "x$RUSTLS_ENABLED" = "x1" \ ++ -o "x$BEARSSL_ENABLED" = "x1" \ ++ -o "x$SCHANNEL_ENABLED" = "x1" \ ++ -o "x$GNUTLS_ENABLED" = "x1" \ ++ -o "x$MBEDTLS_ENABLED" = "x1"; then ++ SUPPORT_FEATURES="$SUPPORT_FEATURES HTTPS-proxy" ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++ elif test "x$WOLFSSL_ENABLED" = "x1" -a "x$WOLFSSL_FULL_BIO" = "x1"; then ++ SUPPORT_FEATURES="$SUPPORT_FEATURES HTTPS-proxy" ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++ else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++ fi ++ else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + fi ++else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + fi + + if test "x$ECH_ENABLED" = "x1"; then +@@ -45458,6 +46032,9 @@ fi + + if test "$tst_atomic" = "yes"; then + SUPPORT_FEATURES="$SUPPORT_FEATURES threadsafe" ++elif test "x$USE_THREADS_POSIX" = "x1" -a \ ++ "x$ac_cv_header_pthread_h" = "xyes"; then ++ SUPPORT_FEATURES="$SUPPORT_FEATURES threadsafe" + else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ +@@ -45490,7 +46067,7 @@ SUPPORT_FEATURES=`echo $SUPPORT_FEATURES | tr ' ' '\012' | sort | tr '\012' ' '` + + + if test "x$CURL_DISABLE_HTTP" != "x1"; then +- SUPPORT_PROTOCOLS="$SUPPORT_PROTOCOLS HTTP" ++ SUPPORT_PROTOCOLS="$SUPPORT_PROTOCOLS HTTP IPFS IPNS" + if test "x$SSL_ENABLED" = "x1"; then + SUPPORT_PROTOCOLS="$SUPPORT_PROTOCOLS HTTPS" + fi +@@ -45927,6 +46504,10 @@ if test -z "${USE_EXPLICIT_LIB_DEPS_TRUE}" && test -z "${USE_EXPLICIT_LIB_DEPS_F + as_fn_error $? "conditional \"USE_EXPLICIT_LIB_DEPS\" was never defined. + Usually this means the macro was only invoked conditionally." "$LINENO" 5 + fi ++if test -z "${DOING_NATIVE_WINDOWS_TRUE}" && test -z "${DOING_NATIVE_WINDOWS_FALSE}"; then ++ as_fn_error $? "conditional \"DOING_NATIVE_WINDOWS\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi + if test -z "${CURLDEBUG_TRUE}" && test -z "${CURLDEBUG_FALSE}"; then + as_fn_error $? "conditional \"CURLDEBUG\" was never defined. + Usually this means the macro was only invoked conditionally." "$LINENO" 5 +@@ -45935,14 +46516,14 @@ if test -z "${BUILD_UNITTESTS_TRUE}" && test -z "${BUILD_UNITTESTS_FALSE}"; then + as_fn_error $? "conditional \"BUILD_UNITTESTS\" was never defined. + Usually this means the macro was only invoked conditionally." "$LINENO" 5 + fi +-if test -z "${DOING_NATIVE_WINDOWS_TRUE}" && test -z "${DOING_NATIVE_WINDOWS_FALSE}"; then +- as_fn_error $? "conditional \"DOING_NATIVE_WINDOWS\" was never defined. +-Usually this means the macro was only invoked conditionally." "$LINENO" 5 +-fi + if test -z "${HAVE_WINDRES_TRUE}" && test -z "${HAVE_WINDRES_FALSE}"; then + as_fn_error $? "conditional \"HAVE_WINDRES\" was never defined. + Usually this means the macro was only invoked conditionally." "$LINENO" 5 + fi ++if test -z "${DOING_NATIVE_WINDOWS_TRUE}" && test -z "${DOING_NATIVE_WINDOWS_FALSE}"; then ++ as_fn_error $? "conditional \"DOING_NATIVE_WINDOWS\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi + if test -z "${HAVE_LIBZ_TRUE}" && test -z "${HAVE_LIBZ_FALSE}"; then + as_fn_error $? "conditional \"HAVE_LIBZ\" was never defined. + Usually this means the macro was only invoked conditionally." "$LINENO" 5 +@@ -45963,6 +46544,22 @@ if test -z "${CURL_LT_SHLIB_USE_VERSIONED_SYMBOLS_TRUE}" && test -z "${CURL_LT_S + as_fn_error $? "conditional \"CURL_LT_SHLIB_USE_VERSIONED_SYMBOLS\" was never defined. + Usually this means the macro was only invoked conditionally." "$LINENO" 5 + fi ++if test -z "${USE_ZSH_COMPLETION_TRUE}" && test -z "${USE_ZSH_COMPLETION_FALSE}"; then ++ as_fn_error $? "conditional \"USE_ZSH_COMPLETION\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++if test -z "${USE_FISH_COMPLETION_TRUE}" && test -z "${USE_FISH_COMPLETION_FALSE}"; then ++ as_fn_error $? "conditional \"USE_FISH_COMPLETION\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++if test -z "${DOING_NATIVE_WINDOWS_TRUE}" && test -z "${DOING_NATIVE_WINDOWS_FALSE}"; then ++ as_fn_error $? "conditional \"DOING_NATIVE_WINDOWS\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi ++if test -z "${BUILD_DOCS_TRUE}" && test -z "${BUILD_DOCS_FALSE}"; then ++ as_fn_error $? "conditional \"BUILD_DOCS\" was never defined. ++Usually this means the macro was only invoked conditionally." "$LINENO" 5 ++fi + if test -z "${USE_MANUAL_TRUE}" && test -z "${USE_MANUAL_FALSE}"; then + as_fn_error $? "conditional \"USE_MANUAL\" was never defined. + Usually this means the macro was only invoked conditionally." "$LINENO" 5 +@@ -48426,6 +49023,7 @@ _EOF + IPv6: ${curl_ipv6_msg} + Unix sockets: ${curl_unix_sockets_msg} + IDN: ${curl_idn_msg} ++ Build docs: ${curl_docs_msg} + Build libcurl: Shared=${enable_shared}, Static=${enable_static} + Built-in manual: ${curl_manual_msg} + --libcurl option: ${curl_libcurl_msg} +@@ -48474,6 +49072,7 @@ printf "%s\n" "$as_me: Configured to build curl/libcurl: + IPv6: ${curl_ipv6_msg} + Unix sockets: ${curl_unix_sockets_msg} + IDN: ${curl_idn_msg} ++ Build docs: ${curl_docs_msg} + Build libcurl: Shared=${enable_shared}, Static=${enable_static} + Built-in manual: ${curl_manual_msg} + --libcurl option: ${curl_libcurl_msg} +@@ -48499,6 +49098,14 @@ printf "%s\n" "$as_me: Configured to build curl/libcurl: + Protocols: ${SUPPORT_PROTOCOLS} + Features: ${SUPPORT_FEATURES} + " >&6;} ++ ++non13=`echo "$TLSCHOICE" | grep -Ei 'bearssl|secure-transport|mbedtls'`; ++if test -n "$non13"; then ++ cat >&2 << _EOF ++ WARNING: A selected TLS library ($TLSCHOICE) does not support TLS 1.3! ++_EOF ++fi ++ + if test -n "$experimental"; then + cat >&2 << _EOF + WARNING: $experimental enabled but marked EXPERIMENTAL. Use with caution! +diff --git a/curl-config.in b/curl-config.in +index 54f92d9..15a60da 100644 +--- a/curl-config.in ++++ b/curl-config.in +@@ -78,7 +78,7 @@ while test $# -gt 0; do + ;; + + --cc) +- echo "@CC@" ++ echo "gcc" + ;; + + --prefix) +@@ -157,32 +157,19 @@ while test $# -gt 0; do + ;; + + --libs) +- if test "X@libdir@" != "X/usr/lib" -a "X@libdir@" != "X/usr/lib64"; then +- CURLLIBDIR="-L@libdir@ " +- else +- CURLLIBDIR="" +- fi +- if test "X@ENABLE_SHARED@" = "Xno"; then +- echo ${CURLLIBDIR}-lcurl @LIBCURL_LIBS@ +- else +- echo ${CURLLIBDIR}-lcurl +- fi ++ echo -lcurl + ;; + --ssl-backends) + echo "@SSL_BACKENDS@" + ;; + + --static-libs) +- if test "X@ENABLE_STATIC@" != "Xno" ; then +- echo "@libdir@/libcurl.@libext@" @LDFLAGS@ @LIBCURL_LIBS@ +- else +- echo "curl was built with static libraries disabled" >&2 +- exit 1 +- fi ++ echo "curl was built with static libraries disabled" >&2 ++ exit 1 + ;; + + --configure) +- echo @CONFIGURE_OPTIONS@ ++ pkg-config libcurl --variable=configure_options | sed 's/^"//;s/"$//' + ;; + + *) +diff --git a/docs/ALTSVC.md b/docs/ALTSVC.md +index b9117e4..92343ae 100644 +--- a/docs/ALTSVC.md ++++ b/docs/ALTSVC.md +@@ -24,16 +24,16 @@ space separated fields. + ## Fields + + 1. The ALPN id for the source origin +-2. The host name for the source origin ++2. The hostname for the source origin + 3. The port number for the source origin + 4. The ALPN id for the destination host +-5. The host name for the destination host +-6. The host number for the destination host ++5. The hostname for the destination host ++6. The port number for the destination host + 7. The expiration date and time of this entry within double quotes. The date format is "YYYYMMDD HH:MM:SS" and the time zone is GMT. + 8. Boolean (1 or 0) if "persist" was set for this entry + 9. Integer priority value (not currently used) + +-If the host name is an IPv6 numerical address, it is stored with brackets such ++If the hostname is an IPv6 numerical address, it is stored with brackets such + as `[::1]`. + + # TODO +diff --git a/docs/BINDINGS.md b/docs/BINDINGS.md +index 57f87a5..060586f 100644 +--- a/docs/BINDINGS.md ++++ b/docs/BINDINGS.md +@@ -96,6 +96,8 @@ Bailiff and Bálint Szilakszi, + + [Python](http://pycurl.io/) PycURL by Kjetil Jacobsen + ++[Python](https://pypi.org/project/pymcurl/) mcurl by Ganesh Viswanathan ++ + [Q](https://q-lang.sourceforge.net/) The libcurl module is part of the default install + + [R](https://cran.r-project.org/package=curl) +@@ -125,6 +127,8 @@ Ruby: [curb](https://github.com/taf2/curb) written by Ross Bamford, + + [Tcl](https://web.archive.org/web/20160826011806/mirror.yellow5.com/tclcurl/) Tclcurl by Andrés García + ++[Vibe](https://github.com/ttytm/vibe) HTTP requests through libcurl in V ++ + [Visual Basic](https://sourceforge.net/projects/libcurl-vb/) libcurl-vb by Jeffrey Phillips + + [Visual Foxpro](https://web.archive.org/web/20130730181523/www.ctl32.com.ar/libcurl.asp) by Carlos Alloatti +diff --git a/docs/BUFREF.md b/docs/BUFREF.md +index 14f41b3..9ee8fdb 100644 +--- a/docs/BUFREF.md ++++ b/docs/BUFREF.md +@@ -44,8 +44,7 @@ void Curl_bufref_set(struct bufref *br, const void *buffer, size_t length, + + Releases the previously referenced buffer, then assigns the new `buffer` to + the structure, associated with its `destructor` function. The latter can be +-specified as `NULL`: this will be the case when the referenced buffer is +-static. ++specified as `NULL`: this is the case when the referenced buffer is static. + + if `buffer` is NULL, `length` must be zero. + +diff --git a/docs/BUG-BOUNTY.md b/docs/BUG-BOUNTY.md +index 3714efd..3cb4024 100644 +--- a/docs/BUG-BOUNTY.md ++++ b/docs/BUG-BOUNTY.md +@@ -21,8 +21,8 @@ security vulnerabilities. The amount of money that is rewarded depends on how + serious the flaw is determined to be. + + Since 2021, the Bug Bounty is managed in association with the Internet Bug +-Bounty and they will set the reward amounts. If it would turn out that they +-set amounts that are way lower than we can accept, the curl project intends to ++Bounty and they set the reward amounts. If it would turn out that they set ++amounts that are way lower than we can accept, the curl project intends to + "top up" rewards. + + In 2022, typical "Medium" rated vulnerabilities have been rewarded 2,400 USD +@@ -40,7 +40,7 @@ Vulnerabilities in features that are off by default and documented as + experimental are not eligible for a reward. + + The vulnerability has to be fixed and publicly announced (by the curl project) +-before a bug bounty will be considered. ++before a bug bounty is considered. + + Once the vulnerability has been published by curl, the researcher can request + their bounty from the [Internet Bug Bounty](https://hackerone.com/ibb). +@@ -48,6 +48,9 @@ their bounty from the [Internet Bug Bounty](https://hackerone.com/ibb). + Bounties need to be requested within twelve months from the publication of the + vulnerability. + ++The curl security team reserves themselves the right to deny or allow bug ++bounty payouts on its own discretion. There is no appeals process. ++ + ## Product vulnerabilities only + + This bug bounty only concerns the curl and libcurl products and thus their +@@ -60,9 +63,9 @@ bounty or not. + + ## How are vulnerabilities graded? + +-The grading of each reported vulnerability that makes a reward claim will be +-performed by the curl security team. The grading will be based on the CVSS +-(Common Vulnerability Scoring System) 3.0. ++The grading of each reported vulnerability that makes a reward claim is ++performed by the curl security team. The grading is based on the CVSS (Common ++Vulnerability Scoring System) 3.0. + + ## How are reward amounts determined? + +diff --git a/docs/BUGS.md b/docs/BUGS.md +index 2a8c56f..9a3a30a 100644 +--- a/docs/BUGS.md ++++ b/docs/BUGS.md +@@ -3,9 +3,9 @@ + ## There are still bugs + + Curl and libcurl keep being developed. Adding features and changing code +- means that bugs will sneak in, no matter how hard we try to keep them out. ++ means that bugs sneak in, no matter how hard we try to keep them out. + +- Of course there are lots of bugs left. And lots of misfeatures. ++ Of course there are lots of bugs left. Not to mention misfeatures. + + To help us make curl the stable and solid product we want it to be, we need + bug reports and bug fixes. +@@ -34,16 +34,16 @@ + HackerOne](https://hackerone.com/curl). + + This ensures that the report reaches the curl security team so that they +- first can deal with the report away from the public to minimize the harm +- and impact it will have on existing users out there who might be using the +- vulnerable versions. ++ first can deal with the report away from the public to minimize the harm and ++ impact it has on existing users out there who might be using the vulnerable ++ versions. + + The curl project's process for handling security related issues is + [documented separately](https://curl.se/dev/secprocess.html). + + ## What to report + +- When reporting a bug, you should include all information that will help us ++ When reporting a bug, you should include all information to help us + understand what is wrong, what you expected to happen and how to repeat the + bad behavior. You therefore need to tell us: + +@@ -58,8 +58,8 @@ + and anything and everything else you think matters. Tell us what you expected + to happen, tell use what did happen, tell us how you could make it work + another way. Dig around, try out, test. Then include all the tiny bits and +- pieces in your report. You will benefit from this yourself, as it will enable +- us to help you quicker and more accurately. ++ pieces in your report. You benefit from this yourself, as it enables us to ++ help you quicker and more accurately. + + Since curl deals with networks, it often helps us if you include a protocol + debug dump with your bug report. The output you get by using the `-v` or +@@ -84,15 +84,15 @@ + SCP, the libssh2 version is relevant etc. + + Showing us a real source code example repeating your problem is the best way +- to get our attention and it will greatly increase our chances to understand +- your problem and to work on a fix (if we agree it truly is a problem). ++ to get our attention and it greatly increases our chances to understand your ++ problem and to work on a fix (if we agree it truly is a problem). + + Lots of problems that appear to be libcurl problems are actually just abuses + of the libcurl API or other malfunctions in your applications. It is advised + that you run your problematic program using a memory debug tool like valgrind + or similar before you post memory-related or "crashing" problems to us. + +-## Who will fix the problems ++## Who fixes the problems + + If the problems or bugs you describe are considered to be bugs, we want to + have the problems fixed. +@@ -102,11 +102,11 @@ + it out of an ambition to keep curl and libcurl excellent products and out of + pride. + +- Please do not assume that you can just lump over something to us and it will +- then magically be fixed after some given time. Most often we need feedback +- and help to understand what you have experienced and how to repeat a +- problem. Then we may only be able to assist YOU to debug the problem and to +- track down the proper fix. ++ Please do not assume that you can just lump over something to us and it then ++ magically gets fixed after some given time. Most often we need feedback and ++ help to understand what you have experienced and how to repeat a problem. ++ Then we may only be able to assist YOU to debug the problem and to track down ++ the proper fix. + + We get reports from many people every month and each report can take a + considerable amount of time to really go to the bottom with. +@@ -119,23 +119,23 @@ + + Run the program until it cores. + +- Run your debugger on the core file, like ` curl +- core`. `` should be replaced with the name of your debugger, in +- most cases that will be `gdb`, but `dbx` and others also occur. ++ Run your debugger on the core file, like ` curl core`. `` ++ should be replaced with the name of your debugger, in most cases that is ++ `gdb`, but `dbx` and others also occur. + + When the debugger has finished loading the core file and presents you a + prompt, enter `where` (without quotes) and press return. + + The list that is presented is the stack trace. If everything worked, it is + supposed to contain the chain of functions that were called when curl +- crashed. Include the stack trace with your detailed bug report, it will help a ++ crashed. Include the stack trace with your detailed bug report, it helps a + lot. + + ## Bugs in libcurl bindings + +- There will of course pop up bugs in libcurl bindings. You should then +- primarily approach the team that works on that particular binding and see +- what you can do to help them fix the problem. ++ There are of course bugs in libcurl bindings. You should then primarily ++ approach the team that works on that particular binding and see what you can ++ do to help them fix the problem. + + If you suspect that the problem exists in the underlying libcurl, then please + convert your program over to plain C and follow the steps outlined above. +@@ -181,13 +181,13 @@ + maybe they are off in the woods hunting. Have patience. Allow at least a few + days before expecting someone to have responded. + +- In the issue tracker, you can expect that some labels will be set on the issue +- to help categorize it. ++ In the issue tracker, you can expect that some labels are set on the issue to ++ help categorize it. + + ## First response + + If your issue/bug report was not perfect at once (and few are), chances are +- that someone will ask follow-up questions. Which version did you use? Which ++ that someone asks follow-up questions. Which version did you use? Which + options did you use? How often does the problem occur? How can we reproduce + this problem? Which protocols does it involve? Or perhaps much more specific + and deep diving questions. It all depends on your specific issue. +@@ -210,8 +210,8 @@ + for discussing possible ways to move forward with the task, we take that as a + strong suggestion that the bug is unimportant. + +- Unimportant issues will be closed as inactive sooner or later as they cannot +- be fixed. The inactivity period (waiting for responses) should not be shorter ++ Unimportant issues are closed as inactive sooner or later as they cannot be ++ fixed. The inactivity period (waiting for responses) should not be shorter + than two weeks but may extend months. + + ## Lack of time/interest +@@ -240,9 +240,8 @@ + + Issues that are filed or reported that are not really bugs but more missing + features or ideas for future improvements and so on are marked as +- 'enhancement' or 'feature-request' and will be added to the `TODO` document +- and the issues are closed. We do not keep TODO items open in the issue +- tracker. ++ *enhancement* or *feature-request* and get added to the `TODO` document and ++ the issues are closed. We do not keep TODO items open in the issue tracker. + + The `TODO` document is full of ideas and suggestions of what we can add or + fix one day. You are always encouraged and free to grab one of those items and +@@ -255,11 +254,11 @@ + + ## Closing off stalled bugs + +- The [issue and pull request trackers](https://github.com/curl/curl) only +- hold "active" entries open (using a non-precise definition of what active +- actually is, but they are at least not completely dead). Those that are +- abandoned or in other ways dormant will be closed and sometimes added to +- `TODO` and `KNOWN_BUGS` instead. ++ The [issue and pull request trackers](https://github.com/curl/curl) only hold ++ "active" entries open (using a non-precise definition of what active actually ++ is, but they are at least not completely dead). Those that are abandoned or ++ in other ways dormant are closed and sometimes added to `TODO` and ++ `KNOWN_BUGS` instead. + + This way, we only have "active" issues open on GitHub. Irrelevant issues and +- pull requests will not distract developers or casual visitors. ++ pull requests do not distract developers or casual visitors. +diff --git a/docs/CHECKSRC.md b/docs/CHECKSRC.md +index f73e7a8..fc50045 100644 +--- a/docs/CHECKSRC.md ++++ b/docs/CHECKSRC.md +@@ -12,7 +12,7 @@ check that it adheres to our [Source Code Style guide](CODE_STYLE.md). + `-W[file]` skip that file and exclude it from being checked. Helpful + when, for example, one of the files is generated. + +-`-D[dir]` directory name to prepend to file names when accessing them. ++`-D[dir]` directory name to prepend to filenames when accessing them. + + `-h` shows the help output, that also lists all recognized warnings + +@@ -73,7 +73,7 @@ warnings are: + - `FOPENMODE`: `fopen()` needs a macro for the mode string, use it + + - `INDENTATION`: detected a wrong start column for code. Note that this +- warning only checks some specific places and will certainly miss many bad ++ warning only checks some specific places and can certainly miss many bad + indentations. + + - `LONGLINE`: A line is longer than 79 columns. +@@ -158,21 +158,21 @@ Example + + /* !checksrc! disable LONGLINE all */ + +-This will ignore the warning for overly long lines until it is re-enabled with: ++This ignores the warning for overly long lines until it is re-enabled with: + + /* !checksrc! enable LONGLINE */ + +-If the enabling is not performed before the end of the file, it will be enabled +-automatically for the next file. ++If the enabling is not performed before the end of the file, it is enabled ++again automatically for the next file. + + You can also opt to ignore just N violations so that if you have a single long + line you just cannot shorten and is agreed to be fine anyway: + + /* !checksrc! disable LONGLINE 1 */ + +-... and the warning for long lines will be enabled again automatically after +-it has ignored that single warning. The number `1` can of course be changed to +-any other integer number. It can be used to make sure only the exact intended ++... and the warning for long lines is enabled again automatically after it has ++ignored that single warning. The number `1` can of course be changed to any ++other integer number. It can be used to make sure only the exact intended + instances are ignored and nothing extra. + + ### Directory wide ignore patterns +diff --git a/docs/CIPHERS.md b/docs/CIPHERS.md +index 27de940..1fb8540 100644 +--- a/docs/CIPHERS.md ++++ b/docs/CIPHERS.md +@@ -290,9 +290,9 @@ next section. + + There is also the case that the selected algorithm is not supported by the + protocol or does not match the ciphers offered by the server during the SSL +-negotiation. In this case curl will return error ++negotiation. In this case curl returns error + `CURLE_SSL_CONNECT_ERROR (35) SEC_E_ALGORITHM_MISMATCH` +-and the request will fail. ++and the request fails. + + `CALG_MD2`, + `CALG_MD4`, +@@ -353,7 +353,7 @@ are running an outdated OS you might still be supporting weak ciphers. + You can set TLS 1.3 ciphers for Schannel by using `CURLOPT_TLS13_CIPHERS` or + `--tls13-ciphers` with the names below. + +-If TLS 1.3 cipher suites are set then libcurl will add or restrict Schannel TLS ++If TLS 1.3 cipher suites are set then libcurl adds or restricts Schannel TLS + 1.3 algorithms automatically. Essentially, libcurl is emulating support for + individual TLS 1.3 cipher suites since Schannel does not support it directly. + +@@ -363,10 +363,10 @@ individual TLS 1.3 cipher suites since Schannel does not support it directly. + `TLS_AES_128_CCM_8_SHA256` + `TLS_AES_128_CCM_SHA256` + +-Note if you set TLS 1.3 ciphers without also setting the minimum TLS version to +-1.3 then it's possible Schannel may negotiate an earlier TLS version and cipher +-suite if your libcurl and OS settings allow it. You can set the minimum TLS +-version by using `CURLOPT_SSLVERSION` or `--tlsv1.3`. ++Note if you set TLS 1.3 ciphers without also setting the minimum TLS version ++to 1.3 then it is possible Schannel may negotiate an earlier TLS version and ++cipher suite if your libcurl and OS settings allow it. You can set the minimum ++TLS version by using `CURLOPT_SSLVERSION` or `--tlsv1.3`. + + ## BearSSL + +diff --git a/docs/CLIENT-READERS.md b/docs/CLIENT-READERS.md +new file mode 100644 +index 0000000..dec35b3 +--- /dev/null ++++ b/docs/CLIENT-READERS.md +@@ -0,0 +1,126 @@ ++# curl client readers ++ ++Client readers is a design in the internals of libcurl, not visible in its public API. They were started ++in curl v8.7.0. This document describes the concepts, its high level implementation and the motivations. ++ ++## Naming ++ ++`libcurl` operates between clients and servers. A *client* is the application using libcurl, like the command line tool `curl` itself. Data to be uploaded to a server is **read** from the client and **sent** to the server, the servers response is **received** by `libcurl` and then **written** to the client. ++ ++With this naming established, client readers are concerned with providing data from the application to the server. Applications register callbacks via `CURLOPT_READFUNCTION`, data via `CURLOPT_POSTFIELDS` and other options to be used by `libcurl` when the request is send. ++ ++## Invoking ++ ++The transfer loop that sends and receives, is using `Curl_client_read()` to get more data to send for a transfer. If no specific reader has been installed yet, the default one that uses `CURLOPT_READFUNCTION` is added. The prototype is ++ ++``` ++CURLcode Curl_client_read(struct Curl_easy *data, char *buf, size_t blen, ++ size_t *nread, bool *eos); ++``` ++The arguments are the transfer to read for, a buffer to hold the read data, its length, the actual number of bytes placed into the buffer and the `eos` (*end of stream*) flag indicating that no more data is available. The `eos` flag may be set for a read amount, if that amount was the last. That way curl can avoid to read an additional time. ++ ++The implementation of `Curl_client_read()` uses a chain of *client reader* instances to get the data. This is similar to the design of *client writers*. The chain of readers allows processing of the data to send. ++ ++The definition of a reader is: ++ ++``` ++struct Curl_crtype { ++ const char *name; /* writer name. */ ++ CURLcode (*do_init)(struct Curl_easy *data, struct Curl_creader *writer); ++ CURLcode (*do_read)(struct Curl_easy *data, struct Curl_creader *reader, ++ char *buf, size_t blen, size_t *nread, bool *eos); ++ void (*do_close)(struct Curl_easy *data, struct Curl_creader *reader); ++ bool (*needs_rewind)(struct Curl_easy *data, struct Curl_creader *reader); ++ curl_off_t (*total_length)(struct Curl_easy *data, ++ struct Curl_creader *reader); ++ CURLcode (*resume_from)(struct Curl_easy *data, ++ struct Curl_creader *reader, curl_off_t offset); ++ CURLcode (*rewind)(struct Curl_easy *data, struct Curl_creader *reader); ++}; ++ ++struct Curl_creader { ++ const struct Curl_crtype *crt; /* type implementation */ ++ struct Curl_creader *next; /* Downstream reader. */ ++ Curl_creader_phase phase; /* phase at which it operates */ ++}; ++``` ++ ++`Curl_creader` is a reader instance with a `next` pointer to form the chain. It as a type `crt` which provides the implementation. The main callback is `do_read()` which provides the data to the caller. The others are for setup and tear down. `needs_rewind()` is explained further below. ++ ++## Phases and Ordering ++ ++Since client readers may transform the data being read through the chain, the order in which they are called is relevant for the outcome. When a reader is created, it gets the `phase` property in which it operates. Reader phases are defined like: ++ ++``` ++typedef enum { ++ CURL_CR_NET, /* data send to the network (connection filters) */ ++ CURL_CR_TRANSFER_ENCODE, /* add transfer-encodings */ ++ CURL_CR_PROTOCOL, /* before transfer, but after content decoding */ ++ CURL_CR_CONTENT_ENCODE, /* add content-encodings */ ++ CURL_CR_CLIENT /* data read from client */ ++} Curl_creader_phase; ++``` ++ ++If a reader for phase `PROTOCOL` is added to the chain, it is always added *after* any `NET` or `TRANSFER_ENCODE` readers and *before* and `CONTENT_ENCODE` and `CLIENT` readers. If there is already a reader for the same phase, the new reader is added before the existing one(s). ++ ++### Example: `chunked` reader ++ ++In `http_chunks.c` a client reader for chunked uploads is implemented. This one operates at phase `CURL_CR_TRANSFER_ENCODE`. Any data coming from the reader "below" has the HTTP/1.1 chunk handling applied and returned to the caller. ++ ++When this reader sees an `eos` from below, it generates the terminal chunk, adding trailers if provided by the application. When that last chunk is fully returned, it also sets `eos` to the caller. ++ ++### Example: `lineconv` reader ++ ++In `sendf.c` a client reader that does line-end conversions is implemented. It operates at `CURL_CR_CONTENT_ENCODE` and converts any "\n" to "\r\n". This is used for FTP ASCII uploads or when the general `crlf` options has been set. ++ ++### Example: `null` reader ++ ++Implemented in `sendf.c` for phase `CURL_CR_CLIENT`, this reader has the simple job of providing transfer bytes of length 0 to the caller, immediately indicating an `eos`. This reader is installed by HTTP for all GET/HEAD requests and when authentication is being negotiated. ++ ++### Example: `buf` reader ++ ++Implemented in `sendf.c` for phase `CURL_CR_CLIENT`, this reader get a buffer pointer and a length and provides exactly these bytes. This one is used in HTTP for sending `postfields` provided by the application. ++ ++## Request retries ++ ++Sometimes it is necessary to send a request with client data again. Transfer handling can inquire via `Curl_client_read_needs_rewind()` if a rewind (e.g. a reset of the client data) is necessary. This asks all installed readers if they need it and give `FALSE` of none does. ++ ++## Upload Size ++ ++Many protocols need to know the amount of bytes delivered by the client readers in advance. They may invoke `Curl_creader_total_length(data)` to retrieve that. However, not all reader chains know the exact value beforehand. In that case, the call returns `-1` for "unknown". ++ ++Even if the length of the "raw" data is known, the length that is send may not. Example: with option `--crlf` the uploaded content undergoes line-end conversion. The line converting reader does not know in advance how many newlines it may encounter. Therefore it must return `-1` for any positive raw content length. ++ ++In HTTP, once the correct client readers are installed, the protocol asks the readers for the total length. If that is known, it can set `Content-Length:` accordingly. If not, it may choose to add an HTTP "chunked" reader. ++ ++In addition, there is `Curl_creader_client_length(data)` which gives the total length as reported by the reader in phase `CURL_CR_CLIENT` without asking other readers that may transform the raw data. This is useful in estimating the size of an upload. The HTTP protocol uses this to determine if `Expect: 100-continue` shall be done. ++ ++## Resuming ++ ++Uploads can start at a specific offset, if so requested. The "resume from" that offset. This applies to the reader in phase `CURL_CR_CLIENT` that delivers the "raw" content. Resumption can fail if the installed reader does not support it or if the offset is too large. ++ ++The total length reported by the reader changes when resuming. Example: resuming an upload of 100 bytes by 25 reports a total length of 75 afterwards. ++ ++If `resume_from()` is invoked twice, it is additive. There is currently no way to undo a resume. ++ ++## Rewinding ++ ++When a request is retried, installed client readers are discarded and replaced by new ones. This works only if the new readers upload the same data. For many readers, this is not an issue. The "null" reader always does the same. Also the `buf` reader, initialized with the same buffer, does this. ++ ++Readers operating on callbacks to the application need to "rewind" the underlying content. For example, when reading from a `FILE*`, the reader needs to `fseek()` to the beginning. The following methods are used: ++ ++1. `Curl_creader_needs_rewind(data)`: tells if a rewind is necessary, given the current state of the reader chain. If nothing really has been read so far, this returns `FALSE`. ++2. `Curl_creader_will_rewind(data)`: tells if the reader chain rewinds at the start of the next request. ++3. `Curl_creader_set_rewind(data, TRUE)`: marks the reader chain for rewinding at the start of the next request. ++4. `Curl_client_start(data)`: tells the readers that a new request starts and they need to rewind if requested. ++ ++ ++## Summary and Outlook ++ ++By adding the client reader interface, any protocol can control how/if it wants the curl transfer to send bytes for a request. The transfer loop becomes then blissfully ignorant of the specifics. ++ ++The protocols on the other hand no longer have to care to package data most efficiently. At any time, should more data be needed, it can be read from the client. This is used when sending HTTP requests headers to add as much request body data to the initial sending as there is room for. ++ ++Future enhancements based on the client readers: ++* `expect-100` handling: place that into a HTTP specific reader at `CURL_CR_PROTOCOL` and eliminate the checks in the generic transfer parts. ++* `eos forwarding`: transfer should forward an `eos` flag to the connection filters. Filters like HTTP/2 and HTTP/3 can make use of that, terminating streams early. This would also eliminate length checks in stream handling. +diff --git a/docs/CLIENT-WRITERS.md b/docs/CLIENT-WRITERS.md +new file mode 100644 +index 0000000..47e802f +--- /dev/null ++++ b/docs/CLIENT-WRITERS.md +@@ -0,0 +1,117 @@ ++# curl client writers ++ ++Client writers is a design in the internals of libcurl, not visible in its public API. They were started ++in curl v8.5.0. This document describes the concepts, its high level implementation and the motivations. ++ ++## Naming ++ ++`libcurl` operates between clients and servers. A *client* is the application using libcurl, like the command line tool `curl` itself. Data to be uploaded to a server is **read** from the client and **send** to the server, the servers response is **received** by `libcurl` and then **written** to the client. ++ ++With this naming established, client writers are concerned with writing responses from the server to the application. Applications register callbacks via `CURLOPT_WRITEFUNCTION` and `CURLOPT_HEADERFUNCTION` to be invoked by `libcurl` when the response is received. ++ ++## Invoking ++ ++All code in `libcurl` that handles response data is ultimately expected to forward this data via `Curl_client_write()` to the application. The exact prototype of this function is: ++ ++``` ++CURLcode Curl_client_write(struct Curl_easy *data, int type, const char *buf, size_t blen); ++``` ++The `type` argument specifies what the bytes in `buf` actually are. The following bits are defined: ++ ++``` ++#define CLIENTWRITE_BODY (1<<0) /* non-meta information, BODY */ ++#define CLIENTWRITE_INFO (1<<1) /* meta information, not a HEADER */ ++#define CLIENTWRITE_HEADER (1<<2) /* meta information, HEADER */ ++#define CLIENTWRITE_STATUS (1<<3) /* a special status HEADER */ ++#define CLIENTWRITE_CONNECT (1<<4) /* a CONNECT related HEADER */ ++#define CLIENTWRITE_1XX (1<<5) /* a 1xx response related HEADER */ ++#define CLIENTWRITE_TRAILER (1<<6) /* a trailer HEADER */ ++``` ++ ++The main types here are `CLIENTWRITE_BODY` and `CLIENTWRITE_HEADER`. They are ++mutually exclusive. The other bits are enhancements to `CLIENTWRITE_HEADER` to ++specify what the header is about. They are only used in HTTP and related ++protocols (RTSP and WebSocket). ++ ++The implementation of `Curl_client_write()` uses a chain of *client writer* instances to process the call and make sure that the bytes reach the proper application callbacks. This is similar to the design of connection filters: client writers can be chained to process the bytes written through them. The definition is: ++ ++``` ++struct Curl_cwtype { ++ const char *name; ++ CURLcode (*do_init)(struct Curl_easy *data, ++ struct Curl_cwriter *writer); ++ CURLcode (*do_write)(struct Curl_easy *data, ++ struct Curl_cwriter *writer, int type, ++ const char *buf, size_t nbytes); ++ void (*do_close)(struct Curl_easy *data, ++ struct Curl_cwriter *writer); ++}; ++ ++struct Curl_cwriter { ++ const struct Curl_cwtype *cwt; /* type implementation */ ++ struct Curl_cwriter *next; /* Downstream writer. */ ++ Curl_cwriter_phase phase; /* phase at which it operates */ ++}; ++``` ++ ++`Curl_cwriter` is a writer instance with a `next` pointer to form the chain. It has a type `cwt` which provides the implementation. The main callback is `do_write()` that processes the data and calls then the `next` writer. The others are for setup and tear down. ++ ++## Phases and Ordering ++ ++Since client writers may transform the bytes written through them, the order in which the are called is relevant for the outcome. When a writer is created, one property it gets is the `phase` in which it operates. Writer phases are defined like: ++ ++``` ++typedef enum { ++ CURL_CW_RAW, /* raw data written, before any decoding */ ++ CURL_CW_TRANSFER_DECODE, /* remove transfer-encodings */ ++ CURL_CW_PROTOCOL, /* after transfer, but before content decoding */ ++ CURL_CW_CONTENT_DECODE, /* remove content-encodings */ ++ CURL_CW_CLIENT /* data written to client */ ++} Curl_cwriter_phase; ++``` ++ ++If a writer for phase `PROTOCOL` is added to the chain, it is always added *after* any `RAW` or `TRANSFER_DECODE` and *before* any `CONTENT_DECODE` and `CLIENT` phase writer. If there is already a writer for the same phase present, the new writer is inserted just before that one. ++ ++All transfers have a chain of 3 writers by default. A specific protocol handler may alter that by adding additional writers. The 3 standard writers are (name, phase): ++ ++1. `"raw", CURL_CW_RAW `: if the transfer is verbose, it forwards the body data to the debug function. ++1. `"download", CURL_CW_PROTOCOL`: checks that protocol limits are kept and updates progress counters. When a download has a known length, it checks that it is not exceeded and errors otherwise. ++1. `"client", CURL_CW_CLIENT`: the main work horse. It invokes the application callbacks or writes to the configured file handles. It chops large writes into smaller parts, as documented for `CURLOPT_WRITEFUNCTION`. If also handles *pausing* of transfers when the application callback returns `CURL_WRITEFUNC_PAUSE`. ++ ++With these writers always in place, libcurl's protocol handlers automatically have these implemented. ++ ++## Enhanced Use ++ ++HTTP is the protocol in curl that makes use of the client writer chain by ++adding writers to it. When the `libcurl` application set ++`CURLOPT_ACCEPT_ENCODING` (as `curl` does with `--compressed`), the server is ++offered an `Accept-Encoding` header with the algorithms supported. The server ++then may choose to send the response body compressed. For example using `gzip` ++or `brotli` or even both. ++ ++In the server's response, if there is a `Content-Encoding` header listing the ++encoding applied. If supported by `libcurl` it then decompresses the content ++before writing it out to the client. How does it do that? ++ ++The HTTP protocol adds client writers in phase `CURL_CW_CONTENT_DECODE` on ++seeing such a header. For each encoding listed, it adds the corresponding ++writer. The response from the server is then passed through ++`Curl_client_write()` to the writers that decode it. If several encodings had ++been applied the writer chain decodes them in the proper order. ++ ++When the server provides a `Content-Length` header, that value applies to the ++*compressed* content. Length checks on the response bytes must happen *before* ++it gets decoded. That is why this check happens in phase `CURL_CW_PROTOCOL` ++which always is ordered before writers in phase `CURL_CW_CONTENT_DECODE`. ++ ++What else? ++ ++Well, HTTP servers may also apply a `Transfer-Encoding` to the body of a response. The most well-known one is `chunked`, but algorithms like `gzip` and friends could also be applied. The difference to content encodings is that decoding needs to happen *before* protocol checks, for example on length, are done. ++ ++That is why transfer decoding writers are added for phase `CURL_CW_TRANSFER_DECODE`. Which makes their operation happen *before* phase `CURL_CW_PROTOCOL` where length may be checked. ++ ++## Summary ++ ++By adding the common behavior of all protocols into `Curl_client_write()` we make sure that they do apply everywhere. Protocol handler have less to worry about. Changes to default behavior can be done without affecting handler implementations. ++ ++Having a writer chain as implementation allows protocol handlers with extra needs, like HTTP, to add to this for special behavior. The common way of writing the actual response data stays the same. +diff --git a/docs/CMakeLists.txt b/docs/CMakeLists.txt +index dd2c6dc..9c0b376 100644 +--- a/docs/CMakeLists.txt ++++ b/docs/CMakeLists.txt +@@ -22,5 +22,9 @@ + # + ########################################################################### + #add_subdirectory(examples) +-add_subdirectory(libcurl) +-add_subdirectory(cmdline-opts) ++if(BUILD_LIBCURL_DOCS) ++ add_subdirectory(libcurl) ++endif() ++if(ENABLE_CURL_MANUAL AND BUILD_CURL_EXE) ++ add_subdirectory(cmdline-opts) ++endif() +diff --git a/docs/CODE_STYLE.md b/docs/CODE_STYLE.md +index 9cdf0d1..970a3b0 100644 +--- a/docs/CODE_STYLE.md ++++ b/docs/CODE_STYLE.md +@@ -19,7 +19,7 @@ particularly unusual rules in our set of rules. + + We also work hard on writing code that are warning-free on all the major + platforms and in general on as many platforms as possible. Code that obviously +-will cause warnings will not be accepted as-is. ++causes warnings is not accepted as-is. + + ## Naming + +@@ -218,10 +218,10 @@ int size = sizeof(int); + + Some statements cannot be completed on a single line because the line would be + too long, the statement too hard to read, or due to other style guidelines +-above. In such a case the statement will span multiple lines. ++above. In such a case the statement spans multiple lines. + + If a continuation line is part of an expression or sub-expression then you +-should align on the appropriate column so that it's easy to tell what part of ++should align on the appropriate column so that it is easy to tell what part of + the statement it is. Operators should not start continuation lines. In other + cases follow the 2-space indent guideline. Here are some examples from + libcurl: +diff --git a/docs/CONNECTION-FILTERS.md b/docs/CONNECTION-FILTERS.md +index c4b11db..95b6d50 100644 +--- a/docs/CONNECTION-FILTERS.md ++++ b/docs/CONNECTION-FILTERS.md +@@ -1,16 +1,26 @@ + # curl connection filters + +-Connection filters is a design in the internals of curl, not visible in its public API. They were added +-in curl v7.xx.x. This document describes the concepts, its high level implementation and the motivations. ++Connection filters is a design in the internals of curl, not visible in its ++public API. They were added in curl v7.87.0. This document describes the ++concepts, its high level implementation and the motivations. + + ## Filters + +-A "connection filter" is a piece of code that is responsible for handling a range of operations +-of curl's connections: reading, writing, waiting on external events, connecting and closing down - to name the most important ones. ++A "connection filter" is a piece of code that is responsible for handling a ++range of operations of curl's connections: reading, writing, waiting on ++external events, connecting and closing down - to name the most important ++ones. + +-The most important feat of connection filters is that they can be stacked on top of each other (or "chained" if you prefer that metaphor). In the common scenario that you want to retrieve a `https:` url with curl, you need 2 basic things to send the request and get the response: a TCP connection, represented by a `socket` and a SSL instance en- and decrypt over that socket. You write your request to the SSL instance, which encrypts and writes that data to the socket, which then sends the bytes over the network. ++The most important feat of connection filters is that they can be stacked on ++top of each other (or "chained" if you prefer that metaphor). In the common ++scenario that you want to retrieve a `https:` URL with curl, you need 2 basic ++things to send the request and get the response: a TCP connection, represented ++by a `socket` and a SSL instance en- and decrypt over that socket. You write ++your request to the SSL instance, which encrypts and writes that data to the ++socket, which then sends the bytes over the network. + +-With connection filters, curl's internal setup will look something like this (cf for connection filter): ++With connection filters, curl's internal setup looks something like this (cf ++for connection filter): + + ``` + Curl_easy *data connectdata *conn cf-ssl cf-socket +@@ -23,11 +33,17 @@ Curl_easy *data connectdata *conn cf-ssl cf-socket + ---> conn->filter->write(conn->filter, data, buffer) + ``` + +-While connection filters all do different things, they look the same from the "outside". The code in `data` and `conn` does not really know **which** filters are installed. `conn` just writes into the first filter, whatever that is. ++While connection filters all do different things, they look the same from the ++"outside". The code in `data` and `conn` does not really know **which** ++filters are installed. `conn` just writes into the first filter, whatever that ++is. + +-Same is true for filters. Each filter has a pointer to the `next` filter. When SSL has encrypted the data, it does not write to a socket, it writes to the next filter. If that is indeed a socket, or a file, or an HTTP/2 connection is of no concern to the SSL filter. ++Same is true for filters. Each filter has a pointer to the `next` filter. When ++SSL has encrypted the data, it does not write to a socket, it writes to the ++next filter. If that is indeed a socket, or a file, or an HTTP/2 connection is ++of no concern to the SSL filter. + +-And this allows the stacking, as in: ++This allows stacking, as in: + + ``` + Direct: +@@ -45,7 +61,12 @@ Via http proxy tunnel via SOCKS proxy: + + ### Connecting/Closing + +-Before `Curl_easy` can send the request, the connection needs to be established. This means that all connection filters have done, whatever they need to do: waiting for the socket to be connected, doing the TLS handshake, performing the HTTP tunnel request, etc. This has to be done in reverse order: the last filter has to do its connect first, then the one above can start, etc. ++Before `Curl_easy` can send the request, the connection needs to be ++established. This means that all connection filters have done, whatever they ++need to do: waiting for the socket to be connected, doing the TLS handshake, ++performing the HTTP tunnel request, etc. This has to be done in reverse order: ++the last filter has to do its connect first, then the one above can start, ++etc. + + Each filter does in principle the following: + +@@ -72,12 +93,14 @@ myfilter_cf_connect(struct Curl_cfilter *cf, + } + ``` + +-Closing a connection then works similar. The `conn` tells the first filter to close. Contrary to connecting, +-the filter does its own things first, before telling the next filter to close. ++Closing a connection then works similar. The `conn` tells the first filter to ++close. Contrary to connecting, the filter does its own things first, before ++telling the next filter to close. + + ### Efficiency + +-There are two things curl is concerned about: efficient memory use and fast transfers. ++There are two things curl is concerned about: efficient memory use and fast ++transfers. + + The memory footprint of a filter is relatively small: + +@@ -91,13 +114,24 @@ struct Curl_cfilter { + BIT(connected); /* != 0 iff this filter is connected */ + }; + ``` +-The filter type `cft` is a singleton, one static struct for each type of filter. The `ctx` is where a filter will hold its specific data. That varies by filter type. An http-proxy filter will keep the ongoing state of the CONNECT here, but free it after its has been established. The SSL filter will keep the `SSL*` (if OpenSSL is used) here until the connection is closed. So, this varies. + +-`conn` is a reference to the connection this filter belongs to, so nothing extra besides the pointer itself. ++The filter type `cft` is a singleton, one static struct for each type of ++filter. The `ctx` is where a filter holds its specific data. That varies by ++filter type. An http-proxy filter keeps the ongoing state of the CONNECT here, ++free it after its has been established. The SSL filter keeps the `SSL*` (if ++OpenSSL is used) here until the connection is closed. So, this varies. + +-Several things, that before were kept in `struct connectdata`, will now go into the `filter->ctx` *when needed*. So, the memory footprint for connections that do *not* use an http proxy, or socks, or https will be lower. ++`conn` is a reference to the connection this filter belongs to, so nothing ++extra besides the pointer itself. + +-As to transfer efficiency, writing and reading through a filter comes at near zero cost *if the filter does not transform the data*. An http proxy or socks filter, once it is connected, will just pass the calls through. Those filters implementations will look like this: ++Several things, that before were kept in `struct connectdata`, now goes into ++the `filter->ctx` *when needed*. So, the memory footprint for connections that ++do *not* use an http proxy, or socks, or https is lower. ++ ++As to transfer efficiency, writing and reading through a filter comes at near ++zero cost *if the filter does not transform the data*. An http proxy or socks ++filter, once it is connected, just passes the calls through. Those filters ++implementations look like this: + + ``` + ssize_t Curl_cf_def_send(struct Curl_cfilter *cf, struct Curl_easy *data, +@@ -110,18 +144,159 @@ The `recv` implementation is equivalent. + + ## Filter Types + +-The (currently) existing filter types are: SOCKET, SOCKET-ACCEPT, SSL, HTTP-PROXY and SOCKS-PROXY. Vital to establishing and read/writing a connection. But filters are also a good way to implement tasks for *managing* a connection: ++The currently existing filter types (curl 8.5.0) are: ++ ++* `TCP`, `UDP`, `UNIX`: filters that operate on a socket, providing raw I/O. ++* `SOCKET-ACCEPT`: special TCP socket that has a socket that has been ++ `accept()`ed in a `listen()` ++* `SSL`: filter that applies TLS en-/decryption and handshake. Manages the ++ underlying TLS backend implementation. ++* `HTTP-PROXY`, `H1-PROXY`, `H2-PROXY`: the first manages the connection to an ++ HTTP proxy server and uses the other depending on which ALPN protocol has ++ been negotiated. ++* `SOCKS-PROXY`: filter for the various SOCKS proxy protocol variations ++* `HAPROXY`: filter for the protocol of the same name, providing client IP ++ information to a server. ++* `HTTP/2`: filter for handling multiplexed transfers over an HTTP/2 ++ connection ++* `HTTP/3`: filter for handling multiplexed transfers over an HTTP/3+QUIC ++ connection ++* `HAPPY-EYEBALLS`: meta filter that implements IPv4/IPv6 "happy eyeballing". ++ It creates up to 2 sub-filters that race each other for a connection. ++* `SETUP`: meta filter that manages the creation of sub-filter chains for a ++ specific transport (e.g. TCP or QUIC). ++* `HTTPS-CONNECT`: meta filter that races a TCP+TLS and a QUIC connection ++ against each other to determine if HTTP/1.1, HTTP/2 or HTTP/3 shall be used ++ for a transfer. ++ ++Meta filters are combining other filters for a specific purpose, mostly during ++connection establishment. Other filters like `TCP`, `UDP` and `UNIX` are only ++to be found at the end of filter chains. SSL filters provide encryption, of ++course. Protocol filters change the bytes sent and received. ++ ++## Filter Flags ++ ++Filter types carry flags that inform what they do. These are (for now): ++ ++* `CF_TYPE_IP_CONNECT`: this filter type talks directly to a server. This does ++ not have to be the server the transfer wants to talk to. For example when a ++ proxy server is used. ++* `CF_TYPE_SSL`: this filter type provides encryption. ++* `CF_TYPE_MULTIPLEX`: this filter type can manage multiple transfers in parallel. ++ ++Filter types can combine these flags. For example, the HTTP/3 filter types ++have `CF_TYPE_IP_CONNECT`, `CF_TYPE_SSL` and `CF_TYPE_MULTIPLEX` set. ++ ++Flags are useful to extrapolate properties of a connection. To check if a ++connection is encrypted, libcurl inspect the filter chain in place, top down, ++for `CF_TYPE_SSL`. If it finds `CF_TYPE_IP_CONNECT` before any `CF_TYPE_SSL`, ++the connection is not encrypted. ++ ++For example, `conn1` is for a `http:` request using a tunnel through an HTTP/2 ++`https:` proxy. `conn2` is a `https:` HTTP/2 connection to the same proxy. ++`conn3` uses HTTP/3 without proxy. The filter chains would look like this ++(simplified): ++ ++``` ++conn1 --> `HTTP-PROXY` --> `H2-PROXY` --> `SSL` --> `TCP` ++flags: `IP_CONNECT` `SSL` `IP_CONNECT` ++ ++conn2 --> `HTTP/2` --> `SSL` --> `HTTP-PROXY` --> `H2-PROXY` --> `SSL` --> `TCP` ++flags: `SSL` `IP_CONNECT` `SSL` `IP_CONNECT` ++ ++conn3 --> `HTTP/3` ++flags: `SSL|IP_CONNECT` ++``` ++ ++Inspecting the filter chains, `conn1` is seen as unencrypted, since it ++contains an `IP_CONNECT` filter before any `SSL`. `conn2` is clearly encrypted ++as an `SSL` flagged filter is seen first. `conn3` is also encrypted as the ++`SSL` flag is checked before the presence of `IP_CONNECT`. ++ ++Similar checks can determine if a connection is multiplexed or not. ++ ++## Filter Tracing ++ ++Filters may make use of special trace macros like `CURL_TRC_CF(data, cf, msg, ++...)`. With `data` being the transfer and `cf` being the filter instance. ++These traces are normally not active and their execution is guarded so that ++they are cheap to ignore. ++ ++Users of `curl` may activate them by adding the name of the filter type to the ++`--trace-config` argument. For example, in order to get more detailed tracing ++of an HTTP/2 request, invoke curl with: ++ ++``` ++> curl -v --trace-config ids,time,http/2 https://curl.se ++``` ++ ++Which gives you trace output with time information, transfer+connection ids ++and details from the `HTTP/2` filter. Filter type names in the trace config ++are case insensitive. You may use `all` to enable tracing for all filter ++types. When using `libcurl` you may call `curl_global_trace(config_string)` at ++the start of your application to enable filter details. ++ ++## Meta Filters ++ ++Meta filters is a catch-all name for filter types that do not change the ++transfer data in any way but provide other important services to curl. In ++general, it is possible to do all sorts of silly things with them. One of the ++commonly used, important things is "eyeballing". + +-* **Statistics**: a filter that counts the number of bytes sent/received. Place one in front of SOCKET and one higher up and get the number of raw and "easy" bytes transferred. They may track the speed as well, or number of partial writes, etc. +-* **Timeout**: enforce timeouts, e.g. fail if a connection cannot be established in a certain amount of time. +-* **Progress**: report progress on a connection. +-* **Pacing**: limit read/write rates. +-* **Testing**: simulate network condition or failures. ++The `HAPPY-EYEBALLS` filter is involved in the connect phase. Its job is to ++try the various IPv4 and IPv6 addresses that are known for a server. If only ++one address family is known (or configured), it tries the addresses one after ++the other with timeouts calculated from the amount of addresses and the ++overall connect timeout. + +-As you see, filters are a good way to add functionality to curl's internal handling of transfers without impact on other code. ++When more than one address family is to be tried, it splits the address list ++into IPv4 and IPv6 and makes parallel attempts. The connection filter chain ++looks like this: ++ ++``` ++* create connection for http://curl.se ++conn[curl.se] --> SETUP[TCP] --> HAPPY-EYEBALLS --> NULL ++* start connect ++conn[curl.se] --> SETUP[TCP] --> HAPPY-EYEBALLS --> NULL ++ - ballerv4 --> TCP[151.101.1.91]:443 ++ - ballerv6 --> TCP[2a04:4e42:c00::347]:443 ++* v6 answers, connected ++conn[curl.se] --> SETUP[TCP] --> HAPPY-EYEBALLS --> TCP[2a04:4e42:c00::347]:443 ++* transfer ++``` + +-## Easy Filters? ++The modular design of connection filters and that we can plug them into each other is used to control the parallel attempts. When a `TCP` filter does not connect (in time), it is torn down and another one is created for the next address. This keeps the `TCP` filter simple. + +-Some things that curl needs to manage are not directly tied to a specific connection but the property of the `Curl_easy` handle, e.g. a particular transfer. When using HTTP/2 or HTTP/3, many transfers can use the same connection. If one wants to monitor of the transfer itself or restricting its speed alone, a connection filter is not the right place to do this. ++The `HAPPY-EYEBALLS` on the other hand stays focused on its side of the problem. We can use it also to make other type of connection by just giving it another filter type to try to have happy eyeballing for QUIC: + +-So we might add "easy filters" one day. Who knows? ++``` ++* create connection for --http3-only https://curl.se ++conn[curl.se] --> SETUP[QUIC] --> HAPPY-EYEBALLS --> NULL ++* start connect ++conn[curl.se] --> SETUP[QUIC] --> HAPPY-EYEBALLS --> NULL ++ - ballerv4 --> HTTP/3[151.101.1.91]:443 ++ - ballerv6 --> HTTP/3[2a04:4e42:c00::347]:443 ++* v6 answers, connected ++conn[curl.se] --> SETUP[QUIC] --> HAPPY-EYEBALLS --> HTTP/3[2a04:4e42:c00::347]:443 ++* transfer ++``` ++ ++When we plug these two variants together, we get the `HTTPS-CONNECT` filter ++type that is used for `--http3` when **both** HTTP/3 and HTTP/2 or HTTP/1.1 ++shall be attempted: ++ ++``` ++* create connection for --http3 https://curl.se ++conn[curl.se] --> HTTPS-CONNECT --> NULL ++* start connect ++conn[curl.se] --> HTTPS-CONNECT --> NULL ++ - SETUP[QUIC] --> HAPPY-EYEBALLS --> NULL ++ - ballerv4 --> HTTP/3[151.101.1.91]:443 ++ - ballerv6 --> HTTP/3[2a04:4e42:c00::347]:443 ++ - SETUP[TCP] --> HAPPY-EYEBALLS --> NULL ++ - ballerv4 --> TCP[151.101.1.91]:443 ++ - ballerv6 --> TCP[2a04:4e42:c00::347]:443 ++* v4 QUIC answers, connected ++conn[curl.se] --> HTTPS-CONNECT --> SETUP[QUIC] --> HAPPY-EYEBALLS --> HTTP/3[151.101.1.91]:443 ++* transfer ++``` +diff --git a/docs/CONTRIBUTE.md b/docs/CONTRIBUTE.md +index 72d3190..6288dac 100644 +--- a/docs/CONTRIBUTE.md ++++ b/docs/CONTRIBUTE.md +@@ -35,14 +35,14 @@ must use "GPL compatible" licenses (as we want to allow users to use libcurl + properly in GPL licensed environments). + + When changing existing source code, you do not alter the copyright of the +-original file(s). The copyright will still be owned by the original creator(s) +-or those who have been assigned copyright by the original author(s). ++original file(s). The copyright is still owned by the original creator(s) or ++those who have been assigned copyright by the original author(s). + + By submitting a patch to the curl project, you are assumed to have the right + to the code and to be allowed by your employer or whatever to hand over that +-patch/code to us. We will credit you for your changes as far as possible, to +-give credit but also to keep a trace back to who made what changes. Please +-always provide us with your full real name when contributing, ++patch/code to us. We credit you for your changes as far as possible, to give ++credit but also to keep a trace back to who made what changes. Please always ++provide us with your full real name when contributing, + + ## What To Read + +@@ -50,10 +50,10 @@ Source code, the man pages, the [INTERNALS + document](https://curl.se/dev/internals.html), + [TODO](https://curl.se/docs/todo.html), + [KNOWN_BUGS](https://curl.se/docs/knownbugs.html) and the [most recent +-changes](https://curl.se/dev/sourceactivity.html) in git. Just lurking on +-the [curl-library mailing +-list](https://curl.se/mail/list.cgi?list=curl-library) will give you a +-lot of insights on what's going on right now. Asking there is a good idea too. ++changes](https://curl.se/dev/sourceactivity.html) in git. Just lurking on the ++[curl-library mailing list](https://curl.se/mail/list.cgi?list=curl-library) ++gives you a lot of insights on what's going on right now. Asking there is a ++good idea too. + + ## Write a good patch + +@@ -101,22 +101,23 @@ archive is quite OK as well. + ### Documentation + + Writing docs is dead boring and one of the big problems with many open source +-projects. But someone's gotta do it. It makes things a lot easier if you +-submit a small description of your fix or your new features with every +-contribution so that it can be swiftly added to the package documentation. ++projects but someone's gotta do it. It makes things a lot easier if you submit ++a small description of your fix or your new features with every contribution ++so that it can be swiftly added to the package documentation. + +-The documentation is always made in man pages (nroff formatted) or plain +-ASCII files. All HTML files on the website and in the release archives are +-generated from the nroff/ASCII versions. ++Documentation is mostly provided as manpages or plain ASCII files. The ++manpages are rendered from their source files that are usually written using ++markdown. Most HTML files on the website and in the release archives are ++generated from corresponding markdown and ASCII files. + + ### Test Cases + + Since the introduction of the test suite, we can quickly verify that the main + features are working as they are supposed to. To maintain this situation and +-improve it, all new features and functions that are added need to be tested +-in the test suite. Every feature that is added should get at least one valid +-test case that verifies that it works as documented. If every submitter also +-posts a few test cases, it will not end up as a heavy burden on a single person! ++improve it, all new features and functions that are added need to be tested in ++the test suite. Every feature that is added should get at least one valid test ++case that verifies that it works as documented. If every submitter also posts ++a few test cases, it does not end up a heavy burden on a single person. + + If you do not have test cases or perhaps you have done something that is hard + to write tests for, do explain exactly how you have otherwise tested and +@@ -131,19 +132,19 @@ GitHub](https://github.com/curl/curl/pulls), but you can also send your plain + patch to [the curl-library mailing + list](https://curl.se/mail/list.cgi?list=curl-library). + +-If you opt to post a patch on the mailing list, chances are someone will +-convert it into a pull request for you, to have the CI jobs verify it proper +-before it can be merged. Be prepared that some feedback on the proposed change +-might then come on GitHub. ++If you opt to post a patch on the mailing list, chances are someone converts ++it into a pull request for you, to have the CI jobs verify it proper before it ++can be merged. Be prepared that some feedback on the proposed change might ++then come on GitHub. + +-Your change will be reviewed and discussed and you will be expected to correct +-flaws pointed out and update accordingly, or the change risks stalling and ++Your changes be reviewed and discussed and you are expected to correct flaws ++pointed out and update accordingly, or the change risks stalling and + eventually just getting deleted without action. As a submitter of a change, + you are the owner of that change until it has been merged. + + Respond on the list or on GitHub about the change and answer questions and/or +-fix nits/flaws. This is important. We will take lack of replies as a sign that +-you are not anxious to get your patch accepted and we tend to simply drop such ++fix nits/flaws. This is important. We take lack of replies as a sign that you ++are not anxious to get your patch accepted and we tend to simply drop such + changes. + + ### About pull requests +@@ -157,7 +158,7 @@ git commit that is easy to merge and they are easy to track and not that easy + to lose in the flood of many emails, like they sometimes do on the mailing + lists. + +-Every pull request submitted will automatically be tested in several different ++Every pull request submitted is automatically tested in several different + ways. [See the CI document for more + information](https://github.com/curl/curl/blob/master/tests/CI.md). + +@@ -219,10 +220,10 @@ A short guide to how to write git commit messages in the curl project. + has already been closed] + [Ref: URL to more information about the commit; use Bug: instead for + a reference to a bug on another bug tracker] +- [Fixes #1234 - if this closes a GitHub issue; GitHub will actually +- close the issue once this commit is merged] +- [Closes #1234 - if this closes a GitHub PR; GitHub will actually +- close the PR once this commit is merged] ++ [Fixes #1234 - if this closes a GitHub issue; GitHub closes the issue once ++ this commit is merged] ++ [Closes #1234 - if this closes a GitHub PR; GitHub closes the PR once this ++ commit is merged] + ---- stop ---- + + The first line is a succinct description of the change: +@@ -240,18 +241,18 @@ make sure that you have your own user and email setup correctly in git before + you commit. + + Add whichever header lines as appropriate, with one line per person if more +-than one person was involved. There is no need to credit yourself unless you are +-using --author=... which hides your identity. Do not include people's e-mail +-addresses in headers to avoid spam, unless they are already public from a +-previous commit; saying `{userid} on github` is OK. ++than one person was involved. There is no need to credit yourself unless you ++are using --author=... which hides your identity. Do not include people's ++email addresses in headers to avoid spam, unless they are already public from ++a previous commit; saying `{userid} on github` is OK. + + ### Write Access to git Repository + + If you are a frequent contributor, you may be given push access to the git +-repository and then you will be able to push your changes straight into the git ++repository and then you are able to push your changes straight into the git + repo instead of sending changes as pull requests or by mail as patches. + +-Just ask if this is what you would want. You will be required to have posted ++Just ask if this is what you would want. You are required to have posted + several high quality patches first, before you can be granted push access. + + ### How To Make a Patch with git +@@ -302,9 +303,9 @@ all kinds of Unixes and Windows. + + ## Update copyright and license information + +-There is a CI job called **REUSE compliance / check** that will run on every +-pull request and commit to verify that the *REUSE state* of all files are +-still fine. ++There is a CI job called **REUSE compliance / check** that runs on every pull ++request and commit to verify that the *REUSE state* of all files are still ++fine. + + This means that all files need to have their license and copyright information + clearly stated. Ideally by having the standard curl source code header, with +diff --git a/docs/CURLDOWN.md b/docs/CURLDOWN.md +new file mode 100644 +index 0000000..8ee2f3c +--- /dev/null ++++ b/docs/CURLDOWN.md +@@ -0,0 +1,153 @@ ++# curldown ++ ++A markdown-like syntax for libcurl man pages. ++ ++## Purpose ++ ++A text format for writing libcurl documentation in the shape of man pages. ++ ++Make it easier for users to contribute and write documentation. A format that ++is easier on the eye in its source format. ++ ++Make it harder to do syntactical mistakes. ++ ++Use a format that allows creating man pages that end up looking exactly like ++the man pages did when we wrote them in nroff format. ++ ++Take advantage of the fact that people these days are accustomed to markdown ++by using a markdown-like syntax. ++ ++This allows us to fix issues in the nroff format easier since now we generate ++them. For example: escaping minus to prevent them from being turned into ++Unicode by man. ++ ++Generate nroff output that looks (next to) *identical* to the previous files, ++so that the look, existing test cases, HTML conversions, existing ++infrastructure etc remain mostly intact. ++ ++Contains meta-data in a structured way to allow better output (for example the ++see also information) and general awareness of what the file is about. ++ ++## File extension ++ ++Since curldown looks similar to markdown, we use `.md` extensions on the ++files. ++ ++## Conversion ++ ++Convert **from curldown to nroff** with `cd2nroff`. Generates nroff man pages. ++ ++Convert **from nroff to curldown** with `nroff2cd`. This is only meant to be ++used for the initial conversion to curldown and should ideally never be needed ++again. ++ ++Convert, check or clean up an existing curldown to nicer, better, cleaner ++curldown with **cd2cd**. ++ ++Mass-convert all curldown files to nroff in specified directories with ++`cdall`: ++ ++ cdall [dir1] [dir2] [dir3] .. ++ ++## Known issues ++ ++The `cd2nroff` tool does not yet handle *italics* or **bold** where the start ++and the end markers are used on separate lines. ++ ++The `nroff2cd` tool generates code style quotes for all `.fi` sections since ++the nroff format does not carry a distinction. ++ ++# Format ++ ++Each curldown starts with a header with meta-data: ++ ++ --- ++ c: Copyright (C) Daniel Stenberg, , et al. ++ SPDX-License-Identifier: curl ++ Title: CURLOPT_AWS_SIGV4 ++ Section: 3 ++ Source: libcurl ++ Protocol: ++ - HTTP ++ See-also: ++ - CURLOPT_HEADEROPT (3) ++ - CURLOPT_HTTPAUTH (3) ++ TLS-backend: ++ - [name] ++ --- ++ ++All curldown files *must* have all the headers present and at least one ++`See-also:` entry specified. ++ ++If the man page is for section 3 (library related). The `Protocol` list must ++contain at least one protocol, which can be `*` if the option is virtually for ++everything. If `*` is used, it must be the only listed protocol. Recognized ++protocols are either URL schemes (in uppercase), `TLS` or `TCP`. ++ ++If the `Protocol` list contains `TLS`, then there must also be a `TLS-backend` ++list, specifying `All` or a list of what TLS backends that work with this ++option. The available TLS backends are: ++ ++- `BearSSL` ++- `GnuTLS` ++- `mbedTLS` ++- `OpenSSL` (also covers BoringSSL, libressl, quictls, AWS-LC and AmiSSL) ++- `rustls` ++- `Schannel` ++- `Secure Transport` ++- `wolfSSL` ++- `All`: all TLS backends ++ ++Following the header in the file, is the manual page using markdown-like ++syntax: ++ ++~~~ ++ # NAME ++ a page - this is a page descriving something ++ ++ # SYNOPSIS ++ ~~~c ++ #include ++ ++ CURLcode curl_easy_setopt(CURL *handle, CURLOPT_AWS_SIGV4, char *param); ++ ~~~ ++~~~ ++ ++Quoted source code should start with `~~~c` and end with `~~~` while regular ++quotes can start with `~~~` or just be indented with 4 spaces. ++ ++Headers at top-level `#` get converted to `.SH`. ++ ++`nroff2cd` supports the `##` next level header which gets converted to `.IP`. ++ ++Write bold words or phrases within `**` like: ++ ++ This is a **bold** word. ++ ++Write italics like: ++ ++ This is *italics*. ++ ++Due to how man pages do not support backticks especially formatted, such ++occurrences in the source are instead just using italics in the generated ++output: ++ ++ This `word` appears in italics. ++ ++When generating the nroff output, the tooling removes superfluous newlines, ++meaning they can be used freely in the source file to make the text more ++readable. ++ ++To make sure curldown documents render correctly as markdown, all literal ++occurrences of `<` or `>` need to be escaped by a leading backslash. ++ ++## symbols ++ ++All mentioned curl symbols that have their own man pages, like ++`curl_easy_perform(3)` are automatically rendered using italics in the output ++without having to enclose it with asterisks. This helps ensuring that they get ++converted to links properly later in the HTML version on the website, as ++converted with `roffit`. This makes the curldown text easier to read even when ++mentioning many curl symbols. ++ ++This auto-linking works for patterns matching `(lib|)curl[^ ]*(3)`. +diff --git a/docs/DEPRECATE.md b/docs/DEPRECATE.md +index c932fad..6b6b5b4 100644 +--- a/docs/DEPRECATE.md ++++ b/docs/DEPRECATE.md +@@ -6,6 +6,21 @@ email the + as soon as possible and explain to us why this is a problem for you and + how your use case cannot be satisfied properly using a workaround. + ++## NTLM_WB auth ++ ++This NTLM authentication method is powered by a separate tool, ++`ntlm_auth`. Barely anyone uses this method. It was always a quirky ++implementation (including fork + exec), it has limited portability and we do ++not test it in the test suite and CI. ++ ++We keep the native NTLM implementation. ++ ++Due to a mistake, the `NTLM_WB` functionality is missing in builds since 8.4.0 ++(October 2023). It needs to be manually patched to work. See [PR ++12479](https://github.com/curl/curl/pull/12479). ++ ++curl removes the support for NTLM_WB auth in April 2024. ++ + ## space-separated `NOPROXY` patterns + + When specifying patterns/domain names for curl that should *not* go through a +@@ -23,7 +38,7 @@ variable but do not consider a space to be a valid separator. Using spaces for + separator is probably less portable and might cause more friction than commas + do. Users should use commas for this for greater portability. + +-curl will remove the support for space-separated names in July 2024. ++curl removes the support for space-separated names in July 2024. + + ## past removals + +diff --git a/docs/DISTROS.md b/docs/DISTROS.md +new file mode 100644 +index 0000000..09e588c +--- /dev/null ++++ b/docs/DISTROS.md +@@ -0,0 +1,233 @@ ++# curl distros ++ ++ ++ ++Lots of organizations distribute curl packages to end users. This is a ++collection of pointers to where to learn more about curl on and with each ++distro. ++ ++We discuss curl distro issues, patches and collaboration on the [curl-distros ++mailing list](https://lists.haxx.se/listinfo/curl-distros). ++ ++## AlmaLinux ++ ++- curl package source and patches: curl package source and patches ++- curl issues: https://bugs.almalinux.org/view_all_bug_page.php click Category and choose curl ++- curl security: https://errata.almalinux.org/ search for curl ++ ++## Alpine Linux ++ ++- curl: https://pkgs.alpinelinux.org/package/edge/main/x86_64/curl ++- curl issues: https://gitlab.alpinelinux.org/alpine/aports/-/issues ++- curl security: https://security.alpinelinux.org/srcpkg/curl ++- curl package source and patches: https://gitlab.alpinelinux.org/alpine/aports/-/tree/master/main/curl ++ ++## Alt Linux ++ ++- curl: http://www.sisyphus.ru/srpm/Sisyphus/curl ++- curl patches: http://www.sisyphus.ru/ru/srpm/Sisyphus/curl/patches ++- curl issues: http://www.sisyphus.ru/ru/srpm/Sisyphus/curl/bugs ++ ++## Arch Linux ++ ++- curl: https://archlinux.org/packages/core/x86_64/curl/ ++- curl issues: https://gitlab.archlinux.org/archlinux/packaging/packages/curl/-/issues ++- curl security: https://security.archlinux.org/package/curl ++- curl wiki: https://wiki.archlinux.org/title/CURL ++ ++## Buildroot ++ ++- curl package source and patches: https://git.buildroot.net/buildroot/tree/package/libcurl ++- curl issues: https://bugs.buildroot.org/buglist.cgi?quicksearch=curl ++ ++## Chimera ++ ++- curl package source and patches: https://github.com/chimera-linux/cports/tree/master/main/curl ++ ++## Clear Linux ++ ++- curl: https://github.com/clearlinux-pkgs/curl ++- curl issues: https://github.com/clearlinux/distribution/issues ++ ++## Conary ++ ++- curl: https://github.com/conan-io/conan-center-index/tree/master/recipes/libcurl ++- curl issues: https://github.com/conan-io/conan-center-index/issues ++- curl patches: https://github.com/conan-io/conan-center-index/tree/master/recipes/libcurl (in `all/patches/*`, if any) ++ ++## conda-forge ++ ++- curl: https://github.com/conda-forge/curl-feedstock ++- curl issues: https://github.com/conda-forge/curl-feedstock/issues ++ ++## CRUX ++ ++- curl: https://crux.nu/portdb/?a=search&q=curl ++- curl issues: https://git.crux.nu/ports/core/issues/?type=all&state=open&q=curl ++ ++## curl-for-win ++ ++(this is the official curl binaries for Windows shipped by the curl project) ++ ++- curl: https://curl.se/windows/ ++ ++Issues and patches for this are managed in the main curl project. ++ ++## Cygwin ++ ++- curl: https://cygwin.com/cgit/cygwin-packages/curl/tree/curl.cygport ++- curl patches: https://cygwin.com/cgit/cygwin-packages/curl/tree ++ ++## Debian ++ ++- curl: https://tracker.debian.org/pkg/curl ++- curl issues: https://bugs.debian.org/cgi-bin/pkgreport.cgi?pkg=curl ++- curl patches: https://udd.debian.org/patches.cgi?src=curl ++- curl patches: https://salsa.debian.org/debian/curl (in debian/* branches, inside the folder debian/patches) ++ ++## Fedora ++ ++- curl: https://src.fedoraproject.org/rpms/curl ++- curl issues: [bugzilla](https://bugzilla.redhat.com/buglist.cgi?bug_status=NEW&bug_status=ASSIGNED&classification=Fedora&product=Fedora&product=Fedora%20EPEL&component=curl) ++- curl patches: [list of patches in package git](https://src.fedoraproject.org/rpms/curl/tree/rawhide) ++ ++## FreeBSD ++ ++- curl: https://cgit.freebsd.org/ports/tree/ftp/curl ++- curl patches: https://cgit.freebsd.org/ports/tree/ftp/curl ++- curl issues: https://bugs.freebsd.org/bugzilla/buglist.cgi?bug_status=__open__&order=Importance&product=Ports%20%26%20Packages&query_format=advanced&short_desc=curl&short_desc_type=allwordssubstr ++ ++## Gentoo Linux ++ ++- curl: https://packages.gentoo.org/packages/net-misc/curl ++- curl issues: https://bugs.gentoo.org/buglist.cgi?quicksearch=net-misc/curl ++- curl package sources and patches: https://gitweb.gentoo.org/repo/gentoo.git/tree/net-misc/curl/ ++ ++## GNU Guix ++ ++- curl: https://git.savannah.gnu.org/gitweb/?p=guix.git;a=blob;f=gnu/packages/curl.scm;hb=HEAD ++- curl issues: https://issues.guix.gnu.org/search?query=curl ++ ++## Homebrew ++ ++- curl: https://formulae.brew.sh/formula/curl ++ ++Homebrew's policy is that all patches and issues should be submitted upstream ++unless it is very specific to Homebrew's way of packaging software. ++ ++## MacPorts ++ ++- curl: https://github.com/macports/macports-ports/tree/master/net/curl ++- curl issues: https://trac.macports.org/query?0_port=curl&0_port_mode=%7E&0_status=%21closed ++- curl patches: https://github.com/macports/macports-ports/tree/master/net/curl/files ++ ++## Mageia ++ ++- curl: https://svnweb.mageia.org/packages/cauldron/curl/current/SPECS/curl.spec?view=markup ++- curl issues: https://bugs.mageia.org/buglist.cgi?bug_status=NEW&bug_status=UNCONFIRMED&bug_status=NEEDINFO&bug_status=UPSTREAM&bug_status=ASSIGNED&component=RPM%20Packages&f1=cf_rpmpkg&list_id=176576&o1=casesubstring&product=Mageia&query_format=advanced&v1=curl ++- curl patches: https://svnweb.mageia.org/packages/cauldron/curl/current/SOURCES/ ++- curl patches in stable distro releases: https://svnweb.mageia.org/packages/updates//curl/current/SOURCES/ ++- curl security: https://advisories.mageia.org/src_curl.html ++ ++## MSYS2 ++ ++- curl: https://github.com/msys2/MINGW-packages/tree/master/mingw-w64-curl ++- curl issues: https://github.com/msys2/MINGW-packages/issues ++- curl patches: https://github.com/msys2/MINGW-packages/tree/master/mingw-w64-curl (`*.patch`) ++ ++## Muldersoft ++ ++- curl: https://github.com/lordmulder/cURL-build-win32 ++- curl issues: https://github.com/lordmulder/cURL-build-win32/issues ++- curl patches: https://github.com/lordmulder/cURL-build-win32/tree/master/patch ++ ++## NixOS ++ ++- curl: https://github.com/NixOS/nixpkgs/blob/master/pkgs/tools/networking/curl/default.nix ++- curl issues: https://github.com/NixOS/nixpkgs ++ ++nixpkgs is the package repository used by the NixOS Linux distribution, but ++can also be used on other distributions ++ ++## OmniOS ++ ++- curl: https://github.com/omniosorg/omnios-build/tree/master/build/curl ++- curl issues: https://github.com/omniosorg/omnios-build/issues ++- curl patches: https://github.com/omniosorg/omnios-build/tree/master/build/curl/patches ++ ++## OpenIndiana ++ ++- curl: https://github.com/OpenIndiana/oi-userland/tree/oi/hipster/components/web/curl ++- curl issues: https://www.illumos.org/projects/openindiana/issues ++- curl patches: https://github.com/OpenIndiana/oi-userland/tree/oi/hipster/components/web/curl/patches ++ ++## OpenSUSE ++ ++- curl source and patches: https://build.opensuse.org/package/show/openSUSE%3AFactory/curl ++ ++## Oracle Solaris ++ ++- curl: https://github.com/oracle/solaris-userland/tree/master/components/curl ++- curl issues: https://support.oracle.com/ (requires support contract) ++- curl patches: https://github.com/oracle/solaris-userland/tree/master/components/curl/patches ++ ++## OpenEmbedded / Yocto Project ++ ++- curl: https://layers.openembedded.org/layerindex/recipe/5765/ ++- curl issues: https://bugzilla.yoctoproject.org/ ++- curl patches: https://git.openembedded.org/openembedded-core/tree/meta/recipes-support/curl ++ ++## PLD Linux ++ ++- curl package source and patches: https://github.com/pld-linux/curl ++- curl issues: https://bugs.launchpad.net/pld-linux?field.searchtext=curl&search=Search&field.status%3Alist=NEW&field.status%3Alist=INCOMPLETE_WITH_RESPONSE&field.status%3Alist=INCOMPLETE_WITHOUT_RESPONSE&field.status%3Alist=CONFIRMED&field.status%3Alist=TRIAGED&field.status%3Alist=INPROGRESS&field.status%3Alist=FIXCOMMITTED&field.assignee=&field.bug_reporter=&field.omit_dupes=on&field.has_patch=&field.has_no_package= ++ ++## pkgsrc ++ ++- curl: https://github.com/NetBSD/pkgsrc/tree/trunk/www/curl ++- curl issues: https://github.com/NetBSD/pkgsrc/issues ++- curl patches: https://github.com/NetBSD/pkgsrc/tree/trunk/www/curl/patches ++ ++## Red Hat Enterprise Linux / CentOS Stream ++ ++- curl: https://kojihub.stream.centos.org/koji/packageinfo?packageID=217 ++- curl issues: https://issues.redhat.com/secure/CreateIssueDetails!init.jspa?pid=12332745&issuetype=1&components=12377466&priority=10300 ++- curl patches: https://gitlab.com/redhat/centos-stream/rpms/curl ++ ++## Rocky Linux ++ ++- curl: https://git.rockylinux.org/staging/rpms/curl/-/blob/r9/SPECS/curl.spec ++- curl issues: https://bugs.rockylinux.org ++- curl patches: https://git.rockylinux.org/staging/rpms/curl/-/tree/r9/SOURCES ++ ++## SerenityOS ++ ++- curl: https://github.com/SerenityOS/serenity/tree/master/Ports/curl ++- curl issues: https://github.com/SerenityOS/serenity/issues?q=label%3Aports ++- curl patches: https://github.com/SerenityOS/serenity/tree/master/Ports/curl/patches ++ ++## SmartOS ++ ++- curl: https://github.com/TritonDataCenter/illumos-extra/tree/master/curl ++- curl issues: https://github.com/TritonDataCenter/illumos-extra/issues ++- curl patches: https://github.com/TritonDataCenter/illumos-extra/tree/master/curl/Patches ++ ++## SPACK ++ ++- curl package source and patches: https://github.com/spack/spack/tree/develop/var/spack/repos/builtin/packages/curl ++ ++## vcpkg ++ ++- curl: https://github.com/microsoft/vcpkg/tree/master/ports/curl ++- curl issues: https://github.com/microsoft/vcpkg/issues ++- curl patches: https://github.com/microsoft/vcpkg/tree/master/ports/curl (`*.patch`) ++ ++## Void Linux ++ ++- curl: https://github.com/void-linux/void-packages/tree/master/srcpkgs/curl ++- curl issues: https://github.com/void-linux/void-packages/issues ++- curl patches: https://github.com/void-linux/void-packages/tree/master/srcpkgs/curl/patches ++ ++## Wolfi ++ ++- curl: https://github.com/wolfi-dev/os/blob/main/curl.yaml +diff --git a/docs/DYNBUF.md b/docs/DYNBUF.md +index c3a4b76..3f63ec7 100644 +--- a/docs/DYNBUF.md ++++ b/docs/DYNBUF.md +@@ -3,7 +3,7 @@ + This is the internal module for creating and handling "dynamic buffers". This + means buffers that can be appended to, dynamically and grow to adapt. + +-There will always be a terminating zero put at the end of the dynamic buffer. ++There is always a terminating zero put at the end of the dynamic buffer. + + The `struct dynbuf` is used to hold data for each instance of a dynamic + buffer. The members of that struct **MUST NOT** be accessed or modified +@@ -17,8 +17,8 @@ void Curl_dyn_init(struct dynbuf *s, size_t toobig); + + This initializes a struct to use for dynbuf and it cannot fail. The `toobig` + value **must** be set to the maximum size we allow this buffer instance to +-grow to. The functions below will return `CURLE_OUT_OF_MEMORY` when hitting +-this limit. ++grow to. The functions below return `CURLE_OUT_OF_MEMORY` when hitting this ++limit. + + ## `Curl_dyn_free` + +diff --git a/docs/EARLY-RELEASE.md b/docs/EARLY-RELEASE.md +index 6d5a5e2..3e9a679 100644 +--- a/docs/EARLY-RELEASE.md ++++ b/docs/EARLY-RELEASE.md +@@ -28,7 +28,7 @@ big and we never release just a patch. There is only "release". + - Is there a security advisory rated high or critical? + - Is there a data corruption bug? + - Did the bug cause an API/ABI breakage? +- - Will the problem annoy a significant share of the user population? ++ - Does the problem annoy a significant share of the user population? + + If the answer is yes to one or more of the above, an early release might be + warranted. +diff --git a/docs/EXPERIMENTAL.md b/docs/EXPERIMENTAL.md +index 6b7145d..ee26ac1 100644 +--- a/docs/EXPERIMENTAL.md ++++ b/docs/EXPERIMENTAL.md +@@ -8,8 +8,8 @@ Experimental support in curl means: + 1. Experimental features are provided to allow users to try them out and + provide feedback on functionality and API etc before they ship and get + "carved in stone". +-2. You must enable the feature when invoking configure as otherwise curl will +- not be built with the feature present. ++2. You must enable the feature when invoking configure as otherwise curl is ++ not built with the feature present. + 3. We strongly advise against using this feature in production. + 4. **We reserve the right to change behavior** of the feature without sticking + to our API/ABI rules as we do for regular features, as long as it is marked +@@ -19,6 +19,6 @@ Experimental support in curl means: + ## Experimental features right now + + - The Hyper HTTP backend +- - HTTP/3 support and options ++ - HTTP/3 support (using the quiche or msh3 backends) + - The rustls backend + - WebSocket +diff --git a/docs/FEATURES.md b/docs/FEATURES.md +index 9f763d3..bae38fb 100644 +--- a/docs/FEATURES.md ++++ b/docs/FEATURES.md +@@ -12,11 +12,11 @@ + + ## libcurl + +- - full URL syntax with no length limit ++ - URL RFC 3986 syntax + - custom maximum download time + - custom least download speed acceptable + - custom output result after completion +- - guesses protocol from host name unless specified ++ - guesses protocol from hostname unless specified + - uses .netrc + - progress bar with time statistics while downloading + - "standard" proxy environment variables support +@@ -26,7 +26,7 @@ + - happy eyeballs dual-stack connects + - persistent connections + - SOCKS 4 + 5 support, with or without local name resolving +- - supports user name and password in proxy environment variables ++ - supports username and password in proxy environment variables + - operations through HTTP proxy "tunnel" (using CONNECT) + - replaceable memory functions (malloc, free, realloc, etc) + - asynchronous name resolving (6) +@@ -82,8 +82,8 @@ + - active/passive using PORT, EPRT, PASV or EPSV + - single file size information (compare to HTTP HEAD) + - 'type=' URL support +- - dir listing +- - dir listing names-only ++ - directory listing ++ - directory listing names-only + - upload + - upload append + - upload via http-proxy as HTTP PUT +@@ -94,7 +94,7 @@ + - via HTTP proxy, HTTPS proxy or SOCKS proxy + - all operations can be tunneled through proxy + - customizable to retrieve file modification date +- - no dir depth limit ++ - no directory depth limit + + ## FTPS (1) + +diff --git a/docs/GOVERNANCE.md b/docs/GOVERNANCE.md +index dd09de4..09723c4 100644 +--- a/docs/GOVERNANCE.md ++++ b/docs/GOVERNANCE.md +@@ -10,9 +10,8 @@ BDFL (Benevolent Dictator For Life) style project. + + This setup has been used due to convenience and the fact that it has worked + fine this far. It is not because someone thinks of it as a superior project +-leadership model. It will also only continue working as long as Daniel manages +-to listen in to what the project and the general user population wants and +-expects from us. ++leadership model. It also only works as long as Daniel manages to listen in to ++what the project and the general user population wants and expects from us. + + ## Legal entity + +@@ -29,13 +28,13 @@ that wrote those parts of the code. + The curl project is not a democracy, but everyone is entitled to state their + opinion and may argue for their sake within the community. + +-All and any changes that have been done or will be done are eligible to bring +-up for discussion, to object to or to praise. Ideally, we find consensus for +-the appropriate way forward in any given situation or challenge. ++All and any changes that have been done or are done are eligible to bring up ++for discussion, to object to or to praise. Ideally, we find consensus for the ++appropriate way forward in any given situation or challenge. + + If there is no obvious consensus, a maintainer who's knowledgeable in the +-specific area will take an "executive" decision that they think is the right +-for the project. ++specific area takes an "executive" decision that they think is the right for ++the project. + + ## Donations + +@@ -81,17 +80,17 @@ curl source code repository. Committers are recorded as `Author` in git. + A maintainer in the curl project is an individual who has been given + permissions to push commits to one of the git repositories. + +-Maintainers are free to push commits to the repositories at their own will. ++Maintainers are free to push commits to the repositories at they see fit. + Maintainers are however expected to listen to feedback from users and any + change that is non-trivial in size or nature *should* be brought to the + project as a Pull-Request (PR) to allow others to comment/object before merge. + + ## Former maintainers + +-A maintainer who stops being active in the project will at some point get +-their push permissions removed. We do this for security reasons but also to +-make sure that we always have the list of maintainers as "the team that push +-stuff to curl". ++A maintainer who stops being active in the project gets their push permissions ++removed at some point. We do this for security reasons but also to make sure ++that we always have the list of maintainers as "the team that push stuff to ++curl". + + Getting push permissions removed is not a punishment. Everyone who ever worked + on maintaining curl is considered a hero, for all time hereafter. +@@ -100,7 +99,7 @@ on maintaining curl is considered a hero, for all time hereafter. + + We have a security team. That is the team of people who are subscribed to the + curl-security mailing list; the receivers of security reports from users and +-developers. This list of people will vary over time but should be skilled ++developers. This list of people varies over time but they are all skilled + developers familiar with the curl project. + + The security team works best when it consists of a small set of active +@@ -108,6 +107,22 @@ persons. We invite new members when the team seems to need it, and we also + expect to retire security team members as they "drift off" from the project or + just find themselves unable to perform their duties there. + ++## Core team ++ ++There is a curl core team. It currently has the same set of members as the ++security team. It can also be reached on the security email address. ++ ++The core team nominates and invites new members to the team when it sees fit. ++There is no open member voting or formal ways to be a candidate. Active ++participants in the curl project who want to join the core team can ask to ++join. ++ ++The core team is a board of advisors. It deals with project management ++subjects that need confidentiality or for other reasons cannot be dealt with ++and discussed in the open (for example reports of code of conduct violations). ++Project matters should always as far as possible be discussed on open mailing ++lists. ++ + ## Server admins + + We run a web server, a mailing list and more on the curl project's primary +@@ -172,11 +187,10 @@ different individuals and over time. + If you think you can help making the project better by shouldering some + maintaining responsibilities, then please get in touch. + +-You will be expected to be familiar with the curl project and its ways of +-working. You need to have gotten a few quality patches merged as a proof of +-this. ++You are expected to be familiar with the curl project and its ways of working. ++You need to have gotten a few quality patches merged as a proof of this. + + ### Stop being a maintainer + + If you (appear to) not be active in the project anymore, you may be removed as +-a maintainer. Thank you for your service! ++a maintainer. Thank you for your service. +diff --git a/docs/HELP-US.md b/docs/HELP-US.md +index 90c9724..15996d0 100644 +--- a/docs/HELP-US.md ++++ b/docs/HELP-US.md +@@ -40,8 +40,8 @@ In the issue tracker we occasionally mark bugs with [help + wanted](https://github.com/curl/curl/labels/help%20wanted), as a sign that the + bug is acknowledged to exist and that there is nobody known to work on this + issue for the moment. Those are bugs that are fine to "grab" and provide a +-pull request for. The complexity level of these will of course vary, so pick +-one that piques your interest. ++pull request for. The complexity level of these of course varies, so pick one ++that piques your interest. + + ## Work on known bugs + +@@ -77,13 +77,12 @@ brainstorming on specific ways to do the implementation etc. + + You can also come up with a completely new thing you think we should do. Or + not do. Or fix. Or add to the project. You then either bring it to the mailing +-list first to see if people will shoot down the idea at once, or you bring a +-first draft of the idea as a pull request and take the discussion there around +-the specific implementation. Either way is fine. ++list first to see if people shoot down the idea at once, or you bring a first ++draft of the idea as a pull request and take the discussion there around the ++specific implementation. Either way is fine. + + ## CONTRIBUTE + +-We offer [guidelines](https://curl.se/dev/contribute.html) that are +-suitable to be familiar with before you decide to contribute to curl. If +-you are used to open source development, you will probably not find many +-surprises there. ++We offer [guidelines](https://curl.se/dev/contribute.html) that are suitable ++to be familiar with before you decide to contribute to curl. If you are used ++to open source development, you probably do not find many surprises there. +diff --git a/docs/HISTORY.md b/docs/HISTORY.md +index f39c45e..d28217c 100644 +--- a/docs/HISTORY.md ++++ b/docs/HISTORY.md +@@ -327,7 +327,7 @@ April: added the cyassl backend (later renamed to WolfSSL) + + January: the curl tool defaults to HTTP/2 for HTTPS URLs + +- December: curl 7.52.0 introduced support for HTTPS-proxy! ++ December: curl 7.52.0 introduced support for HTTPS-proxy + + First TLS 1.3 support + +diff --git a/docs/HSTS.md b/docs/HSTS.md +index e541024..c1f433b 100644 +--- a/docs/HSTS.md ++++ b/docs/HSTS.md +@@ -10,19 +10,19 @@ HTTP Strict-Transport-Security. Added as experimental in curl + ## Behavior + + libcurl features an in-memory cache for HSTS hosts, so that subsequent +-HTTP-only requests to a host name present in the cache will get internally ++HTTP-only requests to a hostname present in the cache gets internally + "redirected" to the HTTPS version. + + ## `curl_easy_setopt()` options: + + - `CURLOPT_HSTS_CTRL` - enable HSTS for this easy handle +- - `CURLOPT_HSTS` - specify file name where to store the HSTS cache on close ++ - `CURLOPT_HSTS` - specify filename where to store the HSTS cache on close + (and possibly read from at startup) + + ## curl command line options + + - `--hsts [filename]` - enable HSTS, use the file as HSTS cache. If filename +- is `""` (no length) then no file will be used, only in-memory cache. ++ is `""` (no length) then no file is used, only in-memory cache. + + ## HSTS cache file format + +@@ -38,5 +38,5 @@ The time stamp is when the entry expires. + + ## Possible future additions + +- - `CURLOPT_HSTS_PRELOAD` - provide a set of HSTS host names to load first ++ - `CURLOPT_HSTS_PRELOAD` - provide a set of HSTS hostnames to load first + - ability to save to something else than a file +diff --git a/docs/HTTP-COOKIES.md b/docs/HTTP-COOKIES.md +index d6fd87d..174c4f5 100644 +--- a/docs/HTTP-COOKIES.md ++++ b/docs/HTTP-COOKIES.md +@@ -9,7 +9,7 @@ + Cookies are either "session cookies" which typically are forgotten when the + session is over which is often translated to equal when browser quits, or + the cookies are not session cookies they have expiration dates after which +- the client will throw them away. ++ the client throws them away. + + Cookies are set to the client with the Set-Cookie: header and are sent to + servers with the Cookie: header. +@@ -30,9 +30,28 @@ + implemented by curl. + + curl considers `http://localhost` to be a *secure context*, meaning that it +- will allow and use cookies marked with the `secure` keyword even when done +- over plain HTTP for this host. curl does this to match how popular browsers +- work with secure cookies. ++ allows and uses cookies marked with the `secure` keyword even when done over ++ plain HTTP for this host. curl does this to match how popular browsers work ++ with secure cookies. ++ ++## Super cookies ++ ++ A single cookie can be set for a domain that matches multiple hosts. Like if ++ set for `example.com` it gets sent to both `aa.example.com` as well as ++ `bb.example.com`. ++ ++ A challenge with this concept is that there are certain domains for which ++ cookies should not be allowed at all, because they are *Public ++ Suffixes*. Similarly, a client never accepts cookies set directly for the ++ top-level domain like for example `.com`. Cookies set for *too broad* ++ domains are generally referred to as *super cookies*. ++ ++ If curl is built with PSL (**Public Suffix List**) support, it detects and ++ discards cookies that are specified for such suffix domains that should not ++ be allowed to have cookies. ++ ++ if curl is *not* built with PSL support, it has no ability to stop super ++ cookies. + + ## Cookies saved to disk + +@@ -46,8 +65,7 @@ + TAB. That file is called the cookie jar in curl terminology. + + When libcurl saves a cookie jar, it creates a file header of its own in +- which there is a URL mention that will link to the web version of this +- document. ++ which there is a URL mention that links to the web version of this document. + + ## Cookie file format + +@@ -82,13 +100,13 @@ + `-b, --cookie` + + tell curl a file to read cookies from and start the cookie engine, or if it +- is not a file it will pass on the given string. `-b name=var` works and so +- does `-b cookiefile`. ++ is not a file it passes on the given string. `-b name=var` works and so does ++ `-b cookiefile`. + + `-j, --junk-session-cookies` + +- when used in combination with -b, it will skip all "session cookies" on load +- so as to appear to start a new cookie session. ++ when used in combination with -b, it skips all "session cookies" on load so ++ as to appear to start a new cookie session. + + `-c, --cookie-jar` + +@@ -140,7 +158,7 @@ + can also set and access cookies. + + Since curl and libcurl are plain HTTP clients without any knowledge of or +- capability to handle JavaScript, such cookies will not be detected or used. ++ capability to handle JavaScript, such cookies are not detected or used. + + Often, if you want to mimic what a browser does on such websites, you can + record web browser HTTP traffic when using such a site and then repeat the +diff --git a/docs/HTTP2.md b/docs/HTTP2.md +index 5b40283..1d6575b 100644 +--- a/docs/HTTP2.md ++++ b/docs/HTTP2.md +@@ -23,20 +23,20 @@ We require at least version 1.12.0. + Over an http:// URL + ------------------- + +-If `CURLOPT_HTTP_VERSION` is set to `CURL_HTTP_VERSION_2_0`, libcurl will +-include an upgrade header in the initial request to the host to allow +-upgrading to HTTP/2. ++If `CURLOPT_HTTP_VERSION` is set to `CURL_HTTP_VERSION_2_0`, libcurl includes ++an upgrade header in the initial request to the host to allow upgrading to ++HTTP/2. + +-Possibly we can later introduce an option that will cause libcurl to fail if ++Possibly we can later introduce an option that causes libcurl to fail if it is + not possible to upgrade. Possibly we introduce an option that makes libcurl + use HTTP/2 at once over http:// + + Over an https:// URL + -------------------- + +-If `CURLOPT_HTTP_VERSION` is set to `CURL_HTTP_VERSION_2_0`, libcurl will use +-ALPN to negotiate which protocol to continue with. Possibly introduce an +-option that will cause libcurl to fail if not possible to use HTTP/2. ++If `CURLOPT_HTTP_VERSION` is set to `CURL_HTTP_VERSION_2_0`, libcurl uses ALPN ++to negotiate which protocol to continue with. Possibly introduce an option ++that causes libcurl to fail if not possible to use HTTP/2. + + `CURL_HTTP_VERSION_2TLS` was added in 7.47.0 as a way to ask libcurl to prefer + HTTP/2 for HTTPS but stick to 1.1 by default for plain old HTTP connections. +@@ -54,15 +54,15 @@ term for doing multiple independent transfers over the same physical TCP + connection. + + To take advantage of multiplexing, you need to use the multi interface and set +-`CURLMOPT_PIPELINING` to `CURLPIPE_MULTIPLEX`. With that bit set, libcurl will +-attempt to reuse existing HTTP/2 connections and just add a new stream over ++`CURLMOPT_PIPELINING` to `CURLPIPE_MULTIPLEX`. With that bit set, libcurl ++attempts to reuse existing HTTP/2 connections and just add a new stream over + that when doing subsequent parallel requests. + + While libcurl sets up a connection to an HTTP server there is a period during + which it does not know if it can pipeline or do multiplexing and if you add +-new transfers in that period, libcurl will default to start new connections +-for those transfers. With the new option `CURLOPT_PIPEWAIT` (added in 7.43.0), +-you can ask that a transfer should rather wait and see in case there is a ++new transfers in that period, libcurl defaults to starting new connections for ++those transfers. With the new option `CURLOPT_PIPEWAIT` (added in 7.43.0), you ++can ask that a transfer should rather wait and see in case there is a + connection for the same host in progress that might end up being possible to + multiplex on. It favors keeping the number of connections low to the cost of + slightly longer time to first byte transferred. +diff --git a/docs/HTTP3.md b/docs/HTTP3.md +index 41d757f..783ab10 100644 +--- a/docs/HTTP3.md ++++ b/docs/HTTP3.md +@@ -9,41 +9,45 @@ book describing the protocols involved. + + ## QUIC libraries + +-QUIC libraries we are experimenting with: ++QUIC libraries we are using: + + [ngtcp2](https://github.com/ngtcp2/ngtcp2) + +-[quiche](https://github.com/cloudflare/quiche) ++[quiche](https://github.com/cloudflare/quiche) - **EXPERIMENTAL** + +-[msh3](https://github.com/nibanks/msh3) (with [msquic](https://github.com/microsoft/msquic)) ++[OpenSSL 3.2+ QUIC](https://github.com/openssl/openssl) - **EXPERIMENTAL** ++ ++[msh3](https://github.com/nibanks/msh3) (with [msquic](https://github.com/microsoft/msquic)) - **EXPERIMENTAL** + + ## Experimental + +-HTTP/3 and QUIC support in curl is considered **EXPERIMENTAL** until further +-notice. It needs to be enabled at build-time. ++HTTP/3 support in curl is considered **EXPERIMENTAL** until further notice ++when built to use *quiche* or *msh3*. Only the *ngtcp2* backend is not ++experimental. + +-Further development and tweaking of the HTTP/3 support in curl will happen in +-the master branch using pull-requests, just like ordinary changes. ++Further development and tweaking of the HTTP/3 support in curl happens in the ++master branch using pull-requests, just like ordinary changes. + + To fix before we remove the experimental label: + + - the used QUIC library needs to consider itself non-beta +- - it's fine to "leave" individual backends as experimental if necessary ++ - it is fine to "leave" individual backends as experimental if necessary + + # ngtcp2 version + + Building curl with ngtcp2 involves 3 components: `ngtcp2` itself, `nghttp3` and a QUIC supporting TLS library. The supported TLS libraries are covered below. + +-For now, `ngtcp2` and `nghttp3` are still *experimental* which means their evolution bring breaking changes. Therefore, the proper version of both libraries need to be used when building curl. These are ++ * `ngtcp2`: v1.2.0 ++ * `nghttp3`: v1.1.0 + +- * `ngtcp2`: v0.19.1 +- * `nghttp3`: v0.15.0 ++## Build with quictls + +-## Build with OpenSSL ++OpenSSL does not offer the required APIs for building a QUIC client. You need ++to use a TLS library that has such APIs and that works with *ngtcp2*. + +-Build (patched) OpenSSL ++Build quictls + +- % git clone --depth 1 -b openssl-3.0.10+quic https://github.com/quictls/openssl ++ % git clone --depth 1 -b openssl-3.1.4+quic https://github.com/quictls/openssl + % cd openssl + % ./config enable-tls1_3 --prefix= + % make +@@ -52,8 +56,9 @@ Build (patched) OpenSSL + Build nghttp3 + + % cd .. +- % git clone -b v0.15.0 https://github.com/ngtcp2/nghttp3 ++ % git clone -b v1.1.0 https://github.com/ngtcp2/nghttp3 + % cd nghttp3 ++ % git submodule update --init + % autoreconf -fi + % ./configure --prefix= --enable-lib-only + % make +@@ -62,7 +67,7 @@ Build nghttp3 + Build ngtcp2 + + % cd .. +- % git clone -b v0.19.1 https://github.com/ngtcp2/ngtcp2 ++ % git clone -b v1.2.0 https://github.com/ngtcp2/ngtcp2 + % cd ngtcp2 + % autoreconf -fi + % ./configure PKG_CONFIG_PATH=/lib/pkgconfig:/lib/pkgconfig LDFLAGS="-Wl,-rpath,/lib" --prefix= --enable-lib-only +@@ -95,8 +100,9 @@ Build GnuTLS + Build nghttp3 + + % cd .. +- % git clone -b v0.15.0 https://github.com/ngtcp2/nghttp3 ++ % git clone -b v1.1.0 https://github.com/ngtcp2/nghttp3 + % cd nghttp3 ++ % git submodule update --init + % autoreconf -fi + % ./configure --prefix= --enable-lib-only + % make +@@ -105,7 +111,7 @@ Build nghttp3 + Build ngtcp2 + + % cd .. +- % git clone -b v0.19.1 https://github.com/ngtcp2/ngtcp2 ++ % git clone -b v1.2.0 https://github.com/ngtcp2/ngtcp2 + % cd ngtcp2 + % autoreconf -fi + % ./configure PKG_CONFIG_PATH=/lib/pkgconfig:/lib/pkgconfig LDFLAGS="-Wl,-rpath,/lib" --prefix= --enable-lib-only --with-gnutls +@@ -136,8 +142,9 @@ Build wolfSSL + Build nghttp3 + + % cd .. +- % git clone -b v0.15.0 https://github.com/ngtcp2/nghttp3 ++ % git clone -b v1.1.0 https://github.com/ngtcp2/nghttp3 + % cd nghttp3 ++ % git submodule update --init + % autoreconf -fi + % ./configure --prefix= --enable-lib-only + % make +@@ -146,7 +153,7 @@ Build nghttp3 + Build ngtcp2 + + % cd .. +- % git clone -b v0.19.1 https://github.com/ngtcp2/ngtcp2 ++ % git clone -b v1.2.0 https://github.com/ngtcp2/ngtcp2 + % cd ngtcp2 + % autoreconf -fi + % ./configure PKG_CONFIG_PATH=/lib/pkgconfig:/lib/pkgconfig LDFLAGS="-Wl,-rpath,/lib" --prefix= --enable-lib-only --with-wolfssl +@@ -165,13 +172,15 @@ Build curl + + # quiche version + ++quiche support is **EXPERIMENTAL** ++ + Since the quiche build manages its dependencies, curl can be built against the latest version. You are *probably* able to build against their main branch, but in case of problems, we recommend their latest release tag. + + ## build + + Build quiche and BoringSSL: + +- % git clone --recursive https://github.com/cloudflare/quiche ++ % git clone --recursive -b 0.20.0 https://github.com/cloudflare/quiche + % cd quiche + % cargo build --package quiche --release --features ffi,pkg-config-meta,qlog + % mkdir quiche/deps/boringssl/src/lib +@@ -187,7 +196,54 @@ Build curl: + % make + % make install + +- If `make install` results in `Permission denied` error, you will need to prepend it with `sudo`. ++ If `make install` results in `Permission denied` error, you need to prepend ++ it with `sudo`. ++ ++# OpenSSL version ++ ++QUIC support is **EXPERIMENTAL** ++ ++Build OpenSSL 3.2.0 ++ ++ % cd .. ++ % git clone -b openssl-3.2.0 https://github.com/openssl/openssl ++ % cd openssl ++ % ./config enable-tls1_3 --prefix= --libdir=/lib ++ % make ++ % make install ++ ++Build nghttp3 ++ ++ % cd .. ++ % git clone -b v1.1.0 https://github.com/ngtcp2/nghttp3 ++ % cd nghttp3 ++ % git submodule update --init ++ % autoreconf -fi ++ % ./configure --prefix= --enable-lib-only ++ % make ++ % make install ++ ++Build curl: ++ ++ % cd .. ++ % git clone https://github.com/curl/curl ++ % cd curl ++ % autoreconf -fi ++ % LDFLAGS="-Wl,-rpath,/lib" ./configure --with-openssl= --with-openssl-quic --with-nghttp3= ++ % make ++ % make install ++ ++You can build curl with cmake: ++ ++ % cd .. ++ % git clone https://github.com/curl/curl ++ % cd curl ++ % cmake . -B build -DCURL_USE_OPENSSL=ON -DUSE_OPENSSL_QUIC=ON ++ % cmake --build build ++ % cmake --install build ++ ++ If `make install` results in `Permission denied` error, you need to prepend ++ it with `sudo`. + + # msh3 (msquic) version + +@@ -195,6 +251,8 @@ Build curl: + one as of September 2023. Feel free to help us test it and improve it, but + there is no point in filing bugs about it just yet. + ++msh3 support is **EXPERIMENTAL** ++ + ## Build Linux (with quictls fork of OpenSSL) + + Build msh3: +@@ -226,11 +284,10 @@ Build msh3: + % cmake --build . --config Release + % cmake --install . --config Release + +-**Note** - On Windows, Schannel will be used for TLS support by default. If +-you with to use (the quictls fork of) OpenSSL, specify the +-`-DQUIC_TLS=openssl` option to the generate command above. Also note that +-OpenSSL brings with it an additional set of build dependencies not specified +-here. ++**Note** - On Windows, Schannel is used for TLS support by default. If you ++with to use (the quictls fork of) OpenSSL, specify the `-DQUIC_TLS=openssl` ++option to the generate command above. Also note that OpenSSL brings with it an ++additional set of build dependencies not specified here. + + Build curl (in [Visual Studio Command + prompt](../winbuild/README.md#open-a-command-prompt)): +@@ -267,10 +324,10 @@ See this [list of public HTTP/3 servers](https://bagder.github.io/HTTP3-test/) + + ### HTTPS eyeballing + +-With option `--http3` curl will attempt earlier HTTP versions as well should +-the connect attempt via HTTP/3 not succeed "fast enough". This strategy is +-similar to IPv4/6 happy eyeballing where the alternate address family is used +-in parallel after a short delay. ++With option `--http3` curl attempts earlier HTTP versions as well should the ++connect attempt via HTTP/3 not succeed "fast enough". This strategy is similar ++to IPv4/6 happy eyeballing where the alternate address family is used in ++parallel after a short delay. + + The IPv4/6 eyeballing has a default of 200ms and you may override that via + `--happy-eyeballs-timeout-ms value`. Since HTTP/3 is still relatively new, we +@@ -289,8 +346,8 @@ So, without you specifying anything, the hard timeout is 200ms and the soft is 1 + in less than 100ms. + * When QUIC is not supported (or UDP does not work for this network path), no + reply is seen and the HTTP/2 TLS+TCP connection starts 100ms later. +- * In the worst case, UDP replies start before 100ms, but drag on. This will +- start the TLS+TCP connection after 200ms. ++ * In the worst case, UDP replies start before 100ms, but drag on. This starts ++ the TLS+TCP connection after 200ms. + * When the QUIC handshake fails, the TLS+TCP connection is attempted right + away. For example, when the QUIC server presents the wrong certificate. + +@@ -298,10 +355,10 @@ The whole transfer only fails, when **both** QUIC and TLS+TCP fail to + handshake or time out. + + Note that all this happens in addition to IP version happy eyeballing. If the +-name resolution for the server gives more than one IP address, curl will try +-all those until one succeeds - just as with all other protocols. And if those +-IP addresses contain both IPv6 and IPv4, those attempts will happen, delayed, +-in parallel (the actual eyeballing). ++name resolution for the server gives more than one IP address, curl tries all ++those until one succeeds - just as with all other protocols. If those IP ++addresses contain both IPv6 and IPv4, those attempts happen, delayed, in ++parallel (the actual eyeballing). + + ## Known Bugs + +diff --git a/docs/HYPER.md b/docs/HYPER.md +index 1c3b0dd..1e47c42 100644 +--- a/docs/HYPER.md ++++ b/docs/HYPER.md +@@ -8,9 +8,8 @@ library as a backend to deal with HTTP. + Hyper support in curl is considered **EXPERIMENTAL** until further notice. It + needs to be explicitly enabled at build-time. + +-Further development and tweaking of the Hyper backend support in curl will +-happen in the master branch using pull-requests, just like ordinary +-changes. ++Further development and tweaking of the Hyper backend support in curl happens ++in the master branch using pull-requests, just like ordinary changes. + + ## Hyper version + +@@ -57,6 +56,10 @@ The hyper backend does not support + - leading whitespace in first HTTP/1 response header + - HTTP/0.9 + - HTTP/2 upgrade using HTTP:// URLs. Aka 'h2c' ++- HTTP/2 in general. Hyper has support for HTTP/2 but the curl side ++ needs changes so that a `hyper_clientconn` can last for the duration ++ of a connection. Probably this means turning the Hyper HTTP/2 backend ++ into a connection filter. + + ## Remaining issues + +diff --git a/docs/INSTALL-CMAKE.md b/docs/INSTALL-CMAKE.md +new file mode 100644 +index 0000000..a606fcb +--- /dev/null ++++ b/docs/INSTALL-CMAKE.md +@@ -0,0 +1,133 @@ ++ _ _ ____ _ ++ ___| | | | _ \| | ++ / __| | | | |_) | | ++ | (__| |_| | _ <| |___ ++ \___|\___/|_| \_\_____| ++ ++ How To Compile with CMake ++ ++# Building with CMake ++ ++This document describes how to configure, build and install curl and libcurl ++from source code using the CMake build tool. To build with CMake, you of ++course first have to install CMake. The minimum required version of CMake is ++specified in the file `CMakeLists.txt` found in the top of the curl source ++tree. Once the correct version of CMake is installed you can follow the ++instructions below for the platform you are building on. ++ ++CMake builds can be configured either from the command line, or from one of ++CMake's GUIs. ++ ++# Current flaws in the curl CMake build ++ ++Missing features in the CMake build: ++ ++ - Builds libcurl without large file support ++ - Does not support all SSL libraries (only OpenSSL, Schannel, Secure ++ Transport, and mbedTLS, WolfSSL) ++ - Does not allow different resolver backends (no c-ares build support) ++ - No RTMP support built ++ - Does not allow build curl and libcurl debug enabled ++ - Does not allow a custom CA bundle path ++ - Does not allow you to disable specific protocols from the build ++ - Does not find or use krb4 or GSS ++ - Rebuilds test files too eagerly, but still cannot run the tests ++ - Does not detect the correct `strerror_r` flavor when cross-compiling ++ (issue #1123) ++ ++# Configuring ++ ++A CMake configuration of curl is similar to the autotools build of curl. ++It consists of the following steps after you have unpacked the source. ++ ++## Using `cmake` ++ ++You can configure for in source tree builds or for a build tree ++that is apart from the source tree. ++ ++ - Build in the source tree. ++ ++ $ cmake -B . ++ ++ - Build in a separate directory (parallel to the curl source tree in this ++ example). The build directory is created for you. ++ ++ $ cmake -B ../curl-build ++ ++### Fallback for CMake before version 3.13 ++ ++CMake before version 3.13 does not support the `-B` option. In that case, ++you must create the build directory yourself, `cd` to it and run `cmake` ++from there: ++ ++ $ mkdir ../curl-build ++ $ cd ../curl-build ++ $ cmake ../curl ++ ++If you want to build in the source tree, it is enough to do this: ++ ++ $ cmake . ++ ++## Using `ccmake` ++ ++CMake comes with a curses based interface called `ccmake`. To run `ccmake` ++on a curl use the instructions for the command line cmake, but substitute ++`ccmake` for `cmake`. ++ ++This brings up a curses interface with instructions on the bottom of the ++screen. You can press the "c" key to configure the project, and the "g" key to ++generate the project. After the project is generated, you can run make. ++ ++## Using `cmake-gui` ++ ++CMake also comes with a Qt based GUI called `cmake-gui`. To configure with ++`cmake-gui`, you run `cmake-gui` and follow these steps: ++ ++ 1. Fill in the "Where is the source code" combo box with the path to ++ the curl source tree. ++ 2. Fill in the "Where to build the binaries" combo box with the path to ++ the directory for your build tree, ideally this should not be the same ++ as the source tree, but a parallel directory called curl-build or ++ something similar. ++ 3. Once the source and binary directories are specified, press the ++ "Configure" button. ++ 4. Select the native build tool that you want to use. ++ 5. At this point you can change any of the options presented in the GUI. ++ Once you have selected all the options you want, click the "Generate" ++ button. ++ ++# Building ++ ++Build (you have to specify the build directory). ++ ++ $ cmake --build ../curl-build ++ ++### Fallback for CMake before version 3.13 ++ ++CMake before version 3.13 does not support the `--build` option. In that ++case, you have to `cd` to the build directory and use the building tool that ++corresponds to the build files that CMake generated for you. This example ++assumes that CMake generates `Makefile`: ++ ++ $ cd ../curl-build ++ $ make ++ ++# Testing ++ ++(The test suite does not yet work with the cmake build) ++ ++# Installing ++ ++Install to default location (you have to specify the build directory). ++ ++ $ cmake --install ../curl-build ++ ++### Fallback for CMake before version 3.15 ++ ++CMake before version 3.15 does not support the `--install` option. In that ++case, you have to `cd` to the build directory and use the building tool that ++corresponds to the build files that CMake generated for you. This example ++assumes that CMake generates `Makefile`: ++ ++ $ cd ../curl-build ++ $ make install +diff --git a/docs/INSTALL.md b/docs/INSTALL.md +index 7e3a269..7971b1a 100644 +--- a/docs/INSTALL.md ++++ b/docs/INSTALL.md +@@ -24,8 +24,8 @@ or pull request](https://github.com/Microsoft/vcpkg) on the vcpkg repository. + ## Building from git + + If you get your code off a git repository instead of a release tarball, see +-the `GIT-INFO` file in the root directory for specific instructions on how to +-proceed. ++the `GIT-INFO.md` file in the root directory for specific instructions on how ++to proceed. + + # Unix + +@@ -110,10 +110,10 @@ Figuring out all the dependency libraries for a given library is hard, as it + might involve figuring out the dependencies of the dependencies and they vary + between platforms and change between versions. + +-When using static dependencies, the build scripts will mostly assume that you, +-the user, will provide all the necessary additional dependency libraries as +-additional arguments in the build. With configure, by setting `LIBS` or +-`LDFLAGS` on the command line. ++When using static dependencies, the build scripts mostly assume that you, the ++user, provide all the necessary additional dependency libraries as additional ++arguments in the build. With configure, by setting `LIBS` or `LDFLAGS` on the ++command line. + + Building statically is not for the faint of heart. + +@@ -123,8 +123,8 @@ If you are a curl developer and use gcc, you might want to enable more debug + options with the `--enable-debug` option. + + curl can be built to use a whole range of libraries to provide various useful +-services, and configure will try to auto-detect a decent default. But if you +-want to alter it, you can select how to deal with each individual library. ++services, and configure tries to auto-detect a decent default. If you want to ++alter it, you can select how to deal with each individual library. + + ## Select TLS backend + +@@ -146,7 +146,7 @@ you cannot add another OpenSSL fork (or wolfSSL) simply because they have + conflicting identical symbol names. + + When you build with multiple TLS backends, you can select the active one at +-run-time when curl starts up. ++runtime when curl starts up. + + ## configure finding libs in wrong directory + +@@ -162,6 +162,8 @@ library check. + + # Windows + ++Building for Windows XP is required as a minimum. ++ + ## Building Windows DLLs and C runtime (CRT) linkage issues + + As a general rule, building a DLL with static CRT linkage is highly +@@ -172,8 +174,8 @@ library check. + KB140584 is a must for any Windows developer. Especially important is full + understanding if you are not going to follow the advice given above. + +- - [How To Use the C Run-Time](https://support.microsoft.com/help/94248/how-to-use-the-c-run-time) +- - [Run-Time Library Compiler Options](https://docs.microsoft.com/cpp/build/reference/md-mt-ld-use-run-time-library) ++ - [How To Use the C Runtime](https://support.microsoft.com/help/94248/how-to-use-the-c-run-time) ++ - [Runtime Library Compiler Options](https://docs.microsoft.com/cpp/build/reference/md-mt-ld-use-run-time-library) + - [Potential Errors Passing CRT Objects Across DLL Boundaries](https://docs.microsoft.com/cpp/c-runtime-library/potential-errors-passing-crt-objects-across-dll-boundaries) + + If your app is misbehaving in some strange way, or it is suffering from memory +@@ -183,59 +185,11 @@ multi-threaded dynamic C runtime. + + If you get linkage errors read section 5.7 of the FAQ document. + +-## mingw-w64 +- +-Make sure that mingw-w64's bin directory is in the search path, for example: +- +-```cmd +-set PATH=c:\mingw-w64\bin;%PATH% +-``` +- +-then run `mingw32-make mingw32` in the root dir. There are other +-make targets available to build libcurl with more features, use: +- +- - `mingw32-make mingw32-zlib` to build with Zlib support; +- - `mingw32-make mingw32-ssl-zlib` to build with SSL and Zlib enabled; +- - `mingw32-make mingw32-ssh2-ssl-zlib` to build with SSH2, SSL, Zlib; +- - `mingw32-make mingw32-ssh2-ssl-sspi-zlib` to build with SSH2, SSL, Zlib +- and SSPI support. +- +-If you have any problems linking libraries or finding header files, be sure +-to verify that the provided `Makefile.mk` files use the proper paths, and +-adjust as necessary. It is also possible to override these paths with +-environment variables, for example: +- +-```cmd +-set ZLIB_PATH=c:\zlib-1.2.12 +-set OPENSSL_PATH=c:\openssl-3.0.5 +-set LIBSSH2_PATH=c:\libssh2-1.10.0 +-``` +- +-It is also possible to build with other LDAP installations than MS LDAP; +-currently it is possible to build with native Win32 OpenLDAP, or with the +-*Novell CLDAP* SDK. If you want to use these you need to set these vars: +- +-```cmd +-set CPPFLAGS=-Ic:/openldap/include -DCURL_HAS_OPENLDAP_LDAPSDK +-set LDFLAGS=-Lc:/openldap/lib +-set LIBS=-lldap -llber +-``` +- +-or for using the Novell SDK: +- +-```cmd +-set CPPFLAGS=-Ic:/openldapsdk/inc -DCURL_HAS_NOVELL_LDAPSDK +-set LDFLAGS=-Lc:/openldapsdk/lib/mscvc +-set LIBS=-lldapsdk -lldapssl -lldapx +-``` +- +-If you want to enable LDAPS support then append `-ldaps` to the make target. +- + ## Cygwin + + Almost identical to the Unix installation. Run the configure script in the + curl source tree root with `sh configure`. Make sure you have the `sh` +-executable in `/bin/` or you will see the configure fail toward the end. ++executable in `/bin/` or you see the configure fail toward the end. + + Run `make` + +@@ -313,16 +267,16 @@ might yet need some additional adjustment. + ## Important static libcurl usage note + + When building an application that uses the static libcurl library on Windows, +-you must add `-DCURL_STATICLIB` to your `CFLAGS`. Otherwise the linker will +-look for dynamic import symbols. ++you must add `-DCURL_STATICLIB` to your `CFLAGS`. Otherwise the linker looks ++for dynamic import symbols. + + ## Legacy Windows and SSL + + Schannel (from Windows SSPI), is the native SSL library in Windows. However, +-Schannel in Windows <= XP is unable to connect to servers that +-no longer support the legacy handshakes and algorithms used by those +-versions. If you will be using curl in one of those earlier versions of +-Windows you should choose another SSL backend such as OpenSSL. ++Schannel in Windows <= XP is unable to connect to servers that no longer ++support the legacy handshakes and algorithms used by those versions. If you ++are using curl in one of those earlier versions of Windows you should choose ++another SSL backend such as OpenSSL. + + # Apple Platforms (macOS, iOS, tvOS, watchOS, and their simulator counterparts) + +@@ -331,10 +285,10 @@ implementation, Secure Transport, instead of OpenSSL. To build with Secure + Transport for SSL/TLS, use the configure option `--with-secure-transport`. + + When Secure Transport is in use, the curl options `--cacert` and `--capath` +-and their libcurl equivalents, will be ignored, because Secure Transport uses +-the certificates stored in the Keychain to evaluate whether or not to trust +-the server. This, of course, includes the root certificates that ship with the +-OS. The `--cert` and `--engine` options, and their libcurl equivalents, are ++and their libcurl equivalents, are ignored, because Secure Transport uses the ++certificates stored in the Keychain to evaluate whether or not to trust the ++server. This, of course, includes the root certificates that ship with the OS. ++The `--cert` and `--engine` options, and their libcurl equivalents, are + currently unimplemented in curl with Secure Transport. + + In general, a curl build for an Apple `ARCH/SDK/DEPLOYMENT_TARGET` combination +@@ -353,7 +307,8 @@ make -j8 + make install + ``` + +-Above will build curl for macOS platform with `x86_64` architecture and `10.8` as deployment target. ++The above command lines build curl for macOS platform with `x86_64` ++architecture and `10.8` as deployment target. + + Here is an example for iOS device: + +@@ -386,14 +341,14 @@ In all above, the built libraries and executables can be found in the + + # Android + +-When building curl for Android it's recommended to use a Linux/macOS environment +-since using curl's `configure` script is the easiest way to build curl +-for Android. Before you can build curl for Android, you need to install the +-Android NDK first. This can be done using the SDK Manager that is part of +-Android Studio. Once you have installed the Android NDK, you need to figure out +-where it has been installed and then set up some environment variables before +-launching `configure`. On macOS, those variables could look like this to compile +-for `aarch64` and API level 29: ++When building curl for Android it is recommended to use a Linux/macOS ++environment since using curl's `configure` script is the easiest way to build ++curl for Android. Before you can build curl for Android, you need to install ++the Android NDK first. This can be done using the SDK Manager that is part of ++Android Studio. Once you have installed the Android NDK, you need to figure ++out where it has been installed and then set up some environment variables ++before launching `configure`. On macOS, those variables could look like this ++to compile for `aarch64` and API level 29: + + ```bash + export ANDROID_NDK_HOME=~/Library/Android/sdk/ndk/25.1.8937393 # Point into your NDK. +@@ -413,16 +368,16 @@ to adjust those variables accordingly. After that you can build curl like this: + + ./configure --host aarch64-linux-android --with-pic --disable-shared + +-Note that this will not give you SSL/TLS support. If you need SSL/TLS, you have +-to build curl against a SSL/TLS layer, e.g. OpenSSL, because it's impossible for +-curl to access Android's native SSL/TLS layer. To build curl for Android using +-OpenSSL, follow the OpenSSL build instructions and then install `libssl.a` and +-`libcrypto.a` to `$TOOLCHAIN/sysroot/usr/lib` and copy `include/openssl` to +-`$TOOLCHAIN/sysroot/usr/include`. Now you can build curl for Android using +-OpenSSL like this: ++Note that this does not give you SSL/TLS support. If you need SSL/TLS, you ++have to build curl with a SSL/TLS library, e.g. OpenSSL, because it is ++impossible for curl to access Android's native SSL/TLS layer. To build curl ++for Android using OpenSSL, follow the OpenSSL build instructions and then ++install `libssl.a` and `libcrypto.a` to `$TOOLCHAIN/sysroot/usr/lib` and copy ++`include/openssl` to `$TOOLCHAIN/sysroot/usr/include`. Now you can build curl ++for Android using OpenSSL like this: + + ```bash +-LIBS="-lssl -lcrypto -lc++" # For OpenSSL/BoringSSL. In general, you will need to the SSL/TLS layer's transitive dependencies if you are linking statically. ++LIBS="-lssl -lcrypto -lc++" # For OpenSSL/BoringSSL. In general, you need to the SSL/TLS layer's transitive dependencies if you are linking statically. + ./configure --host aarch64-linux-android --with-pic --disable-shared --with-openssl="$TOOLCHAIN/sysroot/usr" + ``` + +@@ -432,22 +387,22 @@ For IBM i (formerly OS/400), you can use curl in two different ways: + + - Natively, running in the **ILE**. The obvious use is being able to call curl + from ILE C or RPG applications. +- - You will need to build this from source. See `packages/OS400/README` for +- the ILE specific build instructions. +-- In the **PASE** environment, which runs AIX programs. curl will be built as +- it would be on AIX. +- - IBM provides builds of curl in their Yum repository for PASE software. +- - To build from source, follow the Unix instructions. ++- You need to build this from source. See `packages/OS400/README` for the ILE ++ specific build instructions. ++- In the **PASE** environment, which runs AIX programs. curl is built as it ++ would be on AIX. ++- IBM provides builds of curl in their Yum repository for PASE software. ++- To build from source, follow the Unix instructions. + + There are some additional limitations and quirks with curl on this platform; + they affect both environments. + + ## Multi-threading notes + +-By default, jobs in IBM i will not start with threading enabled. (Exceptions ++By default, jobs in IBM i does not start with threading enabled. (Exceptions + include interactive PASE sessions started by `QP2TERM` or SSH.) If you use + curl in an environment without threading when options like asynchronous DNS +-were enabled, you will get messages like: ++were enabled, you get messages like: + + ``` + getaddrinfo() thread failed to start +@@ -492,9 +447,9 @@ export NM=ppc_405-nm + + You may also need to provide a parameter like `--with-random=/dev/urandom` to + configure as it cannot detect the presence of a random number generating +-device for a target system. The `--prefix` parameter specifies where curl +-will be installed. If `configure` completes successfully, do `make` and `make +-install` as usual. ++device for a target system. The `--prefix` parameter specifies where curl gets ++installed. If `configure` completes successfully, do `make` and `make install` ++as usual. + + In some cases, you may be able to simplify the above commands to as little as: + +@@ -506,10 +461,16 @@ There are a number of configure options that can be used to reduce the size of + libcurl for embedded applications where binary size is an important factor. + First, be sure to set the `CFLAGS` variable when configuring with any relevant + compiler optimization flags to reduce the size of the binary. For gcc, this +-would mean at minimum the -Os option, and potentially the `-march=X`, +-`-mdynamic-no-pic` and `-flto` options as well, e.g. ++would mean at minimum the `-Os` option, and others like the following that ++may be relevant in some environments: `-march=X`, `-mthumb`, `-m32`, ++`-mdynamic-no-pic`, `-flto`, `-fdata-sections`, `-ffunction-sections`, ++`-fno-unwind-tables`, `-fno-asynchronous-unwind-tables`, ++`-fno-record-gcc-switches`, `-fsection-anchors`, `-fno-plt`, ++`-Wl,--gc-sections`, `-Wl,-Bsymbolic`, `-Wl,-s`, ++ ++For example, this is how to combine a few of these options: + +- ./configure CFLAGS='-Os' LDFLAGS='-Wl,-Bsymbolic'... ++ ./configure CC=gcc CFLAGS='-Os -ffunction-sections' LDFLAGS='-Wl,--gc-sections'... + + Note that newer compilers often produce smaller code than older versions + due to improved optimization. +@@ -517,24 +478,33 @@ due to improved optimization. + Be sure to specify as many `--disable-` and `--without-` flags on the + configure command-line as you can to disable all the libcurl features that you + know your application is not going to need. Besides specifying the +-`--disable-PROTOCOL` flags for all the types of URLs your application will not ++`--disable-PROTOCOL` flags for all the types of URLs your application do not + use, here are some other flags that can reduce the size of the library by +-disabling support for some feature: ++disabling support for some feature (run `./configure --help` to see them all): + + - `--disable-alt-svc` (HTTP Alt-Svc) + - `--disable-ares` (the C-ARES DNS library) + - `--disable-cookies` (HTTP cookies) +- - `--disable-crypto-auth` (cryptographic authentication) ++ - `--disable-basic-auth` (cryptographic authentication) ++ - `--disable-bearer-auth` (cryptographic authentication) ++ - `--disable-digest-auth` (cryptographic authentication) ++ - `--disable-kerberos-auth` (cryptographic authentication) ++ - `--disable-negotiate-auth` (cryptographic authentication) ++ - `--disable-aws` (cryptographic authentication) + - `--disable-dateparse` (date parsing for time conditionals) + - `--disable-dnsshuffle` (internal server load spreading) + - `--disable-doh` (DNS-over-HTTP) ++ - `--disable-form-api` (POST form API) + - `--disable-get-easy-options` (lookup easy options at runtime) ++ - `--disable-headers-api` (API to access headers) + - `--disable-hsts` (HTTP Strict Transport Security) + - `--disable-http-auth` (all HTTP authentication) + - `--disable-ipv6` (IPv6) + - `--disable-libcurl-option` (--libcurl C code generation support) +- - `--disable-manual` (built-in documentation) ++ - `--disable-manual` (--manual built-in documentation) ++ - `--disable-mime` (MIME API) + - `--disable-netrc` (.netrc file) ++ - `--disable-ntlm` (NTLM authentication) + - `--disable-ntlm-wb` (NTLM WinBind) + - `--disable-progress-meter` (graphical progress meter in library) + - `--disable-proxy` (HTTP and SOCKS proxies) +@@ -556,30 +526,21 @@ disabling support for some feature: + - `--without-ssl` (SSL/TLS) + - `--without-zlib` (on-the-fly decompression) + +-The GNU compiler and linker have a number of options that can reduce the +-size of the libcurl dynamic libraries on some platforms even further. +-Specify them by providing appropriate `CFLAGS` and `LDFLAGS` variables on +-the configure command-line, e.g. +- +- CFLAGS="-Os -ffunction-sections -fdata-sections +- -fno-unwind-tables -fno-asynchronous-unwind-tables -flto" +- LDFLAGS="-Wl,-s -Wl,-Bsymbolic -Wl,--gc-sections" +- + Be sure also to strip debugging symbols from your binaries after compiling +-using 'strip' (or the appropriate variant if cross-compiling). If space is +-really tight, you may be able to remove some unneeded sections of the shared +-library using the -R option to objcopy (e.g. the .comment section). ++using 'strip' or an option like `-s`. If space is really tight, you may be able ++to gain a few bytes by removing some unneeded sections of the shared library ++using the -R option to objcopy (e.g. the .comment section). + + Using these techniques it is possible to create a basic HTTP-only libcurl +-shared library for i386 Linux platforms that is only 133 KiB in size +-(as of libcurl version 7.80.0, using gcc 11.2.0). ++shared library for i386 Linux platforms that is only 130 KiB in size ++(as of libcurl version 8.6.0, using gcc 13.2.0). + +-You may find that statically linking libcurl to your application will result +-in a lower total size than dynamically linking. ++You may find that statically linking libcurl to your application results in a ++lower total size than dynamically linking. + +-Note that the curl test harness can detect the use of some, but not all, of +-the `--disable` statements suggested above. Use will cause tests relying on +-those features to fail. The test harness can be manually forced to skip the ++The curl test harness can detect the use of some, but not all, of the ++`--disable` statements suggested above. Use of these can cause tests relying ++on those features to fail. The test harness can be manually forced to skip the + relevant tests by specifying certain key words on the `runtests.pl` command + line. Following is a list of appropriate key words for those configure options + that are not automatically detected: +@@ -589,29 +550,29 @@ that are not automatically detected: + - `--disable-libcurl-option` !`--libcurl` + - `--disable-verbose` !verbose\ logs + +-# PORTS ++# Ports + + This is a probably incomplete list of known CPU architectures and operating + systems that curl has been compiled for. If you know a system curl compiles + and runs on, that is not listed, please let us know! + +-## 92 Operating Systems ++## 101 Operating Systems + +- AIX, AmigaOS, Android, Aros, BeOS, Blackberry 10, Blackberry Tablet OS, +- Cell OS, Chrome OS, Cisco IOS, Cygwin, DG/UX, Dragonfly BSD, DR DOS, eCOS, +- FreeBSD, FreeDOS, FreeRTOS, Fuchsia, Garmin OS, Genode, Haiku, HardenedBSD, +- HP-UX, Hurd, Illumos, Integrity, iOS, ipadOS, IRIX, Linux, Lua RTOS, +- Mac OS 9, macOS, Mbed, Micrium, MINIX, MorphOS, MPE/iX, MS-DOS, NCR MP-RAS, +- NetBSD, Netware, Nintendo Switch, NonStop OS, NuttX, Omni OS, OpenBSD, +- OpenStep, Orbis OS, OS/2, OS/400, OS21, Plan 9, PlayStation Portable, QNX, +- Qubes OS, ReactOS, Redox, RICS OS, RTEMS, Sailfish OS, SCO Unix, Serenity, +- SINIX-Z, Solaris, SunOS, Syllable OS, Symbian, Tizen, TPF, Tru64, tvOS, +- ucLinux, Ultrix, UNICOS, UnixWare, VMS, vxWorks, watchOS, WebOS, +- Wii system software, Windows, Windows CE, Xbox System, Xenix, Zephyr, +- z/OS, z/TPF, z/VM, z/VSE ++ AIX, AmigaOS, Android, ArcoOS, Aros, Atari FreeMiNT, BeOS, Blackberry 10, ++ Blackberry Tablet OS, Cell OS, CheriBSD, Chrome OS, Cisco IOS, DG/UX, ++ Dragonfly BSD, DR DOS, eCOS, FreeBSD, FreeDOS, FreeRTOS, Fuchsia, Garmin OS, ++ Genode, Haiku, HardenedBSD, HP-UX, Hurd, Illumos, Integrity, iOS, ipadOS, IRIX, ++ Linux, Lua RTOS, Mac OS 9, macOS, Mbed, Meego, Micrium, MINIX, Moblin, MorphOS, ++ MPE/iX, MS-DOS, NCR MP-RAS, NetBSD, Netware, NextStep, Nintendo Switch, ++ NonStop OS, NuttX, OpenBSD, OpenStep, Orbis OS, OS/2, OS/400, OS21, Plan 9, ++ PlayStation Portable, QNX, Qubes OS, ReactOS, Redox, RICS OS, ROS, RTEMS, ++ Sailfish OS, SCO Unix, Serenity, SINIX-Z, SkyOS, Solaris, Sortix, SunOS, ++ Syllable OS, Symbian, Tizen, TPF, Tru64, tvOS, ucLinux, Ultrix, UNICOS, ++ UnixWare, VMS, vxWorks, watchOS, Wear OS, WebOS, Wii system software, Wii U, ++ Windows, Windows CE, Xbox System, Xenix, Zephyr, z/OS, z/TPF, z/VM, z/VSE + +-## 26 CPU Architectures ++## 28 CPU Architectures + +- Alpha, ARC, ARM, AVR32, CompactRISC, Elbrus, ETRAX, HP-PA, Itanium, ++ Alpha, ARC, ARM, AVR32, C-SKY, CompactRISC, Elbrus, ETRAX, HP-PA, Itanium, + LoongArch, m68k, m88k, MicroBlaze, MIPS, Nios, OpenRISC, POWER, PowerPC, +- RISC-V, s390, SH4, SPARC, Tilera, VAX, x86, Xtensa ++ RISC-V, s390, SH4, SPARC, Tilera, VAX, x86, Xtensa, z/arch +diff --git a/docs/INTERNALS.md b/docs/INTERNALS.md +index d7513a8..b1a095f 100644 +--- a/docs/INTERNALS.md ++++ b/docs/INTERNALS.md +@@ -43,7 +43,6 @@ versions of libs and build tools. + - GNU M4 1.4 + - perl 5.6 + - roffit 0.5 +- - nroff any version that supports `-man [in] [out]` + - cmake 3.7 + + Library Symbols +diff --git a/docs/KNOWN_BUGS b/docs/KNOWN_BUGS +index 395426b..f4ced4d 100644 +--- a/docs/KNOWN_BUGS ++++ b/docs/KNOWN_BUGS +@@ -12,17 +12,16 @@ check the changelog of the current development status, as one or more of these + problems may have been fixed or changed somewhat since this was written. + + 1. HTTP +- 1.1 hyper memory-leaks + 1.2 hyper is slow + 1.5 Expect-100 meets 417 + + 2. TLS ++ 2.1 IMAPS connection fails with rustls error + 2.3 Unable to use PKCS12 certificate with Secure Transport + 2.4 Secure Transport will not import PKCS#12 client certificates without a password + 2.5 Client cert handling with Issuer DN differs between backends + 2.7 Client cert (MTLS) issues with Schannel + 2.11 Schannel TLS 1.2 handshake bug in old Windows versions +- 2.12 FTPS with Schannel times out file list operation + 2.13 CURLOPT_CERTINFO results in CURLE_OUT_OF_MEMORY with Schannel + + 3. Email protocols +@@ -31,6 +30,7 @@ problems may have been fixed or changed somewhat since this was written. + 3.3 POP3 expects "CRLF.CRLF" eob for some single-line responses + 3.4 AUTH PLAIN for SMTP is not working on all servers + 3.5 APOP authentication fails on POP3 ++ 3.6 POP3 issue when reading small chunks + + 4. Command line + +@@ -45,6 +45,7 @@ problems may have been fixed or changed somewhat since this was written. + 5.12 flaky CI builds + 5.13 long paths are not fully supported on Windows + 5.14 Windows Unicode builds use homedir in current locale ++ 5.15 Unicode on Windows + + 6. Authentication + 6.1 NTLM authentication and unicode +@@ -60,8 +61,11 @@ problems may have been fixed or changed somewhat since this was written. + 6.13 Negotiate against Hadoop HDFS + + 7. FTP ++ 7.1 FTP upload fails if remembered dir is deleted ++ 7.2 Implicit FTPS upload timeout + 7.3 FTP with NOBODY and FAILONERROR + 7.4 FTP with ACCT ++ 7.5 FTPS upload, FileZilla, GnuTLS and close_notify + 7.11 FTPS upload data loss with TLS 1.3 + 7.12 FTPS directory listing hangs on Windows with Schannel + +@@ -93,28 +97,26 @@ problems may have been fixed or changed somewhat since this was written. + 15.1 cmake outputs: no version information available + 15.2 support build with GnuTLS + 15.3 unusable tool_hugehelp.c with MinGW +- 15.4 build docs/curl.1 + 15.6 uses -lpthread instead of Threads::Threads + 15.7 generated .pc file contains strange entries +- 15.8 libcurl.pc uses absolute library paths + 15.11 ExternalProject_Add does not set CURL_CA_PATH + 15.13 CMake build with MIT Kerberos does not work + + 16. aws-sigv4 + 16.1 aws-sigv4 does not sign requests with * correctly +- 16.2 aws-sigv4 does not sign requests with valueless queries correctly +- 16.3 aws-sigv4 is missing the amz-content-sha256 header +- 16.4 aws-sigv4 does not sort query string parameters before signing +- 16.5 aws-sigv4 does not sign requests with empty URL query correctly + 16.6 aws-sigv4 does not behave well with AWS VPC Lattice + + 17. HTTP/2 ++ 17.1 HTTP/2 prior knowledge over proxy + 17.2 HTTP/2 frames while in the connection pool kill reuse + 17.3 ENHANCE_YOUR_CALM causes infinite retries + + 18. HTTP/3 + 18.1 connection migration does not work + ++ 19. RTSP ++ 19.1 Some methods do not support response bodies ++ + ============================================================================== + + 1. HTTP +@@ -134,6 +136,10 @@ problems may have been fixed or changed somewhat since this was written. + + 2. TLS + ++2.1 IMAPS connection fails with rustls error ++ ++ https://github.com/curl/curl/issues/10457 ++ + 2.3 Unable to use PKCS12 certificate with Secure Transport + + See https://github.com/curl/curl/issues/5403 +@@ -164,12 +170,6 @@ problems may have been fixed or changed somewhat since this was written. + + https://github.com/curl/curl/issues/5488 + +-2.12 FTPS with Schannel times out file list operation +- +- "Instead of the command completing, it just sits there until the timeout +- expires." - the same command line seems to work with other TLS backends and +- other operating systems. See https://github.com/curl/curl/issues/5284. +- + 2.13 CURLOPT_CERTINFO results in CURLE_OUT_OF_MEMORY with Schannel + + https://github.com/curl/curl/issues/8741 +@@ -205,6 +205,12 @@ problems may have been fixed or changed somewhat since this was written. + + See https://github.com/curl/curl/issues/10073 + ++3.6 POP3 issue when reading small chunks ++ ++ CURL_DBG_SOCK_RMAX=4 ./runtests.pl -v 982 ++ ++ See https://github.com/curl/curl/issues/12063 ++ + 4. Command line + + 5. Build and portability issues +@@ -286,6 +292,16 @@ problems may have been fixed or changed somewhat since this was written. + See https://github.com/curl/curl/pull/7252 and + https://github.com/curl/curl/pull/7281 + ++5.15 Unicode on Windows ++ ++ Passing in a unicode filename with -o: ++ ++ https://github.com/curl/curl/issues/11461 ++ ++ Passing in unicode character with -d: ++ ++ https://github.com/curl/curl/issues/12231 ++ + 6. Authentication + + 6.1 NTLM authentication and unicode +@@ -365,6 +381,18 @@ problems may have been fixed or changed somewhat since this was written. + + 7. FTP + ++7.1 FTP upload fails if remembered dir is deleted ++ ++ curl's FTP code assumes that the directory it entered in a previous transfer ++ still exists when it comes back to do a second transfer, and does not respond ++ well if it was indeed deleted in the mean time. ++ ++ https://github.com/curl/curl/issues/12181 ++ ++7.2 Implicit FTPS upload timeout ++ ++ https://github.com/curl/curl/issues/11720 ++ + 7.3 FTP with NOBODY and FAILONERROR + + It seems sensible to be able to use CURLOPT_NOBODY and CURLOPT_FAILONERROR +@@ -378,6 +406,13 @@ problems may have been fixed or changed somewhat since this was written. + thus fails to issue the correct command: + https://curl.se/bug/view.cgi?id=635 + ++7.5 FTPS upload, FileZilla, GnuTLS and close_notify ++ ++ An issue where curl does not send the TLS alert close_notify, which triggers ++ the wrath of GnuTLS in FileZilla server, and a FTP reply 426 ECONNABORTED. ++ ++ https://github.com/curl/curl/issues/11383 ++ + 7.11 FTPS upload data loss with TLS 1.3 + + During FTPS upload curl does not attempt to read TLS handshake messages sent +@@ -395,9 +430,16 @@ problems may have been fixed or changed somewhat since this was written. + + https://github.com/curl/curl/issues/6149 + +-7.12 FTPS directory listing hangs on Windows with Schannel ++7.12 FTPS server compatibility on Windows with Schannel + +- https://github.com/curl/curl/issues/9161 ++ FTPS is not widely used with the Schannel TLS backend and so there may be more ++ bugs compared to other TLS backends such as OpenSSL. In the past users have ++ reported hanging and failed connections. It's very likely some changes to curl ++ since then fixed the issues. None of the reported issues can be reproduced any ++ longer. ++ ++ If you encounter an issue connecting to your server via FTPS with the latest ++ curl and Schannel then please search for open issues or file a new issue. + + 9. SFTP and SCP + +@@ -530,12 +572,6 @@ problems may have been fixed or changed somewhat since this was written. + + see https://github.com/curl/curl/issues/3125 + +-15.4 build docs/curl.1 +- +- The cmake build does not create the docs/curl.1 file and therefore must rely on +- it being there already. This makes the --manual option not work and test +- cases like 1139 cannot function. +- + 15.6 uses -lpthread instead of Threads::Threads + + See https://github.com/curl/curl/issues/6166 +@@ -547,14 +583,6 @@ problems may have been fixed or changed somewhat since this was written. + + See https://github.com/curl/curl/issues/6167 + +-15.8 libcurl.pc uses absolute library paths +- +- The libcurl.pc file generated by cmake contains things like Libs.private: +- /usr/lib64/libssl.so /usr/lib64/libcrypto.so /usr/lib64/libz.so. The +- autotools equivalent would say Libs.private: -lssl -lcrypto -lz +- +- See https://github.com/curl/curl/issues/6169 +- + 15.11 ExternalProject_Add does not set CURL_CA_PATH + + CURL_CA_BUNDLE and CURL_CA_PATH are not set properly when cmake's +@@ -579,28 +607,16 @@ problems may have been fixed or changed somewhat since this was written. + + https://github.com/curl/curl/issues/7559 + +-16.2 aws-sigv4 does not sign requests with valueless queries correctly +- +- https://github.com/curl/curl/issues/8107 +- +-16.3 aws-sigv4 is missing the amz-content-sha256 header +- +- https://github.com/curl/curl/issues/8810 +- +-16.4 aws-sigv4 does not sort query string parameters before signing +- +- https://github.com/curl/curl/issues/9717 +- +-16.5 aws-sigv4 does not sign requests with empty URL query correctly +- +- https://github.com/curl/curl/issues/10129 +- + 16.6 aws-sigv4 does not behave well with AWS VPC Lattice + + https://github.com/curl/curl/issues/11007 + + 17. HTTP/2 + ++17.1 HTTP/2 prior knowledge over proxy ++ ++ https://github.com/curl/curl/issues/12641 ++ + 17.2 HTTP/2 frames while in the connection pool kill reuse + + If the server sends HTTP/2 frames (like for example an HTTP/2 PING frame) to +@@ -623,3 +639,13 @@ problems may have been fixed or changed somewhat since this was written. + 18.1 connection migration does not work + + https://github.com/curl/curl/issues/7695 ++ ++19. RTSP ++ ++19.1 Some methods do not support response bodies ++ ++ The RTSP implementation is written to assume that a number of RTSP methods ++ will always get responses without bodies, even though there seems to be no ++ indication in the RFC that this is always the case. ++ ++ https://github.com/curl/curl/issues/12414 +diff --git a/docs/MAIL-ETIQUETTE b/docs/MAIL-ETIQUETTE +index 2dcf9cb..d42a6f0 100644 +--- a/docs/MAIL-ETIQUETTE ++++ b/docs/MAIL-ETIQUETTE +@@ -40,13 +40,13 @@ MAIL ETIQUETTE + please use the one or the ones that suit you the most. + + Each mailing list has hundreds up to thousands of readers, meaning that each +- mail sent will be received and read by a large number of people. People +- from various cultures, regions, religions and continents. ++ mail sent is received and read by a large number of people. People from ++ various cultures, regions, religions and continents. + + 1.2 Netiquette + + Netiquette is a common term for how to behave on the Internet. Of course, in +- each particular group and subculture there will be differences in what is ++ each particular group and subculture there are differences in what is + acceptable and what is considered good manners. + + This document outlines what we in the curl project consider to be good +@@ -71,8 +71,8 @@ MAIL ETIQUETTE + through to all the subscribers. + + If you post without being subscribed (or from a different mail address than +- the one you are subscribed with), your mail will simply be silently +- discarded. You have to subscribe first, then post. ++ the one you are subscribed with), your mail is simply silently discarded. ++ You have to subscribe first, then post. + + The reason for this unfortunate and strict subscription policy is of course + to stop spam from pestering the lists. +@@ -80,14 +80,13 @@ MAIL ETIQUETTE + 1.5 Moderation of new posters + + Several of the curl mailing lists automatically make all posts from new +- subscribers be moderated. This means that after you have subscribed and +- sent your first mail to a list, that mail will not be let through to the +- list until a mailing list administrator has verified that it is OK and +- permits it to get posted. ++ subscribers be moderated. After you have subscribed and sent your first mail ++ to a list, that mail is not let through to the list until a mailing list ++ administrator has verified that it is OK and permits it to get posted. + + Once a first post has been made that proves the sender is actually talking +- about curl-related subjects, the moderation "flag" will be switched off and +- future posts will go through without being moderated. ++ about curl-related subjects, the moderation "flag" is switched off and ++ future posts go through without being moderated. + + The reason for this moderation policy is that we do suffer from spammers who + actually subscribe and send spam to our lists. +@@ -95,8 +94,8 @@ MAIL ETIQUETTE + 1.6 Handling trolls and spam + + Despite our good intentions and hard work to keep spam off the lists and to +- maintain a friendly and positive atmosphere, there will be times when spam +- and or trolls get through. ++ maintain a friendly and positive atmosphere, there are times when spam and ++ or trolls get through. + + Troll - "someone who posts inflammatory, extraneous, or off-topic messages + in an online community" +@@ -106,10 +105,10 @@ MAIL ETIQUETTE + + No matter what, we NEVER EVER respond to trolls or spammers on the list. If + you believe the list admin should do something in particular, contact them +- off-list. The subject will be taken care of as much as possible to prevent +- repeated offenses, but responding on the list to such messages never leads to +- anything good and only puts the light even more on the offender: which was +- the entire purpose of it getting sent to the list in the first place. ++ off-list. The subject is taken care of as much as possible to prevent ++ repeated offenses, but responding on the list to such messages never leads ++ to anything good and only puts the light even more on the offender: which ++ was the entire purpose of it getting sent to the list in the first place. + + Do not feed the trolls. + +@@ -130,7 +129,7 @@ MAIL ETIQUETTE + 1.8 I posted, now what? + + If you are not subscribed with the same email address that you used to send +- the email, your post will just be silently discarded. ++ the email, your post is silently discarded. + + If you posted for the first time to the mailing list, you first need to wait + for an administrator to allow your email to go through (moderated). This +@@ -151,28 +150,28 @@ MAIL ETIQUETTE + what you did with details enough to allow others to help point out the + problem or repeat the steps in their locations. + +- Failing to include details will only delay responses and make people respond +- and ask for more details and you will have to send a follow-up email that +- includes them. ++ Failing to include details only delays responses and make people respond and ++ ask for more details and you have to send follow-up emails that include ++ them. + + Expect the responses to primarily help YOU debug the issue, or ask YOU + questions that can lead you or others towards a solution or explanation to + whatever you experience. + + If you are a repeat offender to the guidelines outlined in this document, +- chances are that people will ignore you at will and your chances to get +- responses in the future will greatly diminish. ++ chances are that people ignore you and your chances to get responses in the ++ future greatly diminish. + + 1.9 Your emails are public + + Your email, its contents and all its headers and the details in those +- headers will be received by every subscriber of the mailing list that you +- send your email to. ++ headers are received by every subscriber of the mailing list that you send ++ your email to. + +- Your email as sent to a curl mailing list will end up in mail archives, on +- the curl website and elsewhere, for others to see and read. Today and in +- the future. In addition to the archives, the mail is sent out to thousands +- of individuals. There is no way to undo a sent email. ++ Your email as sent to a curl mailing list ends up in mail archives, on the ++ curl website and elsewhere, for others to see and read. Today and in the ++ future. In addition to the archives, the mail is sent out to thousands of ++ individuals. There is no way to undo a sent email. + + When sending emails to a curl mailing list, do not include sensitive + information such as user names and passwords; use fake ones, temporary ones +diff --git a/docs/MQTT.md b/docs/MQTT.md +index 660ff29..35c4e76 100644 +--- a/docs/MQTT.md ++++ b/docs/MQTT.md +@@ -24,4 +24,4 @@ Remaining limitations: + - Only QoS level 0 is implemented for publish + - No way to set retain flag for publish + - No TLS (mqtts) support +- - Naive EAGAIN handling will not handle split messages ++ - Naive EAGAIN handling does not handle split messages +diff --git a/docs/Makefile.am b/docs/Makefile.am +index 5454e83..ca7b083 100644 +--- a/docs/Makefile.am ++++ b/docs/Makefile.am +@@ -24,26 +24,25 @@ + + AUTOMAKE_OPTIONS = foreign no-dependencies + +-# EXTRA_DIST breaks with $(abs_builddir) so build it using this variable +-# but distribute it (using the relative file name) in the next variable +-man_MANS = $(abs_builddir)/curl.1 +-noinst_man_MANS = curl.1 mk-ca-bundle.1 +-dist_man_MANS = curl-config.1 +-GENHTMLPAGES = curl.html curl-config.html mk-ca-bundle.html +-PDFPAGES = curl.pdf curl-config.pdf mk-ca-bundle.pdf +-MANDISTPAGES = curl.1.dist curl-config.1.dist ++if BUILD_DOCS ++# if we disable man page building, ignore these ++MK_CA_DOCS = mk-ca-bundle.1 ++CURLCONF_DOCS = curl-config.1 ++endif + +-HTMLPAGES = $(GENHTMLPAGES) ++man_MANS = curl-config.1 ++CURLPAGES = curl-config.md mk-ca-bundle.md + +-# Build targets in this file (.) before cmdline-opts to ensure that +-# the curl.1 rule below runs first +-SUBDIRS = . cmdline-opts +-DIST_SUBDIRS = $(SUBDIRS) examples libcurl ++SUBDIRS = . cmdline-opts libcurl ++DIST_SUBDIRS = $(SUBDIRS) examples + +-CLEANFILES = $(GENHTMLPAGES) $(PDFPAGES) $(MANDISTPAGES) curl.1 ++if BUILD_DOCS ++CLEANFILES = mk-ca-bundle.1 curl-config.1 ++endif + + EXTRA_DIST = \ +- $(noinst_man_MANS) \ ++ $(CURLPAGES) \ ++ $(CURLCONF_DOCS) \ + ALTSVC.md \ + BINDINGS.md \ + BUFREF.md \ +@@ -55,10 +54,14 @@ EXTRA_DIST = \ + CODE_OF_CONDUCT.md \ + CODE_REVIEW.md \ + CODE_STYLE.md \ ++ CLIENT-READERS.md \ ++ CLIENT-WRITERS.md \ + CONNECTION-FILTERS.md \ + CONTRIBUTE.md \ + CURL-DISABLE.md \ ++ CURLDOWN.md \ + DEPRECATE.md \ ++ DISTROS.md \ + DYNBUF.md \ + EARLY-RELEASE.md \ + EXPERIMENTAL.md \ +@@ -73,7 +76,7 @@ EXTRA_DIST = \ + HTTP3.md \ + HYPER.md \ + INSTALL \ +- INSTALL.cmake \ ++ INSTALL-CMAKE.md \ + INSTALL.md \ + INTERNALS.md \ + KNOWN_BUGS \ +@@ -87,6 +90,7 @@ EXTRA_DIST = \ + RUSTLS.md \ + ROADMAP.md \ + SECURITY-ADVISORY.md \ ++ SPONSORS.md \ + SSL-PROBLEMS.md \ + SSLCERTS.md \ + THANKS \ +@@ -97,38 +101,23 @@ EXTRA_DIST = \ + VULN-DISCLOSURE-POLICY.md \ + WEBSOCKET.md + +-MAN2HTML= roffit $< >$@ ++CD2NROFF = $(top_srcdir)/scripts/cd2nroff $< >$@ + +-SUFFIXES = .1 .html .pdf ++CD2 = $(CD2_$(V)) ++CD2_0 = @echo " RENDER " $@; ++CD2_1 = ++CD2_ = $(CD2_0) + +-# $(abs_builddir) is to disable VPATH when searching for this file, which +-# would otherwise find the copy in $(srcdir) which breaks the $(HUGE) +-# rule in src/Makefile.am in out-of-tree builds that references the file in the +-# build directory. +-# +-# First, seed the used copy of curl.1 with the prebuilt copy (in an out-of-tree +-# build), then run make recursively to rebuild it only if its dependencies +-# have changed. +-$(abs_builddir)/curl.1: +- if test "$(top_builddir)x" != "$(top_srcdir)x" -a -e "$(srcdir)/curl.1"; then \ +- $(INSTALL_DATA) "$(srcdir)/curl.1" $@; fi +- cd cmdline-opts && $(MAKE) ++SUFFIXES = .1 .md + +-html: $(HTMLPAGES) +- cd libcurl && $(MAKE) html ++all: $(MK_CA_DOCS) + +-pdf: $(PDFPAGES) +- cd libcurl && $(MAKE) pdf ++.md.1: ++ $(CD2)$(CD2NROFF) + +-.1.html: +- $(MAN2HTML) ++curl-config.1: curl-config.md + +-.1.pdf: +- @(foo=`echo $@ | sed -e 's/\.[0-9]$$//g'`; \ +- groff -Tps -man $< >$$foo.ps; \ +- ps2pdf $$foo.ps $@; \ +- rm $$foo.ps; \ +- echo "converted $< to $@") ++mk-ca-bundle.1: mk-ca-bundle.md + + distclean: + rm -f $(CLEANFILES) +diff --git a/docs/Makefile.in b/docs/Makefile.in +index bbd080c..55b3b02 100644 +--- a/docs/Makefile.in ++++ b/docs/Makefile.in +@@ -204,7 +204,8 @@ am__uninstall_files_from_dir = { \ + } + man1dir = $(mandir)/man1 + am__installdirs = "$(DESTDIR)$(man1dir)" +-MANS = $(dist_man_MANS) $(man_MANS) ++NROFF = nroff ++MANS = $(man_MANS) + RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ + distclean-recursive maintainer-clean-recursive + am__recursive_targets = \ +@@ -230,8 +231,7 @@ am__define_uniq_tagged_files = \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | $(am__uniquify_input)` +-am__DIST_COMMON = $(dist_man_MANS) $(srcdir)/Makefile.in INSTALL \ +- README.md THANKS TODO ++am__DIST_COMMON = $(srcdir)/Makefile.in INSTALL README.md THANKS TODO + DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) + am__relativize = \ + dir0=`pwd`; \ +@@ -330,6 +330,7 @@ HAVE_BROTLI = @HAVE_BROTLI@ + HAVE_GNUTLS_SRP = @HAVE_GNUTLS_SRP@ + HAVE_LDAP_SSL = @HAVE_LDAP_SSL@ + HAVE_LIBZ = @HAVE_LIBZ@ ++HAVE_OPENSSL_QUIC = @HAVE_OPENSSL_QUIC@ + HAVE_OPENSSL_SRP = @HAVE_OPENSSL_SRP@ + HAVE_PROTO_BSDSOCKET_H = @HAVE_PROTO_BSDSOCKET_H@ + HAVE_ZSTD = @HAVE_ZSTD@ +@@ -357,11 +358,9 @@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ + MAINT = @MAINT@ + MAKEINFO = @MAKEINFO@ + MANIFEST_TOOL = @MANIFEST_TOOL@ +-MANOPT = @MANOPT@ + MKDIR_P = @MKDIR_P@ + NM = @NM@ + NMEDIT = @NMEDIT@ +-NROFF = @NROFF@ + OBJDUMP = @OBJDUMP@ + OBJEXT = @OBJEXT@ + OTOOL = @OTOOL@ +@@ -397,6 +396,7 @@ USE_ARES = @USE_ARES@ + USE_BEARSSL = @USE_BEARSSL@ + USE_GNUTLS = @USE_GNUTLS@ + USE_HYPER = @USE_HYPER@ ++USE_LIBPSL = @USE_LIBPSL@ + USE_LIBRTMP = @USE_LIBRTMP@ + USE_LIBSSH = @USE_LIBSSH@ + USE_LIBSSH2 = @USE_LIBSSH2@ +@@ -405,10 +405,14 @@ USE_MSH3 = @USE_MSH3@ + USE_NGHTTP2 = @USE_NGHTTP2@ + USE_NGHTTP3 = @USE_NGHTTP3@ + USE_NGTCP2 = @USE_NGTCP2@ ++USE_NGTCP2_CRYPTO_BORINGSSL = @USE_NGTCP2_CRYPTO_BORINGSSL@ + USE_NGTCP2_CRYPTO_GNUTLS = @USE_NGTCP2_CRYPTO_GNUTLS@ + USE_NGTCP2_CRYPTO_QUICTLS = @USE_NGTCP2_CRYPTO_QUICTLS@ + USE_NGTCP2_CRYPTO_WOLFSSL = @USE_NGTCP2_CRYPTO_WOLFSSL@ ++USE_NGTCP2_H3 = @USE_NGTCP2_H3@ + USE_OPENLDAP = @USE_OPENLDAP@ ++USE_OPENSSL_H3 = @USE_OPENSSL_H3@ ++USE_OPENSSL_QUIC = @USE_OPENSSL_QUIC@ + USE_QUICHE = @USE_QUICHE@ + USE_RUSTLS = @USE_RUSTLS@ + USE_SCHANNEL = @USE_SCHANNEL@ +@@ -480,23 +484,17 @@ top_builddir = @top_builddir@ + top_srcdir = @top_srcdir@ + AUTOMAKE_OPTIONS = foreign no-dependencies + +-# EXTRA_DIST breaks with $(abs_builddir) so build it using this variable +-# but distribute it (using the relative file name) in the next variable +-man_MANS = $(abs_builddir)/curl.1 +-noinst_man_MANS = curl.1 mk-ca-bundle.1 +-dist_man_MANS = curl-config.1 +-GENHTMLPAGES = curl.html curl-config.html mk-ca-bundle.html +-PDFPAGES = curl.pdf curl-config.pdf mk-ca-bundle.pdf +-MANDISTPAGES = curl.1.dist curl-config.1.dist +-HTMLPAGES = $(GENHTMLPAGES) +- +-# Build targets in this file (.) before cmdline-opts to ensure that +-# the curl.1 rule below runs first +-SUBDIRS = . cmdline-opts +-DIST_SUBDIRS = $(SUBDIRS) examples libcurl +-CLEANFILES = $(GENHTMLPAGES) $(PDFPAGES) $(MANDISTPAGES) curl.1 ++# if we disable man page building, ignore these ++@BUILD_DOCS_TRUE@MK_CA_DOCS = mk-ca-bundle.1 ++@BUILD_DOCS_TRUE@CURLCONF_DOCS = curl-config.1 ++man_MANS = curl-config.1 ++CURLPAGES = curl-config.md mk-ca-bundle.md ++SUBDIRS = . cmdline-opts libcurl ++DIST_SUBDIRS = $(SUBDIRS) examples ++@BUILD_DOCS_TRUE@CLEANFILES = mk-ca-bundle.1 curl-config.1 + EXTRA_DIST = \ +- $(noinst_man_MANS) \ ++ $(CURLPAGES) \ ++ $(CURLCONF_DOCS) \ + ALTSVC.md \ + BINDINGS.md \ + BUFREF.md \ +@@ -508,10 +506,14 @@ EXTRA_DIST = \ + CODE_OF_CONDUCT.md \ + CODE_REVIEW.md \ + CODE_STYLE.md \ ++ CLIENT-READERS.md \ ++ CLIENT-WRITERS.md \ + CONNECTION-FILTERS.md \ + CONTRIBUTE.md \ + CURL-DISABLE.md \ ++ CURLDOWN.md \ + DEPRECATE.md \ ++ DISTROS.md \ + DYNBUF.md \ + EARLY-RELEASE.md \ + EXPERIMENTAL.md \ +@@ -526,7 +528,7 @@ EXTRA_DIST = \ + HTTP3.md \ + HYPER.md \ + INSTALL \ +- INSTALL.cmake \ ++ INSTALL-CMAKE.md \ + INSTALL.md \ + INTERNALS.md \ + KNOWN_BUGS \ +@@ -540,6 +542,7 @@ EXTRA_DIST = \ + RUSTLS.md \ + ROADMAP.md \ + SECURITY-ADVISORY.md \ ++ SPONSORS.md \ + SSL-PROBLEMS.md \ + SSLCERTS.md \ + THANKS \ +@@ -550,12 +553,16 @@ EXTRA_DIST = \ + VULN-DISCLOSURE-POLICY.md \ + WEBSOCKET.md + +-MAN2HTML = roffit $< >$@ +-SUFFIXES = .1 .html .pdf ++CD2NROFF = $(top_srcdir)/scripts/cd2nroff $< >$@ ++CD2 = $(CD2_$(V)) ++CD2_0 = @echo " RENDER " $@; ++CD2_1 = ++CD2_ = $(CD2_0) ++SUFFIXES = .1 .md + all: all-recursive + + .SUFFIXES: +-.SUFFIXES: .1 .html .pdf ++.SUFFIXES: .1 .md + $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ +@@ -591,10 +598,10 @@ mostlyclean-libtool: + + clean-libtool: + -rm -rf .libs _libs +-install-man1: $(dist_man_MANS) $(man_MANS) ++install-man1: $(man_MANS) + @$(NORMAL_INSTALL) + @list1=''; \ +- list2='$(dist_man_MANS) $(man_MANS)'; \ ++ list2='$(man_MANS)'; \ + test -n "$(man1dir)" \ + && test -n "`echo $$list1$$list2`" \ + || exit 0; \ +@@ -629,7 +636,7 @@ uninstall-man1: + @$(NORMAL_UNINSTALL) + @list=''; test -n "$(man1dir)" || exit 0; \ + files=`{ for i in $$list; do echo "$$i"; done; \ +- l2='$(dist_man_MANS) $(man_MANS)'; for i in $$l2; do echo "$$i"; done | \ ++ l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \ + sed -n '/\.1[a-z]*$$/p'; \ + } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \ + -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \ +@@ -840,6 +847,8 @@ dvi: dvi-recursive + + dvi-am: + ++html: html-recursive ++ + html-am: + + info: info-recursive +@@ -882,6 +891,8 @@ mostlyclean: mostlyclean-recursive + + mostlyclean-am: mostlyclean-generic mostlyclean-libtool + ++pdf: pdf-recursive ++ + pdf-am: + + ps: ps-recursive +@@ -911,34 +922,14 @@ uninstall-man: uninstall-man1 + .PRECIOUS: Makefile + + +-# $(abs_builddir) is to disable VPATH when searching for this file, which +-# would otherwise find the copy in $(srcdir) which breaks the $(HUGE) +-# rule in src/Makefile.am in out-of-tree builds that references the file in the +-# build directory. +-# +-# First, seed the used copy of curl.1 with the prebuilt copy (in an out-of-tree +-# build), then run make recursively to rebuild it only if its dependencies +-# have changed. +-$(abs_builddir)/curl.1: +- if test "$(top_builddir)x" != "$(top_srcdir)x" -a -e "$(srcdir)/curl.1"; then \ +- $(INSTALL_DATA) "$(srcdir)/curl.1" $@; fi +- cd cmdline-opts && $(MAKE) +- +-html: $(HTMLPAGES) +- cd libcurl && $(MAKE) html +- +-pdf: $(PDFPAGES) +- cd libcurl && $(MAKE) pdf +- +-.1.html: +- $(MAN2HTML) +- +-.1.pdf: +- @(foo=`echo $@ | sed -e 's/\.[0-9]$$//g'`; \ +- groff -Tps -man $< >$$foo.ps; \ +- ps2pdf $$foo.ps $@; \ +- rm $$foo.ps; \ +- echo "converted $< to $@") ++all: $(MK_CA_DOCS) ++ ++.md.1: ++ $(CD2)$(CD2NROFF) ++ ++curl-config.1: curl-config.md ++ ++mk-ca-bundle.1: mk-ca-bundle.md + + distclean: + rm -f $(CLEANFILES) +diff --git a/docs/NEW-PROTOCOL.md b/docs/NEW-PROTOCOL.md +index a8b227d..b70caa9 100644 +--- a/docs/NEW-PROTOCOL.md ++++ b/docs/NEW-PROTOCOL.md +@@ -7,16 +7,16 @@ protocols and it is the Internet transfer machine for the world. + In the curl project we love protocols and we love supporting many protocols + and doing it well. + +-So how do you proceed to add a new protocol and what are the requirements? ++How do you proceed to add a new protocol and what are the requirements? + + ## No fixed set of requirements + + This document is an attempt to describe things to consider. There is no + checklist of the twenty-seven things you need to cross off. We view the entire +-effort as a whole and then judge if it seems to be the right thing - for +-now. The more things that look right, fit our patterns and are done in ways +-that align with our thinking, the better are the chances that we will agree +-that supporting this protocol is a grand idea. ++effort as a whole and then judge if it seems to be the right thing - for now. ++The more things that look right, fit our patterns and are done in ways that ++align with our thinking, the better are the chances that we agree that ++supporting this protocol is a grand idea. + + ## Mutual benefit is preferred + +@@ -93,18 +93,18 @@ protocol - but it might require a bit of an effort to make it happen. + We cannot assume that users are particularly familiar with details and + peculiarities of the protocol. It needs documentation. + +-Maybe it even needs some internal documentation so that the developers who +-will try to debug something five years from now can figure out functionality a +-little easier! ++Maybe it even needs some internal documentation so that the developers who try ++to debug something five years from now can figure out functionality a little ++easier! + + The protocol specification itself should be freely available without requiring + a non-disclosure agreement or similar. + + ## Do not compare + +-We are constantly raising the bar and we are constantly improving the +-project. A lot of things we did in the past would not be acceptable if done +-today. Therefore, you might be tempted to use shortcuts or "hacks" you can +-spot other - existing - protocol implementations have used, but there is +-nothing to gain from that. The bar has been raised. Former "cheats" will not be +-tolerated anymore. ++We are constantly raising the bar and we are constantly improving the project. ++A lot of things we did in the past would not be acceptable if done today. ++Therefore, you might be tempted to use shortcuts or "hacks" you can spot ++other - existing - protocol implementations have used, but there is nothing to ++gain from that. The bar has been raised. Former "cheats" may not tolerated ++anymore. +diff --git a/docs/PARALLEL-TRANSFERS.md b/docs/PARALLEL-TRANSFERS.md +index 337fab5..c086f14 100644 +--- a/docs/PARALLEL-TRANSFERS.md ++++ b/docs/PARALLEL-TRANSFERS.md +@@ -5,9 +5,9 @@ parallel. + + ## -Z, --parallel + +-When this command line option is used, curl will perform the transfers given +-to it at the same time. It will do up to `--parallel-max` concurrent +-transfers, with a default value of 50. ++When this command line option is used, curl performs the transfers given to it ++at the same time. It does up to `--parallel-max` concurrent transfers, with a ++default value of 50. + + ## Progress meter + +@@ -38,9 +38,9 @@ Example: + ## Behavior differences + + Connections are shared fine between different easy handles, but the +-"authentication contexts" are not. So for example doing HTTP Digest auth with +-one handle for a particular transfer and then continue on with another handle +-that reuses the same connection, the second handle cannot send the necessary ++"authentication contexts" are not. For example doing HTTP Digest auth with one ++handle for a particular transfer and then continue on with another handle that ++reuses the same connection, the second handle cannot send the necessary + Authorization header at once since the context is only kept in the original + easy handle. + +diff --git a/docs/README.md b/docs/README.md +index b72d8bc..59f4bd1 100644 +--- a/docs/README.md ++++ b/docs/README.md +@@ -2,9 +2,9 @@ + + # Documentation + +-you will find a mix of various documentation in this directory and +-subdirectories, using several different formats. Some of them are not ideal +-for reading directly in your browser. ++You find a mix of various documentation in this directory and subdirectories, ++using several different formats. Some of them are not ideal for reading ++directly in your browser. + + If you would rather see the rendered version of the documentation, check out the + curl website's [documentation section](https://curl.se/docs/) for +diff --git a/docs/RELEASE-PROCEDURE.md b/docs/RELEASE-PROCEDURE.md +index 0ce02fb..e48a4d2 100644 +--- a/docs/RELEASE-PROCEDURE.md ++++ b/docs/RELEASE-PROCEDURE.md +@@ -17,9 +17,8 @@ in the source code repo + the tag is GPG signed (using -s). + + - run `./maketgz 7.34.0` to build the release tarballs. It is important that +- you run this on a machine with the correct set of autotools etc installed +- as this is what then will be shipped and used by most users on \*nix like +- systems. ++ you run this on a machine with the correct set of autotools etc installed as ++ this is what is shipped and used by most users on \*nix like systems. + + - push the git commits and the new tag + +@@ -107,11 +106,11 @@ Coming dates + Based on the description above, here are some planned release dates (at the + time of this writing): + +-- October 11, 2023 +-- December 6, 2023 +-- January 31, 2024 +-- March 27, 2024 + - May 22, 2024 + - July 17, 2024 + - September 11, 2024 + - November 6, 2024 ++- January 8, 2025 ++- March 5, 2025 ++- April 30, 2025 ++- June 25, 2025 +diff --git a/docs/RUSTLS.md b/docs/RUSTLS.md +index 7a0d806..3515e16 100644 +--- a/docs/RUSTLS.md ++++ b/docs/RUSTLS.md +@@ -3,7 +3,7 @@ + [Rustls is a TLS backend written in Rust](https://docs.rs/rustls/). Curl can + be built to use it as an alternative to OpenSSL or other TLS backends. We use + the [rustls-ffi C bindings](https://github.com/rustls/rustls-ffi/). This +-version of curl depends on version v0.10.0 of rustls-ffi. ++version of curl depends on version v0.12.0 of rustls-ffi. + + # Building with rustls + +@@ -12,7 +12,7 @@ First, [install Rust](https://rustup.rs/). + Next, check out, build, and install the appropriate version of rustls-ffi: + + % cargo install cbindgen +- % git clone https://github.com/rustls/rustls-ffi -b v0.10.0 ++ % git clone https://github.com/rustls/rustls-ffi -b v0.12.0 + % cd rustls-ffi + % make + % make DESTDIR=${HOME}/rustls-ffi-built/ install +diff --git a/docs/SECURITY-ADVISORY.md b/docs/SECURITY-ADVISORY.md +index 0ddc38b..8d908a8 100644 +--- a/docs/SECURITY-ADVISORY.md ++++ b/docs/SECURITY-ADVISORY.md +@@ -35,7 +35,7 @@ The eleven fields for each CVE in `vuln.pm` are, in order: + + ### `Makefile` + +-The new CVE web page file name needs to be added in the `Makefile`'s `CVELIST` ++The new CVE webpage filename needs to be added in the `Makefile`'s `CVELIST` + macro. + + When the markdown is in place and the `Makefile` and `vuln.pm` are updated, +@@ -48,8 +48,8 @@ The easy way is to start with a recent previously published advisory and just + blank out old texts and save it using a new name. Save the subtitles and + general layout. + +-Some details and metadata will be extracted from this document so it is +-important to stick to the existing format. ++Some details and metadata are extracted from this document so it is important ++to stick to the existing format. + + The first list must be the title of the issue. + +diff --git a/docs/SPONSORS.md b/docs/SPONSORS.md +new file mode 100644 +index 0000000..bec9680 +--- /dev/null ++++ b/docs/SPONSORS.md +@@ -0,0 +1,41 @@ ++# curl sponsors ++ ++A sponsor is someone who donates money or resources to the curl project for no ++specific service in return. ++ ++curl accepts donations via [GitHub sponsors](https://github.com/sponsors/curl) ++and [Open Collective](https://opencollective.com/curl). ++ ++An even better way to contribute to the project might be to pay an engineer or ++two to spend work hours on curl related tasks. ++ ++We promise to use donated funds for things and activities that we believe are ++beneficial for the project and its development. That includes but is not ++limited to bug-bounties, developer conferences, infrastructure, development, ++services and hardware. ++ ++Recurring donations above a certain amount of money puts the sponsor at a ++named sponsor level: **Silver**, **Gold**, **Platinum** or **Top**. ++ ++Sponsors on a named level can provide their logo image and preferred URL and ++get recognition on the curl website's [sponsor ++page](https://curl.se/sponsors.html). ++ ++- **Silver Sponsor** at least 100 USD/month ++- **Gold Sponsor** at least 500 USD/month ++- **Platinum Sponsor** at least 1000 USD/month ++- **Top Sponsor** outstanding extra valuable help ++ ++## Sponsor requirements ++ ++A named level sponsor is entitled a logo and link on the curl website assuming ++the company, brand and link are not deemed unsuitable. The curl team reserves ++the right to make that decision at its own discretion. ++ ++Sponsors may be denied a website presence for example if involved with drugs, ++gambling, pornography, social media manipulation etc. ++ ++## Past Sponsors ++ ++Sponsors that stop paying are considered *Past Sponsors* and are not displayed ++on the sponsor page anymore. We thank you for your contributions! +diff --git a/docs/SSL-PROBLEMS.md b/docs/SSL-PROBLEMS.md +index afe4250..8626222 100644 +--- a/docs/SSL-PROBLEMS.md ++++ b/docs/SSL-PROBLEMS.md +@@ -22,14 +22,14 @@ + + ## CA bundle missing intermediate certificates + +- When using said CA bundle to verify a server cert, you will experience ++ When using said CA bundle to verify a server cert, you may experience + problems if your CA store does not contain the certificates for the + intermediates if the server does not provide them. + + The TLS protocol mandates that the intermediate certificates are sent in the + handshake, but as browsers have ways to survive or work around such +- omissions, missing intermediates in TLS handshakes still happen that +- browser-users will not notice. ++ omissions, missing intermediates in TLS handshakes still happen that browser ++ users do not notice. + + Browsers work around this problem in two ways: they cache intermediate + certificates from previous transfers and some implement the TLS "AIA" +diff --git a/docs/SSLCERTS.md b/docs/SSLCERTS.md +index 4094e2f..caac51c 100644 +--- a/docs/SSLCERTS.md ++++ b/docs/SSLCERTS.md +@@ -71,11 +71,11 @@ server, do one of the following: + certificates need to be stored as individual PEM files in this directory. + You may need to run c_rehash after adding files there. + +- If neither of the two options is specified, configure will try to +- auto-detect a setting. It's also possible to explicitly not set any +- default store but rely on the built in default the crypto library may +- provide instead. You can achieve that by passing both +- `--without-ca-bundle` and `--without-ca-path` to the configure script. ++ If neither of the two options is specified, configure tries to auto-detect ++ a setting. It's also possible to explicitly not set any default store but ++ rely on the built in default the crypto library may provide instead. You ++ can achieve that by passing both `--without-ca-bundle` and ++ `--without-ca-path` to the configure script. + + If you use Internet Explorer, this is one way to get extract the CA cert + for a particular server: +@@ -94,8 +94,7 @@ server, do one of the following: + + - `openssl s_client -showcerts -servername server -connect server:443 > cacert.pem` + - type "quit", followed by the "ENTER" key +- - The certificate will have "BEGIN CERTIFICATE" and "END CERTIFICATE" +- markers. ++ - The certificate has `BEGIN CERTIFICATE` and `END CERTIFICATE` markers. + - If you want to see the data in the certificate, you can do: `openssl + x509 -inform PEM -in certfile -text -out certdata` where `certfile` is + the cert you extracted from logfile. Look in `certdata`. +@@ -103,46 +102,46 @@ server, do one of the following: + certificate store or use it stand-alone as described. Just remember that + the security is no better than the way you obtained the certificate. + +- 4. If you are using the curl command line tool, you can specify your own CA +- cert file by setting the environment variable `CURL_CA_BUNDLE` to the path +- of your choice. ++ 4. If you are using the curl command line tool and the TLS backend is not ++ Schannel then you can specify your own CA cert file by setting the ++ environment variable `CURL_CA_BUNDLE` to the path of your choice. + +- If you are using the curl command line tool on Windows, curl will search +- for a CA cert file named "curl-ca-bundle.crt" in these directories and in +- this order: ++ If you are using the curl command line tool on Windows, curl searches for ++ a CA cert file named "curl-ca-bundle.crt" in these directories and in this ++ order: + 1. application's directory + 2. current working directory + 3. Windows System directory (e.g. C:\windows\system32) + 4. Windows Directory (e.g. C:\windows) + 5. all directories along %PATH% + +- 5. Get a better/different/newer CA cert bundle! One option is to extract the +- one a recent Firefox browser uses by running 'make ca-bundle' in the curl +- build tree root, or possibly download a version that was generated this +- way for you: [CA Extract](https://curl.se/docs/caextract.html) ++ 5. Get another CA cert bundle. One option is to extract the one a recent ++ Firefox browser uses by running 'make ca-bundle' in the curl build tree ++ root, or possibly download a version that was generated this way for you: ++ [CA Extract](https://curl.se/docs/caextract.html) + + Neglecting to use one of the above methods when dealing with a server using a + certificate that is not signed by one of the certificates in the installed CA +-certificate store, will cause SSL to report an error ("certificate verify +-failed") during the handshake and SSL will then refuse further communication +-with that server. ++certificate store, causes SSL to report an error (`certificate verify failed`) ++during the handshake and SSL then refuses further communication with that ++server. + + Certificate Verification with Schannel and Secure Transport + ----------------------------------------------------------- + + If libcurl was built with Schannel (Microsoft's native TLS engine) or Secure +-Transport (Apple's native TLS engine) support, then libcurl will still perform +-peer certificate verification, but instead of using a CA cert bundle, it will +-use the certificates that are built into the OS. These are the same +-certificates that appear in the Internet Options control panel (under Windows) +-or Keychain Access application (under OS X). Any custom security rules for +-certificates will be honored. +- +-Schannel will run CRL checks on certificates unless peer verification is +-disabled. Secure Transport on iOS will run OCSP checks on certificates unless +-peer verification is disabled. Secure Transport on OS X will run either OCSP +-or CRL checks on certificates if those features are enabled, and this behavior +-can be adjusted in the preferences of Keychain Access. ++Transport (Apple's native TLS engine) support, then libcurl still performs ++peer certificate verification, but instead of using a CA cert bundle, it uses ++the certificates that are built into the OS. These are the same certificates ++that appear in the Internet Options control panel (under Windows) or Keychain ++Access application (under OS X). Any custom security rules for certificates ++are honored. ++ ++Schannel runs CRL checks on certificates unless peer verification is disabled. ++Secure Transport on iOS runs OCSP checks on certificates unless peer ++verification is disabled. Secure Transport on OS X runs either OCSP or CRL ++checks on certificates if those features are enabled, and this behavior can be ++adjusted in the preferences of Keychain Access. + + HTTPS proxy + ----------- +diff --git a/docs/THANKS b/docs/THANKS +index 0bf9474..8bd6b3d 100644 +--- a/docs/THANKS ++++ b/docs/THANKS +@@ -11,6 +11,7 @@ + 1ocalhost on github + 3dyd on github + 3eka on github ++5533asdg on github + 8U61ife on github + a1346054 on github + Aaro Koskinen +@@ -47,11 +48,13 @@ ahodesuka on github + ajak in #curl + Ajit Dhumale + Akhil Kedia ++Akhilesh Nema + Aki Koskinen + Akos Pasztory + Akshay Vernekar + Alain Danteny + Alain Miniussi ++Alan Coopersmith + Alan Jenkins + Alan Pinstein + Albert Chin-A-Young +@@ -71,6 +74,7 @@ Alessandro Vesely + Alex aka WindEagle + Alex Baines + Alex Bligh ++Alex Bozarth + Alex Chan + Alex Crichton + Alex Fishman +@@ -78,6 +82,7 @@ Alex Gaynor + Alex Grebenschikov + Alex Gruz + Alex Kiernan ++Alex Klyubin + Alex Konev + Alex Malinovich + Alex Mayorga +@@ -90,6 +95,7 @@ Alex Samorukov + Alex Suykov + Alex Vinnik + Alex Xu ++Alexander Bartel + Alexander Beedie + Alexander Chuykov + Alexander Dyagilev +@@ -111,6 +117,7 @@ Alexandre Ferrieux + Alexandre Pion + Alexey Borzov + Alexey Eremikhin ++Alexey Larikov + Alexey Melnichuk + Alexey Pesternikov + Alexey Savchuk +@@ -130,6 +137,7 @@ Alona Rossen + Amaury Denoyelle + amishmm on github + Amit Katyal ++Ammar Faizi + Amol Pattekar + Amr Shahin + Anatol Belski +@@ -150,6 +158,7 @@ Andreas Falkenhahn + Andreas Farber + Andreas Fischer + Andreas Huebner ++Andreas Kiefer + Andreas Kostyrka + Andreas Malzahn + Andreas Ntaflos +@@ -181,6 +190,7 @@ Andrew de los Reyes + Andrew Francis + Andrew Fuller + Andrew Ishchuk ++Andrew Kaster + Andrew Krieger + Andrew Kurushin + Andrew Lambert +@@ -202,6 +212,7 @@ Andy Stamp + Andy Tsouladze + Angus Mackay + anio on github ++annalee + anon00000000 on github + anshnd on github + Anssi Kolehmainen +@@ -227,10 +238,12 @@ Antoni Villalonga + Antonio Larrosa + Antony74 on github + Antti Hätälä ++Anubhav Rai + apparentorder on github + April King + arainchik on github + Archangel_SDY on github ++Arjan van de Ven + Arkadiusz Miskiewicz + Armel Asselin + Arnaud Compan +@@ -255,7 +268,9 @@ Ates Goral + atjg on github + Augustus Saunders + Austin Green ++av223119 on github + Avery Fay ++awesomekosm on github + awesomenode on github + Axel Chong + Axel Morawietz +@@ -285,6 +300,7 @@ Basuke Suzuki + baumanj on github + bdry on github + beckenc on github ++Ben + Ben Boeckel + Ben Darnell + Ben Fritz +@@ -349,6 +365,7 @@ Bob Schader + bobmitchell1956 on github + Bodo Bergmann + Bogdan Nicula ++boilingoden + Boris Kuschel + Boris Okunskiy + Boris Rasin +@@ -367,13 +384,16 @@ Brandon Dong + Brandon Wang + BratSinot on github + Brendan Jurd ++Brennan Kinney + Brent Beardsley ++Brett Buddin + Brian Akins + Brian Bergeron + Brian Carpenter + Brian Chaplin + Brian Childs + Brian Chrisman ++Brian Clemens + Brian Dessent + Brian E. Gallew + Brian Green +@@ -398,11 +418,13 @@ Bryan Henderson + Bryan Kemp + bsammon on github + bsergean on github ++bubbleguuum on github + Bubu on github + buzo-ffm on github + bxac on github + Bylon2 on github + Byrial Jensen ++Cajus Pollmeier + Caleb Raitto + Calvin Buckley + calvin2021y on github +@@ -422,6 +444,7 @@ Carlo Cannas + Carlo Marcelo Arenas Belón + Carlo Teubner + Carlo Wood ++Carlos Henrique Lima Melara + Carlos ORyan + Carsten Lange + Casey Bodley +@@ -434,10 +457,13 @@ Cering on github + Cesar Eduardo Barros + Chad Monroe + Chandrakant Bagul ++Chara White + Charles Cazabon + Charles Kerr + Charles Romestant ++Charlie C + Chen Prog ++chensong1211 on github + Cherish98 on github + Chester Liu + Chih-Chung Chang +@@ -457,8 +483,10 @@ Chris Maltby + Chris Mumford + Chris Paulson-Ellis + Chris Roberts ++Chris Sauer + Chris Smowton + Chris Talbot ++Chris Webb + Chris Young + Christian Fillion + Christian Grothoff +@@ -486,6 +514,7 @@ Christopher R. Palmer + Christopher Reid + Christopher Sauer + Christopher Stone ++chrysos349 on github + Chungtsun Li + Ciprian Badescu + civodul on github +@@ -559,6 +588,7 @@ Dan Fandrich + Dan Johnson + Dan Kenigsberg + Dan Locks ++Dan McDonald + Dan McNulty + Dan Nelson + Dan Petitt +@@ -592,6 +622,7 @@ Daniel Shahaf + Daniel Silverstone + Daniel Steinberg + Daniel Stenberg ++Daniel Szmulewicz + Daniel Theron + Daniel Valenzuela + Daniel Woelfel +@@ -602,6 +633,7 @@ Darryl House + Darshan Mody + Darío Hereñú + dasimx on github ++DasKutti on github + Dave Cottlehuber + Dave Dribin + Dave Halbakken +@@ -649,6 +681,7 @@ David Sanderson + David Schweikert + David Shaw + David Strauss ++David Suter + David Tarendash + David Thiel + David Walser +@@ -677,6 +710,8 @@ Derzsi Dániel + Desmond O. Chang + destman on github + Detlef Schmier ++Dexter Gerig ++dfdity on github + Dheeraj Sangamkar + Didier Brisebourg + Diego Bes +@@ -696,6 +731,7 @@ Diogo Teles Sant'Anna + Dion Williams + Dirk Eddelbuettel + Dirk Feytons ++Dirk Hünniger + Dirk Manske + Dirk Rosenkranz + Dirk Wetter +@@ -720,6 +756,7 @@ Dmitry Mikhirev + Dmitry Popov + Dmitry Rechkin + Dmitry S. Baikov ++Dmitry Tretyakov + Dmitry Wagin + dnivras on github + Dolbneff A.V +@@ -770,6 +807,7 @@ ed0d2b2ce19451f2 + Eddie Lumpkin + Edgaras JanuÅ¡auskas + Edin Kadribasic ++edmcln on github + Edmond Yu + Edoardo Lolletti + Eduard Bloch +@@ -780,6 +818,7 @@ Edward Sheldrake + Edward Thomson + Eelco Dolstra + Eetu Ojanen ++eeverettrbx on github + Egon Eckert + Egor Pugin + Ehren Bendler +@@ -806,8 +845,10 @@ Emiliano Ida + Emilio Cobos Ãlvarez + Emilio López + Emmanuel Tychon ++Enno Boland + Enrico Scholz + Enrik Berkhan ++enWILLYado on github + eppesuig + Eramoto Masaya + Eric Cooper +@@ -839,6 +880,7 @@ Erik Janssen + Erik Johansson + Erik Minekus + Erik Olsson ++Erik Schnetter + Erik Stenlund + Ernest Beinrohr + Ernst Sjöstrand +@@ -863,11 +905,13 @@ Fabian Frank + Fabian Hiernaux + Fabian Keil + Fabian Ruff ++Fabian Vogt + Fabian Yamaguchi + Fabrice Fontaine + Fabrizio Ammollo + Fahim Chandurwala + Faizur Rahman ++Faraz Fallahi + Farzin on github + Fata Nugraha + Fawad Mirza +@@ -930,10 +974,12 @@ FuccDucc on github + Fujii Hironori + fullincome on github + fundawang on github ++Gabe + Gabriel Corona + Gabriel Kuri + Gabriel Simmer + Gabriel Sjoberg ++Gaelan Steele + Gambit Communications + Ganesh Kamath + gaoxingwang on github +@@ -995,6 +1041,7 @@ Gou Lingfeng + Graham Campbell + Grant Erickson + Grant Pannell ++graywolf on github + Greg Hewgill + Greg Morse + Greg Onufer +@@ -1042,16 +1089,19 @@ Hannes Magnusson + Hanno Böck + Hanno Kranzhoff + Hans Steegers ++Hans-Christian Egtvedt + Hans-Christian Noren Egtvedt + Hans-Jurgen May + Hao Wu + Hardeep Singh + Haris Okanovic + Harold Stuart ++Harry Mallon + Harry Sarson + Harry Sintonen + Harshal Pradhan + Hauke Duden ++Haydar Alaidrus + Hayden Roche + He Qin + Heikki Korpela +@@ -1070,6 +1120,7 @@ Henry Ludemann + Henry Roeland + Herve Amblard + HexTheDragon ++hgdagon on github + Hide Ishikawa + Hidemoto Nakada + highmtworks on github +@@ -1084,6 +1135,7 @@ Hongyi Zhao + Howard Blaise + Howard Chu + hsiao yi ++HsiehYuho on github + htasta on github + Hubert Kario + Hugh Macdonald +@@ -1103,6 +1155,9 @@ Ian Lynagh + Ian Spence + Ian Turner + Ian Wilkes ++iAroc on github ++iconoclasthero ++icy17 on github + Ignacio Vazquez-Abrams + Igor Franchuk + Igor Khristophorov +@@ -1139,6 +1194,7 @@ Ishan SinghLevett + Ithubg on github + Ivan Avdeev + Ivan Tsybulin ++ivanfywang + IvanoG on github + Ivo Bellin Salarin + iz8mbw on github +@@ -1198,6 +1254,7 @@ Jan Venekamp + Jan Verbeek + Jan-Piet Mens + JanB on github ++janko-js on github + Janne Blomqvist + Janne Johansson + Jared Jennings +@@ -1219,6 +1276,7 @@ Javier Navarro + Javier Sixto + Jay Austin + Jay Dommaschk ++Jay Wu + Jayesh A Shah + Jaz Fresh + JazJas on github +@@ -1273,12 +1331,15 @@ Jerry Krinock + Jerry Wu + Jes Badwal + Jesper Jensen ++Jess Lowe + Jesse Chisholm + Jesse Noller + Jesse Tan + jethrogb on github + jhoyla on github ++Jiawen Geng + Jie He ++Jiehong on github + Jilayne Lovejoy + Jim Beveridge + Jim Drash +@@ -1292,6 +1353,7 @@ Jiri Dvorak + Jiri Hruska + Jiri Jaburek + Jishan Shaikh ++Jiří Bok + Jiří Malák + jmdavitt on github + jnbr on github +@@ -1381,6 +1443,7 @@ Jonathan Cardoso Machado + Jonathan Hseu + Jonathan Moerman + Jonathan Nieder ++Jonathan Perkin + Jonathan Watt + Jonathan Wernberg + Jongki Suwandi +@@ -1467,10 +1530,12 @@ Kane York + Kang Lin + Kang-Jin Lee + Kantanat Wannapaka ++Kareem + Kari Pahula + Karl Chen + Karl Moerder + Karol Pietrzak ++Kartatz on Github + Karthikdasari0423 + Karthikdasari0423 on github + Kartik Mahajan +@@ -1499,6 +1564,7 @@ Kev Jackson + Kevin Adler + Kevin Baughman + Kevin Burke ++Kevin Daudt + Kevin Fisk + Kevin Ji + Kevin Lussier +@@ -1512,6 +1578,7 @@ Kim Minjoong + Kim Rinnewitz + Kim Vandry + Kimmo Kinnunen ++kirbyn17 on hackerone + Kirill Efimov + Kirill Marchuk + Kjell Ericson +@@ -1525,10 +1592,12 @@ Koichi Shiraishi + kokke on github + Konstantin Isakov + Konstantin Kushnir ++Konstantin Vlasov + KotlinIsland on github + kotoriã®ã­ã“ + kouzhudong on github + Kovalkov Dmitrii ++kpcyrd + kreshano on github + Kris Kennaway + Krishnendu Majumdar +@@ -1568,8 +1637,10 @@ Lars Francke + Lars Gustafsson + Lars J. Aas + Lars Johannesen ++Lars Kellogg-Stedman + Lars Nilsson + Lars Torben Wilson ++Lau + Laurent Bonnans + Laurent Dufresne + Laurent Rabret +@@ -1579,7 +1650,9 @@ Lawrence Gripper + Lawrence Matthews + Lawrence Wagerfield + Leah Neukirchen ++Lealem Amedie + Leandro Coutinho ++LeeRiva + Legoff Vincent + Lehel Bernadt + Leif W +@@ -1602,6 +1675,7 @@ LigH-de on github + lijian996 on github + Lijo Antony + lilongyan-huawei on github ++Lin Sun + Linas Vepstas + Lindley French + Ling Thio +@@ -1615,15 +1689,19 @@ Litter White + Liviu Chircu + Liza Alenchery + lizhuang0630 on github ++lkordos on github + lllaffer on github + Lloyd Fournier + Lluís Batlle i Rossell + locpyl-tidnyd on github + Loganaden Velvindron + Loic Dachary ++LoRd_MuldeR + Loren Kirkby + Lorenzo Miniero ++Louis Solofrizzo + Loïc Yhuel ++lRoccoon on github + Luan Cestari + Luca Altea + Luca Boccassi +@@ -1646,6 +1724,7 @@ Luke Amery + Luke Call + Luke Dashjr + Luke Granger-Brown ++Lukáš Zaoral + luminixinc on github + Luo Jinghua + Luong Dinh Dung +@@ -1667,6 +1746,7 @@ Maksim Arhipov + Maksim Kuzevanov + Maksim Sciepanienka + Maksim Stsepanenka ++Maksymilian Arciemowicz + Malik Idrees Hasan Khan + Mamoru Tasaka + Mamta Upadhyay +@@ -1693,6 +1773,7 @@ Marcelo Juchem + Marcin Adamski + Marcin Gryszkalis + Marcin Konicki ++Marcin Rataj + Marco Deckel + Marco G. Salvagno + Marco Kamner +@@ -1700,6 +1781,7 @@ Marco Maggi + Marcos Diazr + Marcus Hoffmann + Marcus Klein ++Marcus Müller + Marcus Sundberg + Marcus T + Marcus Webster +@@ -1713,6 +1795,7 @@ Mark Davies + Mark Dodgson + Mark Gaiser + Mark Hamilton ++Mark Huang + Mark Incley + Mark Itzcovitz + Mark Karpeles +@@ -1721,6 +1804,7 @@ Mark Nottingham + Mark Roszko + Mark Salisbury + Mark Seuffert ++Mark Sinkovics + Mark Snelling + Mark Swaanenburg + Mark Tully +@@ -1756,6 +1840,7 @@ Martin Jansen + Martin Kammerhofer + Martin Kepplinger + Martin Lemke ++Martin Schmatz + Martin Skinner + Martin Staael + Martin Storsjö +@@ -1808,6 +1893,7 @@ Matthias Naegler + Mattias Fornander + Matus Uzak + Maurice Barnum ++Mauricio Scheffer + Mauro Iorio + Mauro Rappa + Maurício Meneghini Fauth +@@ -1931,6 +2017,7 @@ Mohamed Lrhazi + Mohamed Osama + Mohammad AlSaleh + Mohammad Hasbini ++Mohammadreza Hendiani + Mohammed Naser + Mohun Biswas + momala454 on github +@@ -1995,6 +2082,7 @@ Nick Zitzmann + nick-telia on github + Nicklas Avén + Nico Baggus ++Nico Rieck + nico-abram on github + Nicolas Berloquin + Nicolas Croiset +@@ -2008,6 +2096,7 @@ Nicolás Ojeda Bär + Niels Martignène + Niels van Tongeren + Nikita Schmidt ++Nikita Taranov + Nikitinskit Dmitriy + Niklas Angebrand + Niklas Hambüchen +@@ -2018,6 +2107,7 @@ nimaje on github + niner on github + Ning Dong + Nir Soffer ++Niracler Li + Niranjan Hasabnis + Nis Jorgensen + nk +@@ -2037,6 +2127,7 @@ Nuru on github + Octavio Schroeder + odek86 on github + Ofer ++ohyeaah on github + Okhin Vasilij + Ola Mork + Olaf Flebbe +@@ -2063,6 +2154,7 @@ omau on github + OndÅ™ej KoláÄek + opensignature on github + opensslonzos-github on github ++Ophir Lojkine + Orange Tsai + Oren Souroujon + Oren Tirosh +@@ -2077,7 +2169,9 @@ Oscar Norlander + Oskar Liljeblad + Oskar Sigvardsson + Oumph on github ++Outvi V + ovidiu-benea on github ++Ozan Cansel + P R Schaffner + Pablo Busse + Palo Markovic +@@ -2142,6 +2236,7 @@ Pawel A. Gajda + Pawel Kierski + PaweÅ‚ Kowalski + PaweÅ‚ Wegner ++PaweÅ‚ Witas + PBudmark on github + Pedro Henrique + Pedro Larroy +@@ -2163,6 +2258,7 @@ Peter Goodman + Peter Heuchert + Peter Hjalmarsson + Peter Korsgaard ++Peter Krefting + Peter Körner + Peter Lamare + Peter Lamberg +@@ -2230,12 +2326,14 @@ Prithvi MK + privetryan on github + Priyanka Shah + ProceduralMan on github ++promptfuzz_ on hackerone + Pronyushkin Petr + PrzemysÅ‚aw Tomaszewski + pszemus on github + pszlazak on github + puckipedia on github + Puneet Pawaia ++PÄ“teris Caune + qiandu2006 on github + Quagmire + Quanah Gibson-Mount +@@ -2258,6 +2356,7 @@ Rainer Canavan + Rainer Jung + Rainer Koenig + Rainer Müller ++RainRat + Raito Bezarius + Rajesh Naganathan + Rajkumar Mandal +@@ -2266,6 +2365,7 @@ Ralph Beckmann + Ralph Langendam + Ralph Mitchell + Ram Krushna Mishra ++Ramiro Garcia + ramsay-jones on github + Ran Mozes + RanBarLavie on github +@@ -2299,6 +2399,7 @@ Renaud Lehoux + Rene Bernhardt + Rene Rebe + Reuven Wachtfogel ++RevaliQaQ on github + Reza Arbab + Rianov Viacheslav + Ricardo Cadime +@@ -2324,6 +2425,7 @@ Richard Gorton + Richard Gray + Richard Hosking + Richard Hsu ++Richard Levitte + Richard Marion + Richard Michael + Richard Moore +@@ -2346,6 +2448,7 @@ Ricky-Tigg on github + Rider Linden + RiderALT on github + Rikard Falkeborn ++rilysh + rl1987 on github + Rob Boeckermann + Rob Cotrone +@@ -2368,11 +2471,13 @@ Robert Foreman + Robert Iakobashvili + Robert Kolcun + Robert Linden ++Robert Moreton + Robert Olson + Robert Prag + Robert Ronto + Robert Schumann + Robert Simpson ++Robert Southee + Robert Weaver + Robert Wruck + Robin A. Meade +@@ -2415,6 +2520,7 @@ roughtex on github + Roy Bellingan + Roy Li + Roy Shan ++Rudi Heitbaum + Rui LIU + Rui Pinheiro + Rune Kleveland +@@ -2427,6 +2533,7 @@ RuurdBeerstra on github + rwmjones on github + Ryan Beck-Buysse + Ryan Braud ++Ryan Carsten Schmidt + Ryan Chan + Ryan Mast + Ryan Nelson +@@ -2448,6 +2555,7 @@ Salvador Dávila + Salvatore Sorrentino + Sam Deane + Sam Hurst ++Sam James + Sam Roth + Sam Schanken + Samanta Navarro +@@ -2477,11 +2585,15 @@ Saul good + Saurav Babu + sayrer on github + SBKarr on github ++Scarlett McAllister + Scott Bailey + Scott Barrett + Scott Cantor + Scott Davis + Scott McCreary ++Scott Mutter ++Scott Talbert ++sd0 on hackerone + Sean Boudreau + Sean Burford + Sean MacLennan +@@ -2491,6 +2603,7 @@ Sean Molenaar + Sebastiaan van Erk + Sebastian Haglund + Sebastian Mundry ++Sebastian Neubauer + Sebastian Pohlschmidt + Sebastian Rasmussen + Sebastian Sterk +@@ -2521,6 +2634,7 @@ SerusDev on github + Seshubabu Pasam + Seth Mos + Sevan Janiyan ++sfan5 on github + Sgharat on github + Sh Diao + Shachaf Ben-Kiki +@@ -2553,16 +2667,19 @@ Simon Chalifoux + Simon Dick + Simon H. + Simon Josefsson ++Simon K + Simon Legner + Simon Liu + Simon Warta + simplerobot on github + Siva Sivaraman + SLDiggie on github ++Smackd0wn + Smackd0wn on github + smuellerDD on github + sn on hackerone + sofaboss on github ++Sohom Datta + Somnath Kundu + Song Ma + Sonia Subramanian +@@ -2629,6 +2746,7 @@ Steve Marx + Steve Oliphant + Steve Roskowski + Steve Walch ++Steven Allen + Steven Bazyl + Steven G. Johnson + Steven Gu +@@ -2663,10 +2781,12 @@ T200proX7 on github + Tadej Vengust + Tae Hyoung Ahn + Taiyu Len ++Tal Regev + Taneli Vähäkangas + Tanguy Fautre + Taras Kushnir + tarek112 on github ++Tatsuhiko Miyagawa + Tatsuhiro Tsujikawa + tawmoto on github + tbugfinder on github +@@ -2679,6 +2799,7 @@ thanhchungbtc on github + The Infinnovation team + TheAssassin on github + TheKnarf on github ++Theo + Theodore Dubois + therealhirudo on github + Thiago Suchorski +@@ -2686,6 +2807,7 @@ tholin on github + Thomas Bouzerar + Thomas Braun + Thomas Danielsson ++Thomas Ferguson + Thomas Gamper + Thomas Glanzmann + Thomas Guillem +@@ -2695,6 +2817,7 @@ Thomas L. Shinnick + Thomas Lopatic + Thomas M. DuBuisson + Thomas Petazzoni ++Thomas Pyle + Thomas Ruecker + Thomas Schwinge + Thomas Taylor +@@ -2707,6 +2830,7 @@ Thorsten Klein + Thorsten Schöning + Tiit Pikma + Till Maas ++Till Wegmüller + Tim Ansell + Tim Baker + Tim Bartley +@@ -2714,6 +2838,7 @@ Tim Chen + Tim Costello + Tim Harder + Tim Heckman ++Tim Hill + Tim Mcdonough + Tim Newsome + Tim Rühsen +@@ -2793,6 +2918,7 @@ tonystz on Github + Toon Verwaest + Tor Arntsen + Torben Dannhauer ++Torben Dury + Torsten Foertsch + Toshio Kuratomi + Toshiyuki Maezawa +@@ -2809,6 +2935,7 @@ Tseng Jun + Tuomas Siipola + Tuomo Rinne + Tupone Alfredo ++Turiiya + Tyler Hall + Török Edwin + u20221022 on github +@@ -2874,6 +3001,7 @@ VojtÄ›ch Král + Volker Schmid + Vsevolod Novikov + vshmuk on hackerone ++vulnerabilityspotter on hackerone + vvb2060 + vvb2060 on github + Vyron Tsingaras +@@ -2907,6 +3035,7 @@ William A. Rowe Jr + William Ahern + William Desportes + William Tang ++Winni Neessen + wmsch on github + wncboy on github + Wojciech Zwiefka +@@ -2920,6 +3049,7 @@ x2018 on github + Xavier Bouchoux + XhmikosR on github + XhstormR on github ++Xi Ruoyao + Xiang Xiao + Xiangbin Li + xianghongai on github +@@ -2931,6 +3061,7 @@ xtonik on github + xwxbug on github + Xì Gà + Yaakov Selkowitz ++Yadhu Krishna M + Yair Lenga + Yang Tse + Yaobin Wen +@@ -2938,10 +3069,12 @@ Yarram Sunil + Yasuharu Yamada + Yasuhiro Matsumoto + Yechiel Kalmenson ++Yedaya Katsman + Yehezkel Horowitz + Yehoshua Hershberg + ygthien on github + Yi Huang ++Yifei Kong + Yiming Jing + Yingwei Liu + yiyuaner on github +@@ -2969,6 +3102,8 @@ Zachary Seguin + Zdenek Pavlas + Zekun Ni + zelinchen on github ++zengwei ++zengwei2000 + Zenju on github + Zero King + Zespre Schmidt +@@ -2976,6 +3111,7 @@ Zhang Xiuhua + zhanghu on xiaomi + Zhao Yisha + Zhaoyang Wu ++zhengqwe on github + Zhibiao Wu + zhihaoy on github + Zhouyihai Ding +diff --git a/docs/TODO b/docs/TODO +index f487f88..159e2e8 100644 +--- a/docs/TODO ++++ b/docs/TODO +@@ -20,7 +20,7 @@ + 1.1 TFO support on Windows + 1.2 Consult %APPDATA% also for .netrc + 1.3 struct lifreq +- 1.4 alt-svc sharing ++ 1.4 Better and more sharing + 1.5 get rid of PATH_MAX + 1.6 native IDN support on macOS + 1.8 CURLOPT_RESOLVE for any port number +@@ -122,9 +122,11 @@ + 13.8 Support DANE + 13.9 TLS record padding + 13.10 Support Authority Information Access certificate extension (AIA) ++ 13.11 Some TLS options are not offered for HTTPS proxies + 13.12 Reduce CA certificate bundle reparsing + 13.13 Make sure we forbid TLS 1.3 post-handshake authentication + 13.14 Support the clienthello extension ++ 13.15 Select signature algorithms + + 14. GnuTLS + 14.2 check connection +@@ -175,7 +177,6 @@ + 18.29 --retry and transfer timeouts + + 19. Build +- 19.1 roffit + 19.2 Enable PIE and RELRO by default + 19.3 Do not use GNU libtool on OpenBSD + 19.4 Package curl for Windows in a signed installer +@@ -195,6 +196,9 @@ + 21. MQTT + 21.1 Support rate-limiting + ++ 22. TFTP ++ 22.1 TFTP doesn't convert LF to CRLF for mode=netascii ++ + ============================================================================== + + 1. libcurl +@@ -884,6 +888,16 @@ + + See https://github.com/curl/curl/issues/2793 + ++13.11 Some TLS options are not offered for HTTPS proxies ++ ++ Some TLS related options to the command line tool and libcurl are only ++ provided for the server and not for HTTPS proxies. --proxy-tls-max, ++ --proxy-tlsv1.3, --proxy-curves and a few more. ++ For more Documentation on this see: ++ https://curl.se/libcurl/c/tls-options.html ++ ++ https://github.com/curl/curl/issues/12286 ++ + 13.12 Reduce CA certificate bundle reparsing + + When using the OpenSSL backend, curl will load and reparse the CA bundle at +@@ -910,6 +924,14 @@ + https://datatracker.ietf.org/doc/html/rfc7685 + https://github.com/curl/curl/issues/2299 + ++13.15 Select signature algorithms ++ ++ Consider adding an option or a way for users to select TLS signature ++ algorithm. The signature algorithms set by a client are used directly in the ++ supported signature algorithm in the client hello message. ++ ++ https://github.com/curl/curl/issues/12982 ++ + 14. GnuTLS + + 14.2 check connection +@@ -1104,7 +1126,7 @@ + slow, potentially with a (random) wait between transfers. There is also a + proposed set of standard HTTP headers to let servers let the client adapt to + its rate limits: +- https://www.ietf.org/id/draft-polli-ratelimit-headers-02.html ++ https://datatracker.ietf.org/doc/draft-ietf-httpapi-ratelimit-headers/ + + See https://github.com/curl/curl/issues/5406 + +@@ -1268,14 +1290,8 @@ + https://qa.mandriva.com/show_bug.cgi?id=22565 + + +- + 19. Build + +-19.1 roffit +- +- Consider extending 'roffit' to produce decent ASCII output, and use that +- instead of (g)nroff when building src/tool_hugehelp.c +- + 19.2 Enable PIE and RELRO by default + + Especially when having programs that execute curl via the command line, PIE +@@ -1383,3 +1399,14 @@ + + The rate-limiting logic is done in the PERFORMING state in multi.c but MQTT + is not (yet) implemented to use that. ++ ++22. TFTP ++ ++22.1 TFTP doesn't convert LF to CRLF for mode=netascii ++ ++ RFC 3617 defines that an TFTP transfer can be done using "netascii" ++ mode. curl does not support extracting that mode from the URL nor does it treat ++ such transfers specifically. It should probably do LF to CRLF translations ++ for them. ++ ++ See https://github.com/curl/curl/issues/12655 +diff --git a/docs/TheArtOfHttpScripting.md b/docs/TheArtOfHttpScripting.md +index 43f13e2..4e111a3 100644 +--- a/docs/TheArtOfHttpScripting.md ++++ b/docs/TheArtOfHttpScripting.md +@@ -10,10 +10,9 @@ + web servers are all important tasks today. + + Curl is a command line tool for doing all sorts of URL manipulations and +- transfers, but this particular document will focus on how to use it when +- doing HTTP requests for fun and profit. This documents assumes that you know +- how to invoke `curl --help` or `curl --manual` to get basic information about +- it. ++ transfers, but this particular document focuses on how to use it when doing ++ HTTP requests for fun and profit. This documents assumes that you know how to ++ invoke `curl --help` or `curl --manual` to get basic information about it. + + Curl is not written to do everything for you. It makes the requests, it gets + the data, it sends data and it retrieves the information. You probably need +@@ -24,8 +23,8 @@ + + HTTP is the protocol used to fetch data from web servers. It is a simple + protocol that is built upon TCP/IP. The protocol also allows information to +- get sent to the server from the client using a few different methods, as will +- be shown here. ++ get sent to the server from the client using a few different methods, as is ++ shown here. + + HTTP is plain ASCII text lines being sent by the client to a server to + request a particular action, and then the server replies a few text lines +@@ -39,9 +38,9 @@ + + ## See the Protocol + +- Using curl's option [`--verbose`](https://curl.se/docs/manpage.html#-v) +- (`-v` as a short option) will display what kind of commands curl sends to the +- server, as well as a few other informational texts. ++ Using curl's option [`--verbose`](https://curl.se/docs/manpage.html#-v) (`-v` ++ as a short option) displays what kind of commands curl sends to the server, ++ as well as a few other informational texts. + + `--verbose` is the single most useful option when it comes to debug or even + understand the curl<->server interaction. +@@ -59,19 +58,19 @@ + Many times you may wonder what exactly is taking all the time, or you just + want to know the amount of milliseconds between two points in a transfer. For + those, and other similar situations, the +- [`--trace-time`](https://curl.se/docs/manpage.html#--trace-time) option +- is what you need. It will prepend the time to each trace output line: ++ [`--trace-time`](https://curl.se/docs/manpage.html#--trace-time) option is ++ what you need. It prepends the time to each trace output line: + + curl --trace-ascii d.txt --trace-time http://example.com/ + + ## See which Transfer + +- When doing parallel transfers, it is relevant to see which transfer is +- doing what. When response headers are received (and logged) you need to +- know which transfer these are for. +- [`--trace-ids`](https://curl.se/docs/manpage.html#--trace-ids) option +- is what you need. It will prepend the transfer and connection identifier +- to each trace output line: ++ When doing parallel transfers, it is relevant to see which transfer is doing ++ what. When response headers are received (and logged) you need to know which ++ transfer these are for. ++ [`--trace-ids`](https://curl.se/docs/manpage.html#--trace-ids) option is what ++ you need. It prepends the transfer and connection identifier to each trace ++ output line: + + curl --trace-ascii d.txt --trace-ids http://example.com/ + +@@ -87,16 +86,16 @@ + The Uniform Resource Locator format is how you specify the address of a + particular resource on the Internet. You know these, you have seen URLs like + https://curl.se or https://example.com a million times. RFC 3986 is the +- canonical spec. And yeah, the formal name is not URL, it is URI. ++ canonical spec. The formal name is not URL, it is **URI**. + + ## Host + +- The host name is usually resolved using DNS or your /etc/hosts file to an IP +- address and that is what curl will communicate with. Alternatively you specify ++ The hostname is usually resolved using DNS or your /etc/hosts file to an IP ++ address and that is what curl communicates with. Alternatively you specify + the IP address directly in the URL instead of a name. + + For development and other trying out situations, you can point to a different +- IP address for a host name than what would otherwise be used, by using curl's ++ IP address for a hostname than what would otherwise be used, by using curl's + [`--resolve`](https://curl.se/docs/manpage.html#--resolve) option: + + curl --resolve www.example.org:80:127.0.0.1 http://www.example.org/ +@@ -107,7 +106,7 @@ + or in some cases UDP. Normally you do not have to take that into + consideration, but at times you run test servers on other ports or + similar. Then you can specify the port number in the URL with a colon and a +- number immediately following the host name. Like when doing HTTP to port ++ number immediately following the hostname. Like when doing HTTP to port + 1234: + + curl http://www.example.org:1234/ +@@ -119,7 +118,7 @@ + + curl --proxy http://proxy.example.org:4321 http://remote.example.org/ + +-## User name and password ++## Username and password + + Some services are setup to require HTTP authentication and then you need to + provide name and password which is then transferred to the remote site in +@@ -142,20 +141,20 @@ + + The path part is just sent off to the server to request that it sends back + the associated response. The path is what is to the right side of the slash +- that follows the host name and possibly port number. ++ that follows the hostname and possibly port number. + + # Fetch a page + + ## GET + + The simplest and most common request/operation made using HTTP is to GET a +- URL. The URL could itself refer to a web page, an image or a file. The client ++ URL. The URL could itself refer to a webpage, an image or a file. The client + issues a GET request to the server and receives the document it asked for. + If you issue the command line + + curl https://curl.se + +- you get a web page returned in your terminal window. The entire HTML document ++ you get a webpage returned in your terminal window. The entire HTML document + that that URL holds. + + All HTTP replies contain a set of response headers that are normally hidden, +@@ -165,9 +164,9 @@ + ## HEAD + + You can ask the remote server for ONLY the headers by using the +- [`--head`](https://curl.se/docs/manpage.html#-I) (`-I`) option which +- will make curl issue a HEAD request. In some special cases servers deny the +- HEAD method while others still work, which is a particular kind of annoyance. ++ [`--head`](https://curl.se/docs/manpage.html#-I) (`-I`) option which makes ++ curl issue a HEAD request. In some special cases servers deny the HEAD method ++ while others still work, which is a particular kind of annoyance. + + The HEAD method is defined and made so that the server returns the headers + exactly the way it would do for a GET, but without a body. It means that you +@@ -177,9 +176,9 @@ + ## Multiple URLs in a single command line + + A single curl command line may involve one or many URLs. The most common case +- is probably to just use one, but you can specify any amount of URLs. Yes +- any. No limits. You will then get requests repeated over and over for all the +- given URLs. ++ is probably to just use one, but you can specify any amount of URLs. Yes any. ++ No limits. You then get requests repeated over and over for all the given ++ URLs. + + Example, send two GET requests: + +@@ -197,14 +196,14 @@ + ## Multiple HTTP methods in a single command line + + Sometimes you need to operate on several URLs in a single command line and do +- different HTTP methods on each. For this, you will enjoy the +- [`--next`](https://curl.se/docs/manpage.html#-:) option. It is basically +- a separator that separates a bunch of options from the next. All the URLs +- before `--next` will get the same method and will get all the POST data +- merged into one. ++ different HTTP methods on each. For this, you might enjoy the ++ [`--next`](https://curl.se/docs/manpage.html#-:) option. It is basically a ++ separator that separates a bunch of options from the next. All the URLs ++ before `--next` get the same method and get all the POST data merged into ++ one. + +- When curl reaches the `--next` on the command line, it will sort of reset the +- method and the POST data and allow a new set. ++ When curl reaches the `--next` on the command line, it resets the method and ++ the POST data and allow a new set. + + Perhaps this is best shown with a few examples. To send first a HEAD and then + a GET: +@@ -241,14 +240,14 @@ + + ``` + +- In your favorite browser, this form will appear with a text box to fill in +- and a press-button labeled "OK". If you fill in '1905' and press the OK +- button, your browser will then create a new URL to get for you. The URL will +- get `junk.cgi?birthyear=1905&press=OK` appended to the path part of the +- previous URL. ++ In your favorite browser, this form appears with a text box to fill in and a ++ press-button labeled "OK". If you fill in '1905' and press the OK button, ++ your browser then creates a new URL to get for you. The URL gets ++ `junk.cgi?birthyear=1905&press=OK` appended to the path part of the previous ++ URL. + + If the original form was seen on the page `www.example.com/when/birth.html`, +- the second page you will get will become ++ the second page you get becomes + `www.example.com/when/junk.cgi?birthyear=1905&press=OK`. + + Most search engines work this way. +@@ -267,7 +266,7 @@ + amount of fields creating a long and unreadable URL. + + The HTTP protocol then offers the POST method. This way the client sends the +- data separated from the URL and thus you will not see any of it in the URL ++ data separated from the URL and thus you do not see any of it in the URL + address field. + + The form would look similar to the previous one: +@@ -284,21 +283,20 @@ + + curl --data "birthyear=1905&press=%20OK%20" http://www.example.com/when/junk.cgi + +- This kind of POST will use the Content-Type +- `application/x-www-form-urlencoded` and is the most widely used POST kind. ++ This kind of POST uses the Content-Type `application/x-www-form-urlencoded` ++ and is the most widely used POST kind. + +- The data you send to the server MUST already be properly encoded, curl will ++ The data you send to the server MUST already be properly encoded, curl does + not do that for you. For example, if you want the data to contain a space, +- you need to replace that space with `%20`, etc. Failing to comply with this will +- most likely cause your data to be received wrongly and messed up. ++ you need to replace that space with `%20`, etc. Failing to comply with this ++ most likely causes your data to be received wrongly and messed up. + + Recent curl versions can in fact url-encode POST data for you, like this: + + curl --data-urlencode "name=I am Daniel" http://www.example.com + +- If you repeat `--data` several times on the command line, curl will +- concatenate all the given data pieces - and put a `&` symbol between each +- data segment. ++ If you repeat `--data` several times on the command line, curl concatenates ++ all the given data pieces - and put a `&` symbol between each data segment. + + ## File Upload POST + +@@ -309,12 +307,10 @@ + This method is mainly designed to better support file uploads. A form that + allows a user to upload a file could be written like this in HTML: + +-```html +-
+- +- +-
+-``` ++
++ ++ ++
+ + This clearly shows that the Content-Type about to be sent is + `multipart/form-data`. +@@ -341,7 +337,7 @@ + + ``` + +- To POST this with curl, you will not have to think about if the fields are ++ To POST this with curl, you do not have to think about if the fields are + hidden or not. To curl they are all the same: + + curl --data "birthyear=1905&press=OK&person=daniel" [URL] +@@ -356,7 +352,7 @@ + your local disk, modify the 'method' to a GET, and press the submit button + (you could also change the action URL if you want to). + +- You will then clearly see the data get appended to the URL, separated with a ++ You then clearly see the data get appended to the URL, separated with a + `?`-letter as GET forms are supposed to. + + # HTTP upload +@@ -411,7 +407,7 @@ + [`--proxy-digest`](https://curl.se/docs/manpage.html#--proxy-digest). + + If you use any one of these user+password options but leave out the password +- part, curl will prompt for the password interactively. ++ part, curl prompts for the password interactively. + + ## Hiding credentials + +@@ -421,7 +417,7 @@ + options. There are ways to circumvent this. + + It is worth noting that while this is how HTTP Authentication works, many +- websites will not use this concept when they provide logins etc. See the Web ++ websites do not use this concept when they provide logins etc. See the Web + Login chapter further below for more details on that. + + # More HTTP Headers +@@ -449,10 +445,10 @@ + make them look the best possible for their particular browsers. They usually + also do different kinds of JavaScript etc. + +- At times, you will see that getting a page with curl will not return the same +- page that you see when getting the page with your browser. Then you know it +- is time to set the User Agent field to fool the server into thinking you are +- one of those browsers. ++ At times, you may learn that getting a page with curl does not return the ++ same page that you see when getting the page with your browser. Then you know ++ it is time to set the User Agent field to fool the server into thinking you ++ are one of those browsers. + + To make curl look like Internet Explorer 5 on a Windows 2000 box: + +@@ -471,20 +467,18 @@ + new page keeping newly generated output. The header that tells the browser to + redirect is `Location:`. + +- Curl does not follow `Location:` headers by default, but will simply display +- such pages in the same manner it displays all HTTP replies. It does however +- feature an option that will make it attempt to follow the `Location:` +- pointers. ++ Curl does not follow `Location:` headers by default, but simply displays such ++ pages in the same manner it displays all HTTP replies. It does however ++ feature an option that makes it attempt to follow the `Location:` pointers. + + To tell curl to follow a Location: + + curl --location http://www.example.com + + If you use curl to POST to a site that immediately redirects you to another +- page, you can safely use +- [`--location`](https://curl.se/docs/manpage.html#-L) (`-L`) and +- `--data`/`--form` together. Curl will only use POST in the first request, and +- then revert to GET in the following operations. ++ page, you can safely use [`--location`](https://curl.se/docs/manpage.html#-L) ++ (`-L`) and `--data`/`--form` together. Curl only uses POST in the first ++ request, and then revert to GET in the following operations. + + ## Other redirects + +@@ -500,7 +494,7 @@ + The way the web browsers do "client side state control" is by using + cookies. Cookies are just names with associated contents. The cookies are + sent to the client by the server. The server tells the client for what path +- and host name it wants the cookie sent back, and it also sends an expiration ++ and hostname it wants the cookie sent back, and it also sends an expiration + date and a few more properties. + + When a client communicates with a server with a name and path as previously +@@ -551,7 +545,7 @@ + format that Netscape and Mozilla once used. It is a convenient way to share + cookies between scripts or invokes. The `--cookie` (`-b`) switch + automatically detects if a given file is such a cookie file and parses it, +- and by using the `--cookie-jar` (`-c`) option you will make curl write a new ++ and by using the `--cookie-jar` (`-c`) option you make curl write a new + cookie file at the end of an operation: + + curl --cookie cookies.txt --cookie-jar newcookies.txt \ +@@ -570,7 +564,7 @@ + advanced features to do secure transfers over HTTP. + + Curl supports encrypted fetches when built to use a TLS library and it can be +- built to use one out of a fairly large set of libraries - `curl -V` will show ++ built to use one out of a fairly large set of libraries - `curl -V` shows + which one your curl was built to use (if any!). To get a page from an HTTPS + server, simply run curl like: + +@@ -588,11 +582,10 @@ + curl --cert mycert.pem https://secure.example.com + + curl also tries to verify that the server is who it claims to be, by +- verifying the server's certificate against a locally stored CA cert +- bundle. Failing the verification will cause curl to deny the connection. You +- must then use [`--insecure`](https://curl.se/docs/manpage.html#-k) +- (`-k`) in case you want to tell curl to ignore that the server cannot be +- verified. ++ verifying the server's certificate against a locally stored CA cert bundle. ++ Failing the verification causes curl to deny the connection. You must then ++ use [`--insecure`](https://curl.se/docs/manpage.html#-k) (`-k`) in case you ++ want to tell curl to ignore that the server cannot be verified. + + More about server certificate verification and ca cert bundles can be read in + the [`SSLCERTS` document](https://curl.se/docs/sslcerts.html). +@@ -629,19 +622,18 @@ + ## More on changed methods + + It should be noted that curl selects which methods to use on its own +- depending on what action to ask for. `-d` will do POST, `-I` will do HEAD and +- so on. If you use the +- [`--request`](https://curl.se/docs/manpage.html#-X) / `-X` option you +- can change the method keyword curl selects, but you will not modify curl's +- behavior. This means that if you for example use -d "data" to do a POST, you +- can modify the method to a `PROPFIND` with `-X` and curl will still think it +- sends a POST . You can change the normal GET to a POST method by simply +- adding `-X POST` in a command line like: ++ depending on what action to ask for. `-d` makes a POST, `-I` makes a HEAD and ++ so on. If you use the [`--request`](https://curl.se/docs/manpage.html#-X) / ++ `-X` option you can change the method keyword curl selects, but you do not ++ modify curl's behavior. This means that if you for example use -d "data" to ++ do a POST, you can modify the method to a `PROPFIND` with `-X` and curl still ++ thinks it sends a POST. You can change the normal GET to a POST method by ++ simply adding `-X POST` in a command line like: + + curl -X POST http://example.org/ + +- ... but curl will still think and act as if it sent a GET so it will not send +- any request body etc. ++ curl however still acts as if it sent a GET so it does not send any request ++ body etc. + + # Web Login + +@@ -652,13 +644,13 @@ + login forms work and how to login to them using curl. + + It can also be noted that to do this properly in an automated fashion, you +- will most certainly need to script things and do multiple curl invokes etc. ++ most certainly need to script things and do multiple curl invokes etc. + + First, servers mostly use cookies to track the logged-in status of the +- client, so you will need to capture the cookies you receive in the +- responses. Then, many sites also set a special cookie on the login page (to +- make sure you got there through their login page) so you should make a habit +- of first getting the login-form page to capture the cookies set there. ++ client, so you need to capture the cookies you receive in the responses. ++ Then, many sites also set a special cookie on the login page (to make sure ++ you got there through their login page) so you should make a habit of first ++ getting the login-form page to capture the cookies set there. + + Some web-based login systems feature various amounts of JavaScript, and + sometimes they use such code to set or modify cookie contents. Possibly they +@@ -678,7 +670,7 @@ + + ## Some debug tricks + +- Many times when you run curl on a site, you will notice that the site does not ++ Many times when you run curl on a site, you notice that the site does not + seem to respond the same way to your curl requests as it does to your + browser's. + +diff --git a/docs/URL-SYNTAX.md b/docs/URL-SYNTAX.md +index ddd9945..67f9bdb 100644 +--- a/docs/URL-SYNTAX.md ++++ b/docs/URL-SYNTAX.md +@@ -28,10 +28,10 @@ Due to the inherent differences between URL parser implementations, it is + considered a security risk to mix different implementations and assume the + same behavior! + +-For example, if you use one parser to check if a URL uses a good host name or ++For example, if you use one parser to check if a URL uses a good hostname or + the correct auth field, and then pass on that same URL to a *second* parser, +-there will always be a risk it treats the same URL differently. There is no +-right and wrong in URL land, only differences of opinions. ++there is always a risk it treats the same URL differently. There is no right ++and wrong in URL land, only differences of opinions. + + libcurl offers a separate API to its URL parser for this reason, among others. + +@@ -55,8 +55,8 @@ security concerns: + ## "RFC 3986 plus" + + curl recognizes a URL syntax that we call "RFC 3986 plus". It is grounded on +-the well established RFC 3986 to make sure previously written command lines and +-curl using scripts will remain working. ++the well established RFC 3986 to make sure previously written command lines ++and curl using scripts remain working. + + curl's URL parser allows a few deviations from the spec in order to + inter-operate better with URLs that appear in the wild. +@@ -92,8 +92,7 @@ curl supports "URLs" that do not start with a scheme. This is not supported by + any of the specifications. This is a shortcut to entering URLs that was + supported by browsers early on and has been mimicked by curl. + +-Based on what the host name starts with, curl will "guess" what protocol to +-use: ++Based on what the hostname starts with, curl "guesses" what protocol to use: + + - `ftp.` means FTP + - `dict.` means DICT +@@ -147,7 +146,7 @@ schemes: + + ## Userinfo + +-The userinfo field can be used to set user name and password for ++The userinfo field can be used to set username and password for + authentication purposes in this transfer. The use of this field is discouraged + since it often means passing around the password in plain text and is thus a + security risk. +@@ -184,7 +183,7 @@ machine. + ### IDNA + + If curl was built with International Domain Name (IDN) support, it can also +-handle host names using non-ASCII characters. ++handle hostnames using non-ASCII characters. + + When built with libidn2, curl uses the IDNA 2008 standard. This is equivalent + to the WHATWG URL spec, but differs from certain browsers that use IDNA 2003 +@@ -201,8 +200,8 @@ If there is a colon after the hostname, that should be followed by the port + number to use. 1 - 65535. curl also supports a blank port number field - but + only if the URL starts with a scheme. + +-If the port number is not specified in the URL, curl will used a default port +-based on the provide scheme: ++If the port number is not specified in the URL, curl uses a default port ++number based on the provide scheme: + + DICT 2628, FTP 21, FTPS 990, GOPHER 70, GOPHERS 70, HTTP 80, HTTPS 443, + IMAP 132, IMAPS 993, LDAP 369, LDAPS 636, MQTT 1883, POP3 110, POP3S 995, +@@ -216,7 +215,7 @@ SMTP 25, SMTPS 465, TELNET 23, TFTP 69 + The path part of an FTP request specifies the file to retrieve and from which + directory. If the file part is omitted then libcurl downloads the directory + listing for the directory specified. If the directory is omitted then the +-directory listing for the root / home directory will be returned. ++directory listing for the root / home directory is returned. + + FTP servers typically put the user in its "home directory" after login, which + then differs between users. To explicitly specify the root directory of an FTP +@@ -231,14 +230,14 @@ to read or write such a path. + + curl only allows the hostname part of a FILE URL to be one out of these three + alternatives: `localhost`, `127.0.0.1` or blank ("", zero characters). +-Anything else will make curl fail to parse the URL. ++Anything else makes curl fail to parse the URL. + + ### Windows-specific FILE details + + curl accepts that the FILE URL's path starts with a "drive letter". That is a + single letter `a` to `z` followed by a colon or a pipe character (`|`). + +-The Windows operating system itself will convert some file accesses to perform ++The Windows operating system itself converts some file accesses to perform + network accesses over SMB/CIFS, through several different file path patterns. + This way, a `file://` URL passed to curl *might* be converted into a network + access inadvertently and unknowingly to curl. This is a Windows feature curl +@@ -321,7 +320,7 @@ Search for the `DN` as `My Organization`: + + ldap://ldap.example.com/o=My%20Organization + +-the same search but will only return `postalAddress` attributes: ++the same search but only return `postalAddress` attributes: + + ldap://ldap.example.com/o=My%20Organization?postalAddress + +@@ -352,12 +351,12 @@ To specify a path relative to the user's home directory on the server, prepend + The path part of an SFTP URL specifies the file to retrieve or upload. If the + path ends with a slash (`/`) then a directory listing is returned instead of a + file. If the path is omitted entirely then the directory listing for the root +-/ home directory will be returned. ++/ home directory is returned. + + ## SMB + The path part of a SMB request specifies the file to retrieve and from what + share and directory or the share to upload to and as such, may not be omitted. +-If the user name is embedded in the URL then it must contain the domain name ++If the username is embedded in the URL then it must contain the domain name + and as such, the backslash must be URL encoded as %2f. + + When uploading to SMB, the size of the file needs to be known ahead of time, +@@ -367,9 +366,9 @@ curl supports SMB version 1 (only) + + ## SMTP + +-The path part of a SMTP request specifies the host name to present during +-communication with the mail server. If the path is omitted, then libcurl will +-attempt to resolve the local computer's host name. However, this may not ++The path part of a SMTP request specifies the hostname to present during ++communication with the mail server. If the path is omitted, then libcurl ++attempts to resolve the local computer's hostname. However, this may not + return the fully qualified domain name that is required by some mail servers + and specifying this path allows you to set an alternative name, such as your + machine's fully qualified domain name, which you might have obtained from an +@@ -385,7 +384,6 @@ traditional URL, followed by a space and a series of space-separated + `name=value` pairs. + + While space is not typically a "legal" letter, libcurl accepts them. When a +-user wants to pass in a `#` (hash) character it will be treated as a fragment +-and get cut off by libcurl if provided literally. You will instead have to +-escape it by providing it as backslash and its ASCII value in hexadecimal: +-`\23`. ++user wants to pass in a `#` (hash) character it is treated as a fragment and ++it gets cut off by libcurl if provided literally. You have to escape it by ++providing it as backslash and its ASCII value in hexadecimal: `\23`. +diff --git a/docs/VERSIONS.md b/docs/VERSIONS.md +index 0ec9cd5..fc21749 100644 +--- a/docs/VERSIONS.md ++++ b/docs/VERSIONS.md +@@ -14,11 +14,11 @@ Version Numbers and Releases + + ## Bumping numbers + +- One of these numbers will get bumped in each new release. The numbers to the +- right of a bumped number will be reset to zero. ++ One of these numbers get bumped in each new release. The numbers to the right ++ of a bumped number are reset to zero. + +- The main version number will get bumped when *really* big, world colliding +- changes are made. The release number is bumped when changes are performed or ++ The main version number is bumped when *really* big, world colliding changes ++ are made. The release number is bumped when changes are performed or + things/features are added. The patch number is bumped when the changes are + mere bugfixes. + +diff --git a/docs/VULN-DISCLOSURE-POLICY.md b/docs/VULN-DISCLOSURE-POLICY.md +index 3ce2203..f18db6d 100644 +--- a/docs/VULN-DISCLOSURE-POLICY.md ++++ b/docs/VULN-DISCLOSURE-POLICY.md +@@ -17,8 +17,8 @@ The typical process for handling a new security vulnerability is as follows. + + No information should be made public about a vulnerability until it is + formally announced at the end of this process. That means, for example, that a +-bug tracker entry must NOT be created to track the issue since that will make +-the issue public and it should not be discussed on any of the project's public ++bug tracker entry must NOT be created to track the issue since that makes the ++issue public and it should not be discussed on any of the project's public + mailing lists. Messages associated with any commits should not make any + reference to the security nature of the commit if done prior to the public + announcement. +@@ -59,8 +59,8 @@ announcement. + [SECURITY-ADVISORY](https://curl.se/dev/advisory.html) for help on creating + the advisory. + +-- Request a CVE number from +- [HackerOne](https://docs.hackerone.com/programs/cve-requests.html) ++- Request a CVE Id for the issue. curl is a CNA (CVE Numbering Authority) and ++ can request its own numbers. + + - Update the "security advisory" with the CVE number. + +@@ -93,7 +93,7 @@ announcement. + the same manner we always announce releases. It gets sent to the + curl-announce, curl-library and curl-users mailing lists. + +-- The security web page on the website should get the new vulnerability ++- The security webpage on the website should get the new vulnerability + mentioned. + + ## security (at curl dot se) +@@ -109,7 +109,7 @@ its way of working. You must have been around for a good while and you should + have no plans of vanishing in the near future. + + We do not make the list of participants public mostly because it tends to vary +-somewhat over time and a list somewhere will only risk getting outdated. ++somewhat over time and a list somewhere only risks getting outdated. + + ## Publishing Security Advisories + +@@ -256,8 +256,8 @@ data. We consider this functionality a best-effort and omissions are not + security vulnerabilities. + + - not all systems allow the arguments to be blanked in the first place +- - since curl blanks the argument itself they will be readable for a short +- moment no matter what ++ - since curl blanks the argument itself they area readable for a short moment ++ no matter what + - virtually every argument can contain sensitive data, depending on use + - blanking all arguments would make it impractical for users to differentiate + curl command lines in process listings +@@ -283,3 +283,12 @@ and if an attacker can trick the user to run a specifically crafted curl + command line, all bets are off. Such an attacker can just as well have the + user run a much worse command that can do something fatal (like + `sudo rm -rf /`). ++ ++## Terminal output and escape sequences ++ ++Content that is transferred from a server and gets displayed in a terminal by ++curl may contain escape sequences or use other tricks to fool the user. This ++is curl working as designed and is not a curl security problem. Escape ++sequences, moving cursor, changing color etc, is also frequently used for ++good. To reduce the risk of getting fooled, save files and browse them after ++download using a display method that minimizes risks. +diff --git a/docs/WEBSOCKET.md b/docs/WEBSOCKET.md +index ba84c22..14caec2 100644 +--- a/docs/WEBSOCKET.md ++++ b/docs/WEBSOCKET.md +@@ -13,8 +13,7 @@ using the `ws://` or `wss://` URL schemes. The latter one being the secure + version done over HTTPS. + + When using `wss://` to do WebSocket over HTTPS, the standard TLS and HTTPS +-options will be acknowledged for the CA, verification of server certificate +-etc. ++options are acknowledged for the CA, verification of server certificate etc. + + WebSocket communication is done by upgrading a connection from either HTTP or + HTTPS. When given a WebSocket URL to work with, libcurl considers it a +@@ -64,7 +63,7 @@ directions. + + If the given WebSocket URL (using `ws://` or `wss://`) fails to get upgraded + via a 101 response code and instead gets another response code back from the +-HTTP server - the transfer will return `CURLE_HTTP_RETURNED_ERROR` for that ++HTTP server - the transfer returns `CURLE_HTTP_RETURNED_ERROR` for that + transfer. Note then that even 2xx response codes are then considered error + since it failed to provide a WebSocket transfer. + +@@ -109,10 +108,9 @@ Ideas: + + ## Why not libWebSocket + +-[libWebSocket](https://libWebSockets.org/) is said to be a solid, fast and +-efficient WebSocket library with a vast amount of users. My plan was +-originally to build upon it to skip having to implement the low level parts of +-WebSocket myself. ++libWebSocket is said to be a solid, fast and efficient WebSocket library with ++a vast amount of users. My plan was originally to build upon it to skip having ++to implement the low level parts of WebSocket myself. + + Here are the reasons why I have decided to move forward with WebSocket in + curl **without using libWebSocket**: +diff --git a/docs/cmdline-opts/CMakeLists.txt b/docs/cmdline-opts/CMakeLists.txt +index 3dd8be4..99ec66c 100644 +--- a/docs/cmdline-opts/CMakeLists.txt ++++ b/docs/cmdline-opts/CMakeLists.txt +@@ -21,15 +21,19 @@ + # SPDX-License-Identifier: curl + # + ########################################################################### +-set(MANPAGE "${CURL_BINARY_DIR}/docs/curl.1") ++set(MANPAGE "${CURL_BINARY_DIR}/docs/cmdline-opts/curl.1") ++set(ASCIIPAGE "${CURL_BINARY_DIR}/docs/cmdline-opts/curl.txt") + + # Load DPAGES and OTHERPAGES from shared file + transform_makefile_inc("Makefile.inc" "${CMAKE_CURRENT_BINARY_DIR}/Makefile.inc.cmake") + include("${CMAKE_CURRENT_BINARY_DIR}/Makefile.inc.cmake") + + add_custom_command(OUTPUT "${MANPAGE}" +- COMMAND "${PERL_EXECUTABLE}" "${CMAKE_CURRENT_SOURCE_DIR}/gen.pl" mainpage "${CMAKE_CURRENT_SOURCE_DIR}" > "${MANPAGE}" +- DEPENDS ${DPAGES} ${OTHERPAGES} ++ COMMAND cd ${CMAKE_CURRENT_SOURCE_DIR} && "${PERL_EXECUTABLE}" ${PROJECT_SOURCE_DIR}/scripts/managen mainpage ${DPAGES} > "${MANPAGE}" ++ COMMAND cd ${CMAKE_CURRENT_SOURCE_DIR} && "${PERL_EXECUTABLE}" ${PROJECT_SOURCE_DIR}/scripts/managen ascii ${DPAGES} > "${ASCIIPAGE}" + VERBATIM + ) +-add_custom_target(generate-curl.1 DEPENDS "${MANPAGE}") ++add_custom_target(generate-curl.1 ALL DEPENDS "${MANPAGE}") ++if(NOT CURL_DISABLE_INSTALL) ++ install(FILES "${MANPAGE}" DESTINATION ${CMAKE_INSTALL_MANDIR}/man1) ++endif() +diff --git a/docs/cmdline-opts/MANPAGE.md b/docs/cmdline-opts/MANPAGE.md +index 6de32da..1f9749b 100644 +--- a/docs/cmdline-opts/MANPAGE.md ++++ b/docs/cmdline-opts/MANPAGE.md +@@ -6,27 +6,41 @@ + + # curl man page generator + +-This is the curl man page generator. It generates a single nroff man page ++`managen` is the curl man page generator. It generates a single nroff man page + output from the set of sources files in this directory. + +-There is one source file for each supported command line option. The output +-gets `page-header` prepended and `page-footer` appended. The format is +-described below. ++The `mainpage.idx` file lists all files that are rendered in that order to ++produce the output. The magic `%options` keyword inserts all command line ++options documented. ++ ++The `%options` documentation is created with one source file for each ++supported command line option. ++ ++The documentation file format is described below. It is meant to look similar ++to markdown which is why it uses `.md` file extensions. + + ## Option files + + Each command line option is described in a file named `.d`, where +-option name is written without any prefixing dashes. Like the file name for +-the -v, --verbose option is named `verbose.d`. ++option name is written without any prefixing dashes. Like the filename for the ++`-v, --verbose` option is named `verbose.d`. ++ ++Each file has a set of meta-data in the top of the file, followed by a body of ++text. ++ ++The documentation files that do not document options have no meta-data part. + +-Each file has a set of meta-data and a body of text. ++A line that starts with ``. + + ### Meta-data + ++ --- (start of meta-data) + Added: (version number in which this was added) + Arg: (the argument the option takes) + c: (copyright line) +- Example: (example command line, without "curl" and can use `$URL`) ++ Example: ++ - (an example command line, without "curl" and can use `$URL`) ++ - (another example) + Experimental: yes (if so) + Help: (short text for the --help output for this option) + Long: (long form name, without dashes) +@@ -36,7 +50,9 @@ Each file has a set of meta-data and a body of text. + Protocols: (space separated list for which protocols this option works) + Requires: (space separated list of features this requires, no dashes) + Scope: global (if the option is global) +- See-also: (space separated list of related options, no dashes) ++ See-also: ++ - (a related option, no dashes) ++ - (another related option, no dashes) + Short: (single letter, without dash) + SPDX-License-Identifier: curl + Tags: (space separated list) +@@ -54,20 +70,49 @@ Text written within `*asterisks*` is shown using italics. Text within two + Text that is prefixed with a space is treated like an "example" and gets + output in monospace. + +-## Header and footer ++Within the body, describe a list of items like this: ++ ++ ## item 1 ++ description ++ ++ ## item 2 ++ second description ++ ++The list is automatically terminated at end of file, or you can do it ++explicitly with an empty "header": + +-`page-header` is the file that is output before the generated options output +-for the master man page. ++ ## + +-`page-footer` is appended after all the individual options. ++Angle brackets (`<>`) need to be escaped when used in text like `\<` and ++`\>`. This, to ensure that the text renders nicely as markdown. ++ ++### Headers ++ ++The `#` header can be used by non-option files and it produces a ++`.SH` output. ++ ++If the `#` header is used for a command line option file, that header is ++simply ignored in the generated output. It can still serve a purpose in the ++source file as it helps the user identify what option the file is for. ++ ++### Variables ++ ++There are three different "variables" that can be used when creating the ++output. They need to be written within backticks in the source file (to escape ++getting spellchecked by CI jobs): `%DATE`, `%VERSION` and `%GLOBALS`. + + ## Generate + +-`./gen.pl mainpage` ++`managen mainpage [list of markdown option file names]` + + This command outputs a single huge nroff file, meant to become `curl.1`. The + full curl man page. + +-`./gen.pl listhelp` ++`managen ascii [list of markdown option file names]` ++ ++This command outputs a single text file, meant to become `curl.txt`. The full ++curl man page in text format, used to build `tool_hugehelp.c`. ++ ++`managen listhelp` + + Generates a full `curl --help` output for all known command line options. +diff --git a/docs/cmdline-opts/Makefile.am b/docs/cmdline-opts/Makefile.am +index 5a8996b..81a4afe 100644 +--- a/docs/cmdline-opts/Makefile.am ++++ b/docs/cmdline-opts/Makefile.am +@@ -24,18 +24,37 @@ + + AUTOMAKE_OPTIONS = foreign no-dependencies + +-MANPAGE = $(top_builddir)/docs/curl.1 ++MANPAGE = curl.1 ++ASCIIPAGE = curl.txt ++ ++man_MANS = $(MANPAGE) + + include Makefile.inc + +-EXTRA_DIST = $(DPAGES) MANPAGE.md gen.pl $(OTHERPAGES) CMakeLists.txt ++EXTRA_DIST = $(DPAGES) MANPAGE.md $(SUPPORT) CMakeLists.txt mainpage.idx + + GEN = $(GN_$(V)) + GN_0 = @echo " GENERATE" $@; + GN_1 = + GN_ = $(GN_0) + +-all: $(MANPAGE) ++MANAGEN=$(abs_top_srcdir)/scripts/managen ++ ++if BUILD_DOCS ++CLEANFILES = $(MANPAGE) $(ASCIIPAGE) ++ ++all: $(MANPAGE) $(ASCIIPAGE) ++ ++endif ++ ++$(MANPAGE): $(DPAGES) $(SUPPORT) mainpage.idx Makefile.inc $(MANAGEN) ++ $(GEN)(rm -f $(MANPAGE) && (cd $(srcdir) && @PERL@ $(MANAGEN) mainpage $(DPAGES)) > manpage.tmp.$$$$ && mv manpage.tmp.$$$$ $(MANPAGE)) ++ ++$(ASCIIPAGE): $(DPAGES) $(SUPPORT) mainpage.idx Makefile.inc $(MANAGEN) ++ $(GEN)(rm -f $(ASCIIPAGE) && (cd $(srcdir) && @PERL@ $(MANAGEN) ascii $(DPAGES)) > asciipage.tmp.$$$$ && mv asciipage.tmp.$$$$ $(ASCIIPAGE)) ++ ++listhelp: ++ $(MANAGEN) listhelp $(DPAGES) > $(top_builddir)/src/tool_listhelp.c + +-$(MANPAGE): $(DPAGES) $(OTHERPAGES) Makefile.inc gen.pl +- $(GEN)(rm -f $(MANPAGE) && cd $(srcdir) && @PERL@ ./gen.pl mainpage $(DPAGES) > $(builddir)/manpage.tmp && mv $(builddir)/manpage.tmp $(MANPAGE)) ++listcats: ++ @$(MANAGEN) listcats $(DPAGES) +diff --git a/docs/cmdline-opts/Makefile.in b/docs/cmdline-opts/Makefile.in +index f861c23..e777cfc 100644 +--- a/docs/cmdline-opts/Makefile.in ++++ b/docs/cmdline-opts/Makefile.in +@@ -192,6 +192,37 @@ am__can_run_installinfo = \ + n|no|NO) false;; \ + *) (install-info --version) >/dev/null 2>&1;; \ + esac ++am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; ++am__vpath_adj = case $$p in \ ++ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ ++ *) f=$$p;; \ ++ esac; ++am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; ++am__install_max = 40 ++am__nobase_strip_setup = \ ++ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` ++am__nobase_strip = \ ++ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" ++am__nobase_list = $(am__nobase_strip_setup); \ ++ for p in $$list; do echo "$$p $$p"; done | \ ++ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ ++ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ ++ if (++n[$$2] == $(am__install_max)) \ ++ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ ++ END { for (dir in files) print dir, files[dir] }' ++am__base_list = \ ++ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ ++ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' ++am__uninstall_files_from_dir = { \ ++ test -z "$$files" \ ++ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ ++ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ ++ $(am__cd) "$$dir" && rm -f $$files; }; \ ++ } ++man1dir = $(mandir)/man1 ++am__installdirs = "$(DESTDIR)$(man1dir)" ++NROFF = nroff ++MANS = $(man_MANS) + am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) + am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.inc + DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +@@ -267,6 +298,7 @@ HAVE_BROTLI = @HAVE_BROTLI@ + HAVE_GNUTLS_SRP = @HAVE_GNUTLS_SRP@ + HAVE_LDAP_SSL = @HAVE_LDAP_SSL@ + HAVE_LIBZ = @HAVE_LIBZ@ ++HAVE_OPENSSL_QUIC = @HAVE_OPENSSL_QUIC@ + HAVE_OPENSSL_SRP = @HAVE_OPENSSL_SRP@ + HAVE_PROTO_BSDSOCKET_H = @HAVE_PROTO_BSDSOCKET_H@ + HAVE_ZSTD = @HAVE_ZSTD@ +@@ -294,11 +326,9 @@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ + MAINT = @MAINT@ + MAKEINFO = @MAKEINFO@ + MANIFEST_TOOL = @MANIFEST_TOOL@ +-MANOPT = @MANOPT@ + MKDIR_P = @MKDIR_P@ + NM = @NM@ + NMEDIT = @NMEDIT@ +-NROFF = @NROFF@ + OBJDUMP = @OBJDUMP@ + OBJEXT = @OBJEXT@ + OTOOL = @OTOOL@ +@@ -334,6 +364,7 @@ USE_ARES = @USE_ARES@ + USE_BEARSSL = @USE_BEARSSL@ + USE_GNUTLS = @USE_GNUTLS@ + USE_HYPER = @USE_HYPER@ ++USE_LIBPSL = @USE_LIBPSL@ + USE_LIBRTMP = @USE_LIBRTMP@ + USE_LIBSSH = @USE_LIBSSH@ + USE_LIBSSH2 = @USE_LIBSSH2@ +@@ -342,10 +373,14 @@ USE_MSH3 = @USE_MSH3@ + USE_NGHTTP2 = @USE_NGHTTP2@ + USE_NGHTTP3 = @USE_NGHTTP3@ + USE_NGTCP2 = @USE_NGTCP2@ ++USE_NGTCP2_CRYPTO_BORINGSSL = @USE_NGTCP2_CRYPTO_BORINGSSL@ + USE_NGTCP2_CRYPTO_GNUTLS = @USE_NGTCP2_CRYPTO_GNUTLS@ + USE_NGTCP2_CRYPTO_QUICTLS = @USE_NGTCP2_CRYPTO_QUICTLS@ + USE_NGTCP2_CRYPTO_WOLFSSL = @USE_NGTCP2_CRYPTO_WOLFSSL@ ++USE_NGTCP2_H3 = @USE_NGTCP2_H3@ + USE_OPENLDAP = @USE_OPENLDAP@ ++USE_OPENSSL_H3 = @USE_OPENSSL_H3@ ++USE_OPENSSL_QUIC = @USE_OPENSSL_QUIC@ + USE_QUICHE = @USE_QUICHE@ + USE_RUSTLS = @USE_RUSTLS@ + USE_SCHANNEL = @USE_SCHANNEL@ +@@ -416,273 +451,297 @@ top_build_prefix = @top_build_prefix@ + top_builddir = @top_builddir@ + top_srcdir = @top_srcdir@ + AUTOMAKE_OPTIONS = foreign no-dependencies +-MANPAGE = $(top_builddir)/docs/curl.1 ++MANPAGE = curl.1 ++ASCIIPAGE = curl.txt ++man_MANS = $(MANPAGE) ++SUPPORT = \ ++ _AUTHORS.md \ ++ _BUGS.md \ ++ _DESCRIPTION.md \ ++ _ENVIRONMENT.md \ ++ _EXITCODES.md \ ++ _FILES.md \ ++ _GLOBBING.md \ ++ _NAME.md \ ++ _OPTIONS.md \ ++ _OUTPUT.md \ ++ _PROGRESS.md \ ++ _PROTOCOLS.md \ ++ _PROXYPREFIX.md \ ++ _SEEALSO.md \ ++ _SYNOPSIS.md \ ++ _URL.md \ ++ _VARIABLES.md \ ++ _VERSION.md \ ++ _WWW.md ++ + DPAGES = \ +- abstract-unix-socket.d \ +- alt-svc.d \ +- anyauth.d \ +- append.d \ +- aws-sigv4.d \ +- basic.d \ +- ca-native.d \ +- cacert.d \ +- capath.d \ +- cert-status.d \ +- cert-type.d \ +- cert.d \ +- ciphers.d \ +- compressed-ssh.d \ +- compressed.d \ +- config.d \ +- connect-timeout.d \ +- connect-to.d \ +- continue-at.d \ +- cookie-jar.d \ +- cookie.d \ +- create-dirs.d \ +- create-file-mode.d \ +- crlf.d \ +- crlfile.d \ +- curves.d \ +- data-ascii.d \ +- data-binary.d \ +- data-raw.d \ +- data-urlencode.d \ +- data.d \ +- delegation.d \ +- digest.d \ +- disable-eprt.d \ +- disable-epsv.d \ +- disable.d \ +- disallow-username-in-url.d \ +- dns-interface.d \ +- dns-ipv4-addr.d \ +- dns-ipv6-addr.d \ +- dns-servers.d \ +- doh-cert-status.d \ +- doh-insecure.d \ +- doh-url.d \ +- dump-header.d \ +- egd-file.d \ +- engine.d \ +- etag-compare.d \ +- etag-save.d \ +- expect100-timeout.d \ +- fail-early.d \ +- fail-with-body.d \ +- fail.d \ +- false-start.d \ +- form-escape.d \ +- form-string.d \ +- form.d \ +- ftp-account.d \ +- ftp-alternative-to-user.d \ +- ftp-create-dirs.d \ +- ftp-method.d \ +- ftp-pasv.d \ +- ftp-port.d \ +- ftp-pret.d \ +- ftp-skip-pasv-ip.d \ +- ftp-ssl-ccc-mode.d \ +- ftp-ssl-ccc.d \ +- ftp-ssl-control.d \ +- get.d \ +- globoff.d \ +- happy-eyeballs-timeout-ms.d \ +- haproxy-protocol.d \ +- haproxy-clientip.d \ +- head.d \ +- header.d \ +- help.d \ +- hostpubmd5.d \ +- hostpubsha256.d \ +- hsts.d \ +- http0.9.d \ +- http1.0.d \ +- http1.1.d \ +- http2-prior-knowledge.d \ +- http2.d \ +- http3.d \ +- http3-only.d \ +- ignore-content-length.d \ +- include.d \ +- insecure.d \ +- interface.d \ +- ipfs-gateway.d \ +- ipv4.d \ +- ipv6.d \ +- json.d \ +- junk-session-cookies.d \ +- keepalive-time.d \ +- key-type.d \ +- key.d \ +- krb.d \ +- libcurl.d \ +- limit-rate.d \ +- list-only.d \ +- local-port.d \ +- location-trusted.d \ +- location.d \ +- login-options.d \ +- mail-auth.d \ +- mail-from.d \ +- mail-rcpt-allowfails.d \ +- mail-rcpt.d \ +- manual.d \ +- max-filesize.d \ +- max-redirs.d \ +- max-time.d \ +- metalink.d \ +- negotiate.d \ +- netrc-file.d \ +- netrc-optional.d \ +- netrc.d \ +- next.d \ +- no-alpn.d \ +- no-buffer.d \ +- no-clobber.d \ +- no-keepalive.d \ +- no-npn.d \ +- no-progress-meter.d \ +- no-sessionid.d \ +- noproxy.d \ +- ntlm-wb.d \ +- ntlm.d \ +- oauth2-bearer.d \ +- output-dir.d \ +- output.d \ +- parallel-immediate.d \ +- parallel-max.d \ +- parallel.d \ +- pass.d \ +- path-as-is.d \ +- pinnedpubkey.d \ +- post301.d \ +- post302.d \ +- post303.d \ +- preproxy.d \ +- progress-bar.d \ +- proto-default.d \ +- proto-redir.d \ +- proto.d \ +- proxy-anyauth.d \ +- proxy-basic.d \ +- proxy-ca-native.d \ +- proxy-cacert.d \ +- proxy-capath.d \ +- proxy-cert-type.d \ +- proxy-cert.d \ +- proxy-ciphers.d \ +- proxy-crlfile.d \ +- proxy-digest.d \ +- proxy-header.d \ +- proxy-http2.d \ +- proxy-insecure.d \ +- proxy-key-type.d \ +- proxy-key.d \ +- proxy-negotiate.d \ +- proxy-ntlm.d \ +- proxy-pass.d \ +- proxy-pinnedpubkey.d \ +- proxy-service-name.d \ +- proxy-ssl-allow-beast.d \ +- proxy-ssl-auto-client-cert.d \ +- proxy-tls13-ciphers.d \ +- proxy-tlsauthtype.d \ +- proxy-tlspassword.d \ +- proxy-tlsuser.d \ +- proxy-tlsv1.d \ +- proxy-user.d \ +- proxy.d \ +- proxy1.0.d \ +- proxytunnel.d \ +- pubkey.d \ +- quote.d \ +- random-file.d \ +- range.d \ +- rate.d \ +- raw.d \ +- referer.d \ +- remote-header-name.d \ +- remote-name-all.d \ +- remote-name.d \ +- remote-time.d \ +- remove-on-error.d \ +- request-target.d \ +- request.d \ +- resolve.d \ +- retry-all-errors.d \ +- retry-connrefused.d \ +- retry-delay.d \ +- retry-max-time.d \ +- retry.d \ +- sasl-authzid.d \ +- sasl-ir.d \ +- service-name.d \ +- show-error.d \ +- silent.d \ +- socks4.d \ +- socks4a.d \ +- socks5-basic.d \ +- socks5-gssapi-nec.d \ +- socks5-gssapi-service.d \ +- socks5-gssapi.d \ +- socks5-hostname.d \ +- socks5.d \ +- speed-limit.d \ +- speed-time.d \ +- ssl-allow-beast.d \ +- ssl-auto-client-cert.d \ +- ssl-no-revoke.d \ +- ssl-reqd.d \ +- ssl-revoke-best-effort.d \ +- ssl.d \ +- sslv2.d \ +- sslv3.d \ +- stderr.d \ +- styled-output.d \ +- suppress-connect-headers.d \ +- tcp-fastopen.d \ +- tcp-nodelay.d \ +- telnet-option.d \ +- tftp-blksize.d \ +- tftp-no-options.d \ +- time-cond.d \ +- tls-max.d \ +- tls13-ciphers.d \ +- tlsauthtype.d \ +- tlspassword.d \ +- tlsuser.d \ +- tlsv1.0.d \ +- tlsv1.1.d \ +- tlsv1.2.d \ +- tlsv1.3.d \ +- tlsv1.d \ +- tr-encoding.d \ +- trace-ascii.d \ +- trace-config.d \ +- trace-ids.d \ +- trace-time.d \ +- trace.d \ +- unix-socket.d \ +- upload-file.d \ +- url.d \ +- url-query.d \ +- use-ascii.d \ +- user-agent.d \ +- user.d \ +- variable.d \ +- verbose.d \ +- version.d \ +- write-out.d \ +- xattr.d +- +-OTHERPAGES = page-footer page-header +-EXTRA_DIST = $(DPAGES) MANPAGE.md gen.pl $(OTHERPAGES) CMakeLists.txt ++ abstract-unix-socket.md \ ++ alt-svc.md \ ++ anyauth.md \ ++ append.md \ ++ aws-sigv4.md \ ++ basic.md \ ++ ca-native.md \ ++ cacert.md \ ++ capath.md \ ++ cert-status.md \ ++ cert-type.md \ ++ cert.md \ ++ ciphers.md \ ++ compressed-ssh.md \ ++ compressed.md \ ++ config.md \ ++ connect-timeout.md \ ++ connect-to.md \ ++ continue-at.md \ ++ cookie-jar.md \ ++ cookie.md \ ++ create-dirs.md \ ++ create-file-mode.md \ ++ crlf.md \ ++ crlfile.md \ ++ curves.md \ ++ data-ascii.md \ ++ data-binary.md \ ++ data-raw.md \ ++ data-urlencode.md \ ++ data.md \ ++ delegation.md \ ++ digest.md \ ++ disable-eprt.md \ ++ disable-epsv.md \ ++ disable.md \ ++ disallow-username-in-url.md \ ++ dns-interface.md \ ++ dns-ipv4-addr.md \ ++ dns-ipv6-addr.md \ ++ dns-servers.md \ ++ doh-cert-status.md \ ++ doh-insecure.md \ ++ doh-url.md \ ++ dump-header.md \ ++ egd-file.md \ ++ engine.md \ ++ etag-compare.md \ ++ etag-save.md \ ++ expect100-timeout.md \ ++ fail-early.md \ ++ fail-with-body.md \ ++ fail.md \ ++ false-start.md \ ++ form-escape.md \ ++ form-string.md \ ++ form.md \ ++ ftp-account.md \ ++ ftp-alternative-to-user.md \ ++ ftp-create-dirs.md \ ++ ftp-method.md \ ++ ftp-pasv.md \ ++ ftp-port.md \ ++ ftp-pret.md \ ++ ftp-skip-pasv-ip.md \ ++ ftp-ssl-ccc-mode.md \ ++ ftp-ssl-ccc.md \ ++ ftp-ssl-control.md \ ++ get.md \ ++ globoff.md \ ++ happy-eyeballs-timeout-ms.md \ ++ haproxy-protocol.md \ ++ haproxy-clientip.md \ ++ head.md \ ++ header.md \ ++ help.md \ ++ hostpubmd5.md \ ++ hostpubsha256.md \ ++ hsts.md \ ++ http0.9.md \ ++ http1.0.md \ ++ http1.1.md \ ++ http2-prior-knowledge.md \ ++ http2.md \ ++ http3.md \ ++ http3-only.md \ ++ ignore-content-length.md \ ++ include.md \ ++ insecure.md \ ++ interface.md \ ++ ipfs-gateway.md \ ++ ipv4.md \ ++ ipv6.md \ ++ json.md \ ++ junk-session-cookies.md \ ++ keepalive-time.md \ ++ key-type.md \ ++ key.md \ ++ krb.md \ ++ libcurl.md \ ++ limit-rate.md \ ++ list-only.md \ ++ local-port.md \ ++ location-trusted.md \ ++ location.md \ ++ login-options.md \ ++ mail-auth.md \ ++ mail-from.md \ ++ mail-rcpt-allowfails.md \ ++ mail-rcpt.md \ ++ manual.md \ ++ max-filesize.md \ ++ max-redirs.md \ ++ max-time.md \ ++ metalink.md \ ++ negotiate.md \ ++ netrc-file.md \ ++ netrc-optional.md \ ++ netrc.md \ ++ next.md \ ++ no-alpn.md \ ++ no-buffer.md \ ++ no-clobber.md \ ++ no-keepalive.md \ ++ no-npn.md \ ++ no-progress-meter.md \ ++ no-sessionid.md \ ++ noproxy.md \ ++ ntlm-wb.md \ ++ ntlm.md \ ++ oauth2-bearer.md \ ++ output-dir.md \ ++ output.md \ ++ parallel-immediate.md \ ++ parallel-max.md \ ++ parallel.md \ ++ pass.md \ ++ path-as-is.md \ ++ pinnedpubkey.md \ ++ post301.md \ ++ post302.md \ ++ post303.md \ ++ preproxy.md \ ++ progress-bar.md \ ++ proto-default.md \ ++ proto-redir.md \ ++ proto.md \ ++ proxy-anyauth.md \ ++ proxy-basic.md \ ++ proxy-ca-native.md \ ++ proxy-cacert.md \ ++ proxy-capath.md \ ++ proxy-cert-type.md \ ++ proxy-cert.md \ ++ proxy-ciphers.md \ ++ proxy-crlfile.md \ ++ proxy-digest.md \ ++ proxy-header.md \ ++ proxy-http2.md \ ++ proxy-insecure.md \ ++ proxy-key-type.md \ ++ proxy-key.md \ ++ proxy-negotiate.md \ ++ proxy-ntlm.md \ ++ proxy-pass.md \ ++ proxy-pinnedpubkey.md \ ++ proxy-service-name.md \ ++ proxy-ssl-allow-beast.md \ ++ proxy-ssl-auto-client-cert.md \ ++ proxy-tls13-ciphers.md \ ++ proxy-tlsauthtype.md \ ++ proxy-tlspassword.md \ ++ proxy-tlsuser.md \ ++ proxy-tlsv1.md \ ++ proxy-user.md \ ++ proxy.md \ ++ proxy1.0.md \ ++ proxytunnel.md \ ++ pubkey.md \ ++ quote.md \ ++ random-file.md \ ++ range.md \ ++ rate.md \ ++ raw.md \ ++ referer.md \ ++ remote-header-name.md \ ++ remote-name-all.md \ ++ remote-name.md \ ++ remote-time.md \ ++ remove-on-error.md \ ++ request-target.md \ ++ request.md \ ++ resolve.md \ ++ retry-all-errors.md \ ++ retry-connrefused.md \ ++ retry-delay.md \ ++ retry-max-time.md \ ++ retry.md \ ++ sasl-authzid.md \ ++ sasl-ir.md \ ++ service-name.md \ ++ show-error.md \ ++ silent.md \ ++ socks4.md \ ++ socks4a.md \ ++ socks5-basic.md \ ++ socks5-gssapi-nec.md \ ++ socks5-gssapi-service.md \ ++ socks5-gssapi.md \ ++ socks5-hostname.md \ ++ socks5.md \ ++ speed-limit.md \ ++ speed-time.md \ ++ ssl-allow-beast.md \ ++ ssl-auto-client-cert.md \ ++ ssl-no-revoke.md \ ++ ssl-reqd.md \ ++ ssl-revoke-best-effort.md \ ++ ssl.md \ ++ sslv2.md \ ++ sslv3.md \ ++ stderr.md \ ++ styled-output.md \ ++ suppress-connect-headers.md \ ++ tcp-fastopen.md \ ++ tcp-nodelay.md \ ++ telnet-option.md \ ++ tftp-blksize.md \ ++ tftp-no-options.md \ ++ time-cond.md \ ++ tls-max.md \ ++ tls13-ciphers.md \ ++ tlsauthtype.md \ ++ tlspassword.md \ ++ tlsuser.md \ ++ tlsv1.0.md \ ++ tlsv1.1.md \ ++ tlsv1.2.md \ ++ tlsv1.3.md \ ++ tlsv1.md \ ++ tr-encoding.md \ ++ trace-ascii.md \ ++ trace-config.md \ ++ trace-ids.md \ ++ trace-time.md \ ++ trace.md \ ++ unix-socket.md \ ++ upload-file.md \ ++ url.md \ ++ url-query.md \ ++ use-ascii.md \ ++ user-agent.md \ ++ user.md \ ++ variable.md \ ++ verbose.md \ ++ version.md \ ++ write-out.md \ ++ xattr.md ++ ++EXTRA_DIST = $(DPAGES) MANPAGE.md $(SUPPORT) CMakeLists.txt mainpage.idx + GEN = $(GN_$(V)) + GN_0 = @echo " GENERATE" $@; + GN_1 = + GN_ = $(GN_0) ++MANAGEN = $(abs_top_srcdir)/scripts/managen ++@BUILD_DOCS_TRUE@CLEANFILES = $(MANPAGE) $(ASCIIPAGE) + all: all-am + + .SUFFIXES: +@@ -722,6 +781,49 @@ mostlyclean-libtool: + + clean-libtool: + -rm -rf .libs _libs ++install-man1: $(man_MANS) ++ @$(NORMAL_INSTALL) ++ @list1=''; \ ++ list2='$(man_MANS)'; \ ++ test -n "$(man1dir)" \ ++ && test -n "`echo $$list1$$list2`" \ ++ || exit 0; \ ++ echo " $(MKDIR_P) '$(DESTDIR)$(man1dir)'"; \ ++ $(MKDIR_P) "$(DESTDIR)$(man1dir)" || exit 1; \ ++ { for i in $$list1; do echo "$$i"; done; \ ++ if test -n "$$list2"; then \ ++ for i in $$list2; do echo "$$i"; done \ ++ | sed -n '/\.1[a-z]*$$/p'; \ ++ fi; \ ++ } | while read p; do \ ++ if test -f $$p; then d=; else d="$(srcdir)/"; fi; \ ++ echo "$$d$$p"; echo "$$p"; \ ++ done | \ ++ sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \ ++ -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \ ++ sed 'N;N;s,\n, ,g' | { \ ++ list=; while read file base inst; do \ ++ if test "$$base" = "$$inst"; then list="$$list $$file"; else \ ++ echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \ ++ $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst" || exit $$?; \ ++ fi; \ ++ done; \ ++ for i in $$list; do echo "$$i"; done | $(am__base_list) | \ ++ while read files; do \ ++ test -z "$$files" || { \ ++ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man1dir)'"; \ ++ $(INSTALL_DATA) $$files "$(DESTDIR)$(man1dir)" || exit $$?; }; \ ++ done; } ++ ++uninstall-man1: ++ @$(NORMAL_UNINSTALL) ++ @list=''; test -n "$(man1dir)" || exit 0; \ ++ files=`{ for i in $$list; do echo "$$i"; done; \ ++ l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \ ++ sed -n '/\.1[a-z]*$$/p'; \ ++ } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \ ++ -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \ ++ dir='$(DESTDIR)$(man1dir)'; $(am__uninstall_files_from_dir) + tags TAGS: + + ctags CTAGS: +@@ -763,8 +865,11 @@ distdir-am: $(DISTFILES) + done + check-am: all-am + check: check-am +-all-am: Makefile ++all-am: Makefile $(MANS) + installdirs: ++ for dir in "$(DESTDIR)$(man1dir)"; do \ ++ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ ++ done + install: install-am + install-exec: install-exec-am + install-data: install-data-am +@@ -787,6 +892,7 @@ install-strip: + mostlyclean-generic: + + clean-generic: ++ -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) + + distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) +@@ -815,7 +921,7 @@ info: info-am + + info-am: + +-install-data-am: ++install-data-am: install-man + + install-dvi: install-dvi-am + +@@ -831,7 +937,7 @@ install-info: install-info-am + + install-info-am: + +-install-man: ++install-man: install-man1 + + install-pdf: install-pdf-am + +@@ -859,7 +965,9 @@ ps: ps-am + + ps-am: + +-uninstall-am: ++uninstall-am: uninstall-man ++ ++uninstall-man: uninstall-man1 + + .MAKE: install-am install-strip + +@@ -869,19 +977,29 @@ uninstall-am: + install install-am install-data install-data-am install-dvi \ + install-dvi-am install-exec install-exec-am install-html \ + install-html-am install-info install-info-am install-man \ +- install-pdf install-pdf-am install-ps install-ps-am \ +- install-strip installcheck installcheck-am installdirs \ +- maintainer-clean maintainer-clean-generic mostlyclean \ +- mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ +- tags-am uninstall uninstall-am ++ install-man1 install-pdf install-pdf-am install-ps \ ++ install-ps-am install-strip installcheck installcheck-am \ ++ installdirs maintainer-clean maintainer-clean-generic \ ++ mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \ ++ ps ps-am tags-am uninstall uninstall-am uninstall-man \ ++ uninstall-man1 + + .PRECIOUS: Makefile + + +-all: $(MANPAGE) ++@BUILD_DOCS_TRUE@all: $(MANPAGE) $(ASCIIPAGE) ++ ++$(MANPAGE): $(DPAGES) $(SUPPORT) mainpage.idx Makefile.inc $(MANAGEN) ++ $(GEN)(rm -f $(MANPAGE) && (cd $(srcdir) && @PERL@ $(MANAGEN) mainpage $(DPAGES)) > manpage.tmp.$$$$ && mv manpage.tmp.$$$$ $(MANPAGE)) ++ ++$(ASCIIPAGE): $(DPAGES) $(SUPPORT) mainpage.idx Makefile.inc $(MANAGEN) ++ $(GEN)(rm -f $(ASCIIPAGE) && (cd $(srcdir) && @PERL@ $(MANAGEN) ascii $(DPAGES)) > asciipage.tmp.$$$$ && mv asciipage.tmp.$$$$ $(ASCIIPAGE)) ++ ++listhelp: ++ $(MANAGEN) listhelp $(DPAGES) > $(top_builddir)/src/tool_listhelp.c + +-$(MANPAGE): $(DPAGES) $(OTHERPAGES) Makefile.inc gen.pl +- $(GEN)(rm -f $(MANPAGE) && cd $(srcdir) && @PERL@ ./gen.pl mainpage $(DPAGES) > $(builddir)/manpage.tmp && mv $(builddir)/manpage.tmp $(MANPAGE)) ++listcats: ++ @$(MANAGEN) listcats $(DPAGES) + + # Tell versions [3.59,3.63) of GNU make to not export all variables. + # Otherwise a system limit (for SysV at least) may be exceeded. +diff --git a/docs/cmdline-opts/Makefile.inc b/docs/cmdline-opts/Makefile.inc +index a7c92f2..428cc3b 100644 +--- a/docs/cmdline-opts/Makefile.inc ++++ b/docs/cmdline-opts/Makefile.inc +@@ -23,264 +23,283 @@ + ########################################################################### + # Shared between Makefile.am and CMakeLists.txt + +-DPAGES = \ +- abstract-unix-socket.d \ +- alt-svc.d \ +- anyauth.d \ +- append.d \ +- aws-sigv4.d \ +- basic.d \ +- ca-native.d \ +- cacert.d \ +- capath.d \ +- cert-status.d \ +- cert-type.d \ +- cert.d \ +- ciphers.d \ +- compressed-ssh.d \ +- compressed.d \ +- config.d \ +- connect-timeout.d \ +- connect-to.d \ +- continue-at.d \ +- cookie-jar.d \ +- cookie.d \ +- create-dirs.d \ +- create-file-mode.d \ +- crlf.d \ +- crlfile.d \ +- curves.d \ +- data-ascii.d \ +- data-binary.d \ +- data-raw.d \ +- data-urlencode.d \ +- data.d \ +- delegation.d \ +- digest.d \ +- disable-eprt.d \ +- disable-epsv.d \ +- disable.d \ +- disallow-username-in-url.d \ +- dns-interface.d \ +- dns-ipv4-addr.d \ +- dns-ipv6-addr.d \ +- dns-servers.d \ +- doh-cert-status.d \ +- doh-insecure.d \ +- doh-url.d \ +- dump-header.d \ +- egd-file.d \ +- engine.d \ +- etag-compare.d \ +- etag-save.d \ +- expect100-timeout.d \ +- fail-early.d \ +- fail-with-body.d \ +- fail.d \ +- false-start.d \ +- form-escape.d \ +- form-string.d \ +- form.d \ +- ftp-account.d \ +- ftp-alternative-to-user.d \ +- ftp-create-dirs.d \ +- ftp-method.d \ +- ftp-pasv.d \ +- ftp-port.d \ +- ftp-pret.d \ +- ftp-skip-pasv-ip.d \ +- ftp-ssl-ccc-mode.d \ +- ftp-ssl-ccc.d \ +- ftp-ssl-control.d \ +- get.d \ +- globoff.d \ +- happy-eyeballs-timeout-ms.d \ +- haproxy-protocol.d \ +- haproxy-clientip.d \ +- head.d \ +- header.d \ +- help.d \ +- hostpubmd5.d \ +- hostpubsha256.d \ +- hsts.d \ +- http0.9.d \ +- http1.0.d \ +- http1.1.d \ +- http2-prior-knowledge.d \ +- http2.d \ +- http3.d \ +- http3-only.d \ +- ignore-content-length.d \ +- include.d \ +- insecure.d \ +- interface.d \ +- ipfs-gateway.d \ +- ipv4.d \ +- ipv6.d \ +- json.d \ +- junk-session-cookies.d \ +- keepalive-time.d \ +- key-type.d \ +- key.d \ +- krb.d \ +- libcurl.d \ +- limit-rate.d \ +- list-only.d \ +- local-port.d \ +- location-trusted.d \ +- location.d \ +- login-options.d \ +- mail-auth.d \ +- mail-from.d \ +- mail-rcpt-allowfails.d \ +- mail-rcpt.d \ +- manual.d \ +- max-filesize.d \ +- max-redirs.d \ +- max-time.d \ +- metalink.d \ +- negotiate.d \ +- netrc-file.d \ +- netrc-optional.d \ +- netrc.d \ +- next.d \ +- no-alpn.d \ +- no-buffer.d \ +- no-clobber.d \ +- no-keepalive.d \ +- no-npn.d \ +- no-progress-meter.d \ +- no-sessionid.d \ +- noproxy.d \ +- ntlm-wb.d \ +- ntlm.d \ +- oauth2-bearer.d \ +- output-dir.d \ +- output.d \ +- parallel-immediate.d \ +- parallel-max.d \ +- parallel.d \ +- pass.d \ +- path-as-is.d \ +- pinnedpubkey.d \ +- post301.d \ +- post302.d \ +- post303.d \ +- preproxy.d \ +- progress-bar.d \ +- proto-default.d \ +- proto-redir.d \ +- proto.d \ +- proxy-anyauth.d \ +- proxy-basic.d \ +- proxy-ca-native.d \ +- proxy-cacert.d \ +- proxy-capath.d \ +- proxy-cert-type.d \ +- proxy-cert.d \ +- proxy-ciphers.d \ +- proxy-crlfile.d \ +- proxy-digest.d \ +- proxy-header.d \ +- proxy-http2.d \ +- proxy-insecure.d \ +- proxy-key-type.d \ +- proxy-key.d \ +- proxy-negotiate.d \ +- proxy-ntlm.d \ +- proxy-pass.d \ +- proxy-pinnedpubkey.d \ +- proxy-service-name.d \ +- proxy-ssl-allow-beast.d \ +- proxy-ssl-auto-client-cert.d \ +- proxy-tls13-ciphers.d \ +- proxy-tlsauthtype.d \ +- proxy-tlspassword.d \ +- proxy-tlsuser.d \ +- proxy-tlsv1.d \ +- proxy-user.d \ +- proxy.d \ +- proxy1.0.d \ +- proxytunnel.d \ +- pubkey.d \ +- quote.d \ +- random-file.d \ +- range.d \ +- rate.d \ +- raw.d \ +- referer.d \ +- remote-header-name.d \ +- remote-name-all.d \ +- remote-name.d \ +- remote-time.d \ +- remove-on-error.d \ +- request-target.d \ +- request.d \ +- resolve.d \ +- retry-all-errors.d \ +- retry-connrefused.d \ +- retry-delay.d \ +- retry-max-time.d \ +- retry.d \ +- sasl-authzid.d \ +- sasl-ir.d \ +- service-name.d \ +- show-error.d \ +- silent.d \ +- socks4.d \ +- socks4a.d \ +- socks5-basic.d \ +- socks5-gssapi-nec.d \ +- socks5-gssapi-service.d \ +- socks5-gssapi.d \ +- socks5-hostname.d \ +- socks5.d \ +- speed-limit.d \ +- speed-time.d \ +- ssl-allow-beast.d \ +- ssl-auto-client-cert.d \ +- ssl-no-revoke.d \ +- ssl-reqd.d \ +- ssl-revoke-best-effort.d \ +- ssl.d \ +- sslv2.d \ +- sslv3.d \ +- stderr.d \ +- styled-output.d \ +- suppress-connect-headers.d \ +- tcp-fastopen.d \ +- tcp-nodelay.d \ +- telnet-option.d \ +- tftp-blksize.d \ +- tftp-no-options.d \ +- time-cond.d \ +- tls-max.d \ +- tls13-ciphers.d \ +- tlsauthtype.d \ +- tlspassword.d \ +- tlsuser.d \ +- tlsv1.0.d \ +- tlsv1.1.d \ +- tlsv1.2.d \ +- tlsv1.3.d \ +- tlsv1.d \ +- tr-encoding.d \ +- trace-ascii.d \ +- trace-config.d \ +- trace-ids.d \ +- trace-time.d \ +- trace.d \ +- unix-socket.d \ +- upload-file.d \ +- url.d \ +- url-query.d \ +- use-ascii.d \ +- user-agent.d \ +- user.d \ +- variable.d \ +- verbose.d \ +- version.d \ +- write-out.d \ +- xattr.d ++SUPPORT = \ ++ _AUTHORS.md \ ++ _BUGS.md \ ++ _DESCRIPTION.md \ ++ _ENVIRONMENT.md \ ++ _EXITCODES.md \ ++ _FILES.md \ ++ _GLOBBING.md \ ++ _NAME.md \ ++ _OPTIONS.md \ ++ _OUTPUT.md \ ++ _PROGRESS.md \ ++ _PROTOCOLS.md \ ++ _PROXYPREFIX.md \ ++ _SEEALSO.md \ ++ _SYNOPSIS.md \ ++ _URL.md \ ++ _VARIABLES.md \ ++ _VERSION.md \ ++ _WWW.md + +-OTHERPAGES = page-footer page-header ++DPAGES = \ ++ abstract-unix-socket.md \ ++ alt-svc.md \ ++ anyauth.md \ ++ append.md \ ++ aws-sigv4.md \ ++ basic.md \ ++ ca-native.md \ ++ cacert.md \ ++ capath.md \ ++ cert-status.md \ ++ cert-type.md \ ++ cert.md \ ++ ciphers.md \ ++ compressed-ssh.md \ ++ compressed.md \ ++ config.md \ ++ connect-timeout.md \ ++ connect-to.md \ ++ continue-at.md \ ++ cookie-jar.md \ ++ cookie.md \ ++ create-dirs.md \ ++ create-file-mode.md \ ++ crlf.md \ ++ crlfile.md \ ++ curves.md \ ++ data-ascii.md \ ++ data-binary.md \ ++ data-raw.md \ ++ data-urlencode.md \ ++ data.md \ ++ delegation.md \ ++ digest.md \ ++ disable-eprt.md \ ++ disable-epsv.md \ ++ disable.md \ ++ disallow-username-in-url.md \ ++ dns-interface.md \ ++ dns-ipv4-addr.md \ ++ dns-ipv6-addr.md \ ++ dns-servers.md \ ++ doh-cert-status.md \ ++ doh-insecure.md \ ++ doh-url.md \ ++ dump-header.md \ ++ egd-file.md \ ++ engine.md \ ++ etag-compare.md \ ++ etag-save.md \ ++ expect100-timeout.md \ ++ fail-early.md \ ++ fail-with-body.md \ ++ fail.md \ ++ false-start.md \ ++ form-escape.md \ ++ form-string.md \ ++ form.md \ ++ ftp-account.md \ ++ ftp-alternative-to-user.md \ ++ ftp-create-dirs.md \ ++ ftp-method.md \ ++ ftp-pasv.md \ ++ ftp-port.md \ ++ ftp-pret.md \ ++ ftp-skip-pasv-ip.md \ ++ ftp-ssl-ccc-mode.md \ ++ ftp-ssl-ccc.md \ ++ ftp-ssl-control.md \ ++ get.md \ ++ globoff.md \ ++ happy-eyeballs-timeout-ms.md \ ++ haproxy-protocol.md \ ++ haproxy-clientip.md \ ++ head.md \ ++ header.md \ ++ help.md \ ++ hostpubmd5.md \ ++ hostpubsha256.md \ ++ hsts.md \ ++ http0.9.md \ ++ http1.0.md \ ++ http1.1.md \ ++ http2-prior-knowledge.md \ ++ http2.md \ ++ http3.md \ ++ http3-only.md \ ++ ignore-content-length.md \ ++ include.md \ ++ insecure.md \ ++ interface.md \ ++ ipfs-gateway.md \ ++ ipv4.md \ ++ ipv6.md \ ++ json.md \ ++ junk-session-cookies.md \ ++ keepalive-time.md \ ++ key-type.md \ ++ key.md \ ++ krb.md \ ++ libcurl.md \ ++ limit-rate.md \ ++ list-only.md \ ++ local-port.md \ ++ location-trusted.md \ ++ location.md \ ++ login-options.md \ ++ mail-auth.md \ ++ mail-from.md \ ++ mail-rcpt-allowfails.md \ ++ mail-rcpt.md \ ++ manual.md \ ++ max-filesize.md \ ++ max-redirs.md \ ++ max-time.md \ ++ metalink.md \ ++ negotiate.md \ ++ netrc-file.md \ ++ netrc-optional.md \ ++ netrc.md \ ++ next.md \ ++ no-alpn.md \ ++ no-buffer.md \ ++ no-clobber.md \ ++ no-keepalive.md \ ++ no-npn.md \ ++ no-progress-meter.md \ ++ no-sessionid.md \ ++ noproxy.md \ ++ ntlm-wb.md \ ++ ntlm.md \ ++ oauth2-bearer.md \ ++ output-dir.md \ ++ output.md \ ++ parallel-immediate.md \ ++ parallel-max.md \ ++ parallel.md \ ++ pass.md \ ++ path-as-is.md \ ++ pinnedpubkey.md \ ++ post301.md \ ++ post302.md \ ++ post303.md \ ++ preproxy.md \ ++ progress-bar.md \ ++ proto-default.md \ ++ proto-redir.md \ ++ proto.md \ ++ proxy-anyauth.md \ ++ proxy-basic.md \ ++ proxy-ca-native.md \ ++ proxy-cacert.md \ ++ proxy-capath.md \ ++ proxy-cert-type.md \ ++ proxy-cert.md \ ++ proxy-ciphers.md \ ++ proxy-crlfile.md \ ++ proxy-digest.md \ ++ proxy-header.md \ ++ proxy-http2.md \ ++ proxy-insecure.md \ ++ proxy-key-type.md \ ++ proxy-key.md \ ++ proxy-negotiate.md \ ++ proxy-ntlm.md \ ++ proxy-pass.md \ ++ proxy-pinnedpubkey.md \ ++ proxy-service-name.md \ ++ proxy-ssl-allow-beast.md \ ++ proxy-ssl-auto-client-cert.md \ ++ proxy-tls13-ciphers.md \ ++ proxy-tlsauthtype.md \ ++ proxy-tlspassword.md \ ++ proxy-tlsuser.md \ ++ proxy-tlsv1.md \ ++ proxy-user.md \ ++ proxy.md \ ++ proxy1.0.md \ ++ proxytunnel.md \ ++ pubkey.md \ ++ quote.md \ ++ random-file.md \ ++ range.md \ ++ rate.md \ ++ raw.md \ ++ referer.md \ ++ remote-header-name.md \ ++ remote-name-all.md \ ++ remote-name.md \ ++ remote-time.md \ ++ remove-on-error.md \ ++ request-target.md \ ++ request.md \ ++ resolve.md \ ++ retry-all-errors.md \ ++ retry-connrefused.md \ ++ retry-delay.md \ ++ retry-max-time.md \ ++ retry.md \ ++ sasl-authzid.md \ ++ sasl-ir.md \ ++ service-name.md \ ++ show-error.md \ ++ silent.md \ ++ socks4.md \ ++ socks4a.md \ ++ socks5-basic.md \ ++ socks5-gssapi-nec.md \ ++ socks5-gssapi-service.md \ ++ socks5-gssapi.md \ ++ socks5-hostname.md \ ++ socks5.md \ ++ speed-limit.md \ ++ speed-time.md \ ++ ssl-allow-beast.md \ ++ ssl-auto-client-cert.md \ ++ ssl-no-revoke.md \ ++ ssl-reqd.md \ ++ ssl-revoke-best-effort.md \ ++ ssl.md \ ++ sslv2.md \ ++ sslv3.md \ ++ stderr.md \ ++ styled-output.md \ ++ suppress-connect-headers.md \ ++ tcp-fastopen.md \ ++ tcp-nodelay.md \ ++ telnet-option.md \ ++ tftp-blksize.md \ ++ tftp-no-options.md \ ++ time-cond.md \ ++ tls-max.md \ ++ tls13-ciphers.md \ ++ tlsauthtype.md \ ++ tlspassword.md \ ++ tlsuser.md \ ++ tlsv1.0.md \ ++ tlsv1.1.md \ ++ tlsv1.2.md \ ++ tlsv1.3.md \ ++ tlsv1.md \ ++ tr-encoding.md \ ++ trace-ascii.md \ ++ trace-config.md \ ++ trace-ids.md \ ++ trace-time.md \ ++ trace.md \ ++ unix-socket.md \ ++ upload-file.md \ ++ url.md \ ++ url-query.md \ ++ use-ascii.md \ ++ user-agent.md \ ++ user.md \ ++ variable.md \ ++ verbose.md \ ++ version.md \ ++ write-out.md \ ++ xattr.md +diff --git a/docs/cmdline-opts/_AUTHORS.md b/docs/cmdline-opts/_AUTHORS.md +new file mode 100644 +index 0000000..0c9bfb9 +--- /dev/null ++++ b/docs/cmdline-opts/_AUTHORS.md +@@ -0,0 +1,5 @@ ++ ++ ++# AUTHORS ++Daniel Stenberg is the main author, but the whole list of contributors is ++found in the separate THANKS file. +diff --git a/docs/cmdline-opts/_BUGS.md b/docs/cmdline-opts/_BUGS.md +new file mode 100644 +index 0000000..45630d4 +--- /dev/null ++++ b/docs/cmdline-opts/_BUGS.md +@@ -0,0 +1,5 @@ ++ ++ ++# BUGS ++If you experience any problems with curl, submit an issue in the project's bug ++tracker on GitHub: https://github.com/curl/curl/issues +diff --git a/docs/cmdline-opts/_DESCRIPTION.md b/docs/cmdline-opts/_DESCRIPTION.md +new file mode 100644 +index 0000000..3e06c1b +--- /dev/null ++++ b/docs/cmdline-opts/_DESCRIPTION.md +@@ -0,0 +1,11 @@ ++ ++ ++# DESCRIPTION ++ ++**curl** is a tool for transferring data from or to a server using URLs. It ++supports these protocols: DICT, FILE, FTP, FTPS, GOPHER, GOPHERS, HTTP, HTTPS, ++IMAP, IMAPS, LDAP, LDAPS, MQTT, POP3, POP3S, RTMP, RTMPS, RTSP, SCP, SFTP, ++SMB, SMBS, SMTP, SMTPS, TELNET, TFTP, WS and WSS. ++ ++curl is powered by libcurl for all transfer-related features. See ++*libcurl(3)* for details. +diff --git a/docs/cmdline-opts/_ENVIRONMENT.md b/docs/cmdline-opts/_ENVIRONMENT.md +new file mode 100644 +index 0000000..af60ac8 +--- /dev/null ++++ b/docs/cmdline-opts/_ENVIRONMENT.md +@@ -0,0 +1,114 @@ ++ ++ ++# ENVIRONMENT ++The environment variables can be specified in lower case or upper case. The ++lower case version has precedence. `http_proxy` is an exception as it is only ++available in lower case. ++ ++Using an environment variable to set the proxy has the same effect as using ++the --proxy option. ++ ++## `http_proxy` [protocol://][:port] ++Sets the proxy server to use for HTTP. ++ ++## `HTTPS_PROXY` [protocol://][:port] ++Sets the proxy server to use for HTTPS. ++ ++## `[url-protocol]_PROXY` [protocol://][:port] ++Sets the proxy server to use for [url-protocol], where the protocol is a ++protocol that curl supports and as specified in a URL. FTP, FTPS, POP3, IMAP, ++SMTP, LDAP, etc. ++ ++## `ALL_PROXY` [protocol://][:port] ++Sets the proxy server to use if no protocol-specific proxy is set. ++ ++## `NO_PROXY` ++list of hostnames that should not go through any proxy. If set to an asterisk ++'*' only, it matches all hosts. Each name in this list is matched as either a ++domain name which contains the hostname, or the hostname itself. ++ ++This environment variable disables use of the proxy even when specified with ++the --proxy option. That is ++ ++ NO_PROXY=direct.example.com curl -x http://proxy.example.com ++ http://direct.example.com ++ ++accesses the target URL directly, and ++ ++ NO_PROXY=direct.example.com curl -x http://proxy.example.com ++ http://somewhere.example.com ++ ++accesses the target URL through the proxy. ++ ++The list of hostnames can also be include numerical IP addresses, and IPv6 ++versions should then be given without enclosing brackets. ++ ++IP addresses can be specified using CIDR notation: an appended slash and ++number specifies the number of "network bits" out of the address to use in the ++comparison (added in 7.86.0). For example "192.168.0.0/16" would match all ++addresses starting with "192.168". ++ ++## `APPDATA` ++On Windows, this variable is used when trying to find the home directory. If ++the primary home variable are all unset. ++ ++## `COLUMNS` ++If set, the specified number of characters is used as the terminal width when ++the alternative progress-bar is shown. If not set, curl tries to figure it out ++using other ways. ++ ++## `CURL_CA_BUNDLE` ++If set, it is used as the --cacert value. This environment variable is ignored ++if Schannel is used as the TLS backend. ++ ++## `CURL_HOME` ++If set, is the first variable curl checks when trying to find its home ++directory. If not set, it continues to check *XDG_CONFIG_HOME* ++ ++## `CURL_SSL_BACKEND` ++If curl was built with support for "MultiSSL", meaning that it has built-in ++support for more than one TLS backend, this environment variable can be set to ++the case insensitive name of the particular backend to use when curl is ++invoked. Setting a name that is not a built-in alternative makes curl stay ++with the default. ++ ++SSL backend names (case-insensitive): **bearssl**, **gnutls**, **mbedtls**, ++**openssl**, **rustls**, **schannel**, **secure-transport**, **wolfssl** ++ ++## `HOME` ++If set, this is used to find the home directory when that is needed. Like when ++looking for the default .curlrc. *CURL_HOME* and *XDG_CONFIG_HOME* ++have preference. ++ ++## `QLOGDIR` ++If curl was built with HTTP/3 support, setting this environment variable to a ++local directory makes curl produce **qlogs** in that directory, using file ++names named after the destination connection id (in hex). Do note that these ++files can become rather large. Works with the ngtcp2 and quiche QUIC backends. ++ ++## `SHELL` ++Used on VMS when trying to detect if using a **DCL** or a **unix** shell. ++ ++## `SSL_CERT_DIR` ++If set, it is used as the --capath value. This environment variable is ignored ++if Schannel is used as the TLS backend. ++ ++## `SSL_CERT_FILE` ++If set, it is used as the --cacert value. This environment variable is ignored ++if Schannel is used as the TLS backend. ++ ++## `SSLKEYLOGFILE` ++If you set this environment variable to a filename, curl stores TLS secrets ++from its connections in that file when invoked to enable you to analyze the ++TLS traffic in real time using network analyzing tools such as Wireshark. This ++works with the following TLS backends: OpenSSL, libressl, BoringSSL, GnuTLS ++and wolfSSL. ++ ++## `USERPROFILE` ++On Windows, this variable is used when trying to find the home directory. If ++the other, primary, variable are all unset. If set, curl uses the path ++**"$USERPROFILE\Application Data"**. ++ ++## `XDG_CONFIG_HOME` ++If *CURL_HOME* is not set, this variable is checked when looking for a ++default .curlrc file. +diff --git a/docs/cmdline-opts/_EXITCODES.md b/docs/cmdline-opts/_EXITCODES.md +new file mode 100644 +index 0000000..c5a928b +--- /dev/null ++++ b/docs/cmdline-opts/_EXITCODES.md +@@ -0,0 +1,203 @@ ++ ++ ++# EXIT CODES ++There are a bunch of different error codes and their corresponding error ++messages that may appear under error conditions. At the time of this writing, ++the exit codes are: ++## 0 ++Success. The operation completed successfully according to the instructions. ++## 1 ++Unsupported protocol. This build of curl has no support for this protocol. ++## 2 ++Failed to initialize. ++## 3 ++URL malformed. The syntax was not correct. ++## 4 ++A feature or option that was needed to perform the desired request was not ++enabled or was explicitly disabled at build-time. To make curl able to do ++this, you probably need another build of libcurl. ++## 5 ++Could not resolve proxy. The given proxy host could not be resolved. ++## 6 ++Could not resolve host. The given remote host could not be resolved. ++## 7 ++Failed to connect to host. ++## 8 ++Weird server reply. The server sent data curl could not parse. ++## 9 ++FTP access denied. The server denied login or denied access to the particular ++resource or directory you wanted to reach. Most often you tried to change to a ++directory that does not exist on the server. ++## 10 ++FTP accept failed. While waiting for the server to connect back when an active ++FTP session is used, an error code was sent over the control connection or ++similar. ++## 11 ++FTP weird PASS reply. Curl could not parse the reply sent to the PASS request. ++## 12 ++During an active FTP session while waiting for the server to connect back to ++curl, the timeout expired. ++## 13 ++FTP weird PASV reply, Curl could not parse the reply sent to the PASV request. ++## 14 ++FTP weird 227 format. Curl could not parse the 227-line the server sent. ++## 15 ++FTP cannot use host. Could not resolve the host IP we got in the 227-line. ++## 16 ++HTTP/2 error. A problem was detected in the HTTP2 framing layer. This is ++somewhat generic and can be one out of several problems, see the error message ++for details. ++## 17 ++FTP could not set binary. Could not change transfer method to binary. ++## 18 ++Partial file. Only a part of the file was transferred. ++## 19 ++FTP could not download/access the given file, the RETR (or similar) command ++failed. ++## 21 ++FTP quote error. A quote command returned error from the server. ++## 22 ++HTTP page not retrieved. The requested URL was not found or returned another ++error with the HTTP error code being 400 or above. This return code only ++appears if --fail is used. ++## 23 ++Write error. Curl could not write data to a local filesystem or similar. ++## 25 ++Failed starting the upload. For FTP, the server typically denied the STOR ++command. ++## 26 ++Read error. Various reading problems. ++## 27 ++Out of memory. A memory allocation request failed. ++## 28 ++Operation timeout. The specified time-out period was reached according to the ++conditions. ++## 30 ++FTP PORT failed. The PORT command failed. Not all FTP servers support the PORT ++command, try doing a transfer using PASV instead. ++## 31 ++FTP could not use REST. The REST command failed. This command is used for ++resumed FTP transfers. ++## 33 ++HTTP range error. The range "command" did not work. ++## 34 ++HTTP post error. Internal post-request generation error. ++## 35 ++SSL connect error. The SSL handshaking failed. ++## 36 ++Bad download resume. Could not continue an earlier aborted download. ++## 37 ++FILE could not read file. Failed to open the file. Permissions? ++## 38 ++LDAP cannot bind. LDAP bind operation failed. ++## 39 ++LDAP search failed. ++## 41 ++Function not found. A required LDAP function was not found. ++## 42 ++Aborted by callback. An application told curl to abort the operation. ++## 43 ++Internal error. A function was called with a bad parameter. ++## 45 ++Interface error. A specified outgoing interface could not be used. ++## 47 ++Too many redirects. When following redirects, curl hit the maximum amount. ++## 48 ++Unknown option specified to libcurl. This indicates that you passed a weird ++option to curl that was passed on to libcurl and rejected. Read up in the ++manual! ++## 49 ++Malformed telnet option. ++## 52 ++The server did not reply anything, which here is considered an error. ++## 53 ++SSL crypto engine not found. ++## 54 ++Cannot set SSL crypto engine as default. ++## 55 ++Failed sending network data. ++## 56 ++Failure in receiving network data. ++## 58 ++Problem with the local certificate. ++## 59 ++Could not use specified SSL cipher. ++## 60 ++Peer certificate cannot be authenticated with known CA certificates. ++## 61 ++Unrecognized transfer encoding. ++## 63 ++Maximum file size exceeded. ++## 64 ++Requested FTP SSL level failed. ++## 65 ++Sending the data requires a rewind that failed. ++## 66 ++Failed to initialize SSL Engine. ++## 67 ++The username, password, or similar was not accepted and curl failed to log in. ++## 68 ++File not found on TFTP server. ++## 69 ++Permission problem on TFTP server. ++## 70 ++Out of disk space on TFTP server. ++## 71 ++Illegal TFTP operation. ++## 72 ++Unknown TFTP transfer ID. ++## 73 ++File already exists (TFTP). ++## 74 ++No such user (TFTP). ++## 77 ++Problem reading the SSL CA cert (path? access rights?). ++## 78 ++The resource referenced in the URL does not exist. ++## 79 ++An unspecified error occurred during the SSH session. ++## 80 ++Failed to shut down the SSL connection. ++## 82 ++Could not load CRL file, missing or wrong format (added in 7.19.0). ++## 83 ++Issuer check failed (added in 7.19.0). ++## 84 ++The FTP PRET command failed. ++## 85 ++Mismatch of RTSP CSeq numbers. ++## 86 ++Mismatch of RTSP Session Identifiers. ++## 87 ++Unable to parse FTP file list. ++## 88 ++FTP chunk callback reported error. ++## 89 ++No connection available, the session is queued. ++## 90 ++SSL public key does not matched pinned public key. ++## 91 ++Invalid SSL certificate status. ++## 92 ++Stream error in HTTP/2 framing layer. ++## 93 ++An API function was called from inside a callback. ++## 94 ++An authentication function returned an error. ++## 95 ++A problem was detected in the HTTP/3 layer. This is somewhat generic and can ++be one out of several problems, see the error message for details. ++## 96 ++QUIC connection error. This error may be caused by an SSL library error. QUIC ++is the protocol used for HTTP/3 transfers. ++## 97 ++Proxy handshake error. ++## 98 ++A client-side certificate is required to complete the TLS handshake. ++## 99 ++Poll or select returned fatal error. ++## 100 ++A value or data field grew larger than allowed. ++## XX ++More error codes might appear here in future releases. The existing ones are ++meant to never change. +diff --git a/docs/cmdline-opts/_FILES.md b/docs/cmdline-opts/_FILES.md +new file mode 100644 +index 0000000..8c5d3fa +--- /dev/null ++++ b/docs/cmdline-opts/_FILES.md +@@ -0,0 +1,6 @@ ++ ++ ++# FILES ++*~/.curlrc* ++ ++Default config file, see --config for details. +diff --git a/docs/cmdline-opts/_GLOBBING.md b/docs/cmdline-opts/_GLOBBING.md +new file mode 100644 +index 0000000..282356c +--- /dev/null ++++ b/docs/cmdline-opts/_GLOBBING.md +@@ -0,0 +1,40 @@ ++ ++ ++# GLOBBING ++You can specify multiple URLs or parts of URLs by writing lists within braces ++or ranges within brackets. We call this "globbing". ++ ++Provide a list with three different names like this: ++ ++ "http://site.{one,two,three}.com" ++ ++Do sequences of alphanumeric series by using [] as in: ++ ++ "ftp://ftp.example.com/file[1-100].txt" ++ ++With leading zeroes: ++ ++ "ftp://ftp.example.com/file[001-100].txt" ++ ++With letters through the alphabet: ++ ++ "ftp://ftp.example.com/file[a-z].txt" ++ ++Nested sequences are not supported, but you can use several ones next to each ++other: ++ ++ "http://example.com/archive[1996-1999]/vol[1-4]/part{a,b,c}.html" ++ ++You can specify a step counter for the ranges to get every Nth number or ++letter: ++ ++ "http://example.com/file[1-100:10].txt" ++ ++ "http://example.com/file[a-z:2].txt" ++ ++When using [] or {} sequences when invoked from a command line prompt, you ++probably have to put the full URL within double quotes to avoid the shell from ++interfering with it. This also goes for other characters treated special, like ++for example '&', '?' and '*'. ++ ++Switch off globbing with --globoff. +diff --git a/docs/cmdline-opts/_NAME.md b/docs/cmdline-opts/_NAME.md +new file mode 100644 +index 0000000..b0d8916 +--- /dev/null ++++ b/docs/cmdline-opts/_NAME.md +@@ -0,0 +1,4 @@ ++ ++ ++# NAME ++curl - transfer a URL +diff --git a/docs/cmdline-opts/_OPTIONS.md b/docs/cmdline-opts/_OPTIONS.md +new file mode 100644 +index 0000000..106298e +--- /dev/null ++++ b/docs/cmdline-opts/_OPTIONS.md +@@ -0,0 +1,26 @@ ++ ++ ++# OPTIONS ++Options start with one or two dashes. Many of the options require an ++additional value next to them. If provided text does not start with a dash, it ++is presumed to be and treated as a URL. ++ ++The short "single-dash" form of the options, -d for example, may be used with ++or without a space between it and its value, although a space is a recommended ++separator. The long double-dash form, --data for example, requires a space ++between it and its value. ++ ++Short version options that do not need any additional values can be used ++immediately next to each other, like for example you can specify all the ++options *-O*, *-L* and *-v* at once as *-OLv*. ++ ++In general, all boolean options are enabled with --**option** and yet again ++disabled with --**no-**option. That is, you use the same option name but ++prefix it with `no-`. However, in this list we mostly only list and show the ++--**option** version of them. ++ ++When --next is used, it resets the parser state and you start again with a ++clean option state, except for the options that are global. Global options ++retain their values and meaning even after --next. ++ ++The following options are global: `%GLOBALS`. +diff --git a/docs/cmdline-opts/_OUTPUT.md b/docs/cmdline-opts/_OUTPUT.md +new file mode 100644 +index 0000000..32a5457 +--- /dev/null ++++ b/docs/cmdline-opts/_OUTPUT.md +@@ -0,0 +1,11 @@ ++ ++ ++# OUTPUT ++If not told otherwise, curl writes the received data to stdout. It can be ++instructed to instead save that data into a local file, using the --output or ++--remote-name options. If curl is given multiple URLs to transfer on the ++command line, it similarly needs multiple options for where to save them. ++ ++curl does not parse or otherwise "understand" the content it gets or writes as ++output. It does no encoding or decoding, unless explicitly asked to with ++dedicated command line options. +diff --git a/docs/cmdline-opts/_PROGRESS.md b/docs/cmdline-opts/_PROGRESS.md +new file mode 100644 +index 0000000..4cbbd8e +--- /dev/null ++++ b/docs/cmdline-opts/_PROGRESS.md +@@ -0,0 +1,25 @@ ++ ++ ++# PROGRESS METER ++ ++curl normally displays a progress meter during operations, indicating the ++amount of transferred data, transfer speeds and estimated time left, etc. The ++progress meter displays the transfer rate in bytes per second. The suffixes ++(k, M, G, T, P) are 1024 based. For example 1k is 1024 bytes. 1M is 1048576 ++bytes. ++ ++curl displays this data to the terminal by default, so if you invoke curl to ++do an operation and it is about to write data to the terminal, it *disables* ++the progress meter as otherwise it would mess up the output mixing progress ++meter and response data. ++ ++If you want a progress meter for HTTP POST or PUT requests, you need to ++redirect the response output to a file, using shell redirect (\>), --output ++or similar. ++ ++This does not apply to FTP upload as that operation does not spit out any ++response data to the terminal. ++ ++If you prefer a progress bar instead of the regular meter, --progress-bar is ++your friend. You can also disable the progress meter completely with the ++--silent option. +diff --git a/docs/cmdline-opts/_PROTOCOLS.md b/docs/cmdline-opts/_PROTOCOLS.md +new file mode 100644 +index 0000000..0d4c237 +--- /dev/null ++++ b/docs/cmdline-opts/_PROTOCOLS.md +@@ -0,0 +1,51 @@ ++ ++ ++# PROTOCOLS ++curl supports numerous protocols, or put in URL terms: schemes. Your ++particular build may not support them all. ++## DICT ++Lets you lookup words using online dictionaries. ++## FILE ++Read or write local files. curl does not support accessing file:// URL ++remotely, but when running on Microsoft Windows using the native UNC approach ++works. ++## FTP(S) ++curl supports the File Transfer Protocol with a lot of tweaks and levers. With ++or without using TLS. ++## GOPHER(S) ++Retrieve files. ++## HTTP(S) ++curl supports HTTP with numerous options and variations. It can speak HTTP ++version 0.9, 1.0, 1.1, 2 and 3 depending on build options and the correct ++command line options. ++## IMAP(S) ++Using the mail reading protocol, curl can download emails for you. With or ++without using TLS. ++## LDAP(S) ++curl can do directory lookups for you, with or without TLS. ++## MQTT ++curl supports MQTT version 3. Downloading over MQTT equals subscribe to a ++topic while uploading/posting equals publish on a topic. MQTT over TLS is not ++supported (yet). ++## POP3(S) ++Downloading from a pop3 server means getting a mail. With or without using ++TLS. ++## RTMP(S) ++The **Realtime Messaging Protocol** is primarily used to serve streaming media ++and curl can download it. ++## RTSP ++curl supports RTSP 1.0 downloads. ++## SCP ++curl supports SSH version 2 scp transfers. ++## SFTP ++curl supports SFTP (draft 5) done over SSH version 2. ++## SMB(S) ++curl supports SMB version 1 for upload and download. ++## SMTP(S) ++Uploading contents to an SMTP server means sending an email. With or without ++TLS. ++## TELNET ++Fetching a telnet URL starts an interactive session where it sends what it ++reads on stdin and outputs what the server sends it. ++## TFTP ++curl can do TFTP downloads and uploads. +diff --git a/docs/cmdline-opts/_PROXYPREFIX.md b/docs/cmdline-opts/_PROXYPREFIX.md +new file mode 100644 +index 0000000..297b56c +--- /dev/null ++++ b/docs/cmdline-opts/_PROXYPREFIX.md +@@ -0,0 +1,22 @@ ++ ++ ++# PROXY PROTOCOL PREFIXES ++The proxy string may be specified with a protocol:// prefix to specify ++alternative proxy protocols. (Added in 7.21.7) ++ ++If no protocol is specified in the proxy string or if the string does not ++match a supported one, the proxy is treated as an HTTP proxy. ++ ++The supported proxy protocol prefixes are as follows: ++## http:// ++Makes it use it as an HTTP proxy. The default if no scheme prefix is used. ++## https:// ++Makes it treated as an **HTTPS** proxy. ++## socks4:// ++Makes it the equivalent of --socks4 ++## socks4a:// ++Makes it the equivalent of --socks4a ++## socks5:// ++Makes it the equivalent of --socks5 ++## socks5h:// ++Makes it the equivalent of --socks5-hostname +diff --git a/docs/cmdline-opts/_SEEALSO.md b/docs/cmdline-opts/_SEEALSO.md +new file mode 100644 +index 0000000..f4d0b55 +--- /dev/null ++++ b/docs/cmdline-opts/_SEEALSO.md +@@ -0,0 +1,5 @@ ++ ++ ++# SEE ALSO ++ ++**ftp (1)**, **wget (1)** +diff --git a/docs/cmdline-opts/_SYNOPSIS.md b/docs/cmdline-opts/_SYNOPSIS.md +new file mode 100644 +index 0000000..3815877 +--- /dev/null ++++ b/docs/cmdline-opts/_SYNOPSIS.md +@@ -0,0 +1,5 @@ ++ ++ ++# SYNOPSIS ++ ++**curl [options / URLs]** +diff --git a/docs/cmdline-opts/_URL.md b/docs/cmdline-opts/_URL.md +new file mode 100644 +index 0000000..48ae02a +--- /dev/null ++++ b/docs/cmdline-opts/_URL.md +@@ -0,0 +1,28 @@ ++ ++ ++# URL ++The URL syntax is protocol-dependent. You find a detailed description in ++RFC 3986. ++ ++If you provide a URL without a leading **protocol://** scheme, curl guesses ++what protocol you want. It then defaults to HTTP but assumes others based on ++often-used hostname prefixes. For example, for hostnames starting with `ftp.` ++curl assumes you want FTP. ++ ++You can specify any amount of URLs on the command line. They are fetched in a ++sequential manner in the specified order unless you use --parallel. You can ++specify command line options and URLs mixed and in any order on the command ++line. ++ ++curl attempts to reuse connections when doing multiple transfers, so that ++getting many files from the same server do not use multiple connects and setup ++handshakes. This improves speed. Connection reuse can only be done for URLs ++specified for a single command line invocation and cannot be performed between ++separate curl runs. ++ ++Provide an IPv6 zone id in the URL with an escaped percentage sign. Like in ++ ++ "http://[fe80::3%25eth0]/" ++ ++Everything provided on the command line that is not a command line option or ++its argument, curl assumes is a URL and treats it as such. +diff --git a/docs/cmdline-opts/_VARIABLES.md b/docs/cmdline-opts/_VARIABLES.md +new file mode 100644 +index 0000000..aa6a8ae +--- /dev/null ++++ b/docs/cmdline-opts/_VARIABLES.md +@@ -0,0 +1,44 @@ ++ ++ ++# VARIABLES ++curl supports command line variables (added in 8.3.0). Set variables with ++--variable name=content or --variable name@file (where `file` can be stdin if ++set to a single dash (-)). ++ ++Variable contents can be expanded in option parameters using `{{name}}` if the ++option name is prefixed with `--expand-`. This gets the contents of the ++variable `name` inserted, or a blank if the name does not exist as a ++variable. Insert `{{` verbatim in the string by prefixing it with a backslash, ++like `\{{`. ++ ++You an access and expand environment variables by first importing them. You ++can select to either require the environment variable to be set or you can ++provide a default value in case it is not already set. Plain --variable %name ++imports the variable called 'name' but exits with an error if that environment ++variable is not already set. To provide a default value if it is not set, use ++--variable %name=content or --variable %name@content. ++ ++Example. Get the USER environment variable into the URL, fail if USER is not ++set: ++ ++ --variable '%USER' ++ --expand-url = "https://example.com/api/{{USER}}/method" ++ ++When expanding variables, curl supports a set of functions that can make the ++variable contents more convenient to use. It can trim leading and trailing ++white space with `trim`, it can output the contents as a JSON quoted string ++with `json`, URL encode the string with `url` or base64 encode it with `b64`. ++To apply functions to a variable expansion, add them colon separated to the ++right side of the variable. Variable content holding null bytes that are not ++encoded when expanded cause error. ++ ++Example: get the contents of a file called $HOME/.secret into a variable ++called "fix". Make sure that the content is trimmed and percent-encoded when ++sent as POST data: ++ ++ --variable %HOME ++ --expand-variable fix@{{HOME}}/.secret ++ --expand-data "{{fix:trim:url}}" ++ https://example.com/ ++ ++Command line variables and expansions were added in 8.3.0. +diff --git a/docs/cmdline-opts/_VERSION.md b/docs/cmdline-opts/_VERSION.md +new file mode 100644 +index 0000000..e0228fe +--- /dev/null ++++ b/docs/cmdline-opts/_VERSION.md +@@ -0,0 +1,15 @@ ++ ++ ++# VERSION ++ ++This man page describes curl `%VERSION`. If you use a later version, chances ++are this man page does not fully document it. If you use an earlier version, ++this document tries to include version information about which specific ++version that introduced changes. ++ ++You can always learn which the latest curl version is by running ++ ++ curl https://curl.se/info ++ ++The online version of this man page is always showing the latest incarnation: ++https://curl.se/docs/manpage.html +diff --git a/docs/cmdline-opts/_WWW.md b/docs/cmdline-opts/_WWW.md +new file mode 100644 +index 0000000..35d9466 +--- /dev/null ++++ b/docs/cmdline-opts/_WWW.md +@@ -0,0 +1,4 @@ ++ ++ ++# WWW ++https://curl.se +diff --git a/docs/cmdline-opts/abstract-unix-socket.md b/docs/cmdline-opts/abstract-unix-socket.md +new file mode 100644 +index 0000000..7078e64 +--- /dev/null ++++ b/docs/cmdline-opts/abstract-unix-socket.md +@@ -0,0 +1,21 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: abstract-unix-socket ++Arg: ++Help: Connect via abstract Unix domain socket ++Added: 7.53.0 ++Protocols: HTTP ++Category: connection ++Multi: single ++See-also: ++ - unix-socket ++Example: ++ - --abstract-unix-socket socketpath $URL ++--- ++ ++# `--abstract-unix-socket` ++ ++Connect through an abstract Unix domain socket, instead of using the network. ++Note: netstat shows the path of an abstract socket prefixed with `@`, however ++the \ argument should not have this leading character. +diff --git a/docs/cmdline-opts/alt-svc.md b/docs/cmdline-opts/alt-svc.md +new file mode 100644 +index 0000000..257f4d5 +--- /dev/null ++++ b/docs/cmdline-opts/alt-svc.md +@@ -0,0 +1,28 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: alt-svc ++Arg: ++Protocols: HTTPS ++Help: Enable alt-svc with this cache file ++Added: 7.64.1 ++Category: http ++Multi: append ++See-also: ++ - resolve ++ - connect-to ++Example: ++ - --alt-svc svc.txt $URL ++--- ++ ++# `--alt-svc` ++ ++Enable the alt-svc parser. If the filename points to an existing alt-svc cache ++file, that gets used. After a completed transfer, the cache is saved to the ++filename again if it has been modified. ++ ++Specify a "" filename (zero length) to avoid loading/saving and make curl just ++handle the cache in memory. ++ ++If this option is used several times, curl loads contents from all the ++files but the last one is used for saving. +diff --git a/docs/cmdline-opts/anyauth.md b/docs/cmdline-opts/anyauth.md +new file mode 100644 +index 0000000..31b27c4 +--- /dev/null ++++ b/docs/cmdline-opts/anyauth.md +@@ -0,0 +1,30 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: anyauth ++Help: Pick any authentication method ++Protocols: HTTP ++Category: http proxy auth ++Added: 7.10.6 ++Multi: mutex ++See-also: ++ - proxy-anyauth ++ - basic ++ - digest ++Example: ++ - --anyauth --user me:pwd $URL ++--- ++ ++# `--anyauth` ++ ++Figure out authentication method automatically, and use the most secure one ++the remote site claims to support. This is done by first doing a request and ++checking the response-headers, thus possibly inducing an extra network ++round-trip. This option is used instead of setting a specific authentication ++method, which you can do with --basic, --digest, --ntlm, and --negotiate. ++ ++Using --anyauth is not recommended if you do uploads from stdin, since it may ++require data to be sent twice and then the client must be able to rewind. If ++the need should arise when uploading from stdin, the upload operation fails. ++ ++Used together with --user. +diff --git a/docs/cmdline-opts/append.md b/docs/cmdline-opts/append.md +new file mode 100644 +index 0000000..3d0030d +--- /dev/null ++++ b/docs/cmdline-opts/append.md +@@ -0,0 +1,23 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Short: a ++Long: append ++Help: Append to target file when uploading ++Protocols: FTP SFTP ++Category: ftp sftp ++Added: 4.8 ++Multi: boolean ++See-also: ++ - range ++ - continue-at ++Example: ++ - --upload-file local --append ftp://example.com/ ++--- ++ ++# `--append` ++ ++When used in an upload, this option makes curl append to the target file ++instead of overwriting it. If the remote file does not exist, it is ++created. Note that this flag is ignored by some SFTP servers (including ++OpenSSH). +diff --git a/docs/cmdline-opts/aws-sigv4.md b/docs/cmdline-opts/aws-sigv4.md +new file mode 100644 +index 0000000..517cc1c +--- /dev/null ++++ b/docs/cmdline-opts/aws-sigv4.md +@@ -0,0 +1,30 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: aws-sigv4 ++Protocols: HTTP ++Arg: ++Help: AWS V4 signature auth ++Category: auth http ++Added: 7.75.0 ++Multi: single ++See-also: ++ - basic ++ - user ++Example: ++ - --aws-sigv4 "aws:amz:us-east-2:es" --user "key:secret" $URL ++--- ++ ++# `--aws-sigv4` ++ ++Use AWS V4 signature authentication in the transfer. ++ ++The provider argument is a string that is used by the algorithm when creating ++outgoing authentication headers. ++ ++The region argument is a string that points to a geographic area of ++a resources collection (region-code) when the region name is omitted from ++the endpoint. ++ ++The service argument is a string that points to a function provided by a cloud ++(service-code) when the service name is omitted from the endpoint. +diff --git a/docs/cmdline-opts/basic.md b/docs/cmdline-opts/basic.md +new file mode 100644 +index 0000000..16acd4c +--- /dev/null ++++ b/docs/cmdline-opts/basic.md +@@ -0,0 +1,23 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: basic ++Help: HTTP Basic Authentication ++Protocols: HTTP ++Category: auth ++Added: 7.10.6 ++Multi: mutex ++See-also: ++ - proxy-basic ++Example: ++ - -u name:password --basic $URL ++--- ++ ++# `--basic` ++ ++Use HTTP Basic authentication with the remote host. This method is the default ++and this option is usually pointless, unless you use it to override a ++previously set option that sets a different authentication method (such as ++--ntlm, --digest, or --negotiate). ++ ++Used together with --user. +diff --git a/docs/cmdline-opts/ca-native.md b/docs/cmdline-opts/ca-native.md +new file mode 100644 +index 0000000..a771a7a +--- /dev/null ++++ b/docs/cmdline-opts/ca-native.md +@@ -0,0 +1,28 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: ca-native ++Help: Load CA certs from the OS ++Protocols: TLS ++Category: tls ++Added: 8.2.0 ++Multi: boolean ++See-also: ++ - cacert ++ - capath ++ - insecure ++Example: ++ - --ca-native $URL ++--- ++ ++# `--ca-native` ++ ++Use the CA store from the native operating system to verify the peer. By ++default, curl otherwise uses a CA store provided in a single file or ++directory, but when using this option it interfaces the operating system's own ++vault. ++ ++This option works for curl on Windows when built to use OpenSSL, wolfSSL ++(added in 8.3.0) or GnuTLS (added in 8.5.0). When curl on Windows is built to ++use Schannel, this feature is implied and curl then only uses the native CA ++store. +diff --git a/docs/cmdline-opts/cacert.md b/docs/cmdline-opts/cacert.md +new file mode 100644 +index 0000000..3268f96 +--- /dev/null ++++ b/docs/cmdline-opts/cacert.md +@@ -0,0 +1,42 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: cacert ++Arg: ++Help: CA certificate to verify peer against ++Protocols: TLS ++Category: tls ++Added: 7.5 ++Multi: single ++See-also: ++ - capath ++ - insecure ++Example: ++ - --cacert CA-file.txt $URL ++--- ++ ++# `--cacert` ++ ++Use the specified certificate file to verify the peer. The file may contain ++multiple CA certificates. The certificate(s) must be in PEM format. Normally ++curl is built to use a default file for this, so this option is typically used ++to alter that default file. ++ ++curl recognizes the environment variable named 'CURL_CA_BUNDLE' if it is set ++and the TLS backend is not Schannel, and uses the given path as a path to a CA ++cert bundle. This option overrides that variable. ++ ++The windows version of curl automatically looks for a CA certs file named ++'curl-ca-bundle.crt', either in the same directory as curl.exe, or in the ++Current Working Directory, or in any folder along your PATH. ++ ++(iOS and macOS only) If curl is built against Secure Transport, then this ++option is supported for backward compatibility with other SSL engines, but it ++should not be set. If the option is not set, then curl uses the certificates ++in the system and user Keychain to verify the peer, which is the preferred ++method of verifying the peer's certificate chain. ++ ++(Schannel only) This option is supported for Schannel in Windows 7 or later ++(added in 7.60.0). This option is supported for backward compatibility with ++other SSL engines; instead it is recommended to use Windows' store of root ++certificates (the default for Schannel). +diff --git a/docs/cmdline-opts/capath.md b/docs/cmdline-opts/capath.md +new file mode 100644 +index 0000000..58919dd +--- /dev/null ++++ b/docs/cmdline-opts/capath.md +@@ -0,0 +1,28 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: capath ++Arg: ++Help: CA directory to verify peer against ++Protocols: TLS ++Category: tls ++Added: 7.9.8 ++Multi: single ++See-also: ++ - cacert ++ - insecure ++Example: ++ - --capath /local/directory $URL ++--- ++ ++# `--capath` ++ ++Use the specified certificate directory to verify the peer. Multiple paths can ++be provided by separated with colon (`:`) (e.g. `path1:path2:path3`). The ++certificates must be in PEM format, and if curl is built against OpenSSL, the ++directory must have been processed using the c_rehash utility supplied with ++OpenSSL. Using --capath can allow OpenSSL-powered curl to make SSL-connections ++much more efficiently than using --cacert if the --cacert file contains many ++CA certificates. ++ ++If this option is set, the default capath value is ignored. +diff --git a/docs/cmdline-opts/cert-status.md b/docs/cmdline-opts/cert-status.md +new file mode 100644 +index 0000000..8b6e57b +--- /dev/null ++++ b/docs/cmdline-opts/cert-status.md +@@ -0,0 +1,25 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: cert-status ++Protocols: TLS ++Added: 7.41.0 ++Help: Verify server cert status OCSP-staple ++Category: tls ++Multi: boolean ++See-also: ++ - pinnedpubkey ++Example: ++ - --cert-status $URL ++--- ++ ++# `--cert-status` ++ ++Verify the status of the server certificate by using the Certificate Status ++Request (aka. OCSP stapling) TLS extension. ++ ++If this option is enabled and the server sends an invalid (e.g. expired) ++response, if the response suggests that the server certificate has been ++revoked, or no response at all is received, the verification fails. ++ ++This support is currently only implemented in the OpenSSL and GnuTLS backends. +diff --git a/docs/cmdline-opts/cert-type.md b/docs/cmdline-opts/cert-type.md +new file mode 100644 +index 0000000..d78ab8f +--- /dev/null ++++ b/docs/cmdline-opts/cert-type.md +@@ -0,0 +1,26 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: cert-type ++Protocols: TLS ++Arg: ++Help: Certificate type (DER/PEM/ENG/P12) ++Category: tls ++Added: 7.9.3 ++Multi: single ++See-also: ++ - cert ++ - key ++ - key-type ++Example: ++ - --cert-type PEM --cert file $URL ++--- ++ ++# `--cert-type` ++ ++Set type of the provided client certificate. PEM, DER, ENG and P12 are ++recognized types. ++ ++The default type depends on the TLS backend and is usually PEM, however for ++Secure Transport and Schannel it is P12. If --cert is a pkcs11: URI then ENG is ++the default type. +diff --git a/docs/cmdline-opts/cert.md b/docs/cmdline-opts/cert.md +new file mode 100644 +index 0000000..715fcb8 +--- /dev/null ++++ b/docs/cmdline-opts/cert.md +@@ -0,0 +1,56 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Short: E ++Long: cert ++Arg: ++Help: Client certificate file and password ++Protocols: TLS ++Category: tls ++Added: 5.0 ++Multi: single ++See-also: ++ - cert-type ++ - key ++ - key-type ++Example: ++ - --cert certfile --key keyfile $URL ++--- ++ ++# `--cert` ++ ++Use the specified client certificate file when getting a file with HTTPS, FTPS ++or another SSL-based protocol. The certificate must be in PKCS#12 format if ++using Secure Transport, or PEM format if using any other engine. If the ++optional password is not specified, it is queried for on the terminal. Note ++that this option assumes a certificate file that is the private key and the ++client certificate concatenated. See --cert and --key to specify them ++independently. ++ ++In the \ portion of the argument, you must escape the character ++`:` as `\:` so that it is not recognized as the password delimiter. Similarly, ++you must escape the double quote character as \" so that it is not recognized ++as an escape character. ++ ++If curl is built against OpenSSL library, and the engine pkcs11 is available, ++then a PKCS#11 URI (RFC 7512) can be used to specify a certificate located in ++a PKCS#11 device. A string beginning with `pkcs11:` is interpreted as a ++PKCS#11 URI. If a PKCS#11 URI is provided, then the --engine option is set as ++`pkcs11` if none was provided and the --cert-type option is set as `ENG` if ++none was provided. ++ ++(iOS and macOS only) If curl is built against Secure Transport, then the ++certificate string can either be the name of a certificate/private key in the ++system or user keychain, or the path to a PKCS#12-encoded certificate and ++private key. If you want to use a file from the current directory, please ++precede it with `./` prefix, in order to avoid confusion with a nickname. ++ ++(Schannel only) Client certificates must be specified by a path expression to ++a certificate store. (Loading *PFX* is not supported; you can import it to a ++store first). You can use "\\\\\" ++to refer to a certificate in the system certificates store, for example, ++*"CurrentUser\MY\934a7ac6f8a5d579285a74fa61e19f23ddfe8d7a"*. Thumbprint is ++usually a SHA-1 hex string which you can see in certificate details. Following ++store locations are supported: *CurrentUser*, *LocalMachine*, ++*CurrentService*, *Services*, *CurrentUserGroupPolicy*, ++*LocalMachineGroupPolicy* and *LocalMachineEnterprise*. +diff --git a/docs/cmdline-opts/ciphers.md b/docs/cmdline-opts/ciphers.md +new file mode 100644 +index 0000000..9d7e0c6 +--- /dev/null ++++ b/docs/cmdline-opts/ciphers.md +@@ -0,0 +1,24 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: ciphers ++Arg: ++Help: SSL ciphers to use ++Protocols: TLS ++Category: tls ++Added: 7.9 ++Multi: single ++See-also: ++ - tlsv1.3 ++ - tls13-ciphers ++ - proxy-ciphers ++Example: ++ - --ciphers ECDHE-ECDSA-AES256-CCM8 $URL ++--- ++ ++# `--ciphers` ++ ++Specifies which ciphers to use in the connection. The list of ciphers must ++specify valid ciphers. Read up on SSL cipher list details on this URL: ++ ++https://curl.se/docs/ssl-ciphers.html +diff --git a/docs/cmdline-opts/compressed-ssh.md b/docs/cmdline-opts/compressed-ssh.md +new file mode 100644 +index 0000000..b404f62 +--- /dev/null ++++ b/docs/cmdline-opts/compressed-ssh.md +@@ -0,0 +1,19 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: compressed-ssh ++Help: Enable SSH compression ++Protocols: SCP SFTP ++Added: 7.56.0 ++Category: scp ssh ++Multi: boolean ++See-also: ++ - compressed ++Example: ++ - --compressed-ssh sftp://example.com/ ++--- ++ ++# `--compressed-ssh` ++ ++Enables built-in SSH compression. This is a request, not an order; the server ++may or may not do it. +diff --git a/docs/cmdline-opts/compressed.md b/docs/cmdline-opts/compressed.md +new file mode 100644 +index 0000000..35bbab8 +--- /dev/null ++++ b/docs/cmdline-opts/compressed.md +@@ -0,0 +1,27 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: compressed ++Help: Request compressed response ++Protocols: HTTP ++Category: http ++Added: 7.10 ++Multi: boolean ++See-also: ++ - compressed-ssh ++Example: ++ - --compressed $URL ++--- ++ ++# `--compressed` ++ ++Request a compressed response using one of the algorithms curl supports, and ++automatically decompress the content. ++ ++Response headers are not modified when saved, so if they are "interpreted" ++separately again at a later point they might appear to be saying that the ++content is (still) compressed; while in fact it has already been decompressed. ++ ++If this option is used and the server sends an unsupported encoding, curl ++reports an error. This is a request, not an order; the server may or may not ++deliver data compressed. +diff --git a/docs/cmdline-opts/config.md b/docs/cmdline-opts/config.md +new file mode 100644 +index 0000000..1281a3d +--- /dev/null ++++ b/docs/cmdline-opts/config.md +@@ -0,0 +1,84 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: config ++Arg: ++Help: Read config from a file ++Short: K ++Category: curl ++Added: 4.10 ++Multi: append ++See-also: ++ - disable ++Example: ++ - --config file.txt $URL ++--- ++ ++# `--config` ++ ++Specify a text file to read curl arguments from. The command line arguments ++found in the text file are used as if they were provided on the command ++line. ++ ++Options and their parameters must be specified on the same line in the file, ++separated by whitespace, colon, or the equals sign. Long option names can ++optionally be given in the config file without the initial double dashes and ++if so, the colon or equals characters can be used as separators. If the option ++is specified with one or two dashes, there can be no colon or equals character ++between the option and its parameter. ++ ++If the parameter contains whitespace or starts with a colon (:) or equals sign ++(=), it must be specified enclosed within double quotes ("like this"). Within ++double quotes the following escape sequences are available: \\, \", \t, \n, \r ++and \v. A backslash preceding any other letter is ignored. ++ ++If the first non-blank column of a config line is a '#' character, that line ++is treated as a comment. ++ ++Only write one option per physical line in the config file. A single line is ++required to be no more than 10 megabytes (since 8.2.0). ++ ++Specify the filename to --config as minus "-" to make curl read the file from ++stdin. ++ ++Note that to be able to specify a URL in the config file, you need to specify ++it using the --url option, and not by simply writing the URL on its own ++line. So, it could look similar to this: ++ ++ url = "https://curl.se/docs/" ++ ++ # --- Example file --- ++ # this is a comment ++ url = "example.com" ++ output = "curlhere.html" ++ user-agent = "superagent/1.0" ++ ++ # and fetch another URL too ++ url = "example.com/docs/manpage.html" ++ -O ++ referer = "http://nowhereatall.example.com/" ++ # --- End of example file --- ++ ++When curl is invoked, it (unless --disable is used) checks for a default ++config file and uses it if found, even when --config is used. The default ++config file is checked for in the following places in this order: ++ ++1) **"$CURL_HOME/.curlrc"** ++ ++2) **"$XDG_CONFIG_HOME/curlrc"** (Added in 7.73.0) ++ ++3) **"$HOME/.curlrc"** ++ ++4) Windows: **"%USERPROFILE%\.curlrc"** ++ ++5) Windows: **"%APPDATA%\.curlrc"** ++ ++6) Windows: **"%USERPROFILE%\Application Data\.curlrc"** ++ ++7) Non-Windows: use getpwuid to find the home directory ++ ++8) On Windows, if it finds no *.curlrc* file in the sequence described above, it ++checks for one in the same directory the curl executable is placed. ++ ++On Windows two filenames are checked per location: *.curlrc* and *_curlrc*, ++preferring the former. Older versions on Windows checked for *_curlrc* only. +diff --git a/docs/cmdline-opts/connect-timeout.md b/docs/cmdline-opts/connect-timeout.md +new file mode 100644 +index 0000000..e140081 +--- /dev/null ++++ b/docs/cmdline-opts/connect-timeout.md +@@ -0,0 +1,28 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: connect-timeout ++Arg: ++Help: Maximum time allowed to connect ++Category: connection ++Added: 7.7 ++Multi: single ++See-also: ++ - max-time ++Example: ++ - --connect-timeout 20 $URL ++ - --connect-timeout 3.14 $URL ++--- ++ ++# `--connect-timeout` ++ ++Maximum time in seconds that you allow curl's connection to take. This only ++limits the connection phase, so if curl connects within the given period it ++continues - if not it exits. ++ ++This option accepts decimal values (added in 7.32.0). The decimal value needs ++to be provided using a dot (.) as decimal separator - not the local version ++even if it might be using another separator. ++ ++The connection phase is considered complete when the DNS lookup and requested ++TCP, TLS or QUIC handshakes are done. +diff --git a/docs/cmdline-opts/connect-to.md b/docs/cmdline-opts/connect-to.md +new file mode 100644 +index 0000000..360ef0d +--- /dev/null ++++ b/docs/cmdline-opts/connect-to.md +@@ -0,0 +1,30 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: connect-to ++Arg: ++Help: Connect to host ++Added: 7.49.0 ++Category: connection ++Multi: append ++See-also: ++ - resolve ++ - header ++Example: ++ - --connect-to example.com:443:example.net:8443 $URL ++--- ++ ++# `--connect-to` ++ ++For a request intended for the `HOST1:PORT1` pair, connect to `HOST2:PORT2` ++instead. This option is only used to establish the network connection. It does ++NOT affect the hostname/port number that is used for TLS/SSL (e.g. SNI, ++certificate verification) or for the application protocols. ++ ++`HOST1` and `PORT1` may be empty strings, meaning any host or any port number. ++`HOST2` and `PORT2` may also be empty strings, meaning use the request's ++original hostname and port number. ++ ++A hostname specified to this option is compared as a string, so it needs to ++match the name used in request URL. It can be either numerical such as ++`127.0.0.1` or the full host name such as `example.org`. +diff --git a/docs/cmdline-opts/continue-at.md b/docs/cmdline-opts/continue-at.md +new file mode 100644 +index 0000000..978cafc +--- /dev/null ++++ b/docs/cmdline-opts/continue-at.md +@@ -0,0 +1,26 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Short: C ++Long: continue-at ++Arg: ++Help: Resumed transfer offset ++Category: connection ++Added: 4.8 ++Multi: single ++See-also: ++ - range ++Example: ++ - -C - $URL ++ - -C 400 $URL ++--- ++ ++# `--continue-at` ++ ++Resume a previous transfer from the given byte offset. The given offset is the ++exact number of bytes that are skipped, counting from the beginning of the ++source file before it is transferred to the destination. If used with uploads, ++the FTP server command SIZE is not used by curl. ++ ++Use "-C -" to instruct curl to automatically find out where/how to resume the ++transfer. It then uses the given output/input files to figure that out. +diff --git a/docs/cmdline-opts/cookie-jar.md b/docs/cmdline-opts/cookie-jar.md +new file mode 100644 +index 0000000..f993685 +--- /dev/null ++++ b/docs/cmdline-opts/cookie-jar.md +@@ -0,0 +1,38 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Short: c ++Long: cookie-jar ++Arg: ++Protocols: HTTP ++Help: Save cookies to after operation ++Category: http ++Added: 7.9 ++Multi: single ++See-also: ++ - cookie ++Example: ++ - -c store-here.txt $URL ++ - -c store-here.txt -b read-these $URL ++--- ++ ++# `--cookie-jar` ++ ++Specify to which file you want curl to write all cookies after a completed ++operation. Curl writes all cookies from its in-memory cookie storage to the ++given file at the end of operations. Even if no cookies are known, a file is ++created so that it removes any formerly existing cookies from the file. The ++file uses the Netscape cookie file format. If you set the filename to a single ++minus, "-", the cookies are written to stdout. ++ ++The file specified with --cookie-jar is only used for output. No cookies are ++read from the file. To read cookies, use the --cookie option. Both options ++can specify the same file. ++ ++This command line option activates the cookie engine that makes curl record ++and use cookies. The --cookie option also activates it. ++ ++If the cookie jar cannot be created or written to, the whole curl operation ++does not fail or even report an error clearly. Using --verbose gets a warning ++displayed, but that is the only visible feedback you get about this possibly ++lethal situation. +diff --git a/docs/cmdline-opts/cookie.md b/docs/cmdline-opts/cookie.md +new file mode 100644 +index 0000000..cbc8b84 +--- /dev/null ++++ b/docs/cmdline-opts/cookie.md +@@ -0,0 +1,61 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Short: b ++Long: cookie ++Arg: ++Protocols: HTTP ++Help: Send cookies from string/load from file ++Category: http ++Added: 4.9 ++Multi: append ++See-also: ++ - cookie-jar ++ - junk-session-cookies ++Example: ++ - -b "" $URL ++ - -b cookiefile $URL ++ - -b cookiefile -c cookiefile $URL ++ - -b name=Jane $URL ++--- ++ ++# `--cookie` ++ ++Pass the data to the HTTP server in the Cookie header. It is supposedly the ++data previously received from the server in a `Set-Cookie:` line. The data ++should be in the format `NAME1=VALUE1; NAME2=VALUE2` or as a single filename. ++ ++When given a set of specific cookies and not a filename, it makes curl use the ++cookie header with this content explicitly in all outgoing request(s). If ++multiple requests are done due to authentication, followed redirects or ++similar, they all get this cookie header passed on. ++ ++If no `=` symbol is used in the argument, it is instead treated as a filename ++to read previously stored cookie from. This option also activates the cookie ++engine which makes curl record incoming cookies, which may be handy if you are ++using this in combination with the --location option or do multiple URL ++transfers on the same invoke. ++ ++If the filename is a single minus ("-"), curl reads the contents from stdin. ++If the filename is an empty string ("") and is the only cookie input, curl ++activates the cookie engine without any cookies. ++ ++The file format of the file to read cookies from should be plain HTTP headers ++(Set-Cookie style) or the Netscape/Mozilla cookie file format. ++ ++The file specified with --cookie is only used as input. No cookies are written ++to that file. To store cookies, use the --cookie-jar option. ++ ++If you use the Set-Cookie file format and do not specify a domain then the ++cookie is not sent since the domain never matches. To address this, set a ++domain in Set-Cookie line (doing that includes subdomains) or preferably: use ++the Netscape format. ++ ++Users often want to both read cookies from a file and write updated cookies ++back to a file, so using both --cookie and --cookie-jar in the same command ++line is common. ++ ++If curl is built with PSL (**Public Suffix List**) support, it detects and ++discards cookies that are specified for such suffix domains that should not be ++allowed to have cookies. If curl is *not* built with PSL support, it has no ++ability to stop super cookies. +diff --git a/docs/cmdline-opts/create-dirs.md b/docs/cmdline-opts/create-dirs.md +new file mode 100644 +index 0000000..fcbeb33 +--- /dev/null ++++ b/docs/cmdline-opts/create-dirs.md +@@ -0,0 +1,26 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: create-dirs ++Help: Create necessary local directory hierarchy ++Category: curl ++Added: 7.10.3 ++Multi: boolean ++See-also: ++ - ftp-create-dirs ++ - output-dir ++Example: ++ - --create-dirs --output local/dir/file $URL ++--- ++ ++# `--create-dirs` ++ ++When used in conjunction with the --output option, curl creates the necessary ++local directory hierarchy as needed. This option creates the directories ++mentioned with the --output option combined with the path possibly set with ++--output-dir. If the combined output filename uses no directory, or if the ++directories it mentions already exist, no directories are created. ++ ++Created directories are made with mode 0750 on unix style file systems. ++ ++To create remote directories when using FTP or SFTP, try --ftp-create-dirs. +diff --git a/docs/cmdline-opts/create-file-mode.md b/docs/cmdline-opts/create-file-mode.md +new file mode 100644 +index 0000000..c6467d1 +--- /dev/null ++++ b/docs/cmdline-opts/create-file-mode.md +@@ -0,0 +1,23 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: create-file-mode ++Arg: ++Help: File mode for created files ++Protocols: SFTP SCP FILE ++Category: sftp scp file upload ++Added: 7.75.0 ++Multi: single ++See-also: ++ - ftp-create-dirs ++Example: ++ - --create-file-mode 0777 -T localfile sftp://example.com/new ++--- ++ ++# `--create-file-mode` ++ ++When curl is used to create files remotely using one of the supported ++protocols, this option allows the user to set which 'mode' to set on the file ++at creation time, instead of the default 0644. ++ ++This option takes an octal number as argument. +diff --git a/docs/cmdline-opts/crlf.md b/docs/cmdline-opts/crlf.md +new file mode 100644 +index 0000000..81a14ef +--- /dev/null ++++ b/docs/cmdline-opts/crlf.md +@@ -0,0 +1,21 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: crlf ++Help: Convert LF to CRLF in upload ++Protocols: FTP SMTP ++Category: ftp smtp ++Added: 5.7 ++Multi: boolean ++See-also: ++ - use-ascii ++Example: ++ - --crlf -T file ftp://example.com/ ++--- ++ ++# `--crlf` ++ ++Convert line feeds to carriage return plus line feeds in upload. Useful for ++**MVS (OS/390)**. ++ ++(SMTP added in 7.40.0) +diff --git a/docs/cmdline-opts/crlfile.md b/docs/cmdline-opts/crlfile.md +new file mode 100644 +index 0000000..a762af0 +--- /dev/null ++++ b/docs/cmdline-opts/crlfile.md +@@ -0,0 +1,21 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: crlfile ++Arg: ++Protocols: TLS ++Help: Certificate Revocation list ++Added: 7.19.7 ++Category: tls ++Multi: single ++See-also: ++ - cacert ++ - capath ++Example: ++ - --crlfile rejects.txt $URL ++--- ++ ++# `--crlfile` ++ ++Provide a file using PEM format with a Certificate Revocation List that may ++specify peer certificates that are to be considered revoked. +diff --git a/docs/cmdline-opts/curves.md b/docs/cmdline-opts/curves.md +new file mode 100644 +index 0000000..9473aea +--- /dev/null ++++ b/docs/cmdline-opts/curves.md +@@ -0,0 +1,28 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: curves ++Arg: ++Help: (EC) TLS key exchange algorithms to request ++Protocols: TLS ++Added: 7.73.0 ++Category: tls ++Multi: single ++See-also: ++ - ciphers ++Example: ++ - --curves X25519 $URL ++--- ++ ++# `--curves` ++ ++Set specific curves to use during SSL session establishment according to RFC ++8422, 5.1. Multiple algorithms can be provided by separating them with `:` ++(e.g. `X25519:P-521`). The parameter is available identically in the OpenSSL ++`s_client` and `s_server` utilities. ++ ++--curves allows a OpenSSL powered curl to make SSL-connections with exactly ++the (EC) curve requested by the client, avoiding nontransparent client/server ++negotiations. ++ ++If this option is set, the default curves list built into OpenSSL are ignored. +diff --git a/docs/cmdline-opts/data-ascii.md b/docs/cmdline-opts/data-ascii.md +new file mode 100644 +index 0000000..5763d81 +--- /dev/null ++++ b/docs/cmdline-opts/data-ascii.md +@@ -0,0 +1,21 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: data-ascii ++Arg: ++Help: HTTP POST ASCII data ++Protocols: HTTP ++Category: http post upload ++Added: 7.2 ++Multi: append ++See-also: ++ - data-binary ++ - data-raw ++ - data-urlencode ++Example: ++ - --data-ascii @file $URL ++--- ++ ++# `--data-ascii` ++ ++This option is just an alias for --data. +diff --git a/docs/cmdline-opts/data-binary.md b/docs/cmdline-opts/data-binary.md +new file mode 100644 +index 0000000..1ce53b3 +--- /dev/null ++++ b/docs/cmdline-opts/data-binary.md +@@ -0,0 +1,31 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: data-binary ++Arg: ++Help: HTTP POST binary data ++Protocols: HTTP ++Category: http post upload ++Added: 7.2 ++Multi: append ++See-also: ++ - data-ascii ++Example: ++ - --data-binary @filename $URL ++--- ++ ++# `--data-binary` ++ ++Post data exactly as specified with no extra processing whatsoever. ++ ++If you start the data with the letter @, the rest should be a filename. Data ++is posted in a similar manner as --data does, except that newlines and ++carriage returns are preserved and conversions are never done. ++ ++Like --data the default content-type sent to the server is ++application/x-www-form-urlencoded. If you want the data to be treated as ++arbitrary binary data by the server then set the content-type to octet-stream: ++-H "Content-Type: application/octet-stream". ++ ++If this option is used several times, the ones following the first append ++data as described in --data. +diff --git a/docs/cmdline-opts/data-raw.md b/docs/cmdline-opts/data-raw.md +new file mode 100644 +index 0000000..1033678 +--- /dev/null ++++ b/docs/cmdline-opts/data-raw.md +@@ -0,0 +1,21 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: data-raw ++Arg: ++Protocols: HTTP ++Help: HTTP POST data, '@' allowed ++Added: 7.43.0 ++Category: http post upload ++Multi: append ++See-also: ++ - data ++Example: ++ - --data-raw "hello" $URL ++ - --data-raw "@at@at@" $URL ++--- ++ ++# `--data-raw` ++ ++Post data similarly to --data but without the special interpretation of the @ ++character. +diff --git a/docs/cmdline-opts/data-urlencode.md b/docs/cmdline-opts/data-urlencode.md +new file mode 100644 +index 0000000..2bd84f3 +--- /dev/null ++++ b/docs/cmdline-opts/data-urlencode.md +@@ -0,0 +1,51 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: data-urlencode ++Arg: ++Help: HTTP POST data URL encoded ++Protocols: HTTP ++Added: 7.18.0 ++Category: http post upload ++Multi: append ++See-also: ++ - data ++ - data-raw ++Example: ++ - --data-urlencode name=val $URL ++ - --data-urlencode =encodethis $URL ++ - --data-urlencode name@file $URL ++ - --data-urlencode @fileonly $URL ++--- ++ ++# `--data-urlencode` ++ ++Post data, similar to the other --data options with the exception that this ++performs URL-encoding. ++ ++To be CGI-compliant, the \ part should begin with a *name* followed by ++a separator and a content specification. The \ part can be passed to ++curl using one of the following syntaxes: ++ ++## content ++URL-encode the content and pass that on. Just be careful so that the content ++does not contain any `=` or `@` symbols, as that makes the syntax match one of ++the other cases below! ++ ++## =content ++URL-encode the content and pass that on. The preceding `=` symbol is not ++included in the data. ++ ++## name=content ++URL-encode the content part and pass that on. Note that the name part is ++expected to be URL-encoded already. ++ ++## @filename ++load data from the given file (including any newlines), URL-encode that data ++and pass it on in the POST. ++ ++## name@filename ++load data from the given file (including any newlines), URL-encode that data ++and pass it on in the POST. The name part gets an equal sign appended, ++resulting in *name=urlencoded-file-content*. Note that the name is expected to ++be URL-encoded already. +diff --git a/docs/cmdline-opts/data.md b/docs/cmdline-opts/data.md +new file mode 100644 +index 0000000..6b6e702 +--- /dev/null ++++ b/docs/cmdline-opts/data.md +@@ -0,0 +1,49 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: data ++Short: d ++Arg: ++Help: HTTP POST data ++Protocols: HTTP MQTT ++Mutexed: form head upload-file ++Category: important http post upload ++Added: 4.0 ++Multi: append ++See-also: ++ - data-binary ++ - data-urlencode ++ - data-raw ++Example: ++ - -d "name=curl" $URL ++ - -d "name=curl" -d "tool=cmdline" $URL ++ - -d @filename $URL ++--- ++ ++# `--data` ++ ++Sends the specified data in a POST request to the HTTP server, in the same way ++that a browser does when a user has filled in an HTML form and presses the ++submit button. This option makes curl pass the data to the server using the ++content-type application/x-www-form-urlencoded. Compare to --form. ++ ++--data-raw is almost the same but does not have a special interpretation of ++the @ character. To post data purely binary, you should instead use the ++--data-binary option. To URL-encode the value of a form field you may use ++--data-urlencode. ++ ++If any of these options is used more than once on the same command line, the ++data pieces specified are merged with a separating &-symbol. Thus, using ++'-d name=daniel -d skill=lousy' would generate a post chunk that looks like ++'name=daniel&skill=lousy'. ++ ++If you start the data with the letter @, the rest should be a filename to read ++the data from, or - if you want curl to read the data from stdin. Posting data ++from a file named 'foobar' would thus be done with --data @foobar. When --data ++is told to read from a file like that, carriage returns, newlines and null ++bytes are stripped out. If you do not want the @ character to have a special ++interpretation use --data-raw instead. ++ ++The data for this option is passed on to the server exactly as provided on the ++command line. curl does not convert, change or improve it. It is up to the ++user to provide the data in the correct form. +diff --git a/docs/cmdline-opts/delegation.md b/docs/cmdline-opts/delegation.md +new file mode 100644 +index 0000000..c874a2b +--- /dev/null ++++ b/docs/cmdline-opts/delegation.md +@@ -0,0 +1,30 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: delegation ++Arg: ++Help: GSS-API delegation permission ++Protocols: GSS/kerberos ++Category: auth ++Added: 7.22.0 ++Multi: single ++See-also: ++ - insecure ++ - ssl ++Example: ++ - --delegation "none" $URL ++--- ++ ++# `--delegation` ++ ++Set LEVEL what curl is allowed to delegate when it comes to user credentials. ++ ++## none ++Do not allow any delegation. ++ ++## policy ++Delegates if and only if the OK-AS-DELEGATE flag is set in the Kerberos ++service ticket, which is a matter of realm policy. ++ ++## always ++Unconditionally allow the server to delegate. +diff --git a/docs/cmdline-opts/digest.md b/docs/cmdline-opts/digest.md +new file mode 100644 +index 0000000..04c5a79 +--- /dev/null ++++ b/docs/cmdline-opts/digest.md +@@ -0,0 +1,23 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: digest ++Help: HTTP Digest Authentication ++Protocols: HTTP ++Mutexed: basic ntlm negotiate ++Category: proxy auth http ++Added: 7.10.6 ++Multi: boolean ++See-also: ++ - user ++ - proxy-digest ++ - anyauth ++Example: ++ - -u name:password --digest $URL ++--- ++ ++# `--digest` ++ ++Enables HTTP Digest authentication. This authentication scheme avoids sending ++the password over the wire in clear text. Use this in combination with the ++normal --user option to set username and password. +diff --git a/docs/cmdline-opts/disable-eprt.md b/docs/cmdline-opts/disable-eprt.md +new file mode 100644 +index 0000000..b6e6c6d +--- /dev/null ++++ b/docs/cmdline-opts/disable-eprt.md +@@ -0,0 +1,32 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: disable-eprt ++Help: Inhibit using EPRT or LPRT ++Protocols: FTP ++Category: ftp ++Added: 7.10.5 ++Multi: boolean ++See-also: ++ - disable-epsv ++ - ftp-port ++Example: ++ - --disable-eprt ftp://example.com/ ++--- ++ ++# `--disable-eprt` ++ ++Disable the use of the EPRT and LPRT commands when doing active FTP transfers. ++Curl normally first attempts to use EPRT before using PORT, but with this ++option, it uses PORT right away. EPRT is an extension to the original FTP ++protocol, and does not work on all servers, but enables more functionality in ++a better way than the traditional PORT command. ++ ++--eprt can be used to explicitly enable EPRT again and --no-eprt is an alias ++for --disable-eprt. ++ ++If the server is accessed using IPv6, this option has no effect as EPRT is ++necessary then. ++ ++Disabling EPRT only changes the active behavior. If you want to switch to ++passive mode you need to not use --ftp-port or force it with --ftp-pasv. +diff --git a/docs/cmdline-opts/disable-epsv.md b/docs/cmdline-opts/disable-epsv.md +new file mode 100644 +index 0000000..7667c79 +--- /dev/null ++++ b/docs/cmdline-opts/disable-epsv.md +@@ -0,0 +1,30 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: disable-epsv ++Help: Inhibit using EPSV ++Protocols: FTP ++Category: ftp ++Added: 7.9.2 ++Multi: boolean ++See-also: ++ - disable-eprt ++ - ftp-port ++Example: ++ - --disable-epsv ftp://example.com/ ++--- ++ ++# `--disable-epsv` ++ ++Disable the use of the EPSV command when doing passive FTP transfers. Curl ++normally first attempts to use EPSV before PASV, but with this option, it does ++not try EPSV. ++ ++--epsv can be used to explicitly enable EPSV again and --no-epsv is an alias ++for --disable-epsv. ++ ++If the server is an IPv6 host, this option has no effect as EPSV is necessary ++then. ++ ++Disabling EPSV only changes the passive behavior. If you want to switch to ++active mode you need to use --ftp-port. +diff --git a/docs/cmdline-opts/disable.md b/docs/cmdline-opts/disable.md +new file mode 100644 +index 0000000..e22a2bb +--- /dev/null ++++ b/docs/cmdline-opts/disable.md +@@ -0,0 +1,23 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: disable ++Short: q ++Help: Disable .curlrc ++Category: curl ++Added: 5.0 ++Multi: boolean ++See-also: ++ - config ++Example: ++ - -q $URL ++--- ++ ++# `--disable` ++ ++If used as the **first** parameter on the command line, the *curlrc* config ++file is not read or used. See the --config for details on the default config ++file search path. ++ ++Prior to 7.50.0 curl supported the short option name *q* but not the long ++option name *disable*. +diff --git a/docs/cmdline-opts/disallow-username-in-url.md b/docs/cmdline-opts/disallow-username-in-url.md +new file mode 100644 +index 0000000..012f2d0 +--- /dev/null ++++ b/docs/cmdline-opts/disallow-username-in-url.md +@@ -0,0 +1,18 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: disallow-username-in-url ++Help: Disallow username in URL ++Added: 7.61.0 ++Category: curl ++Multi: boolean ++See-also: ++ - proto ++Example: ++ - --disallow-username-in-url $URL ++--- ++ ++# `--disallow-username-in-url` ++ ++Exit with error if passed a URL containing a username. Probably most useful ++when the URL is being provided at runtime or similar. +diff --git a/docs/cmdline-opts/dns-interface.md b/docs/cmdline-opts/dns-interface.md +new file mode 100644 +index 0000000..aee7400 +--- /dev/null ++++ b/docs/cmdline-opts/dns-interface.md +@@ -0,0 +1,23 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: dns-interface ++Arg: ++Help: Interface to use for DNS requests ++Protocols: DNS ++Added: 7.33.0 ++Requires: c-ares ++Category: dns ++Multi: single ++See-also: ++ - dns-ipv4-addr ++ - dns-ipv6-addr ++Example: ++ - --dns-interface eth0 $URL ++--- ++ ++# `--dns-interface` ++ ++Send outgoing DNS requests through the given interface. This option is a ++counterpart to --interface (which does not affect DNS). The supplied string ++must be an interface name (not an address). +diff --git a/docs/cmdline-opts/dns-ipv4-addr.md b/docs/cmdline-opts/dns-ipv4-addr.md +new file mode 100644 +index 0000000..4a43cb1 +--- /dev/null ++++ b/docs/cmdline-opts/dns-ipv4-addr.md +@@ -0,0 +1,23 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: dns-ipv4-addr ++Arg:
++Help: IPv4 address to use for DNS requests ++Protocols: DNS ++Added: 7.33.0 ++Requires: c-ares ++Category: dns ++Multi: single ++See-also: ++ - dns-interface ++ - dns-ipv6-addr ++Example: ++ - --dns-ipv4-addr 10.1.2.3 $URL ++--- ++ ++# `--dns-ipv4-addr` ++ ++Bind to a specific IP address when making IPv4 DNS requests, so that the DNS ++requests originate from this address. The argument should be a single IPv4 ++address. +diff --git a/docs/cmdline-opts/dns-ipv6-addr.md b/docs/cmdline-opts/dns-ipv6-addr.md +new file mode 100644 +index 0000000..7112311 +--- /dev/null ++++ b/docs/cmdline-opts/dns-ipv6-addr.md +@@ -0,0 +1,23 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: dns-ipv6-addr ++Arg:
++Help: IPv6 address to use for DNS requests ++Protocols: DNS ++Added: 7.33.0 ++Requires: c-ares ++Category: dns ++Multi: single ++See-also: ++ - dns-interface ++ - dns-ipv4-addr ++Example: ++ - --dns-ipv6-addr 2a04:4e42::561 $URL ++--- ++ ++# `--dns-ipv6-addr` ++ ++Bind to a specific IP address when making IPv6 DNS requests, so that the DNS ++requests originate from this address. The argument should be a single IPv6 ++address. +diff --git a/docs/cmdline-opts/dns-servers.md b/docs/cmdline-opts/dns-servers.md +new file mode 100644 +index 0000000..bf6ba3f +--- /dev/null ++++ b/docs/cmdline-opts/dns-servers.md +@@ -0,0 +1,24 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: dns-servers ++Arg: ++Help: DNS server addrs to use ++Protocols: DNS ++Requires: c-ares ++Added: 7.33.0 ++Category: dns ++Multi: single ++See-also: ++ - dns-interface ++ - dns-ipv4-addr ++Example: ++ - --dns-servers 192.168.0.1,192.168.0.2 $URL ++ - --dns-servers 10.0.0.1:53 $URL ++--- ++ ++# `--dns-servers` ++ ++Set the list of DNS servers to be used instead of the system default. The list ++of IP addresses should be separated with commas. Port numbers may also ++optionally be given, appended to the IP address separated with a colon. +diff --git a/docs/cmdline-opts/doh-cert-status.md b/docs/cmdline-opts/doh-cert-status.md +new file mode 100644 +index 0000000..920c5b4 +--- /dev/null ++++ b/docs/cmdline-opts/doh-cert-status.md +@@ -0,0 +1,26 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: doh-cert-status ++Help: Verify DoH server cert status OCSP-staple ++Added: 7.76.0 ++Category: dns tls ++Multi: boolean ++See-also: ++ - doh-insecure ++Example: ++ - --doh-cert-status --doh-url https://doh.example $URL ++--- ++ ++# `--doh-cert-status` ++ ++Same as --cert-status but used for DoH (DNS-over-HTTPS). ++ ++Verifies the status of the DoH servers' certificate by using the Certificate ++Status Request (aka. OCSP stapling) TLS extension. ++ ++If this option is enabled and the DoH server sends an invalid (e.g. expired) ++response, if the response suggests that the server certificate has been ++revoked, or no response at all is received, the verification fails. ++ ++This support is currently only implemented in the OpenSSL and GnuTLS backends. +diff --git a/docs/cmdline-opts/doh-insecure.md b/docs/cmdline-opts/doh-insecure.md +new file mode 100644 +index 0000000..684428d +--- /dev/null ++++ b/docs/cmdline-opts/doh-insecure.md +@@ -0,0 +1,17 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: doh-insecure ++Help: Allow insecure DoH server connections ++Added: 7.76.0 ++Category: dns tls ++Multi: boolean ++See-also: ++ - doh-url ++Example: ++ - --doh-insecure --doh-url https://doh.example $URL ++--- ++ ++# `--doh-insecure` ++ ++Same as --insecure but used for DoH (DNS-over-HTTPS). +diff --git a/docs/cmdline-opts/doh-url.md b/docs/cmdline-opts/doh-url.md +new file mode 100644 +index 0000000..23754ca +--- /dev/null ++++ b/docs/cmdline-opts/doh-url.md +@@ -0,0 +1,27 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: doh-url ++Arg: ++Help: Resolve hostnames over DoH ++Added: 7.62.0 ++Category: dns ++Multi: single ++See-also: ++ - doh-insecure ++Example: ++ - --doh-url https://doh.example $URL ++--- ++ ++# `--doh-url` ++ ++Specifies which DNS-over-HTTPS (DoH) server to use to resolve hostnames, ++instead of using the default name resolver mechanism. The URL must be HTTPS. ++ ++Some SSL options that you set for your transfer also applies to DoH since the ++name lookups take place over SSL. However, the certificate verification ++settings are not inherited but are controlled separately via --doh-insecure ++and --doh-cert-status. ++ ++This option is unset if an empty string "" is used as the URL. ++(Added in 7.85.0) +diff --git a/docs/cmdline-opts/dump-header.md b/docs/cmdline-opts/dump-header.md +new file mode 100644 +index 0000000..42d3e85 +--- /dev/null ++++ b/docs/cmdline-opts/dump-header.md +@@ -0,0 +1,27 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: dump-header ++Short: D ++Arg: ++Help: Write the received headers to ++Protocols: HTTP FTP ++Category: http ftp ++Added: 5.7 ++Multi: single ++See-also: ++ - output ++Example: ++ - --dump-header store.txt $URL ++--- ++ ++# `--dump-header` ++ ++Write the received protocol headers to the specified file. If no headers are ++received, the use of this option creates an empty file. ++ ++When used in FTP, the FTP server response lines are considered being "headers" ++and thus are saved there. ++ ++Having multiple transfers in one set of operations (i.e. the URLs in one ++--next clause), appends them to the same file, separated by a blank line. +diff --git a/docs/cmdline-opts/egd-file.md b/docs/cmdline-opts/egd-file.md +new file mode 100644 +index 0000000..b68b7d4 +--- /dev/null ++++ b/docs/cmdline-opts/egd-file.md +@@ -0,0 +1,23 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: egd-file ++Arg: ++Help: EGD socket path for random data ++Protocols: TLS ++Category: tls ++Added: 7.7 ++Multi: single ++See-also: ++ - random-file ++Example: ++ - --egd-file /random/here $URL ++--- ++ ++# `--egd-file` ++ ++Deprecated option (added in 7.84.0). Prior to that it only had an effect on ++curl if built to use old versions of OpenSSL. ++ ++Specify the path name to the Entropy Gathering Daemon socket. The socket is ++used to seed the random engine for SSL connections. +diff --git a/docs/cmdline-opts/engine.md b/docs/cmdline-opts/engine.md +new file mode 100644 +index 0000000..5111900 +--- /dev/null ++++ b/docs/cmdline-opts/engine.md +@@ -0,0 +1,22 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: engine ++Arg: ++Help: Crypto engine to use ++Protocols: TLS ++Category: tls ++Added: 7.9.3 ++Multi: single ++See-also: ++ - ciphers ++ - curves ++Example: ++ - --engine flavor $URL ++--- ++ ++# `--engine` ++ ++Select the OpenSSL crypto engine to use for cipher operations. Use --engine ++list to print a list of build-time supported engines. Note that not all (and ++possibly none) of the engines may be available at runtime. +diff --git a/docs/cmdline-opts/etag-compare.md b/docs/cmdline-opts/etag-compare.md +new file mode 100644 +index 0000000..d69cbdf +--- /dev/null ++++ b/docs/cmdline-opts/etag-compare.md +@@ -0,0 +1,27 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: etag-compare ++Arg: ++Help: Load ETag from file ++Protocols: HTTP ++Added: 7.68.0 ++Category: http ++Multi: single ++See-also: ++ - etag-save ++ - time-cond ++Example: ++ - --etag-compare etag.txt $URL ++--- ++ ++# `--etag-compare` ++ ++Make a conditional HTTP request for the specific ETag read from the given file ++by sending a custom If-None-Match header using the stored ETag. ++ ++For correct results, make sure that the specified file contains only a single ++line with the desired ETag. An empty file is parsed as an empty ETag. ++ ++Use the option --etag-save to first save the ETag from a response, and then ++use this option to compare against the saved ETag in a subsequent request. +diff --git a/docs/cmdline-opts/etag-save.md b/docs/cmdline-opts/etag-save.md +new file mode 100644 +index 0000000..aa346ad +--- /dev/null ++++ b/docs/cmdline-opts/etag-save.md +@@ -0,0 +1,22 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: etag-save ++Arg: ++Help: Parse incoming ETag and save to a file ++Protocols: HTTP ++Added: 7.68.0 ++Category: http ++Multi: single ++See-also: ++ - etag-compare ++Example: ++ - --etag-save storetag.txt $URL ++--- ++ ++# `--etag-save` ++ ++Save an HTTP ETag to the specified file. An ETag is a caching related header, ++usually returned in a response. ++ ++If no ETag is sent by the server, an empty file is created. +diff --git a/docs/cmdline-opts/expect100-timeout.md b/docs/cmdline-opts/expect100-timeout.md +new file mode 100644 +index 0000000..ce69227 +--- /dev/null ++++ b/docs/cmdline-opts/expect100-timeout.md +@@ -0,0 +1,25 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: expect100-timeout ++Arg: ++Help: How long to wait for 100-continue ++Protocols: HTTP ++Added: 7.47.0 ++Category: http ++Multi: single ++See-also: ++ - connect-timeout ++Example: ++ - --expect100-timeout 2.5 -T file $URL ++--- ++ ++# `--expect100-timeout` ++ ++Maximum time in seconds that you allow curl to wait for a 100-continue ++response when curl emits an Expects: 100-continue header in its request. By ++default curl waits one second. This option accepts decimal values. When curl ++stops waiting, it continues as if a response was received. ++ ++The decimal value needs to provided using a dot (`.`) as decimal separator - ++not the local version even if it might be using another separator. +diff --git a/docs/cmdline-opts/fail-early.md b/docs/cmdline-opts/fail-early.md +new file mode 100644 +index 0000000..bb22e14 +--- /dev/null ++++ b/docs/cmdline-opts/fail-early.md +@@ -0,0 +1,32 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: fail-early ++Help: Fail on first transfer error ++Added: 7.52.0 ++Category: curl ++Multi: boolean ++Scope: global ++See-also: ++ - fail ++ - fail-with-body ++Example: ++ - --fail-early $URL https://two.example ++--- ++ ++# `--fail-early` ++ ++Fail and exit on the first detected transfer error. ++ ++When curl is used to do multiple transfers on the command line, it attempts to ++operate on each given URL, one by one. By default, it ignores errors if there ++are more URLs given and the last URL's success determines the error code curl ++returns. Early failures are "hidden" by subsequent successful transfers. ++ ++Using this option, curl instead returns an error on the first transfer that ++fails, independent of the amount of URLs that are given on the command ++line. This way, no transfer failures go undetected by scripts and similar. ++ ++This option does not imply --fail, which causes transfers to fail due to the ++server's HTTP status code. You can combine the two options, however note --fail ++is not global and is therefore contained by --next. +diff --git a/docs/cmdline-opts/fail-with-body.md b/docs/cmdline-opts/fail-with-body.md +new file mode 100644 +index 0000000..670959b +--- /dev/null ++++ b/docs/cmdline-opts/fail-with-body.md +@@ -0,0 +1,27 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: fail-with-body ++Protocols: HTTP ++Help: Fail on HTTP errors but save the body ++Category: http output ++Added: 7.76.0 ++Mutexed: fail ++Multi: boolean ++See-also: ++ - fail ++ - fail-early ++Example: ++ - --fail-with-body $URL ++--- ++ ++# `--fail-with-body` ++ ++Return an error on server errors where the HTTP response code is 400 or ++greater). In normal cases when an HTTP server fails to deliver a document, it ++returns an HTML document stating so (which often also describes why and more). ++This option allows curl to output and save that content but also to return ++error 22. ++ ++This is an alternative option to --fail which makes curl fail for the same ++circumstances but without saving the content. +diff --git a/docs/cmdline-opts/fail.md b/docs/cmdline-opts/fail.md +new file mode 100644 +index 0000000..8591e33 +--- /dev/null ++++ b/docs/cmdline-opts/fail.md +@@ -0,0 +1,29 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: fail ++Short: f ++Protocols: HTTP ++Help: Fail fast with no output on HTTP errors ++Category: important http ++Mutexed: fail-with-body ++Added: 4.0 ++Multi: boolean ++See-also: ++ - fail-with-body ++ - fail-early ++Example: ++ - --fail $URL ++--- ++ ++# `--fail` ++ ++Fail fast with no output at all on server errors. This is useful to enable ++scripts and users to better deal with failed attempts. In normal cases when an ++HTTP server fails to deliver a document, it returns an HTML document stating ++so (which often also describes why and more). This command line option ++prevents curl from outputting that and return error 22. ++ ++This method is not fail-safe and there are occasions where non-successful ++response codes slip through, especially when authentication is involved ++(response codes 401 and 407). +diff --git a/docs/cmdline-opts/false-start.md b/docs/cmdline-opts/false-start.md +new file mode 100644 +index 0000000..f25af23 +--- /dev/null ++++ b/docs/cmdline-opts/false-start.md +@@ -0,0 +1,23 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: false-start ++Help: Enable TLS False Start ++Protocols: TLS ++Added: 7.42.0 ++Category: tls ++Multi: boolean ++See-also: ++ - tcp-fastopen ++Example: ++ - --false-start $URL ++--- ++ ++# `--false-start` ++ ++Use false start during the TLS handshake. False start is a mode where a TLS ++client starts sending application data before verifying the server's Finished ++message, thus saving a round trip when performing a full handshake. ++ ++This functionality is currently only implemented in the Secure Transport (on ++iOS 7.0 or later, or OS X 10.9 or later) backend. +diff --git a/docs/cmdline-opts/form-escape.md b/docs/cmdline-opts/form-escape.md +new file mode 100644 +index 0000000..083c29e +--- /dev/null ++++ b/docs/cmdline-opts/form-escape.md +@@ -0,0 +1,19 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: form-escape ++Help: Escape form fields using backslash ++Protocols: HTTP ++Added: 7.81.0 ++Category: http upload ++Multi: single ++See-also: ++ - form ++Example: ++ - --form-escape -F 'field\name=curl' -F 'file=@load"this' $URL ++--- ++ ++# `--form-escape` ++ ++Pass on names of multipart form fields and files using backslash-escaping ++instead of percent-encoding. +diff --git a/docs/cmdline-opts/form-string.md b/docs/cmdline-opts/form-string.md +new file mode 100644 +index 0000000..3c1f7b5 +--- /dev/null ++++ b/docs/cmdline-opts/form-string.md +@@ -0,0 +1,23 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: form-string ++Help: Specify multipart MIME data ++Protocols: HTTP SMTP IMAP ++Arg: ++Category: http upload ++Added: 7.13.2 ++Multi: append ++See-also: ++ - form ++Example: ++ - --form-string "name=data" $URL ++--- ++ ++# `--form-string` ++ ++Similar to --form except that the value string for the named parameter is used ++literally. Leading @ and \< characters, and the `;type=` string in the value ++have no special meaning. Use this in preference to --form if there is any ++possibility that the string value may accidentally trigger the @ or \< ++features of --form. +diff --git a/docs/cmdline-opts/form.md b/docs/cmdline-opts/form.md +new file mode 100644 +index 0000000..8a4c91e +--- /dev/null ++++ b/docs/cmdline-opts/form.md +@@ -0,0 +1,142 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: form ++Short: F ++Arg: ++Help: Specify multipart MIME data ++Protocols: HTTP SMTP IMAP ++Mutexed: data head upload-file ++Category: http upload ++Added: 5.0 ++Multi: append ++See-also: ++ - data ++ - form-string ++ - form-escape ++Example: ++ - --form "name=curl" --form "file=@loadthis" $URL ++--- ++ ++# `--form` ++ ++For the HTTP protocol family, emulate a filled-in form in which a user has ++pressed the submit button. This makes curl POST data using the Content-Type ++multipart/form-data according to RFC 2388. ++ ++For SMTP and IMAP protocols, this composes a multipart mail message to ++transmit. ++ ++This enables uploading of binary files etc. To force the 'content' part to be ++a file, prefix the filename with an @ sign. To just get the content part from ++a file, prefix the filename with the symbol \<. The difference between @ and ++\< is then that @ makes a file get attached in the post as a file upload, ++while the \< makes a text field and just get the contents for that text field ++from a file. ++ ++Read content from stdin instead of a file by using a single "-" as filename. ++This goes for both @ and \< constructs. When stdin is used, the contents is ++buffered in memory first by curl to determine its size and allow a possible ++resend. Defining a part's data from a named non-regular file (such as a named ++pipe or similar) is not subject to buffering and is instead read at ++transmission time; since the full size is unknown before the transfer starts, ++such data is sent as chunks by HTTP and rejected by IMAP. ++ ++Example: send an image to an HTTP server, where 'profile' is the name of the ++form-field to which the file **portrait.jpg** is the input: ++ ++ curl -F profile=@portrait.jpg https://example.com/upload.cgi ++ ++Example: send your name and shoe size in two text fields to the server: ++ ++ curl -F name=John -F shoesize=11 https://example.com/ ++ ++Example: send your essay in a text field to the server. Send it as a plain ++text field, but get the contents for it from a local file: ++ ++ curl -F "story=HTML message;type=text/html' \ ++ -F '=)' -F '=@textfile.txt' ... smtp://example.com ++ ++Data can be encoded for transfer using encoder=. Available encodings are ++*binary* and *8bit* that do nothing else than adding the corresponding ++Content-Transfer-Encoding header, *7bit* that only rejects 8-bit characters ++with a transfer error, *quoted-printable* and *base64* that encodes data ++according to the corresponding schemes, limiting lines length to 76 ++characters. ++ ++Example: send multipart mail with a quoted-printable text message and a ++base64 attached file: ++ ++ curl -F '=text message;encoder=quoted-printable' \ ++ -F '=@localfile;encoder=base64' ... smtp://example.com ++ ++See further examples and details in the MANUAL. +diff --git a/docs/cmdline-opts/ftp-account.md b/docs/cmdline-opts/ftp-account.md +new file mode 100644 +index 0000000..e275349 +--- /dev/null ++++ b/docs/cmdline-opts/ftp-account.md +@@ -0,0 +1,20 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: ftp-account ++Arg: ++Help: Account data string ++Protocols: FTP ++Added: 7.13.0 ++Category: ftp auth ++Multi: single ++See-also: ++ - user ++Example: ++ - --ftp-account "mr.robot" ftp://example.com/ ++--- ++ ++# `--ftp-account` ++ ++When an FTP server asks for "account data" after username and password has ++been provided, this data is sent off using the ACCT command. +diff --git a/docs/cmdline-opts/ftp-alternative-to-user.md b/docs/cmdline-opts/ftp-alternative-to-user.md +new file mode 100644 +index 0000000..9bd3686 +--- /dev/null ++++ b/docs/cmdline-opts/ftp-alternative-to-user.md +@@ -0,0 +1,23 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: ftp-alternative-to-user ++Arg: ++Help: String to replace USER [name] ++Protocols: FTP ++Added: 7.15.5 ++Category: ftp ++Multi: single ++See-also: ++ - ftp-account ++ - user ++Example: ++ - --ftp-alternative-to-user "U53r" ftp://example.com ++--- ++ ++# `--ftp-alternative-to-user` ++ ++If authenticating with the USER and PASS commands fails, send this command. ++When connecting to Tumbleweed's Secure Transport server over FTPS using a ++client certificate, using "SITE AUTH" tells the server to retrieve the ++username from the certificate. +diff --git a/docs/cmdline-opts/ftp-create-dirs.md b/docs/cmdline-opts/ftp-create-dirs.md +new file mode 100644 +index 0000000..5151e33 +--- /dev/null ++++ b/docs/cmdline-opts/ftp-create-dirs.md +@@ -0,0 +1,20 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: ftp-create-dirs ++Protocols: FTP SFTP ++Help: Create the remote dirs if not present ++Category: ftp sftp curl ++Added: 7.10.7 ++Multi: boolean ++See-also: ++ - create-dirs ++Example: ++ - --ftp-create-dirs -T file ftp://example.com/remote/path/file ++--- ++ ++# `--ftp-create-dirs` ++ ++When an FTP or SFTP URL/operation uses a path that does not currently exist on ++the server, the standard behavior of curl is to fail. Using this option, curl ++instead attempts to create missing directories. +diff --git a/docs/cmdline-opts/ftp-method.md b/docs/cmdline-opts/ftp-method.md +new file mode 100644 +index 0000000..d2bff21 +--- /dev/null ++++ b/docs/cmdline-opts/ftp-method.md +@@ -0,0 +1,36 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: ftp-method ++Arg: ++Help: Control CWD usage ++Protocols: FTP ++Added: 7.15.1 ++Category: ftp ++Multi: single ++See-also: ++ - list-only ++Example: ++ - --ftp-method multicwd ftp://example.com/dir1/dir2/file ++ - --ftp-method nocwd ftp://example.com/dir1/dir2/file ++ - --ftp-method singlecwd ftp://example.com/dir1/dir2/file ++--- ++ ++# `--ftp-method` ++ ++Control what method curl should use to reach a file on an FTP(S) ++server. The method argument should be one of the following alternatives: ++ ++## multicwd ++Do a single CWD operation for each path part in the given URL. For deep ++hierarchies this means many commands. This is how RFC 1738 says it should be ++done. This is the default but the slowest behavior. ++ ++## nocwd ++Do no CWD at all. curl does SIZE, RETR, STOR etc and gives the full path to ++the server for each of these commands. This is the fastest behavior. ++ ++## singlecwd ++Do one CWD with the full target directory and then operate on the file ++"normally" (like in the multicwd case). This is somewhat more standards ++compliant than `nocwd` but without the full penalty of `multicwd`. +diff --git a/docs/cmdline-opts/ftp-pasv.md b/docs/cmdline-opts/ftp-pasv.md +new file mode 100644 +index 0000000..964f976 +--- /dev/null ++++ b/docs/cmdline-opts/ftp-pasv.md +@@ -0,0 +1,26 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: ftp-pasv ++Help: Send PASV/EPSV instead of PORT ++Protocols: FTP ++Added: 7.11.0 ++Category: ftp ++Multi: boolean ++See-also: ++ - disable-epsv ++Example: ++ - --ftp-pasv ftp://example.com/ ++--- ++ ++# `--ftp-pasv` ++ ++Use passive mode for the data connection. Passive is the internal default ++behavior, but using this option can be used to override a previous --ftp-port ++option. ++ ++Reversing an enforced passive really is not doable but you must then instead ++enforce the correct --ftp-port again. ++ ++Passive mode means that curl tries the EPSV command first and then PASV, ++unless --disable-epsv is used. +diff --git a/docs/cmdline-opts/ftp-port.md b/docs/cmdline-opts/ftp-port.md +new file mode 100644 +index 0000000..ff6d41c +--- /dev/null ++++ b/docs/cmdline-opts/ftp-port.md +@@ -0,0 +1,51 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: ftp-port ++Arg:
++Help: Send PORT instead of PASV ++Short: P ++Protocols: FTP ++Category: ftp ++Added: 4.0 ++Multi: single ++See-also: ++ - ftp-pasv ++ - disable-eprt ++Example: ++ - -P - ftp:/example.com ++ - -P eth0 ftp:/example.com ++ - -P 192.168.0.2 ftp:/example.com ++--- ++ ++# `--ftp-port` ++ ++Reverses the default initiator/listener roles when connecting with FTP. This ++option makes curl use active mode. curl then commands the server to connect ++back to the client's specified address and port, while passive mode asks the ++server to setup an IP address and port for it to connect to. \ ++should be one of: ++ ++## interface ++e.g. **eth0** to specify which interface's IP address you want to use (Unix only) ++ ++## IP address ++e.g. **192.168.10.1** to specify the exact IP address ++ ++## hostname ++e.g. **my.host.domain** to specify the machine ++ ++## - ++make curl pick the same IP address that is already used for the control ++connection. This is the recommended choice. ++ ++## ++ ++Disable the use of PORT with --ftp-pasv. Disable the attempt to use the EPRT ++command instead of PORT by using --disable-eprt. EPRT is really PORT++. ++ ++You can also append ":[start]-[end]" to the right of the address, to tell ++curl what TCP port range to use. That means you specify a port range, from a ++lower to a higher number. A single number works as well, but do note that it ++increases the risk of failure since the port may not be available. ++(Added in 7.19.5) +diff --git a/docs/cmdline-opts/ftp-pret.md b/docs/cmdline-opts/ftp-pret.md +new file mode 100644 +index 0000000..48c48e3 +--- /dev/null ++++ b/docs/cmdline-opts/ftp-pret.md +@@ -0,0 +1,21 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: ftp-pret ++Help: Send PRET before PASV ++Protocols: FTP ++Added: 7.20.0 ++Category: ftp ++Multi: boolean ++See-also: ++ - ftp-port ++ - ftp-pasv ++Example: ++ - --ftp-pret ftp://example.com/ ++--- ++ ++# `--ftp-pret` ++ ++Send a PRET command before PASV (and EPSV). Certain FTP servers, mainly ++drftpd, require this non-standard command for directory listings as well as up ++and downloads in PASV mode. +diff --git a/docs/cmdline-opts/ftp-skip-pasv-ip.md b/docs/cmdline-opts/ftp-skip-pasv-ip.md +new file mode 100644 +index 0000000..dfa546d +--- /dev/null ++++ b/docs/cmdline-opts/ftp-skip-pasv-ip.md +@@ -0,0 +1,24 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: ftp-skip-pasv-ip ++Help: Skip the IP address for PASV ++Protocols: FTP ++Added: 7.14.2 ++Category: ftp ++Multi: boolean ++See-also: ++ - ftp-pasv ++Example: ++ - --ftp-skip-pasv-ip ftp://example.com/ ++--- ++ ++# `--ftp-skip-pasv-ip` ++ ++Do not use the IP address the server suggests in its response to curl's PASV ++command when curl connects the data connection. Instead curl reuses the same ++IP address it already uses for the control connection. ++ ++This option is enabled by default (added in 7.74.0). ++ ++This option has no effect if PORT, EPRT or EPSV is used instead of PASV. +diff --git a/docs/cmdline-opts/ftp-ssl-ccc-mode.md b/docs/cmdline-opts/ftp-ssl-ccc-mode.md +new file mode 100644 +index 0000000..5f428dc +--- /dev/null ++++ b/docs/cmdline-opts/ftp-ssl-ccc-mode.md +@@ -0,0 +1,22 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: ftp-ssl-ccc-mode ++Arg: ++Help: Set CCC mode ++Protocols: FTP ++Added: 7.16.2 ++Category: ftp tls ++Multi: boolean ++See-also: ++ - ftp-ssl-ccc ++Example: ++ - --ftp-ssl-ccc-mode active --ftp-ssl-ccc ftps://example.com/ ++--- ++ ++# `--ftp-ssl-ccc-mode` ++ ++Sets the CCC mode. The passive mode does not initiate the shutdown, but ++instead waits for the server to do it, and does not reply to the shutdown from ++the server. The active mode initiates the shutdown and waits for a reply from ++the server. +diff --git a/docs/cmdline-opts/ftp-ssl-ccc.md b/docs/cmdline-opts/ftp-ssl-ccc.md +new file mode 100644 +index 0000000..d477606 +--- /dev/null ++++ b/docs/cmdline-opts/ftp-ssl-ccc.md +@@ -0,0 +1,22 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: ftp-ssl-ccc ++Help: Send CCC after authenticating ++Protocols: FTP ++Added: 7.16.1 ++Category: ftp tls ++Multi: boolean ++See-also: ++ - ssl ++ - ftp-ssl-ccc-mode ++Example: ++ - --ftp-ssl-ccc ftps://example.com/ ++--- ++ ++# `--ftp-ssl-ccc` ++ ++Use CCC (Clear Command Channel) Shuts down the SSL/TLS layer after ++authenticating. The rest of the control channel communication is be ++unencrypted. This allows NAT routers to follow the FTP transaction. The ++default mode is passive. +diff --git a/docs/cmdline-opts/ftp-ssl-control.md b/docs/cmdline-opts/ftp-ssl-control.md +new file mode 100644 +index 0000000..a68359a +--- /dev/null ++++ b/docs/cmdline-opts/ftp-ssl-control.md +@@ -0,0 +1,20 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: ftp-ssl-control ++Help: Require TLS for login, clear for transfer ++Protocols: FTP ++Added: 7.16.0 ++Category: ftp tls ++Multi: boolean ++See-also: ++ - ssl ++Example: ++ - --ftp-ssl-control ftp://example.com ++--- ++ ++# `--ftp-ssl-control` ++ ++Require SSL/TLS for the FTP login, clear for transfer. Allows secure ++authentication, but non-encrypted data transfers for efficiency. Fails the ++transfer if the server does not support SSL/TLS. +diff --git a/docs/cmdline-opts/get.md b/docs/cmdline-opts/get.md +new file mode 100644 +index 0000000..f8c8cf2 +--- /dev/null ++++ b/docs/cmdline-opts/get.md +@@ -0,0 +1,28 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: get ++Short: G ++Help: Put the post data in the URL and use GET ++Protocols: HTTP ++Category: http upload ++Added: 7.8.1 ++Multi: boolean ++See-also: ++ - data ++ - request ++Example: ++ - --get $URL ++ - --get -d "tool=curl" -d "age=old" $URL ++ - --get -I -d "tool=curl" $URL ++--- ++ ++# `--get` ++ ++When used, this option makes all data specified with --data, --data-binary ++or --data-urlencode to be used in an HTTP GET request instead of the POST ++request that otherwise would be used. The data is appended to the URL ++with a '?' separator. ++ ++If used in combination with --head, the POST data is instead appended to the ++URL with a HEAD request. +diff --git a/docs/cmdline-opts/globoff.md b/docs/cmdline-opts/globoff.md +new file mode 100644 +index 0000000..3c8c341 +--- /dev/null ++++ b/docs/cmdline-opts/globoff.md +@@ -0,0 +1,22 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: globoff ++Short: g ++Help: Disable URL globbing with {} and [] ++Category: curl ++Added: 7.6 ++Multi: boolean ++See-also: ++ - config ++ - disable ++Example: ++ - -g "https://example.com/{[]}}}}" ++--- ++ ++# `--globoff` ++ ++Switch off the URL globbing function. When you set this option, you can ++specify URLs that contain the letters {}[] without having curl itself ++interpret them. Note that these letters are not normal legal URL contents but ++they should be encoded according to the URI standard. +diff --git a/docs/cmdline-opts/happy-eyeballs-timeout-ms.md b/docs/cmdline-opts/happy-eyeballs-timeout-ms.md +new file mode 100644 +index 0000000..8370ee9 +--- /dev/null ++++ b/docs/cmdline-opts/happy-eyeballs-timeout-ms.md +@@ -0,0 +1,28 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: happy-eyeballs-timeout-ms ++Arg: ++Help: Time for IPv6 before IPv4 ++Added: 7.59.0 ++Category: connection ++Multi: single ++See-also: ++ - max-time ++ - connect-timeout ++Example: ++ - --happy-eyeballs-timeout-ms 500 $URL ++--- ++ ++# `--happy-eyeballs-timeout-ms` ++ ++Happy Eyeballs is an algorithm that attempts to connect to both IPv4 and IPv6 ++addresses for dual-stack hosts, giving IPv6 a head-start of the specified ++number of milliseconds. If the IPv6 address cannot be connected to within that ++time, then a connection attempt is made to the IPv4 address in parallel. The ++first connection to be established is the one that is used. ++ ++The range of suggested useful values is limited. Happy Eyeballs RFC 6555 says ++"It is RECOMMENDED that connection attempts be paced 150-250 ms apart to ++balance human factors against network load." libcurl currently defaults to ++200 ms. Firefox and Chrome currently default to 300 ms. +diff --git a/docs/cmdline-opts/haproxy-clientip.md b/docs/cmdline-opts/haproxy-clientip.md +new file mode 100644 +index 0000000..fde085a +--- /dev/null ++++ b/docs/cmdline-opts/haproxy-clientip.md +@@ -0,0 +1,33 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: haproxy-clientip ++Arg: ++Help: Set address in HAProxy PROXY ++Protocols: HTTP ++Added: 8.2.0 ++Category: http proxy ++Multi: single ++See-also: ++ - proxy ++Example: ++ - --haproxy-clientip $IP ++--- ++ ++# `--haproxy-clientip` ++ ++Sets a client IP in HAProxy PROXY protocol v1 header at the beginning of the ++connection. ++ ++For valid requests, IPv4 addresses must be indicated as a series of exactly ++4 integers in the range [0..255] inclusive written in decimal representation ++separated by exactly one dot between each other. Heading zeroes are not ++permitted in front of numbers in order to avoid any possible confusion ++with octal numbers. IPv6 addresses must be indicated as series of 4 hexadecimal ++digits (upper or lower case) delimited by colons between each other, with the ++acceptance of one double colon sequence to replace the largest acceptable range ++of consecutive zeroes. The total number of decoded bits must exactly be 128. ++ ++Otherwise, any string can be accepted for the client IP and get sent. ++ ++It replaces --haproxy-protocol if used, it is not necessary to specify both flags. +diff --git a/docs/cmdline-opts/haproxy-protocol.md b/docs/cmdline-opts/haproxy-protocol.md +new file mode 100644 +index 0000000..26456c8 +--- /dev/null ++++ b/docs/cmdline-opts/haproxy-protocol.md +@@ -0,0 +1,23 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: haproxy-protocol ++Help: Send HAProxy PROXY protocol v1 header ++Protocols: HTTP ++Added: 7.60.0 ++Category: http proxy ++Multi: boolean ++See-also: ++ - proxy ++Example: ++ - --haproxy-protocol $URL ++--- ++ ++# `--haproxy-protocol` ++ ++Send a HAProxy PROXY protocol v1 header at the beginning of the connection. ++This is used by some load balancers and reverse proxies to indicate the ++client's true IP address and port. ++ ++This option is primarily useful when sending test requests to a service that ++expects this header. +diff --git a/docs/cmdline-opts/head.md b/docs/cmdline-opts/head.md +new file mode 100644 +index 0000000..be4dbb8 +--- /dev/null ++++ b/docs/cmdline-opts/head.md +@@ -0,0 +1,23 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: head ++Short: I ++Help: Show document info only ++Protocols: HTTP FTP FILE ++Category: http ftp file ++Added: 4.0 ++Multi: boolean ++See-also: ++ - get ++ - verbose ++ - trace-ascii ++Example: ++ - -I $URL ++--- ++ ++# `--head` ++ ++Fetch the headers only! HTTP-servers feature the command HEAD which this uses ++to get nothing but the header of a document. When used on an FTP or FILE file, ++curl displays the file size and last modification time only. +diff --git a/docs/cmdline-opts/header.md b/docs/cmdline-opts/header.md +new file mode 100644 +index 0000000..13ca4cb +--- /dev/null ++++ b/docs/cmdline-opts/header.md +@@ -0,0 +1,64 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: header ++Short: H ++Arg:
++Help: Pass custom header(s) to server ++Protocols: HTTP IMAP SMTP ++Category: http imap smtp ++Added: 5.0 ++Multi: append ++See-also: ++ - user-agent ++ - referer ++Example: ++ - -H "X-First-Name: Joe" $URL ++ - -H "User-Agent: yes-please/2000" $URL ++ - -H "Host:" $URL ++ - -H @headers.txt $URL ++--- ++ ++# `--header` ++ ++Extra header to include in information sent. When used within an HTTP request, ++it is added to the regular request headers. ++ ++For an IMAP or SMTP MIME uploaded mail built with --form options, it is ++prepended to the resulting MIME document, effectively including it at the mail ++global level. It does not affect raw uploaded mails (Added in 7.56.0). ++ ++You may specify any number of extra headers. Note that if you should add a ++custom header that has the same name as one of the internal ones curl would ++use, your externally set header is used instead of the internal one. This ++allows you to make even trickier stuff than curl would normally do. You should ++not replace internally set headers without knowing perfectly well what you are ++doing. Remove an internal header by giving a replacement without content on ++the right side of the colon, as in: -H `Host:`. If you send the custom header ++with no-value then its header must be terminated with a semicolon, such as -H ++`X-Custom-Header;` to send `X-Custom-Header:`. ++ ++curl makes sure that each header you add/replace is sent with the proper ++end-of-line marker, you should thus **not** add that as a part of the header ++content: do not add newlines or carriage returns, they only mess things up for ++you. curl passes on the verbatim string you give it without any filter or ++other safe guards. That includes white space and control characters. ++ ++This option can take an argument in @filename style, which then adds a header ++for each line in the input file. Using @- makes curl read the header file from ++stdin. Added in 7.55.0. ++ ++Please note that most anti-spam utilities check the presence and value of ++several MIME mail headers: these are `From:`, `To:`, `Date:` and `Subject:` ++among others and should be added with this option. ++ ++You need --proxy-header to send custom headers intended for an HTTP ++proxy. Added in 7.37.0. ++ ++Passing on a "Transfer-Encoding: chunked" header when doing an HTTP request ++with a request body, makes curl send the data using chunked encoding. ++ ++**WARNING**: headers set with this option are set in all HTTP requests - even ++after redirects are followed, like when told with --location. This can lead to ++the header being sent to other hosts than the original host, so sensitive ++headers should be used with caution combined with following redirects. +diff --git a/docs/cmdline-opts/help.md b/docs/cmdline-opts/help.md +new file mode 100644 +index 0000000..7477a1e +--- /dev/null ++++ b/docs/cmdline-opts/help.md +@@ -0,0 +1,26 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: help ++Arg: ++Short: h ++Help: Get help for commands ++Category: important curl ++Added: 4.0 ++Multi: custom ++See-also: ++ - verbose ++Example: ++ - --help all ++--- ++ ++# `--help` ++ ++Usage help. List all curl command line options within the given **category**. ++ ++If no argument is provided, curl displays the most important command line ++arguments. ++ ++For category **all**, curl displays help for all options. ++ ++If **category** is specified, curl displays all available help categories. +diff --git a/docs/cmdline-opts/hostpubmd5.md b/docs/cmdline-opts/hostpubmd5.md +new file mode 100644 +index 0000000..7dc8732 +--- /dev/null ++++ b/docs/cmdline-opts/hostpubmd5.md +@@ -0,0 +1,21 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: hostpubmd5 ++Arg: ++Help: Acceptable MD5 hash of host public key ++Protocols: SFTP SCP ++Added: 7.17.1 ++Category: sftp scp ++Multi: single ++See-also: ++ - hostpubsha256 ++Example: ++ - --hostpubmd5 e5c1c49020640a5ab0f2034854c321a8 sftp://example.com/ ++--- ++ ++# `--hostpubmd5` ++ ++Pass a string containing 32 hexadecimal digits. The string should be the 128 ++bit **MD5** checksum of the remote host's public key, curl refuses the ++connection with the host unless the checksums match. +diff --git a/docs/cmdline-opts/hostpubsha256.md b/docs/cmdline-opts/hostpubsha256.md +new file mode 100644 +index 0000000..8ec0805 +--- /dev/null ++++ b/docs/cmdline-opts/hostpubsha256.md +@@ -0,0 +1,23 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: hostpubsha256 ++Arg: ++Help: Acceptable SHA256 hash of host public key ++Protocols: SFTP SCP ++Added: 7.80.0 ++Category: sftp scp ++Multi: single ++See-also: ++ - hostpubmd5 ++Example: ++ - --hostpubsha256 NDVkMTQxMGQ1ODdmMjQ3MjczYjAyOTY5MmRkMjVmNDQ= sftp://example.com/ ++--- ++ ++# `--hostpubsha256` ++ ++Pass a string containing a Base64-encoded SHA256 hash of the remote host's ++public key. Curl refuses the connection with the host unless the hashes match. ++ ++This feature requires libcurl to be built with libssh2 and does not work with ++other SSH backends. +diff --git a/docs/cmdline-opts/hsts.md b/docs/cmdline-opts/hsts.md +new file mode 100644 +index 0000000..9cae80c +--- /dev/null ++++ b/docs/cmdline-opts/hsts.md +@@ -0,0 +1,32 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: hsts ++Arg: ++Protocols: HTTPS ++Help: Enable HSTS with this cache file ++Added: 7.74.0 ++Category: http ++Multi: append ++See-also: ++ - proto ++Example: ++ - --hsts cache.txt $URL ++--- ++ ++# `--hsts` ++ ++Enable HSTS for the transfer. If the filename points to an existing HSTS cache ++file, that is used. After a completed transfer, the cache is saved to the ++filename again if it has been modified. ++ ++If curl is told to use HTTP:// for a transfer involving a hostname that exists ++in the HSTS cache, it upgrades the transfer to use HTTPS. Each HSTS cache ++entry has an individual life time after which the upgrade is no longer ++performed. ++ ++Specify a "" filename (zero length) to avoid loading/saving and make curl just ++handle HSTS in memory. ++ ++If this option is used several times, curl loads contents from all the ++files but the last one is used for saving. +diff --git a/docs/cmdline-opts/http0.9.md b/docs/cmdline-opts/http0.9.md +new file mode 100644 +index 0000000..54ef323 +--- /dev/null ++++ b/docs/cmdline-opts/http0.9.md +@@ -0,0 +1,27 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: http0.9 ++Tags: Versions ++Protocols: HTTP ++Help: Allow HTTP 0.9 responses ++Category: http ++Added: 7.64.0 ++Multi: boolean ++See-also: ++ - http1.1 ++ - http2 ++ - http3 ++Example: ++ - --http0.9 $URL ++--- ++ ++# `--http0.9` ++ ++Accept an HTTP version 0.9 response. ++ ++HTTP/0.9 is a response without headers and therefore you can also connect with ++this to non-HTTP servers and still get a response since curl simply ++transparently downgrades - if allowed. ++ ++HTTP/0.9 is disabled by default (added in 7.66.0) +diff --git a/docs/cmdline-opts/http1.0.md b/docs/cmdline-opts/http1.0.md +new file mode 100644 +index 0000000..b810ccf +--- /dev/null ++++ b/docs/cmdline-opts/http1.0.md +@@ -0,0 +1,22 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Short: 0 ++Long: http1.0 ++Tags: Versions ++Protocols: HTTP ++Added: 7.9.1 ++Mutexed: http1.1 http2 http2-prior-knowledge http3 ++Help: Use HTTP 1.0 ++Category: http ++Multi: mutex ++See-also: ++ - http0.9 ++ - http1.1 ++Example: ++ - --http1.0 $URL ++--- ++ ++# `--http1.0` ++ ++Use HTTP version 1.0 instead of using its internally preferred HTTP version. +diff --git a/docs/cmdline-opts/http1.1.md b/docs/cmdline-opts/http1.1.md +new file mode 100644 +index 0000000..a223da1 +--- /dev/null ++++ b/docs/cmdline-opts/http1.1.md +@@ -0,0 +1,21 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: http1.1 ++Tags: Versions ++Protocols: HTTP ++Added: 7.33.0 ++Mutexed: http1.0 http2 http2-prior-knowledge http3 ++Help: Use HTTP 1.1 ++Category: http ++Multi: mutex ++See-also: ++ - http1.0 ++ - http0.9 ++Example: ++ - --http1.1 $URL ++--- ++ ++# `--http1.1` ++ ++Use HTTP version 1.1. This is the default with HTTP:// URLs. +diff --git a/docs/cmdline-opts/http2-prior-knowledge.md b/docs/cmdline-opts/http2-prior-knowledge.md +new file mode 100644 +index 0000000..7270109 +--- /dev/null ++++ b/docs/cmdline-opts/http2-prior-knowledge.md +@@ -0,0 +1,25 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: http2-prior-knowledge ++Tags: Versions ++Protocols: HTTP ++Added: 7.49.0 ++Mutexed: http1.1 http1.0 http2 http3 ++Requires: HTTP/2 ++Help: Use HTTP 2 without HTTP/1.1 Upgrade ++Category: http ++Multi: boolean ++See-also: ++ - http2 ++ - http3 ++Example: ++ - --http2-prior-knowledge $URL ++--- ++ ++# `--http2-prior-knowledge` ++ ++Issue a non-TLS HTTP requests using HTTP/2 directly without HTTP/1.1 Upgrade. ++It requires prior knowledge that the server supports HTTP/2 straight away. ++HTTPS requests still do HTTP/2 the standard way with negotiated protocol ++version in the TLS handshake. +diff --git a/docs/cmdline-opts/http2.md b/docs/cmdline-opts/http2.md +new file mode 100644 +index 0000000..ae4d269 +--- /dev/null ++++ b/docs/cmdline-opts/http2.md +@@ -0,0 +1,33 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: http2 ++Tags: Versions ++Protocols: HTTP ++Added: 7.33.0 ++Mutexed: http1.1 http1.0 http2-prior-knowledge http3 ++Requires: HTTP/2 ++Help: Use HTTP/2 ++Category: http ++Multi: mutex ++See-also: ++ - http1.1 ++ - http3 ++ - no-alpn ++Example: ++ - --http2 $URL ++--- ++ ++# `--http2` ++ ++Use HTTP/2. ++ ++For HTTPS, this means curl negotiates HTTP/2 in the TLS handshake. curl does ++this by default. ++ ++For HTTP, this means curl attempts to upgrade the request to HTTP/2 using the ++Upgrade: request header. ++ ++When curl uses HTTP/2 over HTTPS, it does not itself insist on TLS 1.2 or ++higher even though that is required by the specification. A user can add this ++version requirement with --tlsv1.2. +diff --git a/docs/cmdline-opts/http3-only.md b/docs/cmdline-opts/http3-only.md +new file mode 100644 +index 0000000..c565f8b +--- /dev/null ++++ b/docs/cmdline-opts/http3-only.md +@@ -0,0 +1,32 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: http3-only ++Tags: Versions ++Protocols: HTTP ++Added: 7.88.0 ++Mutexed: http1.1 http1.0 http2 http2-prior-knowledge http3 ++Requires: HTTP/3 ++Help: Use HTTP v3 only ++Category: http ++Multi: mutex ++See-also: ++ - http1.1 ++ - http2 ++ - http3 ++Example: ++ - --http3-only $URL ++--- ++ ++# `--http3-only` ++ ++Instructs curl to use HTTP/3 to the host in the URL, with no fallback to ++earlier HTTP versions. HTTP/3 can only be used for HTTPS and not for HTTP ++URLs. For HTTP, this option triggers an error. ++ ++This option allows a user to avoid using the Alt-Svc method of upgrading to ++HTTP/3 when you know that the target speaks HTTP/3 on the given host and port. ++ ++This option makes curl fail if a QUIC connection cannot be established, it ++does not attempt any other HTTP versions on its own. Use --http3 for similar ++functionality *with* a fallback. +diff --git a/docs/cmdline-opts/http3.md b/docs/cmdline-opts/http3.md +new file mode 100644 +index 0000000..a190065 +--- /dev/null ++++ b/docs/cmdline-opts/http3.md +@@ -0,0 +1,33 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: http3 ++Tags: Versions ++Protocols: HTTP ++Added: 7.66.0 ++Mutexed: http1.1 http1.0 http2 http2-prior-knowledge http3-only ++Requires: HTTP/3 ++Help: Use HTTP v3 ++Category: http ++Multi: mutex ++See-also: ++ - http1.1 ++ - http2 ++Example: ++ - --http3 $URL ++--- ++ ++# `--http3` ++ ++Attempt HTTP/3 to the host in the URL, but fallback to earlier HTTP versions ++if the HTTP/3 connection establishment fails. HTTP/3 is only available for ++HTTPS and not for HTTP URLs. ++ ++This option allows a user to avoid using the Alt-Svc method of upgrading to ++HTTP/3 when you know that the target speaks HTTP/3 on the given host and port. ++ ++When asked to use HTTP/3, curl issues a separate attempt to use older HTTP ++versions with a slight delay, so if the HTTP/3 transfer fails or is slow, curl ++still tries to proceed with an older HTTP version. ++ ++Use --http3-only for similar functionality *without* a fallback. +diff --git a/docs/cmdline-opts/ignore-content-length.md b/docs/cmdline-opts/ignore-content-length.md +new file mode 100644 +index 0000000..b9f7522 +--- /dev/null ++++ b/docs/cmdline-opts/ignore-content-length.md +@@ -0,0 +1,25 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: ignore-content-length ++Help: Ignore the size of the remote resource ++Protocols: FTP HTTP ++Category: http ftp ++Added: 7.14.1 ++Multi: boolean ++See-also: ++ - ftp-skip-pasv-ip ++Example: ++ - --ignore-content-length $URL ++--- ++ ++# `--ignore-content-length` ++ ++For HTTP, Ignore the Content-Length header. This is particularly useful for ++servers running Apache 1.x, which reports incorrect Content-Length for ++files larger than 2 gigabytes. ++ ++For FTP, this makes curl skip the SIZE command to figure out the size before ++downloading a file (added in 7.46.0). ++ ++This option does not work for HTTP if libcurl was built to use hyper. +diff --git a/docs/cmdline-opts/include.md b/docs/cmdline-opts/include.md +new file mode 100644 +index 0000000..c4f6beb +--- /dev/null ++++ b/docs/cmdline-opts/include.md +@@ -0,0 +1,26 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: include ++Short: i ++Help: Include response headers in output ++Protocols: HTTP FTP ++Category: important verbose ++Added: 4.8 ++Multi: boolean ++See-also: ++ - verbose ++Example: ++ - -i $URL ++--- ++ ++# `--include` ++ ++Include response headers in the output. HTTP response headers can include ++things like server name, cookies, date of the document, HTTP version and ++more... With non-HTTP protocols, the "headers" are other server communication. ++ ++To view the request headers, consider the --verbose option. ++ ++Prior to 7.75.0 curl did not print the headers if --fail was used in ++combination with this option and there was error reported by server. +diff --git a/docs/cmdline-opts/insecure.md b/docs/cmdline-opts/insecure.md +new file mode 100644 +index 0000000..b1c056b +--- /dev/null ++++ b/docs/cmdline-opts/insecure.md +@@ -0,0 +1,41 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: insecure ++Short: k ++Help: Allow insecure server connections ++Protocols: TLS SFTP SCP ++Category: tls sftp scp ++Added: 7.10 ++Multi: boolean ++See-also: ++ - proxy-insecure ++ - cacert ++ - capath ++Example: ++ - --insecure $URL ++--- ++ ++# `--insecure` ++ ++By default, every secure connection curl makes is verified to be secure before ++the transfer takes place. This option makes curl skip the verification step ++and proceed without checking. ++ ++When this option is not used for protocols using TLS, curl verifies the ++server's TLS certificate before it continues: that the certificate contains ++the right name which matches the hostname used in the URL and that the ++certificate has been signed by a CA certificate present in the cert store. See ++this online resource for further details: ++**https://curl.se/docs/sslcerts.html** ++ ++For SFTP and SCP, this option makes curl skip the *known_hosts* verification. ++*known_hosts* is a file normally stored in the user's home directory in the ++".ssh" subdirectory, which contains hostnames and their public keys. ++ ++**WARNING**: using this option makes the transfer insecure. ++ ++When curl uses secure protocols it trusts responses and allows for example ++HSTS and Alt-Svc information to be stored and used subsequently. Using ++--insecure can make curl trust and use such information from malicious ++servers. +diff --git a/docs/cmdline-opts/interface.md b/docs/cmdline-opts/interface.md +new file mode 100644 +index 0000000..c938fd2 +--- /dev/null ++++ b/docs/cmdline-opts/interface.md +@@ -0,0 +1,25 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: interface ++Arg: ++Help: Use network INTERFACE (or address) ++Category: connection ++Added: 7.3 ++Multi: single ++See-also: ++ - dns-interface ++Example: ++ - --interface eth0 $URL ++--- ++ ++# `--interface` ++ ++Perform an operation using a specified interface. You can enter interface ++name, IP address or hostname. An example could look like: ++ ++ curl --interface eth0:1 https://www.example.com/ ++ ++On Linux it can be used to specify a **VRF**, but the binary needs to either ++have **CAP_NET_RAW** or to be run as root. More information about Linux ++**VRF**: https://www.kernel.org/doc/Documentation/networking/vrf.txt +diff --git a/docs/cmdline-opts/ipfs-gateway.md b/docs/cmdline-opts/ipfs-gateway.md +new file mode 100644 +index 0000000..63429d8 +--- /dev/null ++++ b/docs/cmdline-opts/ipfs-gateway.md +@@ -0,0 +1,39 @@ ++--- ++c: Copyright (C) Mark Gaiser, ++SPDX-License-Identifier: curl ++Long: ipfs-gateway ++Arg: ++Help: Gateway for IPFS ++Protocols: IPFS ++Added: 8.4.0 ++Category: ipfs ++Multi: single ++See-also: ++ - help ++ - manual ++Example: ++ - --ipfs-gateway $URL ipfs:// ++--- ++ ++# `--ipfs-gateway` ++ ++Specify which gateway to use for IPFS and IPNS URLs. Not specifying this ++instead makes curl check if the IPFS_GATEWAY environment variable is set, or ++if a `~/.ipfs/gateway` file holding the gateway URL exists. ++ ++If you run a local IPFS node, this gateway is by default available under ++`http://localhost:8080`. A full example URL would look like: ++ ++ curl --ipfs-gateway http://localhost:8080 ipfs://bafybeigagd5nmnn2iys2f3doro7ydrevyr2mzarwidgadawmamiteydbzi ++ ++There are many public IPFS gateways. See for example: ++https://ipfs.github.io/public-gateway-checker/ ++ ++If you opt to go for a remote gateway you need to be aware that you completely ++trust the gateway. This might be fine in local gateways that you host ++yourself. With remote gateways there could potentially be malicious actors ++returning you data that does not match the request you made, inspect or even ++interfere with the request. You may not notice this when using curl. A ++mitigation could be to go for a "trustless" gateway. This means you locally ++verify that the data. Consult the docs page on trusted vs trustless: ++https://docs.ipfs.tech/reference/http/gateway/#trusted-vs-trustless +diff --git a/docs/cmdline-opts/ipv4.md b/docs/cmdline-opts/ipv4.md +new file mode 100644 +index 0000000..b790cc6 +--- /dev/null ++++ b/docs/cmdline-opts/ipv4.md +@@ -0,0 +1,24 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Short: 4 ++Long: ipv4 ++Tags: Versions ++Protocols: ++Added: 7.10.8 ++Mutexed: ipv6 ++Requires: ++Help: Resolve names to IPv4 addresses ++Category: connection dns ++Multi: mutex ++See-also: ++ - http1.1 ++ - http2 ++Example: ++ - --ipv4 $URL ++--- ++ ++# `--ipv4` ++ ++Use IPv4 addresses only when resolving hostnames, and not for example try ++IPv6. +diff --git a/docs/cmdline-opts/ipv6.md b/docs/cmdline-opts/ipv6.md +new file mode 100644 +index 0000000..547f491 +--- /dev/null ++++ b/docs/cmdline-opts/ipv6.md +@@ -0,0 +1,28 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Short: 6 ++Long: ipv6 ++Tags: Versions ++Protocols: ++Added: 7.10.8 ++Mutexed: ipv4 ++Requires: ++Help: Resolve names to IPv6 addresses ++Category: connection dns ++Multi: mutex ++See-also: ++ - http1.1 ++ - http2 ++Example: ++ - --ipv6 $URL ++--- ++ ++# `--ipv6` ++ ++Use IPv6 addresses only when resolving hostnames, and not for example try ++IPv4. ++ ++Your resolver may respond to an IPv6-only resolve request by returning IPv6 ++addresses that contain "mapped" IPv4 addresses for compatibility purposes. ++macOS is known to do this. +diff --git a/docs/cmdline-opts/json.md b/docs/cmdline-opts/json.md +new file mode 100644 +index 0000000..8056e62 +--- /dev/null ++++ b/docs/cmdline-opts/json.md +@@ -0,0 +1,42 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: json ++Arg: ++Help: HTTP POST JSON ++Protocols: HTTP ++Mutexed: form head upload-file ++Category: http post upload ++Added: 7.82.0 ++Multi: append ++See-also: ++ - data-binary ++ - data-raw ++Example: ++ - --json '{ "drink": "coffe" }' $URL ++ - --json '{ "drink":' --json ' "coffe" }' $URL ++ - --json @prepared $URL ++ - --json @- $URL < json.txt ++--- ++ ++# `--json` ++ ++Sends the specified JSON data in a POST request to the HTTP server. --json ++works as a shortcut for passing on these three options: ++ ++ --data [arg] ++ --header "Content-Type: application/json" ++ --header "Accept: application/json" ++ ++There is **no verification** that the passed in data is actual JSON or that ++the syntax is correct. ++ ++If you start the data with the letter @, the rest should be a filename to read ++the data from, or a single dash (-) if you want curl to read the data from ++stdin. Posting data from a file named 'foobar' would thus be done with --json ++@foobar and to instead read the data from stdin, use --json @-. ++ ++If this option is used more than once on the same command line, the additional ++data pieces are concatenated to the previous before sending. ++ ++The headers this option sets can be overridden with --header as usual. +diff --git a/docs/cmdline-opts/junk-session-cookies.md b/docs/cmdline-opts/junk-session-cookies.md +new file mode 100644 +index 0000000..6397105 +--- /dev/null ++++ b/docs/cmdline-opts/junk-session-cookies.md +@@ -0,0 +1,22 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: junk-session-cookies ++Short: j ++Help: Ignore session cookies read from file ++Protocols: HTTP ++Category: http ++Added: 7.9.7 ++Multi: boolean ++See-also: ++ - cookie ++ - cookie-jar ++Example: ++ - --junk-session-cookies -b cookies.txt $URL ++--- ++ ++# `--junk-session-cookies` ++ ++When curl is told to read cookies from a given file, this option makes it ++discard all "session cookies". This has the same effect as if a new session is ++started. Typical browsers discard session cookies when they are closed down. +diff --git a/docs/cmdline-opts/keepalive-time.md b/docs/cmdline-opts/keepalive-time.md +new file mode 100644 +index 0000000..41c0903 +--- /dev/null ++++ b/docs/cmdline-opts/keepalive-time.md +@@ -0,0 +1,27 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: keepalive-time ++Arg: ++Help: Interval time for keepalive probes ++Added: 7.18.0 ++Category: connection ++Multi: single ++See-also: ++ - no-keepalive ++ - max-time ++Example: ++ - --keepalive-time 20 $URL ++--- ++ ++# `--keepalive-time` ++ ++Set the time a connection needs to remain idle before sending keepalive probes ++and the time between individual keepalive probes. It is currently effective on ++operating systems offering the `TCP_KEEPIDLE` and `TCP_KEEPINTVL` socket ++options (meaning Linux, recent AIX, HP-UX and more). Keepalive is used by the ++TCP stack to detect broken networks on idle connections. The number of missed ++keepalive probes before declaring the connection down is OS dependent and is ++commonly 9 or 10. This option has no effect if --no-keepalive is used. ++ ++If unspecified, the option defaults to 60 seconds. +diff --git a/docs/cmdline-opts/key-type.md b/docs/cmdline-opts/key-type.md +new file mode 100644 +index 0000000..4128bfe +--- /dev/null ++++ b/docs/cmdline-opts/key-type.md +@@ -0,0 +1,20 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: key-type ++Arg: ++Help: Private key file type (DER/PEM/ENG) ++Protocols: TLS ++Category: tls ++Added: 7.9.3 ++Multi: single ++See-also: ++ - key ++Example: ++ - --key-type DER --key here $URL ++--- ++ ++# `--key-type` ++ ++Private key file type. Specify which type your --key provided private key ++is. DER, PEM, and ENG are supported. If not specified, PEM is assumed. +diff --git a/docs/cmdline-opts/key.md b/docs/cmdline-opts/key.md +new file mode 100644 +index 0000000..80540ab +--- /dev/null ++++ b/docs/cmdline-opts/key.md +@@ -0,0 +1,34 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: key ++Arg: ++Protocols: TLS SSH ++Help: Private key filename ++Category: tls ssh ++Added: 7.9.3 ++Multi: single ++See-also: ++ - key-type ++ - cert ++Example: ++ - --cert certificate --key here $URL ++--- ++ ++# `--key` ++ ++Private key filename. Allows you to provide your private key in this separate ++file. For SSH, if not specified, curl tries the following candidates in order: ++`~/.ssh/id_rsa`, `~/.ssh/id_dsa`, `./id_rsa`, `./id_dsa`. ++ ++If curl is built against OpenSSL library, and the engine pkcs11 is available, ++then a PKCS#11 URI (RFC 7512) can be used to specify a private key located in ++a PKCS#11 device. A string beginning with `pkcs11:` is interpreted as a ++PKCS#11 URI. If a PKCS#11 URI is provided, then the --engine option is set as ++`pkcs11` if none was provided and the --key-type option is set as `ENG` if ++none was provided. ++ ++If curl is built against Secure Transport or Schannel then this option is ++ignored for TLS protocols (HTTPS, etc). Those backends expect the private key ++to be already present in the keychain or PKCS#12 file containing the ++certificate. +diff --git a/docs/cmdline-opts/krb.md b/docs/cmdline-opts/krb.md +new file mode 100644 +index 0000000..c353a0c +--- /dev/null ++++ b/docs/cmdline-opts/krb.md +@@ -0,0 +1,23 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: krb ++Arg: ++Help: Enable Kerberos with security ++Protocols: FTP ++Requires: Kerberos ++Category: ftp ++Added: 7.3 ++Multi: single ++See-also: ++ - delegation ++ - ssl ++Example: ++ - --krb clear ftp://example.com/ ++--- ++ ++# `--krb` ++ ++Enable Kerberos authentication and use. The level must be entered and should ++be one of 'clear', 'safe', 'confidential', or 'private'. Should you use a ++level that is not one of these, 'private' is used. +diff --git a/docs/cmdline-opts/libcurl.md b/docs/cmdline-opts/libcurl.md +new file mode 100644 +index 0000000..eeae596 +--- /dev/null ++++ b/docs/cmdline-opts/libcurl.md +@@ -0,0 +1,21 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: libcurl ++Arg: ++Help: Generate libcurl code for this command line ++Added: 7.16.1 ++Category: curl ++Multi: single ++Scope: global ++See-also: ++ - verbose ++Example: ++ - --libcurl client.c $URL ++--- ++ ++# `--libcurl` ++ ++Append this option to any ordinary curl command line, and you get ++libcurl-using C source code written to the file that does the equivalent of ++what your command-line operation does! +diff --git a/docs/cmdline-opts/limit-rate.md b/docs/cmdline-opts/limit-rate.md +new file mode 100644 +index 0000000..273a2ce +--- /dev/null ++++ b/docs/cmdline-opts/limit-rate.md +@@ -0,0 +1,37 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: limit-rate ++Arg: ++Help: Limit transfer speed to RATE ++Category: connection ++Added: 7.10 ++Multi: single ++See-also: ++ - rate ++ - speed-limit ++ - speed-time ++Example: ++ - --limit-rate 100K $URL ++ - --limit-rate 1000 $URL ++ - --limit-rate 10M $URL ++--- ++ ++# `--limit-rate` ++ ++Specify the maximum transfer rate you want curl to use - for both downloads ++and uploads. This feature is useful if you have a limited pipe and you would ++like your transfer not to use your entire bandwidth. To make it slower than it ++otherwise would be. ++ ++The given speed is measured in bytes/second, unless a suffix is appended. ++Appending 'k' or 'K' counts the number as kilobytes, 'm' or 'M' makes it ++megabytes, while 'g' or 'G' makes it gigabytes. The suffixes (k, M, G, T, P) ++are 1024 based. For example 1k is 1024. Examples: 200K, 3m and 1G. ++ ++The rate limiting logic works on averaging the transfer speed to no more than ++the set threshold over a period of multiple seconds. ++ ++If you also use the --speed-limit option, that option takes precedence and ++might cripple the rate-limiting slightly, to help keeping the speed-limit ++logic working. +diff --git a/docs/cmdline-opts/list-only.md b/docs/cmdline-opts/list-only.md +new file mode 100644 +index 0000000..5d8dde6 +--- /dev/null ++++ b/docs/cmdline-opts/list-only.md +@@ -0,0 +1,40 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: list-only ++Short: l ++Protocols: FTP POP3 SFTP ++Help: List only mode ++Added: 4.0 ++Category: ftp pop3 sftp ++Multi: boolean ++See-also: ++ - quote ++ - request ++Example: ++ - --list-only ftp://example.com/dir/ ++--- ++ ++# `--list-only` ++ ++When listing an FTP directory, force a name-only view. Maybe particularly ++useful if the user wants to machine-parse the contents of an FTP directory ++since the normal directory view does not use a standard look or format. When ++used like this, the option causes an NLST command to be sent to the server ++instead of LIST. ++ ++Note: Some FTP servers list only files in their response to NLST; they do not ++include sub-directories and symbolic links. ++ ++When listing an SFTP directory, this switch forces a name-only view, one per ++line. This is especially useful if the user wants to machine-parse the ++contents of an SFTP directory since the normal directory view provides more ++information than just filenames. ++ ++When retrieving a specific email from POP3, this switch forces a LIST command ++to be performed instead of RETR. This is particularly useful if the user wants ++to see if a specific message-id exists on the server and what size it is. ++ ++Note: When combined with --request, this option can be used to send a UIDL ++command instead, so the user may use the email's unique identifier rather than ++its message-id to make the request. +diff --git a/docs/cmdline-opts/local-port.md b/docs/cmdline-opts/local-port.md +new file mode 100644 +index 0000000..b8c0d3f +--- /dev/null ++++ b/docs/cmdline-opts/local-port.md +@@ -0,0 +1,21 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: local-port ++Arg: ++Help: Use a local port number within RANGE ++Added: 7.15.2 ++Category: connection ++Multi: single ++See-also: ++ - globoff ++Example: ++ - --local-port 1000-3000 $URL ++--- ++ ++# `--local-port` ++ ++Set a preferred single number or range (FROM-TO) of local port numbers to use ++for the connection(s). Note that port numbers by nature are a scarce resource ++so setting this range to something too narrow might cause unnecessary ++connection setup failures. +diff --git a/docs/cmdline-opts/location-trusted.md b/docs/cmdline-opts/location-trusted.md +new file mode 100644 +index 0000000..4f4e7de +--- /dev/null ++++ b/docs/cmdline-opts/location-trusted.md +@@ -0,0 +1,21 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: location-trusted ++Help: Like --location, but send auth to other hosts ++Protocols: HTTP ++Category: http auth ++Added: 7.10.4 ++Multi: boolean ++See-also: ++ - user ++Example: ++ - --location-trusted -u user:password $URL ++--- ++ ++# `--location-trusted` ++ ++Like --location, but allows sending the name + password to all hosts that the ++site may redirect to. This may or may not introduce a security breach if the ++site redirects you to a site to which you send your authentication info (which ++is clear-text in the case of HTTP Basic authentication). +diff --git a/docs/cmdline-opts/location.md b/docs/cmdline-opts/location.md +new file mode 100644 +index 0000000..62e3d47 +--- /dev/null ++++ b/docs/cmdline-opts/location.md +@@ -0,0 +1,40 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: location ++Short: L ++Help: Follow redirects ++Protocols: HTTP ++Category: http ++Added: 4.9 ++Multi: boolean ++See-also: ++ - resolve ++ - alt-svc ++Example: ++ - -L $URL ++--- ++ ++# `--location` ++ ++If the server reports that the requested page has moved to a different ++location (indicated with a Location: header and a 3XX response code), this ++option makes curl redo the request on the new place. If used together with ++--include or --head, headers from all requested pages are shown. ++ ++When authentication is used, curl only sends its credentials to the initial ++host. If a redirect takes curl to a different host, it does not get the ++user+password pass on. See also --location-trusted on how to change this. ++ ++Limit the amount of redirects to follow by using the --max-redirs option. ++ ++When curl follows a redirect and if the request is a POST, it sends the ++following request with a GET if the HTTP response was 301, 302, or 303. If the ++response code was any other 3xx code, curl resends the following request using ++the same unmodified method. ++ ++You can tell curl to not change POST requests to GET after a 30x response by ++using the dedicated options for that: --post301, --post302 and --post303. ++ ++The method set with --request overrides the method curl would otherwise select ++to use. +diff --git a/docs/cmdline-opts/login-options.md b/docs/cmdline-opts/login-options.md +new file mode 100644 +index 0000000..fdeeda5 +--- /dev/null ++++ b/docs/cmdline-opts/login-options.md +@@ -0,0 +1,32 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: login-options ++Arg: ++Protocols: IMAP LDAP POP3 SMTP ++Help: Server login options ++Added: 7.34.0 ++Category: imap pop3 smtp auth ++Multi: single ++See-also: ++ - user ++Example: ++ - --login-options 'AUTH=*' imap://example.com ++--- ++ ++# `--login-options` ++ ++Specify the login options to use during server authentication. ++ ++You can use login options to specify protocol specific options that may be ++used during authentication. At present only IMAP, POP3 and SMTP support login ++options. For more information about login options please see RFC 2384, ++RFC 5092 and the IETF draft ++https://datatracker.ietf.org/doc/html/draft-earhart-url-smtp-00 ++ ++Since 8.2.0, IMAP supports the login option `AUTH=+LOGIN`. With this option, ++curl uses the plain (not SASL) `LOGIN IMAP` command even if the server ++advertises SASL authentication. Care should be taken in using this option, as ++it sends your password over the network in plain text. This does not work if ++the IMAP server disables the plain `LOGIN` (e.g. to prevent password ++snooping). +diff --git a/docs/cmdline-opts/mail-auth.md b/docs/cmdline-opts/mail-auth.md +new file mode 100644 +index 0000000..3692c15 +--- /dev/null ++++ b/docs/cmdline-opts/mail-auth.md +@@ -0,0 +1,21 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: mail-auth ++Arg:
++Protocols: SMTP ++Help: Originator address of the original email ++Added: 7.25.0 ++Category: smtp ++Multi: single ++See-also: ++ - mail-rcpt ++ - mail-from ++Example: ++ - --mail-auth user@example.come -T mail smtp://example.com/ ++--- ++ ++# `--mail-auth` ++ ++Specify a single address. This is used to specify the authentication address ++(identity) of a submitted message that is being relayed to another server. +diff --git a/docs/cmdline-opts/mail-from.md b/docs/cmdline-opts/mail-from.md +new file mode 100644 +index 0000000..96b0625 +--- /dev/null ++++ b/docs/cmdline-opts/mail-from.md +@@ -0,0 +1,20 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: mail-from ++Arg:
++Help: Mail from this address ++Protocols: SMTP ++Added: 7.20.0 ++Category: smtp ++Multi: single ++See-also: ++ - mail-rcpt ++ - mail-auth ++Example: ++ - --mail-from user@example.com -T mail smtp://example.com/ ++--- ++ ++# `--mail-from` ++ ++Specify a single address that the given mail should get sent from. +diff --git a/docs/cmdline-opts/mail-rcpt-allowfails.md b/docs/cmdline-opts/mail-rcpt-allowfails.md +new file mode 100644 +index 0000000..a82948b +--- /dev/null ++++ b/docs/cmdline-opts/mail-rcpt-allowfails.md +@@ -0,0 +1,28 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: mail-rcpt-allowfails ++Help: Allow RCPT TO command to fail ++Protocols: SMTP ++Added: 7.69.0 ++Category: smtp ++Multi: boolean ++See-also: ++ - mail-rcpt ++Example: ++ - --mail-rcpt-allowfails --mail-rcpt dest@example.com smtp://example.com ++--- ++ ++# `--mail-rcpt-allowfails` ++ ++When sending data to multiple recipients, by default curl aborts SMTP ++conversation if at least one of the recipients causes RCPT TO command to ++return an error. ++ ++The default behavior can be changed by passing --mail-rcpt-allowfails ++command-line option which makes curl ignore errors and proceed with the ++remaining valid recipients. ++ ++If all recipients trigger RCPT TO failures and this flag is specified, curl ++still aborts the SMTP conversation and returns the error received from to the ++last RCPT TO command. +diff --git a/docs/cmdline-opts/mail-rcpt.md b/docs/cmdline-opts/mail-rcpt.md +new file mode 100644 +index 0000000..bd787c2 +--- /dev/null ++++ b/docs/cmdline-opts/mail-rcpt.md +@@ -0,0 +1,28 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: mail-rcpt ++Arg:
++Help: Mail to this address ++Protocols: SMTP ++Added: 7.20.0 ++Category: smtp ++Multi: append ++See-also: ++ - mail-rcpt-allowfails ++Example: ++ - --mail-rcpt user@example.net smtp://example.com ++--- ++ ++# `--mail-rcpt` ++ ++Specify a single email address, username or mailing list name. Repeat this ++option several times to send to multiple recipients. ++ ++When performing an address verification (**VRFY** command), the recipient ++should be specified as the username or username and domain (as per Section 3.5 ++of RFC 5321). (Added in 7.34.0) ++ ++When performing a mailing list expand (EXPN command), the recipient should be ++specified using the mailing list name, such as "Friends" or "London-Office". ++(Added in 7.34.0) +diff --git a/docs/cmdline-opts/mainpage.idx b/docs/cmdline-opts/mainpage.idx +new file mode 100644 +index 0000000..8496ee4 +--- /dev/null ++++ b/docs/cmdline-opts/mainpage.idx +@@ -0,0 +1,43 @@ ++#*************************************************************************** ++# _ _ ____ _ ++# Project ___| | | | _ \| | ++# / __| | | | |_) | | ++# | (__| |_| | _ <| |___ ++# \___|\___/|_| \_\_____| ++# ++# Copyright (C) Daniel Stenberg, , et al. ++# ++# This software is licensed as described in the file COPYING, which ++# you should have received as part of this distribution. The terms ++# are also available at https://curl.se/docs/copyright.html. ++# ++# You may opt to use, copy, modify, merge, publish, distribute and/or sell ++# copies of the Software, and permit persons to whom the Software is ++# furnished to do so, under the terms of the COPYING file. ++# ++# This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY ++# KIND, either express or implied. ++# ++# SPDX-License-Identifier: curl ++# ++########################################################################### ++_NAME.md ++_SYNOPSIS.md ++_DESCRIPTION.md ++_URL.md ++_GLOBBING.md ++_VARIABLES.md ++_OUTPUT.md ++_PROTOCOLS.md ++_PROGRESS.md ++_VERSION.md ++_OPTIONS.md ++%options ++_FILES.md ++_ENVIRONMENT.md ++_PROXYPREFIX.md ++_EXITCODES.md ++_BUGS.md ++_AUTHORS.md ++_WWW.md ++_SEEALSO.md +diff --git a/docs/cmdline-opts/manual.md b/docs/cmdline-opts/manual.md +new file mode 100644 +index 0000000..bf44f3b +--- /dev/null ++++ b/docs/cmdline-opts/manual.md +@@ -0,0 +1,20 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: manual ++Short: M ++Help: Display the full manual ++Category: curl ++Added: 5.2 ++Multi: custom ++See-also: ++ - verbose ++ - libcurl ++ - trace ++Example: ++ - --manual ++--- ++ ++# `--manual` ++ ++Manual. Display the huge help text. +diff --git a/docs/cmdline-opts/max-filesize.md b/docs/cmdline-opts/max-filesize.md +new file mode 100644 +index 0000000..998359c +--- /dev/null ++++ b/docs/cmdline-opts/max-filesize.md +@@ -0,0 +1,32 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: max-filesize ++Arg: ++Help: Maximum file size to download ++Protocols: FTP HTTP MQTT ++Category: connection ++Added: 7.10.8 ++Multi: single ++See-also: ++ - limit-rate ++Example: ++ - --max-filesize 100K $URL ++--- ++ ++# `--max-filesize` ++ ++Specify the maximum size (in bytes) of a file to download. If the file ++requested is larger than this value, the transfer does not start and curl ++returns with exit code 63. ++ ++A size modifier may be used. For example, Appending 'k' or 'K' counts the ++number as kilobytes, 'm' or 'M' makes it megabytes, while 'g' or 'G' makes it ++gigabytes. Examples: 200K, 3m and 1G. (Added in 7.58.0) ++ ++**NOTE**: before curl 8.4.0, when the file size is not known prior to ++download, for such files this option has no effect even if the file transfer ++ends up being larger than this given limit. ++ ++Starting with curl 8.4.0, this option aborts the transfer if it reaches the ++threshold during transfer. +diff --git a/docs/cmdline-opts/max-redirs.md b/docs/cmdline-opts/max-redirs.md +new file mode 100644 +index 0000000..52b0c57 +--- /dev/null ++++ b/docs/cmdline-opts/max-redirs.md +@@ -0,0 +1,21 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: max-redirs ++Arg: ++Help: Maximum number of redirects allowed ++Protocols: HTTP ++Category: http ++Added: 7.5 ++Multi: single ++See-also: ++ - location ++Example: ++ - --max-redirs 3 --location $URL ++--- ++ ++# `--max-redirs` ++ ++Set maximum number of redirections to follow. When --location is used, to ++prevent curl from following too many redirects, by default, the limit is ++set to 50 redirects. Set this option to -1 to make it unlimited. +diff --git a/docs/cmdline-opts/max-time.md b/docs/cmdline-opts/max-time.md +new file mode 100644 +index 0000000..9102442 +--- /dev/null ++++ b/docs/cmdline-opts/max-time.md +@@ -0,0 +1,30 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: max-time ++Short: m ++Arg: ++Help: Maximum time allowed for transfer ++Category: connection ++Added: 4.0 ++Multi: single ++See-also: ++ - connect-timeout ++ - retry-max-time ++Example: ++ - --max-time 10 $URL ++ - --max-time 2.92 $URL ++--- ++ ++# `--max-time` ++ ++Set maximum time in seconds that you allow each transfer to take. Prevents ++your batch jobs from hanging for hours due to slow networks or links going ++down. This option accepts decimal values (added in 7.32.0). ++ ++If you enable retrying the transfer (--retry) then the maximum time counter is ++reset each time the transfer is retried. You can use --retry-max-time to limit ++the retry time. ++ ++The decimal value needs to provided using a dot (.) as decimal separator - not ++the local version even if it might be using another separator. +diff --git a/docs/cmdline-opts/metalink.md b/docs/cmdline-opts/metalink.md +new file mode 100644 +index 0000000..0c39b46 +--- /dev/null ++++ b/docs/cmdline-opts/metalink.md +@@ -0,0 +1,18 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: metalink ++Help: Process given URLs as metalink XML file ++Added: 7.27.0 ++Category: misc ++Multi: single ++See-also: ++ - parallel ++Example: ++ - --metalink file $URL ++--- ++ ++# `--metalink` ++ ++This option was previously used to specify a Metalink resource. Metalink ++support is disabled in curl for security reasons (added in 7.78.0). +diff --git a/docs/cmdline-opts/negotiate.md b/docs/cmdline-opts/negotiate.md +new file mode 100644 +index 0000000..bba3f6a +--- /dev/null ++++ b/docs/cmdline-opts/negotiate.md +@@ -0,0 +1,28 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: negotiate ++Help: Use HTTP Negotiate (SPNEGO) authentication ++Protocols: HTTP ++Category: auth http ++Added: 7.10.6 ++Multi: mutex ++See-also: ++ - basic ++ - ntlm ++ - anyauth ++ - proxy-negotiate ++Example: ++ - --negotiate -u : $URL ++--- ++ ++# `--negotiate` ++ ++Enable Negotiate (SPNEGO) authentication. ++ ++This option requires a library built with GSS-API or SSPI support. Use ++--version to see if your curl supports GSS-API/SSPI or SPNEGO. ++ ++When using this option, you must also provide a fake --user option to activate ++the authentication code properly. Sending a '-u :' is enough as the username ++and password from the --user option are not actually used. +diff --git a/docs/cmdline-opts/netrc-file.md b/docs/cmdline-opts/netrc-file.md +new file mode 100644 +index 0000000..841f23c +--- /dev/null ++++ b/docs/cmdline-opts/netrc-file.md +@@ -0,0 +1,24 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: netrc-file ++Help: Specify FILE for netrc ++Arg: ++Added: 7.21.5 ++Mutexed: netrc ++Category: curl ++Multi: single ++See-also: ++ - netrc ++ - user ++ - config ++Example: ++ - --netrc-file netrc $URL ++--- ++ ++# `--netrc-file` ++ ++Set the netrc file to use. Similar to --netrc, except that you also provide ++the path (absolute or relative). ++ ++It abides by --netrc-optional if specified. +diff --git a/docs/cmdline-opts/netrc-optional.md b/docs/cmdline-opts/netrc-optional.md +new file mode 100644 +index 0000000..6aa7695 +--- /dev/null ++++ b/docs/cmdline-opts/netrc-optional.md +@@ -0,0 +1,19 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: netrc-optional ++Help: Use either .netrc or URL ++Mutexed: netrc ++Category: curl ++Added: 7.9.8 ++Multi: boolean ++See-also: ++ - netrc-file ++Example: ++ - --netrc-optional $URL ++--- ++ ++# `--netrc-optional` ++ ++Similar to --netrc, but this option makes the .netrc usage **optional** ++and not mandatory as the --netrc option does. +diff --git a/docs/cmdline-opts/netrc.md b/docs/cmdline-opts/netrc.md +new file mode 100644 +index 0000000..4c07f9b +--- /dev/null ++++ b/docs/cmdline-opts/netrc.md +@@ -0,0 +1,38 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: netrc ++Short: n ++Help: Must read .netrc for username and password ++Category: curl ++Added: 4.6 ++Mutexed: netrc-file netrc-optional ++Multi: boolean ++See-also: ++ - netrc-file ++ - config ++ - user ++Example: ++ - --netrc $URL ++--- ++ ++# `--netrc` ++ ++Make curl scan the *.netrc* file in the user's home directory for login name ++and password. This is typically used for FTP on Unix. If used with HTTP, curl ++enables user authentication. See *netrc(5)* and *ftp(1)* for details on the ++file format. Curl does not complain if that file does not have the right ++permissions (it should be neither world- nor group-readable). The environment ++variable "HOME" is used to find the home directory. ++ ++On Windows two filenames in the home directory are checked: *.netrc* and ++*_netrc*, preferring the former. Older versions on Windows checked for *_netrc* ++only. ++ ++A quick and simple example of how to setup a *.netrc* to allow curl to FTP to ++the machine host.domain.com with username 'myself' and password 'secret' could ++look similar to: ++ ++ machine host.domain.com ++ login myself ++ password secret +diff --git a/docs/cmdline-opts/next.md b/docs/cmdline-opts/next.md +new file mode 100644 +index 0000000..2cf65c6 +--- /dev/null ++++ b/docs/cmdline-opts/next.md +@@ -0,0 +1,33 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Short: : ++Long: next ++Tags: ++Protocols: ++Added: 7.36.0 ++Magic: divider ++Help: Make next URL use its separate set of options ++Category: curl ++Multi: append ++See-also: ++ - parallel ++ - config ++Example: ++ - $URL --next -d postthis www2.example.com ++ - -I $URL --next https://example.net/ ++--- ++ ++# `--next` ++ ++Use a separate operation for the following URL and associated options. This ++allows you to send several URL requests, each with their own specific options, ++for example, such as different usernames or custom requests for each. ++ ++--next resets all local options and only global ones have their values survive ++over to the operation following the --next instruction. Global options include ++--verbose, --trace, --trace-ascii and --fail-early. ++ ++For example, you can do both a GET and a POST in a single command line: ++ ++ curl www1.example.com --next -d postthis www2.example.com +diff --git a/docs/cmdline-opts/no-alpn.md b/docs/cmdline-opts/no-alpn.md +new file mode 100644 +index 0000000..4752948 +--- /dev/null ++++ b/docs/cmdline-opts/no-alpn.md +@@ -0,0 +1,26 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: no-alpn ++Tags: HTTP/2 ++Protocols: HTTPS ++Added: 7.36.0 ++Requires: TLS ++Help: Disable the ALPN TLS extension ++Category: tls http ++Multi: boolean ++See-also: ++ - no-npn ++ - http2 ++Example: ++ - --no-alpn $URL ++--- ++ ++# `--no-alpn` ++ ++Disable the ALPN TLS extension. ALPN is enabled by default if libcurl was built ++with an SSL library that supports ALPN. ALPN is used by a libcurl that supports ++HTTP/2 to negotiate HTTP/2 support with the server during https sessions. ++ ++Note that this is the negated option name documented. You can use --alpn to ++enable ALPN. +diff --git a/docs/cmdline-opts/no-buffer.md b/docs/cmdline-opts/no-buffer.md +new file mode 100644 +index 0000000..41328b1 +--- /dev/null ++++ b/docs/cmdline-opts/no-buffer.md +@@ -0,0 +1,24 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: no-buffer ++Short: N ++Help: Disable buffering of the output stream ++Category: curl ++Added: 6.5 ++Multi: boolean ++See-also: ++ - progress-bar ++Example: ++ - --no-buffer $URL ++--- ++ ++# `--no-buffer` ++ ++Disables the buffering of the output stream. In normal work situations, curl ++uses a standard buffered output stream that has the effect that it outputs the ++data in chunks, not necessarily exactly when the data arrives. Using this ++option disables that buffering. ++ ++Note that this is the negated option name documented. You can use --buffer to ++enable buffering again. +diff --git a/docs/cmdline-opts/no-clobber.md b/docs/cmdline-opts/no-clobber.md +new file mode 100644 +index 0000000..5864622 +--- /dev/null ++++ b/docs/cmdline-opts/no-clobber.md +@@ -0,0 +1,26 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: no-clobber ++Help: Do not overwrite files that already exist ++Category: curl output ++Added: 7.83.0 ++Multi: boolean ++See-also: ++ - output ++ - remote-name ++Example: ++ - --no-clobber --output local/dir/file $URL ++--- ++ ++# `--no-clobber` ++ ++When used in conjunction with the --output, --remote-header-name, ++--remote-name, or --remote-name-all options, curl avoids overwriting files ++that already exist. Instead, a dot and a number gets appended to the name of ++the file that would be created, up to filename.100 after which it does not ++create any file. ++ ++Note that this is the negated option name documented. You can thus use ++--clobber to enforce the clobbering, even if --remote-header-name is ++specified. +diff --git a/docs/cmdline-opts/no-keepalive.md b/docs/cmdline-opts/no-keepalive.md +new file mode 100644 +index 0000000..1829e8c +--- /dev/null ++++ b/docs/cmdline-opts/no-keepalive.md +@@ -0,0 +1,21 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: no-keepalive ++Help: Disable TCP keepalive on the connection ++Category: connection ++Added: 7.18.0 ++Multi: boolean ++See-also: ++ - keepalive-time ++Example: ++ - --no-keepalive $URL ++--- ++ ++# `--no-keepalive` ++ ++Disables the use of keepalive messages on the TCP connection. curl otherwise ++enables them by default. ++ ++Note that this is the negated option name documented. You can thus use ++--keepalive to enforce keepalive. +diff --git a/docs/cmdline-opts/no-npn.md b/docs/cmdline-opts/no-npn.md +new file mode 100644 +index 0000000..d8ad6a2 +--- /dev/null ++++ b/docs/cmdline-opts/no-npn.md +@@ -0,0 +1,26 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: no-npn ++Tags: Versions HTTP/2 ++Protocols: HTTPS ++Added: 7.36.0 ++Mutexed: ++Requires: TLS ++Help: Disable the NPN TLS extension ++Category: tls http ++Multi: boolean ++See-also: ++ - no-alpn ++ - http2 ++Example: ++ - --no-npn $URL ++--- ++ ++# `--no-npn` ++ ++curl never uses NPN, this option has no effect (added in 7.86.0). ++ ++Disable the NPN TLS extension. NPN is enabled by default if libcurl was built ++with an SSL library that supports NPN. NPN is used by a libcurl that supports ++HTTP/2 to negotiate HTTP/2 support with the server during https sessions. +diff --git a/docs/cmdline-opts/no-progress-meter.md b/docs/cmdline-opts/no-progress-meter.md +new file mode 100644 +index 0000000..72ec993 +--- /dev/null ++++ b/docs/cmdline-opts/no-progress-meter.md +@@ -0,0 +1,22 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: no-progress-meter ++Help: Do not show the progress meter ++Added: 7.67.0 ++Category: verbose ++Multi: boolean ++See-also: ++ - verbose ++ - silent ++Example: ++ - --no-progress-meter -o store $URL ++--- ++ ++# `--no-progress-meter` ++ ++Option to switch off the progress meter output without muting or otherwise ++affecting warning and informational messages like --silent does. ++ ++Note that this is the negated option name documented. You can thus use ++--progress-meter to enable the progress meter again. +diff --git a/docs/cmdline-opts/no-sessionid.md b/docs/cmdline-opts/no-sessionid.md +new file mode 100644 +index 0000000..08ba990 +--- /dev/null ++++ b/docs/cmdline-opts/no-sessionid.md +@@ -0,0 +1,25 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: no-sessionid ++Help: Disable SSL session-ID reusing ++Protocols: TLS ++Added: 7.16.0 ++Category: tls ++Multi: boolean ++See-also: ++ - insecure ++Example: ++ - --no-sessionid $URL ++--- ++ ++# `--no-sessionid` ++ ++Disable curl's use of SSL session-ID caching. By default all transfers are ++done using the cache. Note that while nothing should ever get hurt by ++attempting to reuse SSL session-IDs, there seem to be broken SSL ++implementations in the wild that may require you to disable this in order for ++you to succeed. ++ ++Note that this is the negated option name documented. You can thus use ++--sessionid to enforce session-ID caching. +diff --git a/docs/cmdline-opts/noproxy.md b/docs/cmdline-opts/noproxy.md +new file mode 100644 +index 0000000..698549e +--- /dev/null ++++ b/docs/cmdline-opts/noproxy.md +@@ -0,0 +1,33 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: noproxy ++Arg: ++Help: List of hosts which do not use proxy ++Added: 7.19.4 ++Category: proxy ++Multi: single ++See-also: ++ - proxy ++Example: ++ - --noproxy "www.example" $URL ++--- ++ ++# `--noproxy` ++ ++Comma-separated list of hosts for which not to use a proxy, if one is ++specified. The only wildcard is a single `*` character, which matches all ++hosts, and effectively disables the proxy. Each name in this list is matched ++as either a domain which contains the hostname, or the hostname itself. For ++example, `local.com` would match `local.com`, `local.com:80`, and ++`www.local.com`, but not `www.notlocal.com`. ++ ++This option overrides the environment variables that disable the proxy ++(`no_proxy` and `NO_PROXY`) (added in 7.53.0). If there is an environment ++variable disabling a proxy, you can set the no proxy list to "" to override ++it. ++ ++IP addresses specified to this option can be provided using CIDR notation ++(added in 7.86.0): an appended slash and number specifies the number of ++network bits out of the address to use in the comparison. For example ++`192.168.0.0/16` would match all addresses starting with `192.168`. +diff --git a/docs/cmdline-opts/ntlm-wb.md b/docs/cmdline-opts/ntlm-wb.md +new file mode 100644 +index 0000000..c5bcd4b +--- /dev/null ++++ b/docs/cmdline-opts/ntlm-wb.md +@@ -0,0 +1,20 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: ntlm-wb ++Help: HTTP NTLM authentication with winbind ++Protocols: HTTP ++Category: auth http ++Added: 7.22.0 ++Multi: mutex ++See-also: ++ - ntlm ++ - proxy-ntlm ++Example: ++ - --ntlm-wb -u user:password $URL ++--- ++ ++# `--ntlm-wb` ++ ++Enables NTLM much in the style --ntlm does, but hand over the authentication ++to the separate binary `ntlmauth` application that is executed when needed. +diff --git a/docs/cmdline-opts/ntlm.md b/docs/cmdline-opts/ntlm.md +new file mode 100644 +index 0000000..b37716b +--- /dev/null ++++ b/docs/cmdline-opts/ntlm.md +@@ -0,0 +1,28 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: ntlm ++Help: HTTP NTLM authentication ++Mutexed: basic negotiate digest anyauth ++Protocols: HTTP ++Requires: TLS ++Category: auth http ++Added: 7.10.6 ++Multi: mutex ++See-also: ++ - proxy-ntlm ++Example: ++ - --ntlm -u user:password $URL ++--- ++ ++# `--ntlm` ++ ++Use NTLM authentication. The NTLM authentication method was designed by ++Microsoft and is used by IIS web servers. It is a proprietary protocol, ++reverse-engineered by clever people and implemented in curl based on their ++efforts. This kind of behavior should not be endorsed, you should encourage ++everyone who uses NTLM to switch to a public and documented authentication ++method instead, such as Digest. ++ ++If you want to enable NTLM for your proxy authentication, then use ++--proxy-ntlm. +diff --git a/docs/cmdline-opts/oauth2-bearer.md b/docs/cmdline-opts/oauth2-bearer.md +new file mode 100644 +index 0000000..ee9ec5d +--- /dev/null ++++ b/docs/cmdline-opts/oauth2-bearer.md +@@ -0,0 +1,25 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: oauth2-bearer ++Help: OAuth 2 Bearer Token ++Arg: ++Protocols: IMAP LDAP POP3 SMTP HTTP ++Category: auth ++Added: 7.33.0 ++Multi: single ++See-also: ++ - basic ++ - ntlm ++ - digest ++Example: ++ - --oauth2-bearer "mF_9.B5f-4.1JqM" $URL ++--- ++ ++# `--oauth2-bearer` ++ ++Specify the Bearer Token for OAUTH 2.0 server authentication. The Bearer Token ++is used in conjunction with the username which can be specified as part of the ++--url or --user options. ++ ++The Bearer Token and username are formatted according to RFC 6750. +diff --git a/docs/cmdline-opts/output-dir.md b/docs/cmdline-opts/output-dir.md +new file mode 100644 +index 0000000..04d780f +--- /dev/null ++++ b/docs/cmdline-opts/output-dir.md +@@ -0,0 +1,26 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: output-dir ++Arg: ++Help: Directory to save files in ++Added: 7.73.0 ++Category: curl ++Multi: single ++See-also: ++ - remote-name ++ - remote-header-name ++Example: ++ - --output-dir "tmp" -O $URL ++--- ++ ++# `--output-dir` ++ ++Specify the directory in which files should be stored, when --remote-name or ++--output are used. ++ ++The given output directory is used for all URLs and output options on the ++command line, up until the first --next. ++ ++If the specified target directory does not exist, the operation fails unless ++--create-dirs is also used. +diff --git a/docs/cmdline-opts/output.md b/docs/cmdline-opts/output.md +new file mode 100644 +index 0000000..53f6583 +--- /dev/null ++++ b/docs/cmdline-opts/output.md +@@ -0,0 +1,62 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: output ++Arg: ++Short: o ++Help: Write to file instead of stdout ++Category: important curl ++Added: 4.0 ++Multi: append ++See-also: ++ - remote-name ++ - remote-name-all ++ - remote-header-name ++Example: ++ - -o file $URL ++ - "http://{one,two}.example.com" -o "file_#1.txt" ++ - "http://{site,host}.host[1-5].example" -o "#1_#2" ++ - -o file $URL -o file2 https://example.net ++--- ++ ++# `--output` ++ ++Write output to the given file instead of stdout. If you are using globbing to ++fetch multiple documents, you should quote the URL and you can use `#` ++followed by a number in the filename. That variable is then replaced with the ++current string for the URL being fetched. Like in: ++ ++ curl "http://{one,two}.example.com" -o "file_#1.txt" ++ ++or use several variables like: ++ ++ curl "http://{site,host}.host[1-5].example" -o "#1_#2" ++ ++You may use this option as many times as the number of URLs you have. For ++example, if you specify two URLs on the same command line, you can use it like ++this: ++ ++ curl -o aa example.com -o bb example.net ++ ++and the order of the -o options and the URLs does not matter, just that the ++first -o is for the first URL and so on, so the above command line can also be ++written as ++ ++ curl example.com example.net -o aa -o bb ++ ++See also the --create-dirs option to create the local directories ++dynamically. Specifying the output as '-' (a single dash) passes the output to ++stdout. ++ ++To suppress response bodies, you can redirect output to /dev/null: ++ ++ curl example.com -o /dev/null ++ ++Or for Windows: ++ ++ curl example.com -o nul ++ ++Specify the filename as single minus to force the output to stdout, to ++override curl's internal binary output in terminal prevention: ++ ++ curl https://example.com/jpeg -o - +diff --git a/docs/cmdline-opts/parallel-immediate.md b/docs/cmdline-opts/parallel-immediate.md +new file mode 100644 +index 0000000..f93a355 +--- /dev/null ++++ b/docs/cmdline-opts/parallel-immediate.md +@@ -0,0 +1,22 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: parallel-immediate ++Help: Do not wait for multiplexing (with --parallel) ++Added: 7.68.0 ++Category: connection curl ++Multi: boolean ++Scope: global ++See-also: ++ - parallel ++ - parallel-max ++Example: ++ - --parallel-immediate -Z $URL -o file1 $URL -o file2 ++--- ++ ++# `--parallel-immediate` ++ ++When doing parallel transfers, this option instructs curl that it should ++rather prefer opening up more connections in parallel at once rather than ++waiting to see if new transfers can be added as multiplexed streams on another ++connection. +diff --git a/docs/cmdline-opts/parallel-max.md b/docs/cmdline-opts/parallel-max.md +new file mode 100644 +index 0000000..f3d2ad1 +--- /dev/null ++++ b/docs/cmdline-opts/parallel-max.md +@@ -0,0 +1,24 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: parallel-max ++Arg: ++Help: Maximum concurrency for parallel transfers ++Added: 7.66.0 ++Category: connection curl ++Multi: single ++See-also: ++ - parallel ++Example: ++ - --parallel-max 100 -Z $URL ftp://example.com/ ++--- ++ ++# `--parallel-max` ++ ++When asked to do parallel transfers, using --parallel, this option controls ++the maximum amount of transfers to do simultaneously. ++ ++This option is global and does not need to be specified for each use of ++--next. ++ ++The default is 50. +diff --git a/docs/cmdline-opts/parallel.md b/docs/cmdline-opts/parallel.md +new file mode 100644 +index 0000000..f67598a +--- /dev/null ++++ b/docs/cmdline-opts/parallel.md +@@ -0,0 +1,21 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Short: Z ++Long: parallel ++Help: Perform transfers in parallel ++Added: 7.66.0 ++Category: connection curl ++Multi: boolean ++Scope: global ++See-also: ++ - next ++ - verbose ++Example: ++ - --parallel $URL -o file1 $URL -o file2 ++--- ++ ++# `--parallel` ++ ++Makes curl perform its transfers in parallel as compared to the regular serial ++manner. +diff --git a/docs/cmdline-opts/pass.md b/docs/cmdline-opts/pass.md +new file mode 100644 +index 0000000..a0d9456 +--- /dev/null ++++ b/docs/cmdline-opts/pass.md +@@ -0,0 +1,20 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: pass ++Arg: ++Help: Pass phrase for the private key ++Protocols: SSH TLS ++Category: ssh tls auth ++Added: 7.9.3 ++Multi: single ++See-also: ++ - key ++ - user ++Example: ++ - --pass secret --key file $URL ++--- ++ ++# `--pass` ++ ++Passphrase for the private key. +diff --git a/docs/cmdline-opts/path-as-is.md b/docs/cmdline-opts/path-as-is.md +new file mode 100644 +index 0000000..f3a60cf +--- /dev/null ++++ b/docs/cmdline-opts/path-as-is.md +@@ -0,0 +1,19 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: path-as-is ++Help: Do not squash .. sequences in URL path ++Added: 7.42.0 ++Category: curl ++Multi: boolean ++See-also: ++ - request-target ++Example: ++ - --path-as-is https://example.com/../../etc/passwd ++--- ++ ++# `--path-as-is` ++ ++Do not handle sequences of /../ or /./ in the given URL path. Normally curl ++squashes or merges them according to standards but with this option set you ++tell it not to do that. +diff --git a/docs/cmdline-opts/pinnedpubkey.md b/docs/cmdline-opts/pinnedpubkey.md +new file mode 100644 +index 0000000..53c7991 +--- /dev/null ++++ b/docs/cmdline-opts/pinnedpubkey.md +@@ -0,0 +1,44 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: pinnedpubkey ++Arg: ++Help: FILE/HASHES Public key to verify peer against ++Protocols: TLS ++Category: tls ++Added: 7.39.0 ++Multi: single ++See-also: ++ - hostpubsha256 ++Example: ++ - --pinnedpubkey keyfile $URL ++ - --pinnedpubkey 'sha256//ce118b51897f4452dc' $URL ++--- ++ ++# `--pinnedpubkey` ++ ++Use the specified public key file (or hashes) to verify the peer. This can be ++a path to a file which contains a single public key in PEM or DER format, or ++any number of base64 encoded sha256 hashes preceded by 'sha256//' and ++separated by ';'. ++ ++When negotiating a TLS or SSL connection, the server sends a certificate ++indicating its identity. A public key is extracted from this certificate and ++if it does not exactly match the public key provided to this option, curl ++aborts the connection before sending or receiving any data. ++ ++This option is independent of option --insecure. If you use both options ++together then the peer is still verified by public key. ++ ++PEM/DER support: ++ ++OpenSSL and GnuTLS (added in 7.39.0), wolfSSL (added in 7.43.0), mbedTLS ++(added in 7.47.0), Secure Transport macOS 10.7+/iOS 10+ (7.54.1), Schannel ++(7.58.1) ++ ++sha256 support: ++ ++OpenSSL, GnuTLS and wolfSSL (added in 7.44.0), mbedTLS (added in 7.47.0), ++Secure Transport macOS 10.7+/iOS 10+ (7.54.1), Schannel (7.58.1) ++ ++Other SSL backends not supported. +diff --git a/docs/cmdline-opts/post301.md b/docs/cmdline-opts/post301.md +new file mode 100644 +index 0000000..d9506f7 +--- /dev/null ++++ b/docs/cmdline-opts/post301.md +@@ -0,0 +1,24 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: post301 ++Help: Do not switch to GET after a 301 redirect ++Protocols: HTTP ++Added: 7.17.1 ++Category: http post ++Multi: boolean ++See-also: ++ - post302 ++ - post303 ++ - location ++Example: ++ - --post301 --location -d "data" $URL ++--- ++ ++# `--post301` ++ ++Respect RFC 7231/6.4.2 and do not convert POST requests into GET requests when ++following a 301 redirect. The non-RFC behavior is ubiquitous in web browsers, ++so curl does the conversion by default to maintain consistency. However, a ++server may require a POST to remain a POST after such a redirection. This ++option is meaningful only when using --location. +diff --git a/docs/cmdline-opts/post302.md b/docs/cmdline-opts/post302.md +new file mode 100644 +index 0000000..9b2c2f6 +--- /dev/null ++++ b/docs/cmdline-opts/post302.md +@@ -0,0 +1,24 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: post302 ++Help: Do not switch to GET after a 302 redirect ++Protocols: HTTP ++Added: 7.19.1 ++Category: http post ++Multi: boolean ++See-also: ++ - post301 ++ - post303 ++ - location ++Example: ++ - --post302 --location -d "data" $URL ++--- ++ ++# `--post302` ++ ++Respect RFC 7231/6.4.3 and do not convert POST requests into GET requests when ++following a 302 redirect. The non-RFC behavior is ubiquitous in web browsers, ++so curl does the conversion by default to maintain consistency. However, a ++server may require a POST to remain a POST after such a redirection. This ++option is meaningful only when using --location. +diff --git a/docs/cmdline-opts/post303.md b/docs/cmdline-opts/post303.md +new file mode 100644 +index 0000000..63dc0d7 +--- /dev/null ++++ b/docs/cmdline-opts/post303.md +@@ -0,0 +1,22 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: post303 ++Help: Do not switch to GET after a 303 redirect ++Protocols: HTTP ++Added: 7.26.0 ++Category: http post ++Multi: boolean ++See-also: ++ - post302 ++ - post301 ++ - location ++Example: ++ - --post303 --location -d "data" $URL ++--- ++ ++# `--post303` ++ ++Violate RFC 7231/6.4.4 and do not convert POST requests into GET requests when ++following 303 redirect. A server may require a POST to remain a POST after a ++303 redirection. This option is meaningful only when using --location. +diff --git a/docs/cmdline-opts/preproxy.md b/docs/cmdline-opts/preproxy.md +new file mode 100644 +index 0000000..dabccfc +--- /dev/null ++++ b/docs/cmdline-opts/preproxy.md +@@ -0,0 +1,33 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: preproxy ++Arg: [protocol://]host[:port] ++Help: Use this proxy first ++Added: 7.52.0 ++Category: proxy ++Multi: single ++See-also: ++ - proxy ++ - socks5 ++Example: ++ - --preproxy socks5://proxy.example -x http://http.example $URL ++--- ++ ++# `--preproxy` ++ ++Use the specified SOCKS proxy before connecting to an HTTP or HTTPS --proxy. In ++such a case curl first connects to the SOCKS proxy and then connects (through ++SOCKS) to the HTTP or HTTPS proxy. Hence pre proxy. ++ ++The pre proxy string should be specified with a protocol:// prefix to specify ++alternative proxy protocols. Use socks4://, socks4a://, socks5:// or ++socks5h:// to request the specific SOCKS version to be used. No protocol ++specified makes curl default to SOCKS4. ++ ++If the port number is not specified in the proxy string, it is assumed to be ++1080. ++ ++User and password that might be provided in the proxy string are URL decoded ++by curl. This allows you to pass in special characters such as @ by using %40 ++or pass in a colon with %3a. +diff --git a/docs/cmdline-opts/progress-bar.md b/docs/cmdline-opts/progress-bar.md +new file mode 100644 +index 0000000..7b9c599 +--- /dev/null ++++ b/docs/cmdline-opts/progress-bar.md +@@ -0,0 +1,26 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Short: # ++Long: progress-bar ++Help: Display transfer progress as a bar ++Category: verbose ++Added: 5.10 ++Multi: boolean ++Scope: global ++See-also: ++ - styled-output ++Example: ++ - -# -O $URL ++--- ++ ++# `--progress-bar` ++ ++Make curl display transfer progress as a simple progress bar instead of the ++standard, more informational, meter. ++ ++This progress bar draws a single line of '#' characters across the screen and ++shows a percentage if the transfer size is known. For transfers without a ++known size, there is a space ship (-=o=-) that moves back and forth but only ++while data is being transferred, with a set of flying hash sign symbols on ++top. +diff --git a/docs/cmdline-opts/proto-default.md b/docs/cmdline-opts/proto-default.md +new file mode 100644 +index 0000000..209e5cd +--- /dev/null ++++ b/docs/cmdline-opts/proto-default.md +@@ -0,0 +1,26 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: proto-default ++Help: Use PROTOCOL for any URL missing a scheme ++Arg: ++Added: 7.45.0 ++Category: connection curl ++Multi: single ++See-also: ++ - proto ++ - proto-redir ++Example: ++ - --proto-default https ftp.example.com ++--- ++ ++# `--proto-default` ++ ++Use *protocol* for any provided URL missing a scheme. ++ ++An unknown or unsupported protocol causes error *CURLE_UNSUPPORTED_PROTOCOL*. ++ ++This option does not change the default proxy protocol (http). ++ ++Without this option set, curl guesses protocol based on the hostname, see ++--url for details. +diff --git a/docs/cmdline-opts/proto-redir.md b/docs/cmdline-opts/proto-redir.md +new file mode 100644 +index 0000000..51fb7bd +--- /dev/null ++++ b/docs/cmdline-opts/proto-redir.md +@@ -0,0 +1,27 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: proto-redir ++Arg: ++Help: Enable/disable PROTOCOLS on redirect ++Added: 7.20.2 ++Category: connection curl ++Multi: single ++See-also: ++ - proto ++Example: ++ - --proto-redir =http,https $URL ++--- ++ ++# `--proto-redir` ++ ++Limit what protocols to allow on redirects. Protocols denied by --proto are ++not overridden by this option. See --proto for how protocols are represented. ++ ++Example, allow only HTTP and HTTPS on redirect: ++ ++ curl --proto-redir -all,http,https http://example.com ++ ++By default curl only allows HTTP, HTTPS, FTP and FTPS on redirects (added in ++7.65.2). Specifying *all* or *+all* enables all protocols on redirects, which ++is not good for security. +diff --git a/docs/cmdline-opts/proto.md b/docs/cmdline-opts/proto.md +new file mode 100644 +index 0000000..704c649 +--- /dev/null ++++ b/docs/cmdline-opts/proto.md +@@ -0,0 +1,48 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: proto ++Arg: ++Help: Enable/disable PROTOCOLS ++Added: 7.20.2 ++Category: connection curl ++Multi: single ++See-also: ++ - proto-redir ++ - proto-default ++Example: ++ - --proto =http,https,sftp $URL ++--- ++ ++# `--proto` ++ ++Limit what protocols to allow for transfers. Protocols are evaluated left to ++right, are comma separated, and are each a protocol name or 'all', optionally ++prefixed by zero or more modifiers. Available modifiers are: ++ ++## + ++Permit this protocol in addition to protocols already permitted (this is ++the default if no modifier is used). ++ ++## - ++Deny this protocol, removing it from the list of protocols already permitted. ++ ++## = ++Permit only this protocol (ignoring the list already permitted), though ++subject to later modification by subsequent entries in the comma separated ++list. ++ ++## ++ ++For example: --proto -ftps uses the default protocols, but disables ftps ++ ++--proto -all,https,+http only enables http and https ++ ++--proto =http,https also only enables http and https ++ ++Unknown and disabled protocols produce a warning. This allows scripts to ++safely rely on being able to disable potentially dangerous protocols, without ++relying upon support for that protocol being built into curl to avoid an error. ++ ++This option can be used multiple times, in which case the effect is the same ++as concatenating the protocols into one instance of the option. +diff --git a/docs/cmdline-opts/proxy-anyauth.md b/docs/cmdline-opts/proxy-anyauth.md +new file mode 100644 +index 0000000..78e67ee +--- /dev/null ++++ b/docs/cmdline-opts/proxy-anyauth.md +@@ -0,0 +1,20 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: proxy-anyauth ++Help: Pick any proxy authentication method ++Added: 7.13.2 ++Category: proxy auth ++Multi: mutex ++See-also: ++ - proxy ++ - proxy-basic ++ - proxy-digest ++Example: ++ - --proxy-anyauth --proxy-user user:passwd -x proxy $URL ++--- ++ ++# `--proxy-anyauth` ++ ++Automatically pick a suitable authentication method when communicating with ++the given HTTP proxy. This might cause an extra request/response round-trip. +diff --git a/docs/cmdline-opts/proxy-basic.md b/docs/cmdline-opts/proxy-basic.md +new file mode 100644 +index 0000000..2fae3d5 +--- /dev/null ++++ b/docs/cmdline-opts/proxy-basic.md +@@ -0,0 +1,21 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: proxy-basic ++Help: Use Basic authentication on the proxy ++Category: proxy auth ++Added: 7.12.0 ++Multi: mutex ++See-also: ++ - proxy ++ - proxy-anyauth ++ - proxy-digest ++Example: ++ - --proxy-basic --proxy-user user:passwd -x proxy $URL ++--- ++ ++# `--proxy-basic` ++ ++Use HTTP Basic authentication when communicating with the given proxy. Use ++--basic for enabling HTTP Basic with a remote host. Basic is the default ++authentication method curl uses with proxies. +diff --git a/docs/cmdline-opts/proxy-ca-native.md b/docs/cmdline-opts/proxy-ca-native.md +new file mode 100644 +index 0000000..6158b6c +--- /dev/null ++++ b/docs/cmdline-opts/proxy-ca-native.md +@@ -0,0 +1,27 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: proxy-ca-native ++Help: Load CA certs from the OS to verify proxy ++Protocols: TLS ++Category: tls ++Added: 8.2.0 ++Multi: boolean ++See-also: ++ - cacert ++ - capath ++ - insecure ++Example: ++ - --ca-native $URL ++--- ++ ++# `--proxy-ca-native` ++ ++Use the CA store from the native operating system to verify the HTTPS proxy. ++By default, curl uses a CA store provided in a single file or directory, but ++when using this option it interfaces the operating system's own vault. ++ ++This option works for curl on Windows when built to use OpenSSL, wolfSSL ++(added in 8.3.0) or GnuTLS (added in 8.5.0). When curl on Windows is built to ++use Schannel, this feature is implied and curl then only uses the native CA ++store. +diff --git a/docs/cmdline-opts/proxy-cacert.md b/docs/cmdline-opts/proxy-cacert.md +new file mode 100644 +index 0000000..ec0dd9f +--- /dev/null ++++ b/docs/cmdline-opts/proxy-cacert.md +@@ -0,0 +1,21 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: proxy-cacert ++Help: CA certificates to verify proxy against ++Arg: ++Added: 7.52.0 ++Category: proxy tls ++Multi: single ++See-also: ++ - proxy-capath ++ - cacert ++ - capath ++ - proxy ++Example: ++ - --proxy-cacert CA-file.txt -x https://proxy $URL ++--- ++ ++# `--proxy-cacert` ++ ++Same as --cacert but used in HTTPS proxy context. +diff --git a/docs/cmdline-opts/proxy-capath.md b/docs/cmdline-opts/proxy-capath.md +new file mode 100644 +index 0000000..bc2c7b5 +--- /dev/null ++++ b/docs/cmdline-opts/proxy-capath.md +@@ -0,0 +1,30 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: proxy-capath ++Help: CA directory to verify proxy against ++Arg: ++Added: 7.52.0 ++Category: proxy tls ++Multi: single ++See-also: ++ - proxy-cacert ++ - proxy ++ - capath ++Example: ++ - --proxy-capath /local/directory -x https://proxy $URL ++--- ++ ++# `--proxy-capath` ++ ++Same as --capath but used in HTTPS proxy context. ++ ++Use the specified certificate directory to verify the proxy. Multiple paths ++can be provided by separated with colon (`:`) (e.g. `path1:path2:path3`). The ++certificates must be in PEM format, and if curl is built against OpenSSL, the ++directory must have been processed using the c_rehash utility supplied with ++OpenSSL. Using --proxy-capath can allow OpenSSL-powered curl to make ++SSL-connections much more efficiently than using --proxy-cacert if the ++--proxy-cacert file contains many CA certificates. ++ ++If this option is set, the default capath value is ignored. +diff --git a/docs/cmdline-opts/proxy-cert-type.md b/docs/cmdline-opts/proxy-cert-type.md +new file mode 100644 +index 0000000..3f46bb6 +--- /dev/null ++++ b/docs/cmdline-opts/proxy-cert-type.md +@@ -0,0 +1,18 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: proxy-cert-type ++Arg: ++Added: 7.52.0 ++Help: Client certificate type for HTTPS proxy ++Category: proxy tls ++Multi: single ++See-also: ++ - proxy-cert ++Example: ++ - --proxy-cert-type PEM --proxy-cert file -x https://proxy $URL ++--- ++ ++# `--proxy-cert-type` ++ ++Same as --cert-type but used in HTTPS proxy context. +diff --git a/docs/cmdline-opts/proxy-cert.md b/docs/cmdline-opts/proxy-cert.md +new file mode 100644 +index 0000000..3068f3c +--- /dev/null ++++ b/docs/cmdline-opts/proxy-cert.md +@@ -0,0 +1,18 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: proxy-cert ++Arg: ++Help: Set client certificate for proxy ++Added: 7.52.0 ++Category: proxy tls ++Multi: single ++See-also: ++ - proxy-cert-type ++Example: ++ - --proxy-cert file -x https://proxy $URL ++--- ++ ++# `--proxy-cert` ++ ++Same as --cert but used in HTTPS proxy context. +diff --git a/docs/cmdline-opts/proxy-ciphers.md b/docs/cmdline-opts/proxy-ciphers.md +new file mode 100644 +index 0000000..065d449 +--- /dev/null ++++ b/docs/cmdline-opts/proxy-ciphers.md +@@ -0,0 +1,26 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: proxy-ciphers ++Arg: ++Help: SSL ciphers to use for proxy ++Added: 7.52.0 ++Category: proxy tls ++Multi: single ++See-also: ++ - ciphers ++ - curves ++ - proxy ++Example: ++ - --proxy-ciphers ECDHE-ECDSA-AES256-CCM8 -x https://proxy $URL ++--- ++ ++# `--proxy-ciphers` ++ ++Same as --ciphers but used in HTTPS proxy context. ++ ++Specifies which ciphers to use in the connection to the HTTPS proxy. The list ++of ciphers must specify valid ciphers. Read up on SSL cipher list details on ++this URL: ++ ++https://curl.se/docs/ssl-ciphers.html +diff --git a/docs/cmdline-opts/proxy-crlfile.md b/docs/cmdline-opts/proxy-crlfile.md +new file mode 100644 +index 0000000..ab47fb0 +--- /dev/null ++++ b/docs/cmdline-opts/proxy-crlfile.md +@@ -0,0 +1,19 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: proxy-crlfile ++Arg: ++Help: Set a CRL list for proxy ++Added: 7.52.0 ++Category: proxy tls ++Multi: single ++See-also: ++ - crlfile ++ - proxy ++Example: ++ - --proxy-crlfile rejects.txt -x https://proxy $URL ++--- ++ ++# `--proxy-crlfile` ++ ++Same as --crlfile but used in HTTPS proxy context. +diff --git a/docs/cmdline-opts/proxy-digest.md b/docs/cmdline-opts/proxy-digest.md +new file mode 100644 +index 0000000..77b88d7 +--- /dev/null ++++ b/docs/cmdline-opts/proxy-digest.md +@@ -0,0 +1,20 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: proxy-digest ++Help: Digest auth with the proxy ++Category: proxy tls ++Added: 7.12.0 ++Multi: mutex ++See-also: ++ - proxy ++ - proxy-anyauth ++ - proxy-basic ++Example: ++ - --proxy-digest --proxy-user user:passwd -x proxy $URL ++--- ++ ++# `--proxy-digest` ++ ++Use HTTP Digest authentication when communicating with the given proxy. Use ++--digest for enabling HTTP Digest with a remote host. +diff --git a/docs/cmdline-opts/proxy-header.md b/docs/cmdline-opts/proxy-header.md +new file mode 100644 +index 0000000..0361fdf +--- /dev/null ++++ b/docs/cmdline-opts/proxy-header.md +@@ -0,0 +1,38 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: proxy-header ++Arg:
++Help: Pass custom header(s) to proxy ++Protocols: HTTP ++Added: 7.37.0 ++Category: proxy ++Multi: append ++See-also: ++ - proxy ++Example: ++ - --proxy-header "X-First-Name: Joe" -x http://proxy $URL ++ - --proxy-header "User-Agent: surprise" -x http://proxy $URL ++ - --proxy-header "Host:" -x http://proxy $URL ++--- ++ ++# `--proxy-header` ++ ++Extra header to include in the request when sending HTTP to a proxy. You may ++specify any number of extra headers. This is the equivalent option to --header ++but is for proxy communication only like in CONNECT requests when you want a ++separate header sent to the proxy to what is sent to the actual remote host. ++ ++curl makes sure that each header you add/replace is sent with the proper ++end-of-line marker, you should thus **not** add that as a part of the header ++content: do not add newlines or carriage returns, they only mess things up for ++you. ++ ++Headers specified with this option are not included in requests that curl ++knows are not be sent to a proxy. ++ ++This option can take an argument in @filename style, which then adds a header ++for each line in the input file (added in 7.55.0). Using @- makes curl read ++the headers from stdin. ++ ++This option can be used multiple times to add/replace/remove multiple headers. +diff --git a/docs/cmdline-opts/proxy-http2.md b/docs/cmdline-opts/proxy-http2.md +new file mode 100644 +index 0000000..ca6a091 +--- /dev/null ++++ b/docs/cmdline-opts/proxy-http2.md +@@ -0,0 +1,24 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: proxy-http2 ++Tags: Versions HTTP/2 ++Protocols: HTTP ++Added: 8.1.0 ++Mutexed: ++Requires: HTTP/2 ++Help: Use HTTP/2 with HTTPS proxy ++Category: http proxy ++Multi: boolean ++See-also: ++ - proxy ++Example: ++ - --proxy-http2 -x proxy $URL ++--- ++ ++# `--proxy-http2` ++ ++Negotiate HTTP/2 with an HTTPS proxy. The proxy might still only offer HTTP/1 ++and then curl sticks to using that version. ++ ++This has no effect for any other kinds of proxies. +diff --git a/docs/cmdline-opts/proxy-insecure.md b/docs/cmdline-opts/proxy-insecure.md +new file mode 100644 +index 0000000..5796c36 +--- /dev/null ++++ b/docs/cmdline-opts/proxy-insecure.md +@@ -0,0 +1,30 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: proxy-insecure ++Help: Skip HTTPS proxy cert verification ++Added: 7.52.0 ++Category: proxy tls ++Multi: boolean ++See-also: ++ - proxy ++ - insecure ++Example: ++ - --proxy-insecure -x https://proxy $URL ++--- ++ ++# `--proxy-insecure` ++ ++Same as --insecure but used in HTTPS proxy context. ++ ++Every secure connection curl makes is verified to be secure before the ++transfer takes place. This option makes curl skip the verification step with a ++proxy and proceed without checking. ++ ++When this option is not used for a proxy using HTTPS, curl verifies the ++proxy's TLS certificate before it continues: that the certificate contains the ++right name which matches the hostname and that the certificate has been signed ++by a CA certificate present in the cert store. See this online resource for ++further details: **https://curl.se/docs/sslcerts.html** ++ ++**WARNING**: using this option makes the transfer to the proxy insecure. +diff --git a/docs/cmdline-opts/proxy-key-type.md b/docs/cmdline-opts/proxy-key-type.md +new file mode 100644 +index 0000000..8740935 +--- /dev/null ++++ b/docs/cmdline-opts/proxy-key-type.md +@@ -0,0 +1,19 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: proxy-key-type ++Arg: ++Help: Private key file type for proxy ++Added: 7.52.0 ++Category: proxy tls ++Multi: single ++See-also: ++ - proxy-key ++ - proxy ++Example: ++ - --proxy-key-type DER --proxy-key here -x https://proxy $URL ++--- ++ ++# `--proxy-key-type` ++ ++Same as --key-type but used in HTTPS proxy context. +diff --git a/docs/cmdline-opts/proxy-key.md b/docs/cmdline-opts/proxy-key.md +new file mode 100644 +index 0000000..cfe5078 +--- /dev/null ++++ b/docs/cmdline-opts/proxy-key.md +@@ -0,0 +1,19 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: proxy-key ++Help: Private key for HTTPS proxy ++Arg: ++Category: proxy tls ++Added: 7.52.0 ++Multi: single ++See-also: ++ - proxy-key-type ++ - proxy ++Example: ++ - --proxy-key here -x https://proxy $URL ++--- ++ ++# `--proxy-key` ++ ++Same as --key but used in HTTPS proxy context. +diff --git a/docs/cmdline-opts/proxy-negotiate.md b/docs/cmdline-opts/proxy-negotiate.md +new file mode 100644 +index 0000000..9bedf5d +--- /dev/null ++++ b/docs/cmdline-opts/proxy-negotiate.md +@@ -0,0 +1,20 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: proxy-negotiate ++Help: HTTP Negotiate (SPNEGO) auth with the proxy ++Added: 7.17.1 ++Category: proxy auth ++Multi: mutex ++See-also: ++ - proxy-anyauth ++ - proxy-basic ++Example: ++ - --proxy-negotiate --proxy-user user:passwd -x proxy $URL ++--- ++ ++# `--proxy-negotiate` ++ ++Use HTTP Negotiate (SPNEGO) authentication when communicating with the given ++proxy. Use --negotiate for enabling HTTP Negotiate (SPNEGO) with a remote ++host. +diff --git a/docs/cmdline-opts/proxy-ntlm.md b/docs/cmdline-opts/proxy-ntlm.md +new file mode 100644 +index 0000000..f8375a6 +--- /dev/null ++++ b/docs/cmdline-opts/proxy-ntlm.md +@@ -0,0 +1,19 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: proxy-ntlm ++Help: NTLM authentication with the proxy ++Category: proxy auth ++Added: 7.10.7 ++Multi: mutex ++See-also: ++ - proxy-negotiate ++ - proxy-anyauth ++Example: ++ - --proxy-ntlm --proxy-user user:passwd -x http://proxy $URL ++--- ++ ++# `--proxy-ntlm` ++ ++Use HTTP NTLM authentication when communicating with the given proxy. Use ++--ntlm for enabling NTLM with a remote host. +diff --git a/docs/cmdline-opts/proxy-pass.md b/docs/cmdline-opts/proxy-pass.md +new file mode 100644 +index 0000000..feba6e0 +--- /dev/null ++++ b/docs/cmdline-opts/proxy-pass.md +@@ -0,0 +1,19 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: proxy-pass ++Arg: ++Help: Pass phrase for the private key for HTTPS proxy ++Added: 7.52.0 ++Category: proxy tls auth ++Multi: single ++See-also: ++ - proxy ++ - proxy-key ++Example: ++ - --proxy-pass secret --proxy-key here -x https://proxy $URL ++--- ++ ++# `--proxy-pass` ++ ++Same as --pass but used in HTTPS proxy context. +diff --git a/docs/cmdline-opts/proxy-pinnedpubkey.md b/docs/cmdline-opts/proxy-pinnedpubkey.md +new file mode 100644 +index 0000000..6f0b52d +--- /dev/null ++++ b/docs/cmdline-opts/proxy-pinnedpubkey.md +@@ -0,0 +1,29 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: proxy-pinnedpubkey ++Arg: ++Help: FILE/HASHES public key to verify proxy with ++Protocols: TLS ++Category: proxy tls ++Added: 7.59.0 ++Multi: single ++See-also: ++ - pinnedpubkey ++ - proxy ++Example: ++ - --proxy-pinnedpubkey keyfile $URL ++ - --proxy-pinnedpubkey 'sha256//ce118b51897f4452dc' $URL ++--- ++ ++# `--proxy-pinnedpubkey` ++ ++Use the specified public key file (or hashes) to verify the proxy. This can be ++a path to a file which contains a single public key in PEM or DER format, or ++any number of base64 encoded sha256 hashes preceded by 'sha256//' and ++separated by ';'. ++ ++When negotiating a TLS or SSL connection, the server sends a certificate ++indicating its identity. A public key is extracted from this certificate and ++if it does not exactly match the public key provided to this option, curl ++aborts the connection before sending or receiving any data. +diff --git a/docs/cmdline-opts/proxy-service-name.md b/docs/cmdline-opts/proxy-service-name.md +new file mode 100644 +index 0000000..534222f +--- /dev/null ++++ b/docs/cmdline-opts/proxy-service-name.md +@@ -0,0 +1,19 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: proxy-service-name ++Arg: ++Help: SPNEGO proxy service name ++Added: 7.43.0 ++Category: proxy tls ++Multi: single ++See-also: ++ - service-name ++ - proxy ++Example: ++ - --proxy-service-name "shrubbery" -x proxy $URL ++--- ++ ++# `--proxy-service-name` ++ ++Set the service name for proxy negotiation. +diff --git a/docs/cmdline-opts/proxy-ssl-allow-beast.md b/docs/cmdline-opts/proxy-ssl-allow-beast.md +new file mode 100644 +index 0000000..f2deedb +--- /dev/null ++++ b/docs/cmdline-opts/proxy-ssl-allow-beast.md +@@ -0,0 +1,18 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: proxy-ssl-allow-beast ++Help: Allow security flaw for interop for HTTPS proxy ++Added: 7.52.0 ++Category: proxy tls ++Multi: boolean ++See-also: ++ - ssl-allow-beast ++ - proxy ++Example: ++ - --proxy-ssl-allow-beast -x https://proxy $URL ++--- ++ ++# `--proxy-ssl-allow-beast` ++ ++Same as --ssl-allow-beast but used in HTTPS proxy context. +diff --git a/docs/cmdline-opts/proxy-ssl-auto-client-cert.md b/docs/cmdline-opts/proxy-ssl-auto-client-cert.md +new file mode 100644 +index 0000000..578a7a6 +--- /dev/null ++++ b/docs/cmdline-opts/proxy-ssl-auto-client-cert.md +@@ -0,0 +1,20 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: proxy-ssl-auto-client-cert ++Help: Auto client certificate for proxy ++Added: 7.77.0 ++Category: proxy tls ++Multi: boolean ++See-also: ++ - ssl-auto-client-cert ++ - proxy ++Example: ++ - --proxy-ssl-auto-client-cert -x https://proxy $URL ++--- ++ ++# `--proxy-ssl-auto-client-cert` ++ ++Same as --ssl-auto-client-cert but used in HTTPS proxy context. ++ ++This is only supported by Schannel. +diff --git a/docs/cmdline-opts/proxy-tls13-ciphers.md b/docs/cmdline-opts/proxy-tls13-ciphers.md +new file mode 100644 +index 0000000..002fd0b +--- /dev/null ++++ b/docs/cmdline-opts/proxy-tls13-ciphers.md +@@ -0,0 +1,29 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: proxy-tls13-ciphers ++Arg: ++help: TLS 1.3 proxy cipher suites ++Protocols: TLS ++Category: proxy tls ++Added: 7.61.0 ++Multi: single ++See-also: ++ - tls13-ciphers ++ - curves ++ - proxy-ciphers ++Example: ++ - --proxy-tls13-ciphers TLS_AES_128_GCM_SHA256 -x proxy $URL ++--- ++ ++# `--proxy-tls13-ciphers` ++ ++Specify which cipher suites to use in the connection to your HTTPS proxy when ++it negotiates TLS 1.3. The list of ciphers suites must specify valid ciphers. ++Read up on TLS 1.3 cipher suite details on this URL: ++ ++https://curl.se/docs/ssl-ciphers.html ++ ++This option is currently used only when curl is built to use OpenSSL 1.1.1 or ++later. If you are using a different SSL backend you can try setting TLS 1.3 ++cipher suites by using the --proxy-ciphers option. +diff --git a/docs/cmdline-opts/proxy-tlsauthtype.md b/docs/cmdline-opts/proxy-tlsauthtype.md +new file mode 100644 +index 0000000..067e4c5 +--- /dev/null ++++ b/docs/cmdline-opts/proxy-tlsauthtype.md +@@ -0,0 +1,19 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: proxy-tlsauthtype ++Arg: ++Help: TLS authentication type for HTTPS proxy ++Added: 7.52.0 ++Category: proxy tls auth ++Multi: single ++See-also: ++ - proxy ++ - proxy-tlsuser ++Example: ++ - --proxy-tlsauthtype SRP -x https://proxy $URL ++--- ++ ++# `--proxy-tlsauthtype` ++ ++Same as --tlsauthtype but used in HTTPS proxy context. +diff --git a/docs/cmdline-opts/proxy-tlspassword.md b/docs/cmdline-opts/proxy-tlspassword.md +new file mode 100644 +index 0000000..3c6d06c +--- /dev/null ++++ b/docs/cmdline-opts/proxy-tlspassword.md +@@ -0,0 +1,19 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: proxy-tlspassword ++Arg: ++Help: TLS password for HTTPS proxy ++Added: 7.52.0 ++Category: proxy tls auth ++Multi: single ++See-also: ++ - proxy ++ - proxy-tlsuser ++Example: ++ - --proxy-tlspassword passwd -x https://proxy $URL ++--- ++ ++# `--proxy-tlspassword` ++ ++Same as --tlspassword but used in HTTPS proxy context. +diff --git a/docs/cmdline-opts/proxy-tlsuser.md b/docs/cmdline-opts/proxy-tlsuser.md +new file mode 100644 +index 0000000..1c626ee +--- /dev/null ++++ b/docs/cmdline-opts/proxy-tlsuser.md +@@ -0,0 +1,19 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: proxy-tlsuser ++Arg: ++Help: TLS username for HTTPS proxy ++Added: 7.52.0 ++Category: proxy tls auth ++Multi: single ++See-also: ++ - proxy ++ - proxy-tlspassword ++Example: ++ - --proxy-tlsuser smith -x https://proxy $URL ++--- ++ ++# `--proxy-tlsuser` ++ ++Same as --tlsuser but used in HTTPS proxy context. +diff --git a/docs/cmdline-opts/proxy-tlsv1.md b/docs/cmdline-opts/proxy-tlsv1.md +new file mode 100644 +index 0000000..0dda72f +--- /dev/null ++++ b/docs/cmdline-opts/proxy-tlsv1.md +@@ -0,0 +1,17 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: proxy-tlsv1 ++Help: TLSv1 for HTTPS proxy ++Added: 7.52.0 ++Category: proxy tls auth ++Multi: mutex ++See-also: ++ - proxy ++Example: ++ - --proxy-tlsv1 -x https://proxy $URL ++--- ++ ++# `--proxy-tlsv1` ++ ++Same as --tlsv1 but used in HTTPS proxy context. +diff --git a/docs/cmdline-opts/proxy-user.md b/docs/cmdline-opts/proxy-user.md +new file mode 100644 +index 0000000..8ba1932 +--- /dev/null ++++ b/docs/cmdline-opts/proxy-user.md +@@ -0,0 +1,29 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: proxy-user ++Short: U ++Arg: ++Help: Proxy user and password ++Category: proxy auth ++Added: 4.0 ++Multi: single ++See-also: ++ - proxy-pass ++Example: ++ - --proxy-user smith:secret -x proxy $URL ++--- ++ ++# `--proxy-user` ++ ++Specify the username and password to use for proxy authentication. ++ ++If you use a Windows SSPI-enabled curl binary and do either Negotiate or NTLM ++authentication then you can tell curl to select the username and password from ++your environment by specifying a single colon with this option: "-U :". ++ ++On systems where it works, curl hides the given option argument from process ++listings. This is not enough to protect credentials from possibly getting seen ++by other users on the same system as they still are visible for a moment ++before cleared. Such sensitive data should be retrieved from a file instead or ++similar and never used in clear text in a command line. +diff --git a/docs/cmdline-opts/proxy.md b/docs/cmdline-opts/proxy.md +new file mode 100644 +index 0000000..51f638c +--- /dev/null ++++ b/docs/cmdline-opts/proxy.md +@@ -0,0 +1,58 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: proxy ++Short: x ++Arg: [protocol://]host[:port] ++Help: Use this proxy ++Category: proxy ++Added: 4.0 ++Multi: single ++See-also: ++ - socks5 ++ - proxy-basic ++Example: ++ - --proxy http://proxy.example $URL ++--- ++ ++# `--proxy` ++ ++Use the specified proxy. ++ ++The proxy string can be specified with a protocol:// prefix. No protocol ++specified or http:// it is treated as an HTTP proxy. Use socks4://, ++socks4a://, socks5:// or socks5h:// to request a specific SOCKS version to be ++used. (Added in 7.21.7) ++ ++Unix domain sockets are supported for socks proxy. Set localhost for the host ++part. e.g. socks5h://localhost/path/to/socket.sock ++ ++HTTPS proxy support works set with the https:// protocol prefix for OpenSSL ++and GnuTLS (added in 7.52.0). It also works for BearSSL, mbedTLS, rustls, ++Schannel, Secure Transport and wolfSSL (added in 7.87.0). ++ ++Unrecognized and unsupported proxy protocols cause an error (added in 7.52.0). ++Ancient curl versions ignored unknown schemes and used http:// instead. ++ ++If the port number is not specified in the proxy string, it is assumed to be ++1080. ++ ++This option overrides existing environment variables that set the proxy to ++use. If there is an environment variable setting a proxy, you can set proxy to ++"" to override it. ++ ++All operations that are performed over an HTTP proxy are transparently ++converted to HTTP. It means that certain protocol specific operations might ++not be available. This is not the case if you can tunnel through the proxy, as ++one with the --proxytunnel option. ++ ++User and password that might be provided in the proxy string are URL decoded ++by curl. This allows you to pass in special characters such as @ by using %40 ++or pass in a colon with %3a. ++ ++The proxy host can be specified the same way as the proxy environment ++variables, including the protocol prefix (http://) and the embedded user + ++password. ++ ++When a proxy is used, the active FTP mode as set with --ftp-port, cannot be ++used. +diff --git a/docs/cmdline-opts/proxy1.0.md b/docs/cmdline-opts/proxy1.0.md +new file mode 100644 +index 0000000..4d3203a +--- /dev/null ++++ b/docs/cmdline-opts/proxy1.0.md +@@ -0,0 +1,25 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: proxy1.0 ++Arg: ++Help: Use HTTP/1.0 proxy on given port ++Category: proxy ++Added: 7.19.4 ++Multi: mutex ++See-also: ++ - proxy ++ - socks5 ++ - preproxy ++Example: ++ - --proxy1.0 http://proxy $URL ++--- ++ ++# `--proxy1.0` ++ ++Use the specified HTTP 1.0 proxy. If the port number is not specified, it is ++assumed at port 1080. ++ ++The only difference between this and the HTTP proxy option --proxy, is that ++attempts to use CONNECT through the proxy specifies an HTTP 1.0 protocol ++instead of the default HTTP 1.1. +diff --git a/docs/cmdline-opts/proxytunnel.md b/docs/cmdline-opts/proxytunnel.md +new file mode 100644 +index 0000000..169d2ad +--- /dev/null ++++ b/docs/cmdline-opts/proxytunnel.md +@@ -0,0 +1,24 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: proxytunnel ++Short: p ++Help: HTTP proxy tunnel (using CONNECT) ++Category: proxy ++Added: 7.3 ++Multi: boolean ++See-also: ++ - proxy ++Example: ++ - --proxytunnel -x http://proxy $URL ++--- ++ ++# `--proxytunnel` ++ ++When an HTTP proxy is used --proxy, this option makes curl tunnel the traffic ++through the proxy. The tunnel approach is made with the HTTP proxy CONNECT ++request and requires that the proxy allows direct connect to the remote port ++number curl wants to tunnel through to. ++ ++To suppress proxy CONNECT response headers when curl is set to output headers ++use --suppress-connect-headers. +diff --git a/docs/cmdline-opts/pubkey.md b/docs/cmdline-opts/pubkey.md +new file mode 100644 +index 0000000..94e50e4 +--- /dev/null ++++ b/docs/cmdline-opts/pubkey.md +@@ -0,0 +1,25 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: pubkey ++Arg: ++Protocols: SFTP SCP ++Help: SSH Public key filename ++Category: sftp scp auth ++Added: 7.16.2 ++Multi: single ++See-also: ++ - pass ++Example: ++ - --pubkey file.pub sftp://example.com/ ++--- ++ ++# `--pubkey` ++ ++Public key filename. Allows you to provide your public key in this separate ++file. ++ ++curl attempts to automatically extract the public key from the private key ++file, so passing this option is generally not required. Note that this public ++key extraction requires libcurl to be linked against a copy of libssh2 1.2.8 ++or higher that is itself linked against OpenSSL. (Added in 7.39.0.) +diff --git a/docs/cmdline-opts/quote.md b/docs/cmdline-opts/quote.md +new file mode 100644 +index 0000000..4972c96 +--- /dev/null ++++ b/docs/cmdline-opts/quote.md +@@ -0,0 +1,90 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: quote ++Arg: ++Short: Q ++Help: Send command(s) to server before transfer ++Protocols: FTP SFTP ++Category: ftp sftp ++Added: 5.3 ++Multi: append ++See-also: ++ - request ++Example: ++ - --quote "DELE file" ftp://example.com/foo ++--- ++ ++# `--quote` ++ ++Send an arbitrary command to the remote FTP or SFTP server. Quote commands are ++sent BEFORE the transfer takes place (just after the initial **PWD** command ++in an FTP transfer, to be exact). To make commands take place after a ++successful transfer, prefix them with a dash '-'. ++ ++(FTP only) To make commands be sent after curl has changed the working ++directory, just before the file transfer command(s), prefix the command with a ++'+'. This is not performed when a directory listing is performed. ++ ++You may specify any number of commands. ++ ++By default curl stops at first failure. To make curl continue even if the ++command fails, prefix the command with an asterisk (*). Otherwise, if the ++server returns failure for one of the commands, the entire operation is ++aborted. ++ ++You must send syntactically correct FTP commands as RFC 959 defines to FTP ++servers, or one of the commands listed below to SFTP servers. ++ ++SFTP is a binary protocol. Unlike for FTP, curl interprets SFTP quote commands ++itself before sending them to the server. Filenames may be quoted shell-style ++to embed spaces or special characters. Following is the list of all supported ++SFTP quote commands: ++ ++## atime date file ++The atime command sets the last access time of the file named by the file ++operand. The date expression can be all sorts of date strings, see the ++*curl_getdate(3)* man page for date expression details. (Added in 7.73.0) ++ ++## chgrp group file ++The chgrp command sets the group ID of the file named by the file operand to ++the group ID specified by the group operand. The group operand is a decimal ++integer group ID. ++ ++## chmod mode file ++The chmod command modifies the file mode bits of the specified file. The ++mode operand is an octal integer mode number. ++ ++## chown user file ++The chown command sets the owner of the file named by the file operand to the ++user ID specified by the user operand. The user operand is a decimal ++integer user ID. ++ ++## ln source_file target_file ++The ln and symlink commands create a symbolic link at the target_file location ++pointing to the source_file location. ++ ++## mkdir directory_name ++The mkdir command creates the directory named by the directory_name operand. ++ ++## mtime date file ++The mtime command sets the last modification time of the file named by the ++file operand. The date expression can be all sorts of date strings, see the ++*curl_getdate(3)* man page for date expression details. (Added in 7.73.0) ++ ++## pwd ++The pwd command returns the absolute path name of the current working directory. ++ ++## rename source target ++The rename command renames the file or directory named by the source ++operand to the destination path named by the target operand. ++ ++## rm file ++The rm command removes the file specified by the file operand. ++ ++## rmdir directory ++The rmdir command removes the directory entry specified by the directory ++operand, provided it is empty. ++ ++## symlink source_file target_file ++See ln. +diff --git a/docs/cmdline-opts/random-file.md b/docs/cmdline-opts/random-file.md +new file mode 100644 +index 0000000..0f564d9 +--- /dev/null ++++ b/docs/cmdline-opts/random-file.md +@@ -0,0 +1,22 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: random-file ++Arg: ++Help: File for reading random data from ++Category: misc ++Added: 7.7 ++Multi: single ++See-also: ++ - egd-file ++Example: ++ - --random-file rubbish $URL ++--- ++ ++# `--random-file` ++ ++Deprecated option. This option is ignored (added in 7.84.0). Prior to that it ++only had an effect on curl if built to use old versions of OpenSSL. ++ ++Specify the path name to file containing random data. The data may be used to ++seed the random engine for SSL connections. +diff --git a/docs/cmdline-opts/range.md b/docs/cmdline-opts/range.md +new file mode 100644 +index 0000000..abfdf21 +--- /dev/null ++++ b/docs/cmdline-opts/range.md +@@ -0,0 +1,57 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: range ++Short: r ++Help: Retrieve only the bytes within RANGE ++Arg: ++Protocols: HTTP FTP SFTP FILE ++Category: http ftp sftp file ++Added: 4.0 ++Multi: single ++See-also: ++ - continue-at ++ - append ++Example: ++ - --range 22-44 $URL ++--- ++ ++# `--range` ++ ++Retrieve a byte range (i.e. a partial document) from an HTTP/1.1, FTP or SFTP ++server or a local FILE. Ranges can be specified in a number of ways. ++ ++## 0-499 ++specifies the first 500 bytes ++ ++## 500-999 ++specifies the second 500 bytes ++ ++## -500 ++specifies the last 500 bytes ++ ++## 9500- ++specifies the bytes from offset 9500 and forward ++ ++## 0-0,-1 ++specifies the first and last byte only(*)(HTTP) ++ ++## 100-199,500-599 ++specifies two separate 100-byte ranges(*) (HTTP) ++ ++## ++ ++(*) = NOTE that these make the server reply with a multipart response, which ++is returned as-is by curl! Parsing or otherwise transforming this response is ++the responsibility of the caller. ++ ++Only digit characters (0-9) are valid in the 'start' and 'stop' fields of the ++'start-stop' range syntax. If a non-digit character is given in the range, the ++server's response is unspecified, depending on the server's configuration. ++ ++Many HTTP/1.1 servers do not have this feature enabled, so that when you ++attempt to get a range, curl instead gets the whole document. ++ ++FTP and SFTP range downloads only support the simple 'start-stop' syntax ++(optionally with one of the numbers omitted). FTP use depends on the extended ++FTP command SIZE. +diff --git a/docs/cmdline-opts/rate.md b/docs/cmdline-opts/rate.md +new file mode 100644 +index 0000000..fb2901e +--- /dev/null ++++ b/docs/cmdline-opts/rate.md +@@ -0,0 +1,42 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: rate ++Arg: ++Help: Request rate for serial transfers ++Category: connection ++Added: 7.84.0 ++Multi: single ++Scope: global ++See-also: ++ - limit-rate ++ - retry-delay ++Example: ++ - --rate 2/s $URL ... ++ - --rate 3/h $URL ... ++ - --rate 14/m $URL ... ++--- ++ ++# `--rate` ++ ++Specify the maximum transfer frequency you allow curl to use - in number of ++transfer starts per time unit (sometimes called request rate). Without this ++option, curl starts the next transfer as fast as possible. ++ ++If given several URLs and a transfer completes faster than the allowed rate, ++curl waits until the next transfer is started to maintain the requested ++rate. This option has no effect when --parallel is used. ++ ++The request rate is provided as "N/U" where N is an integer number and U is a ++time unit. Supported units are 's' (second), 'm' (minute), 'h' (hour) and 'd' ++/(day, as in a 24 hour unit). The default time unit, if no "/U" is provided, ++is number of transfers per hour. ++ ++If curl is told to allow 10 requests per minute, it does not start the next ++request until 6 seconds have elapsed since the previous transfer was started. ++ ++This function uses millisecond resolution. If the allowed frequency is set ++more than 1000 per second, it instead runs unrestricted. ++ ++When retrying transfers, enabled with --retry, the separate retry delay logic ++is used and not this setting. +diff --git a/docs/cmdline-opts/raw.md b/docs/cmdline-opts/raw.md +new file mode 100644 +index 0000000..ca63dc3 +--- /dev/null ++++ b/docs/cmdline-opts/raw.md +@@ -0,0 +1,19 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: raw ++Help: Do HTTP raw; no transfer decoding ++Added: 7.16.2 ++Protocols: HTTP ++Category: http ++Multi: boolean ++See-also: ++ - tr-encoding ++Example: ++ - --raw $URL ++--- ++ ++# `--raw` ++ ++When used, it disables all internal HTTP decoding of content or transfer ++encodings and instead makes them passed on unaltered, raw. +diff --git a/docs/cmdline-opts/referer.md b/docs/cmdline-opts/referer.md +new file mode 100644 +index 0000000..1fec248 +--- /dev/null ++++ b/docs/cmdline-opts/referer.md +@@ -0,0 +1,27 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: referer ++Short: e ++Arg: ++Protocols: HTTP ++Help: Referrer URL ++Category: http ++Added: 4.0 ++Multi: single ++See-also: ++ - user-agent ++ - header ++Example: ++ - --referer "https://fake.example" $URL ++ - --referer "https://fake.example;auto" -L $URL ++ - --referer ";auto" -L $URL ++--- ++ ++# `--referer` ++ ++Set the referrer URL in the HTTP request. This can also be set with the ++--header flag of course. When used with --location you can append `;auto`" to ++the --referer URL to make curl automatically set the previous URL when it ++follows a Location: header. The `;auto` string can be used alone, even if you ++do not set an initial --referer. +diff --git a/docs/cmdline-opts/remote-header-name.md b/docs/cmdline-opts/remote-header-name.md +new file mode 100644 +index 0000000..88c2808 +--- /dev/null ++++ b/docs/cmdline-opts/remote-header-name.md +@@ -0,0 +1,39 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: remote-header-name ++Short: J ++Protocols: HTTP ++Help: Use the header-provided filename ++Category: output ++Added: 7.20.0 ++Multi: boolean ++See-also: ++ - remote-name ++Example: ++ - -OJ https://example.com/file ++--- ++ ++# `--remote-header-name` ++ ++Tell the --remote-name option to use the server-specified Content-Disposition ++filename instead of extracting a filename from the URL. If the server-provided ++filename contains a path, that is stripped off before the filename is used. ++ ++The file is saved in the current directory, or in the directory specified with ++--output-dir. ++ ++If the server specifies a filename and a file with that name already exists in ++the destination directory, it is not overwritten and an error occurs - unless ++you allow it by using the --clobber option. If the server does not specify a ++filename then this option has no effect. ++ ++There is no attempt to decode %-sequences (yet) in the provided filename, so ++this option may provide you with rather unexpected filenames. ++ ++This feature uses the name from the `filename` field, it does not yet support ++the `filename*` field (filenames with explicit character sets). ++ ++**WARNING**: Exercise judicious use of this option, especially on Windows. A ++rogue server could send you the name of a DLL or other file that could be ++loaded automatically by Windows or some third party software. +diff --git a/docs/cmdline-opts/remote-name-all.md b/docs/cmdline-opts/remote-name-all.md +new file mode 100644 +index 0000000..92d348e +--- /dev/null ++++ b/docs/cmdline-opts/remote-name-all.md +@@ -0,0 +1,20 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: remote-name-all ++Help: Use the remote filename for all URLs ++Added: 7.19.0 ++Category: output ++Multi: boolean ++See-also: ++ - remote-name ++Example: ++ - --remote-name-all ftp://example.com/file1 ftp://example.com/file2 ++--- ++ ++# `--remote-name-all` ++ ++Change the default action for all given URLs to be dealt with as if ++--remote-name were used for each one. If you want to disable that for a ++specific URL after --remote-name-all has been used, you must use "-o -" or ++--no-remote-name. +diff --git a/docs/cmdline-opts/remote-name.md b/docs/cmdline-opts/remote-name.md +new file mode 100644 +index 0000000..5d2fcdc +--- /dev/null ++++ b/docs/cmdline-opts/remote-name.md +@@ -0,0 +1,36 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: remote-name ++Short: O ++Help: Write output to file named as remote file ++Category: important output ++Added: 4.0 ++Multi: append ++See-also: ++ - remote-name-all ++ - output-dir ++ - remote-header-name ++Example: ++ - -O https://example.com/filename ++--- ++ ++# `--remote-name` ++ ++Write output to a local file named like the remote file we get. (Only the file ++part of the remote file is used, the path is cut off.) ++ ++The file is saved in the current working directory. If you want the file saved ++in a different directory, make sure you change the current working directory ++before invoking curl with this option or use --output-dir. ++ ++The remote filename to use for saving is extracted from the given URL, nothing ++else, and if it already exists it is overwritten. If you want the server to be ++able to choose the filename refer to --remote-header-name which can be used in ++addition to this option. If the server chooses a filename and that name ++already exists it is not overwritten. ++ ++There is no URL decoding done on the filename. If it has %20 or other URL ++encoded parts of the name, they end up as-is as filename. ++ ++You may use this option as many times as the number of URLs you have. +diff --git a/docs/cmdline-opts/remote-time.md b/docs/cmdline-opts/remote-time.md +new file mode 100644 +index 0000000..7c5d21f +--- /dev/null ++++ b/docs/cmdline-opts/remote-time.md +@@ -0,0 +1,21 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: remote-time ++Short: R ++Help: Set remote file's time on local output ++Category: output ++Added: 7.9 ++Multi: boolean ++See-also: ++ - remote-name ++ - time-cond ++Example: ++ - --remote-time -o foo $URL ++--- ++ ++# `--remote-time` ++ ++Makes curl attempt to figure out the timestamp of the remote file that is ++getting downloaded, and if that is available make the local file get that same ++timestamp. +diff --git a/docs/cmdline-opts/remove-on-error.md b/docs/cmdline-opts/remove-on-error.md +new file mode 100644 +index 0000000..b0064ae +--- /dev/null ++++ b/docs/cmdline-opts/remove-on-error.md +@@ -0,0 +1,21 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: remove-on-error ++Help: Remove output file on errors ++Category: curl ++Added: 7.83.0 ++Multi: boolean ++See-also: ++ - fail ++Example: ++ - --remove-on-error -o output $URL ++--- ++ ++# `--remove-on-error` ++ ++Remove output file if an error occurs. If curl returns an error when told to ++save output in a local file. This prevents curl from leaving a partial file in ++the case of an error during transfer. ++ ++If the output is not a regular file, this option has no effect. +diff --git a/docs/cmdline-opts/request-target.md b/docs/cmdline-opts/request-target.md +new file mode 100644 +index 0000000..4428511 +--- /dev/null ++++ b/docs/cmdline-opts/request-target.md +@@ -0,0 +1,25 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: request-target ++Arg: ++Help: Specify the target for this request ++Protocols: HTTP ++Added: 7.55.0 ++Category: http ++Multi: single ++See-also: ++ - request ++Example: ++ - --request-target "*" -X OPTIONS $URL ++--- ++ ++# `--request-target` ++ ++Use an alternative target (path) instead of using the path as provided in the ++URL. Particularly useful when wanting to issue HTTP requests without leading ++slash or other data that does not follow the regular URL pattern, like ++"OPTIONS *". ++ ++curl passes on the verbatim string you give it its the request without any ++filter or other safe guards. That includes white space and control characters. +diff --git a/docs/cmdline-opts/request.md b/docs/cmdline-opts/request.md +new file mode 100644 +index 0000000..4a6304c +--- /dev/null ++++ b/docs/cmdline-opts/request.md +@@ -0,0 +1,57 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: request ++Short: X ++Arg: ++Help: Specify request method to use ++Category: connection ++Added: 6.0 ++Multi: single ++See-also: ++ - request-target ++Example: ++ - -X "DELETE" $URL ++ - -X NLST ftp://example.com/ ++--- ++ ++# `--request` ++ ++Change the method to use when starting the transfer. ++ ++curl passes on the verbatim string you give it its the request without any ++filter or other safe guards. That includes white space and control characters. ++ ++## HTTP ++Specifies a custom request method to use when communicating with the HTTP ++server. The specified request method is used instead of the method otherwise ++used (which defaults to *GET*). Read the HTTP 1.1 specification for details ++and explanations. Common additional HTTP requests include *PUT* and *DELETE*, ++while related technologies like WebDAV offers *PROPFIND*, *COPY*, *MOVE* and ++more. ++ ++Normally you do not need this option. All sorts of *GET*, *HEAD*, *POST* and ++*PUT* requests are rather invoked by using dedicated command line options. ++ ++This option only changes the actual word used in the HTTP request, it does not ++alter the way curl behaves. For example if you want to make a proper HEAD ++request, using -X HEAD does not suffice. You need to use the --head option. ++ ++The method string you set with --request is used for all requests, which ++if you for example use --location may cause unintended side-effects when curl ++does not change request method according to the HTTP 30x response codes - and ++similar. ++ ++## FTP ++Specifies a custom FTP command to use instead of *LIST* when doing file lists ++with FTP. ++ ++## POP3 ++Specifies a custom POP3 command to use instead of *LIST* or *RETR*. ++(Added in 7.26.0) ++ ++## IMAP ++Specifies a custom IMAP command to use instead of *LIST*. (Added in 7.30.0) ++ ++## SMTP ++Specifies a custom SMTP command to use instead of *HELP* or **VRFY**. (Added in 7.34.0) +diff --git a/docs/cmdline-opts/resolve.md b/docs/cmdline-opts/resolve.md +new file mode 100644 +index 0000000..ca1f930 +--- /dev/null ++++ b/docs/cmdline-opts/resolve.md +@@ -0,0 +1,46 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: resolve ++Arg: <[+]host:port:addr[,addr]...> ++Help: Resolve host+port to address ++Added: 7.21.3 ++Category: connection dns ++Multi: append ++See-also: ++ - connect-to ++ - alt-svc ++Example: ++ - --resolve example.com:443:127.0.0.1 $URL ++--- ++ ++# `--resolve` ++ ++Provide a custom address for a specific host and port pair. Using this, you ++can make the curl requests(s) use a specified address and prevent the ++otherwise normally resolved address to be used. Consider it a sort of ++/etc/hosts alternative provided on the command line. The port number should be ++the number used for the specific protocol the host is used for. It means ++you need several entries if you want to provide address for the same host but ++different ports. ++ ++By specifying `*` as host you can tell curl to resolve any host and specific ++port pair to the specified address. Wildcard is resolved last so any --resolve ++with a specific host and port is used first. ++ ++The provided address set by this option is used even if --ipv4 or --ipv6 is ++set to make curl use another IP version. ++ ++By prefixing the host with a '+' you can make the entry time out after curl's ++default timeout (1 minute). Note that this only makes sense for long running ++parallel transfers with a lot of files. In such cases, if this option is used ++curl tries to resolve the host as it normally would once the timeout has ++expired. ++ ++Support for providing the IP address within [brackets] was added in 7.57.0. ++ ++Support for providing multiple IP addresses per entry was added in 7.59.0. ++ ++Support for resolving with wildcard was added in 7.64.0. ++ ++Support for the '+' prefix was added in 7.75.0. +diff --git a/docs/cmdline-opts/retry-all-errors.md b/docs/cmdline-opts/retry-all-errors.md +new file mode 100644 +index 0000000..230e730 +--- /dev/null ++++ b/docs/cmdline-opts/retry-all-errors.md +@@ -0,0 +1,40 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: retry-all-errors ++Help: Retry all errors (with --retry) ++Added: 7.71.0 ++Category: curl ++Multi: boolean ++See-also: ++ - retry ++Example: ++ - --retry 5 --retry-all-errors $URL ++--- ++ ++# `--retry-all-errors` ++ ++Retry on any error. This option is used together with --retry. ++ ++This option is the "sledgehammer" of retrying. Do not use this option by ++default (for example in your **curlrc**), there may be unintended consequences ++such as sending or receiving duplicate data. Do not use with redirected input ++or output. You might be better off handling your unique problems in a shell ++script. Please read the example below. ++ ++**WARNING**: For server compatibility curl attempts to retry failed flaky ++transfers as close as possible to how they were started, but this is not ++possible with redirected input or output. For example, before retrying it ++removes output data from a failed partial transfer that was written to an ++output file. However this is not true of data redirected to a | pipe or \> ++file, which are not reset. We strongly suggest you do not parse or record ++output via redirect in combination with this option, since you may receive ++duplicate data. ++ ++By default curl does not return error for transfers with an HTTP response code ++that indicates an HTTP error, if the transfer was successful. For example, if ++a server replies 404 Not Found and the reply is fully received then that is ++not an error. When --retry is used then curl retries on some HTTP response ++codes that indicate transient HTTP errors, but that does not include most 4xx ++response codes such as 404. If you want to retry on all response codes that ++indicate HTTP errors (4xx and 5xx) then combine with --fail. +diff --git a/docs/cmdline-opts/retry-connrefused.md b/docs/cmdline-opts/retry-connrefused.md +new file mode 100644 +index 0000000..22345cd +--- /dev/null ++++ b/docs/cmdline-opts/retry-connrefused.md +@@ -0,0 +1,19 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: retry-connrefused ++Help: Retry on connection refused (with --retry) ++Added: 7.52.0 ++Category: curl ++Multi: boolean ++See-also: ++ - retry ++ - retry-all-errors ++Example: ++ - --retry-connrefused --retry 7 $URL ++--- ++ ++# `--retry-connrefused` ++ ++In addition to the other conditions, consider ECONNREFUSED as a transient ++error too for --retry. This option is used together with --retry. +diff --git a/docs/cmdline-opts/retry-delay.md b/docs/cmdline-opts/retry-delay.md +new file mode 100644 +index 0000000..b2a405b +--- /dev/null ++++ b/docs/cmdline-opts/retry-delay.md +@@ -0,0 +1,21 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: retry-delay ++Arg: ++Help: Wait time between retries ++Added: 7.12.3 ++Category: curl ++Multi: single ++See-also: ++ - retry ++Example: ++ - --retry-delay 5 --retry 7 $URL ++--- ++ ++# `--retry-delay` ++ ++Make curl sleep this amount of time before each retry when a transfer has ++failed with a transient error (it changes the default backoff time algorithm ++between retries). This option is only interesting if --retry is also ++used. Setting this delay to zero makes curl use the default backoff time. +diff --git a/docs/cmdline-opts/retry-max-time.md b/docs/cmdline-opts/retry-max-time.md +new file mode 100644 +index 0000000..f734647 +--- /dev/null ++++ b/docs/cmdline-opts/retry-max-time.md +@@ -0,0 +1,23 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: retry-max-time ++Arg: ++Help: Retry only within this period ++Added: 7.12.3 ++Category: curl ++Multi: single ++See-also: ++ - retry ++Example: ++ - --retry-max-time 30 --retry 10 $URL ++--- ++ ++# `--retry-max-time` ++ ++The retry timer is reset before the first transfer attempt. Retries are done ++as usual (see --retry) as long as the timer has not reached this given ++limit. Notice that if the timer has not reached the limit, the request is ++made and while performing, it may take longer than this given time period. To ++limit a single request's maximum time, use --max-time. Set this option to zero ++to not timeout retries. +diff --git a/docs/cmdline-opts/retry.md b/docs/cmdline-opts/retry.md +new file mode 100644 +index 0000000..1cd595d +--- /dev/null ++++ b/docs/cmdline-opts/retry.md +@@ -0,0 +1,31 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: retry ++Arg: ++Added: 7.12.3 ++Help: Retry request if transient problems occur ++Category: curl ++Multi: single ++See-also: ++ - retry-max-time ++Example: ++ - --retry 7 $URL ++--- ++ ++# `--retry` ++ ++If a transient error is returned when curl tries to perform a transfer, it ++retries this number of times before giving up. Setting the number to 0 ++makes curl do no retries (which is the default). Transient error means either: ++a timeout, an FTP 4xx response code or an HTTP 408, 429, 500, 502, 503 or 504 ++response code. ++ ++When curl is about to retry a transfer, it first waits one second and then for ++all forthcoming retries it doubles the waiting time until it reaches 10 ++minutes which then remains delay between the rest of the retries. By using ++--retry-delay you disable this exponential backoff algorithm. See also ++--retry-max-time to limit the total time allowed for retries. ++ ++curl complies with the Retry-After: response header if one was present to know ++when to issue the next retry (added in 7.66.0). +diff --git a/docs/cmdline-opts/sasl-authzid.md b/docs/cmdline-opts/sasl-authzid.md +new file mode 100644 +index 0000000..4c4282d +--- /dev/null ++++ b/docs/cmdline-opts/sasl-authzid.md +@@ -0,0 +1,25 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: sasl-authzid ++Arg: ++Help: Identity for SASL PLAIN authentication ++Added: 7.66.0 ++Category: auth ++Multi: single ++See-also: ++ - login-options ++Example: ++ - --sasl-authzid zid imap://example.com/ ++--- ++ ++# `--sasl-authzid` ++ ++Use this authorization identity (**authzid**), during SASL PLAIN ++authentication, in addition to the authentication identity (**authcid**) as ++specified by --user. ++ ++If the option is not specified, the server derives the **authzid** from the ++**authcid**, but if specified, and depending on the server implementation, it ++may be used to access another user's inbox, that the user has been granted ++access to, or a shared mailbox for example. +diff --git a/docs/cmdline-opts/sasl-ir.md b/docs/cmdline-opts/sasl-ir.md +new file mode 100644 +index 0000000..b11137d +--- /dev/null ++++ b/docs/cmdline-opts/sasl-ir.md +@@ -0,0 +1,17 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: sasl-ir ++Help: Initial response in SASL authentication ++Added: 7.31.0 ++Category: auth ++Multi: boolean ++See-also: ++ - sasl-authzid ++Example: ++ - --sasl-ir imap://example.com/ ++--- ++ ++# `--sasl-ir` ++ ++Enable initial response in SASL authentication. +diff --git a/docs/cmdline-opts/service-name.md b/docs/cmdline-opts/service-name.md +new file mode 100644 +index 0000000..b39bad4 +--- /dev/null ++++ b/docs/cmdline-opts/service-name.md +@@ -0,0 +1,19 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: service-name ++Help: SPNEGO service name ++Arg: ++Added: 7.43.0 ++Category: misc ++Multi: single ++See-also: ++ - negotiate ++ - proxy-service-name ++Example: ++ - --service-name sockd/server $URL ++--- ++ ++# `--service-name` ++ ++Set the service name for SPNEGO. +diff --git a/docs/cmdline-opts/show-error.md b/docs/cmdline-opts/show-error.md +new file mode 100644 +index 0000000..0517c37 +--- /dev/null ++++ b/docs/cmdline-opts/show-error.md +@@ -0,0 +1,19 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: show-error ++Short: S ++Help: Show error even when -s is used ++Category: curl ++Added: 5.9 ++Multi: boolean ++Scope: global ++See-also: ++ - no-progress-meter ++Example: ++ - --show-error --silent $URL ++--- ++ ++# `--show-error` ++ ++When used with --silent, it makes curl show an error message if it fails. +diff --git a/docs/cmdline-opts/silent.md b/docs/cmdline-opts/silent.md +new file mode 100644 +index 0000000..090af0c +--- /dev/null ++++ b/docs/cmdline-opts/silent.md +@@ -0,0 +1,25 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: silent ++Short: s ++Help: Silent mode ++Category: important verbose ++Added: 4.0 ++Multi: boolean ++See-also: ++ - verbose ++ - stderr ++ - no-progress-meter ++Example: ++ - -s $URL ++--- ++ ++# `--silent` ++ ++Silent or quiet mode. Do not show progress meter or error messages. Makes Curl ++mute. It still outputs the data you ask for, potentially even to the ++terminal/stdout unless you redirect it. ++ ++Use --show-error in addition to this option to disable progress meter but ++still show error messages. +diff --git a/docs/cmdline-opts/socks4.md b/docs/cmdline-opts/socks4.md +new file mode 100644 +index 0000000..e74fa78 +--- /dev/null ++++ b/docs/cmdline-opts/socks4.md +@@ -0,0 +1,36 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: socks4 ++Arg: ++Help: SOCKS4 proxy on given host + port ++Added: 7.15.2 ++Category: proxy ++Multi: single ++See-also: ++ - socks4a ++ - socks5 ++ - socks5-hostname ++Example: ++ - --socks4 hostname:4096 $URL ++--- ++ ++# `--socks4` ++ ++Use the specified SOCKS4 proxy. If the port number is not specified, it is ++assumed at port 1080. Using this socket type make curl resolve the hostname ++and passing the address on to the proxy. ++ ++To specify proxy on a unix domain socket, use localhost for host, e.g. ++`socks4://localhost/path/to/socket.sock` ++ ++This option overrides any previous use of --proxy, as they are mutually ++exclusive. ++ ++This option is superfluous since you can specify a socks4 proxy with --proxy ++using a socks4:// protocol prefix. (Added in 7.21.7) ++ ++--preproxy can be used to specify a SOCKS proxy at the same time proxy is used ++with an HTTP/HTTPS proxy (added in 7.52.0). In such a case, curl first ++connects to the SOCKS proxy and then connects (through SOCKS) to the HTTP or ++HTTPS proxy. +diff --git a/docs/cmdline-opts/socks4a.md b/docs/cmdline-opts/socks4a.md +new file mode 100644 +index 0000000..49fb9a2 +--- /dev/null ++++ b/docs/cmdline-opts/socks4a.md +@@ -0,0 +1,35 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: socks4a ++Arg: ++Help: SOCKS4a proxy on given host + port ++Added: 7.18.0 ++Category: proxy ++Multi: single ++See-also: ++ - socks4 ++ - socks5 ++ - socks5-hostname ++Example: ++ - --socks4a hostname:4096 $URL ++--- ++ ++# `--socks4a` ++ ++Use the specified SOCKS4a proxy. If the port number is not specified, it is ++assumed at port 1080. This asks the proxy to resolve the hostname. ++ ++To specify proxy on a unix domain socket, use localhost for host, e.g. ++`socks4a://localhost/path/to/socket.sock` ++ ++This option overrides any previous use of --proxy, as they are mutually ++exclusive. ++ ++This option is superfluous since you can specify a socks4a proxy with --proxy ++using a socks4a:// protocol prefix. (Added in 7.21.7) ++ ++--preproxy can be used to specify a SOCKS proxy at the same time --proxy is ++used with an HTTP/HTTPS proxy (added in 7.52.0). In such a case, curl first ++connects to the SOCKS proxy and then connects (through SOCKS) to the HTTP or ++HTTPS proxy. +diff --git a/docs/cmdline-opts/socks5-basic.md b/docs/cmdline-opts/socks5-basic.md +new file mode 100644 +index 0000000..dc2a553 +--- /dev/null ++++ b/docs/cmdline-opts/socks5-basic.md +@@ -0,0 +1,19 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: socks5-basic ++Help: Username/password auth for SOCKS5 proxies ++Added: 7.55.0 ++Category: proxy auth ++Multi: mutex ++See-also: ++ - socks5 ++Example: ++ - --socks5-basic --socks5 hostname:4096 $URL ++--- ++ ++# `--socks5-basic` ++ ++Use username/password authentication when connecting to a SOCKS5 proxy. The ++username/password authentication is enabled by default. Use --socks5-gssapi to ++force GSS-API authentication to SOCKS5 proxies. +diff --git a/docs/cmdline-opts/socks5-gssapi-nec.md b/docs/cmdline-opts/socks5-gssapi-nec.md +new file mode 100644 +index 0000000..eef6b2d +--- /dev/null ++++ b/docs/cmdline-opts/socks5-gssapi-nec.md +@@ -0,0 +1,20 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: socks5-gssapi-nec ++Help: Compatibility with NEC SOCKS5 server ++Added: 7.19.4 ++Category: proxy auth ++Multi: boolean ++See-also: ++ - socks5 ++Example: ++ - --socks5-gssapi-nec --socks5 hostname:4096 $URL ++--- ++ ++# `--socks5-gssapi-nec` ++ ++As part of the GSS-API negotiation a protection mode is negotiated. RFC 1961 ++says in section 4.3/4.4 it should be protected, but the NEC reference ++implementation does not. The option --socks5-gssapi-nec allows the ++unprotected exchange of the protection mode negotiation. +diff --git a/docs/cmdline-opts/socks5-gssapi-service.md b/docs/cmdline-opts/socks5-gssapi-service.md +new file mode 100644 +index 0000000..d847e65 +--- /dev/null ++++ b/docs/cmdline-opts/socks5-gssapi-service.md +@@ -0,0 +1,18 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: socks5-gssapi-service ++Arg: ++Help: SOCKS5 proxy service name for GSS-API ++Added: 7.19.4 ++Category: proxy auth ++Multi: single ++See-also: ++ - socks5 ++Example: ++ - --socks5-gssapi-service sockd --socks5 hostname:4096 $URL ++--- ++ ++# `--socks5-gssapi-service` ++ ++Set the service name for a socks server. Default is **rcmd/server-fqdn**. +diff --git a/docs/cmdline-opts/socks5-gssapi.md b/docs/cmdline-opts/socks5-gssapi.md +new file mode 100644 +index 0000000..e174254 +--- /dev/null ++++ b/docs/cmdline-opts/socks5-gssapi.md +@@ -0,0 +1,20 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: socks5-gssapi ++Help: Enable GSS-API auth for SOCKS5 proxies ++Added: 7.55.0 ++Category: proxy auth ++Multi: boolean ++See-also: ++ - socks5 ++Example: ++ - --socks5-gssapi --socks5 hostname:4096 $URL ++--- ++ ++# `--socks5-gssapi` ++ ++Use GSS-API authentication when connecting to a SOCKS5 proxy. The GSS-API ++authentication is enabled by default (if curl is compiled with GSS-API ++support). Use --socks5-basic to force username/password authentication to ++SOCKS5 proxies. +diff --git a/docs/cmdline-opts/socks5-hostname.md b/docs/cmdline-opts/socks5-hostname.md +new file mode 100644 +index 0000000..1a5e4c1 +--- /dev/null ++++ b/docs/cmdline-opts/socks5-hostname.md +@@ -0,0 +1,34 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: socks5-hostname ++Arg: ++Help: SOCKS5 proxy, pass hostname to proxy ++Added: 7.18.0 ++Category: proxy ++Multi: single ++See-also: ++ - socks5 ++ - socks4a ++Example: ++ - --socks5-hostname proxy.example:7000 $URL ++--- ++ ++# `--socks5-hostname` ++ ++Use the specified SOCKS5 proxy (and let the proxy resolve the hostname). If ++the port number is not specified, it is assumed at port 1080. ++ ++To specify proxy on a unix domain socket, use localhost for host, e.g. ++`socks5h://localhost/path/to/socket.sock` ++ ++This option overrides any previous use of --proxy, as they are mutually ++exclusive. ++ ++This option is superfluous since you can specify a socks5 hostname proxy with ++--proxy using a socks5h:// protocol prefix. (Added in 7.21.7) ++ ++--preproxy can be used to specify a SOCKS proxy at the same time --proxy is ++used with an HTTP/HTTPS proxy (added in 7.52.0). In such a case, curl first ++connects to the SOCKS proxy and then connects (through SOCKS) to the HTTP or ++HTTPS proxy. +diff --git a/docs/cmdline-opts/socks5.md b/docs/cmdline-opts/socks5.md +new file mode 100644 +index 0000000..f17dfeb +--- /dev/null ++++ b/docs/cmdline-opts/socks5.md +@@ -0,0 +1,36 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: socks5 ++Arg: ++Help: SOCKS5 proxy on given host + port ++Added: 7.18.0 ++Category: proxy ++Multi: single ++See-also: ++ - socks5-hostname ++ - socks4a ++Example: ++ - --socks5 proxy.example:7000 $URL ++--- ++ ++# `--socks5` ++ ++Use the specified SOCKS5 proxy - but resolve the hostname locally. If the ++port number is not specified, it is assumed at port 1080. ++ ++To specify proxy on a unix domain socket, use localhost for host, e.g. ++`socks5://localhost/path/to/socket.sock` ++ ++This option overrides any previous use of --proxy, as they are mutually ++exclusive. ++ ++This option is superfluous since you can specify a socks5 proxy with --proxy ++using a socks5:// protocol prefix. (Added in 7.21.7) ++ ++--preproxy can be used to specify a SOCKS proxy at the same time --proxy is ++used with an HTTP/HTTPS proxy (added in 7.52.0). In such a case, curl first ++connects to the SOCKS proxy and then connects (through SOCKS) to the HTTP or ++HTTPS proxy. ++ ++This option (as well as --socks4) does not work with IPV6, FTPS or LDAP. +diff --git a/docs/cmdline-opts/speed-limit.md b/docs/cmdline-opts/speed-limit.md +new file mode 100644 +index 0000000..b95d6e7 +--- /dev/null ++++ b/docs/cmdline-opts/speed-limit.md +@@ -0,0 +1,23 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: speed-limit ++Short: Y ++Arg: ++Help: Stop transfers slower than this ++Category: connection ++Added: 4.7 ++Multi: single ++See-also: ++ - speed-time ++ - limit-rate ++ - max-time ++Example: ++ - --speed-limit 300 --speed-time 10 $URL ++--- ++ ++# `--speed-limit` ++ ++If a transfer is slower than this set speed (in bytes per second) for a given ++number of seconds, it gets aborted. The time period is set with --speed-time ++and is 30 seconds by default. +diff --git a/docs/cmdline-opts/speed-time.md b/docs/cmdline-opts/speed-time.md +new file mode 100644 +index 0000000..ef8759e +--- /dev/null ++++ b/docs/cmdline-opts/speed-time.md +@@ -0,0 +1,25 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: speed-time ++Short: y ++Arg: ++Help: Trigger 'speed-limit' abort after this time ++Category: connection ++Added: 4.7 ++Multi: single ++See-also: ++ - speed-limit ++ - limit-rate ++Example: ++ - --speed-limit 300 --speed-time 10 $URL ++--- ++ ++# `--speed-time` ++ ++If a transfer runs slower than speed-limit bytes per second during a ++speed-time period, the transfer is aborted. If speed-time is used, the default ++speed-limit is 1 unless set with --speed-limit. ++ ++This option controls transfers (in both directions) but does not affect slow ++connects etc. If this is a concern for you, try the --connect-timeout option. +diff --git a/docs/cmdline-opts/ssl-allow-beast.md b/docs/cmdline-opts/ssl-allow-beast.md +new file mode 100644 +index 0000000..29f2b45 +--- /dev/null ++++ b/docs/cmdline-opts/ssl-allow-beast.md +@@ -0,0 +1,24 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: ssl-allow-beast ++Help: Allow security flaw to improve interop ++Protocols: TLS ++Added: 7.25.0 ++Category: tls ++Multi: boolean ++See-also: ++ - proxy-ssl-allow-beast ++ - insecure ++Example: ++ - --ssl-allow-beast $URL ++--- ++ ++# `--ssl-allow-beast` ++ ++Do not work around a security flaw in the SSL3 and TLS1.0 protocols known as ++BEAST. If this option is not used, the SSL layer may use workarounds known to ++cause interoperability problems with some older SSL implementations. ++ ++**WARNING**: this option loosens the SSL security, and by using this flag you ++ask for exactly that. +diff --git a/docs/cmdline-opts/ssl-auto-client-cert.md b/docs/cmdline-opts/ssl-auto-client-cert.md +new file mode 100644 +index 0000000..4f0be5b +--- /dev/null ++++ b/docs/cmdline-opts/ssl-auto-client-cert.md +@@ -0,0 +1,21 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: ssl-auto-client-cert ++Help: Use auto client certificate (Schannel) ++Added: 7.77.0 ++Category: tls ++Protocols: TLS ++Multi: boolean ++See-also: ++ - proxy-ssl-auto-client-cert ++Example: ++ - --ssl-auto-client-cert $URL ++--- ++ ++# `--ssl-auto-client-cert` ++ ++(Schannel) Automatically locate and use a client certificate for ++authentication, when requested by the server. Since the server can request any ++certificate that supports client authentication in the OS certificate store it ++could be a privacy violation and unexpected. +diff --git a/docs/cmdline-opts/ssl-no-revoke.md b/docs/cmdline-opts/ssl-no-revoke.md +new file mode 100644 +index 0000000..16981f1 +--- /dev/null ++++ b/docs/cmdline-opts/ssl-no-revoke.md +@@ -0,0 +1,19 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: ssl-no-revoke ++Help: Disable cert revocation checks (Schannel) ++Added: 7.44.0 ++Protocols: TLS ++Category: tls ++Multi: boolean ++See-also: ++ - crlfile ++Example: ++ - --ssl-no-revoke $URL ++--- ++ ++# `--ssl-no-revoke` ++ ++(Schannel) Disable certificate revocation checks. WARNING: this option loosens ++the SSL security, and by using this flag you ask for exactly that. +diff --git a/docs/cmdline-opts/ssl-reqd.md b/docs/cmdline-opts/ssl-reqd.md +new file mode 100644 +index 0000000..eeabc06 +--- /dev/null ++++ b/docs/cmdline-opts/ssl-reqd.md +@@ -0,0 +1,30 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: ssl-reqd ++Help: Require SSL/TLS ++Protocols: FTP IMAP POP3 SMTP LDAP ++Added: 7.20.0 ++Category: tls ++Multi: boolean ++See-also: ++ - ssl ++ - insecure ++Example: ++ - --ssl-reqd ftp://example.com ++--- ++ ++# `--ssl-reqd` ++ ++Require SSL/TLS for the connection. Terminates the connection if the transfer ++cannot be upgraded to use SSL/TLS. ++ ++This option is handled in LDAP (added in 7.81.0). It is fully supported by the ++OpenLDAP backend and rejected by the generic ldap backend if explicit TLS is ++required. ++ ++This option is unnecessary if you use a URL scheme that in itself implies ++immediate and implicit use of TLS, like for FTPS, IMAPS, POP3S, SMTPS and ++LDAPS. Such a transfer always fails if the TLS handshake does not work. ++ ++This option was formerly known as --ftp-ssl-reqd. +diff --git a/docs/cmdline-opts/ssl-revoke-best-effort.md b/docs/cmdline-opts/ssl-revoke-best-effort.md +new file mode 100644 +index 0000000..0257e05 +--- /dev/null ++++ b/docs/cmdline-opts/ssl-revoke-best-effort.md +@@ -0,0 +1,20 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: ssl-revoke-best-effort ++Help: Ignore missing cert CRL dist points ++Added: 7.70.0 ++Protocols: TLS ++Category: tls ++Multi: boolean ++See-also: ++ - crlfile ++ - insecure ++Example: ++ - --ssl-revoke-best-effort $URL ++--- ++ ++# `--ssl-revoke-best-effort` ++ ++(Schannel) Ignore certificate revocation checks when they failed due to ++missing/offline distribution points for the revocation check lists. +diff --git a/docs/cmdline-opts/ssl.md b/docs/cmdline-opts/ssl.md +new file mode 100644 +index 0000000..73fa96a +--- /dev/null ++++ b/docs/cmdline-opts/ssl.md +@@ -0,0 +1,34 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: ssl ++Help: Try enabling TLS ++Protocols: FTP IMAP POP3 SMTP LDAP ++Added: 7.20.0 ++Category: tls ++Multi: boolean ++See-also: ++ - ssl-reqd ++ - insecure ++ - ciphers ++Example: ++ - --ssl pop3://example.com/ ++--- ++ ++# `--ssl` ++ ++Warning: this is considered an insecure option. Consider using --ssl-reqd ++instead to be sure curl upgrades to a secure connection. ++ ++Try to use SSL/TLS for the connection. Reverts to a non-secure connection if ++the server does not support SSL/TLS. See also --ftp-ssl-control and --ssl-reqd ++for different levels of encryption required. ++ ++This option is handled in LDAP (added in 7.81.0). It is fully supported by the ++OpenLDAP backend and ignored by the generic ldap backend. ++ ++Please note that a server may close the connection if the negotiation does ++not succeed. ++ ++This option was formerly known as --ftp-ssl (added in 7.11.0). That option ++name can still be used but might be removed in a future version. +diff --git a/docs/cmdline-opts/sslv2.md b/docs/cmdline-opts/sslv2.md +new file mode 100644 +index 0000000..3bd36f0 +--- /dev/null ++++ b/docs/cmdline-opts/sslv2.md +@@ -0,0 +1,24 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Short: 2 ++Long: sslv2 ++Tags: Versions ++Protocols: SSL ++Added: 5.9 ++Mutexed: sslv3 tlsv1 tlsv1.1 tlsv1.2 ++Requires: TLS ++Help: SSLv2 ++Category: tls ++Multi: mutex ++See-also: ++ - http1.1 ++ - http2 ++Example: ++ - --sslv2 $URL ++--- ++ ++# `--sslv2` ++ ++This option previously asked curl to use SSLv2, but is now ignored ++(added in 7.77.0). SSLv2 is widely considered insecure (see RFC 6176). +diff --git a/docs/cmdline-opts/sslv3.md b/docs/cmdline-opts/sslv3.md +new file mode 100644 +index 0000000..32d4c12 +--- /dev/null ++++ b/docs/cmdline-opts/sslv3.md +@@ -0,0 +1,24 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Short: 3 ++Long: sslv3 ++Tags: Versions ++Protocols: SSL ++Added: 5.9 ++Mutexed: sslv2 tlsv1 tlsv1.1 tlsv1.2 ++Requires: TLS ++Help: SSLv3 ++Category: tls ++Multi: mutex ++See-also: ++ - http1.1 ++ - http2 ++Example: ++ - --sslv3 $URL ++--- ++ ++# `--sslv3` ++ ++This option previously asked curl to use SSLv3, but is now ignored ++(added in 7.77.0). SSLv3 is widely considered insecure (see RFC 7568). +diff --git a/docs/cmdline-opts/stderr.md b/docs/cmdline-opts/stderr.md +new file mode 100644 +index 0000000..bb42497 +--- /dev/null ++++ b/docs/cmdline-opts/stderr.md +@@ -0,0 +1,21 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: stderr ++Arg: ++Help: Where to redirect stderr ++Category: verbose ++Added: 6.2 ++Multi: single ++Scope: global ++See-also: ++ - verbose ++ - silent ++Example: ++ - --stderr output.txt $URL ++--- ++ ++# `--stderr` ++ ++Redirect all writes to stderr to the specified file instead. If the filename ++is a plain '-', it is instead written to stdout. +diff --git a/docs/cmdline-opts/styled-output.md b/docs/cmdline-opts/styled-output.md +new file mode 100644 +index 0000000..bb32453 +--- /dev/null ++++ b/docs/cmdline-opts/styled-output.md +@@ -0,0 +1,23 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: styled-output ++Help: Enable styled output for HTTP headers ++Added: 7.61.0 ++Category: verbose ++Multi: boolean ++Scope: global ++See-also: ++ - head ++ - verbose ++Example: ++ - --styled-output -I $URL ++--- ++ ++# `--styled-output` ++ ++Enable automatic use of bold font styles when writing HTTP headers to the ++terminal. Use --no-styled-output to switch them off. ++ ++Styled output requires a terminal that supports bold fonts. This feature is ++not present on curl for Windows due to lack of this capability. +diff --git a/docs/cmdline-opts/suppress-connect-headers.md b/docs/cmdline-opts/suppress-connect-headers.md +new file mode 100644 +index 0000000..9e2eefe +--- /dev/null ++++ b/docs/cmdline-opts/suppress-connect-headers.md +@@ -0,0 +1,22 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: suppress-connect-headers ++Help: Suppress proxy CONNECT response headers ++Category: proxy ++Added: 7.54.0 ++Multi: boolean ++See-also: ++ - dump-header ++ - include ++ - proxytunnel ++Example: ++ - --suppress-connect-headers --include -x proxy $URL ++--- ++ ++# `--suppress-connect-headers` ++ ++When --proxytunnel is used and a CONNECT request is made do not output proxy ++CONNECT response headers. This option is meant to be used with --dump-header or ++--include which are used to show protocol headers in the output. It has no ++effect on debug options such as --verbose or --trace, or any statistics. +diff --git a/docs/cmdline-opts/tcp-fastopen.md b/docs/cmdline-opts/tcp-fastopen.md +new file mode 100644 +index 0000000..9a7c2b0 +--- /dev/null ++++ b/docs/cmdline-opts/tcp-fastopen.md +@@ -0,0 +1,19 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: tcp-fastopen ++Added: 7.49.0 ++Help: Use TCP Fast Open ++Category: connection ++Multi: boolean ++See-also: ++ - false-start ++Example: ++ - --tcp-fastopen $URL ++--- ++ ++# `--tcp-fastopen` ++ ++Enable use of TCP Fast Open (RFC 7413). TCP Fast Open is a TCP extension that ++allows data to get sent earlier over the connection (before the final ++handshake ACK) if the client and server have been connected previously. +diff --git a/docs/cmdline-opts/tcp-nodelay.md b/docs/cmdline-opts/tcp-nodelay.md +new file mode 100644 +index 0000000..6944d70 +--- /dev/null ++++ b/docs/cmdline-opts/tcp-nodelay.md +@@ -0,0 +1,21 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: tcp-nodelay ++Help: Set TCP_NODELAY ++Added: 7.11.2 ++Category: connection ++Multi: boolean ++See-also: ++ - no-buffer ++Example: ++ - --tcp-nodelay $URL ++--- ++ ++# `--tcp-nodelay` ++ ++Turn on the TCP_NODELAY option. See the *curl_easy_setopt(3)* man page for ++details about this option. ++ ++curl sets this option by default and you need to explicitly switch it off if ++you do not want it on (added in 7.50.2). +diff --git a/docs/cmdline-opts/telnet-option.md b/docs/cmdline-opts/telnet-option.md +new file mode 100644 +index 0000000..a332b1a +--- /dev/null ++++ b/docs/cmdline-opts/telnet-option.md +@@ -0,0 +1,28 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: telnet-option ++Short: t ++Arg: ++Help: Set telnet option ++Category: telnet ++Added: 7.7 ++Multi: append ++See-also: ++ - config ++Example: ++ - -t TTYPE=vt100 telnet://example.com/ ++--- ++ ++# `--telnet-option` ++ ++Pass options to the telnet protocol. Supported options are: ++ ++## `TTYPE=` ++Sets the terminal type. ++ ++## `XDISPLOC=` ++Sets the X display location. ++ ++## `NEW_ENV=` ++Sets an environment variable. +diff --git a/docs/cmdline-opts/tftp-blksize.md b/docs/cmdline-opts/tftp-blksize.md +new file mode 100644 +index 0000000..21d8476 +--- /dev/null ++++ b/docs/cmdline-opts/tftp-blksize.md +@@ -0,0 +1,21 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: tftp-blksize ++Arg: ++Help: Set TFTP BLKSIZE option ++Protocols: TFTP ++Added: 7.20.0 ++Category: tftp ++Multi: single ++See-also: ++ - tftp-no-options ++Example: ++ - --tftp-blksize 1024 tftp://example.com/file ++--- ++ ++# `--tftp-blksize` ++ ++Set the TFTP **BLKSIZE** option (must be 512 or larger). This is the block ++size that curl tries to use when transferring data to or from a TFTP ++server. By default 512 bytes are used. +diff --git a/docs/cmdline-opts/tftp-no-options.md b/docs/cmdline-opts/tftp-no-options.md +new file mode 100644 +index 0000000..063da92 +--- /dev/null ++++ b/docs/cmdline-opts/tftp-no-options.md +@@ -0,0 +1,20 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: tftp-no-options ++Help: Do not send any TFTP options ++Protocols: TFTP ++Added: 7.48.0 ++Category: tftp ++Multi: boolean ++See-also: ++ - tftp-blksize ++Example: ++ - --tftp-no-options tftp://192.168.0.1/ ++--- ++ ++# `--tftp-no-options` ++ ++Do not to send TFTP options requests. This improves interop with some legacy ++servers that do not acknowledge or properly implement TFTP options. When this ++option is used --tftp-blksize is ignored. +diff --git a/docs/cmdline-opts/time-cond.md b/docs/cmdline-opts/time-cond.md +new file mode 100644 +index 0000000..44cb166 +--- /dev/null ++++ b/docs/cmdline-opts/time-cond.md +@@ -0,0 +1,34 @@ ++--- ++c: Copyright (C) Daniel Stenberg, , et al. ++SPDX-License-Identifier: curl ++Long: time-cond ++Short: z ++Arg: