fixed iODBC detection
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
4199367e9c
commit
84dfd58f69
@ -2922,11 +2922,11 @@ if test "$TOOLKIT" != "MSW" ; then
|
||||
|
||||
AC_CHECK_HEADER([sql.h], [found_sql_h=1])
|
||||
if test "x$found_sql_h" = "x1" ; then
|
||||
AC_CHECK_LIB(SQLAllocEnv, iodbc, ODBC_LINK=" -liodbc",
|
||||
AC_CHECK_LIB(iodbc, SQLAllocEnv, ODBC_LINK=" -liodbc",
|
||||
[
|
||||
AC_CHECK_LIB(SQLAllocEnv, unixodbc, ODBC_LINK=" -lunixodbc",
|
||||
AC_CHECK_LIB(unixodbc, SQLAllocEnv, ODBC_LINK=" -lunixodbc",
|
||||
[
|
||||
AC_CHECK_LIB(SQLAllocEnv, odbc, ODBC_LINK=" -lodbc")
|
||||
AC_CHECK_LIB(odbc, SQLAllocEnv, ODBC_LINK=" -lodbc")
|
||||
])
|
||||
])
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user