summaryrefslogtreecommitdiff
path: root/configure.ac
Commit message (Collapse)AuthorAgeFilesLines
* configure: fix typo in help textMassimiliano Fantuzzi HB9GUS2019-11-081-1/+1
| | | | Closes https://github.com/curl/curl/pull/4570
* configure: avoid unportable `==' test(1) operatorLeonardo Taccari2019-11-061-2/+2
| | | | Closes https://github.com/curl/curl/pull/4567
* configure: only say ipv6 enabled when the variable is setDaniel Stenberg2019-11-051-4/+1
| | | | | | | | | Previously it could say "IPv6: enabled" at the end of the configure run but the define wasn't set because of a missing getaddrinfo(). Reported-by: Marcel Raad Fixes #4555 Closes #4560
* configure: remove all cyassl referencesDaniel Stenberg2019-10-181-71/+13
| | | | | | | | | | In particular, this removes the case where configure would find an old cyall installation rather than a wolfssl one if present. The library is named wolfssl in modern days so there's no real need to keep support for the former. Reported-by: Jacob Barthelmeh Closes #4502
* ESNI: initial build/setupNiall2019-10-021-0/+36
| | | | Closes #4011
* ngtcp2: Build with latest ngtcp2 and ngtcp2_crypto_opensslTatsuhiro Tsujikawa2019-08-271-0/+55
| | | | Closes #4270
* configure: use pkg-config to detect quicheAlessandro Ghedini2019-08-201-31/+55
| | | | | | | | | This removes the need to hard-code the quiche target path in configure.ac. This depends on https://github.com/cloudflare/quiche/pull/128 Closes #4237
* configure: use -lquiche to link to quicheIgor Makarov2019-08-151-1/+1
| | | | Closes #4226
* nghttp3: required when ngtcp2 is used for QUICDaniel Stenberg2019-08-121-2/+91
| | | | | | | | - checked for by configure - updated docs/HTTP3.md - shown in the version string Closes #4210
* configure: avoid undefined check_for_ca_bundleCarlo Marcelo Arenas Belón2019-08-111-1/+1
| | | | | | | | instead of using a "greater than 0" test, check for variable being set, as it is always set to 1, and could be left unset if non of OPENSSL MBEDTLS GNUTLS WOLFSSL is being configured for. Closes #4213
* HTTP3: initial (experimental) supportDaniel Stenberg2019-07-211-3/+164
| | | | | | | | | USe configure --with-ngtcp2 or --with-quiche Using either option will enable a HTTP3 build. Co-authored-by: Alessandro Ghedini <alessandro@ghedini.me> Closes #3500
* curl: support parallel transfersDaniel Stenberg2019-07-201-0/+1
| | | | | | | | This is done by making sure each individual transfer is first added to a linked list as then they can be performed serially, or at will, in parallel. Closes #3804
* openssl: define HAVE_SSL_GET_SHUTDOWN based on version numberZenju2019-07-141-4/+0
| | | | Closes #4100
* configure: fix typo '--disable-http-uath'1ocalhost2019-06-251-1/+1
| | | | Closes #4076
* configure: --disable-progress-meterDaniel Stenberg2019-06-181-0/+18
| | | | | | Builds libcurl without support for the built-in progress meter. Closes #4023
* configure: remove CURL_DISABLE_TLS_SRPDaniel Stenberg2019-06-111-1/+0
| | | | | | It isn't used by code so stop providing the define. Closes #4010
* configure: more --disable switches to toggle off individual featuresDaniel Stenberg2019-06-111-1/+109
| | | | | | ... actual support in the code for disabling these has already landed. Closes #4009
* wolfssl: refer to it as wolfSSL onlyDaniel Stenberg2019-06-101-54/+42
| | | | | | | | | | Remove support for, references to and use of "cyaSSL" from the source and docs. wolfSSL is the current name and there's no point in keeping references to ancient history. Assisted-by: Daniel Gustafsson Closes #3903
* PolarSSL: deprecate support step 1. Removed from configure.Daniel Stenberg2019-05-221-97/+3
| | | | | | | | Also removed mentions from most docs. Discussed: https://curl.haxx.se/mail/lib-2019-05/0045.html Closes #3888
* configure/cmake: check for if_nametoindex()Daniel Stenberg2019-05-221-0/+1
| | | | | | | | - adds the check to cmake - fixes the configure check to work for cross-compiled windows builds Closes #3917
* configure: detect getsockname and getpeername on windows tooDaniel Stenberg2019-05-211-2/+2
| | | | | | | | | | | Made detection macros for these two functions in the same style as other functions possibly in winsock in the hope this will work better to detect these functions when cross-compiling for Windows. Follow-up to e91e4816123 Fixes #3913 Closes #3915
* libcurl: #ifdef away more code for disabled features/protocolsDaniel Stenberg2019-05-171-0/+2
|
* configure: error out if OpenSSL wasn't detected when asked forDaniel Stenberg2019-05-141-0/+8
| | | | | | | | | If --with-ssl is used and configure still couldn't enable SSL this creates an error instead of just silently ignoring the fact. Suggested-by: Isaiah Norton Fixes #3824 Closes #3830
* configure: fix default location for fish completionsEli Schwartz2019-04-051-1/+6
| | | | | | | | | | | | | | Fish defines a vendor completions directory for completions that are not installed as part of the fish project itself, and the vendor completions are preferred if they exist. This prevents trying to overwrite the builtin curl.fish completion (or creating file conflicts in distro packaging). Prefer the pkg-config defined location exported by fish, if it can be found, and fall back to the correct directory defined by most systems. Closes #3723 Reviewed-by: Daniel Gustafsson
* configure: avoid unportable `==' test(1) operatorLeonardo Taccari2019-03-271-1/+1
| | | | Closes #3709
* configure: add --with-amisslChris Young2019-03-151-3/+56
| | | | | | | | | | AmiSSL is an Amiga native library which provides a wrapper over OpenSSL. It also requires all programs using it to use bsdsocket.library directly, rather than accessing socket functions through clib, which libcurl was not necessarily doing previously. Configure will now check for the headers and ensure they are included if found. Closes #3677
* alt-svc: the libcurl bitsDaniel Stenberg2019-03-031-20/+56
|
* scripts/completion.pl: also generate fish completion fileSimon Legner2019-03-021-0/+25
| | | | | | This is the renamed script formerly known as zsh.pl Closes #3545
* Secure Transport: no more "darwinssl"Daniel Stenberg2019-02-281-18/+23
| | | | | | | | Everyone calls it Secure Transport, now we do too. Reviewed-by: Nick Zitzmann Closes #3619
* configure: remove CURL_CHECK_FUNC_FDOPEN callMarcel Raad2019-02-231-1/+0
| | | | | | | The macro itself has been removed in commit 11974ac859c5d82def59e837e0db56fef7f6794e. Closes https://github.com/curl/curl/pull/3604
* wolfssl: stop custom-adding curvesDaniel Stenberg2019-02-231-1/+0
| | | | | | | | | since wolfSSL PR https://github.com/wolfSSL/wolfssl/pull/717 (shipped in wolfSSL 3.10.2 and later) it sends these curves by default already. Pointed-out-by: David Garske Closes #3599
* configure: show features as well in the final summaryDaniel Stenberg2019-02-141-0/+1
| | | | Closes #3569
* schannel: stop calling it "winssl"Daniel Stenberg2019-02-011-0/+5
| | | | | | | | Stick to "Schannel" everywhere. The configure option --with-winssl is kept to allow existing builds to work but --with-schannel is added as an alias. Closes #3504
* configure: rewrite --enable-code-coverageDaniel Stenberg2019-01-261-6/+4
| | | | | | | | | The previously used ax_code_coverage.m4 is not license compatible and must not be used. Reported-by: William A. Rowe Jr Fixes #3497 Closes #3499
* openssl: adapt to 3.0.0, OpenSSL_version_num() is deprecatedDaniel Stenberg2019-01-131-2/+4
| | | | | | OpenSSL_version() replaces OpenSSL_version_num() Closes #3462
* packages: remove old leftover files and dirsDaniel Stenberg2018-12-051-10/+0
| | | | | | | This subdir has mostly become an attic of never-used cruft from the past. Closes #3331
* configure: include all libraries in ssl-libs fetchJames Knight2018-11-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When compiling a collection of SSL libraries to link against (SSL_LIBS), ensure all libraries are included. The call `--libs-only-l` can produce only a subset of found in a `--libs` call (e.x. pthread may be excluded). Adding `--libs-only-other` ensures other libraries are also included in the list. This corrects select build environments compiling against a static version of OpenSSL. Before the change, the following could be observed: checking for openssl options with pkg-config... found configure: pkg-config: SSL_LIBS: "-lssl -lz -ldl -lcrypto -lz -ldl " configure: pkg-config: SSL_LDFLAGS: "-L/home/jdknight/<workdir>/staging/usr/lib -L/home/jdknight/<workdir>/staging/usr/lib " configure: pkg-config: SSL_CPPFLAGS: "-I/home/jdknight/<workdir>/staging/usr/include " checking for HMAC_Update in -lcrypto... no checking for HMAC_Init_ex in -lcrypto... no checking OpenSSL linking with -ldl... no checking OpenSSL linking with -ldl and -lpthread... no configure: WARNING: SSL disabled, you will not be able to use HTTPS, FTPS, NTLM and more. configure: WARNING: Use --with-ssl, --with-gnutls, --with-polarssl, --with-cyassl, --with-nss, --with-axtls, --with-winssl, or --with-darwinssl to address this. ... SSL support: no (--with-{ssl,gnutls,nss,polarssl,mbedtls,cyassl,axtls,winssl,darwinssl} ) ... And include the other libraries when compiling SSL_LIBS succeeds with: checking for openssl options with pkg-config... found configure: pkg-config: SSL_LIBS: "-lssl -lz -ldl -pthread -lcrypto -lz -ldl -pthread " configure: pkg-config: SSL_LDFLAGS: "-L/home/jdknight/<workdir>/staging/usr/lib -L/home/jdknight/<workdir>/staging/usr/lib " configure: pkg-config: SSL_CPPFLAGS: "-I/home/jdknight/<workdir>/staging/usr/include " checking for HMAC_Update in -lcrypto... yes checking for SSL_connect in -lssl... yes ... SSL support: enabled (OpenSSL) ... Signed-off-by: James Knight <james.d.knight@live.com> Closes #3193
* ssl: fix compilation with OpenSSL 0.9.7Michael Kaufmann2018-11-211-1/+0
| | | | | | | - ENGINE_cleanup() was used without including "openssl/engine.h" - enable engine support for OpenSSL 0.9.7 Closes #3266
* configure: show CFLAGS, LDFLAGS etc in summaryDaniel Stenberg2018-11-011-1/+6
| | | | | | To make it easier to understand other people's and remote builds etc. Closes #3207
* axtls: removedDaniel Stenberg2018-11-011-65/+3
| | | | | | | | | | As has been outlined in the DEPRECATE.md document, the axTLS code has been disabled for 6 months and is hereby removed. Use a better supported TLS library! Assisted-by: Daniel Gustafsson Closes #3194
* configure: remove CURL_CONFIGURE_CURL_SOCKLEN_TDaniel Stenberg2018-10-251-2/+0
| | | | | | | Follow-up to #3166 which did the cmake part of this. This type/define is not used. Closes #3168
* docs/examples: URL updatesViktor Szakats2018-09-231-1/+1
| | | | | | | | - also update two URLs outside of docs/examples - fix spelling of filename persistant.c - fix three long lines that started failing checksrc.pl Closes https://github.com/curl/curl/pull/3036
* URL and mailmap updates, remove an obsolete directory [ci skip]Viktor Szakats2018-09-221-2/+0
| | | | Closes https://github.com/curl/curl/pull/3031
* configure: force-use -lpthreads on HPUXDaniel Stenberg2018-09-211-0/+10
| | | | | | | | | When trying to detect pthreads use on HPUX the checks will succeed without the correct -l option but then end up failing at run-time. Reported-by: Eason-Yu on github Fixes #2697 Closes #3025
* configure.ac: add a MesaLink vtls backendYiming Jing2018-09-131-3/+95
|
* configure: add option to disable automatic OpenSSL config loadingPhilipp Waehnert2018-09-071-0/+14
| | | | | | | | | | | | | | | Sometimes it may be considered a security risk to load an external OpenSSL configuration automatically inside curl_global_init(). The configuration option --disable-ssl-auto-load-config disables this automatism. The Windows build scripts winbuild/Makefile.vs provide a corresponding option ENABLE_SSL_AUTO_LOAD_CONFIG accepting a boolean value. Setting neither of these options corresponds to the previous behavior loading the external OpenSSL configuration automatically. Fixes #2724 Closes #2791
* configure: conditionally enable pedantic-errorsMarcel Raad2018-08-211-0/+7
| | | | | | | | | | | | | | | Enable pedantic-errors for GCC >= 5 with --enable-werror. Before GCC 5, pedantic-errors was synonymous to -Werror=pedantic [0], which is still the case for clang [1]. With GCC 5, it became complementary [2]. Also fix a resulting error in acinclude.m4 as main's return type was missing, which is illegal in C99. [0] https://gcc.gnu.org/onlinedocs/gcc-4.9.0/gcc/Warning-Options.html [1] https://clang.llvm.org/docs/UsersManual.html#options-to-control-error-and-warning-messages [2] https://gcc.gnu.org/onlinedocs/gcc-5.1.0/gcc/Warning-Options.html Closes https://github.com/curl/curl/pull/2747
* configure: fix for -lpthread detection with OpenSSL and pkg-configDaniel Stenberg2018-08-091-1/+4
| | | | | | | | ... by making sure it uses the -I provided by pkg-config! Reported-by: pszemus on github Fixes #2848 Closes #2850
* configure: remove CURL_CHECK_NI_WITHSCOPEID tooDaniel Stenberg2018-06-271-1/+0
| | | | | | Since it isn't used either and requires the getnameinfo check Follow-up to 0aeca41702d2
* getnameinfo: not usedDaniel Stenberg2018-06-271-4/+0
| | | | Closes #2687