@@ -558,13 +558,8 @@ case $host in
558
558
dnl It's safe to add these paths even if the functionality is disabled by
559
559
dnl the user (--without-wallet or --without-gui for example).
560
560
561
- openssl_prefix=`$BREW --prefix openssl 2>/dev/null`
562
561
bdb_prefix=`$BREW --prefix berkeley-db4 2>/dev/null`
563
562
qt5_prefix=`$BREW --prefix qt5 2>/dev/null`
564
- if test x$openssl_prefix != x; then
565
- PKG_CONFIG_PATH="$openssl_prefix/lib/pkgconfig:$PKG_CONFIG_PATH"
566
- export PKG_CONFIG_PATH
567
- fi
568
563
if test x$bdb_prefix != x; then
569
564
CPPFLAGS="$CPPFLAGS -I$bdb_prefix/include"
570
565
LIBS="$LIBS -L$bdb_prefix/lib"
@@ -1118,7 +1113,6 @@ if test x$use_pkgconfig = xyes; then
1118
1113
m4_ifdef (
1119
1114
[ PKG_CHECK_MODULES] ,
1120
1115
[
1121
- PKG_CHECK_MODULES([ CRYPTO] , [ libcrypto] ,,[ AC_MSG_ERROR ( libcrypto not found. ) ] )
1122
1116
BITCOIN_QT_CHECK([ PKG_CHECK_MODULES([ QR] , [ libqrencode] ,,[ BITCOIN_QT_FAIL(libqrencode not found)] )] )
1123
1117
if test x$use_qtcharts != xno; then
1124
1118
BITCOIN_QT_CHECK([ PKG_CHECK_MODULES([ CHARTS] , [ Qt5Charts] ,[ have_qtcharts=yes] , [ have_qtcharts=no] )] )
@@ -1144,8 +1138,6 @@ if test x$use_pkgconfig = xyes; then
1144
1138
]
1145
1139
)
1146
1140
else
1147
- AC_CHECK_HEADER ( [ openssl/crypto.h] ,,AC_MSG_ERROR ( libcrypto headers missing ) )
1148
- AC_CHECK_LIB ( [ crypto] , [ main] ,CRYPTO_LIBS=-lcrypto , AC_MSG_ERROR ( libcrypto missing ) )
1149
1141
1150
1142
if test x$build_bitcoin_utils$build_bitcoind$bitcoin_enable_qt$use_tests != xnononono; then
1151
1143
AC_CHECK_HEADER ( [ event2/event.h] ,, AC_MSG_ERROR ( libevent headers missing ) ,)
@@ -1481,7 +1473,6 @@ AC_SUBST(BOOST_LIBS)
1481
1473
AC_SUBST ( TESTDEFS )
1482
1474
AC_SUBST ( MINIUPNPC_CPPFLAGS )
1483
1475
AC_SUBST ( MINIUPNPC_LIBS )
1484
- AC_SUBST ( CRYPTO_LIBS )
1485
1476
AC_SUBST ( EVENT_LIBS )
1486
1477
AC_SUBST ( EVENT_PTHREADS_LIBS )
1487
1478
AC_SUBST ( SODIUM_LIBS )
0 commit comments