aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 64d6e2b..501a386 100644
--- a/configure.ac
+++ b/configure.ac
@@ -94,7 +94,7 @@ AM_CONDITIONAL( [WANT_CODE_COVERAGE], [test x"$code_coverage_tests" = x"yes"])
AS_IF([test x"$code_coverage_tests" = x"yes"],
[AC_CHECK_PROG([CODE_COVERAGE], [lcov], [lcov])
AS_IF(
- [test x"$VALGRIND" = x""],
+ [test x"$CODE_COVERAGE" = x""],
[AC_MSG_ERROR(
[code coverage tests are enabled but lcov was not found in PATH ($PATH)])])])