Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 1 | From 3f97aac5a1f43ef57b02fb9ccdcadd41a6b69fa9 Mon Sep 17 00:00:00 2001 |
| 2 | From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com> |
| 3 | Date: Tue, 27 Oct 2015 10:21:24 +0100 |
| 4 | Subject: [PATCH] configure.ac: do additional checks on libxml2 also when |
| 5 | detected by pkg-config |
| 6 | MIME-Version: 1.0 |
| 7 | Content-Type: text/plain; charset=UTF-8 |
| 8 | Content-Transfer-Encoding: 8bit |
| 9 | |
Andrew Geissler | 6aa7eec | 2023-03-03 12:41:14 -0600 | [diff] [blame^] | 10 | Upstream-Status: Backport [https://github.com/dajobe/raptor/commit/e75b1dbb7f2a6514b8d391b200c45a2bec6268bf] |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 11 | |
| 12 | Signed-off-by: Andreas MΓΌller <schnitzeltony@googlemail.com> |
| 13 | --- |
| 14 | configure.ac | 2 +- |
| 15 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 16 | |
| 17 | diff --git a/configure.ac b/configure.ac |
| 18 | index 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 | -- |
| 31 | 2.1.0 |
| 32 | |