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