All of lore.kernel.org
 help / color / mirror / Atom feed
From: Philippe Blain <levraiphilippeblain@gmail.com>
To: git@vger.kernel.org
Subject: How to force configure script to use curl ?
Date: Wed, 12 Feb 2020 17:08:06 -0500	[thread overview]
Message-ID: <A0910AA2-D24B-4DF5-8D39-8E2D8B56955B@gmail.com> (raw)

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


             reply	other threads:[~2020-02-12 22:08 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-12 22:08 Philippe Blain [this message]
2020-02-13 10:07 ` How to force configure script to use curl ? 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=A0910AA2-D24B-4DF5-8D39-8E2D8B56955B@gmail.com \
    --to=levraiphilippeblain@gmail.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.