From b46da7735a5f58c3477f7725d88f4374a9c5dd84 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Mon, 20 Aug 2012 10:13:57 -0400 Subject: Check for Bogofilter during configure. If the bogofilter program cannot be found with AC_PATH_PROG, configure will abort with an error message. You can then either: a) install the Bogofilter software b) specify the path with BOGOFILTER=/path/to/bogofilter c) pass --disable-bogofilter to configure to exclude the module --- modules/Makefile.am | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'modules/Makefile.am') diff --git a/modules/Makefile.am b/modules/Makefile.am index 227f9d165d..b2ec916038 100644 --- a/modules/Makefile.am +++ b/modules/Makefile.am @@ -1,3 +1,7 @@ +if ENABLE_BOGOFILTER +BOGOFILTER_DIR = bogofilter +endif + if ENABLE_LDAP CONFIG_LDAP_DIR = book-config-ldap endif @@ -20,7 +24,6 @@ endif SUBDIRS = \ addressbook \ - bogofilter \ calendar \ mail \ backup-restore \ @@ -49,6 +52,7 @@ SUBDIRS = \ text-highlight \ vcard-inline \ web-inspector \ + $(BOGOFILTER_DIR) \ $(ONLINE_ACCOUNTS_DIR) \ $(TNEF_ATTACHMENT_DIR) \ $(AUDIO_INLINE_DIR) -- cgit v1.2.3