]> git.sesse.net Git - movit/blobdiff - configure.ac
Make the COVERAGE variable into an --enable-coverage configure flag.
[movit] / configure.ac
index 7515e6def9a1ef36969136ebb98e6d551a003fd5..5e032345d778ddf14b53fe6e0aeb2a241410d8ca 100644 (file)
@@ -19,5 +19,9 @@ PKG_CHECK_MODULES([libpng], [libpng12], [], [with_demo_app=no; AC_MSG_WARN([libp
 
 AC_SUBST([with_demo_app])
 
+with_coverage=no
+AC_ARG_ENABLE([coverage], [  --enable-coverage       build with information needed to compute test coverage], [with_coverage=yes])
+AC_SUBST([with_coverage])
+
 AC_CONFIG_FILES([Makefile movit.pc])
 AC_OUTPUT