git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: How to force configure script to use curl ?

From
Philippe Blain <levraiphilippeblain@gmail.com>
Date
Feb 14, 2020, 16:49 UTC
Message-ID
<EF7D86BC-9EF7-4333-A786-2EC7DCF72C74@gmail.com>
In-Reply-To
<20200214061714.GA605125@coredump.intra.peff.net>
Hi Peff,
Thanks for a very sensible suggestion!
Philippe. 
Show 30 quoted lines
> Le 14 févr. 2020 à 01:17, Jeff King <peff@peff.net> a écrit :
> 
>> On Wed, Feb 12, 2020 at 05:08:06PM -0500, Philippe Blain wrote:
>> 
>> Is there a way to force the configure script to error out if it does
>> not find curl (or any one of the optional dependencies that I happen
>> to need for my build?)
> 
> I don't think so. It would probably be possible for configure.ac to
> behave this way. Looking at the code, I think GIT_PARSE_WITH would have
> to record the affirmative for "--with" instead of just canceling a
> previous "--without", and then the part that does curl auto-detection
> would need to complain if it doesn't find curl at that point.
> 
> But our use of autoconf is not very extensive, and in fact most
> developers do not use it at all. If you know you want curl, you're
> better off just overriding it explicitly with the Makefile knob:
> 
>  make NO_CURL=
> 
> or:
> 
>  echo NO_CURL= >>config.mak
>  make
> 
> Either of those will override the NO_CURL setting done by the configure
> script (you can see the full list of knobs set by configure in
> config.mak.autogen).
> 
> -Peff
Previous: Jeff King
Message 6 of 6 in “How to force configure script to use curl ?”
  1. Philippe BlainFeb 12, 2020
  2. Christian CouderFeb 13, 2020
  3. Jeff KingFeb 14, 2020
  4. Junio C HamanoFeb 14, 2020
  5. Jeff KingFeb 14, 2020
  6. Philippe BlainFeb 14, 2020

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.