summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorEric Blake <eblake@redhat.com>2010-06-09 12:35:49 -0600
committerEric Blake <eblake@redhat.com>2010-07-29 13:41:25 -0600
commite7064aa6a2751722e0a9e71c3b54f1c850e70bcc (patch)
treef355ed7f9a0c7d91dcf7c75f0b4ea7e65b0d1dbc /m4
parentxen: fix logic bug (diff)
downloadlibvirt-e7064aa6a2751722e0a9e71c3b54f1c850e70bcc.tar.gz
libvirt-e7064aa6a2751722e0a9e71c3b54f1c850e70bcc.tar.bz2
libvirt-e7064aa6a2751722e0a9e71c3b54f1c850e70bcc.zip
build: restore operation of bit-rotted 'make cov'
'./autobuild.sh' with lcov installed discovered that our coverage support has been bit-rotting for a while. This restores it back to a successful state, although I have not yet spent any time looking through the resulting files to look for low-hanging fruit in the unit test coverage front. * configure.ac: Clear COMPILER_FLAGS at right place. * Makefile.am (cov): Newer genhtml no longer likes plain -s. * m4/compiler-flags.m4 (gl_COMPILER_FLAGS): Don't AC_SUBST COMPILER_FLAGS; it is a shell variable for use in configure only. * src/Makefile.am (AM_CFLAGS, AM_LDFLAGS): New variables, to make it easier to provide global flag additions. Use throughout, to uniformly apply coverage flags. * .gitignore: Globally ignore gcov output. * daemon/.gitignore: Simplify. * src/.gitignore: Likewise. * tests/.gitignore: Likewise.
Diffstat (limited to 'm4')
-rw-r--r--m4/compiler-flags.m41
1 files changed, 0 insertions, 1 deletions
diff --git a/m4/compiler-flags.m4 b/m4/compiler-flags.m4
index 628bd1f0e..6db481648 100644
--- a/m4/compiler-flags.m4
+++ b/m4/compiler-flags.m4
@@ -23,7 +23,6 @@
AC_DEFUN([gl_COMPILER_FLAGS],
[AC_MSG_CHECKING(whether compiler accepts $1)
- AC_SUBST(COMPILER_FLAGS)
ac_save_CFLAGS="$CFLAGS"
dnl Some flags are dependant, so we set all previously checked
dnl flags when testing. Except for -Werror which we have to