summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorLionel Elie Mamane <lionel@mamane.lu>2014-09-16 08:08:24 +0200
committerLionel Elie Mamane <lionel@mamane.lu>2014-09-16 08:56:53 +0200
commit34fe0d32505f64fdef20828c26547cc7f8453212 (patch)
treeae149b4a895cfad35136e45591001525e3f2ecb5 /configure.ac
parentf93ce4f7eb90093d0ea3115d0a1c614612676dbd (diff)
force --with-system-odbc on MacOS X and Microsoft Windows
Change-Id: Idc078f1498b4d5baa69d306630e174ac59ae1fcb
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index ceba12392a1d..9f55fac6dc67 100644
--- a/configure.ac
+++ b/configure.ac
@@ -8616,6 +8616,9 @@ if test "$with_system_odbc" = "yes" ; then
elif test "$enable_database_connectivity" != yes; then
AC_MSG_RESULT([none])
else
+ if test $_os = Darwin -o $_os = WINNT; then
+ AC_MSG_ERROR([Please use --with-system-odbc on MacOS X and Microsoft Windows.])
+ fi
AC_MSG_RESULT([internal])
SYSTEM_ODBC_HEADERS=
fi