diff options
author | NIIBE Yutaka <[email protected]> | 2024-05-14 02:42:24 +0000 |
---|---|---|
committer | NIIBE Yutaka <[email protected]> | 2024-05-14 02:42:24 +0000 |
commit | 06db03ea9b22403a22bcfbeaf407dcfcdce3363a (patch) | |
tree | df5258e69ce4d10cf00298aa0151b5d3dbe73432 /doc | |
parent | gpgme.m4: Update _AM_PATH_GPGRT_CONFIG macro from gpg-error.m4. (diff) | |
download | gpgme-06db03ea9b22403a22bcfbeaf407dcfcdce3363a.tar.gz gpgme-06db03ea9b22403a22bcfbeaf407dcfcdce3363a.zip |
doc: Update use of Autoconf with PKG_CHECK_MODULES.
--
Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/gpgme.texi | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/doc/gpgme.texi b/doc/gpgme.texi index 36b775a1..bdac95a3 100644 --- a/doc/gpgme.texi +++ b/doc/gpgme.texi @@ -589,10 +589,16 @@ mode (@code{_LARGEFILE64_SOURCE}). @cindex automake @cindex autoconf -It is much easier if you use GNU Automake instead of writing your own -Makefiles. If you do that you do not have to worry about finding and -invoking the @command{pkg-config} script at all. @acronym{GPGME} -provides an extension to Automake that does all the work for you. +You can simply use @code{PKG_CHECK_MODULES} macro with @command{pkg-config}: +@example +PKG_CHECK_MODULES([GPGME], [gpgme >= 1.23.1]) +@end example + +Alternatively, instead of using @command{pkg-config}, for building on +an environment with no pkg-config, @acronym{GPGME} provides an +extension to Automake that does all the work for you. Please note +that it is required to have gpgrt-config from libgpg-error installed +in this case. @c A simple macro for optional variables. @macro ovar{varname} |