|
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 and /opt/local and evaluates the |
| 14 | +# under /usr, /usr/local, /opt, /opt/local and /opt/homebrew and evaluates the |
15 | 15 | # $BOOST_ROOT environment variable. Further documentation is available at |
16 | 16 | # <http://randspringer.de/boost/index.html>. |
17 | 17 | # |
@@ -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 ; 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 |
@@ -227,7 +227,7 @@ AC_DEFUN([_AX_BOOST_BASE_RUNDETECT],[ |
227 | 227 | fi |
228 | 228 | else |
229 | 229 | if test "x$cross_compiling" != "xyes" ; then |
230 | | - for _AX_BOOST_BASE_boost_path in /usr /usr/local /opt /opt/local ; do |
| 230 | + for _AX_BOOST_BASE_boost_path in /usr /usr/local /opt /opt/local /opt/homebrew ; do |
231 | 231 | if test -d "$_AX_BOOST_BASE_boost_path" && test -r "$_AX_BOOST_BASE_boost_path" ; then |
232 | 232 | for i in `ls -d $_AX_BOOST_BASE_boost_path/include/boost-* 2>/dev/null`; do |
233 | 233 | _version_tmp=`echo $i | sed "s#$_AX_BOOST_BASE_boost_path##" | sed 's/\/include\/boost-//' | sed 's/_/./'` |
|
0 commit comments