Add coverage flag

This commit is contained in:
Dave Davenport 2015-12-31 19:09:25 +01:00
parent 192acf0f78
commit 306029976f
1 changed files with 7 additions and 0 deletions

View File

@ -30,6 +30,13 @@ dnl System extensions
dnl ---------------------------------------------------------------------
AC_USE_SYSTEM_EXTENSIONS
dnl ---------------------------------------------------------------------
dnl Enable source code coverage reporting for GCC
dnl ---------------------------------------------------------------------
AC_ARG_ENABLE(gcov,
[ --enable-gcov Enable source code coverage testing using gcov],
[CFLAGS="$CFLAGS -coverage"])
dnl ---------------------------------------------------------------------
dnl Disable window mode
dnl ---------------------------------------------------------------------