diff options
Diffstat (limited to 'cpp/configure.ac')
| -rw-r--r-- | cpp/configure.ac | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cpp/configure.ac b/cpp/configure.ac index 02080d4c6f..160bb44f4b 100644 --- a/cpp/configure.ac +++ b/cpp/configure.ac @@ -163,6 +163,9 @@ AC_SUBST(DOWNLOAD_URL) AC_CHECK_HEADERS([boost/shared_ptr.hpp uuid/uuid.h],, AC_MSG_ERROR([Missing required header files.])) +# Link with whichever variant of libboost_thread is available. +AC_SEARCH_LIBS([_ZN5boost6thread4joinEv],[boost_thread-mt boost_thread],,[AC_MSG_ERROR([No boost thread library found])]) + # Check for optional CPG requirement. tmp_LIBS=$LIBS LDFLAGS="$LDFLAGS -L/usr/lib/openais -L/usr/lib64/openais" |
