aboutsummaryrefslogtreecommitdiff
path: root/src/m4/ax_boost_filesystem.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_filesystem.m4
parentad603f815f2554a5f865953ffff8ac88e109fa21 (diff)
build: improve missing boost error reporting
Diffstat (limited to 'src/m4/ax_boost_filesystem.m4')
-rw-r--r--src/m4/ax_boost_filesystem.m43
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 !)