From: Dave Borowitz Date: Mon, 28 Apr 2014 21:01:23 +0000 (-0700) Subject: Makefile: default to -lcurl when no CURL_CONFIG or CURLDIR X-Git-Tag: v2.0.0-rc2~7^2 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/f3f11fa6a5cee5a90b3ca6a66a25a2beff6996a7?ds=sidebyside;hp=f3f11fa6a5cee5a90b3ca6a66a25a2beff6996a7 Makefile: default to -lcurl when no CURL_CONFIG or CURLDIR The original implementation of CURL_CONFIG support did not match the original behavior of using -lcurl when CURLDIR was not set. This broke implementations that were lacking curl-config but did have libcurl installed along system libraries, such as MSysGit. In other words, the assumption that curl-config is always installed was incorrect. Instead, if CURL_CONFIG is empty or returns an empty result (e.g. due to curl-config being missing), use the old behavior of falling back to -lcurl. Signed-off-by: Dave Borowitz Signed-off-by: Junio C Hamano ---