[gnutls-dev] Compilation error: opencdk
Nikos Mavroyanopoulos
nmav at gnutls.org
Fri Oct 17 09:02:34 CEST 2003
On Thu, Oct 16, 2003 at 03:14:37PM +0200, Heinrich Janzing wrote:
> Hi,
> I'm trying to compile gnutls 0.9.90 on a Slackware 9.1 system.
> I read about the problem with the opencdk library, so I used
> "./configure --disable-openpgp-authentication" as recommended. But I
> still get an error:
This is a bug. Thank you. I attach a quick fix.
(should be applied in the libextra directory of gnutls)
> Thanks,
> Heinrich Janzing
--
Nikos Mavroyanopoulos
-------------- next part --------------
Index: openpgp/gnutls_openpgp.h
===================================================================
RCS file: /cvs/gnutls/gnutls/libextra/openpgp/gnutls_openpgp.h,v
retrieving revision 1.2
diff -u -u -r1.2 gnutls_openpgp.h
--- openpgp/gnutls_openpgp.h 3 Oct 2003 12:16:40 -0000 1.2
+++ openpgp/gnutls_openpgp.h 17 Oct 2003 06:56:15 -0000
@@ -1,3 +1,7 @@
+#include <config.h>
+
+#ifdef HAVE_LIBOPENCDK
+
#ifndef GNUTLS_OPENPGP_H
#define GNUTLS_OPENPGP_H
@@ -91,3 +95,5 @@
#endif /*GNUTLS_OPENPGP_H*/
+
+#endif /*HAVE_LIBOPENCDK*/
Index: openpgp/openpgp.h
===================================================================
RCS file: /cvs/gnutls/gnutls/libextra/openpgp/openpgp.h,v
retrieving revision 1.4
diff -u -u -r1.4 openpgp.h
--- openpgp/openpgp.h 3 Oct 2003 12:16:40 -0000 1.4
+++ openpgp/openpgp.h 17 Oct 2003 06:56:15 -0000
@@ -1,3 +1,7 @@
+#include <config.h>
+
+#ifdef HAVE_LIBOPENCDK
+
#ifndef OPENPGP_H
# define OPENPGP_H
@@ -63,3 +67,5 @@
unsigned int flags, unsigned int *verify);
#endif
+
+#endif /* HAVE_LIBOPENCDK */
More information about the Gnutls-devel
mailing list