On Thu, Sep 27, 2012 at 4:05 AM, Joshua Marantz <jmara...@google.com> wrote:
> RE "failing the build of my module" -- the dominant usage is via
> precompiled binaries we supply.  Is there an apr query for determining
> whether apr was compiled with threads I could do on startup?

I don't think there's an official way but you know apr was compiled
with APR_HAS_THREADS when dlsym(NULL, "apr_os_thread_current") !=
NULL.

Using dlsym() like that is not quite compatible with POSIX but it
works on all the major Unices.

Reply via email to