mirror of
https://bitbucket.org/jsuto/piler.git
synced 2025-06-12 23:17:02 +02:00
added starttls support to piler daemon
This commit is contained in:
22
configure
vendored
22
configure
vendored
@ -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
|
||||
|
Reference in New Issue
Block a user