aboutsummaryrefslogtreecommitdiff
path: root/build-aux/m4/ax_boost_chrono.m4
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2018-04-27 01:02:58 +0800
committerfanquake <fanquake@gmail.com>2018-04-27 01:02:58 +0800
commitaa85dcf47288e86f283f38fe47c022ffcfa53d8b (patch)
treee9d5dcc9b6e6e06a4caf6a67c690bc85b9fd7f4d /build-aux/m4/ax_boost_chrono.m4
parent826acc9a3d023ca1fa49fcb9daa82dea454032d5 (diff)
downloadbitcoin-aa85dcf47288e86f283f38fe47c022ffcfa53d8b.tar.xz
build: sync ax_boost_chrono/unit_test
Diffstat (limited to 'build-aux/m4/ax_boost_chrono.m4')
-rw-r--r--build-aux/m4/ax_boost_chrono.m43
1 files changed, 1 insertions, 2 deletions
diff --git a/build-aux/m4/ax_boost_chrono.m4 b/build-aux/m4/ax_boost_chrono.m4
index e9b0f2061c..6ea77b9b3e 100644
--- a/build-aux/m4/ax_boost_chrono.m4
+++ b/build-aux/m4/ax_boost_chrono.m4
@@ -81,7 +81,6 @@ 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,
@@ -106,7 +105,7 @@ AC_DEFUN([AX_BOOST_CHRONO],
fi
if test "x$ax_lib" = "x"; then
- AC_MSG_ERROR(Could not find a version of the boost_chrono library!)
+ AC_MSG_ERROR(Could not find a version of the library!)
fi
if test "x$link_chrono" = "xno"; then
AC_MSG_ERROR(Could not link against $ax_lib !)