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 834
834
835
835
dnl univalue check
836
836
837
+ need_bundled_univalue=yes
838
+
839
+ if test x$build_bitcoin_utils$build_bitcoind$bitcoin_enable_qt$use_tests$use_bench = xnonononono; then
840
+ need_bundled_univalue=no
841
+ else
842
+
837
843
if test x$system_univalue != xno ; then
838
844
found_univalue=no
839
845
if test x$use_pkgconfig = xyes; then
@@ -855,18 +861,22 @@ if test x$system_univalue != xno ; then
855
861
856
862
if test x$found_univalue = xyes ; then
857
863
system_univalue=yes
864
+ need_bundled_univalue=no
858
865
elif test x$system_univalue = xyes ; then
859
866
AC_MSG_ERROR ( [ univalue not found] )
860
867
else
861
868
system_univalue=no
862
869
fi
863
870
fi
864
871
865
- if test x$system_univalue = xno ; then
872
+ if test x$need_bundled_univalue = xyes ; then
866
873
UNIVALUE_CFLAGS='-I$(srcdir)/univalue/include'
867
874
UNIVALUE_LIBS='univalue/libunivalue.la'
868
875
fi
869
- AM_CONDITIONAL([ EMBEDDED_UNIVALUE] ,[ test x$system_univalue = xno] )
876
+
877
+ fi
878
+
879
+ AM_CONDITIONAL([ EMBEDDED_UNIVALUE] ,[ test x$need_bundled_univalue = xyes] )
870
880
AC_SUBST ( UNIVALUE_CFLAGS )
871
881
AC_SUBST ( UNIVALUE_LIBS )
872
882
@@ -1105,7 +1115,7 @@ PKGCONFIG_LIBDIR_TEMP="$PKG_CONFIG_LIBDIR"
1105
1115
unset PKG_CONFIG_LIBDIR
1106
1116
PKG_CONFIG_LIBDIR="$PKGCONFIG_LIBDIR_TEMP"
1107
1117
1108
- if test x$system_univalue = xno ; then
1118
+ if test x$need_bundled_univalue = xyes ; then
1109
1119
AC_CONFIG_SUBDIRS ( [ src/univalue] )
1110
1120
fi
1111
1121
You can’t perform that action at this time.
0 commit comments