cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Curl with http2 support configure error

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 20 Jul 2016 23:41:09 +0200 (CEST)

On Wed, 20 Jul 2016, Vasanth Ragavendran wrote:

> Shouldn't the path specified in --with-nghttp2 be sufficient?

Yes it should. The logic from configure.ac:

   *)
     dnl --with-nghttp2 option used with path
     want_h2="yes"
     want_h2_path="$withval/lib/pkgconfig"

So when you've specified a path, it should consider $withval/lib/pkgconfig to
be the dir for the pkgconfig data.

The CURL_CHECK_PKGCONFIG() macro (at acinclude.m4:3092) is then invoked to
check that there's actually existing pkg-config data there and apparently in
your case, it deems there isn't!

Can you figure out why?

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:  https://curl.haxx.se/mail/etiquette.html
Received on 2016-07-20