Changeset View
Changeset View
Standalone View
Standalone View
configure.ac
Show First 20 Lines • Show All 457 Lines • ▼ Show 20 Lines | if test x$cross_compiling != xyes; then | ||||
AC_CHECK_PROG([BREW],brew, brew) | AC_CHECK_PROG([BREW],brew, brew) | ||||
if test x$BREW = xbrew; then | if test x$BREW = xbrew; then | ||||
dnl These Homebrew packages may be keg-only, meaning that they won't be found | dnl These Homebrew packages may be keg-only, meaning that they won't be found | ||||
dnl in expected paths because they may conflict with system files. Ask | dnl in expected paths because they may conflict with system files. Ask | ||||
dnl Homebrew where each one is located, then adjust paths accordingly. | dnl Homebrew where each one is located, then adjust paths accordingly. | ||||
dnl It's safe to add these paths even if the functionality is disabled by | dnl It's safe to add these paths even if the functionality is disabled by | ||||
dnl the user (--without-wallet or --without-gui for example). | dnl the user (--without-wallet or --without-gui for example). | ||||
bdb_prefix=`$BREW --prefix berkeley-db4 2>/dev/null` | |||||
openssl_prefix=`$BREW --prefix openssl@1.1 2>/dev/null` | openssl_prefix=`$BREW --prefix openssl@1.1 2>/dev/null` | ||||
bdb_prefix=`$BREW --prefix berkeley-db 2>/dev/null` | |||||
qt5_prefix=`$BREW --prefix qt5 2>/dev/null` | qt5_prefix=`$BREW --prefix qt5 2>/dev/null` | ||||
if test x$openssl_prefix != x; then | if test x$openssl_prefix != x; then | ||||
PKG_CONFIG_PATH="$openssl_prefix/lib/pkgconfig:$PKG_CONFIG_PATH" | PKG_CONFIG_PATH="$openssl_prefix/lib/pkgconfig:$PKG_CONFIG_PATH" | ||||
export PKG_CONFIG_PATH | export PKG_CONFIG_PATH | ||||
fi | fi | ||||
if test x$bdb_prefix != x; then | if test x$bdb_prefix != x; then | ||||
CPPFLAGS="$CPPFLAGS -I$bdb_prefix/include" | CPPFLAGS="$CPPFLAGS -I$bdb_prefix/include" | ||||
LIBS="$LIBS -L$bdb_prefix/lib" | LIBS="$LIBS -L$bdb_prefix/lib" | ||||
▲ Show 20 Lines • Show All 893 Lines • Show Last 20 Lines |