http: support curl < 7.10.7
commit1c2dbf2095beb5227d963a1541e356bd2e834dff
authorTom G. Christensen <tgc@statsbiblioteket.dk>
Tue, 3 Feb 2015 17:30:08 +0000 (3 18:30 +0100)
committerJunio C Hamano <gitster@pobox.com>
Tue, 3 Feb 2015 21:53:17 +0000 (3 13:53 -0800)
tree008f72412c1ed7d42eccf9994b352946aa825e0f
parentdd6139971a18e25a5089c0f96dc80e454683ef0b
http: support curl < 7.10.7

Commit dd61399 introduced support for http proxies that require
authentication but it relies on the CURL_PROXYAUTH option which was
added in curl 7.10.7.
This makes sure proxy authentication is only enabled if libcurl can
support it.

Signed-off-by: Tom G. Christensen <tgc@statsbiblioteket.dk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
http.c