1--- configure	Thu Feb 27 01:19:11 2003
2+++ ../MyODBC-3.51.06.NEW/configure	Wed Sep  3 16:51:22 2003
3@@ -8453,7 +8453,7 @@
4 
5 
6 
7-for ac_header in sql.h sqlext.h sqltypes.h
8+for ac_header in iODBC/sql.h iODBC/sqlext.h iODBC/sqltypes.h
9 do
10 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12@@ -8580,7 +8580,7 @@
13 # odbc_headers manually to make AC_CHECK_ODBC_TYPE to work
14 if test "x$odbc_headers" = "x   "
15 then
16-  odbc_headers="sql.h sqlext.h sqltypes.h"
17+  odbc_headers="iODBC/sql.h iODBC/sqlext.h iODBC/sqltypes.h"
18 fi
19 
20 
21@@ -8903,7 +8903,7 @@
22 
23 
24 
25-for ac_header in isql.h isqlext.h isqltypes.h
26+for ac_header in iODBC/isql.h iODBC/isqlext.h iODBC/isqltypes.h
27 do
28 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30@@ -9031,11 +9031,11 @@
31 # odbc_headers manually to make AC_CHECK_ODBC_TYPE to work
32 if test "x$odbc_headers" = "x"
33 then
34-  odbc_headers="isql.h isqlext.h isqltypes.h"
35+  odbc_headers="iODBC/isql.h iODBC/isqlext.h iODBC/isqltypes.h"
36 fi
37 
38 
39-for ac_header in iodbcinst.h
40+for ac_header in iODBCinst/iodbcinst.h
41 do
42 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44@@ -9152,17 +9152,17 @@
45 if test "x$ac_cv_header_iodbcinst_h" = "xyes"
46 then
47 
48-  odbc_headers="$odbc_headers iodbcinst.h"
49+  odbc_headers="$odbc_headers iODBCinst/iodbcinst.h"
50 	save_LIBS="$LIBS"
51 	LIBS="-L$iodbc_libs $LIBS"
52 
53-	echo "$as_me:$LINENO: checking for _iodbcdm_admin_dialbox in -liodbcadm" >&5
54-echo $ECHO_N "checking for _iodbcdm_admin_dialbox in -liodbcadm... $ECHO_C" >&6
55+	echo "$as_me:$LINENO: checking for _iodbcdm_admin_dialbox in -framework iODBCadm" >&5
56+echo $ECHO_N "checking for _iodbcdm_admin_dialbox in -framework iODBCadm... $ECHO_C" >&6
57 if test "${ac_cv_lib_iodbcadm__iodbcdm_admin_dialbox+set}" = set; then
58   echo $ECHO_N "(cached) $ECHO_C" >&6
59 else
60   ac_check_lib_save_LIBS=$LIBS
61-LIBS="-liodbcadm  $LIBS"
62+LIBS="-framework iODBCadm  $LIBS"
63 cat >conftest.$ac_ext <<_ACEOF
64 #line $LINENO "configure"
65 #include "confdefs.h"
66@@ -9212,20 +9212,20 @@
67 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbcadm__iodbcdm_admin_dialbox" >&5
68 echo "${ECHO_T}$ac_cv_lib_iodbcadm__iodbcdm_admin_dialbox" >&6
69 if test $ac_cv_lib_iodbcadm__iodbcdm_admin_dialbox = yes; then
70-  LIBS="$LIBS -liodbcadm"
71+  LIBS="$LIBS -framework iodbcadm"
72 	have_iodbcadm=yes
73 else
74   LIBS="$save_LIBS"
75 fi
76 
77 
78-	echo "$as_me:$LINENO: checking for SQLGetPrivateProfileString in -liodbcinst" >&5
79-echo $ECHO_N "checking for SQLGetPrivateProfileString in -liodbcinst... $ECHO_C" >&6
80+	echo "$as_me:$LINENO: checking for SQLGetPrivateProfileString in -framework iODBCinst" >&5
81+echo $ECHO_N "checking for SQLGetPrivateProfileString in -framework iODBCinst... $ECHO_C" >&6
82 if test "${ac_cv_lib_iodbcinst_SQLGetPrivateProfileString+set}" = set; then
83   echo $ECHO_N "(cached) $ECHO_C" >&6
84 else
85   ac_check_lib_save_LIBS=$LIBS
86-LIBS="-liodbcinst  $LIBS"
87+LIBS="-framework iODBCinst  $LIBS"
88 cat >conftest.$ac_ext <<_ACEOF
89 #line $LINENO "configure"
90 #include "confdefs.h"
91@@ -9280,7 +9280,7 @@
92 #define HAVE_SQLGETPRIVATEPROFILESTRING 1
93 _ACEOF
94 
95-	LIBS="$LIBS -liodbcinst"
96+	LIBS="$LIBS -framework iODBCinst"
97 	have_iodbcinst=yes
98 else
99   LIBS="$save_LIBS"