diff options
author | Remi Pommarel <repk@triplefau.lt> | 2015-09-24 21:14:00 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-10-21 12:44:44 -0700 |
commit | 7e91e8d73a757801c0604a03fd2f0fa8003e4ac0 (patch) | |
tree | fe9ab23c965706af6386af7261f519061eb1ceaa /http-backend.c | |
parent | Makefile: make curl-config path configurable (diff) | |
download | tgif-7e91e8d73a757801c0604a03fd2f0fa8003e4ac0.tar.xz |
configure.ac: detect ssl need with libcurl
When libcurl has been statically compiled with openssl support they both
need to be linked in everytime libcurl is used.
During configuration this can be detected by looking for Curl_ssl_init
function symbol in libcurl, which will only be present if libcurl has been
compiled statically built with openssl.
configure.ac checks for Curl_ssl_init function in libcurl and if such function
exists; it sets NEEDS_SSL_WITH_CURL that is used by the Makefile to include
-lssl alongside with -lcurl.
Signed-off-by: Remi Pommarel <repk@triplefau.lt>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'http-backend.c')
0 files changed, 0 insertions, 0 deletions