Update ax_boost_base.m4 to fix build failure on Ubuntu 14.04 x86_64

Error message from configure was:

	checking whether the Boost::Serialization library is available... yes
	configure: error: Could not find a version of the library!

Upstream commit:

	http://git.savannah.gnu.org/cgit/autoconf-archive.git/commit/?id=cba04c6644ef75f6f0eb7ac67db90d2533d80f0c
This commit is contained in:
Jakob Unterwurzacher 2015-01-12 23:47:31 +01:00
parent 6b411e60f8
commit 49527fcdf6

View File

@ -33,7 +33,7 @@
# and this notice are preserved. This file is offered as-is, without any # and this notice are preserved. This file is offered as-is, without any
# warranty. # warranty.
#serial 21 #serial 22
AC_DEFUN([AX_BOOST_BASE], AC_DEFUN([AX_BOOST_BASE],
[ [
@ -97,6 +97,12 @@ if test "x$want_boost" = "xyes"; then
;; ;;
esac 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 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 this location ist chosen if boost libraries are installed with the --layout=system option
dnl or if you install boost with RPM dnl or if you install boost with RPM