need help adding GnuTLS support to Emacs
ametzler at downhill.at.eu.org
Mon Aug 9 08:51:27 CEST 2010
On 2010-08-08 Ted Zlatanov <tzz at lifelogs.com> wrote:
> === modified file 'configure.in'
> --- configure.in 2010-08-06 11:28:59 +0000
> +++ configure.in 2010-08-08 03:17:07 +0000
> @@ -169,6 +169,7 @@
> OPTION_DEFAULT_ON([dbus],[don't compile with D-Bus support])
> OPTION_DEFAULT_ON([gconf],[don't compile with GConf support])
> OPTION_DEFAULT_ON([selinux],[don't compile with SELinux support])
> +OPTION_DEFAULT_ON([gnutls],[don't use -lgnutls for SSL/TLS support])
> ## For the times when you want to build Emacs but don't have
> ## a suitable makeinfo, and can live without the manuals.
> @@ -1986,6 +1987,14 @@
> +if test "x$no_libgnutls" = x ; then
> + PKG_CHECK_MODULES([LIBGNUTLS], [gnutls >= 2.2.4])
> + # the following is necessary because on my Ubuntu 10.04 system, "pkg-config --cflags gnutls" doesn't return /usr/include/gnutls as it should
> + LIBGNUTLS_CFLAGS=-I/usr/include/gnutls
I am pretty sure this wrong. You should simply use "#include
<gnutls/gnutls.h>" instead of "#include <gnutls.h>". That is what
gnutls/doc/examples/* is doing.
"See, I told you they'd listen to Reason," [SPOILER] Svfurlr fnlf,
fuhggvat qbja gur juveyvat tha.
Neal Stephenson in "Snow Crash"
More information about the Gnutls-devel