Ticket #32501: patch-lib_odbc_configure.diff
File patch-lib_odbc_configure.diff, 1.7 KB (added by chad@…, 10 years ago) |
---|
-
lib/odbc/configure
old new 5511 5511 ODBC_INCLUDE="-I$with_odbc/include" 5512 5512 fi 5513 5513 5514 echo "$as_me:$LINENO: checking for SQLAllocHandle in -l iodbc" >&55515 echo $ECHO_N "checking for SQLAllocHandle in -l iodbc... $ECHO_C" >&65516 if test "${ac_cv_lib_ iodbc_SQLAllocHandle+set}" = set; then5514 echo "$as_me:$LINENO: checking for SQLAllocHandle in -lodbc" >&5 5515 echo $ECHO_N "checking for SQLAllocHandle in -lodbc... $ECHO_C" >&6 5516 if test "${ac_cv_lib_odbc_SQLAllocHandle+set}" = set; then 5517 5517 echo $ECHO_N "(cached) $ECHO_C" >&6 5518 5518 else 5519 5519 ac_check_lib_save_LIBS=$LIBS 5520 LIBS="-l iodbc $LIBS"5520 LIBS="-lodbc $LIBS" 5521 5521 cat >conftest.$ac_ext <<_ACEOF 5522 5522 /* confdefs.h. */ 5523 5523 _ACEOF … … 5562 5562 ac_status=$? 5563 5563 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5564 5564 (exit $ac_status); }; }; then 5565 ac_cv_lib_ iodbc_SQLAllocHandle=yes5565 ac_cv_lib_odbc_SQLAllocHandle=yes 5566 5566 else 5567 5567 echo "$as_me: failed program was:" >&5 5568 5568 sed 's/^/| /' conftest.$ac_ext >&5 5569 5569 5570 ac_cv_lib_ iodbc_SQLAllocHandle=no5570 ac_cv_lib_odbc_SQLAllocHandle=no 5571 5571 fi 5572 5572 rm -f conftest.err conftest.$ac_objext \ 5573 5573 conftest$ac_exeext conftest.$ac_ext 5574 5574 LIBS=$ac_check_lib_save_LIBS 5575 5575 fi 5576 echo "$as_me:$LINENO: result: $ac_cv_lib_ iodbc_SQLAllocHandle" >&55577 echo "${ECHO_T}$ac_cv_lib_ iodbc_SQLAllocHandle" >&65578 if test $ac_cv_lib_ iodbc_SQLAllocHandle = yes; then5579 ODBC_LIB="$ODBC_LIB -l iodbc"; odbc_lib_link_success=yes5576 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocHandle" >&5 5577 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocHandle" >&6 5578 if test $ac_cv_lib_odbc_SQLAllocHandle = yes; then 5579 ODBC_LIB="$ODBC_LIB -lodbc"; odbc_lib_link_success=yes 5580 5580 fi 5581 5581 5582 5582 ;;