Mercurial > octave
diff aclocal.m4 @ 7361:a2870fd8ac58
[project @ 2008-01-12 07:50:54 by jwe]
author | jwe |
---|---|
date | Sat, 12 Jan 2008 07:50:55 +0000 |
parents | 5a9561046b89 |
children | 13871b7de124 |
line wrap: on
line diff
--- a/aclocal.m4 Fri Jan 11 02:59:02 2008 +0000 +++ b/aclocal.m4 Sat Jan 12 07:50:55 2008 +0000 @@ -502,13 +502,14 @@ ;; esac if test "$cross_compiling" = yes; then - AC_MSG_RESULT(assuming $GNUPLOT_BINARY exists on $canonical_host_type host) + GNUPLOT="$gp_default" + AC_MSG_RESULT(assuming $GNUPLOT exists on $canonical_host_type host) else - AC_CHECK_PROGS(GNUPLOT_BINARY, $gp_names) - if test -z "$GNUPLOT_BINARY"; then + AC_CHECK_PROGS(GNUPLOT, $gp_names) + if test -z "$GNUPLOT"; then warn_gnuplot=yes - GNUPLOT_BINARY="$gp_default" + GNUPLOT="$gp_default" ## If you change this text, be sure to also copy it to the set of ## warnings at the end of the script @@ -524,10 +525,10 @@ AC_MSG_WARN([]) AC_MSG_WARN([at the Octave prompt.]) AC_MSG_WARN([]) - AC_MSG_WARN([Setting default value to $GNUPLOT_BINARY]) + AC_MSG_WARN([Setting default value to $GNUPLOT]) fi fi -AC_DEFINE_UNQUOTED(GNUPLOT_BINARY, "$GNUPLOT_BINARY", [Name of gnuplot program.]) +AC_SUBST(GNUPLOT) ]) dnl dnl Is gperf installed?