git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* How to force configure script to use curl ?
@ 2020-02-12 22:08 Philippe Blain
  2020-02-13 10:07 ` Christian Couder
  2020-02-14  6:17 ` Jeff King
  0 siblings, 2 replies; 6+ messages in thread
From: Philippe Blain @ 2020-02-12 22:08 UTC (permalink / raw)
  To: git

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-02-14 16:49 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-12 22:08 How to force configure script to use curl ? Philippe Blain
2020-02-13 10:07 ` Christian Couder
2020-02-14  6:17 ` Jeff King
2020-02-14 16:31   ` Junio C Hamano
2020-02-14 16:43     ` Jeff King
2020-02-14 16:49   ` Philippe Blain

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).