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

List:       kde-commits
Subject:    kdepim/libkdenetwork/gpgmepp
From:       Marc Mutz <Marc.Mutz () uni-bielefeld ! de>
Date:       2004-10-14 10:00:52
Message-ID: 20041014100052.A241416BEC () office ! kde ! org
[Download RAW message or body]

CVS commit by mutz: 

From KDE_3_3_BRANCH: check for wrong_key_usage and define HAVE_GPGME_WRONG_KEY_USAGE \
if available.


  M +12 -0     configure.in.in   1.20


--- kdepim/libkdenetwork/gpgmepp/configure.in.in  #1.19:1.20
@@ -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