Ticket #32501: patch-lib_odbc_configure.diff

File patch-lib_odbc_configure.diff, 1.7 KB (added by chad@…, 10 years ago)

configure patch

  • lib/odbc/configure

    old new  
    55115511                    ODBC_INCLUDE="-I$with_odbc/include"
    55125512                fi
    55135513
    5514                echo "$as_me:$LINENO: checking for SQLAllocHandle in -liodbc" >&5
    5515 echo $ECHO_N "checking for SQLAllocHandle in -liodbc... $ECHO_C" >&6
    5516 if test "${ac_cv_lib_iodbc_SQLAllocHandle+set}" = set; then
     5514               echo "$as_me:$LINENO: checking for SQLAllocHandle in -lodbc" >&5
     5515echo $ECHO_N "checking for SQLAllocHandle in -lodbc... $ECHO_C" >&6
     5516if test "${ac_cv_lib_odbc_SQLAllocHandle+set}" = set; then
    55175517  echo $ECHO_N "(cached) $ECHO_C" >&6
    55185518else
    55195519  ac_check_lib_save_LIBS=$LIBS
    5520 LIBS="-liodbc  $LIBS"
     5520LIBS="-lodbc  $LIBS"
    55215521cat >conftest.$ac_ext <<_ACEOF
    55225522/* confdefs.h.  */
    55235523_ACEOF
     
    55625562  ac_status=$?
    55635563  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    55645564  (exit $ac_status); }; }; then
    5565   ac_cv_lib_iodbc_SQLAllocHandle=yes
     5565  ac_cv_lib_odbc_SQLAllocHandle=yes
    55665566else
    55675567  echo "$as_me: failed program was:" >&5
    55685568sed 's/^/| /' conftest.$ac_ext >&5
    55695569
    5570 ac_cv_lib_iodbc_SQLAllocHandle=no
     5570ac_cv_lib_odbc_SQLAllocHandle=no
    55715571fi
    55725572rm -f conftest.err conftest.$ac_objext \
    55735573      conftest$ac_exeext conftest.$ac_ext
    55745574LIBS=$ac_check_lib_save_LIBS
    55755575fi
    5576 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocHandle" >&5
    5577 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocHandle" >&6
    5578 if test $ac_cv_lib_iodbc_SQLAllocHandle = yes; then
    5579   ODBC_LIB="$ODBC_LIB -liodbc"; odbc_lib_link_success=yes
     5576echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocHandle" >&5
     5577echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocHandle" >&6
     5578if test $ac_cv_lib_odbc_SQLAllocHandle = yes; then
     5579  ODBC_LIB="$ODBC_LIB -lodbc"; odbc_lib_link_success=yes
    55805580fi
    55815581
    55825582            ;;