diff options
author | Aleksey Kliger <alklig@microsoft.com> | 2019-06-05 01:22:10 +0300 |
---|---|---|
committer | Marek Safar <marek.safar@gmail.com> | 2019-06-05 10:55:34 +0300 |
commit | be92baf12d33c95b46075f48f69c0274ae8301d9 (patch) | |
tree | 940c2f1edc0f4032b67862cffd05836098c9c4a4 /configure.ac | |
parent | a76fc055cf1dc3173b6df1690d14723a13fbaf63 (diff) |
[runtime] Autoconf check for pthread_mutexattr_setprotocol
Android doesn't always declare that function.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 70d82d61903..fdeffc029b0 100644 --- a/configure.ac +++ b/configure.ac @@ -2646,6 +2646,8 @@ if test x$host_win32 = xno; then AC_CHECK_FUNCS(pthread_attr_setstacksize) AC_CHECK_FUNCS(pthread_attr_getstack pthread_attr_getstacksize) AC_CHECK_FUNCS(pthread_get_stacksize_np pthread_get_stackaddr_np) + dnl check that pthread_mutexattr_setprotocol is declared + AC_CHECK_DECLS([pthread_mutexattr_setprotocol], [], [], [[#include <pthread.h>]]) AC_CHECK_FUNCS(mincore mlock munlock) dnl *********************************** |