Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCH] Makefile: default to -lcurl when no CURL_CONFIG or CURLDIR

From: Junio C Hamano <hidden>
Date: 2016-06-15 23:00:53

Dave Borowitz [off-list ref] writes:
On Mon, Apr 28, 2014 at 1:05 PM, Jonathan Nieder [off-list ref] wrote:
quoted
Dave Borowitz wrote:
quoted
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.
---
 Makefile | 36 +++++++++++++++++++++++++-----------
 1 file changed, 25 insertions(+), 11 deletions(-)
Sign-off?
Oops.
Will forge your sign-off while queuing ;-)
How about:
"If CURL_CONFIG is unset or points to a binary that is not found,
defaults to the CURLDIR behavior. If CURLDIR is not set, this means
using -lcurl with no additional library detection (other than
NEEDS_*_WITH_CURL).
... with this rephrasing.
quoted
quoted
-                             $(error libcurl not detected; try setting CURLDIR)
+                                $(error libcurl not detected or not compiled with static support)
Whitespace damage.
Yes, but intentional, because Makefile parsing is weird.
Thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help