`pkg-config gnutls --variable=crypto_lib`

Nikos Mavrogiannopoulos nmav at gnutls.org
Sun Oct 24 14:44:02 CEST 2010

On 10/24/2010 02:09 PM, Arfrever Frehtes Taifersar Arahesis wrote:
> The attached patch adds support for `pkg-config gnutls --variable=crypto_lib`
> so that users of GnuTLS can check crypto library used by GnuTLS.
> It might be useful for build systems of packages, which use GnuTLS.

Why you need to know the backend library? The only reason that might
require knowing that is when you do conditional compilation with older
gnutls versions that use libgcrypt and pthreads. In that case you might
want to follow  the instructions in the "NEWS" file. That is use:


to distinguish between the situations where you need to call libgcrypt
to setup the threads explicitly (later gnutls versions implicitly
initialize thread support whether with libgcrypt or nettle).


More information about the Gnutls-devel mailing list