From 972289f356102d22a23aac4a93fe42de845dd917 Mon Sep 17 00:00:00 2001 From: Azat Khuzhin Date: Sat, 29 Aug 2020 01:15:20 +0300 Subject: Detect existence of pthread_mutexattr_setprotocol() Fixes: #1084 --- configure.ac | 2 ++ 1 file changed, 2 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 2599c225..a143224e 100644 --- a/configure.ac +++ b/configure.ac @@ -786,6 +786,8 @@ if test x$bwin32 != xtrue && test "$enable_thread_support" != "no"; then [AC_INCLUDES_DEFAULT() #include ] ) + + AC_CHECK_FUNCS([pthread_mutexattr_setprotocol]) fi AM_CONDITIONAL(THREADS, [test "$enable_thread_support" != "no"]) AM_CONDITIONAL(PTHREADS, [test "$have_pthreads" != "no" && test "$enable_thread_support" != "no"]) -- cgit v1.2.1