11
11
# Test for the Boost C++ libraries of a particular version (or newer)
12
12
#
13
13
# If no path to the installed boost library is given the macro searchs
14
- # under /usr, /usr/local, /opt, /opt/local and /opt/homebrew and evaluates the
15
- # $BOOST_ROOT environment variable. Further documentation is available at
16
- # <http://randspringer.de/boost/index.html>.
14
+ # under /usr, /usr/local, /opt, /opt/local and /opt/homebrew and evaluates
15
+ # the $BOOST_ROOT environment variable. Further documentation is available
16
+ # at <http://randspringer.de/boost/index.html>.
17
17
#
18
18
# This macro calls:
19
19
#
33
33
# and this notice are preserved. This file is offered as-is, without any
34
34
# warranty.
35
35
36
- # serial 48
36
+ # serial 51
37
37
38
38
# example boost program (need to pass version)
39
39
m4_define ( [ _AX_BOOST_BASE_PROGRAM] ,
@@ -114,7 +114,7 @@ AC_DEFUN([_AX_BOOST_BASE_RUNDETECT],[
114
114
AS_CASE ( [ ${host_cpu}] ,
115
115
[ x86_64] ,[ libsubdirs="lib64 libx32 lib lib64"] ,
116
116
[ mips*64*] ,[ libsubdirs="lib64 lib32 lib lib64"] ,
117
- [ ppc64|powerpc64|s390x|sparc64|aarch64|ppc64le|powerpc64le|riscv64] ,[ libsubdirs="lib64 lib lib64"] ,
117
+ [ ppc64|powerpc64|s390x|sparc64|aarch64|ppc64le|powerpc64le|riscv64|e2k ] ,[ libsubdirs="lib64 lib lib64"] ,
118
118
[ libsubdirs="lib"]
119
119
)
120
120
@@ -128,7 +128,7 @@ AC_DEFUN([_AX_BOOST_BASE_RUNDETECT],[
128
128
)
129
129
130
130
dnl first we check the system location for boost libraries
131
- dnl this location ist chosen if boost libraries are installed with the --layout=system option
131
+ dnl this location is chosen if boost libraries are installed with the --layout=system option
132
132
dnl or if you install boost with RPM
133
133
AS_IF ( [ test "x$_AX_BOOST_BASE_boost_path" != "x"] ,[
134
134
AC_MSG_CHECKING ( [ for boostlib >= $1 ($WANT_BOOST_VERSION) includes in "$_AX_BOOST_BASE_boost_path/include"] )
@@ -151,7 +151,7 @@ AC_DEFUN([_AX_BOOST_BASE_RUNDETECT],[
151
151
else
152
152
search_libsubdirs="$multiarch_libsubdir $libsubdirs"
153
153
fi
154
- for _AX_BOOST_BASE_boost_path_tmp in /usr /usr/local /opt /opt/local /opt/homebrew/ ; do
154
+ for _AX_BOOST_BASE_boost_path_tmp in /usr /usr/local /opt /opt/local /opt/homebrew ; do
155
155
if test -d "$_AX_BOOST_BASE_boost_path_tmp/include/boost" && test -r "$_AX_BOOST_BASE_boost_path_tmp/include/boost" ; then
156
156
for libsubdir in $search_libsubdirs ; do
157
157
if ls "$_AX_BOOST_BASE_boost_path_tmp/$libsubdir/libboost_"* >/dev/null 2>&1 ; then break; fi
0 commit comments