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

Re: [**EXTERNAL**] Re: Possible bug in Makefile when executing curl-config

From
Jeff King <peff@peff.net>
Date
Jul 23, 2019, 20:16 UTC
Message-ID
<20190723201649.GA4995@sigill.intra.peff.net>
In-Reply-To
<DM6PR04MB479387667E7EDEF2A27BFCA2D0C70@DM6PR04MB4793.namprd04.prod.outlook.com>
On Tue, Jul 23, 2019 at 07:43:01PM +0000, Raitanen, Adam wrote:
Show 6 quoted lines
> Yes there is a config.mak.autogen and it does not have an entry for CURL_CONFIG, although it has a correct entry for CURLDIR.
> 
> The config.log also shows it checking for curl-config and not finding it then proceeding anyway:
> 
> configure:5917: checking for curl-config
> configure:5945: result: no

OK, that makes sense from what I see in configure.ac. The "--with-curl" flag does not interact at all with the curl-config test, but only sets CURLDIR.

It seems like we should at least look for $CURLDIR/bin/curl-config in such a case. But I think the fallback patch I showed earlier would probably work for you, too (since on your system "curl-config --libs" is likely just going to show "-lcurl" anyway).

Let's see what James says.
-Peff
Previous: Raitanen, Adam
Message 4 of 4 in “Possible bug in Makefile when executing curl-config”
  1. Raitanen, AdamJul 22, 2019
  2. Jeff KingJul 22, 2019
  3. Raitanen, AdamJul 23, 2019
  4. Jeff KingJul 23, 2019

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.