1--- configure.orig 2023-12-04 09:01:11 UTC 2+++ configure 3@@ -19020,20 +19020,7 @@ fi 4 printf "%s\n" "#define HAVE_SQL_H 1" >>confdefs.h 5 6 fi 7-ac_fn_c_check_header_compile "$LINENO" "odbcss.h" "ac_cv_header_odbcss_h" "#ifdef HAVE_WINDOWS_H 8-# include <windows.h> 9-#endif 10-#ifdef HAVE_SQL_H 11-# include <sql.h> 12-#endif 13 14-" 15-if test "x$ac_cv_header_odbcss_h" = xyes 16-then : 17- printf "%s\n" "#define HAVE_ODBCSS_H 1" >>confdefs.h 18- 19-fi 20- 21 if test "$ac_cv_header_odbcss_h" = "yes"; then 22 HAVE_ODBCSS_H_TRUE= 23 HAVE_ODBCSS_H_FALSE='#' 24@@ -21342,7 +21329,7 @@ elif test "x$with_iodbc" != "x" -a "x$with_iodbc" != " 25 with_iodbc="$PWD/$with_iodbc" 26 fi 27 CPPFLAGS="$CPPFLAGS -DIODBC" 28- ODBC_INC="$with_iodbc/include" 29+ ODBC_INC="$with_iodbc/include/libiodbc" 30 test -r "$ODBC_INC/isql.h" || as_fn_error $? "isql.h not found" "$LINENO" 5 31 test -r "$ODBC_INC/isqlext.h" || as_fn_error $? "isqlext.h not found" "$LINENO" 5 32 ODBC_INC="-I$ODBC_INC" 33@@ -26046,5 +26033,3 @@ fi 34 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 35 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 36 fi 37- 38- 39