Mercurial > hg > octave-avbm
changeset 6289:e8c4edcfe43d
[project @ 2007-02-08 20:06:54 by jwe]
author | jwe |
---|---|
date | Thu, 08 Feb 2007 20:06:55 +0000 |
parents | 0c6d07b9240e |
children | 750b40fe7b02 |
files | ChangeLog configure.in scripts/plot/drawnow.m |
diffstat | 3 files changed, 9 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,7 @@ 2007-02-08 John W. Eaton <jwe@octave.org> * configure.in: Rewrite if !( X ) ... fi as if X; true; else ... fi. + Also check for _glp_lpx_simplex. 2007-02-07 John W. Eaton <jwe@octave.org>
--- a/configure.in +++ b/configure.in @@ -29,7 +29,7 @@ EXTERN_CXXFLAGS="$CXXFLAGS" AC_INIT -AC_REVISION($Revision: 1.554 $) +AC_REVISION($Revision: 1.555 $) AC_PREREQ(2.57) AC_CONFIG_SRCDIR([src/octave.cc]) AC_CONFIG_HEADER(config.h) @@ -590,11 +590,15 @@ GLPK_LIBS= if test -n "$glpk_lib"; then - AC_CHECK_LIB($glpk_lib, glp_lpx_simplex, [ + AC_CHECK_LIB($glpk_lib, glp_lpx_simplex, [GLPK_LIBS="-l$glpk_lib"], [ + AC_CHECK_LIB($glpk_lib, _glp_lpx_simplex, [GLPK_LIBS="-l$glpk_lib"], [])]) + if test -n "$GLPK_LIBS"; then AC_CHECK_HEADERS(glpk.h, [ GLPK_LIBS="-l$glpk_lib" AC_DEFINE(HAVE_GLPK, 1, [Define if GLPK is available.])], [ - glpk_missing=yes])]) + GLPK_LIBS= + glpk_missing=yes]) + fi fi AC_SUBST(GLPK_LIBS) if test "$glpk_missing" = yes; then
--- a/scripts/plot/drawnow.m +++ b/scripts/plot/drawnow.m @@ -39,7 +39,7 @@ if (isempty (plot_stream)) cmd = gnuplot_binary (); if (gnuplot_use_title_option ()) - cmd = sprintf ("%s -title \"Figure\" %s", cmd, h); + cmd = sprintf ("%s -title \"Figure %d\"", cmd, h); endif plot_stream = popen (cmd, "w"); if (plot_stream < 0)