diff options
author | Werner Koch <[email protected]> | 2016-08-21 13:49:03 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2016-08-21 13:49:03 +0000 |
commit | 3e60788810f93cfcd7f08e5882aff32ed7b6f831 (patch) | |
tree | ed0efb269d6a12d65deed4f418616147ed71edc0 /doc | |
parent | core: Remove (now) useless diagnostic (diff) | |
download | gpgme-3e60788810f93cfcd7f08e5882aff32ed7b6f831.tar.gz gpgme-3e60788810f93cfcd7f08e5882aff32ed7b6f831.zip |
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 <[email protected]>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/gpgme.texi | 13 |
1 files changed, 13 insertions, 0 deletions
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) |