summaryrefslogtreecommitdiff
path: root/configure.ac
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* configure/features: Add feature and version info for GSS-API and SPNEGOMichael Osipov2014-07-231-5/+12
|
* build: link curl to NSS libraries when NSS support is enabledAlessandro Ghedini2014-07-181-0/+4
| | | | | | | This fixes a build failure on Debian caused by commit 24c3cdce88f39731506c287cb276e8bf4a1ce393. Bug: http://curl.haxx.se/mail/lib-2014-07/0209.html
* Remove all traces of FBOpenSSL SPNEGO supportDavid Woodhouse2014-07-161-40/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is just fundamentally broken. SPNEGO (RFC4178) is a protocol which allows client and server to negotiate the underlying mechanism which will actually be used to authenticate. This is *often* Kerberos, and can also be NTLM and other things. And to complicate matters, there are various different OIDs which can be used to specify the Kerberos mechanism too. A SPNEGO exchange will identify *which* GSSAPI mechanism is being used, and will exchange GSSAPI tokens which are appropriate for that mechanism. But this SPNEGO implementation just strips the incoming SPNEGO packet and extracts the token, if any. And completely discards the information about *which* mechanism is being used. Then we *assume* it was Kerberos, and feed the token into gss_init_sec_context() with the default mechanism (GSS_S_NO_OID for the mech_type argument). Furthermore... broken as this code is, it was never even *used* for input tokens anyway, because higher layers of curl would just bail out if the server actually said anything *back* to us in the negotiation. We assume that we send a single token to the server, and it accepts it. If the server wants to continue the exchange (as is required for NTLM and for SPNEGO to do anything useful), then curl was broken anyway. So the only bit which actually did anything was the bit in Curl_output_negotiate(), which always generates an *initial* SPNEGO token saying "Hey, I support only the Kerberos mechanism and this is its token". You could have done that by manually just prefixing the Kerberos token with the appropriate bytes, if you weren't going to do any proper SPNEGO handling. There's no need for the FBOpenSSL library at all. The sane way to do SPNEGO is just to *ask* the GSSAPI library to do SPNEGO. That's what the 'mech_type' argument to gss_init_sec_context() is for. And then it should all Just Work™. That 'sane way' will be added in a subsequent patch, as will bug fixes for our failure to handle any exchange other than a single outbound token to the server which results in immediate success.
* configure: respect host tool prefix for krb5-configMichał Górny2014-07-141-2/+9
| | | | | Use ${host_alias}-krb5-config if available. This improves cross- compilation support and fixes multilib on Gentoo (at least).
* netrc: fixed thread safety problem by using getpwuid_r if availableDan Fandrich2014-07-131-0/+1
| | | | | | | The old way using getpwuid could cause problems in programs that enable reading from netrc files simultaneously in multiple threads. Reported-by: David Woodhouse
* opts: initial makefileDaniel Stenberg2014-06-171-0/+1
| | | | | with a bonus first rough 'mancheck' target to see which man pages that are still missing
* url-parser: only use if_nametoindex if detected by configureDaniel Stenberg2014-05-261-0/+1
| | | | | | | The previous #ifdef detection wasn't good enough. Bug: http://curl.haxx.se/mail/lib-2014-05/0260.html Reported-by: Chris Young
* configure: fix the nghttp2 detection when not foundDaniel Stenberg2014-05-241-27/+26
|
* configure: detect nghttp2 by defaultDaniel Stenberg2014-05-231-6/+1
|
* configure: add GSS-API to supported featuresDaniel Stenberg2014-05-171-0/+3
| | | | | Bug: http://curl.haxx.se/bug/view.cgi?id=1344 Reported-by: Michael Osipov
* configure: add SPNEGO to supported featuresDaniel Stenberg2014-05-171-0/+3
| | | | | Bug: http://curl.haxx.se/bug/view.cgi?id=1343 Reported-by: Michael Osipov
* configure: Don't set LD_LIBRARY_PATH when cross-compilingAaro Koskinen2014-05-071-5/+6
| | | | | | Most of LD_LIBRARY_PATH adjustments are already guarded, but not all. The patch fixes cross-compilation failure when libidn is present.
* cyassl: Use error-ssl.h when availableDan Fandrich2014-04-231-0/+3
| | | | | Versions since at least 2.9.4 renamed error.h to error-ssl.h, so use whichever one is available.
* configure: use the nghttp2 path correctly with pkg-configDaniel Stenberg2014-04-221-9/+7
| | | | | | | | | When --with-nghttp2 was used (without a given path), the PKG_CONFIG_LIBDIR varialbe could get clobbered and ruin a proper detection of the library. Reported-by: Dilyan Palauzov Bug: http://curl.haxx.se/mail/lib-2014-04/0159.html
* configure: fix wrong commentDilyan Palauzov2014-04-211-1/+1
| | | | copy and paste error
* configure: call it GSS-APIMichael Osipov2014-03-031-15/+15
| | | | ... since that’s how the RFC calls it.
* configure: Tiny fix to honor POSIXnaota2014-02-251-7/+7
| | | | Change "==" to "=" to honor POSIX test construction.
* configure: Fix the --disable-crypto-auth optionDan Fandrich2014-02-171-1/+3
| | | | | It now disables NTLM and GSS authentication methods, and produces compilable code when SSL is enabled.
* openssl: add ALPN supportFabian Frank2014-02-031-1/+3
| | | | | | | | | | | Add ALPN support when using OpenSSL. This will offer ALPN and NPN to the server, who can respond with either one or none of the two. OpenSSL >= 1.0.2 is required, which means as of today obtaining a snapshot from ftp://ftp.openssl.org/snapshot/. See: http://tools.ietf.org/html/draft-ietf-tls-applayerprotoneg-04 https://github.com/openssl/openssl/blob/ba168244a14bbd056e502d7daa04cae4aabe9d0d/ssl/ssl_lib.c#L1787
* http2-openssl: verify that NPN functionality is presentDaniel Stenberg2014-01-301-1/+2
|
* configure: fix gssapi linking on HP-UXMichael Osipov2014-01-161-1/+14
| | | | | | | | The issue is with HP-UX that is comes with HP flavor of MIT Kerberos. This means that there is no krb5-config and the lib is called libgss.so Bug: http://curl.haxx.se/bug/view.cgi?id=1321
* Bumped copyright year to 2014Steve Holme2014-01-021-2/+2
|
* nss: unconditionally require NSS_InitContext()Kamil Dudka2013-12-021-8/+0
| | | | ... since we depend on NSS 3.14+ because of SSL_VersionRangeSet() anyway
* nss: use a better API for controlling SSL versionKamil Dudka2013-12-021-2/+2
| | | | This change introduces a dependency on NSS 3.14+.
* configure: Fix test with -Werror=implicit-function-declarationDaniel Stenberg2013-11-131-0/+1
| | | | | | | | | | The ipv6 auto-detect test in configure returns a false negative when CFLAGS contains -Werror=implicit-function-declaration. (I have been using this flag to detect code issues that would result in SEGVs on x86_64-cygwin.) Patch-by: Yaakov Selkowitz Bug: http://curl.haxx.se/bug/view.cgi?id=1304
* configure: check for long long when building with cyasslDaniel Stenberg2013-10-221-0/+3
| | | | | | cyassl/ctaocrypt/types.h needs SIZEOF_LONG_LONG Reported-by: Chris Conlon
* configure: add HTTP2 as a curl-config --feature outputDaniel Stenberg2013-09-051-0/+4
| | | | Fixes the test 1014 failure
* configure: added --with-nghttp2Daniel Stenberg2013-09-041-0/+87
|
* FTP: remove krb4 supportDaniel Stenberg2013-08-251-100/+0
| | | | | | | | | | We've announced this pending removal for a long time and we've repeatedly asked if anyone would care or if anyone objects. Nobody has objected. It has probably not even been working for a good while since nobody has tested/used this code recently. The stuff in krb4.h that was generic enough to be used by other sources is now present in security.h
* configure: fix 'subdir-objects' distclean related issueYang Tse2013-07-181-0/+2
| | | | See XC_AMEND_DISTCLEAN comments for details.
* configure: automake 1.14 compatibility tweak (use XC_AUTOMAKE)Yang Tse2013-07-091-1/+1
|
* curl-config: don't output static libs when they are disabledWouter Van Rooy2013-04-161-0/+5
| | | | | | | Curl-config outputs static libraries even when they are disabled in configure. This causes problems with the build of pycurl.
* configure: try pthread_create without -lpthreadDaniel Stenberg2013-04-121-8/+20
| | | | | | | | | For libc variants without a spearate pthread lib (like bionic), try using pthreads without the pthreads lib first and only if that fails try the -lpthread linker flag. Bug: http://curl.haxx.se/bug/view.cgi?id=1216 Reported by: Duncan
* configure: remove CURL_CHECK_FUNC_RECVFROMDaniel Stenberg2013-04-081-1/+0
| | | | | | | 1 - We don't use the results from the test and we never did. recvfrom() is only used by the TFTP code and it has not caused any problems. 2 - the CURL_CHECK_FUNC_RECVFROM function is extremely slow
* curl.h: stricter CURL_EXTERN linkage decorations logicYang Tse2013-03-121-29/+30
| | | | | | No API change involved. Info: http://curl.haxx.se/mail/lib-2013-02/0234.html
* configure: use XC_LIBTOOL for portability across libtool versionsYang Tse2013-03-081-44/+14
|
* darwinssl: fix undefined $ssllib warning in runtests.plNick Zitzmann2013-02-241-1/+1
| | | I also added --with-darwinssl to the list of SSL options in configure.
* strcasestr: remove check for this unused functionDaniel Stenberg2013-02-231-1/+0
|
* strlcat: remove functionDaniel Stenberg2013-02-141-1/+0
| | | | | | | | | | | | | | | | | | This function was only used twice, both in places where performance isn't crucial (socks + if2ip). Removing the use of this function removes the need to have our private version for systems without it == reduced amount of code. Also, in the SOCKS case it is clearly better to fail gracefully rather than to truncate the results. This work was triggered by a bug report on the strcal prototype in strequal.h. strlcat was added in commit db70cd28 in February 2001! Bug: http://curl.haxx.se/bug/view.cgi?id=1192 Reported by: Jeremy Huddleston
* configure: update the copyright years for the output.Guenter Knauf2013-02-041-1/+1
|
* zz40-xc-ovr.m4: 1.0 interface stabilizationYang Tse2013-01-281-1/+2
| | | | | | | | | | | - Stabilization results in 4 public interface m4 macros: XC_CONFIGURE_PREAMBLE XC_CONFIGURE_PREAMBLE_VER_MAJOR XC_CONFIGURE_PREAMBLE_VER_MINOR XC_CHECK_PATH_SEPARATOR - Avoid one level of internal indirection - Update comments - Drop XC_OVR_ZZ40 macro
* configure: use XC_CONFIGURE_PREAMBLE early checksYang Tse2013-01-231-2/+1
| | | | | | | | Some basic checks we make were placed early enough in generated configure script when using autoconf 2.5X versions. Newer autoconf versions expand these checks much further into the configure script, rendering them useless. Using XC_CONFIGURE_PREAMBLE fixes placement of early intended checks across all our autoconf supported versions.
* configure: autotools compatibility fixes - step IYang Tse2013-01-201-209/+3
| | | | | Fix proper macro expansion order across autotools versions for C compiler and preprocessor program checks.
* commit bc682cbd follow-upYang Tse2013-01-151-0/+2
|
* configure: fix automake 1.13 compatibilityYang Tse2013-01-141-0/+1
| | | | | | | | | | | | Tested with: buildconf: autoconf version 2.69 buildconf: autom4te version 2.69 buildconf: autoheader version 2.69 buildconf: automake version 1.13.1 buildconf: aclocal version 1.13.1 buildconf: libtool version 2.4 buildconf: GNU m4 version 1.4.16
* docs: the --with-darwinssl option is available on Apple OSesNick Zitzmann2013-01-091-1/+1
|
* Revert "configure: update req to 2.59"Daniel Stenberg2013-01-081-104/+114
| | | | | | This reverts commit 7a6d8b1b1a8fcc184c36d6b6e741e32250b4bacb. URL: http://curl.haxx.se/mail/lib-2013-01/0103.html