summaryrefslogtreecommitdiff
path: root/ACE/MPC/config/odbc.mpb
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/MPC/config/odbc.mpb')
-rw-r--r--ACE/MPC/config/odbc.mpb23
1 files changed, 23 insertions, 0 deletions
diff --git a/ACE/MPC/config/odbc.mpb b/ACE/MPC/config/odbc.mpb
new file mode 100644
index 00000000000..d069d675485
--- /dev/null
+++ b/ACE/MPC/config/odbc.mpb
@@ -0,0 +1,23 @@
+// $Id$
+
+project {
+ specific(prop:windows) {
+ // Out of the box, Windows supports ODBC since ODBC originated
+ // on Windows. We, however, need to ensure that UnixODBC and
+ // iODBC are not enabled. We may be able to drop the 'avoids'
+ // statement.
+ avoids += unixodbc iodbc
+ lit_libs += odbc32 odbcbcp odbcCP32
+ }
+}
+
+//=============================================================================
+// Non-Windows support
+
+feature(unixodbc) : unixodbc {
+ avoids += iodbc
+}
+
+feature(iodbc) : iodbc {
+ avoids += unixodbc
+}