comparison configure.in @ 167:9b129ed78d7d stable-6-0-6

actually use spamassassin result, allow build without spam assassin, only call it if some recipient needs it.
author carl
date Mon, 27 Aug 2007 20:49:19 -0700
parents bf828f785407
children 6bac960af6b4
comparison
equal deleted inserted replaced
166:7161d8451fcf 167:9b129ed78d7d
1 1
2 AC_PREREQ(2.59) 2 AC_PREREQ(2.59)
3 AC_INIT(dnsbl,6.05,carl@five-ten-sg.com) 3 AC_INIT(dnsbl,6.06,carl@five-ten-sg.com)
4 AC_CONFIG_SRCDIR([config.h.in]) 4 AC_CONFIG_SRCDIR([config.h.in])
5 AC_CONFIG_HEADER([config.h]) 5 AC_CONFIG_HEADER([config.h])
6 6
7 AM_INIT_AUTOMAKE($PACKAGE_NAME,$PACKAGE_VERSION) 7 AM_INIT_AUTOMAKE($PACKAGE_NAME,$PACKAGE_VERSION)
8 8
9 # Checks for programs. 9 # Checks for programs.
10 AC_PATH_PROG(BASH, bash) 10 AC_PATH_PROG(BASH, bash)
11 if test "x$BASH" = x ; then
12 AC_MSG_ERROR([bash required for init script])
13 fi
11 AC_PATH_PROG(SPAMC, spamc) 14 AC_PATH_PROG(SPAMC, spamc)
15 if test "x$SPAMC" = x ; then
16 AC_MSG_WARN([Spamc not found. SpamAssassin filtering disabled])
17 fi
12 AC_PROG_CXX 18 AC_PROG_CXX
13 AC_PROG_CC 19 AC_PROG_CC
14 AC_PROG_CPP 20 AC_PROG_CPP
15 AC_PROG_INSTALL 21 AC_PROG_INSTALL
16 AC_PROG_LN_S 22 AC_PROG_LN_S