1From 90c34c8bb90e095a8a8fe8b2ce368bd9ff1837cc Mon Sep 17 00:00:00 2001
2From: Nick Wellnhofer <wellnhofer@aevum.de>
3Date: Fri, 15 Nov 2019 11:53:11 +0100
4Subject: [PATCH] Fix xml2-config check in configure script
5
6A 'print' option has never been supported. After a recent change to
7libxml2, invalid options cause xml2-config to fail.
8
9[Retrieved from:
10https://gitlab.gnome.org/GNOME/libxslt/-/commit/90c34c8bb90e095a8a8fe8b2ce368bd9ff1837cc]
11Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
12---
13 configure.ac | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
15
16diff --git a/configure.ac b/configure.ac
17index 3da57b18..585b9d7c 100644
18--- a/configure.ac
19+++ b/configure.ac
20@@ -548,7 +548,7 @@ dnl make sure xml2-config is executable,
21 dnl test version and init our variables
22 dnl
23
24-if test "x$LIBXML_LIBS" = "x" && ${XML_CONFIG} --libs print > /dev/null 2>&1
25+if test "x$LIBXML_LIBS" = "x" && ${XML_CONFIG} --libs > /dev/null 2>&1
26 then
27     AC_MSG_CHECKING(for libxml libraries >= $LIBXML_REQUIRED_VERSION)
28     XMLVERS=`$XML_CONFIG --version`
29--
30GitLab
31
32