From 91d26602c97bb7d00386b0f6812046daf12eafe8 Mon Sep 17 00:00:00 2001 From: Brent Cook Date: Fri, 18 Jan 2019 18:04:31 -0600 Subject: check for more pthread functions that might not be in libc --- m4/check-libc.m4 | 1 + 1 file changed, 1 insertion(+) (limited to 'm4') diff --git a/m4/check-libc.m4 b/m4/check-libc.m4 index 85d253a..4a3d6c7 100644 --- a/m4/check-libc.m4 +++ b/m4/check-libc.m4 @@ -131,6 +131,7 @@ AC_SEARCH_LIBS([dl_iterate_phdr],[dl]) AC_CHECK_FUNCS([dl_iterate_phdr]) AC_SEARCH_LIBS([pthread_once],[pthread]) +AC_SEARCH_LIBS([pthread_mutex_lock],[pthread]) AC_SEARCH_LIBS([clock_gettime],[rt posix4]) AC_CHECK_FUNCS([clock_gettime]) AM_CONDITIONAL([HAVE_CLOCK_GETTIME], [test "x$ac_cv_func_clock_gettime" = xyes]) -- cgit v1.2.3-55-g6feb