summaryrefslogtreecommitdiff
blob: f0dd39310d4bd3089085629a3374f3f5d6e4c1b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- a/configure.ac
+++ b/configure.ac
@@ -120,7 +120,7 @@ AC_SUBST([DBCPPFLAGS])
 AC_CHECK_LIB(z,gzopen,,[AC_MSG_ERROR(["no zlib found"])],)
 AC_CHECK_LIB(gpg-error,gpg_strsource,,[AC_MSG_ERROR(["no libgpg-error found"])],)
 AC_CHECK_LIB(gpgme,gpgme_get_protocol_name,,[AC_MSG_ERROR(["no libgpgme found (need at least 0.4.1)"])],)
-AC_CHECK_HEADER(gpgme.h,,[AC_MSG_ERROR(["no gpgme.h found"])])
+AC_CHECK_HEADER(gpgme/gpgme.h,,[AC_MSG_ERROR(["no gpgme.h found"])])
 
 AC_ARG_WITH(libbz2,
 [  --with-libbz2=path|yes|no	Give path to prefix libbz2 was installed with],[dnl
--- a/signature.c
+++ b/signature.c
@@ -25,7 +25,7 @@
 #include <string.h>
 #include <malloc.h>
 #include <fcntl.h>
-#include <gpgme.h>
+#include <gpgme/gpgme.h>
 #include "error.h"
 #include "ignore.h"
 #include "mprintf.h"