File tree Expand file tree Collapse file tree 1 file changed +13
-3
lines changed
Expand file tree Collapse file tree 1 file changed +13
-3
lines changed Original file line number Diff line number Diff line change 844844
845845dnl univalue check
846846
847+ need_bundled_univalue=yes
848+
849+ if test x$build_bitcoin_utils$build_bitcoind$bitcoin_enable_qt$use_tests$use_bench = xnonononono; then
850+ need_bundled_univalue=no
851+ else
852+
847853if test x$system_univalue != xno ; then
848854 found_univalue=no
849855 if test x$use_pkgconfig = xyes; then
@@ -865,18 +871,22 @@ if test x$system_univalue != xno ; then
865871
866872 if test x$found_univalue = xyes ; then
867873 system_univalue=yes
874+ need_bundled_univalue=no
868875 elif test x$system_univalue = xyes ; then
869876 AC_MSG_ERROR ( [ univalue not found] )
870877 else
871878 system_univalue=no
872879 fi
873880fi
874881
875- if test x$system_univalue = xno ; then
882+ if test x$need_bundled_univalue = xyes ; then
876883 UNIVALUE_CFLAGS='-I$(srcdir)/univalue/include'
877884 UNIVALUE_LIBS='univalue/libunivalue.la'
878885fi
879- AM_CONDITIONAL([ EMBEDDED_UNIVALUE] ,[ test x$system_univalue = xno] )
886+
887+ fi
888+
889+ AM_CONDITIONAL([ EMBEDDED_UNIVALUE] ,[ test x$need_bundled_univalue = xyes] )
880890AC_SUBST ( UNIVALUE_CFLAGS )
881891AC_SUBST ( UNIVALUE_LIBS )
882892
@@ -1115,7 +1125,7 @@ PKGCONFIG_LIBDIR_TEMP="$PKG_CONFIG_LIBDIR"
11151125unset PKG_CONFIG_LIBDIR
11161126PKG_CONFIG_LIBDIR="$PKGCONFIG_LIBDIR_TEMP"
11171127
1118- if test x$system_univalue = xno ; then
1128+ if test x$need_bundled_univalue = xyes ; then
11191129 AC_CONFIG_SUBDIRS ( [ src/univalue] )
11201130fi
11211131
You can’t perform that action at this time.
0 commit comments