From 6d2cc1036d7d4449a748dd07604b6cb0e8571e0b Mon Sep 17 00:00:00 2001 From: Karl Heyes Date: Fri, 12 Aug 2005 03:08:33 +0000 Subject: [PATCH] allow older xslt libs, we can conditionally build a missing function easily svn path=/icecast/trunk/m4/; revision=9737 --- m4/xiph_xml2.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" ])