[libxslt] Fix xml2-config check in configure script
- From: Nick Wellnhofer <nwellnhof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libxslt] Fix xml2-config check in configure script
- Date: Fri, 15 Nov 2019 11:16:36 +0000 (UTC)
commit 90c34c8bb90e095a8a8fe8b2ce368bd9ff1837cc
Author: Nick Wellnhofer <wellnhofer aevum de>
Date: Fri Nov 15 11:53:11 2019 +0100
Fix xml2-config check in configure script
A 'print' option has never been supported. After a recent change to
libxml2, invalid options cause xml2-config to fail.
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/configure.ac b/configure.ac
index 3da57b18..585b9d7c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -548,7 +548,7 @@ dnl make sure xml2-config is executable,
dnl test version and init our variables
dnl
-if test "x$LIBXML_LIBS" = "x" && ${XML_CONFIG} --libs print > /dev/null 2>&1
+if test "x$LIBXML_LIBS" = "x" && ${XML_CONFIG} --libs > /dev/null 2>&1
then
AC_MSG_CHECKING(for libxml libraries >= $LIBXML_REQUIRED_VERSION)
XMLVERS=`$XML_CONFIG --version`
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]