curl / Mailing Lists / curl-library / Single Mail


Re: nghttp2 detection in configure without pkg-config?

From: Ray Satiro via curl-library <>
Date: Tue, 9 Apr 2019 19:13:01 -0400

On 4/9/2019 4:08 PM, Christian Schmitz via curl-library wrote:
> I build nghttp2 for all platforms here and I got the includes and libs in a folder for each platform.
> But configure script doesn't look for nghttp2 header files and libs, but uses pkg-config to find it.
> Can this be changed to detect library via include/library paths and just checks if it's available?
> Anyone else building for multiple platforms themselves?

Are you specifying the directory like --with-nghttp2=/foo then configure
should set PKG_CONFIG_LIBDIR to /foo/lib/pkgconfig for the check.

Received on 2019-04-10