From 3e60788810f93cfcd7f08e5882aff32ed7b6f831 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Sun, 21 Aug 2016 15:49:03 +0200 Subject: core: New commands --lang and --have-lang for gpgme-config * configure.ac (GPGME_CONFIG_AVAIL_LANG): New ac_subst. * src/gpgme-config.in (avail_lang): Add commands --lang and --have-lang. Signed-off-by: Werner Koch --- doc/gpgme.texi | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'doc') diff --git a/doc/gpgme.texi b/doc/gpgme.texi index ac0fffab..e8a735a2 100644 --- a/doc/gpgme.texi +++ b/doc/gpgme.texi @@ -450,6 +450,19 @@ any other option to select the thread package you want to link with. Supported thread packages are @option{--thread=pth} and @option{--thread=pthread}. +If you need to detect the installed language bindings you can use list +them using: + +@example +gpgme-config --print-lang +@end example + +or test for the availability using + +@example +gpgme-config --have-lang=python && echo 'Bindings for Pythons available' +@end example + @node Largefile Support (LFS) @section Largefile Support (LFS) -- cgit v1.2.3