Thanks!   That does allow building with libxml2.  

On Mon, Jul 25, 2016 at 6:30 PM Xue Fuqiao <xfq.free@gmail.com> wrote:
Hi Joshua,

On Mon, Jul 25, 2016 at 11:12 PM, Joshua Smith <kognate@gmail.com> wrote:
>
> Configuration goes fine,  libxml2 is detected but when you run make you get:
>
> xml.c:23:10: fatal error: 'libxml/tree.h' file not found
>
> #include <libxml/tree.h>
>
> ^
>
> 1 error generated.
>
> make[1]: *** [xml.o] Error 1
>
> make: *** [src] Error 2

I’ve been through the same situation before:
https://lists.gnu.org/archive/html/emacs-devel/2015-11/msg01918.html

I hope this thread can help you.