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

How to force configure script to use curl ?

From
Philippe Blain <levraiphilippeblain@gmail.com>
Date
Feb 12, 2020, 22:08 UTC
Message-ID
<A0910AA2-D24B-4DF5-8D39-8E2D8B56955B@gmail.com>
Hi,
I was trying to build Git yesterday on a Ubuntu 14 machine that was missing the package "libcurl4-gnutls-dev" necessary to build the http(s) remote helper [1]. 
Doing just
    ./configure 
    make
built Git without support for the http remote helper, as expected. 
However, doing 
    ./configure --with-curl
    make
did the same; it did not result in an error saying that the curl headers could not be found (which I expected). 
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?)
Thanks,
Philippe. 

[1] this is one of the package suggested by the progit book : https://git-scm.com/book/en/v2/Getting-Started-Installing-Git

Next: Christian Couder
Message 1 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.