diff options
author | Emanuele Aina <em@nerd.ocracy.org> | 2007-07-03 19:30:08 +0000 |
---|---|---|
committer | Sjoerd Simons <sjoerd.simons@collabora.co.uk> | 2009-05-15 16:18:44 +0100 |
commit | dfcb0b2b8ca9704b6d6e571f18c4da7eeaaf38b2 (patch) | |
tree | bf18a2487a56c78de42a24911725a6a519fb492d /m4 | |
parent | 5f881517714b1a0b4b504174379d773749231a7e (diff) |
Do not use the internal copy of lcov if we cannot use the system one
The history has been edited and the internal copy of lcov introduced
in the "Add coverage and valgrind support for tests" patch has been
deleted. Yay for using textual patches to store the history!
20070703193008-f974e-d2322b04e4566dd2b12e5b6d15a35197343ffb9c.gz
Diffstat (limited to 'm4')
-rw-r--r-- | m4/wocky-lcov.m4 | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/m4/wocky-lcov.m4 b/m4/wocky-lcov.m4 index bc3aa0d..e110b62 100644 --- a/m4/wocky-lcov.m4 +++ b/m4/wocky-lcov.m4 @@ -4,7 +4,7 @@ AC_DEFUN([WOCKY_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([WOCKY_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) ]) |