Skip to content

Commit

Permalink
build: fix detection of boost libs on multi-arch distros
Browse files Browse the repository at this point in the history
Fixes #3219.
  • Loading branch information
theuni committed Dec 13, 2013
1 parent fb34be6 commit efdfee4
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/m4/ax_boost_base.m4
Original file line number Diff line number Diff line change
Expand Up @@ -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],
[
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit efdfee4

Please sign in to comment.