Index: m4/libunixodbc.m4 =================================================================== --- m4/libunixodbc.m4 (revision 8090) +++ m4/libunixodbc.m4 (working copy) @@ -64,7 +64,7 @@ LIBS="${LIBS} ${UNIXODBC_LIBS}" AC_CACHE_CHECK([whether unixodbc is usable], - [_libunixodbc_usable], + [_cv_libunixodbc_usable], [AC_LINK_IFELSE(AC_LANG_PROGRAM([ #include #include @@ -74,7 +74,7 @@ missing symbols or can't link. */ SQLRETURN retcode; retcode = SQLAllocHandle(SQL_HANDLE_ENV, SQL_NULL_HANDLE, (SQLHENV*)0); - ]),_libunixodbc_usable=yes,_libunixodbc_usable=no) + ]),_cv_libunixodbc_usable=yes,_cv_libunixodbc_usable=no) ]) LIBS="${_save_unixodbc_libs}" @@ -84,7 +84,7 @@ unset _save_unixodbc_ldflags unset _save_unixodbc_cflags - if test "$_libunixodbc_usable" != "yes"; then + if test "$_cv_libunixodbc_usable" != "yes"; then AC_MSG_ERROR([Can't use libodbc library]) fi @@ -97,5 +97,5 @@ AC_SUBST(UNIXODBC_LIBS) unset _libunixodbc_with - unset _libunixodbc_usable + unset _cv_libunixodbc_usable ])dnl