[asterisk-commits] kmoore: branch 12 r400769 - in /branches/12: ./ configure configure.ac
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Oct 8 17:30:39 CDT 2013
Author: kmoore
Date: Tue Oct 8 17:30:37 2013
New Revision: 400769
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=400769
Log:
Add warning when compiling with iODBC support
When running configure, libiodbc2 development headers will fulfill the
requirement for ODBC development headers, but will not function
properly. This adds a warning when libiodbc2 development headers are
detected instead of unixodbc development headers.
(closes issue ASTERISK-22459)
Reported by: Patrick Maille
Tested by: Walter Doekes
Patches:
issueA22459_warn_when_using_iodbc.patch uploaded by Walter Doekes (License 5674)
........
Merged revisions 400767 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........
Merged revisions 400768 from http://svn.asterisk.org/svn/asterisk/branches/11
Modified:
branches/12/ (props changed)
branches/12/configure
branches/12/configure.ac
Propchange: branches/12/
------------------------------------------------------------------------------
Binary property 'branch-11-merged' - no diff available.
Modified: branches/12/configure.ac
URL: http://svnview.digium.com/svn/asterisk/branches/12/configure.ac?view=diff&rev=400769&r1=400768&r2=400769
==============================================================================
--- branches/12/configure.ac (original)
+++ branches/12/configure.ac Tue Oct 8 17:30:37 2013
@@ -2452,6 +2452,15 @@
echo
fi
+if test "x${AST_IODBC_FOUND}" = "xyes"; then
+ echo "WARNING: iodbc libs/headers found!"
+ echo
+ echo " If you plan to use ODBC functionality, you should consider"
+ echo " switching to unixodbc instead."
+ echo " See: https://issues.asterisk.org/jira/browse/ASTERISK-22459"
+ echo
+fi
+
AC_MSG_NOTICE(Package configured for: )
AC_MSG_NOTICE( OS type : $host_os)
AC_MSG_NOTICE( Host CPU : $host_cpu)
More information about the asterisk-commits
mailing list