aboutsummaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorBrent Cook <busterb@gmail.com>2019-01-18 18:04:31 -0600
committerBrent Cook <busterb@gmail.com>2019-01-18 18:04:31 -0600
commit91d26602c97bb7d00386b0f6812046daf12eafe8 (patch)
treed32011deead14dd3c6bb84b9dbfaa6df5d65bbf5 /m4
parente59ea94f623ff6e1aea79589228fcdebe809c97b (diff)
downloadportable-91d26602c97bb7d00386b0f6812046daf12eafe8.tar.gz
portable-91d26602c97bb7d00386b0f6812046daf12eafe8.tar.bz2
portable-91d26602c97bb7d00386b0f6812046daf12eafe8.zip
check for more pthread functions that might not be in libc
Diffstat (limited to 'm4')
-rw-r--r--m4/check-libc.m41
1 files changed, 1 insertions, 0 deletions
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])
131AC_CHECK_FUNCS([dl_iterate_phdr]) 131AC_CHECK_FUNCS([dl_iterate_phdr])
132 132
133AC_SEARCH_LIBS([pthread_once],[pthread]) 133AC_SEARCH_LIBS([pthread_once],[pthread])
134AC_SEARCH_LIBS([pthread_mutex_lock],[pthread])
134AC_SEARCH_LIBS([clock_gettime],[rt posix4]) 135AC_SEARCH_LIBS([clock_gettime],[rt posix4])
135AC_CHECK_FUNCS([clock_gettime]) 136AC_CHECK_FUNCS([clock_gettime])
136AM_CONDITIONAL([HAVE_CLOCK_GETTIME], [test "x$ac_cv_func_clock_gettime" = xyes]) 137AM_CONDITIONAL([HAVE_CLOCK_GETTIME], [test "x$ac_cv_func_clock_gettime" = xyes])