diff options
author | Tobias Brunner <tobias@strongswan.org> | 2009-12-21 17:03:33 +0100 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2009-12-23 17:03:41 +0100 |
commit | b2944d71ca15b796c021a6cf89a8c67e46e2444a (patch) | |
tree | 27cd90bcce02f88c3087805c9b5a959be2378db8 /configure.in | |
parent | 01e606546ca647989cbc781412036e6ade32cb6f (diff) | |
download | strongswan-b2944d71ca15b796c021a6cf89a8c67e46e2444a.tar.bz2 strongswan-b2944d71ca15b796c021a6cf89a8c67e46e2444a.tar.xz |
Use pthread_cond_timedwait_monotonic on Android.
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.in b/configure.in index a80a81b95..f5de580e3 100644 --- a/configure.in +++ b/configure.in @@ -304,6 +304,8 @@ AC_TRY_RUN( ) dnl check if we actually are able to configure attributes on cond vars AC_CHECK_FUNCS(pthread_condattr_init) +dnl instead of pthread_condattr_setclock Android has this function +AC_CHECK_FUNCS(pthread_cond_timedwait_monotonic) dnl check if native rwlocks are available AC_CHECK_FUNCS(pthread_rwlock_init) LIBS=$saved_LIBS |