blob: 490b61f1ffc1552b30d00139373ef89332d08b79 [file] [log] [blame]
Brad Bishop6e60e8b2018-02-01 10:27:11 -05001From 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
Andrew Geissler6aa7eec2023-03-03 12:41:14 -060010Upstream-Status: Backport [https://github.com/dajobe/raptor/commit/e75b1dbb7f2a6514b8d391b200c45a2bec6268bf]
Brad Bishop6e60e8b2018-02-01 10:27:11 -050011
12Signed-off-by: Andreas MΓΌller <schnitzeltony@googlemail.com>
13---
14 configure.ac | 2 +-
15 1 file changed, 1 insertion(+), 1 deletion(-)
16
17diff --git a/configure.ac b/configure.ac
18index 10ff870..35fa08e 100644
19--- a/configure.ac
20+++ b/configure.ac
21@@ -601,7 +601,7 @@ have_libxml=0
22 need_libxml=0
23
24 oCPPFLAGS="$CPPFLAGS"
25-if test "X$XML_CONFIG" != X; then
26+if test "X$libxml_source" != X; then
27 CPPFLAGS="$LIBXML_CFLAGS $CPPFLAGS"
28 LIBS="$LIBS $LIBXML_LIBS"
29 AC_CHECK_FUNC(xmlCreatePushParserCtxt, have_xmlCreatePushParserCtxt=yes, have_xmlCreatePushParserCtxt=no)
30--
312.1.0
32