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_filesystem.m4 | |
parent | ad603f815f2554a5f865953ffff8ac88e109fa21 (diff) |
build: improve missing boost error reporting
Diffstat (limited to 'src/m4/ax_boost_filesystem.m4')
-rw-r--r-- | src/m4/ax_boost_filesystem.m4 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/m4/ax_boost_filesystem.m4 b/src/m4/ax_boost_filesystem.m4 index f162163cdc..f5c9d56470 100644 --- a/src/m4/ax_boost_filesystem.m4 +++ b/src/m4/ax_boost_filesystem.m4 @@ -80,6 +80,7 @@ AC_DEFUN([AX_BOOST_FILESYSTEM], if test "x$ax_cv_boost_filesystem" = "xyes"; then AC_DEFINE(HAVE_BOOST_FILESYSTEM,,[define if the Boost::Filesystem library is available]) BOOSTLIBDIR=`echo $BOOST_LDFLAGS | sed -e 's/@<:@^\/@:>@*//'` + ax_lib= if test "x$ax_boost_user_filesystem_lib" = "x"; then for libextension in `ls -r $BOOSTLIBDIR/libboost_filesystem* 2>/dev/null | sed 's,.*/lib,,' | sed 's,\..*,,'` ; do ax_lib=${libextension} @@ -104,7 +105,7 @@ AC_DEFUN([AX_BOOST_FILESYSTEM], 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_filesystem library!) fi if test "x$link_filesystem" != "xyes"; then AC_MSG_ERROR(Could not link against $ax_lib !) |