summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4')
-rw-r--r--m4/salut-lcov.m47
1 files changed, 1 insertions, 6 deletions
diff --git a/m4/salut-lcov.m4 b/m4/salut-lcov.m4
index c0bbbf9c..cfd178f6 100644
--- a/m4/salut-lcov.m4
+++ b/m4/salut-lcov.m4
@@ -4,7 +4,7 @@ AC_DEFUN([SALUT_LCOV],
[
enable=$1
- AC_PATH_PROG(LCOV_PATH, lcov)
+ AC_CHECK_PROGS(LCOV_PATH, lcov)
if test -n "$LCOV_PATH" ; then
AC_MSG_CHECKING([whether lcov accepts --compat-libtool])
@@ -18,10 +18,5 @@ AC_DEFUN([SALUT_LCOV],
fi
fi
- if test -z "$LCOV_PATH" ; then
- AC_MSG_WARN([will use an internal lcov copy])
- LCOV_PATH='$(top_srcdir)/scripts/lcov/lcov'
- fi
-
AM_CONDITIONAL(HAVE_LCOV, test -n "$LCOV_PATH" && test "x$enable" = xyes)
])