aboutsummaryrefslogtreecommitdiff
path: root/src/m4/ax_boost_thread.m4
diff options
context:
space:
mode:
Diffstat (limited to 'src/m4/ax_boost_thread.m4')
-rw-r--r--src/m4/ax_boost_thread.m43
1 files changed, 2 insertions, 1 deletions
diff --git a/src/m4/ax_boost_thread.m4 b/src/m4/ax_boost_thread.m4
index 79e12cdb4e..9f0bd0b23c 100644
--- a/src/m4/ax_boost_thread.m4
+++ b/src/m4/ax_boost_thread.m4
@@ -104,6 +104,7 @@ AC_DEFUN([AX_BOOST_THREAD],
;;
esac
if test "x$ax_boost_user_thread_lib" = "x"; then
+ ax_lib=
for libextension in `ls -r $BOOSTLIBDIR/libboost_thread* 2>/dev/null | sed 's,.*/lib,,' | sed 's,\..*,,'`; do
ax_lib=${libextension}
AC_CHECK_LIB($ax_lib, exit,
@@ -128,7 +129,7 @@ AC_DEFUN([AX_BOOST_THREAD],
fi
if test "x$ax_lib" = "x"; then
- AC_MSG_ERROR(Could not find a version of the library!)
+ AC_MSG_ERROR(Could not find a version of the boost_thread library!)
fi
if test "x$link_thread" = "xno"; then
AC_MSG_ERROR(Could not link against $ax_lib !)