#! /bin/sh # # To apply this patch, cd to the top level Octave source directory and # run this file through /bin/sh. It will first remove any files that # have been deleted from the source distribution since the last # release and then update the sources with patch(1). # # Diffs for updating *.ps, *.dvi, *.info*, and *.html files are not # included because they can be recreated from the Texinfo files using # TeX, makeinfo, or texi2html. # # Diffs for updating parse.cc and y.tab.h are not included because # they can be recreated from the file parse.y using bison. # # Diffs for updating lex.cc are not included because it can be # recreated from lex.l using flex. # # John W. Eaton # jwe@bevo.che.wisc.edu # University of Wisconsin-Madison # Department of Chemical Engineering if test -f src/octave.cc ; then true else echo '***********************************************************' 1>&2 echo 'You must run this script in the top-level octave directory!' 1>&2 echo '***********************************************************' 1>&2 exit 1 fi ### ### Special commands should go here. ### echo 'patching existing files' patch -p1 << \PATCH_EOF diff -cNr octave-2.0.15/ChangeLog octave-2.0.16/ChangeLog *** octave-2.0.15/ChangeLog Mon Jan 10 18:03:57 2000 --- octave-2.0.16/ChangeLog Tue Jan 25 15:21:53 2000 *************** *** 1,3 **** --- 1,16 ---- + 2000-01-25 John W. Eaton + + * configure.in: Don't look for the sunmath library. + Don't check for infinity or quiet_nan. + + * emacs/octave-mod.el (octave-mode-syntax-table): + Undo previous change, but add a comment explaining why. + + 2000-01-24 John W. Eaton + + * emacs/octave-mod.el (octave-mode-syntax-table): + Make `%' a comment start character too. + 2000-01-10 John W. Eaton * Version 2.0.15 released. diff -cNr octave-2.0.15/INSTALL.OCTAVE octave-2.0.16/INSTALL.OCTAVE *** octave-2.0.15/INSTALL.OCTAVE Thu May 14 21:03:46 1998 --- octave-2.0.16/INSTALL.OCTAVE Sat Jan 29 20:27:00 2000 *************** *** 44,50 **** is needed to build shared versions of version 2.7.2 of `libstdc++' on the HP-PA architecture. You can find the patch at ! `ftp://ftp.cygnus.com/pub/g++/libg++-2.7.2-hppa-gcc-fix'. `--enable-dl' Use `dlopen' and friends to make Octave capable of dynamically --- 44,50 ---- is needed to build shared versions of version 2.7.2 of `libstdc++' on the HP-PA architecture. You can find the patch at ! . `--enable-dl' Use `dlopen' and friends to make Octave capable of dynamically *************** *** 106,120 **** GNU Make, `gcc', and `libstdc++', `gnuplot', `bison', `flex', and Texinfo are all available from many anonymous ftp archives. The ! primary site is `ftp.gnu.org', but it is often very busy. A list ! of sites that mirror the software on `ftp.gnu.org' is available by ! anonymous ftp from `ftp://ftp.gnu.org/pub/gnu/GNUinfo/FTP'. If you don't have a Fortran compiler, or if your Fortran compiler doesn't work like the traditional Unix f77, you will need to have the Fortran to C translator `f2c'. You can get `f2c' from any number of anonymous ftp archives. The most recent version of `f2c' ! is always available from `netlib.att.com'. On an otherwise idle Pentium 133 running Linux, it will take somewhere between 1-1/2 to 3 hours to compile everything, --- 106,120 ---- GNU Make, `gcc', and `libstdc++', `gnuplot', `bison', `flex', and Texinfo are all available from many anonymous ftp archives. The ! primary site is , but it is often very busy. A list ! of sites that mirror the software on is available by ! anonymous ftp from . If you don't have a Fortran compiler, or if your Fortran compiler doesn't work like the traditional Unix f77, you will need to have the Fortran to C translator `f2c'. You can get `f2c' from any number of anonymous ftp archives. The most recent version of `f2c' ! is always available from . On an otherwise idle Pentium 133 running Linux, it will take somewhere between 1-1/2 to 3 hours to compile everything, *************** *** 211,217 **** You should probably have a shared version of `libstdc++'. A patch is needed to build shared versions of version 2.7.2 of `libstdc++' on the HP-PA architecture. You can find the patch at ! `ftp://ftp.cygnus.com/pub/g++/libg++-2.7.2-hppa-gcc-fix'. * On FreeBSD systems Octave may hang while initializing some internal constants. The fix appears to be to use --- 211,223 ---- You should probably have a shared version of `libstdc++'. A patch is needed to build shared versions of version 2.7.2 of `libstdc++' on the HP-PA architecture. You can find the patch at ! . ! ! * On some alpha systems there may be a problem with the `libdxml' ! library, resulting in floating point errors and/or segmentation ! faults in the linear algebra routines called by Octave. If you ! encounter such problems, then you should modify the configure ! script so that `SPECIAL_MATH_LIB' is not set to `-ldxml'. * On FreeBSD systems Octave may hang while initializing some internal constants. The fix appears to be to use *************** *** 374,380 **** using Octave immediately, without having to bother with the details of compiling it first. This is understandable, so I try to maintain a current collection of binary distributions at ! `ftp://ftp.che.wisc.edu/pub/octave/BINARIES'. Please understand, however, that there is only a limited amount of time available to devote to making binaries, so binaries may not be --- 380,386 ---- using Octave immediately, without having to bother with the details of compiling it first. This is understandable, so I try to maintain a current collection of binary distributions at ! . Please understand, however, that there is only a limited amount of time available to devote to making binaries, so binaries may not be *************** *** 456,479 **** Here is how to build a binary distribution for others to use. If you want to make a binary distribution for your system available along with ! the Octave sources and binaries on `ftp.che.wisc.edu', please follow this procedure. For directions explaining how to make the binary available on the ftp site, please contact . * Unpack the source distribution: ! gunzip -c octave-2.0.11.tar.gz | tar xf - * Change your current directory to the top-level directory of the source distribution: ! cd octave-2.0.11 * Make the binary distribution: make binary-dist This will create a compressed tar file ready for distribution. It ! will have a name like `octave-2.0.11-i586-pc-linux-gnu.tar.gz' --- 462,485 ---- Here is how to build a binary distribution for others to use. If you want to make a binary distribution for your system available along with ! the Octave sources and binaries on , please follow this procedure. For directions explaining how to make the binary available on the ftp site, please contact . * Unpack the source distribution: ! gunzip -c octave-2.0.13.tar.gz | tar xf - * Change your current directory to the top-level directory of the source distribution: ! cd octave-2.0.13 * Make the binary distribution: make binary-dist This will create a compressed tar file ready for distribution. It ! will have a name like `octave-2.0.13-i586-pc-linux-gnu.tar.gz' diff -cNr octave-2.0.15/config.h.in octave-2.0.16/config.h.in *** octave-2.0.15/config.h.in Wed Nov 3 21:25:41 1999 --- octave-2.0.16/config.h.in Sat Jan 29 20:26:09 2000 *************** *** 331,339 **** /* Define if you have the glob function. */ #undef HAVE_GLOB - /* Define if you have the infinity function. */ - #undef HAVE_INFINITY - /* Define if you have the isinf function. */ #undef HAVE_ISINF --- 331,336 ---- *************** *** 361,369 **** /* Define if you have the putenv function. */ #undef HAVE_PUTENV - /* Define if you have the quiet_nan function. */ - #undef HAVE_QUIET_NAN - /* Define if you have the rename function. */ #undef HAVE_RENAME --- 358,363 ---- *************** *** 582,590 **** /* Define if you have the sun library (-lsun). */ #undef HAVE_LIBSUN - - /* Define if you have the sunmath library (-lsunmath). */ - #undef HAVE_LIBSUNMATH #if defined (__GNUC__) #define GCC_ATTR_NORETURN __attribute__ ((__noreturn__)) --- 576,581 ---- diff -cNr octave-2.0.15/configure octave-2.0.16/configure *** octave-2.0.15/configure Mon Jan 10 18:10:21 2000 --- octave-2.0.16/configure Sat Jan 29 20:26:06 2000 *************** *** 4755,4814 **** fi - ### Check to see if we have IEEE math functions, and if so, which ones. - ### - ### Also check for some additional trig functions that aren't ANSI but - ### are often available. If they are missing, we try to replace them - ### with functions from the BSD/NET2 math library. - - echo $ac_n "checking for quiet_nan in -lsunmath""... $ac_c" 1>&6 - echo "configure:4766: checking for quiet_nan in -lsunmath" >&5 - ac_lib_var=`echo sunmath'_'quiet_nan | sed 'y%./+-%__p_%'` - if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 - else - ac_save_LIBS="$LIBS" - LIBS="-lsunmath $LIBS" - cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then - rm -rf conftest* - eval "ac_cv_lib_$ac_lib_var=yes" - else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_lib_$ac_lib_var=no" - fi - rm -f conftest* - LIBS="$ac_save_LIBS" - - fi - if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then - echo "$ac_t""yes" 1>&6 - ac_tr_lib=HAVE_LIB`echo sunmath | sed -e 's/[^a-zA-Z0-9_]/_/g' \ - -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` - cat >> confdefs.h <&6 - fi - - ### I am told that Inf and NaN don't work on m68k HP sytems, and that ### on SCO systems, isnan and isinf don't work, but they can be ### replaced by something that does. --- 4755,4760 ---- *************** *** 4834,4848 **** ;; *) ! for ac_func in finite isnan isinf infinity quiet_nan do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 ! echo "configure:4841: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&6 ! echo "configure:4787: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else --- 4811,4817 ---- ; return 0; } EOF ! if { (eval echo configure:4815: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else *************** *** 4897,4908 **** for ac_func in acosh asinh atanh erf erfc do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 ! echo "configure:4901: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&6 ! echo "configure:4847: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else --- 4871,4877 ---- ; return 0; } EOF ! if { (eval echo configure:4875: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else *************** *** 4953,4964 **** ### Checks for OS specific cruft. echo $ac_n "checking for st_blksize in struct stat""... $ac_c" 1>&6 ! echo "configure:4957: checking for st_blksize in struct stat" >&5 if eval "test \"`echo '$''{'ac_cv_struct_st_blksize'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include --- 4899,4910 ---- ### Checks for OS specific cruft. echo $ac_n "checking for st_blksize in struct stat""... $ac_c" 1>&6 ! echo "configure:4903: checking for st_blksize in struct stat" >&5 if eval "test \"`echo '$''{'ac_cv_struct_st_blksize'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include *************** *** 4966,4972 **** struct stat s; s.st_blksize; ; return 0; } EOF ! if { (eval echo configure:4970: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_struct_st_blksize=yes else --- 4912,4918 ---- struct stat s; s.st_blksize; ; return 0; } EOF ! if { (eval echo configure:4916: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_struct_st_blksize=yes else *************** *** 4987,4998 **** fi echo $ac_n "checking for st_blocks in struct stat""... $ac_c" 1>&6 ! echo "configure:4991: checking for st_blocks in struct stat" >&5 if eval "test \"`echo '$''{'ac_cv_struct_st_blocks'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include --- 4933,4944 ---- fi echo $ac_n "checking for st_blocks in struct stat""... $ac_c" 1>&6 ! echo "configure:4937: checking for st_blocks in struct stat" >&5 if eval "test \"`echo '$''{'ac_cv_struct_st_blocks'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include *************** *** 5000,5006 **** struct stat s; s.st_blocks; ; return 0; } EOF ! if { (eval echo configure:5004: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_struct_st_blocks=yes else --- 4946,4952 ---- struct stat s; s.st_blocks; ; return 0; } EOF ! if { (eval echo configure:4950: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_struct_st_blocks=yes else *************** *** 5023,5034 **** fi echo $ac_n "checking for st_rdev in struct stat""... $ac_c" 1>&6 ! echo "configure:5027: checking for st_rdev in struct stat" >&5 if eval "test \"`echo '$''{'ac_cv_struct_st_rdev'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include --- 4969,4980 ---- fi echo $ac_n "checking for st_rdev in struct stat""... $ac_c" 1>&6 ! echo "configure:4973: checking for st_rdev in struct stat" >&5 if eval "test \"`echo '$''{'ac_cv_struct_st_rdev'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include *************** *** 5036,5042 **** struct stat s; s.st_rdev; ; return 0; } EOF ! if { (eval echo configure:5040: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_struct_st_rdev=yes else --- 4982,4988 ---- struct stat s; s.st_rdev; ; return 0; } EOF ! if { (eval echo configure:4986: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_struct_st_rdev=yes else *************** *** 5057,5068 **** fi echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 ! echo "configure:5061: checking whether struct tm is in sys/time.h or time.h" >&5 if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include --- 5003,5014 ---- fi echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 ! echo "configure:5007: checking whether struct tm is in sys/time.h or time.h" >&5 if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include *************** *** 5070,5076 **** struct tm *tp; tp->tm_sec; ; return 0; } EOF ! if { (eval echo configure:5074: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_struct_tm=time.h else --- 5016,5022 ---- struct tm *tp; tp->tm_sec; ; return 0; } EOF ! if { (eval echo configure:5020: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_struct_tm=time.h else *************** *** 5091,5102 **** fi echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 ! echo "configure:5095: checking for tm_zone in struct tm" >&5 if eval "test \"`echo '$''{'ac_cv_struct_tm_zone'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include <$ac_cv_struct_tm> --- 5037,5048 ---- fi echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 ! echo "configure:5041: checking for tm_zone in struct tm" >&5 if eval "test \"`echo '$''{'ac_cv_struct_tm_zone'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include <$ac_cv_struct_tm> *************** *** 5104,5110 **** struct tm tm; tm.tm_zone; ; return 0; } EOF ! if { (eval echo configure:5108: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_struct_tm_zone=yes else --- 5050,5056 ---- struct tm tm; tm.tm_zone; ; return 0; } EOF ! if { (eval echo configure:5054: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_struct_tm_zone=yes else *************** *** 5124,5135 **** else echo $ac_n "checking for tzname""... $ac_c" 1>&6 ! echo "configure:5128: checking for tzname" >&5 if eval "test \"`echo '$''{'ac_cv_var_tzname'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #ifndef tzname /* For SGI. */ --- 5070,5081 ---- else echo $ac_n "checking for tzname""... $ac_c" 1>&6 ! echo "configure:5074: checking for tzname" >&5 if eval "test \"`echo '$''{'ac_cv_var_tzname'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #ifndef tzname /* For SGI. */ *************** *** 5139,5145 **** atoi(*tzname); ; return 0; } EOF ! if { (eval echo configure:5143: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* ac_cv_var_tzname=yes else --- 5085,5091 ---- atoi(*tzname); ; return 0; } EOF ! if { (eval echo configure:5089: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* ac_cv_var_tzname=yes else *************** *** 5161,5167 **** fi echo $ac_n "checking whether closedir returns void""... $ac_c" 1>&6 ! echo "configure:5165: checking whether closedir returns void" >&5 if eval "test \"`echo '$''{'ac_cv_func_closedir_void'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else --- 5107,5113 ---- fi echo $ac_n "checking whether closedir returns void""... $ac_c" 1>&6 ! echo "configure:5111: checking whether closedir returns void" >&5 if eval "test \"`echo '$''{'ac_cv_func_closedir_void'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else *************** *** 5169,5181 **** ac_cv_func_closedir_void=yes else cat > conftest.$ac_ext < #include <$ac_header_dirent> int closedir(); main() { exit(closedir(opendir(".")) != 0); } EOF ! if { (eval echo configure:5179: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null then ac_cv_func_closedir_void=no else --- 5115,5127 ---- ac_cv_func_closedir_void=yes else cat > conftest.$ac_ext < #include <$ac_header_dirent> int closedir(); main() { exit(closedir(opendir(".")) != 0); } EOF ! if { (eval echo configure:5125: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null then ac_cv_func_closedir_void=no else *************** *** 5199,5210 **** echo $ac_n "checking for gr_passwd in struct group""... $ac_c" 1>&6 ! echo "configure:5203: checking for gr_passwd in struct group" >&5 if eval "test \"`echo '$''{'octave_cv_struct_gr_passwd'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include --- 5145,5156 ---- echo $ac_n "checking for gr_passwd in struct group""... $ac_c" 1>&6 ! echo "configure:5149: checking for gr_passwd in struct group" >&5 if eval "test \"`echo '$''{'octave_cv_struct_gr_passwd'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include *************** *** 5212,5218 **** struct group s; s.gr_passwd; ; return 0; } EOF ! if { (eval echo configure:5216: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* octave_cv_struct_gr_passwd=yes else --- 5158,5164 ---- struct group s; s.gr_passwd; ; return 0; } EOF ! if { (eval echo configure:5162: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* octave_cv_struct_gr_passwd=yes else *************** *** 5236,5242 **** TERMLIBS="" for termlib in ncurses curses termcap terminfo termlib; do echo $ac_n "checking for tputs in -l${termlib}""... $ac_c" 1>&6 ! echo "configure:5240: checking for tputs in -l${termlib}" >&5 ac_lib_var=`echo ${termlib}'_'tputs | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 --- 5182,5188 ---- TERMLIBS="" for termlib in ncurses curses termcap terminfo termlib; do echo $ac_n "checking for tputs in -l${termlib}""... $ac_c" 1>&6 ! echo "configure:5186: checking for tputs in -l${termlib}" >&5 ac_lib_var=`echo ${termlib}'_'tputs | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 *************** *** 5244,5250 **** ac_save_LIBS="$LIBS" LIBS="-l${termlib} $LIBS" cat > conftest.$ac_ext < conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else --- 5201,5207 ---- tputs() ; return 0; } EOF ! if { (eval echo configure:5205: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else *************** *** 5296,5311 **** fi echo $ac_n "checking for struct exception in math.h""... $ac_c" 1>&6 ! echo "configure:5300: checking for struct exception in math.h" >&5 cat > conftest.$ac_ext < int main() { struct exception *x; x->type; x->name; ; return 0; } EOF ! if { (eval echo configure:5309: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* echo "$ac_t""yes" 1>&6 cat >> confdefs.h <<\EOF --- 5242,5257 ---- fi echo $ac_n "checking for struct exception in math.h""... $ac_c" 1>&6 ! echo "configure:5246: checking for struct exception in math.h" >&5 cat > conftest.$ac_ext < int main() { struct exception *x; x->type; x->name; ; return 0; } EOF ! if { (eval echo configure:5255: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* echo "$ac_t""yes" 1>&6 cat >> confdefs.h <<\EOF *************** *** 5323,5334 **** ### Signal stuff. echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 ! echo "configure:5327: checking return type of signal handlers" >&5 if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include --- 5269,5280 ---- ### Signal stuff. echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 ! echo "configure:5273: checking return type of signal handlers" >&5 if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include *************** *** 5345,5351 **** int i; ; return 0; } EOF ! if { (eval echo configure:5349: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_type_signal=void else --- 5291,5297 ---- int i; ; return 0; } EOF ! if { (eval echo configure:5295: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_type_signal=void else *************** *** 5364,5375 **** echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 ! echo "configure:5368: checking for sys_siglist declaration in signal.h or unistd.h" >&5 if eval "test \"`echo '$''{'ac_cv_decl_sys_siglist'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include --- 5310,5321 ---- echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 ! echo "configure:5314: checking for sys_siglist declaration in signal.h or unistd.h" >&5 if eval "test \"`echo '$''{'ac_cv_decl_sys_siglist'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include *************** *** 5381,5387 **** char *msg = *(sys_siglist + 1); ; return 0; } EOF ! if { (eval echo configure:5385: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_decl_sys_siglist=yes else --- 5327,5333 ---- char *msg = *(sys_siglist + 1); ; return 0; } EOF ! if { (eval echo configure:5331: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_decl_sys_siglist=yes else *************** *** 5402,5417 **** fi echo $ac_n "checking for sys_siglist variable""... $ac_c" 1>&6 ! echo "configure:5406: checking for sys_siglist variable" >&5 cat > conftest.$ac_ext < int main() { extern char *sys_siglist[]; printf ("%s\n", sys_siglist[1]); ; return 0; } EOF ! if { (eval echo configure:5415: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* echo "$ac_t""yes" 1>&6 cat >> confdefs.h <<\EOF --- 5348,5363 ---- fi echo $ac_n "checking for sys_siglist variable""... $ac_c" 1>&6 ! echo "configure:5352: checking for sys_siglist variable" >&5 cat > conftest.$ac_ext < int main() { extern char *sys_siglist[]; printf ("%s\n", sys_siglist[1]); ; return 0; } EOF ! if { (eval echo configure:5361: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* echo "$ac_t""yes" 1>&6 cat >> confdefs.h <<\EOF *************** *** 5427,5439 **** rm -f conftest* echo $ac_n "checking for type of signal functions""... $ac_c" 1>&6 ! echo "configure:5431: checking for type of signal functions" >&5 if eval "test \"`echo '$''{'octave_cv_signal_vintage'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < int main() { --- 5373,5385 ---- rm -f conftest* echo $ac_n "checking for type of signal functions""... $ac_c" 1>&6 ! echo "configure:5377: checking for type of signal functions" >&5 if eval "test \"`echo '$''{'octave_cv_signal_vintage'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < int main() { *************** *** 5446,5452 **** ; return 0; } EOF ! if { (eval echo configure:5450: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* octave_cv_signal_vintage=posix else --- 5392,5398 ---- ; return 0; } EOF ! if { (eval echo configure:5396: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* octave_cv_signal_vintage=posix else *************** *** 5455,5461 **** rm -rf conftest* cat > conftest.$ac_ext < int main() { --- 5401,5407 ---- rm -rf conftest* cat > conftest.$ac_ext < int main() { *************** *** 5465,5471 **** ; return 0; } EOF ! if { (eval echo configure:5469: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* octave_cv_signal_vintage=4.2bsd else --- 5411,5417 ---- ; return 0; } EOF ! if { (eval echo configure:5415: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* octave_cv_signal_vintage=4.2bsd else *************** *** 5474,5480 **** rm -rf conftest* cat > conftest.$ac_ext < --- 5420,5426 ---- rm -rf conftest* cat > conftest.$ac_ext < *************** *** 5487,5493 **** ; return 0; } EOF ! if { (eval echo configure:5491: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* octave_cv_signal_vintage=svr3 else --- 5433,5439 ---- ; return 0; } EOF ! if { (eval echo configure:5437: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* octave_cv_signal_vintage=svr3 else *************** *** 5528,5534 **** echo $ac_n "checking if signal handlers must be reinstalled when invoked""... $ac_c" 1>&6 ! echo "configure:5532: checking if signal handlers must be reinstalled when invoked" >&5 if eval "test \"`echo '$''{'octave_cv_must_reinstall_sighandlers'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else --- 5474,5480 ---- echo $ac_n "checking if signal handlers must be reinstalled when invoked""... $ac_c" 1>&6 ! echo "configure:5478: checking if signal handlers must be reinstalled when invoked" >&5 if eval "test \"`echo '$''{'octave_cv_must_reinstall_sighandlers'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else *************** *** 5540,5546 **** fi else cat > conftest.$ac_ext < --- 5486,5492 ---- fi else cat > conftest.$ac_ext < *************** *** 5582,5588 **** } EOF ! if { (eval echo configure:5586: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null then octave_cv_must_reinstall_sighandlers=no else --- 5528,5534 ---- } EOF ! if { (eval echo configure:5532: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null then octave_cv_must_reinstall_sighandlers=no else *************** *** 5612,5623 **** ### Type stuff. echo $ac_n "checking for mode_t""... $ac_c" 1>&6 ! echo "configure:5616: checking for mode_t" >&5 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #if STDC_HEADERS --- 5558,5569 ---- ### Type stuff. echo $ac_n "checking for mode_t""... $ac_c" 1>&6 ! echo "configure:5562: checking for mode_t" >&5 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #if STDC_HEADERS *************** *** 5645,5656 **** fi echo $ac_n "checking for off_t""... $ac_c" 1>&6 ! echo "configure:5649: checking for off_t" >&5 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #if STDC_HEADERS --- 5591,5602 ---- fi echo $ac_n "checking for off_t""... $ac_c" 1>&6 ! echo "configure:5595: checking for off_t" >&5 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #if STDC_HEADERS *************** *** 5678,5689 **** fi echo $ac_n "checking for pid_t""... $ac_c" 1>&6 ! echo "configure:5682: checking for pid_t" >&5 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #if STDC_HEADERS --- 5624,5635 ---- fi echo $ac_n "checking for pid_t""... $ac_c" 1>&6 ! echo "configure:5628: checking for pid_t" >&5 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #if STDC_HEADERS *************** *** 5711,5722 **** fi echo $ac_n "checking for size_t""... $ac_c" 1>&6 ! echo "configure:5715: checking for size_t" >&5 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #if STDC_HEADERS --- 5657,5668 ---- fi echo $ac_n "checking for size_t""... $ac_c" 1>&6 ! echo "configure:5661: checking for size_t" >&5 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #if STDC_HEADERS *************** *** 5744,5755 **** fi echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 ! echo "configure:5748: checking for uid_t in sys/types.h" >&5 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF --- 5690,5701 ---- fi echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 ! echo "configure:5694: checking for uid_t in sys/types.h" >&5 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF *************** *** 5778,5789 **** fi echo $ac_n "checking for dev_t""... $ac_c" 1>&6 ! echo "configure:5782: checking for dev_t" >&5 if eval "test \"`echo '$''{'ac_cv_type_dev_t'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #if STDC_HEADERS --- 5724,5735 ---- fi echo $ac_n "checking for dev_t""... $ac_c" 1>&6 ! echo "configure:5728: checking for dev_t" >&5 if eval "test \"`echo '$''{'ac_cv_type_dev_t'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #if STDC_HEADERS *************** *** 5811,5822 **** fi echo $ac_n "checking for ino_t""... $ac_c" 1>&6 ! echo "configure:5815: checking for ino_t" >&5 if eval "test \"`echo '$''{'ac_cv_type_ino_t'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #if STDC_HEADERS --- 5757,5768 ---- fi echo $ac_n "checking for ino_t""... $ac_c" 1>&6 ! echo "configure:5761: checking for ino_t" >&5 if eval "test \"`echo '$''{'ac_cv_type_ino_t'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #if STDC_HEADERS *************** *** 5844,5855 **** fi echo $ac_n "checking for nlink_t""... $ac_c" 1>&6 ! echo "configure:5848: checking for nlink_t" >&5 if eval "test \"`echo '$''{'ac_cv_type_nlink_t'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #if STDC_HEADERS --- 5790,5801 ---- fi echo $ac_n "checking for nlink_t""... $ac_c" 1>&6 ! echo "configure:5794: checking for nlink_t" >&5 if eval "test \"`echo '$''{'ac_cv_type_nlink_t'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #if STDC_HEADERS *************** *** 5877,5888 **** fi echo $ac_n "checking for sigset_t""... $ac_c" 1>&6 ! echo "configure:5881: checking for sigset_t" >&5 if eval "test \"`echo '$''{'octave_cv_type_sigset_t'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #if STDC_HEADERS --- 5823,5834 ---- fi echo $ac_n "checking for sigset_t""... $ac_c" 1>&6 ! echo "configure:5827: checking for sigset_t" >&5 if eval "test \"`echo '$''{'octave_cv_type_sigset_t'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #if STDC_HEADERS *************** *** 5930,5941 **** for ac_func in getrusage times do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 ! echo "configure:5934: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&6 ! echo "configure:5880: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else --- 5904,5910 ---- ; return 0; } EOF ! if { (eval echo configure:5908: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else *************** *** 6029,6035 **** # Extract the first word of "flex", so it can be a program name with args. set dummy flex; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 ! echo "configure:6033: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else --- 5975,5981 ---- # Extract the first word of "flex", so it can be a program name with args. set dummy flex; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 ! echo "configure:5979: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else *************** *** 6062,6068 **** *) ac_lib=l ;; esac echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6 ! echo "configure:6066: checking for yywrap in -l$ac_lib" >&5 ac_lib_var=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 --- 6008,6014 ---- *) ac_lib=l ;; esac echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6 ! echo "configure:6012: checking for yywrap in -l$ac_lib" >&5 ac_lib_var=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 *************** *** 6070,6076 **** ac_save_LIBS="$LIBS" LIBS="-l$ac_lib $LIBS" cat > conftest.$ac_ext < conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else --- 6027,6033 ---- yywrap() ; return 0; } EOF ! if { (eval echo configure:6031: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else *************** *** 6123,6129 **** # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 ! echo "configure:6127: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else --- 6069,6075 ---- # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 ! echo "configure:6073: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else *************** *** 6162,6168 **** esac echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 ! echo "configure:6166: checking whether ln -s works" >&5 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else --- 6108,6114 ---- esac echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 ! echo "configure:6112: checking whether ln -s works" >&5 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else *************** *** 6191,6197 **** # Extract the first word of "runtest", so it can be a program name with args. set dummy runtest; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 ! echo "configure:6195: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_RUNTEST'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else --- 6137,6143 ---- # Extract the first word of "runtest", so it can be a program name with args. set dummy runtest; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 ! echo "configure:6141: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_RUNTEST'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else *************** *** 6235,6241 **** # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" # ./install, which can be erroneously created by make from ./install.sh. echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 ! echo "configure:6239: checking for a BSD compatible install" >&5 if test -z "$INSTALL"; then if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 --- 6181,6187 ---- # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" # ./install, which can be erroneously created by make from ./install.sh. echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 ! echo "configure:6185: checking for a BSD compatible install" >&5 if test -z "$INSTALL"; then if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 *************** *** 6305,6311 **** # Extract the first word of "gnuplot", so it can be a program name with args. set dummy gnuplot; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 ! echo "configure:6309: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_GNUPLOT_BINARY'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else --- 6251,6257 ---- # Extract the first word of "gnuplot", so it can be a program name with args. set dummy gnuplot; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 ! echo "configure:6255: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_GNUPLOT_BINARY'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else *************** *** 6332,6338 **** if test -n "$GNUPLOT_BINARY"; then echo $ac_n "checking to see if your gnuplot supports multiplot""... $ac_c" 1>&6 ! echo "configure:6336: checking to see if your gnuplot supports multiplot" >&5 if test -z "`echo 'set term unknown; set multiplot' | \ $GNUPLOT_BINARY 2>&1`"; then echo "$ac_t""yes" 1>&6 --- 6278,6284 ---- if test -n "$GNUPLOT_BINARY"; then echo $ac_n "checking to see if your gnuplot supports multiplot""... $ac_c" 1>&6 ! echo "configure:6282: checking to see if your gnuplot supports multiplot" >&5 if test -z "`echo 'set term unknown; set multiplot' | \ $GNUPLOT_BINARY 2>&1`"; then echo "$ac_t""yes" 1>&6 *************** *** 6344,6350 **** echo "$ac_t""no" 1>&6 fi echo $ac_n "checking to see if your gnuplot supports multiple plot windows""... $ac_c" 1>&6 ! echo "configure:6348: checking to see if your gnuplot supports multiple plot windows" >&5 if test -z "`echo 'set term x11 2' | $GNUPLOT_BINARY 2>&1`"; then echo "$ac_t""yes" 1>&6 cat >> confdefs.h <<\EOF --- 6290,6296 ---- echo "$ac_t""no" 1>&6 fi echo $ac_n "checking to see if your gnuplot supports multiple plot windows""... $ac_c" 1>&6 ! echo "configure:6294: checking to see if your gnuplot supports multiple plot windows" >&5 if test -z "`echo 'set term x11 2' | $GNUPLOT_BINARY 2>&1`"; then echo "$ac_t""yes" 1>&6 cat >> confdefs.h <<\EOF *************** *** 6390,6396 **** # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 ! echo "configure:6394: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_DEFAULT_PAGER'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else --- 6336,6342 ---- # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 ! echo "configure:6340: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_DEFAULT_PAGER'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else *************** *** 6461,6467 **** ac_safe=`echo "-Wall" | sed 'y%./+-%__p_%'` echo $ac_n "checking whether ${CC-cc} accepts -Wall""... $ac_c" 1>&6 ! echo "configure:6465: checking whether ${CC-cc} accepts -Wall" >&5 if eval "test \"`echo '$''{'octave_cv_cc_flag_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else --- 6407,6413 ---- ac_safe=`echo "-Wall" | sed 'y%./+-%__p_%'` echo $ac_n "checking whether ${CC-cc} accepts -Wall""... $ac_c" 1>&6 ! echo "configure:6411: checking whether ${CC-cc} accepts -Wall" >&5 if eval "test \"`echo '$''{'octave_cv_cc_flag_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else *************** *** 6477,6490 **** XCFLAGS="$CFLAGS" CFLAGS="$CFLAGS -Wall" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "octave_cv_cc_flag_$ac_safe=yes" else --- 6423,6436 ---- XCFLAGS="$CFLAGS" CFLAGS="$CFLAGS -Wall" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "octave_cv_cc_flag_$ac_safe=yes" else *************** *** 6515,6521 **** ac_safe=`echo "-Wall" | sed 'y%./+-%__p_%'` echo $ac_n "checking whether ${CXX-c++} accepts -Wall""... $ac_c" 1>&6 ! echo "configure:6519: checking whether ${CXX-c++} accepts -Wall" >&5 if eval "test \"`echo '$''{'octave_cv_cxx_flag_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else --- 6461,6467 ---- ac_safe=`echo "-Wall" | sed 'y%./+-%__p_%'` echo $ac_n "checking whether ${CXX-c++} accepts -Wall""... $ac_c" 1>&6 ! echo "configure:6465: checking whether ${CXX-c++} accepts -Wall" >&5 if eval "test \"`echo '$''{'octave_cv_cxx_flag_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else *************** *** 6531,6544 **** XCXXFLAGS="$CXXFLAGS" CXXFLAGS="$CXXFLAGS -Wall" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "octave_cv_cxx_flag_$ac_safe=yes" else --- 6477,6490 ---- XCXXFLAGS="$CXXFLAGS" CXXFLAGS="$CXXFLAGS -Wall" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "octave_cv_cxx_flag_$ac_safe=yes" else *************** *** 6590,6596 **** ac_safe=`echo "$flag" | sed 'y%./+-%__p_%'` echo $ac_n "checking whether ${CC-cc} accepts $flag""... $ac_c" 1>&6 ! echo "configure:6594: checking whether ${CC-cc} accepts $flag" >&5 if eval "test \"`echo '$''{'octave_cv_cc_flag_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else --- 6536,6542 ---- ac_safe=`echo "$flag" | sed 'y%./+-%__p_%'` echo $ac_n "checking whether ${CC-cc} accepts $flag""... $ac_c" 1>&6 ! echo "configure:6540: checking whether ${CC-cc} accepts $flag" >&5 if eval "test \"`echo '$''{'octave_cv_cc_flag_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else *************** *** 6606,6619 **** XCFLAGS="$CFLAGS" CFLAGS="$CFLAGS $flag" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "octave_cv_cc_flag_$ac_safe=yes" else --- 6552,6565 ---- XCFLAGS="$CFLAGS" CFLAGS="$CFLAGS $flag" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "octave_cv_cc_flag_$ac_safe=yes" else *************** *** 6645,6651 **** ac_safe=`echo "$flag" | sed 'y%./+-%__p_%'` echo $ac_n "checking whether ${CXX-c++} accepts $flag""... $ac_c" 1>&6 ! echo "configure:6649: checking whether ${CXX-c++} accepts $flag" >&5 if eval "test \"`echo '$''{'octave_cv_cxx_flag_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else --- 6591,6597 ---- ac_safe=`echo "$flag" | sed 'y%./+-%__p_%'` echo $ac_n "checking whether ${CXX-c++} accepts $flag""... $ac_c" 1>&6 ! echo "configure:6595: checking whether ${CXX-c++} accepts $flag" >&5 if eval "test \"`echo '$''{'octave_cv_cxx_flag_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else *************** *** 6661,6674 **** XCXXFLAGS="$CXXFLAGS" CXXFLAGS="$CXXFLAGS $flag" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "octave_cv_cxx_flag_$ac_safe=yes" else --- 6607,6620 ---- XCXXFLAGS="$CXXFLAGS" CXXFLAGS="$CXXFLAGS $flag" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "octave_cv_cxx_flag_$ac_safe=yes" else diff -cNr octave-2.0.15/configure.in octave-2.0.16/configure.in *** octave-2.0.15/configure.in Mon Nov 15 10:13:48 1999 --- octave-2.0.16/configure.in Tue Jan 25 15:20:40 2000 *************** *** 849,862 **** dnl fails, we try again by including math.h and invoking the function dnl with an argument. - ### Check to see if we have IEEE math functions, and if so, which ones. - ### - ### Also check for some additional trig functions that aren't ANSI but - ### are often available. If they are missing, we try to replace them - ### with functions from the BSD/NET2 math library. - - AC_CHECK_LIB(sunmath, quiet_nan) - ### I am told that Inf and NaN don't work on m68k HP sytems, and that ### on SCO systems, isnan and isinf don't work, but they can be ### replaced by something that does. --- 849,854 ---- *************** *** 873,879 **** AC_DEFINE(HAVE_ISNAN, 1) ;; *) ! AC_CHECK_FUNCS(finite isnan isinf infinity quiet_nan) ;; esac --- 865,871 ---- AC_DEFINE(HAVE_ISNAN, 1) ;; *) ! AC_CHECK_FUNCS(finite isnan isinf) ;; esac diff -cNr octave-2.0.15/doc/interpreter/install.texi octave-2.0.16/doc/interpreter/install.texi *** octave-2.0.15/doc/interpreter/install.texi Thu May 14 21:03:01 1998 --- octave-2.0.16/doc/interpreter/install.texi Thu Jan 20 02:35:19 2000 *************** *** 257,262 **** --- 257,269 ---- @url{ftp://ftp.cygnus.com/pub/g++/libg++-2.7.2-hppa-gcc-fix}. @item + On some alpha systems there may be a problem with the @code{libdxml} + library, resulting in floating point errors and/or segmentation faults in + the linear algebra routines called by Octave. If you encounter such + problems, then you should modify the configure script so that + @code{SPECIAL_MATH_LIB} is not set to @code{-ldxml}. + + @item On FreeBSD systems Octave may hang while initializing some internal constants. The fix appears to be to use diff -cNr octave-2.0.15/emacs/octave-mod.el octave-2.0.16/emacs/octave-mod.el *** octave-2.0.15/emacs/octave-mod.el Tue Oct 26 17:46:48 1999 --- octave-2.0.16/emacs/octave-mod.el Tue Jan 25 12:41:32 2000 *************** *** 279,284 **** --- 279,293 ---- ["Lookup Octave Index" octave-help t]) "Menu for Octave mode.") + ;; XXX FIXME XXX -- the syntax mode for `%' is punctuation instead of + ;; begin-comment because if it is begin-comment, then typing M-; + ;; (octave-indent-for-comment) on lines like + ;; + ;; sprintf ("%d", foobar); + ;; + ;; causes them to be improperly indented (the `%' is moved over to the + ;; comment-column). + (defvar octave-mode-syntax-table nil "Syntax table in use in octave-mode buffers.") (if octave-mode-syntax-table *************** *** 301,307 **** (modify-syntax-entry ?\" "\"" table) (modify-syntax-entry ?. "w" table) (modify-syntax-entry ?_ "w" table) ! (modify-syntax-entry ?\% "." table) (modify-syntax-entry ?\# "<" table) (modify-syntax-entry ?\n ">" table) (setq octave-mode-syntax-table table))) --- 310,316 ---- (modify-syntax-entry ?\" "\"" table) (modify-syntax-entry ?. "w" table) (modify-syntax-entry ?_ "w" table) ! (modify-syntax-entry ?\% "." table) ; see above (modify-syntax-entry ?\# "<" table) (modify-syntax-entry ?\n ">" table) (setq octave-mode-syntax-table table))) diff -cNr octave-2.0.15/kpathsea/stamp-auto octave-2.0.16/kpathsea/stamp-auto *** octave-2.0.15/kpathsea/stamp-auto Mon Jan 10 18:11:09 2000 --- octave-2.0.16/kpathsea/stamp-auto Sat Jan 29 20:26:51 2000 *************** *** 1 **** ! Mon Jan 10 18:11:09 CST 2000 --- 1 ---- ! Sat Jan 29 20:26:51 CST 2000 diff -cNr octave-2.0.15/liboctave/CMatrix.cc octave-2.0.16/liboctave/CMatrix.cc *** octave-2.0.15/liboctave/CMatrix.cc Tue Nov 2 00:16:35 1999 --- octave-2.0.16/liboctave/CMatrix.cc Fri Jan 21 16:25:39 2000 *************** *** 1588,1603 **** // code follows development in AEPBAL Complex *mp = m.fortran_vec (); - int ilo, ihi, info; ! // FIXME: should pass job as a parameter in expm ! char job = 'B'; ! ! Array scale(nc); ! double *pscale = scale.fortran_vec (); ! ! F77_XFCN (zgebal, ZGEBAL, (&job, nc, mp, nc, ilo, ihi, pscale, info, ! 1L, 1L)); if (f77_exception_encountered) { --- 1588,1604 ---- // code follows development in AEPBAL Complex *mp = m.fortran_vec (); ! int info, ilo, ihi,ilos,ihis; ! Array dpermute (nc); ! Array dscale (nc); ! ! // XXX FIXME XXX -- should pass job as a parameter in expm ! ! // Permute first ! char job = 'P'; ! F77_XFCN (zgebal, ZGEBAL, (&job, nc, mp, nc, ilo, ihi, ! dpermute.fortran_vec (), info, 1L, 1L)); if (f77_exception_encountered) { *************** *** 1605,1637 **** return retval; } ! // construct balancing matrices dmat, dinv ! ! Matrix dmat = Matrix (nc, nc, 0.0); ! Matrix dinv = Matrix (nc, nc, 0.0); ! ! for (int i = 0; i < nc; i++) ! dmat(i,i) = dinv(i,i) = 1.0; ! ! // pscale contains real data, so just use dgebak, dside=R => dmat := D*dmat ! char dside = 'R'; ! F77_XFCN (dgebak, DGEBAK, (&job, &dside, nc, ilo, ihi, pscale, nc, ! dmat.fortran_vec(), nc, info, 1L, 1L)); ! ! if (f77_exception_encountered) ! { ! (*current_liboctave_error_handler) ("unrecoverable error in dgebak"); ! return retval; ! } ! ! // dgebak, dside=L => dinv := dinv*D^{-1} ! dside = 'L'; ! F77_XFCN (dgebak, DGEBAK, (&job, &dside, nc, ilo, ihi, pscale, nc, ! dinv.fortran_vec(), nc, info, 1L, 1L)); if (f77_exception_encountered) { ! (*current_liboctave_error_handler) ("unrecoverable error in dgebak"); return retval; } --- 1606,1619 ---- return retval; } ! // then scale ! job = 'S'; ! F77_XFCN (zgebal, ZGEBAL, (&job, nc, mp, nc, ilos, ihis, ! dscale.fortran_vec (), info, 1L, 1L)); if (f77_exception_encountered) { ! (*current_liboctave_error_handler) ("unrecoverable error in zgebal"); return retval; } *************** *** 1650,1656 **** } int sqpow = (inf_norm > 0.0 ! ? static_cast (1.0 + log (inf_norm) / log (2.0)) : 0); // Check whether we need to square at all. --- 1632,1638 ---- } int sqpow = (inf_norm > 0.0 ! ? (int) (1.0 + log (inf_norm) / log (2.0)) : 0); // Check whether we need to square at all. *************** *** 1703,1712 **** } // Reverse preconditioning step 2: inverse balancing. ! // FIXME: need to figure out how to get dgebak to do ! // dmat*retval*dinv instead of dinv*retval*dmat ! // This works for now ! retval = dmat*retval*dinv; // Reverse preconditioning step 1: fix trace normalization. --- 1685,1729 ---- } // Reverse preconditioning step 2: inverse balancing. ! // Done in two steps: inverse scaling, then inverse permutation ! ! // inverse scaling (diagonal transformation) ! for (int i = 0; i < nc; i++) ! for (int j = 0; j < nc; j++) ! retval(i,j) *= dscale(i) / dscale(j); ! ! // construct balancing permutation vector ! Array ipermute (nc); ! for (int i = 0; i < nc; i++) ! ipermute(i) = i; // initialize to identity permutation ! ! // leading permutations in forward order ! for (int i = 0; i < (ilo-1); i++) ! { ! int swapidx = ((int) dpermute(i)) - 1; ! int tmp = ipermute(i); ! ipermute(i) = ipermute(swapidx); ! ipermute(swapidx) = tmp; ! } ! ! // trailing permutations must be done in reverse order ! for (int i = nc - 1; i >= ihi; i--) ! { ! int swapidx = ((int) dpermute(i)) - 1; ! int tmp = ipermute(i); ! ipermute(i) = ipermute(swapidx); ! ipermute(swapidx) = tmp; ! } ! ! // construct inverse balancing permutation vector ! Array invpvec (nc); ! for (int i = 0; i < nc; i++) ! invpvec(ipermute(i)) = i; // Thanks to R. A. Lippert for this method ! ! ComplexMatrix tmpMat = retval; ! for (int i = 0; i < nc; i++) ! for (int j = 0; j < nc; j++) ! retval(i,j) = tmpMat(invpvec(i),invpvec(j)); // Reverse preconditioning step 1: fix trace normalization. diff -cNr octave-2.0.15/liboctave/ChangeLog octave-2.0.16/liboctave/ChangeLog *** octave-2.0.15/liboctave/ChangeLog Mon Jan 10 18:04:01 2000 --- octave-2.0.16/liboctave/ChangeLog Tue Jan 25 15:21:41 2000 *************** *** 1,3 **** --- 1,15 ---- + 2000-01-25 John W. Eaton + + * lo-ieee.cc (octave_ieee_init): Don't include sunmath.h. + No longer bother with infinity or quiet_nan. + + 2000-01-21 A. Scottedward Hodel + + * CMatrix.cc (ComplexMatrix::expm): Apply permutation and scaling + operations directly in step 2 and reverse step 2. + * dMatrix.cc (Matrix::expm): Apply permutation and scaling + operations directly in step 2 and reverse step 2. + 2000-01-10 John W. Eaton * Version 2.0.15 released. diff -cNr octave-2.0.15/liboctave/dMatrix.cc octave-2.0.16/liboctave/dMatrix.cc *** octave-2.0.15/liboctave/dMatrix.cc Tue Nov 2 00:14:08 1999 --- octave-2.0.16/liboctave/dMatrix.cc Fri Jan 21 16:23:40 2000 *************** *** 1355,1370 **** double *p_m = m.fortran_vec (); ! Array scale(nc); ! double *pscale = scale.fortran_vec (); ! ! int info, ilo, ihi; ! ! // both scale and permute ! char job = 'B'; ! ! F77_XFCN (dgebal, DGEBAL, (&job, nc, p_m, nc, ilo, ihi, pscale, info, ! 1L, 1L)); if (f77_exception_encountered) { --- 1355,1373 ---- double *p_m = m.fortran_vec (); ! int info, ilo, ihi, ilos, ihis; ! Array dpermute (nc); ! Array dscale (nc); ! ! // permutation first ! char job = 'P'; ! F77_XFCN (dgebal, DGEBAL, (&job, nc, p_m, nc, ilo, ihi, ! dpermute.fortran_vec (), info, 1L, 1L)); ! ! // then scaling ! job = 'S'; ! F77_XFCN (dgebal, DGEBAL, (&job, nc, p_m, nc, ilos, ihis, ! dscale.fortran_vec (), info, 1L, 1L)); if (f77_exception_encountered) { *************** *** 1372,1407 **** return retval; } - // construct balancing matrices D, Dinv - - Matrix dmat = Matrix (nc, nc, 0.0); - Matrix dinv = Matrix (nc, nc, 0.0); - - for (int i = 0; i < nc; i++) - dmat(i,i) = dinv(i,i) = 1.0; - - // dgebak, dside=R => dmat := D*dmat - char dside = 'R'; - F77_XFCN (dgebak, DGEBAK, (&job, &dside, nc, ilo, ihi, pscale, nc, - dmat.fortran_vec(), nc, info, 1L, 1L)); - - if (f77_exception_encountered) - { - (*current_liboctave_error_handler) ("unrecoverable error in dgebak"); - return retval; - } - - // dgebak, dside=L => dinv := dinv*D^{-1} - dside = 'L'; - F77_XFCN (dgebak, DGEBAK, (&job, &dside, nc, ilo, ihi, pscale, nc, - dinv.fortran_vec(), nc, info, 1L, 1L)); - - if (f77_exception_encountered) - { - (*current_liboctave_error_handler) ("unrecoverable error in dgebak"); - return retval; - } - // Preconditioning step 3: scaling. ColumnVector work(nc); --- 1375,1380 ---- *************** *** 1471,1478 **** } // Reverse preconditioning step 2: inverse balancing. ! retval = dmat*retval*dinv; ! // Reverse preconditioning step 1: fix trace normalization. if (trshift > 0.0) --- 1444,1487 ---- } // Reverse preconditioning step 2: inverse balancing. ! // apply inverse scaling to computed exponential ! for (int i = 0; i < nc; i++) ! for (int j = 0; j < nc; j++) ! retval(i,j) *= dscale(i) / dscale(j); ! ! // construct balancing permutation vector ! Array ipermute (nc); ! for (int i = 0; i < nc; i++) ! ipermute(i) = i; // identity permutation ! ! // leading permutations in forward order ! for (int i = 0; i < (ilo-1); i++) ! { ! int swapidx = ((int) dpermute(i)) - 1; ! int tmp = ipermute(i); ! ipermute(i) = ipermute (swapidx); ! ipermute(swapidx) = tmp; ! } ! ! // trailing permutations must be done in reverse order ! for (int i = nc - 1; i >= ihi; i--) ! { ! int swapidx = ((int) dpermute(i)) - 1; ! int tmp = ipermute(i); ! ipermute(i) = ipermute(swapidx); ! ipermute(swapidx) = tmp; ! } ! ! // construct inverse balancing permutation vector ! Array invpvec (nc); ! for (int i = 0; i < nc; i++) ! invpvec(ipermute(i)) = i; // Thanks to R. A. Lippert for this method ! ! Matrix tmpMat = retval; ! for (int i = 0; i < nc; i++) ! for (int j = 0; j < nc; j++) ! retval(i,j) = tmpMat(invpvec(i),invpvec(j)); ! // Reverse preconditioning step 1: fix trace normalization. if (trshift > 0.0) diff -cNr octave-2.0.15/liboctave/lo-ieee.cc octave-2.0.16/liboctave/lo-ieee.cc *** octave-2.0.15/liboctave/lo-ieee.cc Fri Sep 3 12:57:18 1999 --- octave-2.0.16/liboctave/lo-ieee.cc Tue Jan 25 15:21:04 2000 *************** *** 35,44 **** #include #endif - #if defined (HAVE_SUNMATH_H) - #include - #endif - #if defined (HAVE_NAN_H) #if defined (SCO) #define _IEEE 1 --- 35,40 ---- *************** *** 71,78 **** #elif defined (__alpha__) && ! defined (linux) extern unsigned int DINFINITY[2]; octave_Inf = (*((double *) (DINFINITY))); - #elif defined (HAVE_INFINITY) - octave_Inf = infinity (); #else double tmp = 1e+10; octave_Inf = tmp; --- 67,72 ---- *************** *** 92,99 **** #if defined (__alpha__) && ! defined (linux) extern unsigned int DQNAN[2]; octave_NaN = (*((double *) (DQNAN))); - #elif defined (HAVE_QUIET_NAN) - octave_NaN = quiet_nan (0L); #else octave_NaN = octave_Inf / octave_Inf; #endif --- 86,91 ---- diff -cNr octave-2.0.15/readline/ChangeLog octave-2.0.16/readline/ChangeLog *** octave-2.0.15/readline/ChangeLog Wed Oct 13 01:36:50 1999 --- octave-2.0.16/readline/ChangeLog Wed Jan 26 00:30:28 2000 *************** *** 1,3 **** --- 1,8 ---- + 2000-01-26 John W. Eaton + + * acconfig.h: Use #undef GWINSZ_IN_SYS_IOCTL, not + TIOCGWINSZ_IN_SYS_IOCTL to match AC_DEFINE in aclocal.m4. + 1999-10-13 John W. Eaton * terminal.c: (rl_resize_terminal): Import from readline 4.0. diff -cNr octave-2.0.15/readline/acconfig.h octave-2.0.16/readline/acconfig.h *** octave-2.0.15/readline/acconfig.h Thu Jul 10 18:26:56 1997 --- octave-2.0.16/readline/acconfig.h Wed Jan 26 00:30:14 2000 *************** *** 17,23 **** /* Definitions pulled in from aclocal.m4. */ #undef VOID_SIGHANDLER ! #undef TIOCGWINSZ_IN_SYS_IOCTL #undef TIOCSTAT_IN_SYS_IOCTL --- 17,23 ---- /* Definitions pulled in from aclocal.m4. */ #undef VOID_SIGHANDLER ! #undef GWINSZ_IN_SYS_IOCTL #undef TIOCSTAT_IN_SYS_IOCTL diff -cNr octave-2.0.15/readline/config.h.in octave-2.0.16/readline/config.h.in *** octave-2.0.15/readline/config.h.in Thu Jul 10 18:28:02 1997 --- octave-2.0.16/readline/config.h.in Sat Jan 29 20:26:04 2000 *************** *** 12,17 **** --- 12,19 ---- /* Definitions pulled in from aclocal.m4. */ #undef VOID_SIGHANDLER + #undef GWINSZ_IN_SYS_IOCTL + #undef TIOCSTAT_IN_SYS_IOCTL #undef HAVE_GETPW_DECLS diff -cNr octave-2.0.15/scripts/ChangeLog octave-2.0.16/scripts/ChangeLog *** octave-2.0.15/scripts/ChangeLog Mon Jan 10 18:04:00 2000 --- octave-2.0.16/scripts/ChangeLog Sat Jan 29 20:57:25 2000 *************** *** 1,3 **** --- 1,27 ---- + 2000-01-29 John W. Eaton + + * plot/__axis_label__.m: New function. + Undo string escapes in text twice(!) before sending to gnuplot. + * plot/xlabel.m: Use it. + * plot/ylabel.m: Ditto. + * plot/zlabel.m: Ditto. + + 2000-01-25 John W. Eaton + + * plot/xlabel.m: Undo string escapes in text before sending to gnuplot. + * plot/ylabel.m: Ditto. + * plot/zlabel.m: Ditto. + + * plot/mesh.m: Fix error message to reflect reality. + + 2000-01-24 Cyril Humbert + + * statistics/distributions/weibull_pdf.m: Use correct formula. + + 2000-01-12 John W. Eaton + + * linear-algebra/kron.m: Fix typo. + 2000-01-10 John W. Eaton * Version 2.0.15 released. diff -cNr octave-2.0.15/scripts/linear-algebra/kron.m octave-2.0.16/scripts/linear-algebra/kron.m *** octave-2.0.15/scripts/linear-algebra/kron.m Sun Jun 20 22:24:08 1999 --- octave-2.0.16/scripts/linear-algebra/kron.m Wed Jan 12 13:29:03 2000 *************** *** 43,49 **** for ii = 1:ma x(i_vec+(ii-1)*m,j_vec) = a(ii,jj) * b; endfor ! j_vec = jvec + n; endfor else --- 43,49 ---- for ii = 1:ma x(i_vec+(ii-1)*m,j_vec) = a(ii,jj) * b; endfor ! j_vec = j_vec + n; endfor else diff -cNr octave-2.0.15/scripts/plot/__axis_label__.m octave-2.0.16/scripts/plot/__axis_label__.m *** octave-2.0.15/scripts/plot/__axis_label__.m Wed Dec 31 18:00:00 1969 --- octave-2.0.16/scripts/plot/__axis_label__.m Sat Jan 29 20:56:28 2000 *************** *** 0 **** --- 1,40 ---- + ## Copyright (C) 1996, 1997 John W. Eaton + ## + ## This file is part of Octave. + ## + ## Octave is free software; you can redistribute it and/or modify it + ## under the terms of the GNU General Public License as published by + ## the Free Software Foundation; either version 2, or (at your option) + ## any later version. + ## + ## Octave is distributed in the hope that it will be useful, but + ## WITHOUT ANY WARRANTY; without even the implied warranty of + ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + ## General Public License for more details. + ## + ## You should have received a copy of the GNU General Public License + ## 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. + + ## Usage: __axis_label__ (caller, text) + ## Utility function for xabel, ylabel, and zlabel. + + ## Author: jwe + + function __axis_label__ (caller, text) + + if (nargin == 0) + usage ("__axis_label__ (caller, text)"); + elseif (nargin == 2) + if (isstr (text)) + eval (sprintf ("gset %s \"%s\"", caller, + undo_string_escapes (undo_string_escapes (text)))); + else + error ("%s: text must be a string", caller); + endif + else + usage ("%s (text)", caller); + endif + + endfunction diff -cNr octave-2.0.15/scripts/plot/mesh.m octave-2.0.16/scripts/plot/mesh.m *** octave-2.0.15/scripts/plot/mesh.m Wed Jun 25 21:31:55 1997 --- octave-2.0.16/scripts/plot/mesh.m Tue Jan 25 04:04:09 2000 *************** *** 75,82 **** gsplot (zz); gset noparametric; else ! msg = "mesh: rows (z) must be the same as length (x) and"; ! msg = sprintf ("%s\ncolumns (z) must be the same as length (y)", msg); error (msg); endif elseif (is_matrix (x) && is_matrix (y) && is_matrix (z)) --- 75,82 ---- gsplot (zz); gset noparametric; else ! msg = "mesh: rows (z) must be the same as length (y) and"; ! msg = sprintf ("%s\ncolumns (z) must be the same as length (x)", msg); error (msg); endif elseif (is_matrix (x) && is_matrix (y) && is_matrix (z)) diff -cNr octave-2.0.15/scripts/plot/xlabel.m octave-2.0.16/scripts/plot/xlabel.m *** octave-2.0.15/scripts/plot/xlabel.m Thu Nov 14 22:49:05 1996 --- octave-2.0.16/scripts/plot/xlabel.m Sat Jan 29 20:55:20 2000 *************** *** 27,43 **** ## Author: jwe ! function xlabel (text) ! if (nargin != 1) ! usage ("xlabel (text)"); ! endif ! ! if (isstr (text)) ! command = sprintf ("gset xlabel \"%s\"", text); ! eval (command); ! else ! error ("xlabel: text must be a string"); ! endif endfunction --- 27,34 ---- ## Author: jwe ! function xlabel (...) ! __axis_label__ ("xlabel", all_va_args); endfunction diff -cNr octave-2.0.15/scripts/plot/ylabel.m octave-2.0.16/scripts/plot/ylabel.m *** octave-2.0.15/scripts/plot/ylabel.m Thu Nov 14 22:49:03 1996 --- octave-2.0.16/scripts/plot/ylabel.m Sat Jan 29 20:54:52 2000 *************** *** 27,43 **** ## Author: jwe ! function ylabel (text) ! if (nargin != 1) ! usage ("ylabel (text)"); ! endif ! ! if (isstr (text)) ! command = sprintf ("gset ylabel \"%s\"", text); ! eval (command); ! else ! error ("ylabel: text must be a string"); ! endif endfunction --- 27,34 ---- ## Author: jwe ! function ylabel (...) ! __axis_label__ ("ylabel", all_va_args); endfunction diff -cNr octave-2.0.15/scripts/plot/zlabel.m octave-2.0.16/scripts/plot/zlabel.m *** octave-2.0.15/scripts/plot/zlabel.m Thu Nov 14 22:48:58 1996 --- octave-2.0.16/scripts/plot/zlabel.m Sat Jan 29 20:55:02 2000 *************** *** 28,43 **** ## Created: 3 July 95 ## Adapted-By: jwe ! function zlabel (text) ! if (nargin != 1) ! usage ("zlabel (text)"); ! endif ! ! if (isstr (text)) ! eval (sprintf ("gset zlabel \"%s\"", text)); ! else ! error ("error: zlabel: text must be a string"); ! endif endfunction --- 28,35 ---- ## Created: 3 July 95 ## Adapted-By: jwe ! function zlabel (...) ! __axis_label__ ("zlabel", all_va_args); endfunction diff -cNr octave-2.0.15/scripts/statistics/distributions/weibull_pdf.m octave-2.0.16/scripts/statistics/distributions/weibull_pdf.m *** octave-2.0.15/scripts/statistics/distributions/weibull_pdf.m Wed Feb 19 04:14:13 1997 --- octave-2.0.16/scripts/statistics/distributions/weibull_pdf.m Mon Jan 24 16:33:56 2000 *************** *** 53,59 **** k = find ((x > 0) & (x < Inf) & ok); if any (k) ! pdf(k) = (shape(k) .* (scale(k) .^ shape(k)) .* (x(k) .^ (shape(k) - 1)) .* exp(- (x(k) ./ scale(k)) .^ shape(k))); endif --- 53,59 ---- k = find ((x > 0) & (x < Inf) & ok); if any (k) ! pdf(k) = (shape(k) .* (scale(k) .^ -shape(k)) .* (x(k) .^ (shape(k) - 1)) .* exp(- (x(k) ./ scale(k)) .^ shape(k))); endif diff -cNr octave-2.0.15/src/ChangeLog octave-2.0.16/src/ChangeLog *** octave-2.0.15/src/ChangeLog Mon Jan 10 18:03:59 2000 --- octave-2.0.16/src/ChangeLog Sat Jan 29 21:01:32 2000 *************** *** 1,3 **** --- 1,20 ---- + 2000-01-29 John W. Eaton + + * variables.cc (bind_global_error_variable): Avoid dereferencing + error_message_buffer if it is NULL. + + 2000-01-25 John W. Eaton + + * pt-pr-code.cc (tree_print_code::visit_unwind_protect_command): + Print `unwind_protect_cleanup', not `cleanup_code'. + + * pt-plot.cc (Fgshow): Don't append " " after last arg. + (Fgset): Likewise. + + 2000-01-13 John W. Eaton + + * quad.cc (Fquad): Call run_unwind_frame before normal return. + 2000-01-10 John W. Eaton * Version 2.0.15 released. diff -cNr octave-2.0.15/src/lsode.cc octave-2.0.16/src/lsode.cc *** octave-2.0.15/src/lsode.cc Tue Oct 26 21:09:22 1999 --- octave-2.0.16/src/lsode.cc Fri Jan 21 16:18:05 2000 *************** *** 361,367 **** if (val < 0) retval = "depends on problem size"; else ! retval = static_cast (val); } return retval; --- 361,367 ---- if (val < 0) retval = "depends on problem size"; else ! retval = (double) val; } return retval; diff -cNr octave-2.0.15/src/pt-plot.cc octave-2.0.16/src/pt-plot.cc *** octave-2.0.15/src/pt-plot.cc Thu Oct 8 13:49:10 1998 --- octave-2.0.16/src/pt-plot.cc Tue Jan 25 17:13:53 2000 *************** *** 1071,1086 **** { delete [] gnuplot_terminal_type; ostrstream buf; ! for (int i = 2; i < argc; i++) buf << argv[i] << " "; buf << Vgnuplot_command_end << ends; gnuplot_terminal_type = buf.str (); } } ! for (int i = 0; i < argc; i++) plot_buf << argv[i] << " "; plot_buf << Vgnuplot_command_end << ends; char *plot_command = plot_buf.str (); --- 1071,1093 ---- { delete [] gnuplot_terminal_type; ostrstream buf; ! int i; ! for (i = 2; i < argc-1; i++) buf << argv[i] << " "; + if (i < argc) + buf << argv[i]; buf << Vgnuplot_command_end << ends; gnuplot_terminal_type = buf.str (); } } ! int i; ! for (i = 0; i < argc-1; i++) plot_buf << argv[i] << " "; + if (i < argc) + plot_buf << argv[i]; + plot_buf << Vgnuplot_command_end << ends; char *plot_command = plot_buf.str (); *************** *** 1114,1121 **** ostrstream plot_buf; ! for (int i = 0; i < argc; i++) plot_buf << argv[i] << " "; plot_buf << Vgnuplot_command_end << ends; --- 1121,1132 ---- ostrstream plot_buf; ! int i; ! for (i = 0; i < argc-1; i++) plot_buf << argv[i] << " "; + + if (i < argc) + plot_buf << argv[i]; plot_buf << Vgnuplot_command_end << ends; diff -cNr octave-2.0.15/src/pt-pr-code.cc octave-2.0.16/src/pt-pr-code.cc *** octave-2.0.15/src/pt-pr-code.cc Wed Apr 15 01:11:33 1998 --- octave-2.0.16/src/pt-pr-code.cc Tue Jan 25 20:59:49 2000 *************** *** 1105,1111 **** indent (); ! os << "cleanup_code"; newline (); --- 1105,1111 ---- indent (); ! os << "unwind_protect_cleanup"; newline (); diff -cNr octave-2.0.15/src/quad.cc octave-2.0.16/src/quad.cc *** octave-2.0.15/src/quad.cc Tue Oct 26 21:09:18 1999 --- octave-2.0.16/src/quad.cc Thu Jan 13 12:35:06 2000 *************** *** 269,274 **** --- 269,276 ---- else print_usage ("quad"); + run_unwind_frame ("Fquad"); + return retval; } diff -cNr octave-2.0.15/src/variables.cc octave-2.0.16/src/variables.cc *** octave-2.0.15/src/variables.cc Sat Jun 19 11:55:38 1999 --- octave-2.0.16/src/variables.cc Sat Jan 29 21:00:58 2000 *************** *** 1545,1561 **** void bind_global_error_variable (void) { ! *error_message_buffer << ends; ! char *error_text = error_message_buffer->str (); ! bind_builtin_variable ("__error_text__", error_text, 1); ! delete [] error_text; ! delete error_message_buffer; ! error_message_buffer = 0; } void --- 1545,1566 ---- void bind_global_error_variable (void) { ! if (error_message_buffer) ! { ! *error_message_buffer << ends; ! char *error_text = error_message_buffer->str (); ! bind_builtin_variable ("__error_text__", error_text, 1); ! delete [] error_text; ! delete error_message_buffer; ! error_message_buffer = 0; ! } ! else ! bind_builtin_variable ("__error_text__", "", 1); } void diff -cNr octave-2.0.15/src/version.h octave-2.0.16/src/version.h *** octave-2.0.15/src/version.h Mon Jan 10 18:03:09 2000 --- octave-2.0.16/src/version.h Sat Jan 29 20:25:18 2000 *************** *** 20,26 **** */ ! #define OCTAVE_VERSION "2.0.15" #define OCTAVE_COPYRIGHT \ "Copyright (C) 1996, 1997, 1998, 1999, 2000 John W. Eaton." --- 20,26 ---- */ ! #define OCTAVE_VERSION "2.0.16" #define OCTAVE_COPYRIGHT \ "Copyright (C) 1996, 1997, 1998, 1999, 2000 John W. Eaton." PATCH_EOF