From 223a4aabd3681817f3ced5b2441a6b44fcf29c4e Mon Sep 17 00:00:00 2001 From: fanquake Date: Sun, 5 Nov 2017 14:10:33 +0800 Subject: [PATCH] [build] Don't fail when passed --disable-lcov and lcov isn't available --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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],