On Fri, Sep 02, 2005 at 01:56:50PM +0300, Andrew W. Nosenko wrote: > On 8/2/05, Andrew W. Nosenko <[EMAIL PROTECTED]> wrote: > > How to detect at run-time whether libxml2 was compiled with enabled > > mutlithreading support (--with-threads)? > > > > Reason of question: I just try to avoid following scenario: > > 1. application builded and tested on the machine with thread-aware > > libxml2 (--with-threads). > > 2. user copied application (binary) to the machine where libxml2 builded > > with > > disabled threads support (--without-threads). > > 3. Application misterious fails :-( > > Attached patch solves this issue.
Idea is good, implementation not so. The function goes into threads.c and the declaration in the system independant <libxml/threads.h> include. I integrated it but not by applying your patch, thanks, Daniel -- Daniel Veillard | Red Hat Desktop team http://redhat.com/ [EMAIL PROTECTED] | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/ _______________________________________________ xml mailing list, project page http://xmlsoft.org/ [email protected] http://mail.gnome.org/mailman/listinfo/xml
