From: Travis Cross Date: Mon, 23 Apr 2012 17:00:30 +0000 (+0000) Subject: check for missing unixodbc-dev during configure X-Git-Tag: v1.2-rc1~17^2~148 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ffc8e81b7;p=thirdparty%2Ffreeswitch.git 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. --- diff --git a/configure.in b/configure.in index 4228883fd3..f6d2e091ef 100644 --- a/configure.in +++ b/configure.in @@ -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,