提交 ffc8e81b authored 作者: Travis Cross's avatar Travis Cross

check for missing unixodbc-dev during configure

Previously if --enable-core-odbc-support was set but unixodbc-dev was
not available, we would fail during make rather during configure.
上级 5e5a2ff8
......@@ -391,6 +391,10 @@ AX_LIB_ODBC
if test "$ac_cv_found_odbc" = "yes" ; then
enable_core_odbc_support="yes"
fi
if test "x$enable_core_odbc_support" != "xno"; then
AC_CHECK_LIB([odbc], [SQLDisconnect],, AC_MSG_ERROR([no usable libodbc; please install unixodbc devel package or equivalent]))
fi
AC_ARG_ENABLE(timerfd-wrapper,
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论