added compat storage layout

This commit is contained in:
SJ
2015-02-01 10:40:18 +01:00
parent 74bf302126
commit ad85dd1a2f
8 changed files with 53 additions and 2 deletions

23
configure vendored
View File

@ -695,6 +695,7 @@ ac_subst_files=''
ac_user_opts='
enable_option_checking
enable_static_build
enable_compat_layout
enable_clamd
enable_memcached
enable_starttls
@ -1320,6 +1321,7 @@ Optional Features:
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
--enable-static-build build statically linked executables (default: dynamically linked)
--enable-compat-layout support for older storage layout (default: no)
--enable-clamd build clamd antivirus support
--enable-memcached build memcached support
--enable-starttls build starttls support
@ -3457,6 +3459,7 @@ tnef="no"
timeout_binary=""
have_static_build="no"
have_compat_storage_layout="no"
antispam_libs="-lz -lm -ldl -lcrypto -lssl"
defs=""
@ -3500,6 +3503,16 @@ fi
# Check whether --enable-compat-layout was given.
if test "${enable_compat_layout+set}" = set; then :
enableval=$enable_compat_layout; have_compat_storage_layout=$enableval
else
have_compat_storage_layout="no"
fi
# Check whether --enable-clamd was given.
if test "${enable_clamd+set}" = set; then :
@ -4665,6 +4678,16 @@ fi
echo
if test "$have_compat_storage_layout" = "yes"; then
echo "support for older storage layout: yes"
cat >>confdefs.h <<_ACEOF
#define HAVE_SUPPORT_FOR_COMPAT_STORAGE_LAYOUT 1
_ACEOF
fi
if test "$have_mysql" = "yes"; then
echo "database: mysql"
fi