cURL / Mailing Lists / curl-library / Single Mail

curl-library

[PATCH v4] OpenSSL vs. NSS clash on PKG_CONFIG_LIBDIR

From: Kamil Dudka <kdudka_at_redhat.com>
Date: Wed, 13 Jan 2010 18:43:19 +0100

On Wednesday 13 of January 2010 17:04:35 Yang Tse wrote:
> Here we go, relative to ac-openssl-nss-v3.patch...

Thanks for review!

> Good idea there. But you'll need to tweak it a bit with 'dnl's or
> something, most surely some extra linefeeds are been placed in the
> generated script after the initial backtick and around the backslash.
> Look at what is placed in the generated configure script and you'll
> see what I mean.

Should be fixed.

> If the optional second argument is given, shell variable
> PKG_CONFIG_LIBDIR is still polluted. To avoid this, probably, the
> second argument could be used via CURL_EXPORT_PCDIR when calling
> $PKGCONFIG. Current call to $PKGCONFIG would need to be backticked to
> do this and slightly adjusted. The following will give you the idea...
>
> itexists=`CURL_EXPORT_PCDIR([$2]) \
> $PKGCONFIG --exists $1 2>/dev/null && echo 1`
> if test -n "$itexists"; then
> echo "It exists"
> fi

Should be fixed.

Kamil

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html

Received on 2010-01-13