cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-library Mailing List Archives

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

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET