diff options
author | Dan HorĂ¡k <dan@danny.cz> | 2010-12-24 19:05:47 +0100 |
---|---|---|
committer | Peter Simons <simons@cryp.to> | 2010-12-25 13:23:54 +0100 |
commit | 5da17fc1eedffcfadc2a7bfbb406bdc177663882 (patch) | |
tree | 14bdb72b3582e396862314bea549c503a4ba4c5c /m4/ax_boost_base.m4 | |
parent | 9f0e19e0ecd288fdf1ae30a49a8b5703c844e229 (diff) | |
download | autoconf-archive-5da17fc1eedffcfadc2a7bfbb406bdc177663882.tar.gz |
AX_BOOST_BASE: accept also non-x86 64-bit architectures
See <http://savannah.gnu.org/patch/?7428> for further details.
Diffstat (limited to 'm4/ax_boost_base.m4')
-rw-r--r-- | m4/ax_boost_base.m4 | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/m4/ax_boost_base.m4 b/m4/ax_boost_base.m4 index ec23a0a..2c0f9a0 100644 --- a/m4/ax_boost_base.m4 +++ b/m4/ax_boost_base.m4 @@ -33,7 +33,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 18 +#serial 19 AC_DEFUN([AX_BOOST_BASE], [ @@ -84,13 +84,14 @@ if test "x$want_boost" = "xyes"; then AC_MSG_CHECKING(for boostlib >= $boost_lib_version_req) succeeded=no - dnl On x86_64 systems check for system libraries in both lib64 and lib. + dnl On 64-bit systems check for system libraries in both lib64 and lib. dnl The former is specified by FHS, but e.g. Debian does not adhere to dnl this (as it rises problems for generic multi-arch support). dnl The last entry in the list is chosen by default when no libraries dnl are found, e.g. when only header-only libraries are installed! libsubdirs="lib" - if test `uname -m` = x86_64; then + ax_arch=`uname -m` + if test $ax_arch = x86_64 -o $ax_arch = ppc64 -o $ax_arch = s390x -o $ax_arch = sparc64; then libsubdirs="lib64 lib lib64" fi |