Mercurial > hg > octave-thorsten
changeset 6821:b5d4d61d6bad
[project @ 2007-08-23 17:32:49 by jwe]
author | jwe |
---|---|
date | Thu, 23 Aug 2007 17:32:49 +0000 |
parents | 65d0fa83261a |
children | 5c4702203cc4 |
files | ChangeLog aclocal.m4 |
diffstat | 2 files changed, 7 insertions(+), 20 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-08-23 Thomas Weber <thomas.weber.mail@gmail.com> + + * aclocal.m4 (OCTAVE_PROG_GNUPLOT): Drop check for multiple plot + windows. + 2007-08-10 Søren Hauberg <hauberg@gmail.com> * ROADMAP: Update for current sources.
--- a/aclocal.m4 +++ b/aclocal.m4 @@ -474,7 +474,7 @@ fi ]) dnl -dnl Does gnuplot exist? Is it a recent version? +dnl Does gnuplot exist? dnl AC_DEFUN(OCTAVE_PROG_GNUPLOT, [ case "$canonical_host_type" in @@ -487,28 +487,11 @@ gp_default=gnuplot ;; esac -GNUPLOT_HAS_FRAMES=1 if test "$cross_compiling" = yes; then AC_MSG_RESULT(assuming $GNUPLOT_BINARY exists on $canonical_host_type host) - AC_MSG_RESULT(assuming $GNUPLOT_BINARY supports multiple frams) else AC_CHECK_PROGS(GNUPLOT_BINARY, $gp_names) - if test -n "$GNUPLOT_BINARY"; then - AC_MSG_CHECKING([to see if your gnuplot supports multiplot]) - if test -z "`echo 'set term unknown; set multiplot' | \ - $GNUPLOT_BINARY 2>&1`"; then - AC_MSG_RESULT([yes]) - else - AC_MSG_RESULT([no]) - fi - AC_MSG_CHECKING([to see if your gnuplot supports multiple plot windows]) - if test -z "`echo 'set term x11 2' | $GNUPLOT_BINARY 2>&1`"; then - AC_MSG_RESULT([yes]) - else - GNUPLOT_HAS_FRAMES= - AC_MSG_RESULT([no]) - fi - else + if test -z "$GNUPLOT_BINARY"; then warn_gnuplot=yes GNUPLOT_BINARY="$gp_default" @@ -531,7 +514,6 @@ fi fi AC_DEFINE_UNQUOTED(GNUPLOT_BINARY, "$GNUPLOT_BINARY", [Name of gnuplot program.]) -AC_DEFINE_UNQUOTED(GNUPLOT_HAS_FRAMES, $GNUPLOT_HAS_FRAMES, [Define if your gnuplot program supports multiple plot windows.]) ]) dnl dnl Is gperf installed?