From c0732f12211f2c7775c5cd86d8c2085d90edbc0b Mon Sep 17 00:00:00 2001 From: "Alexey.Saltanov" Date: Tue, 30 Apr 2013 12:17:02 +0400 Subject: Fix checking for odbc in standard locations when "with-odbc" flag present. --- lib/odbc/configure.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/odbc/configure.in b/lib/odbc/configure.in index fd28830c0c..83f7a47434 100644 --- a/lib/odbc/configure.in +++ b/lib/odbc/configure.in @@ -167,7 +167,8 @@ AC_SUBST(TARGET_FLAGS) AC_CHECK_SIZEOF(void *) AC_MSG_CHECKING([for odbc in standard locations]) for rdir in /usr/local/odbc /usr/local /usr/odbc \ - /usr /opt/local/pgm/odbc /usr/local/pgm/odbc; do + /usr /opt/local/pgm/odbc /usr/local/pgm/odbc \ + "$with_odbc"; do test -f "$erl_xcomp_isysroot$rdir/include/sql.h" || continue is_odbc_std_location=yes libdir="$erl_xcomp_sysroot$rdir/lib" -- cgit v1.2.3