diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2007-10-01 20:33:06 +0200 |
---|---|---|
committer | Johannes Berg <johannes@sipsolutions.net> | 2007-10-01 20:33:06 +0200 |
commit | 6ea8c069b7df7cc37b8c8daa8cd220ad3ca1d57e (patch) | |
tree | 3c140c7e99b0692e60e9bcdcbfd54049655e121f | |
parent | 4ee8b72dab4a5bc0309a956942ee2dc9d2f7258f (diff) | |
download | dovecot-antispam-6ea8c069b7df7cc37b8c8daa8cd220ad3ca1d57e.tar.gz dovecot-antispam-6ea8c069b7df7cc37b8c8daa8cd220ad3ca1d57e.tar.xz dovecot-antispam-6ea8c069b7df7cc37b8c8daa8cd220ad3ca1d57e.zip |
don't configure a backend by default and make a nice error for that case
Diffstat (limited to '')
-rw-r--r-- | Makefile | 7 | ||||
-rw-r--r-- | defconfig | 2 |
2 files changed, 8 insertions, 1 deletions
@@ -30,6 +30,13 @@ else CFLAGS += "-Dmempool_unref(x)=pool_unref(x)" endif +# backend error check +ifeq ("$(BACKEND)", "") +error: + @echo "Error! no backend configured" + @false +endif + # per-backend rules ifeq ("$(BACKEND)", "dspam-exec") objs += signature.o @@ -27,7 +27,7 @@ DOVECOT_VERSION=1.0 # dspam-exec - direct dspam training by calling dspam executable # signature-log - signature logging using dovecot's dict API # mailtrain - send mail to special addresses for training -BACKEND=dspam-exec +#BACKEND=dspam-exec #BACKEND=signature-log #BACKEND=mailtrain |