Description: Inject compilation flags from iodbc-config This has become necessary because iodbc includes are now in a custom directory, so we have to retrieve the right -I flag. Author: Maximiliano Curia Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=740067 Forwarded: no Reviewed-by: Sébastien Villemot Last-Update: 2014-03-26 --- This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ --- a/configure.ac +++ b/configure.ac @@ -117,6 +117,7 @@ if test "$enable_odbc" = "yes"; then AC_MSG_ERROR([--enable-odbc requires --enable-dl]) fi AC_MSG_RESULT([yes]) + CFLAGS="$(iodbc-config --cflags) $CFLAGS" AC_DEFINE_UNQUOTED([ODBC_DLNAME], ["$LIBIODBC"], [N/A]) elif test "$enable_odbc" = "unix"; then if test "$enable_dl" = "no"; then