aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2017-11-06 11:29:43 +0100
committerWladimir J. van der Laan <laanwj@gmail.com>2017-11-06 11:29:51 +0100
commit0e707919f596c80056bca295abd71543ccae4956 (patch)
tree5cf1820758de57c43ce7e48df885316214f05be4
parent0cc98763919af6d0859b4b7de7d6cf65cd1d713e (diff)
parent223a4aabd3681817f3ced5b2441a6b44fcf29c4e (diff)
downloadbitcoin-0e707919f596c80056bca295abd71543ccae4956.tar.xz
Merge #11611: [build] Don't fail when passed --disable-lcov and lcov isn't available
223a4aa [build] Don't fail when passed --disable-lcov and lcov isn't available (fanquake) Pull request description: Fixes #10828 As pointed out in #10828, failing with "lcov not found" when we've been passed --disable-lcov doesn't make sense. Master currently behaves like this (where lcov isn't available): ``` ./configure --disable-lcov checking for pkg-config... /usr/local/bin/pkg-config checking pkg-config is at least version 0.9.0... yes configure: error: "lcov testing requested but lcov not found" ``` cc @janstary Tree-SHA512: 606fdbddae67e72fff175f2f34e2c9af4e6972d40d5e1ec5c5d8be5051a728e5b16c35cfd856da0c0ce81dcab9db154a4937b1a6ca1e0233b6e160f2f4362002
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 81c84a8af4..e3718166f9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -162,7 +162,7 @@ AC_ARG_ENABLE([ccache],
AC_ARG_ENABLE([lcov],
[AS_HELP_STRING([--enable-lcov],
[enable lcov testing (default is no)])],
- [use_lcov=yes],
+ [use_lcov=$enableval],
[use_lcov=no])
AC_ARG_ENABLE([lcov-branch-coverage],