]> git.eshelyaron.com Git - emacs.git/commit
Always define `gnutls-available-p' even if GnuTLS is not available.
authorTed Zlatanov <tzz@lifelogs.com>
Thu, 11 Dec 2014 22:55:36 +0000 (17:55 -0500)
committerTed Zlatanov <tzz@lifelogs.com>
Thu, 11 Dec 2014 22:55:36 +0000 (17:55 -0500)
commit301a4014a72964a8ec0078055c273d045d94fe42
tree56624b7953a40c098299261e283fc33200d5f21e
parentd76b9b2a213fa4e2c812a2c2503b4bfa4c28ece8
Always define `gnutls-available-p' even if GnuTLS is not available.

Fixes: debbugs:19346
* gnutls.c (Fgnutls_available_p syms_of_gnutls): Move later for
clarity.  Let the availability check return Qnil when the GnuTLS
integration is not available, instead of erroring out.

* gnutls.h: Always declare syms_of_gnutls.

* emacs.c (main): Always include gnutls.h and run syms_of_gnutls.
src/ChangeLog
src/emacs.c
src/gnutls.c
src/gnutls.h