Modified:
branches/guffert/configure.in
Log:
Run iodbc-conf test if not set
Modified: branches/guffert/configure.in
===================================================================
--- branches/guffert/configure.in 2007-11-20 14:58:29 UTC (rev 881)
+++ branches/guffert/configure.in 2007-11-20 19:26:04 UTC (rev 882)
@@ -268,6 +268,7 @@
dm_type=
dm_prefix="/usr" dnl Default to /usr
+iodbc_conf=
AC_ARG_WITH(iODBC,
[ --with-iODBC[=DIR] Use iODBC located in DIR],
[
@@ -284,7 +285,7 @@
if test "x$dm_type" = "x"
then
- AC_PATH_PROGS(iodbc_conf, iodbc-config, no)
+ AC_PATH_PROGS(iodbc_conf, iodbc-config, no, [$dm_prefix/bin:$PATH])
if test "x$iodbc_conf" = "xno"
then
AC_MSG_CHECKING(for SQL_ATTR_UNIXODBC_VERSION in sqlext.h)
@@ -310,7 +311,7 @@
then
AC_DEFINE([USE_IODBC], [1], [use iODBC])
- if test "x$iodbc_conf" = "xno"
+ if test "x$iodbc_conf" = "x"
then
AC_PATH_PROGS(iodbc_conf, iodbc-config, no, [$dm_prefix/bin:$PATH])
fi
| Thread |
|---|
| • Connector/ODBC 3.51 commit: r882 - branches/guffert | kboortz | 20 Nov |