summaryrefslogtreecommitdiff
path: root/configure.ac
Commit message (Collapse)AuthorAgeFilesLines
* configure: assume IPv6 works when cross-compiledDaniel Stenberg2016-01-121-3/+3
| | | | | | | | | | | | The configure test uses AC_TRY_RUN to figure out if an ipv6 socket works, and testing like that doesn't work for cross-compiles. These days IPv6 support is widespread so a blind guess is probably more likely to be 'yes' than 'no' now. Further: anyone who cross-compiles can use configure's --disable-ipv6 to explicitly disable IPv6 and that also works for cross-compiles. Made happen after discussions in issue #594
* configure: detect IPv6 support on WindowsJohannes Schindelin2015-12-201-1/+10
| | | | | | | This patch was "nicked" from the MINGW-packages project by Daniel. https://github.com/Alexpux/MINGW-packages/commit/9253d0bf58a1486e91f7efb5316e7fdb48fa4007 Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
* cyassl: deal with lack of *get_peer_certificateDaniel Stenberg2015-12-161-3/+8
| | | | | | | | | | The function is only present in wolfssl/cyassl if it was built with --enable-opensslextra. With these checks added, pinning support is disabled unless the TLS lib has that function available. Also fix the mistake in configure that checks for the wrong lib name. Closes #566
* wolfssl: handle builds without SSLv3 supportDaniel Stenberg2015-12-161-2/+7
|
* build: Install zsh completionDaniel Shahaf2015-11-241-0/+26
| | | | | Fixes #534 Closes #537
* build: Fix mingw ssl gdi32 orderJay Satiro2015-10-231-18/+18
| | | | | | | | | - If mingw ssl make sure -lgdi32 comes after ssl libs - Allow PKG_CONFIG to set pkg-config location and options Bug: https://github.com/bagder/curl/pull/501 Reported-by: Kang Lin
* vtls: added support for mbedTLSJonas Minnberg2015-10-201-2/+89
| | | | closes #496
* configure: add PSL to the list of featuresDaniel Stenberg2015-10-181-0/+4
| | | | ... to make test 1014 work again after e77b5b7453.
* cookies: Add support for Mozilla's Publix Suffix ListTim Rühsen2015-10-171-0/+23
| | | | | | | | | | | | Use libpsl to check the domain value of Set-Cookie headers (and cookie jar entries) for not being a Publix Suffix. The configure script checks for "libpsl" by default. Disable the check with --without-libpsl. Ref: https://publicsuffix.org/ Ref: https://github.com/publicsuffix/list Ref: https://github.com/rockdaboot/libpsl
* configure: build silently by defaultDaniel Stenberg2015-10-071-0/+1
| | | | 'make V=1' will make the build verbose like before
* gnutls: Support CURLOPT_KEYPASSWDMike Crowe2015-09-221-0/+1
| | | | | | | | | | | | | | | The gnutls vtls back-end was previously ignoring any password set via CURLOPT_KEYPASSWD. Presumably this was because gnutls_certificate_set_x509_key_file did not support encrypted keys. gnutls now has a gnutls_certificate_set_x509_key_file2 function that does support encrypted keys. Let's determine at compile time whether the available gnutls supports this new function. If it does then use it to pass the password. If it does not then emit a helpful diagnostic if a password is set. This is preferable to the previous behaviour of just failing to read the certificate without giving a reason in that case. Signed-off-by: Mike Crowe <mac@mcrowe.com>
* configure: check for HMAC_Update in opensslDaniel Stenberg2015-08-301-2/+2
| | | | | Turns out HMAC_Init is now deprecated in openssl master (and I spelled HMAC_Init_ex wrong in previous commit)
* configure: detect latest boringsslDaniel Stenberg2015-08-221-9/+18
| | | | | | | | | | | Since boringssl brought back DES_set_odd_parity again, it cannot be used to differentiate from boringssl. Using the OPENSSL_IS_BORINGSSL define seems better anyway. URL: https://android.googlesource.com/platform/external/curl/+/f551028d5caab29d4b4a4ae8c159c76c3cfd4887%5E!/ Original-patch-by: Bertrand Simonnet Closes #393
* configure: change functions to detect openssl (clones)Daniel Stenberg2015-08-221-2/+2
| | | | | | | ... since boringssl moved the former ones and the check started to fail. URL: https://android.googlesource.com/platform/external/curl/+/f551028d5caab29d4b4a4ae8c159c76c3cfd4887%5E!/ Original-patch-by: Bertrand Simonnet
* Revert "configure: disable libidn by default"Daniel Stenberg2015-08-101-2/+2
| | | | | | This reverts commit e6749055d65398315fd77f5b5b8234c5552ac2d3. ... since libidn has since been fixed.
* configure: check if OpenSSL linking wants -ldlDaniel Stenberg2015-07-251-0/+40
| | | | | | | To make it easier to link with static versions of OpenSSL, the configure script now checks if -ldl is needed for linking. Help-by: TJ Saunders
* configure: add --disable-rt optionMichał Fita2015-07-241-1/+2
| | | | | | | | | | This option disables any attempts in configure to create dependency on stuff requiring linking to librt.so and libpthread.so, in this case this means clock_gettime(CLOCK_MONOTONIC, &mt). We were in need to build curl which doesn't link libpthread.so to avoid the following bug: https://sourceware.org/bugzilla/show_bug.cgi?id=16628.
* configure: disable libidn by defaultDaniel Stenberg2015-06-291-2/+2
| | | | | | | For security reasons, until there is a fix. Bug: http://curl.haxx.se/mail/lib-2015-06/0143.html Reported-by: Gustavo Grieco, Feist Josselin
* Require nghttp2 v1.0.0Tatsuhiro Tsujikawa2015-05-181-1/+3
| | | | | | | | | | | | | | | | | | | This commit requires nghttp2 v1.0.0 to compile, and migrate to v1.0.0, and utilize recent version of nghttp2 to simplify the code, First we use nghttp2_option_set_no_recv_client_magic function to detect nghttp2 v1.0.0. That function only exists since v1.0.0. Since nghttp2 v0.7.5, nghttp2 ensures header field ordering, and validates received header field. If it found error, RST_STREAM with PROTOCOL_ERROR is issued. Since we require v1.0.0, we can utilize this feature to simplify libcurl code. This commit does this. Migration from 0.7 series are done based on nghttp2 migration document. For libcurl, we removed the code sending first 24 bytes client magic. It is now done by nghttp2 library. on_invalid_frame_recv callback signature changed, and is updated accordingly.
* configure: follow-up fix for krb5-configDaniel Stenberg2015-04-261-2/+0
| | | | | | | commit 5b66860652 was incomplete so here's a follow-up fix Reported-by: Dagobert Michelsen Bug: https://github.com/bagder/curl/commit/5b668606527613179d0349f21b4ab0df2971e3d2#commitcomment-10473445
* configure --with-nss: remove unneeded libs from the fallbackMostyn Bramley-Moore2015-04-201-1/+1
|
* configure --with-nss: drop redundant if statementKamil Dudka2015-04-171-40/+36
|
* configure --with-nss=PATH: query pkg-config if availableKamil Dudka2015-04-171-5/+25
| | | | Bug: https://github.com/bagder/curl/pull/171
* cyassl: Include the CyaSSL build configJay Satiro2015-04-111-0/+3
| | | | | CyaSSL >= 2.6.0 may have an options.h that was generated during its build by configure.
* configure: Use KRB5CONFIG for krb5-configDagobert Michelsen2015-03-301-2/+6
| | | | | | Allows the user to easier override its path. Bug: http://curl.haxx.se/bug/view.cgi?id=1486
* build: link curl to openssl libraries when openssl support is enabledPaul Howarth2015-03-261-0/+1
| | | | | | | | | | This fixes a build failure where openssl and libmetalink are used together and the system linker does not do implicit linking (e.g. Fedora 13 and later releases). The MD5 functions required for metalink support must be pulled in from the openssl crypto library. This is similar to commit c6e7cbb94e669b85d3eb8e015ec51d0072112133, which fixes the same sort of problem for NSS builds.
* cyassl: detect the library as renamed wolfsslDan Fandrich2015-03-191-3/+57
| | | | This change was made in CyaSSL/WolfSSL ver. 3.4.0
* configure: follow-up fix from 709cf76f6Daniel Stenberg2015-03-051-3/+3
| | | | OpenSSL handling was a little broken.
* openssl: remove all uses of USE_SSLEAYDaniel Stenberg2015-03-051-13/+7
| | | | | | | SSLeay was the name of the library that was subsequently turned into OpenSSL many moons ago (1999). curl does not work with the old SSLeay library since years. This is now reflected by only using USE_OPENSSL in code that depends on OpenSSL.
* configure: remove detection of the old yassl emulation APIDaniel Stenberg2015-01-221-23/+0
| | | | ... as that is ancient history and not used.
* BoringSSL: fix build for non-configure buildsDaniel Stenberg2015-01-221-0/+2
| | | | | HAVE_BORINGSSL gets defined now by configure and should be defined by other build systems in case a BoringSSL build is desired.
* configure: fix BoringSSL detection and detect libressslDaniel Stenberg2015-01-221-1/+16
|
* BoringSSL: detected by configure, switches off NTLMDaniel Stenberg2015-01-221-2/+11
|
* ldap: Renamed the CURL_LDAP_WIN definition to USE_WIN32_LDAPSteve Holme2015-01-181-2/+2
| | | | | For consistency with other USE_WIN32_ defines as well as the USE_OPENLDAP define.
* code/docs: Use correct case for IPv4 and IPv6Steve Holme2014-12-271-4/+4
| | | | | | For consistency, as we seem to have a bit of a mixed bag, changed all instances of ipv4 and ipv6 in comments and documentations to use the correct case.
* code/docs: Use Unix rather than UNIX to avoid use of the trademarkSteve Holme2014-12-261-7/+7
| | | | | Use Unix when generically writing about Unix based systems as UNIX is the trademark and should only be used in a particular product's name.
* configure: Use camel case for UNIX sockets feature outputSteve Holme2014-12-261-1/+1
| | | | To match the curl --version output.
* smb: Build with SSPI enabledBill Nagel2014-12-071-2/+3
| | | | Build SMB/CIFS protocol support when SSPI is enabled.
* libcurl: add UNIX domain sockets supportPeter Wu2014-12-041-0/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The ability to do HTTP requests over a UNIX domain socket has been requested before, in Apr 2008 [0][1] and Sep 2010 [2]. While a discussion happened, no patch seems to get through. I decided to give it a go since I need to test a nginx HTTP server which listens on a UNIX domain socket. One patch [3] seems to make it possible to use the CURLOPT_OPENSOCKETFUNCTION function to gain a UNIX domain socket. Another person wrote a Go program which can do HTTP over a UNIX socket for Docker[4] which uses a special URL scheme (though the name contains cURL, it has no relation to the cURL library). This patch considers support for UNIX domain sockets at the same level as HTTP proxies / IPv6, it acts as an intermediate socket provider and not as a separate protocol. Since this feature affects network operations, a new feature flag was added ("unix-sockets") with a corresponding CURL_VERSION_UNIX_SOCKETS macro. A new CURLOPT_UNIX_SOCKET_PATH option is added and documented. This option enables UNIX domain sockets support for all requests on the handle (replacing IP sockets and skipping proxies). A new configure option (--enable-unix-sockets) and CMake option (ENABLE_UNIX_SOCKETS) can disable this optional feature. Note that I deliberately did not mark this feature as advanced, this is a feature/component that should easily be available. [0]: http://curl.haxx.se/mail/lib-2008-04/0279.html [1]: http://daniel.haxx.se/blog/2008/04/14/http-over-unix-domain-sockets/ [2]: http://sourceforge.net/p/curl/feature-requests/53/ [3]: http://curl.haxx.se/mail/lib-2008-04/0361.html [4]: https://github.com/Soulou/curl-unix-socket Signed-off-by: Peter Wu <peter@lekensteyn.nl>
* configure: Fixed inclusion of SMB when no crypto engines availableSteve Holme2014-12-021-1/+4
|
* smb: Added configuration options for SMBBill Nagel2014-11-291-0/+22
| | | | | Added --enable-smb and --disable-smb configuration options for the upcoming SMB/CIFS protocol support.
* tool: Use Kerberos for supported featuresMichael Osipov2014-11-151-1/+1
|
* configure: Fixed inclusion of krb5 when CURL_DISABLE_CRYPTO_AUTH is definedSteve Holme2014-11-111-2/+2
| | | | | | | Commit fe0f8967bf fixed a problem with krb5 not being defined as a supported feature when HAVE_GSSAPI is defined, however, it should only be included if CURL_DISABLE_CRYPTO_AUTH is not set, like when SPNEGO is listed as a feature.
* configure: assume krb5 when gss-api worksDaniel Stenberg2014-11-101-1/+1
| | | | | To please test 1014 while we work out if this is truly the a correct assumption.
* libssh2: detect features based on version, not configure checksDaniel Stenberg2014-11-091-6/+0
| | | | | ... so that non-configure builds get the correct functions too based on the libssh2 version used.
* configure: Fixed NTLM missing from features when CURL_DISABLE_HTTP definedSteve Holme2014-11-091-3/+5
|
* configure: Added krb5 to the supported featuresSteve Holme2014-11-071-0/+5
|
* configure.ac: remove checks for OpenSSL NPN/ALPN funcs againDaniel Stenberg2014-10-291-4/+1
| | | | | ... since the conditional in the code are now based on OpenSSL versions instead to better support non-configure builds.
* Compile with latest nghttp2Tatsuhiro Tsujikawa2014-08-261-1/+1
|
* configure.ac: Add support for recent GSS-API implementations for HP-UXMichael Osipov2014-08-251-10/+15
| | | | | | | By default, configure script assumes that libcurl will use the HP-supplied GSS-API implementation which does not have krb5-config. If a dev needs a more recent version which has that config script, the change will allow to pass an appropriate GSSAPI_ROOT.