mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-02-08 08:51:50 +00:00
Revert "Improve configure ODBC handling"
This reverts commit 60c56109bc57ec2b73dcced346ec3e7db8a18325, reversing changes made to d7d5847ddaf5f9f85ed51b68f2b94db55e697f8d.
This commit is contained in:
parent
613f156da4
commit
418dd16643
@ -397,16 +397,14 @@ AM_CONDITIONAL([ENABLE_ZRTP],[test "x$enable_zrtp" != "xno"])
|
|||||||
|
|
||||||
AM_CONDITIONAL([WANT_DEBUG],[test "${enable_debug}" = "yes"])
|
AM_CONDITIONAL([WANT_DEBUG],[test "${enable_debug}" = "yes"])
|
||||||
|
|
||||||
enable_core_odbc_support="no"
|
|
||||||
AC_ARG_ENABLE(core-odbc-support,
|
AC_ARG_ENABLE(core-odbc-support,
|
||||||
[AS_HELP_STRING([--enable-core-odbc-support], [Compile with ODBC Support])],,[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
|
AX_LIB_ODBC
|
||||||
if test "x$ac_cv_found_odbc" = "xyes" ; then
|
if test "$ac_cv_found_odbc" = "yes" ; then
|
||||||
enable_core_odbc_support="yes"
|
enable_core_odbc_support="yes"
|
||||||
elif test "x$enable_core_odbc_support" = "xyes" ; then
|
|
||||||
AC_MSG_ERROR([no usable libodbc; please install unixodbc devel package or equivalent])
|
|
||||||
fi
|
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
|
fi
|
||||||
|
|
||||||
CHECK_LIBUUID
|
CHECK_LIBUUID
|
||||||
|
Loading…
x
Reference in New Issue
Block a user