Put unixODBC under basic build / test coverage

This commit is contained in:
Evan Miller
2020-08-11 11:56:08 -04:00
parent 71e10395fd
commit f7e863b8e4
2 changed files with 15 additions and 1 deletions

View File

@@ -120,6 +120,11 @@ if test "$with_unixodbc"; then
ODBC_LIBS="-L$with_unixodbc/lib"
CFLAGS="$CFLAGS -DUNIXODBC"
dnl SIZEOF_LONG_INT and HAVE_LONG_LONG are required by some versions of unixODBC
dnl https://github.com/lurcher/unixODBC/issues/40
AC_CHECK_SIZEOF([long int])
AC_CHECK_TYPES([long long])
OLDLDFLAGS=$LDFLAGS
LDFLAGS="$LDFLAGS $ODBC_LIBS"
AC_CHECK_LIB(odbcinst, SQLGetPrivateProfileString,