Mercurial > hg > octave-avbm
changeset 1500:9300d1a832f0
[project @ 1995-10-03 00:23:22 by jwe]
author | jwe |
---|---|
date | Tue, 03 Oct 1995 00:23:36 +0000 |
parents | 47bab2f5363f |
children | a0ee25989b08 |
files | acconfig.h configure.in |
diffstat | 2 files changed, 12 insertions(+), 28 deletions(-) [+] |
line wrap: on
line diff
--- a/acconfig.h +++ b/acconfig.h @@ -6,9 +6,6 @@ Leave the following blank line there!! Autoheader needs it. */ -/* Define if your math.h declares struct exception for matherr() */ -#undef EXCEPTION_IN_MATH - /* Define if your Fortran compiler appends an underscore to external names. */ #undef F77_APPEND_UNDERSCORE @@ -20,29 +17,8 @@ /* Define if you don't have FSQP. */ #undef FSQP_MISSING -/* Define if your system has a single-arg prototype for gettimeofday. */ -#undef GETTIMEOFDAY_NO_TZ - -/* Define if you have finite. */ -#undef HAVE_FINITE - -/* Define if you have isinf. */ -#undef HAVE_ISINF - -/* Define if you have isnan. */ -#undef HAVE_ISNAN - -/* Define if you have sgtty.h. */ -#undef HAVE_SGTTY_H - -/* Define if your system has a sys_siglist variable. */ -#undef HAVE_SYS_SIGLIST - -/* Define if you have termios.h. */ -#undef HAVE_TERMIOS_H - -/* Define if you have termio.h. */ -#undef HAVE_TERMIO_H +/* Define if your gnuplot has mutliplot. */ +#undef GNUPLOT_HAS_MULTIPLOT /* Define if you don't have NPSOL. */ #undef NPSOL_MISSING
--- a/configure.in +++ b/configure.in @@ -20,7 +20,7 @@ ### along with Octave; see the file COPYING. If not, write to the Free ### Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -AC_REVISION($Revision: 1.140 $) +AC_REVISION($Revision: 1.141 $) AC_PREREQ(2.0) AC_INIT(src/octave.cc) AC_CONFIG_HEADER(config.h) @@ -754,7 +754,15 @@ AC_PROG_INSTALL AC_CHECK_PROG(GNUPLOT_BINARY, gnuplot, gnuplot, []) -if test -z "$GNUPLOT_BINARY"; then +if test -n "$GNUPLOT_BINARY"; then + AC_MSG_CHECKING([to see if your gnuplot supports multiplot]) + if test -z "`echo 'set multiplot' | gnuplot 2>&1`"; then + AC_MSG_RESULT([yes]) + AC_DEFINE(GNUPLOT_HAS_MULTIPLOT, 1) + else + AC_MSG_RESULT([no]) + fi +else AC_MSG_WARN([I didn't find gnuplot. It isn't necessary to have gnuplot]) AC_MSG_WARN([installed, but you won't be able to use any of Octave's]) AC_MSG_WARN([plotting commands without it.])