1From 3f97aac5a1f43ef57b02fb9ccdcadd41a6b69fa9 Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com>
3Date: Tue, 27 Oct 2015 10:21:24 +0100
4Subject: [PATCH] configure.ac: do additional checks on libxml2 also when
5 detected by pkg-config
6MIME-Version: 1.0
7Content-Type: text/plain; charset=UTF-8
8Content-Transfer-Encoding: 8bit
9
10Upstream-Status: Applied [1]
11
12[1] https://github.com/dajobe/raptor/pull/33
13
14Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
15---
16 configure.ac | 2 +-
17 1 file changed, 1 insertion(+), 1 deletion(-)
18
19diff --git a/configure.ac b/configure.ac
20index 10ff870..35fa08e 100644
21--- a/configure.ac
22+++ b/configure.ac
23@@ -601,7 +601,7 @@ have_libxml=0
24 need_libxml=0
25
26 oCPPFLAGS="$CPPFLAGS"
27-if test "X$XML_CONFIG" != X; then
28+if test "X$libxml_source" != X; then
29   CPPFLAGS="$LIBXML_CFLAGS $CPPFLAGS"
30   LIBS="$LIBS $LIBXML_LIBS"
31   AC_CHECK_FUNC(xmlCreatePushParserCtxt, have_xmlCreatePushParserCtxt=yes, have_xmlCreatePushParserCtxt=no)
32--
332.1.0
34
35