pthread: check for both pthread_create and pthread_join
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 6 Jul 2012 01:42:11 +0000 (18:42 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 6 Jul 2012 01:42:11 +0000 (18:42 -0700)
commit5e2cd5c49abf9b3eb5d75bb9a7724c7656b9760e
tree4a1a2afecf45ff825c4393e8885a9e5e36858172
parentf686c2881aaecdadf8d070980436edd42715fd36
pthread: check for both pthread_create and pthread_join

* m4/pthread.m4 (gl_PTHREAD_CHECK): Revert previous change, but
alter the check so that it tests for both pthread_create and
pthread_join.  This should be more portable to hosts like OSF/1 5.1.
Suggested by Bruno Haible and Richard Yao in
<http://lists.gnu.org/archive/html/bug-gnulib/2012-07/msg00048.html>.
ChangeLog
m4/pthread.m4