diff options
author | Wang Xuerui <git@xen0n.name> | 2019-07-13 15:23:09 +0800 |
---|---|---|
committer | Wang Xuerui <git@xen0n.name> | 2019-07-13 16:18:50 +0800 |
commit | dcaeda868f6c17d14c802166db6be02f24da00d6 (patch) | |
tree | a752c0a84477187aed27ed7a590f9ae4dddb8cd2 /m4/ax_boost_base.m4 | |
parent | a4b55f84e815f980998c45f04a98bf55071ba349 (diff) | |
download | autoconf-archive-dcaeda868f6c17d14c802166db6be02f24da00d6.tar.gz |
ax_boost_base: fix libsubdirs preference for MIPS64
Currently there're 3 well-known ABIs in use on MIPS64 systems, with
the respective libdir as follows:
* n64: `lib64`,
* n32: `lib32`,
* o32: `lib`.
Probe all three of them.
Diffstat (limited to 'm4/ax_boost_base.m4')
-rw-r--r-- | m4/ax_boost_base.m4 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/m4/ax_boost_base.m4 b/m4/ax_boost_base.m4 index d540395..354fb5a 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 45 +#serial 46 # example boost program (need to pass version) m4_define([_AX_BOOST_BASE_PROGRAM], @@ -113,6 +113,7 @@ AC_DEFUN([_AX_BOOST_BASE_RUNDETECT],[ dnl are found, e.g. when only header-only libraries are installed! AS_CASE([${host_cpu}], [x86_64],[libsubdirs="lib64 libx32 lib lib64"], + [mips64],[libsubdirs="lib64 lib32 lib lib64"], [ppc64|powerpc64|s390x|sparc64|aarch64|ppc64le|powerpc64le|riscv64],[libsubdirs="lib64 lib lib64"], [libsubdirs="lib"] ) |