build: Support (and prefer) libboost_thread-mt
authorMathias Hasselmann <mathias@openismus.com>
Tue, 26 Feb 2013 15:06:56 +0000 (16:06 +0100)
committerMathias Hasselmann <mathias@openismus.com>
Wed, 27 Feb 2013 13:55:22 +0000 (14:55 +0100)
commit2ea57b8c42be6a2a7243a1045d2237588f45031d
treeaae96901d28e9bdb3df2f472033884cf8c007556
parent74a589615b097eefcf1491e792252d46f3df7d8f
build: Support (and prefer) libboost_thread-mt

Google's libphonenumber uses the Boost Thread library but somehow fails
to let its shared library express that dependency. Therefore we must
manually link that library. Now Fedora only installs libboost_thread-mt,
but not libboost_thread. This patch checks for both build variants of
the threads library and prefers libboost_thread-mt.

The change in preference is because it doesn't make much sense to use
a thread support library that isn't thread-safe, does it?

https://bugzilla.gnome.org/show_bug.cgi?id=694749
m4/evo_phonenumber.m4