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: Fri, 12 Dec 2014 09:47:30 -0500

SM> And what I'm saying is that (require '<modulename> nil t)
SM> *is* the replacement for (<modulename>-available-p).
SM> There is no need for any manual management.
> I really think they are different things.  One loads the module, the
> other indicates the module's functionality is available.

Check again: gnutls-available-p *does* load the module (if available).

It's very unusual to test whether something is available and yet not
make use of it when it is, which is why those two concepts are usually
conflated, which makes things simpler.  If you really need to check
without loading, you should be able to use `locate-library'.

        Stefan