提交 70af6013 authored 作者: Travis Cross's avatar Travis Cross

Revert "Fix configure ODBC logic"

This reverts commit ef35dc63.
上级 ef35dc63
......@@ -402,17 +402,15 @@ AM_CONDITIONAL([ENABLE_ZRTP],[test "x$enable_zrtp" != "xno"])
AM_CONDITIONAL([WANT_DEBUG],[test "${enable_debug}" = "yes"])
enable_core_odbc_support="no"
AC_ARG_ENABLE(core-odbc-support,
[AS_HELP_STRING([--enable-core-odbc-support], [Compile with ODBC Support])],[enable_core_odbc_support="yes"],[enable_core_odbc_support="no"])
[AS_HELP_STRING([--enable-core-odbc-support], [Compile with ODBC Support])],,[enable_core_odbc_support="no"])
if test "x$enable_core_odbc_support" != "xno"; then
AX_LIB_ODBC
if test "x$ac_cv_found_odbc" = "xyes"; then
if test "x$ac_cv_found_odbc" = "xyes" ; then
enable_core_odbc_support="yes"
else
if test "x$enable_core_odbc_support" = "xyes"; then
AC_MSG_ERROR([no usable libodbc; please install unixodbc devel package or equivalent])
else
enable_core_odbc_support="no"
elif test "x$enable_core_odbc_support" = "xyes" ; then
AC_MSG_ERROR([no usable libodbc; please install unixodbc devel package or equivalent])
fi
fi
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论