[asterisk-commits] kmoore: branch 11 r400768 - in /branches/11: ./ configure configure.ac

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Oct 8 17:28:01 CDT 2013


Author: kmoore
Date: Tue Oct  8 17:27:59 2013
New Revision: 400768

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=400768
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

Modified:
    branches/11/   (props changed)
    branches/11/configure
    branches/11/configure.ac

Propchange: branches/11/
------------------------------------------------------------------------------
Binary property 'branch-1.8-merged' - no diff available.

Modified: branches/11/configure.ac
URL: http://svnview.digium.com/svn/asterisk/branches/11/configure.ac?view=diff&rev=400768&r1=400767&r2=400768
==============================================================================
--- branches/11/configure.ac (original)
+++ branches/11/configure.ac Tue Oct  8 17:27:59 2013
@@ -2417,6 +2417,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