summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorDirk-Jan C. Binnema <djcb@djcbsoftware.nl>2020-01-01 15:44:39 +0200
committerDirk-Jan C. Binnema <djcb@djcbsoftware.nl>2020-01-01 15:56:48 +0200
commit12b34be3cfe2af7b22f53b68f67a1c5156b2df6a (patch)
tree31a9f93da812cf08e859f56aa08f14addc4abd9a /configure.ac
parentad63044915669129e445d6dcec491310ccbae645 (diff)
mu: allow for code-coverage reports
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac13
1 files changed, 7 insertions, 6 deletions
diff --git a/configure.ac b/configure.ac
index 449c9bf..cf2751b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -55,6 +55,9 @@ AX_VALGRIND_CHECK
LT_INIT
+
+AX_CODE_COVERAGE
+
AC_PROG_AWK
AC_CHECK_PROG(SORT,sort,sort)
@@ -120,20 +123,20 @@ AS_IF([test "x$ac_cv_member_struct_dirent_d_ino" != "xyes"],
AC_CHECK_FUNCS([memset memcpy realpath setlocale strerror getpass setsid])
AC_CHECK_FUNCS([vasprintf strptime])
-AC_CHECK_FUNC(timegm,[],[AC_MSG_ERROR([*** missing required function timegm])])
+AC_CHECK_FUNC(timegm,[],AC_MSG_ERROR([missing required function timegm]))
# require pkg-config >= 0.28 (release in 2013; should be old enough...)
# with that version, we don't need the AC_SUBST stuff after PKG_CHECK.
m4_ifndef([PKG_PROG_PKG_CONFIG],
[m4_fatal([please install pkg-config >= 0.28 before running autoconf/autogen])])
PKG_PROG_PKG_CONFIG(0.28) # latest version in buildroot
-AS_IF([test -z "$PKG_CONFIG"],[
+AS_IF([test -z "$PKG_CONFIG"],
AC_MSG_ERROR([
*** pkg-config with version >= 0.28 could not be found.
***
*** Make sure it is in your path, or set the PKG_CONFIG environment variable
*** to the full path to pkg-config.])
-])
+)
# glib2?
PKG_CHECK_MODULES(GLIB,glib-2.0 >= 2.38 gobject-2.0 gio-2.0)
@@ -165,7 +168,7 @@ AS_IF([test "x$XAPIAN_CONFIG" = "xno"],[
AS_CASE([$xapian_version],
[1.[[4-9]].[[0-9]]*],
[AC_DEFINE([XAPIAN_HAVE_OP_WILDCARD],[1],[Xapian::Query::OP_WILDCARD?])],
- [AC_MSG_ERROR([*** xapian version >= 1.4 needed, but version $xapian_version found.])])
+ [AC_MSG_ERROR([*** xapian version >= 1.4 needed, but version $xapian_version found.])])
XAPIAN_CXXFLAGS="$($XAPIAN_CONFIG --cxxflags)"
XAPIAN_LIBS="$($XAPIAN_CONFIG --libs)"
@@ -252,12 +255,10 @@ AS_IF([test "x$PMCCABE" = "xno"],[
AC_CONFIG_FILES([
Makefile
mu/Makefile
-mu/tests/Makefile
lib/Makefile
lib/doxyfile
lib/utils/Makefile
lib/parser/Makefile
-lib/tests/Makefile
mu4e/Makefile
mu4e/mu4e-meta.el
guile/Makefile