diff options
author | Tobias Brunner <tobias@strongswan.org> | 2009-12-08 14:06:11 +0100 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2009-12-23 17:01:30 +0100 |
commit | f36143b0baa9ecfa7930780c53a73e74c91577db (patch) | |
tree | cf3534b6b878d2d225c0c0229685bb398d0cc88e /configure.in | |
parent | b1f35d0695f1c2aac009baba9fdc18e30730245a (diff) | |
download | strongswan-f36143b0baa9ecfa7930780c53a73e74c91577db.tar.bz2 strongswan-f36143b0baa9ecfa7930780c53a73e74c91577db.tar.xz |
Implemented a read-write lock using only mutex_t and condvar_t (in case the pthread_rwlock_* group of functions is not available).
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.in b/configure.in index 2c2ffaf02..cb3910a64 100644 --- a/configure.in +++ b/configure.in @@ -297,7 +297,8 @@ AC_TRY_RUN( [AC_DEFINE([HAVE_CONDATTR_CLOCK_MONOTONIC])] )] ) - +dnl check if native rwlocks are available +AC_CHECK_FUNCS(pthread_rwlock_init) LIBS=$saved_LIBS AC_CHECK_FUNCS(prctl) |