aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
AgeCommit message (Collapse)Author
2021-01-13Merge tag 'curl-7_74_0'nikita
7.74.0
2020-11-20curl: add compatibility for Amiga and GCC 6.5Oliver Urbann
Changes are mainly reordering and adding of includes required to compile with a more recent version of GCC. Closes #6220
2020-11-09Revert "libcurl.pc: make it relocatable"Daniel Stenberg
This reverts commit 3862c37b6373a55ca704171d45ba5ee91dec2c9f. That fix should either be done differently or with an option. Reported-by: asavah on github Fixes #6157 Closes #6183
2020-11-07configure: pass -pthread to Libs.private for pkg-configDaniel Stenberg
Reported-by: Cristian Morales Vega Fixes #6168 Closes #6181
2020-11-04curl.se: new homeDaniel Stenberg
Closes #6172
2020-11-03hsts: add support for Strict-Transport-SecurityDaniel Stenberg
- enable in the build (configure) - header parsing - host name lookup - unit tests for the above - CI build - CURL_VERSION_HSTS bit - curl_version_info support - curl -V output - curl-config --features - CURLOPT_HSTS_CTRL - man page for CURLOPT_HSTS_CTRL - curl --hsts (sets CURLOPT_HSTS_CTRL and works with --libcurl) - man page for --hsts - save cache to disk - load cache from disk - CURLOPT_HSTS - man page for CURLOPT_HSTS - added docs/HSTS.md - fixed --version docs - adjusted curl_easy_duphandle Closes #5896
2020-10-29configure: use pkgconfig to find openSSL when cross-compilingCristian Morales Vega
This reverts 736a40fec (November 2004), which doesn't explain why it was done. Closes #6145
2020-10-25alt-svc: enable by defaultDaniel Stenberg
Remove CURLALTSVC_IMMEDIATELY, which was never implemented/supported. alt-svc support in curl is no longer considered experimental Closes #5868
2020-10-22libssh2: require version 1.0 or laterDaniel Stenberg
... and simplify the code accordingly. libssh2 version 1.0 was released in April 2009. Closes #6116
2020-10-15libcurl.pc: make it relocatableCristian Morales Vega
It supposes when people specify the libdir/includedir they do it to change where under prefix/exec_prefix it should be, not to make it independent of prefix/exec_prefix. Closes #6061
2020-09-30configure: don't say HTTPS-proxy is enabled when disabled!Daniel Stenberg
Reported-by: Kamil Dudka Reviewed-by: Kamil Dudka Bug: https://github.com/curl/curl/pull/5735#issuecomment-701376388 Closes #6029
2020-09-29ECH: renamed from ESNI in docs and configureDaniel Stenberg
Encrypted Client Hello (ECH) is the current name. Closes #6022
2020-09-29configure: use "no" instead of "disabled" for the end summaryDaniel Stenberg
... for consistency but also to make them more distinctly stand out next to the "enabled" lines.
2020-09-14Merge tag 'curl-7_72_0' into masternikita
curl 7.72.0
2020-09-14Merge tag 'curl-7_71_1'nikita
curl 7.71.1
2020-08-31mqtt: enable by defaultDaniel Stenberg
No longer considered experimental. Closes #5858
2020-08-29ntlm: fix condition for curl_ntlm_core usageMarcel Raad
`USE_WINDOWS_SSPI` without `USE_WIN32_CRYPTO` but with any other DES backend is fine, but was excluded before. This also fixes test 1013 as the condition for SMB support in configure.ac didn't match the condition in the source code. Now it does. Fixes https://github.com/curl/curl/issues/1262 Closes https://github.com/curl/curl/pull/5771
2020-08-27configure: added --disable-get-easy-optionsDaniel Stenberg
To allow disabling of the curl_easy_option APIs in a build. Closes #5365
2020-08-26socketpair: allow CURL_DISABLE_SOCKETPAIRDaniel Stenberg
... to completely disable the use of socketpair Closes #5850
2020-08-24configure: fix pkg-config detecting wolfsslDaniel Stenberg
When amending the include path with "/wolfssl", this now properly strips off all whitespace from the path variable! Previously this would lead to pkg-config builds creating bad command lines. Closes #5848
2020-08-08TLS naming: fix more Winssl and Darwinssl leftoversDaniel Stenberg
The CMake option is now called CMAKE_USE_SCHANNEL The winbuild flag is USE_SCHANNEL The CI jobs and build scripts only use the new names and the new name options Tests now require 'Schannel' (when necessary) Closes #5795
2020-07-27configure: cleanup wolfssl + pkg-config conflicts when cross compiling.Ehren Bendler
Also choose a different wolfSSL function to test for NTLM support. Fixes #5605 Closes #5682
2020-07-27configure: show zstd "no" in summary when built without itDaniel Stenberg
Reported-by: Marc Hörsken Fixes #5720 Closes #5730
2020-07-12content_encoding: add zstd decoding supportGilles Vollant
include zstd curl patch for Makefile.m32 from vszakats and include Add CMake support for zstd from Peter Wu Helped-by: Viktor Szakats Helped-by: Peter Wu Closes #5453
2020-07-12configure.ac: Sort features name in summaryNicolas Sterchele
- Same as protocols Closes #5656
2020-06-16configure: for wolfSSL, check for the DES func needed for NTLMDaniel Stenberg
Also adds pkg-config support for the wolfSSL detection.
2020-06-04configure: only strip first -L from LDFLAGSDaniel Stenberg
In the logic that works out if a given OpenSSL path works, it stripped off a possibly leading -L flag using an incorrect sed pattern which would remove all instances of -L in the string, including if the path itself contained that two-letter sequence! The same pattern was used and is now updated in multiple places. Now it only removes -L if it starts the strings. Reported-by: Mohamed Osama Fixes #5519 Closes #5521
2020-05-30select: add overflow checks for timeval conversionsMarc Hoersken
Using time_t and suseconds_t if suseconds_t is available, long on Windows (maybe others in the future) and int elsewhere. Also handle case of ULONG_MAX being greater or equal to INFINITE. Assisted-by: Jay Satiro Reviewed-by: Daniel Stenberg Part of #5343
2020-05-28configure: repair the check if argv can be written toDaniel Stenberg
Due to bad escaping of the test code, the test wouldn't build and thus result in a negative test result, which would lead to the unconditional assumption that overwriting the arguments doesn't work and thus curl would never hide credentials given in the command line, even when it would otherwise be possible. Regression from commit 2d4c2152c (7.60.0) Reported-by: huzunhao on github Fixes #5470 Closes #5471
2020-05-22configure: fix pthread check with static boringsslPeter Wu
A shared boringssl/OpenSSL library requires -lcrypto only for linking. A static build additionally requires `-ldl -lpthread`. In the latter case `-lpthread` is added to LIBS which prevented `-pthread` from being added to CFLAGS. Clear LIBS to fix linking failures for libtest tests.
2020-05-13configure: the wolfssh backend does not provide SCPDaniel Stenberg
Closes #5387
2020-05-12libcurl.pc: Merge Libs.private into Libs for static-only buildsJames Le Cuirot
A project being built entirely statically will call pkg-config with --static, which utilises the Libs.private field. Conversely it will not use --static when not being built entirely statically, even if there is only a static build of libcurl available. This will most likely cause the build to fail due to underlinking unless we merge the Libs fields. Consider that this is what the Meson build system does when it generates pkg-config files. I have also reflected this in the --libs argument of curl-config even though REQUIRE_LIB_DEPS always seems to be "yes" anyway. Closes #5373
2020-05-05quiche: enable qlog outputDaniel Stenberg
quiche has the potential to log qlog files. To enable this, you must build quiche with the qlog feature enabled `cargo build --features qlog`. curl then passes a file descriptor to quiche, which takes ownership of the file. The FD transfer only works on UNIX. The convention is to enable logging when the QLOGDIR environment is set. This should be a path to a folder where files are written with the naming template <SCID>.qlog. Co-authored-by: Lucas Pardue Replaces #5337 Closes #5341
2020-04-30Merge tag 'curl-7_70_0'nikita
7.70.0
2020-04-21gnutls: bump lowest supported version to 3.1.10Daniel Stenberg
GnuTLS 3.1.10 added new functions we want to use. That version was released on Mar 22, 2013. Removing support for older versions also greatly simplifies the code. Ref: #5271 Closes #5276
2020-04-14mqtt: add new experimental protocolBjorn Stenberg
Closes #5173
2020-04-06configure: don't check for Security.framework when cross-compilingDennis Felsing
Since it checks for the local file, not the cross-compiled one. Closes #5189
2020-04-01Merge tag 'curl-7_69_1'nikita
7.69.1
2020-03-31vquic: add support for GnuTLS backend of ngtcp2Daiki Ueno
Currently, the TLS backend used by vquic/ngtcp2.c is selected at compile time. Therefore OpenSSL support needs to be explicitly disabled. Signed-off-by: Daiki Ueno <dueno@redhat.com> Closes #5148
2020-03-31build: fixed build for systems with select() in unistd.hHarry Sintonen
Closes #5169
2020-03-26openssl: adapt to functions marked as deprecated since version 3Daniel Stenberg
OpenSSL 3 deprecates SSL_CTX_load_verify_locations and the MD4, DES functions we use. Fix the MD4 and SSL_CTX_load_verify_locations warnings. In configure, detect OpenSSL v3 and if so, inhibit the deprecation warnings. OpenSSL v3 deprecates the DES functions we use for NTLM and until we rewrite the code to use non-deprecated functions we better ignore these warnings as they don't help us. Closes #5139
2020-03-11configure: convert -I to -isystem as a last stepDaniel Stenberg
As all the -I uses in CFLAGS at that point are for system headers and third party libraries this helps us remove/ignore warnings on those! Closes #5060
2020-03-11configure: fix -pedantic-errors for GCC 5 and laterDaniel Stenberg
If --enable-werror is used. Follow-up to d5c0351055d5709da which added it too early in the configure script before $compiler_num was set correctly and thus this option was never used. Reported-by: Stepan Efremov Fixes #5067 Closes #5068
2020-03-03configure.ac: Disable metalink if mbedTLS is specifiedSteve Holme
Follow up to cdcc9df1 and #5006. Even though I mentioned mbedTLS as being one of the backends that metalink needs to be disabled for, I seem to have included it in the list of allowed SSL/TLS backends in comnfigure.ac :( Closes #5013
2020-03-02configure: bump the AC_COPYRIGHT year rangeDaniel Stenberg
2020-03-01configure.ac: Disable metalink support if an incompatible SSL/TLS specifiedSteve Holme
tool_metalink only supports cryptography from OpenSSL, GnuTLS, NSS, The Win32 Crypto library and Apple's Common Crypto library. If an TLS backend such as mbedTLS or WolfSSL is specified then the following error is given during compilation along, with a load of unresolved extern errors: Can't compile METALINK support without a crypto library. Reviewed-by: Daniel Stenberg Closes #5006
2020-02-21http2: now require nghttp2 >= 1.12.0Daniel Stenberg
To simplify our code and since earlier versions lack important function calls libcurl needs to function correctly. nghttp2 1.12.0 was relased on June 26, 2016. Closes #4961
2020-02-08configure.ac: fix comments about --with-quicheCristian Greco
A simple s/nghttp3/quiche in some comments of --with-quiche. Looks like a copy-paste error from --with-nghttp3. Closes #4897
2020-01-12wolfSSH: new SSH backendDaniel Stenberg
Adds support for SFTP (not SCP) using WolfSSH. Closes #4231
2019-12-20Merge remote-tracking branch 'upstream/master'ng0