diff --git a/m4/xiph_xml2.m4 b/m4/xiph_xml2.m4 index 9374012f..1dbdaf37 100644 --- a/m4/xiph_xml2.m4 +++ b/m4/xiph_xml2.m4 @@ -52,7 +52,7 @@ ac_xslt_save_LIBS="$LIBS" ac_xslt_save_CFLAGS="$CFLAGS" LIBS="$XSLT_LIBS $LIBS" CFLAGS="$CFLAGS $XSLT_CFLAGS" -AC_CHECK_FUNC(xsltSaveResultToString,,[AC_MSG_ERROR([Unable to link with libxslt (>=v1.0.18)])]) +AC_CHECK_FUNCS([xsltSaveResultToString]) CFLAGS="$ac_xslt_save_CFLAGS" LIBS="$ac_xslt_save_LIBS" ])