diff options
| author | Wladimir J. van der Laan <[email protected]> | 2013-12-13 05:15:31 +0100 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2013-12-13 05:16:19 +0100 |
| commit | d670cdd6986d6fba6e44944b59d7baf90c8313fa (patch) | |
| tree | 510f21a7a59d078d86524762f797c8742424c89c /src | |
| parent | Merge pull request #3393 from theuni/build-10.6 (diff) | |
| parent | docs: remove workaround instructions now that the problem is fixed (diff) | |
| download | discoin-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.m4 | 8 |
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 |