[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE_3_3_BRANCH: kdepim/libkdenetwork/gpgmepp
From:       David Faure <faure () kde ! org>
Date:       2004-10-08 21:47:55
Message-ID: 20041008214755.6846F16B60 () office ! kde ! org
[Download RAW message or body]

CVS commit by faure: 

check for wrong_key_usage and define HAVE_GPGME_WRONG_KEY_USAGE if available.


  M +12 -0     configure.in.in   1.19.2.1


--- kdepim/libkdenetwork/gpgmepp/configure.in.in  #1.19:1.19.2.1
@@ -126,4 +126,16 @@
                 AC_MSG_RESULT([no])
         ])
+
+        AC_MSG_CHECKING([if gpgme has gpgme_decrypt_result_t->wrong_key_usage])
+        AC_TRY_COMPILE([#include <gpgme.h>], [
+                gpgme_decrypt_result_t res;
+                unsigned int wku = res->wrong_key_usage;
+        ], [
+                AC_DEFINE(HAVE_GPGME_WRONG_KEY_USAGE, 1, [Define to 1 if your \
gpgme's gpgme_decrypt_result_t has the wrong_key_usage member]) +                \
AC_MSG_RESULT([yes]) +        ], [
+                AC_MSG_RESULT([no])
+        ])
+
         CFLAGS="$kdepim_gpgmepp_save_cflags"
         LIBS="$kdepim_gpgmepp_save_libs"


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic