mirror of
				https://gitlab.gnome.org/GNOME/libxslt
				synced 2025-11-04 00:53:12 +03:00 
			
		
		
		
	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.
This commit is contained in:
		@@ -548,7 +548,7 @@ dnl make sure xml2-config is executable,
 | 
				
			|||||||
dnl test version and init our variables
 | 
					dnl test version and init our variables
 | 
				
			||||||
dnl
 | 
					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
 | 
					then
 | 
				
			||||||
    AC_MSG_CHECKING(for libxml libraries >= $LIBXML_REQUIRED_VERSION)
 | 
					    AC_MSG_CHECKING(for libxml libraries >= $LIBXML_REQUIRED_VERSION)
 | 
				
			||||||
    XMLVERS=`$XML_CONFIG --version`
 | 
					    XMLVERS=`$XML_CONFIG --version`
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user