[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
`pkg-config gnutls --variable=crypto_lib`
From: |
Arfrever Frehtes Taifersar Arahesis |
Subject: |
`pkg-config gnutls --variable=crypto_lib` |
Date: |
Sun, 24 Oct 2010 14:09:15 +0200 |
User-agent: |
KMail/1.13.5 (Linux/2.6.34-tuxonice-r8-AFTA; KDE/4.4.5; x86_64; ; ) |
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.
$ pkg-config gnutls --variable=crypto_lib
nettle
--
Arfrever Frehtes Taifersar Arahesis
--- lib/gnutls.pc.in
+++ lib/gnutls.pc.in
@@ -14,6 +14,7 @@
address@hidden@
address@hidden@
address@hidden@
address@hidden@
Name: GnuTLS
Description: Transport Security Layer implementation for the GNU system
--- lib/m4/hooks.m4
+++ lib/m4/hooks.m4
@@ -59,6 +59,8 @@
fi
fi
+ AC_SUBST(CRYPTO_LIB, $cryptolib)
+
AC_MSG_CHECKING([whether to use nettle])
if test "$cryptolib" = "nettle";then
AC_MSG_RESULT(yes)
signature.asc
Description: This is a digitally signed message part.
- `pkg-config gnutls --variable=crypto_lib`,
Arfrever Frehtes Taifersar Arahesis <=