Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/processone/ejabberd.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaweł Chmielowski <pchmielowski@process-one.net>2020-04-28 17:52:08 +0300
committerPaweł Chmielowski <pchmielowski@process-one.net>2020-04-28 17:52:08 +0300
commit25597a432665a0c85193475bed3aadecec1550aa (patch)
treea7674987785967db1c5b1769af04cd3692280731 /configure.ac
parent56c8f6b280762752a4788c7b4e844678c16920ef (diff)
Run tests for mssql only if configured with --enable-mssql
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac6
1 files changed, 3 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index 2d98f62f1..c46c6bf35 100644
--- a/configure.ac
+++ b/configure.ac
@@ -103,8 +103,8 @@ esac],[full_xml=false])
AC_ARG_ENABLE(mssql,
[AC_HELP_STRING([--enable-mssql], [use Microsoft SQL Server database (default: no, requires --enable-odbc)])],
[case "${enableval}" in
- yes) db_type=mssql ;;
- no) db_type=generic ;;
+ yes) db_type=mssql; mssql=true ;;
+ no) db_type=generic; mssql=false ;;
*) AC_MSG_ERROR(bad value ${enableval} for --enable-mssql) ;;
esac],[db_type=generic])
@@ -267,7 +267,7 @@ if test "$sqlite" = "true"; then
fi
enabled_backends=""
-for backend in odbc mysql pgsql sqlite redis; do
+for backend in odbc mysql pgsql sqlite redis mssql; do
if eval test x\${$backend} = xtrue; then
if test "x$enabled_backends" = "x"; then
enabled_backends=$backend