configure: Reorder pthreads checks
authorLuca Barbato <lu_zero@gentoo.org>
Thu, 12 Dec 2013 16:05:34 +0000 (17:05 +0100)
committerLuca Barbato <lu_zero@gentoo.org>
Fri, 13 Dec 2013 22:53:30 +0000 (23:53 +0100)
commita5a3b398fd9dce38ca50b20f182b17a256d209f2
tree710e0b33794c4b5e8cad322d694e29069bcdb3f5
parent7cbe1ea9df83ec66403fbf6400353bcb2242bf06
configure: Reorder pthreads checks

Some pthreads symbols might be present in libc (as shown on various *BSD)
but not all of them, leading to false positives.

Check for the most common compiler flags before the plain symbol check
to avoid known pitfalls.
configure