]> git.sur5r.net Git - openldap/commitdiff
revert previous (erroneous) commit
authorPierangelo Masarati <ando@openldap.org>
Tue, 24 Aug 2004 15:38:40 +0000 (15:38 +0000)
committerPierangelo Masarati <ando@openldap.org>
Tue, 24 Aug 2004 15:38:40 +0000 (15:38 +0000)
configure

index a616d0c7d9c53c481d8538363e5424e6a16ba7fa..0a6492048a3b942a34255ee7783073883dcd7cfa 100755 (executable)
--- a/configure
+++ b/configure
 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 <<EOF
 #line 20964 "configure"
 #include "confdefs.h"
@@ -20986,14 +20986,14 @@ LIBS="$ac_save_LIBS"
 fi
 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
   echo "$ac_t""yes" 1>&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