forked from pool/autoconf-archive
b4982c5056
Accepted submit request 65016 from user babelworx OBS-URL: https://build.opensuse.org/request/show/65016 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/autoconf-archive?expand=0&rev=1
28 lines
1.2 KiB
Diff
28 lines
1.2 KiB
Diff
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
|