Cannot compile without GNU_TLS
Martijn Lievaart <[email protected]> Mon, 04 Jun 2012 23:35:05 +0200
| Newsgroups | gmane.comp.gnome.apps.pan.devel |
|---|---|
| Message-ID | <[email protected]> |
I needed to change:
diff --git a/pan/gui/gui.h b/pan/gui/gui.h
index bde4822..b9d7ff5 100644
--- a/pan/gui/gui.h
+++ b/pan/gui/gui.h
@@ -77,7 +77,11 @@ namespace pan
std::string cert_name;
int nr;
GUI* gui;
- void deinit_cert() { gnutls_x509_crt_deinit(cert); }
+ void deinit_cert() {
+#ifdef HAVE_GNUTLS
+ gnutls_x509_crt_deinit(cert);
+#endif
+ }
};
public: // ActionManager
to compile.
Cheers,
M4