Subject: bug#19346: 25.0.50; url-http-parse-headers: Symbol's function definition is void: gnutls-available-p

From: Stefan Monnier <[email-masked]>
Date: Thu, 11 Dec 2014 14:16:42 -0500

>> >> │Debugger entered--Lisp error: (void-function gnutls-available-p)
>> >> │  gnutls-available-p()
>> >> │  url-http-parse-headers()
>> 
LMI> I've now pushed a fix for this.
>> 
>> Your fix uses `fboundp'. Should we make `gnutls-available-p' always
>> defined to return nil, to simplify this in the future?

> Yes.  Otherwise, the function doesn't make sense, IMO.

Thinking of it from the point of view of dynamically loaded C modules,
(gnutls-available-p) is basically equivalent to something like
(require 'libgnutls nil t).

        Stefan