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

Re: How to force configure script to use curl ?

From
Junio C Hamano <gitster@pobox.com>
Date
Feb 14, 2020, 16:31 UTC
Message-ID
<xmqqh7ztp1tz.fsf@gitster-ct.c.googlers.com>
In-Reply-To
<20200214061714.GA605125@coredump.intra.peff.net>
Jeff King <peff@peff.net> writes:
Show 14 quoted lines
> 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).

Heh, I didn't even know that things were expected to work if you further tweak ./configure generated settings.

You are correct to point out that our use of autoconf is merely is an afterthought ;-), and the list of knobs near the top of Makefile is more authoritative and fresh than what configure.in knows about.

Thanks.
Previous: Jeff KingNext: Jeff King
Message 4 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.