* configure.in (LIB_PTHREAD): Prepend -lpthread to LIBS (Bug#9852)
commite782cfabe70f10d62c0a1eb6f1eeed74a86d6c2d
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 24 Oct 2011 02:40:23 +0000 (23 19:40 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 24 Oct 2011 02:40:23 +0000 (23 19:40 -0700)
treead4b64b47e52b7af24ed5433d626f54a11583fae
parent08c7586636dca746d777865287f7c92cfaffd92b
* configure.in (LIB_PTHREAD): Prepend -lpthread to LIBS (Bug#9852)

if the library is found.  Otherwise, later configure-time tests,
such as the test for pthread_sigmask, generate the wrong results
on some platforms.  Problem reported for FreeBSD by Nali Toja.
ChangeLog
configure.in