0001-Fix-xml2-config-check-in-configure-script.patch 1.0 KB

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