cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: NSS and configure and pkg-config

From: Guenter <lists_at_gknw.net>
Date: Wed, 02 Sep 2009 18:37:15 +0200

Hi,
Daniel Stenberg schrieb:
> PKG_CONFIG_PATH can be any number of directories.
argh! Yes, right - I missed that point!

> Can I instead suggest that we do the entire pkg-config check like this:
>
> pkgconfig="no"
> if crosscompile; then
> if ${host}-pkg-config found and executable; then
> pkgconfig=${host}-pkg-config
> endfi
> endif
>
> if $pkgconfig = "no"; then
> pkgconfig = pkg-config if present in the path
> endif
>
> if $pkgconfig != "no"; then
> if $pkgconfig supports the module we want to play with; then
> return $pkgconfig;
> endif
> endif
>
> return "no"

that should work fine; and we can at any time overwrite pkg-config
detection with --with-package=/path/to/package , right?

Gün.
Received on 2009-09-02