aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2008-04-26 20:09:45 +0200
committerJohannes Berg <johannes@sipsolutions.net>2008-04-26 20:09:45 +0200
commitba068756b782e55251bd58ac67f0a9700f745fbe (patch)
treea27f284c3b7f877a8b102ac0c5e9fef1062735d6 /Makefile
parent938d7cf7209014f0b219a58c0c6cc6bc5f7cce4c (diff)
downloaddovecot-antispam-ba068756b782e55251bd58ac67f0a9700f745fbe.tar.gz
dovecot-antispam-ba068756b782e55251bd58ac67f0a9700f745fbe.tar.xz
dovecot-antispam-ba068756b782e55251bd58ac67f0a9700f745fbe.zip
shuffle some code, add _id for 1.1 plugin
Diffstat (limited to '')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index bd614f0..4c649fb 100644
--- a/Makefile
+++ b/Makefile
@@ -38,9 +38,11 @@ endif
# dovecot version rules
objs += antispam-storage-$(DOVECOT_VERSION).o
ifeq ("$(DOVECOT_VERSION)", "1.0")
+CFLAGS += -DCONFIG_DOVECOT_10
CFLAGS += -Dstr_array_length=strarray_length
CFLAGS += "-Dmempool_unref(x)=pool_unref(*(x))"
else
+CFLAGS += -DCONFIG_DOVECOT_11
CFLAGS += "-Dmempool_unref(x)=pool_unref(x)"
endif