Arfrever Frehtes Taifersar Arahesis wrote:

APR-Util fails to detect NSS on Gentoo GNU/Linux:

...
checking nspr/nspr.h usability... yes
checking nspr/nspr.h presence... yes
checking for nspr/nspr.h... yes
checking nss/nss.h usability... no
checking nss/nss.h presence... no
checking for nss/nss.h... no
checking for PR_Initialize in -lnspr4... no
...

I'm attaching the patch which fixes this problem.

$ nspr-config --includedir
/usr/include/nspr
$ nss-config --includedir
/usr/include/nss
$ nspr-config --libdir
/usr/lib/nspr
$ nss-config --libdir
/usr/lib/nss
$

Ideally there should be some kind of test that nss-config exists within the path before trying to call it, and it would be cool if the --with-nss option was able to point at nss-config, the same way --with-apr as able to point at apr-1-config. Thanks for pointing this out though - using the nss-config option is way better on platforms where it is present.

A little busy right now, but should be able to take a look in a day or two.

Regards,
Graham
--

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to