aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2007-10-01 20:33:06 +0200
committerJohannes Berg <johannes@sipsolutions.net>2007-10-01 20:33:06 +0200
commit6ea8c069b7df7cc37b8c8daa8cd220ad3ca1d57e (patch)
tree3c140c7e99b0692e60e9bcdcbfd54049655e121f /Makefile
parent4ee8b72dab4a5bc0309a956942ee2dc9d2f7258f (diff)
downloaddovecot-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--Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 0720cfa..360ae63 100644
--- a/Makefile
+++ b/Makefile
@@ -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