aboutsummaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 18c73e70..76bea0bb 100644
--- a/configure.in
+++ b/configure.in
@@ -182,6 +182,9 @@ if test $ac_cv_enable_gpgme = yes; then
AM_PATH_GPGME(1.0.0, AC_DEFINE(USE_GPGME, 1, Define if you use GPGME to support OpenPGP.),
[use_gpgme=no
ac_cv_enable_gpgme=no])
+ if test $ac_cv_enable_gpgme = yes; then
+ AC_CHECK_LIB(gpgme, gpgme_io_writen, AC_DEFINE(HAVE_GPGME_IO_WRITEN, 1, Define if GPGME has gpgme_io_writen function.))
+ fi
else
AC_MSG_RESULT(no)
fi