# HG changeset patch # User jwe # Date 845664340 0 # Node ID d64502c628406aa0bb97f89393d6f7c3294c152c # Parent 449f35baba4974036c99c62933529cfb28cdfae3 [project @ 1996-10-18 18:45:26 by jwe] diff --git a/ChangeLog b/ChangeLog --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Fri Oct 18 12:23:57 1996 John W. Eaton + + * configure.in: Don't comment out substitutions for plplot stuff. + Wed Oct 16 12:01:37 1996 John W. Eaton * examples/Makefile.in (install): New target. diff --git a/configure.in b/configure.in --- 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.218 $) +AC_REVISION($Revision: 1.219 $) AC_PREREQ(2.9) AC_INIT(src/octave.cc) AC_CONFIG_HEADER(config.h) @@ -167,8 +167,8 @@ dnl if $USE_PLPLOT; then dnl AC_DEFINE(USE_PLPLOT, 1) dnl fi -dnl AC_SUBST(LIBPLPLOT) -dnl AC_SUBST(PLPLOT_DIR) +AC_SUBST(LIBPLPLOT) +AC_SUBST(PLPLOT_DIR) ### Allow the user disable support for command line editing using GNU ### readline. diff --git a/src/ChangeLog b/src/ChangeLog --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +Fri Oct 18 13:44:33 1996 John W. Eaton + + * ov.h (octave_value::index): Call maybe_mutate() on retval before + returning it. + Wed Oct 16 12:00:11 1996 John W. Eaton * ov.h (octave_value::struct_elt_val): New optional arg, silent. diff --git a/src/ov.h b/src/ov.h --- a/src/ov.h +++ b/src/ov.h @@ -182,7 +182,11 @@ { return rep->try_narrowing_conversion (); } virtual octave_value index (const octave_value_list& idx) const - { return rep->index (idx); } + { + octave_value retval = rep->index (idx); + retval.maybe_mutate (); + return retval; + } octave_value& assign (const octave_value_list& idx, const octave_value& rhs);