summaryrefslogtreecommitdiff
path: root/m4/ax_boost_asio.m4
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2013-02-26 10:47:43 +0100
committerPeter Simons <simons@cryp.to>2013-02-26 10:47:43 +0100
commit8916a02b4ad92ba9396575e19df65c7a1aa384ba (patch)
tree9a8badd0b028f0c06c92a13c775989b00021cfac /m4/ax_boost_asio.m4
parent63fdbe0b99913e46f515a8da3c657ab3b61a4668 (diff)
downloadautoconf-archive-8916a02b4ad92ba9396575e19df65c7a1aa384ba.tar.gz
AX_BOOST_ASIO: fix misspelled $BOOST_LDFLAGS variable
Further details are at <http://savannah.gnu.org/patch/index.php?7959>.
Diffstat (limited to 'm4/ax_boost_asio.m4')
-rw-r--r--m4/ax_boost_asio.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/m4/ax_boost_asio.m4 b/m4/ax_boost_asio.m4
index 20861eb..b57d487 100644
--- a/m4/ax_boost_asio.m4
+++ b/m4/ax_boost_asio.m4
@@ -30,7 +30,7 @@
# and this notice are preserved. This file is offered as-is, without any
# warranty.
-#serial 15
+#serial 16
AC_DEFUN([AX_BOOST_ASIO],
[
@@ -82,7 +82,7 @@ AC_DEFUN([AX_BOOST_ASIO],
if test "x$ax_cv_boost_asio" = "xyes"; then
AC_DEFINE(HAVE_BOOST_ASIO,,[define if the Boost::ASIO library is available])
BN=boost_system
- BOOSTLIBDIR=`echo $BOOST_LD_FLAGS | sed -e 's/@<:@^\/@:>@*//'`
+ BOOSTLIBDIR=`echo $BOOST_LDFLAGS | sed -e 's/@<:@^\/@:>@*//'`
if test "x$ax_boost_user_asio_lib" = "x"; then
for ax_lib in `ls $BOOSTLIBDIR/libboost_system*.so* $BOOSTLIBDIR/libboost_system*.dylib* $BOOSTLIBDIR/libboost_system*.a* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^lib\(boost_system.*\)\.so.*$;\1;' -e 's;^lib\(boost_system.*\)\.dylib.*$;\1;' -e 's;^lib\(boost_system.*\)\.a.*$;\1;' ` ; do
AC_CHECK_LIB($ax_lib, main, [BOOST_ASIO_LIB="-l$ax_lib" AC_SUBST(BOOST_ASIO_LIB) link_thread="yes" break],