From: <vac...@us...> - 2008-11-26 14:26:40
|
Revision: 102 http://xmlwrapp.svn.sourceforge.net/xmlwrapp/?rev=102&view=rev Author: vaclavslavik Date: 2008-11-26 14:26:37 +0000 (Wed, 26 Nov 2008) Log Message: ----------- xsltInit() is available since libxslt-1.1.6, use it Modified Paths: -------------- trunk/configure.ac trunk/src/libxslt/init.cxx Modified: trunk/configure.ac =================================================================== --- trunk/configure.ac 2008-11-26 12:09:18 UTC (rev 101) +++ trunk/configure.ac 2008-11-26 14:26:37 UTC (rev 102) @@ -79,7 +79,7 @@ PKG_CHECK_MODULES(LIBXML, [libxml-2.0 >= 2.4.28]) if test "x$build_xslt" = "xyes" ; then - PKG_CHECK_MODULES(LIBXSLT, [libxslt >= 1.0.23]) + PKG_CHECK_MODULES(LIBXSLT, [libxslt >= 1.1.6]) PKG_CHECK_MODULES(LIBEXSLT, [libexslt]) fi Modified: trunk/src/libxslt/init.cxx =================================================================== --- trunk/src/libxslt/init.cxx 2008-11-26 12:09:18 UTC (rev 101) +++ trunk/src/libxslt/init.cxx 2008-11-26 14:26:37 UTC (rev 102) @@ -50,12 +50,7 @@ } //#################################################################### xslt::init::init (void) { - /* - * this really sucks, but it is the only way to call xsltInit() right - * now. This is necessary to make libxslt thread safe. - */ - xsltStylesheetPtr ss = xsltNewStylesheet(); - xsltFreeStylesheet(ss); + xsltInit(); // set some defautls process_xincludes(true); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |