From 361f943dfd5faa9eea4cc977c37aa9a4fdb7a714 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Tue, 24 Aug 2004 15:38:40 +0000 Subject: [PATCH] revert previous (erroneous) commit --- configure | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/configure b/configure index a616d0c7d9..0a6492048a 100755 --- a/configure +++ b/configure @@ -20951,14 +20951,14 @@ fi done - echo $ac_n "checking for SQLDriverConnect in -lodbc""... $ac_c" 1>&6 -echo "configure:20956: checking for SQLDriverConnect in -lodbc" >&5 -ac_lib_var=`echo odbc'_'SQLDriverConnect | sed 'y%./+-:%__p__%'` + echo $ac_n "checking for SQLDriverConnect in -liodbc""... $ac_c" 1>&6 +echo "configure:20956: checking for SQLDriverConnect in -liodbc" >&5 +ac_lib_var=`echo iodbc'_'SQLDriverConnect | sed 'y%./+-:%__p__%'` if eval "test \"\${ac_cv_lib_$ac_lib_var+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_save_LIBS="$LIBS" -LIBS="-lodbc $LIBS" +LIBS="-liodbc $LIBS" cat > conftest.$ac_ext <&6 - have_odbc=yes + have_iodbc=yes else echo "$ac_t""no" 1>&6 -have_odbc=no +have_iodbc=no fi - if test $have_odbc = yes ; then - ol_link_sql="-lodbc" + if test $have_iodbc = yes ; then + ol_link_sql="-liodbc" else echo $ac_n "checking for SQLDriverConnect in -lodbc""... $ac_c" 1>&6 echo "configure:21000: checking for SQLDriverConnect in -lodbc" >&5 -- 2.39.5