curl-library
[PATCH] OpenSSL vs. NSS clash on PKG_CONFIG_LIBDIR
Date: Tue, 12 Jan 2010 13:43:50 +0100
Hello,
I've hopefully resolved the configuration problem Dan Fandrich faced. It seems
to be caused by the recent changes in OpenSSL checks, in particular by setting
and then restoring the PKG_CONFIG_LIBDIR environment variables.
The key problem is that pkg-config distinguishes among empty and unset. Thus
only restoring the value was not sufficient. And having the variable empty
instead of unset prevents pkg-config from finding nss properly.
Claes, now you see why I was in no hurry to implement the same for nss :-)
Attached is a patch which should fix it.
Additionally I spotted a few trailing spaces/tabs in that file. The second
patch addresses this flaw.
Could anybody review and/or comment?
Kamil
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
- text/x-patch attachment: ac-openssl-nss.patch
- text/x-patch attachment: ac-trailing-spaces.patch