Kaydet (Commit) a00b92fa authored tarafından Lionel Elie Mamane's avatar Lionel Elie Mamane

Use system ODBC on MS Windows unless specifically overriden

Change-Id: I11abb53486e45d9c7058c42011df41b5fad0fcde
üst 92dd751a
...@@ -1822,7 +1822,7 @@ AC_ARG_WITH(libbase-jar, ...@@ -1822,7 +1822,7 @@ AC_ARG_WITH(libbase-jar,
AC_ARG_WITH(system-odbc, AC_ARG_WITH(system-odbc,
AS_HELP_STRING([--with-system-odbc], AS_HELP_STRING([--with-system-odbc],
[Use the odbc headers already on system.]),, [Use the odbc headers already on system.]),,
[with_system_odbc="$with_system_headers"]) [with_system_odbc="auto"])
AC_ARG_WITH(system-sane, AC_ARG_WITH(system-sane,
AS_HELP_STRING([--with-system-sane], AS_HELP_STRING([--with-system-sane],
...@@ -8607,7 +8607,7 @@ dnl =================================================================== ...@@ -8607,7 +8607,7 @@ dnl ===================================================================
dnl Check for system odbc dnl Check for system odbc
dnl =================================================================== dnl ===================================================================
AC_MSG_CHECKING([which odbc headers to use]) AC_MSG_CHECKING([which odbc headers to use])
if test "$with_system_odbc" = "yes" ; then if test "$with_system_odbc" = "yes" -o '(' "$with_system_headers" = "yes" -a "$with_system_odbc" = "auto" ')' -o '(' "$_os" = "WINNT" -a "$with_system_odbc" != "no" ')'; then
AC_MSG_RESULT([external]) AC_MSG_RESULT([external])
SYSTEM_ODBC_HEADERS=TRUE SYSTEM_ODBC_HEADERS=TRUE
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment