Re: [xml] How to detect at run-time whether libxml2 was compiled with enabled mutlithreading support?



On Wed, Aug 03, 2005 at 05:38:06PM +0300, Andrew W. Nosenko wrote:
How to detect at run-time whether libxml2 was compiled with the 
mutlithreading support enabled (--with-threads)?

  I don't know how to do this.

Reason of question: I just try to avoid following scenario:
  1. application builded and tested on the machine with thread-aware
      libxml2 (--with-threads).  Application linked dynamically with
libxml2, of course.
  2. user copied application (binary) to the machine where libxml2
builded without
      threads support (--without-threads).

  libxml2 should always be compiled with thread support.
Unless on a very stange OS.

Daniel

-- 
Daniel Veillard      | Red Hat Desktop team http://redhat.com/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]