File boost-lib64.patch of Package boost
Index: m4/ax_boost_base.m4
===================================================================
--- m4/ax_boost_base.m4.orig 2010-08-19 00:00:00.000000000 +0200
+++ m4/ax_boost_base.m4 2010-08-26 17:53:43.000000000 +0200
@@ -84,15 +84,18 @@ 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 x86_64, ppc64 and s390x 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
- libsubdirs="lib64 lib lib64"
- fi
+ case `uname -m` in
+ x86_64 | ppc64 | s390x)
+ libsubdirs="lib64 lib lib64"
+ ;;
+ esac
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