Skip to content

Commit 6fd2118

Browse files
committed
build: Drop dead non-pkg-config code for UNIVALUE check
1 parent e9edbe4 commit 6fd2118

File tree

1 file changed

+1
-18
lines changed

1 file changed

+1
-18
lines changed

configure.ac

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1371,24 +1371,7 @@ if test x$build_bitcoin_wallet$build_bitcoin_cli$build_bitcoin_tx$build_bitcoind
13711371
else
13721372

13731373
if test x$system_univalue != xno ; then
1374-
found_univalue=no
1375-
if test x$use_pkgconfig = xyes; then
1376-
: #NOP
1377-
m4_ifdef(
1378-
[PKG_CHECK_MODULES],
1379-
[
1380-
PKG_CHECK_MODULES([UNIVALUE],[libunivalue >= 1.0.4],[found_univalue=yes],[true])
1381-
]
1382-
)
1383-
else
1384-
AC_CHECK_HEADER([univalue.h],[
1385-
AC_CHECK_LIB([univalue], [main],[
1386-
UNIVALUE_LIBS=-lunivalue
1387-
found_univalue=yes
1388-
],[true])
1389-
],[true])
1390-
fi
1391-
1374+
PKG_CHECK_MODULES([UNIVALUE], [libunivalue >= 1.0.4], [found_univalue=yes], [found_univalue=no])
13921375
if test x$found_univalue = xyes ; then
13931376
system_univalue=yes
13941377
need_bundled_univalue=no

0 commit comments

Comments
 (0)