Signed-off-by: Denis 'GNUtoo' Carikli <gnu...@cyberdimension.org>
---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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)])])])
 
-- 
2.41.0

_______________________________________________
Replicant mailing list
Replicant@osuosl.org
https://lists.osuosl.org/mailman/listinfo/replicant

Reply via email to