From 306addd1d2987bf0df182910ad741d4edb52ba55 Mon Sep 17 00:00:00 2001 From: Johannes Berg Date: Mon, 1 Oct 2007 18:42:42 +0200 Subject: 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. --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Makefile') 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 -- cgit v1.2.3