emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What's the right way to detect libxml2?


From: Eli Zaretskii
Subject: Re: What's the right way to detect libxml2?
Date: Sat, 28 Oct 2017 12:10:39 +0300

> From: Robert Pluim <address@hidden>
> Date: Wed, 25 Oct 2017 13:24:34 +0200
> Cc: address@hidden
> 
> Ah yes, too much cut & paste. Revised version attached. Compile and
> run-tested with and without xml2 on GNU/Linux.
> 
> >From 10fe04edc5adf942c2bf9806eea5dd81edd2c9a5 Mon Sep 17 00:00:00 2001
> From: Robert Pluim <address@hidden>
> Date: Tue, 24 Oct 2017 19:01:28 +0200
> Subject: [PATCH] Provide libxml-available-p
> 
> * src/emacs.c (main): Call syms_of_xml unconditionally
> 
> * src/lisp.h: Provide syms_of_xml prototype even when
> HAVE_LIBXML2 is not defined
> 
> * src/xml.c (Flibxml_available_p): New function, cloned from
> Fgnutls_available_p
> (syms_of_xml): Provide Slibxml_available_p
> 
> * doc/lispref/text.texi (Parsing HTML/XML): Document libxml-available-p

This is okay for the master branch, but please also add a NEWS entry
about the new function, and the fact that from now on the detection of
libxml2 availability should use that.

Thanks.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]