-------- Forwarded Message -------- From: Sébastien Villemot <[email protected]> To: [email protected] Subject: Patch for correct detection of iodbc flags Date: Wed, 26 Mar 2014 14:24:11 +0100
Hi, [ Please CC me on replies, I'm not subscribed to the list ] The Debian package for iodbc is about to change the location of iodbc includes (previously they were in /usr/include, now they will be in /usr/include/iodbc). There is therefore the need for glpk to give the corresponding -I flag to the compiler. The best way seems to call "iodbc-config --cflags", which will return the correct flags in all cases. I have therefore applied the attached patch to the Debian package for glpk. Please consider it for inclusion in the next release. Cheers, -- .''`. Sébastien Villemot : :' : Debian Developer `. `' http://www.dynare.org/sebastien `- GPG Key: 4096R/381A7594
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 <[email protected]> Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=740067 Forwarded: no Reviewed-by: Sébastien Villemot <[email protected]> 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
_______________________________________________ Bug-glpk mailing list [email protected] https://lists.gnu.org/mailman/listinfo/bug-glpk
