configure.ac: stronger test for pthread linkage
commita9b02de8b79de44ee8f4a0506b65a62f38999bd8
authorEric Wong <e@80x24.org>
Mon, 18 Jul 2016 10:22:08 +0000 (18 10:22 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 18 Jul 2016 18:22:35 +0000 (18 11:22 -0700)
tree1eaabaf80dd3649ca04a21444f68e27bfad17326
parent765428699a5381f113d19974720bc91b5bfeaf1d
configure.ac: stronger test for pthread linkage

We need to test linkage of pthread_create and pthread_join,
as pthread_mutex_* and pthread_key_* functions do not need
extra linkage under FreeBSD 10.3, leading to a false-positive
of the empty case.

Signed-off-by: Eric Wong <e@80x24.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
configure.ac