summaryrefslogtreecommitdiff
path: root/configure.ac
Commit message (Collapse)AuthorAgeFilesLines
* configure: fix link with librtmp when specifying pathChris Carlmar2017-06-071-0/+1
| | | | Bug: https://curl.haxx.se/mail/lib-2017-06/0017.html
* build: provide easy code coverage measuringDaniel Stenberg2017-06-021-0/+1
| | | | Closes #1528
* tool_operate: use utimes instead of obsolescent utime when availableDan Fandrich2017-04-271-1/+2
|
* configure: stop prepending to LDFLAGS, CPPFLAGSJay Satiro2017-04-251-9/+9
| | | | | | | | - Change prepends to appends because user's LDFLAGS and CPPFLAGS should always come first so they're searched before ours. Bug: https://github.com/curl/curl/issues/1420 Reported-by: Helmut K. C. Tessarek
* configure: fix the -ldl check for openssl, add -lpthread checkDaniel Stenberg2017-04-241-44/+42
| | | | | | | | | | | The check for if -ldl is needed to build with (a statically built) openssl was broken. This repairs the check, and adds a check for -lpthread as well since OpenSSL 1.1.0+ does in fact require -lpthread so only adding -ldl for a static openssl build is no longer enough. Reported-by: Jay Satiro Ref: #1426 Closes #1427
* configure.ac: ignore CR after version numbersMarcel Raad2017-04-171-2/+2
| | | | | | | | | Ignore everything after the version numbers in LIBCURL_VERSION and LIBCURL_VERSION_NUM to ged rid of the extra CR character. This makes tests 1022 and 1023 pass on Linux with a CRLF checkout. Ref: https://github.com/curl/curl/pull/1344#issuecomment-289243166 Closes https://github.com/curl/curl/pull/1422
* configure: fix --with-zlib when a path is specifiedGreg Rowe2017-03-031-10/+9
| | | | | | | | | | Prior to this change if you attempted to configure curl using --wtih-zlib and specified a path the path would be ignored if you also had pkg-config installed on your system. This situation can easily arise when you are cross compiling. This change moves the test for detecting zlib settings via pkg-config only if OPT_ZLIB is not set. Closes https://github.com/curl/curl/pull/1292
* configure: fix for --enable-pthreadsJay Satiro2017-03-021-13/+32
| | | | | | | Better handle options conflicts that can occur if --enable-pthreads. Bug: https://github.com/curl/curl/pull/1295 Reported-by: Marc-Antoine Perennou
* configure: Allow disabling pthreads, fall back on Win32 threadsJay Satiro2017-02-141-4/+40
| | | | | | | | | When the threaded resolver option is specified for configure the default thread library is pthreads. This change makes it possible to --disable-pthreads and then configure can fall back on Win32 threads for native Windows builds. Closes https://github.com/curl/curl/pull/1260
* gnutls: check for alpn and ocsp in configureMarcus Hoffmann2017-01-131-1/+1
| | | | | | | | | | | Check for presence of gnutls_alpn_* and gnutls_ocsp_* functions during configure instead of relying on the version number. GnuTLS has options to turn these features off and we ca just work with with such builds like we work with older versions. Signed-off-by: Marcus Hoffmann <m.hoffmann@cartelsol.com> Closes #1204
* configure: accept --with-libidn2 insteadDaniel Stenberg2016-12-251-1/+1
| | | | | | | | ... which the help text already implied since we switched to libidn2 from libidn in commit 9c91ec778104ae3b back in October 2016. Reported-by: Christian Weisgerber Bug: https://curl.haxx.se/mail/lib-2016-12/0110.html
* cmdline-opts: include the man page split up files in the distDaniel Stenberg2016-12-171-0/+1
|
* curl_version_info: add CURL_VERSION_HTTPS_PROXYOkhin Vasilij2016-11-261-0/+5
| | | | Closes #1142
* openssl: RAND_status always exists in OpenSSL >= 0.9.7Daniel Stenberg2016-11-111-3/+1
| | | | | and remove RAND_screen from configure since nothing is using that function
* idn: switch to libidn2 use and IDNA2008 supportDaniel Stenberg2016-10-311-47/+29
| | | | | | | CVE-2016-8625 Bug: https://curl.haxx.se/docs/adv_20161102K.html Reported-by: Christian Heimes
* configure: set min version flags for builds on macDaniel Stenberg2016-10-201-0/+2
| | | | | | | | This helps building binaries that can work on multiple macOS versions. Help-by: Martin Storsjö Fixes #1069
* s/cURL/curlDaniel Stenberg2016-10-181-1/+1
| | | | | The tool was never called cURL, only the project. But even so, we have more and more over time switched to just use lower case.
* configure: Fixed builds with libssh2 in a custom locationDan Fandrich2016-09-241-1/+1
| | | | | A libssh2 library in the standard system location was being used in preference to the desired one while linking.
* openssl: don’t call CRYTPO_cleanup_all_ex_dataDaniel Stenberg2016-09-191-1/+0
| | | | | | | | | | | | | The OpenSSL function CRYTPO_cleanup_all_ex_data() cannot be called multiple times without crashing - and other libs might call it! We basically cannot call it without risking a crash. The function is a no-op since OpenSSL 1.1.0. Not calling this function only risks a small memory leak with OpenSSL < 1.1.0. Bug: https://curl.haxx.se/mail/lib-2016-09/0045.html Reported-by: Todd Short
* configure: change "iOS/Mac OS X native" to "Apple OS native"Nick Zitzmann2016-09-181-5/+5
| | | | Since I first wrote that text, Apple introduced tvOS and watchOS, and renamed "Mac OS X" to "macOS." Let's make the text a little more inclusive, since curl can be built for all four operating systems.
* configure: detect zlib with our pkg-config macrosDaniel Stenberg2016-08-251-10/+10
| | | | | | ... instead of relying on the pkg-config autoconf macros to be present. Fixes #972 (again...)
* configure: make it work without PKG_CHECK_MODULESDaniel Stenberg2016-08-211-1/+4
| | | | | | | | | | | With commit c2f9b78 we added a new dependency on pkg-config for developers which may be unwanted. This change make the configure script still work as before if pkg-config isn't installed, it'll just use the old zlib detection logic without pkg-config. Reported-by: Marc Hörsken Fixes #972
* configure.ac: add missing quotes to PKG_CHECK_MODULESMarc Hoersken2016-08-201-1/+1
|
* configure.ac: add zlib search with pkg-configDambaev Alexander2016-08-121-4/+14
| | | | Closes #956
* mbedtls: Added support for NTLMBill Nagel2016-08-031-4/+4
|
* configure: don't specify .lib for libs on windowsDaniel Stenberg2016-06-221-1/+1
| | | | Another follow up for crypt32.lib linking with winssl
* configure: fix winssl LIBS change typoDaniel Stenberg2016-06-221-1/+1
| | | | follow-up from 120bf29e
* configure: add crypt32.lib for winssl buildsDaniel Stenberg2016-06-221-0/+1
| | | | Necessary since 6cabd78531f
* configure: ac_cv_ -> curl_cv_ for r/w varsIrfan Adilovic2016-04-211-1/+1
| | | | | | | These configure vars are modified in a curl-specific way and modified by the configure process, but are never loaded from cache, even though they are designated as _cv_. We should implement proper AC_CACHE_CHECKs for them eventually.
* configure: ac_cv_ -> curl_cv_ for all cached varsIrfan Adilovic2016-04-211-14/+14
| | | | | | | | | | | | | This was automated by: sed -b -i -f <(ack -A1 AC_CACHE_CHECK | \ ack -o 'ac_cv_.*?\b' | \ sort -u | xargs -n1 bash -c \ 'echo "s/$0/curl_cv_${0#ac_cv_}/g"') \ $(git ls-files) This only changed the prefix for 16 variables actually checked with AC_CACHE_CHECK.
* configure: remove check for libresolveDaniel Stenberg2016-04-181-11/+0
| | | | | | | | | | 'strncasecmp' was once provided by libresolv (no trailing e) for SunOS, but this check is broken and most likely adds nothing useful. Removing now. Reported-by: Irfan Adilovic Discussed in #770
* wolfssl: Use ECC supported curves extensionJay Satiro2016-03-291-1/+3
| | | | https://github.com/wolfSSL/wolfssl/issues/366
* wolfssl: Add ALPN supportJay Satiro2016-03-281-1/+2
|
* configure: warn on invalid ca bundle or pathJay Satiro2016-02-251-2/+2
| | | | | | | | | | | | | | | | - Warn if --with-ca-bundle file does not exist. - Warn if --with-ca-path directory does not contain certificates. - Improve help messages for both. Example configure output: ca cert bundle: /some/file (warning: certs not found) ca cert path: /some/dir (warning: certs not found) Bug: https://github.com/curl/curl/issues/404 Reported-by: Jeffrey Walton
* configure: state "BoringSSL" in summary when that was detectedDaniel Stenberg2016-02-091-0/+1
|
* openssl: remove most BoringSSL #ifdefs.David Benjamin2016-02-091-4/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | As of https://boringssl-review.googlesource.com/#/c/6980/, almost all of BoringSSL #ifdefs in cURL should be unnecessary: - BoringSSL provides no-op stubs for compatibility which replaces most #ifdefs. - DES_set_odd_parity has been in BoringSSL for nearly a year now. Remove the compatibility codepath. - With a small tweak to an extend_key_56_to_64 call, the NTLM code builds fine. - Switch OCSP-related #ifdefs to the more generally useful OPENSSL_NO_OCSP. The only #ifdefs which remain are Curl_ossl_version and the #undefs to work around OpenSSL and wincrypt.h name conflicts. (BoringSSL leaves that to the consumer. The in-header workaround makes things sensitive to include order.) This change errs on the side of removing conditionals despite many of the restored codepaths being no-ops. (BoringSSL generally adds no-op compatibility stubs when possible. OPENSSL_VERSION_NUMBER #ifdefs are bad enough!) Closes #640
* configure: --with-ca-fallback: use built-in TLS CA fallbackLudwig Nussel2016-02-081-0/+1
| | | | | | | | When trying to verify a peer without having any root CA certificates set, this makes libcurl use the TLS library's built in default as fallback. Closes #569
* URLs: change all http:// URLs to https://Daniel Stenberg2016-02-031-2/+2
|
* configure: update the copyright year range in outputDaniel Stenberg2016-02-021-1/+1
|
* 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>