aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2007-10-01 18:42:42 +0200
committerJohannes Berg <johannes@sipsolutions.net>2007-10-01 18:42:42 +0200
commit306addd1d2987bf0df182910ad741d4edb52ba55 (patch)
tree27191ef4dba7a32b6d44f64f53d7a6be8b04c4af /Makefile
parent3e4d592e8c4993847892894a436f2626480da05d (diff)
downloaddovecot-antispam-306addd1d2987bf0df182910ad741d4edb52ba55.tar.gz
dovecot-antispam-306addd1d2987bf0df182910ad741d4edb52ba55.tar.xz
dovecot-antispam-306addd1d2987bf0df182910ad741d4edb52ba55.zip
add non-working SQL logger backend
It doesn't work with sqlite for the following reasons: (1) sqlite is buggy and needs sql_connect() before starting a transaction although the API states that isn't the case (2) sqlite doesn't understand ON DUPLICATE (1) leads to a segfault when used with dict-proxy. Also see the comment in the source code for the broken transaction handling in this backend.
Diffstat (limited to '')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 2b0a1e0..0720cfa 100644
--- a/Makefile
+++ b/Makefile
@@ -9,6 +9,7 @@ CFLAGS += -I$(DOVECOT)/src/lib/
CFLAGS += -I$(DOVECOT)/src/lib-storage/
CFLAGS += -I$(DOVECOT)/src/lib-mail/
CFLAGS += -I$(DOVECOT)/src/lib-imap/
+CFLAGS += -I$(DOVECOT)/src/lib-dict/
CFLAGS += -I$(DOVECOT)/src/imap/
# debug rules
@@ -33,6 +34,9 @@ endif
ifeq ("$(BACKEND)", "dspam-exec")
objs += signature.o
endif
+ifeq ("$(BACKEND)", "signature-log")
+objs += signature.o
+endif
# main make rules
CFLAGS += -fPIC -shared -Wall