1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-22 17:35:59 +03:00

configure aborts if lcov or genhtml are missing with --enable-profiling

This commit is contained in:
Zdeněk Kabeláč 2008-08-05 14:29:38 +00:00
parent a4d2fddbb2
commit 9fd4ddc490
3 changed files with 2992 additions and 2422 deletions

View File

@ -1,5 +1,6 @@
Version 2.02.40 -
================================
configure aborts if lcov or genhtml are missing with --enable-profiling
vgremove tries to remove lv snapshot first.
Added function lv_remove_with_dependencies().
Improve file descriptor leak detection to display likely culprit and filename.

5406
configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -333,8 +333,11 @@ AC_MSG_RESULT($PROFILING)
if test "x$PROFILING" = xyes; then
COPTIMISE_FLAG="$COPTIMISE_FLAG -fprofile-arcs -ftest-coverage"
AC_PATH_PROG(LCOV, lcov)
AC_PATH_PROG(GENHTML, genhtml)
AC_PATH_PROG(LCOV, lcov, no)
AC_PATH_PROG(GENHTML, genhtml, no)
if test "$LCOV" = no -o "$GENHTML" = no ; then
AC_MSG_ERROR([lcov and genhtml are required for profiling])
fi
fi
################################################################################