--- a/test/configure Sun Apr 16 14:16:31 2023 +0200 +++ b/test/configure Sun Apr 16 14:17:08 2023 +0200 @@ -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