aboutsummaryrefslogtreecommitdiff
path: root/src/configure.ac
diff options
context:
space:
mode:
authorMickaël Rémond <mickael.remond@process-one.net>2006-09-03 15:15:46 +0000
committerMickaël Rémond <mickael.remond@process-one.net>2006-09-03 15:15:46 +0000
commitd0e2ac9ed2432e877e1a55f46752b614d29fafb9 (patch)
tree7c97e92bbed7655311b732a6d16a61f5e04a2d4d /src/configure.ac
parent* src/ejabberd.app: Updated to the current version. (diff)
* src/odbc/odbc_queries.erl: Support for Microsoft SQL Server as
a database backend (via ODBC). * src/odbc/ejabberd_odbc.erl: Likewise. * src/odbc/mssql.sql: Likewise. * src/odbc/Makefile.in: Likewise. * src/ejabberd_auth_odbc.erl: Likewise. * src/mod_offline_odbc.erl: Likewise. * src/mod_roster_odbc.erl: Likewise. * src/mod_last_odbc.erl: Likewise. * src/configure.ac: Likewise * doc/guide.tex: Likewise. * doc/introduction.tex: Likewise. * src/odbc/pg.sql: Minor fix. SVN Revision: 598
Diffstat (limited to 'src/configure.ac')
-rw-r--r--src/configure.ac11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/configure.ac b/src/configure.ac
index cabfa55e1..c77f79f08 100644
--- a/src/configure.ac
+++ b/src/configure.ac
@@ -37,7 +37,7 @@ AC_MOD_ENABLE(odbc, no)
AC_MOD_ENABLE(ejabberd_zlib, yes)
AC_ARG_ENABLE(roster_gateway_workaround,
-[ --enable-roster-gateway-workaround Turn on workaround for processing gateway subscriptions],
+[ --enable-roster-gateway-workaround Turn on workaround for processing gateway subscriptions (default: no)],
[case "${enableval}" in
yes) roster_gateway_workaround=true ;;
no) roster_gateway_workaround=false ;;
@@ -45,6 +45,15 @@ AC_ARG_ENABLE(roster_gateway_workaround,
esac],[roster_gateway_workaround=false])
AC_SUBST(roster_gateway_workaround)
+AC_ARG_ENABLE(mssql,
+[ --enable-mssql Use Microsoft SQL Server database (default: no, requires --enable-odbc)],
+[case "${enableval}" in
+ yes) db_type=mssql ;;
+ no) db_type=generic ;;
+ *) AC_MSG_ERROR(bad value ${enableval} for --enable-mssql) ;;
+esac],[db_type=generic])
+AC_SUBST(db_type)
+
AC_CONFIG_FILES([Makefile
$make_mod_irc
$make_mod_muc