--- a/test/configure Sat Nov 14 21:12:53 2020 +0100 +++ b/test/configure Thu Feb 23 13:11:26 2023 +0100 @@ -293,6 +293,28 @@ dependency_libxml2() { printf "checking for libxml2... " + # dependency libxml2 platform="macos" + while true + do + if isnotplatform "macos"; then + break + fi + xml2-config --cflags > /dev/null + if [ $? -eq 0 ]; then + CFLAGS="$CFLAGS `xml2-config --cflags`" + else + break + fi + xml2-config --libs > /dev/null + if [ $? -eq 0 ]; then + LDFLAGS="$LDFLAGS `xml2-config --libs`" + else + break + fi + echo yes + return 0 + done + # dependency libxml2 while true do