[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Monotone-devel] Re: [patch] acx_pthread.m4 and ac_compile_check_sizeof.
From: |
Peter Simons |
Subject: |
[Monotone-devel] Re: [patch] acx_pthread.m4 and ac_compile_check_sizeof.m4 |
Date: |
04 Jun 2006 17:56:03 +0200 |
Richard Levitte writes:
> Considering monotone doesn't use threads at all, I'm
> surprised acx_pthread.m4 is there at all!
The configure script checks for pthread_mutex_lock() because:
| # We don't use threads, but some Boost libraries make locking calls
| # anyway. So we need to ensure that these symbols are available. But
| # It's okay if they're just stubs.
ACX_PTHREAD is used as a fallback, it usually won't be run. I
don't know whether having ACX_PTHREAD is strictly necessary, but
it feels like there is little to lose by having it.
Peter