diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2014-03-31 05:24:45 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2014-03-31 05:24:45 +0200 |
commit | 25333a26197b55c23debb38740ed875999aa795a (patch) | |
tree | b40d90eae9db7baeaaa0034ae16fd05656a8215e /src/m4/ax_boost_chrono.m4 | |
parent | ad603f815f2554a5f865953ffff8ac88e109fa21 (diff) |
build: improve missing boost error reporting
Diffstat (limited to 'src/m4/ax_boost_chrono.m4')
-rw-r--r-- | src/m4/ax_boost_chrono.m4 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/m4/ax_boost_chrono.m4 b/src/m4/ax_boost_chrono.m4 index 9b3958ec74..318ecea17f 100644 --- a/src/m4/ax_boost_chrono.m4 +++ b/src/m4/ax_boost_chrono.m4 @@ -81,6 +81,7 @@ AC_DEFUN([AX_BOOST_CHRONO], LDFLAGS_SAVE=$LDFLAGS if test "x$ax_boost_user_chrono_lib" = "x"; then + ax_lib= for libextension in `ls $BOOSTLIBDIR/libboost_chrono*.so* $BOOSTLIBDIR/libboost_chrono*.dylib* $BOOSTLIBDIR/libboost_chrono*.a* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^lib\(boost_chrono.*\)\.so.*$;\1;' -e 's;^lib\(boost_chrono.*\)\.dylib.*$;\1;' -e 's;^lib\(boost_chrono.*\)\.a.*$;\1;'` ; do ax_lib=${libextension} AC_CHECK_LIB($ax_lib, exit, @@ -105,7 +106,7 @@ AC_DEFUN([AX_BOOST_CHRONO], 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_chrono library!) fi if test "x$link_chrono" = "xno"; then AC_MSG_ERROR(Could not link against $ax_lib !) |