aboutsummaryrefslogtreecommitdiff
path: root/m4/database.m4
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2012-01-17 16:46:51 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2012-01-20 15:45:47 +0200
commit605e4dee303f2a7b3b493e7a73faa09e61d88839 (patch)
tree675b7b05630d6b195cef2f0478a70b05b9cae173 /m4/database.m4
parentefe50036fbdca051ac44e76a7b0b8be37076dc9a (diff)
Autotools and VC++ build support for SQL Server
Diffstat (limited to 'm4/database.m4')
-rw-r--r--m4/database.m45
1 files changed, 5 insertions, 0 deletions
diff --git a/m4/database.m4 b/m4/database.m4
index a2d72eb..e334e91 100644
--- a/m4/database.m4
+++ b/m4/database.m4
@@ -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