aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWladimir J. van der Laan <[email protected]>2013-12-13 05:15:31 +0100
committerWladimir J. van der Laan <[email protected]>2013-12-13 05:16:19 +0100
commitd670cdd6986d6fba6e44944b59d7baf90c8313fa (patch)
tree510f21a7a59d078d86524762f797c8742424c89c /src
parentMerge pull request #3393 from theuni/build-10.6 (diff)
parentdocs: remove workaround instructions now that the problem is fixed (diff)
downloaddiscoin-d670cdd6986d6fba6e44944b59d7baf90c8313fa.tar.xz
discoin-d670cdd6986d6fba6e44944b59d7baf90c8313fa.zip
Merge pull request #3407
952fe2e docs: remove workaround instructions now that the problem is fixed (Cory Fields) efdfee4 build: fix detection of boost libs on multi-arch distros (Cory Fields)
Diffstat (limited to 'src')
-rw-r--r--src/m4/ax_boost_base.m48
1 files changed, 7 insertions, 1 deletions
diff --git a/src/m4/ax_boost_base.m4 b/src/m4/ax_boost_base.m4
index 57d14fe48..c675f12d8 100644
--- a/src/m4/ax_boost_base.m4
+++ b/src/m4/ax_boost_base.m4
@@ -33,7 +33,7 @@
# and this notice are preserved. This file is offered as-is, without any
# warranty.
-#serial 21
+#serial 22
AC_DEFUN([AX_BOOST_BASE],
[
@@ -97,6 +97,12 @@ if test "x$want_boost" = "xyes"; then
;;
esac
+ dnl allow for real multi-arch paths e.g. /usr/lib/x86_64-linux-gnu. Give
+ dnl them priority over the other paths since, if libs are found there, they
+ dnl are almost assuredly the ones desired.
+ AC_REQUIRE([AC_CANONICAL_HOST])
+ libsubdirs="lib/${host_cpu}-${host_os} $libsubdirs"
+
dnl first we check the system location for boost libraries
dnl this location ist chosen if boost libraries are installed with the --layout=system option
dnl or if you install boost with RPM