aboutsummaryrefslogtreecommitdiff
path: root/src/m4/ax_boost_unit_test_framework.m4
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2014-03-31 05:24:45 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2014-03-31 05:24:45 +0200
commit25333a26197b55c23debb38740ed875999aa795a (patch)
treeb40d90eae9db7baeaaa0034ae16fd05656a8215e /src/m4/ax_boost_unit_test_framework.m4
parentad603f815f2554a5f865953ffff8ac88e109fa21 (diff)
downloadbitcoin-25333a26197b55c23debb38740ed875999aa795a.tar.xz
build: improve missing boost error reporting
Diffstat (limited to 'src/m4/ax_boost_unit_test_framework.m4')
-rw-r--r--src/m4/ax_boost_unit_test_framework.m43
1 files changed, 2 insertions, 1 deletions
diff --git a/src/m4/ax_boost_unit_test_framework.m4 b/src/m4/ax_boost_unit_test_framework.m4
index 1115f55121..4efd1e2f18 100644
--- a/src/m4/ax_boost_unit_test_framework.m4
+++ b/src/m4/ax_boost_unit_test_framework.m4
@@ -76,6 +76,7 @@ AC_DEFUN([AX_BOOST_UNIT_TEST_FRAMEWORK],
if test "x$ax_boost_user_unit_test_framework_lib" = "x"; then
saved_ldflags="${LDFLAGS}"
+ ax_lib=
for monitor_library in `ls $BOOSTLIBDIR/libboost_unit_test_framework*.so* $BOOSTLIBDIR/libboost_unit_test_framework*.dylib* $BOOSTLIBDIR/libboost_unit_test_framework*.a* 2>/dev/null` ; do
if test -r $monitor_library ; then
libextension=`echo $monitor_library | sed 's,.*/,,' | sed -e 's;^lib\(boost_unit_test_framework.*\)\.so.*$;\1;' -e 's;^lib\(boost_unit_test_framework.*\)\.dylib.*$;\1;' -e 's;^lib\(boost_unit_test_framework.*\)\.a.*$;\1;'`
@@ -124,7 +125,7 @@ AC_DEFUN([AX_BOOST_UNIT_TEST_FRAMEWORK],
done
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_unit_test_framework library!)
fi
if test "x$link_unit_test_framework" != "xyes"; then
AC_MSG_ERROR(Could not link against $ax_lib !)