Added a workaround for the missing pthread_cancel on Android.

This commit is contained in:
Tobias Brunner
2009-12-23 17:03:42 +01:00
parent b2944d71ca
commit 85202e8795
2 changed files with 37 additions and 0 deletions
+2
View File
@@ -306,6 +306,8 @@ 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 we can cancel threads
AC_CHECK_FUNCS(pthread_cancel)
dnl check if native rwlocks are available
AC_CHECK_FUNCS(pthread_rwlock_init)
LIBS=$saved_LIBS