Check for xsltSaveResultToString presence.
[m4-moved-to-github.git] / yaz_libxml2.m4
index 01dfdee..02eb1b4 100644 (file)
@@ -135,4 +135,8 @@ if test "$exsltdir" != "no"; then
                fi
        fi
 fi
+OLIBS=$LIBS
+LIBS="$LIBS $XML2_LIBS"
+AC_CHECK_FUNCS([xsltSaveResultToString])
+LIBS=$OLIBS
 ])