Mercurial > hg > octave-lyh
comparison configure.ac @ 17188:54e251e699bb
Use the new GLPK API (bug #39038).
* libinterp/dldfcn/__glpk__.cc: replace old lpx_* function calls by their new
equivalents; complete rewrite of the options handling code since the interface
for changing them has changed
* scripts/optimization/glpk.m: update of the documentation string to reflect
the changes in input and output arguments
* configure.ac: update test for GLPK library
* NEWS: mention the changes in the glpk.m input/output arguments
author | Sébastien Villemot <sebastien@debian.org> |
---|---|
date | Sat, 03 Aug 2013 15:38:47 +0200 |
parents | 36fd98b9ce48 |
children | bc20614022aa |
comparison
equal
deleted
inserted
replaced
17187:828e8852efa9 | 17188:54e251e699bb |
---|---|
867 save_LIBS="$LIBS" | 867 save_LIBS="$LIBS" |
868 CPPFLAGS="$Z_CPPFLAGS $CPPFLAGS" | 868 CPPFLAGS="$Z_CPPFLAGS $CPPFLAGS" |
869 LIBS="$Z_LDFLAGS $Z_LIBS $LIBS" | 869 LIBS="$Z_LDFLAGS $Z_LIBS $LIBS" |
870 OCTAVE_CHECK_LIB(glpk, GLPK, | 870 OCTAVE_CHECK_LIB(glpk, GLPK, |
871 [GLPK library not found. The glpk function for solving linear programs will be disabled.], | 871 [GLPK library not found. The glpk function for solving linear programs will be disabled.], |
872 [glpk/glpk.h glpk.h], [_glp_lpx_simplex]) | 872 [glpk/glpk.h glpk.h], [glp_simplex]) |
873 LIBS="$save_LIBS" | 873 LIBS="$save_LIBS" |
874 CPPFLAGS="$save_CPPFLAGS" | 874 CPPFLAGS="$save_CPPFLAGS" |
875 | 875 |
876 ### Checks for cURL header and library. | 876 ### Checks for cURL header and library. |
877 | 877 |