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