mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-04-29 14:59:39 -04:00
build: Add /opt/homebrew to path to look for boost libraries
This commit is contained in:
parent
3a2d5bfeb3
commit
9a0969585f
1 changed files with 3 additions and 3 deletions
|
@ -11,7 +11,7 @@
|
||||||
# Test for the Boost C++ libraries of a particular version (or newer)
|
# Test for the Boost C++ libraries of a particular version (or newer)
|
||||||
#
|
#
|
||||||
# If no path to the installed boost library is given the macro searchs
|
# If no path to the installed boost library is given the macro searchs
|
||||||
# under /usr, /usr/local, /opt and /opt/local and evaluates the
|
# under /usr, /usr/local, /opt, /opt/local and /opt/homebrew and evaluates the
|
||||||
# $BOOST_ROOT environment variable. Further documentation is available at
|
# $BOOST_ROOT environment variable. Further documentation is available at
|
||||||
# <http://randspringer.de/boost/index.html>.
|
# <http://randspringer.de/boost/index.html>.
|
||||||
#
|
#
|
||||||
|
@ -151,7 +151,7 @@ AC_DEFUN([_AX_BOOST_BASE_RUNDETECT],[
|
||||||
else
|
else
|
||||||
search_libsubdirs="$multiarch_libsubdir $libsubdirs"
|
search_libsubdirs="$multiarch_libsubdir $libsubdirs"
|
||||||
fi
|
fi
|
||||||
for _AX_BOOST_BASE_boost_path_tmp in /usr /usr/local /opt /opt/local ; do
|
for _AX_BOOST_BASE_boost_path_tmp in /usr /usr/local /opt /opt/local /opt/homebrew/; do
|
||||||
if test -d "$_AX_BOOST_BASE_boost_path_tmp/include/boost" && test -r "$_AX_BOOST_BASE_boost_path_tmp/include/boost" ; then
|
if test -d "$_AX_BOOST_BASE_boost_path_tmp/include/boost" && test -r "$_AX_BOOST_BASE_boost_path_tmp/include/boost" ; then
|
||||||
for libsubdir in $search_libsubdirs ; do
|
for libsubdir in $search_libsubdirs ; do
|
||||||
if ls "$_AX_BOOST_BASE_boost_path_tmp/$libsubdir/libboost_"* >/dev/null 2>&1 ; then break; fi
|
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],[
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
if test "x$cross_compiling" != "xyes" ; then
|
if test "x$cross_compiling" != "xyes" ; then
|
||||||
for _AX_BOOST_BASE_boost_path in /usr /usr/local /opt /opt/local ; do
|
for _AX_BOOST_BASE_boost_path in /usr /usr/local /opt /opt/local /opt/homebrew ; do
|
||||||
if test -d "$_AX_BOOST_BASE_boost_path" && test -r "$_AX_BOOST_BASE_boost_path" ; then
|
if test -d "$_AX_BOOST_BASE_boost_path" && test -r "$_AX_BOOST_BASE_boost_path" ; then
|
||||||
for i in `ls -d $_AX_BOOST_BASE_boost_path/include/boost-* 2>/dev/null`; do
|
for i in `ls -d $_AX_BOOST_BASE_boost_path/include/boost-* 2>/dev/null`; do
|
||||||
_version_tmp=`echo $i | sed "s#$_AX_BOOST_BASE_boost_path##" | sed 's/\/include\/boost-//' | sed 's/_/./'`
|
_version_tmp=`echo $i | sed "s#$_AX_BOOST_BASE_boost_path##" | sed 's/\/include\/boost-//' | sed 's/_/./'`
|
||||||
|
|
Loading…
Add table
Reference in a new issue