aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2017-11-05 14:10:33 +0800
committerfanquake <fanquake@gmail.com>2017-11-05 14:10:33 +0800
commit223a4aabd3681817f3ced5b2441a6b44fcf29c4e (patch)
treea9f24aa78fe17692a4c2e4fab8bb32d14c5a8b0b /configure.ac
parent2f959a58744d42859d74579220922e25ac3d2925 (diff)
[build] Don't fail when passed --disable-lcov and lcov isn't available
Diffstat (limited to 'configure.ac')
-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],