diff options
| author | Wladimir J. van der Laan <[email protected]> | 2014-03-31 05:24:45 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2014-03-31 05:24:45 +0200 |
| commit | 25333a26197b55c23debb38740ed875999aa795a (patch) | |
| tree | b40d90eae9db7baeaaa0034ae16fd05656a8215e /src/m4/ax_boost_thread.m4 | |
| parent | Merge pull request #3950 (diff) | |
| download | discoin-25333a26197b55c23debb38740ed875999aa795a.tar.xz discoin-25333a26197b55c23debb38740ed875999aa795a.zip | |
build: improve missing boost error reporting
Diffstat (limited to 'src/m4/ax_boost_thread.m4')
| -rw-r--r-- | src/m4/ax_boost_thread.m4 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/m4/ax_boost_thread.m4 b/src/m4/ax_boost_thread.m4 index 79e12cdb4..9f0bd0b23 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 !) |