diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2012-01-17 16:41:33 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2012-01-17 16:41:33 +0200 |
commit | 5e0128fc306acc2a2626b645214460d5bf214b39 (patch) | |
tree | cb3f0644955f788be025cfda74a2994e0ad1e5a0 /m4/database.m4 | |
parent | 31a0507dfe9cb5a87e2a860bac25a8405788489c (diff) |
Autotools and VC++ build support for SQL Server
Diffstat (limited to 'm4/database.m4')
-rw-r--r-- | m4/database.m4 | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/m4/database.m4 b/m4/database.m4 index a2d72eb..b1f65e2 100644 --- a/m4/database.m4 +++ b/m4/database.m4 @@ -13,7 +13,7 @@ AC_MSG_CHECKING([for database to use]) AC_ARG_WITH( [database], [AC_HELP_STRING([--with-database=DB], - [database to use for tests; valid values are: 'mysql', 'sqlite', 'pgsql', and 'oracle'])], + [database to use for tests; valid values are: 'mysql', 'sqlite', 'pgsql', 'oracle', and 'mssql'])], [case $withval in no | yes) AC_MSG_RESULT([]) @@ -35,6 +35,10 @@ AC_ARG_WITH( database=oracle AC_DEFINE([DATABASE_ORACLE], [1], [Using Oracle.]) ;; + mssql) + database=mssql + AC_DEFINE([DATABASE_MSSQL], [1], [Using SQL Server.]) + ;; *) AC_MSG_RESULT([]) AC_MSG_ERROR([unknown database $withval]) @@ -52,5 +56,6 @@ AM_CONDITIONAL([DATABASE_MYSQL], [test x$database = xmysql]) AM_CONDITIONAL([DATABASE_SQLITE], [test x$database = xsqlite]) AM_CONDITIONAL([DATABASE_PGSQL], [test x$database = xpgsql]) AM_CONDITIONAL([DATABASE_ORACLE], [test x$database = xoracle]) +AM_CONDITIONAL([DATABASE_MSSQL], [test x$database = xmssql]) ])dnl |