FreeBSD 12 supports 'pthread_rwlock_tryrdlock' without 'pthread' library. Let's add check for more rare function. OTOH, Travis-CI environment supports 'pthread_rwlockattr_destroy', but does not support 'pthread_rwlock_tryrdlock' without 'pthread'. So, both checks needed.
Signed-off-by: Ilya Maximets <i.maxim...@samsung.com> --- configure.ac | 1 + 1 file changed, 1 insertion(+) diff --git a/configure.ac b/configure.ac index 3e97a750c..71ca90782 100644 --- a/configure.ac +++ b/configure.ac @@ -78,6 +78,7 @@ AC_SEARCH_LIBS([pow], [m]) AC_SEARCH_LIBS([clock_gettime], [rt]) AC_SEARCH_LIBS([timer_create], [rt]) AC_SEARCH_LIBS([pthread_rwlock_tryrdlock], [pthread]) +AC_SEARCH_LIBS([pthread_rwlockattr_destroy], [pthread]) AC_FUNC_STRERROR_R OVS_CHECK_ESX -- 2.17.1 _______________________________________________ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev