LVM2 Makefile.in WHATS_NEW configure configure.in
CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: zkabelac at sourceware.org 2010-04-06 11:53:54
Modified files:
. : Makefile.in WHATS_NEW configure configure.in
Log message:
As lcov module is not installed with GD.pm dependency we need to check for presence of this module and avoid using --frames option for genhtml in this case.
Fix arg list for AC_PATH_PROG for lcov and genhtml. (detecting empty LCOV and GENHTML string in Makefiles).
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/Makefile.in.diff?cvsroot=lvm2&r1=1.49&r2=1.50
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/WHATS_NEW.diff?cvsroot=lvm2&r1=1.1500&r2=1.1501
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/configure.diff?cvsroot=lvm2&r1=1.123&r2=1.124
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/configure.in.diff?cvsroot=lvm2&r1=1.133&r2=1.134
Makefile.in +1 -1
@@ -112,7 +112,7 @@ for i in $(LCOV_TRACES); do \ test -s $$i && lc="$$lc $$i"; \ done; \ - test -z "$$lc" || $(GENHTML) --frames -p @abs_top_builddir@ \ + test -z "$$lc" || $(GENHTML) -p @abs_top_builddir@ \ -o $(LCOV_REPORTS_DIR) $$lc endif
WHATS_NEW +1 -0
@@ -1,5 +1,6 @@ Version 2.02.63 - ================================ + Fix lcov rules and generate better coverage report. Improve vg_validate to detect some loops in lists. Change most remaining log_error WARNING messages to log_warn. Always use blocking lock for VGs and orphan locks.
configure +57 -3
88 lines not on this page · raw message
configure.in +15 -3
@@ -624,11 +624,23 @@ if test "x$PROFILING" = xyes; then COPTIMISE_FLAG="$COPTIMISE_FLAG -fprofile-arcs -ftest-coverage" - AC_PATH_PROG(LCOV, lcov, no) - AC_PATH_PROG(GENHTML, genhtml, no) - if test "$LCOV" = no -o "$GENHTML" = no ; then + AC_PATH_PROG(LCOV, lcov) + AC_PATH_PROG(GENHTML, genhtml) + if test -z "$LCOV" -o -z "$GENHTML"; then AC_MSG_ERROR([lcov and genhtml are required for profiling]) fi + AC_PATH_PROG(GENPNG, genpng) + if test -n "$GENPNG"; then + AC_MSG_CHECKING([whether $GENPNG has all required modules]) + if $GENPNG --help > /dev/null 2>&1 ; then + AC_MSG_RESULT(ok) + GENHTML="$GENHTML --frames" + else + AC_MSG_RESULT(not supported) + AC_MSG_WARN([GD.pm perl module is not installed]) + GENPNG= + fi + fi fi ################################################################################