added starttls support to piler daemon

This commit is contained in:
SJ
2012-10-28 20:36:46 +01:00
parent d7f860c15b
commit dbbebbe5bf
13 changed files with 236 additions and 13 deletions

22
configure vendored
View File

@ -675,6 +675,7 @@ enable_option_checking
enable_static_build
enable_clamd
enable_memcached
enable_starttls
with_piler_user
'
ac_precious_vars='build_alias
@ -1298,6 +1299,7 @@ Optional Features:
--enable-static-build build statically linked executables (default: dynamically linked)
--enable-clamd build clamd antivirus support
--enable-memcached build memcached support
--enable-starttls build starttls support
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
@ -3414,6 +3416,7 @@ have_mysql="no"
have_tre="no"
have_zip="no"
have_zlib="no"
have_starttls="no"
pdftotext="no"
catdoc="no"
@ -3485,6 +3488,16 @@ fi
# Check whether --enable-starttls was given.
if test "${enable_starttls+set}" = set; then :
enableval=$enable_starttls; have_starttls=$enableval
else
have_starttls="no"
fi
for ac_header in math.h
do :
@ -4339,6 +4352,15 @@ _ACEOF
antispam_libs="$antispam_libs -lzip"
fi
if test "$have_starttls" = "yes"; then
echo "starttls support: yes"
cat >>confdefs.h <<_ACEOF
#define HAVE_STARTTLS 1
_ACEOF
fi
echo
if test "$have_clamd" = "yes"; then