# HG changeset patch # User jwe # Date 1170961478 0 # Node ID c6a7b0453f9a87d714d03310cac01b5de279787d # Parent 3991a9f0feada6b1d7b8079bd00d7a5f16649257 [project @ 2007-02-08 19:04:38 by jwe] diff -r 3991a9f0fead -r c6a7b0453f9a ChangeLog --- a/ChangeLog Thu Feb 08 09:50:11 2007 +0000 +++ b/ChangeLog Thu Feb 08 19:04:38 2007 +0000 @@ -1,3 +1,7 @@ +2007-02-08 John W. Eaton + + * configure.in: Rewrite if !( X ) ... fi as if X; true; else ... fi. + 2007-02-07 John W. Eaton * Makeconf.in (do-script-install): Use $(FCN_FILES) for list of diff -r 3991a9f0fead -r c6a7b0453f9a configure.in --- a/configure.in Thu Feb 08 09:50:11 2007 +0000 +++ b/configure.in Thu Feb 08 19:04:38 2007 +0000 @@ -29,7 +29,7 @@ EXTERN_CXXFLAGS="$CXXFLAGS" AC_INIT -AC_REVISION($Revision: 1.553 $) +AC_REVISION($Revision: 1.554 $) AC_PREREQ(2.57) AC_CONFIG_SRCDIR([src/octave.cc]) AC_CONFIG_HEADER(config.h) @@ -1531,7 +1531,9 @@ fi ## autoconf test for LoadLibrary appears broken. Bypass for cygwin/mingw - if !($dlopen_api || $shl_load_api || $loadlibrary_api || $dyld_api); then + if $dlopen_api || $shl_load_api || $loadlibrary_api || $dyld_api; then + true + else case "$canonical_host_type" in *-*-cygwin* | *-*-mingw* | *-*-msdosmsvc) loadlibrary_api=true; diff -r 3991a9f0fead -r c6a7b0453f9a scripts/ChangeLog --- a/scripts/ChangeLog Thu Feb 08 09:50:11 2007 +0000 +++ b/scripts/ChangeLog Thu Feb 08 19:04:38 2007 +0000 @@ -1,5 +1,9 @@ 2007-02-08 John W. Eaton + * plot/drawnow.m: Use gnuplot_binary() instead of just "gnuplot" + and check gnuplot_use_title_option instead of just assuming -title + works. From Michael Goffioul . + * Makefile.in (DISTFILES): Add move-if-change to the list. * audio/Makefile.in, control/base/Makefile.in, @@ -414,7 +418,7 @@ * sparse/normest.m: New file. -2006-12-06 Michael Goffioul . +2006-12-06 Michael Goffioul * miscellaneous/copyfile.m, miscellaneous/movefile.m: Work on Windows systems without cp or mv. diff -r 3991a9f0fead -r c6a7b0453f9a scripts/plot/drawnow.m --- a/scripts/plot/drawnow.m Thu Feb 08 09:50:11 2007 +0000 +++ b/scripts/plot/drawnow.m Thu Feb 08 19:04:38 2007 +0000 @@ -37,7 +37,11 @@ plot_stream = f.__plot_stream__; if (isempty (plot_stream)) - plot_stream = popen (sprintf ("gnuplot -title \"Figure %d\"", h), "w"); + cmd = gnuplot_binary (); + if (gnuplot_use_title_option ()) + cmd = sprintf ("%s -title \"Figure\" %s", cmd, h); + endif + plot_stream = popen (cmd, "w"); if (plot_stream < 0) error ("drawnow: failed to open connection to gnuplot"); else