# HG changeset patch # User jwe # Date 812679816 0 # Node ID 9300d1a832f0dcf31de59d6393c021ec2ee1f110 # Parent 47bab2f5363f67504abed32e2dd4c3a2ef00d461 [project @ 1995-10-03 00:23:22 by jwe] diff -r 47bab2f5363f -r 9300d1a832f0 acconfig.h --- a/acconfig.h Mon Oct 02 10:10:44 1995 +0000 +++ b/acconfig.h Tue Oct 03 00:23:36 1995 +0000 @@ -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 diff -r 47bab2f5363f -r 9300d1a832f0 configure.in --- a/configure.in Mon Oct 02 10:10:44 1995 +0000 +++ b/configure.in Tue Oct 03 00:23:36 1995 +0000 @@ -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.])