From: Nikos Mavrogiannopoulos Date: Mon, 9 Jan 2012 20:21:28 +0000 (+0100) Subject: updated for pkg-config autoconf macro and added gnutls_pubkey_encrypt_data. X-Git-Tag: gnutls-3_0_12~61 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2aa6a1eb270188f99caaaa25f44af042f8e9a4f7;p=thirdparty%2Fgnutls.git updated for pkg-config autoconf macro and added gnutls_pubkey_encrypt_data. --- diff --git a/doc/cha-cert-auth2.texi b/doc/cha-cert-auth2.texi index 3036bc78a7..a2f4f35edb 100644 --- a/doc/cha-cert-auth2.texi +++ b/doc/cha-cert-auth2.texi @@ -858,8 +858,11 @@ signature verification operations with the underlying keys. @showfuncdesc{gnutls_pubkey_verify_data2} @showfuncdesc{gnutls_pubkey_verify_hash} +@showfuncdesc{gnutls_pubkey_encrypt_data} + @showfuncdesc{gnutls_privkey_sign_data} @showfuncdesc{gnutls_privkey_sign_hash} +@showfuncdesc{gnutls_privkey_decrypt_data} Signing existing structures, such as certificates, CRLs, or certificate requests, as well as associating public diff --git a/doc/cha-gtls-app.texi b/doc/cha-gtls-app.texi index 3a9d4f7a0d..d5932b56fe 100644 --- a/doc/cha-gtls-app.texi +++ b/doc/cha-gtls-app.texi @@ -267,6 +267,16 @@ specifying both options to @command{pkg-config}: gcc -o foo foo.c `pkg-config gnutls --cflags --libs` @end example +When a program uses the GNU autoconf system, then the following +line or similar can be used to detect the presence of GnuTLS. + +@example +PKG_CHECK_MODULES([LIBGNUTLS], [gnutls >= 3.0.0]) + +AC_SUBST([LIBGNUTLS_CFLAGS]) +AC_SUBST([LIBGNUTLS_LIBS]) +@end example + @node Session initialization @section Session initialization