Hi Thomas, all,

I just landed config scripts in NSS. NSS will be shipping them in
pkg/pkg-config [1] from 3.27 on.

Cheers,
Franziskus

[1] https://hg.mozilla.org/projects/nss/file/tip/pkg/pkg-config

On Fri, Jun 3, 2016 at 3:59 PM, Franziskus Kiefer <fkie...@mozilla.com>
wrote:

> Hi Thomas,
>
> thanks for your suggestion. I think it's reasonable to add config files. I
> filed a bug for it [1] and hope we'll add them soon.
>
> Cheers,
> Franziskus
>
> [1] https://bugzilla.mozilla.org/show_bug.cgi?id=1277852
>
> On Fri, May 20, 2016 at 9:54 AM, Thomas Klausner <t...@giga.or.at> wrote:
>
>> Hi!
>>
>> Nowadays, it is customary that libraries on Unix systems provide
>> pkg-config files so that they can be more easily found by build
>> systems like configure scripts.
>>
>> nspr does this:
>>
>>         https://hg.mozilla.org/projects/nspr/file/tip/config/nspr.pc.in
>>
>> It also provides a nspr-config script:
>>
>>
>> https://hg.mozilla.org/projects/nspr/file/tip/config/nspr-config.in
>>
>> which is an alternative, if outdated, method for the same.
>>
>> nss does not provide either.
>>
>> However, distributions have added such files, see e.g.
>>
>>
>> https://gitweb.gentoo.org/repo/gentoo.git/tree/dev-libs/nss/files/nss-3.17.1-gentoo-fixups.patch
>>
>> or
>>
>>         https://github.com/pld-linux/nss/blob/master/nss-config.in
>>         https://github.com/pld-linux/nss/blob/master/nss-mozilla-nss.pc
>>
>> and even the mozilla build system uses such a nss-config script to
>> detect the nss location:
>>
>>
>> https://hg.mozilla.org/mozilla-central/file/tip/build/autoconf/nss.m4
>>
>> despite the fact it is not provided by nss itself.
>>
>> Can you please add a nss-config script and/or a pkg-config .pc file?
>>
>> Thanks,
>>  Thomas
>> --
>> dev-tech-crypto mailing list
>> dev-tech-crypto@lists.mozilla.org
>> https://lists.mozilla.org/listinfo/dev-tech-crypto
>>
>
>
-- 
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto

Reply via email to