]> git.proxmox.com Git - mirror_ovs.git/commit
configure.ac: More enhanced check for pthread library.
authorIlya Maximets <i.maximets@samsung.com>
Mon, 10 Dec 2018 17:05:20 +0000 (20:05 +0300)
committerBen Pfaff <blp@ovn.org>
Mon, 10 Dec 2018 17:49:59 +0000 (09:49 -0800)
commit28c47facb5fb0bfe9e6c082f6aa6605115389272
tree6f52e7db308327d6bedae7c10908c8519be40bc8
parent23cfec1cdeba2b26060375a5d7b32983b52dd022
configure.ac: More enhanced check for pthread library.

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.maximets@samsung.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
configure.ac