#! /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, and *.info* files are not included # because they can be recreated from the Texinfo files using TeX and # makeinfo. # # 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. ### rm -f INFO.PATCH MAKEINFO.PATCH echo 'patching existing files' patch -p1 << \PATCH_EOF diff -cNr octave-2.0.12/ChangeLog octave-2.0.13/ChangeLog *** octave-2.0.12/ChangeLog Sun May 3 20:00:07 1998 --- octave-2.0.13/ChangeLog Thu May 21 13:16:01 1998 *************** *** 1,3 **** --- 1,43 ---- + Thu May 21 13:15:36 1998 John W. Eaton + + * Version 2.0.13 released. + + Fri May 15 00:34:54 1998 John W. Eaton + + * configure.in: Make sure install-octave is executable. + + * install-octave.in (oct_files): Don't cd to src. + (have_find): Delete variable (assume all systems have find). + + Thu May 14 10:29:30 1998 John W. Eaton + + * aclocal.m4 (OCTAVE_SET_DEFAULT): Allow values to come from the + environment. + + * octMakefile.in (DISTFILES): Include README.MachTen in the list. + Delete INFO.PATCH and MAKEINFO.PATCH from the list. + (XBINDISTFILES): Include README.MachTen in the list. + * README.MachTen: New file. + + * configure.in: Add -mno-fp-in-toc on ibm-aix4 systems. + From Philippe.Defert@cern.ch . + + Wed May 13 22:54:17 1998 John W. Eaton + + * configure.in: Check for gettimeofday. Only see if gettimeofday + takes a timezone arg if gettimeofday was actually found. + + Tue May 5 14:43:36 1998 John W. Eaton + + * aclocal.m4 (OCTAVE_PROG_G77): Compile trivial program instead of + just running ${f77-f77} -v on nothing. + Convert all uses of $F77 to ${F77-f77}. + + Mon May 4 12:08:36 1998 John W. Eaton + + * emacs/octave-mod.el (octave-mode): Make comment-multi-line local + and set to nil. + Sun May 3 19:59:37 1998 John W. Eaton * Version 2.0.12 released. diff -cNr octave-2.0.12/INSTALL.OCTAVE octave-2.0.13/INSTALL.OCTAVE *** octave-2.0.12/INSTALL.OCTAVE Fri Feb 6 12:56:36 1998 --- octave-2.0.13/INSTALL.OCTAVE Thu May 14 21:03:46 1998 *************** *** 382,395 **** if you are interested in helping make a binary distribution available for your system.) - Also, binary distributions are limited to static binaries that do not - support dynamic linking. For earlier versions of Octave, I tried - distributing dynamically linked binaries but that proved to be too much - trouble to support. If you want to have a copy of Octave that includes - all the features described in this manual, you will have to build it - from the sources yourself, or find someone else who is willing to do it - for you. - Installing Octave from a Binary Distribution -------------------------------------------- --- 382,387 ---- *************** *** 471,488 **** * Unpack the source distribution: ! gunzip -c octave-2.0.10.tar.gz | tar xf - * Change your current directory to the top-level directory of the source distribution: ! cd octave-2.0.10 * Make the binary distribution: make binary-dist This will create a compressed tar file ready for distribution. It ! will contain statically linked binaries and have a name like ! `octave-2.0.10-i586-pc-linux-gnu.tar.gz' --- 463,479 ---- * 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' diff -cNr octave-2.0.12/Makeconf.in octave-2.0.13/Makeconf.in *** octave-2.0.12/Makeconf.in Wed Mar 18 23:04:10 1998 --- octave-2.0.13/Makeconf.in Thu May 14 18:39:30 1998 *************** *** 370,381 **** # Make a relative symbolic link from $includedir/octave to $octincludedir. # XXX FIXME XXX -- this assumes that $octincludedir is a subdirectory ! # of $includedir. define mk-includedir-link src=`echo $(octincludedir) | sed 's|^$(includedir)/*||'` ; \ ! echo $$src ; \ ! if [ "$$src" = "octave" ] ; then \ true ; \ else \ cd $(includedir) ; \ --- 370,380 ---- # Make a relative symbolic link from $includedir/octave to $octincludedir. # XXX FIXME XXX -- this assumes that $octincludedir is a subdirectory ! # of $includedir or is the same as $libdir. define mk-includedir-link src=`echo $(octincludedir) | sed 's|^$(includedir)/*||'` ; \ ! if [ "$$src" = "octave" ] || [ -z "$$src" ] ; then \ true ; \ else \ cd $(includedir) ; \ *************** *** 387,398 **** # Make a relative symbolic link from $libdir/octave to $octlibdir. # XXX FIXME XXX -- this assumes that $octlibdir is a subdirectory ! # of $libdir. define mk-libdir-link src=`echo $(octlibdir) | sed 's|^$(libdir)/*||'` ; \ ! echo $$src ; \ ! if [ "$$src" = "octave" ] ; then \ true ; \ else \ if [ -d "$(libdir)/octave" ] ; then \ --- 386,396 ---- # Make a relative symbolic link from $libdir/octave to $octlibdir. # XXX FIXME XXX -- this assumes that $octlibdir is a subdirectory ! # of $libdir or is the same as $libdir. define mk-libdir-link src=`echo $(octlibdir) | sed 's|^$(libdir)/*||'` ; \ ! if [ "$$src" = "octave" ] || [ -z "$$src" ] ; then \ true ; \ else \ if [ -d "$(libdir)/octave" ] ; then \ diff -cNr octave-2.0.12/Makefile octave-2.0.13/Makefile *** octave-2.0.12/Makefile Sun May 3 20:07:08 1998 --- octave-2.0.13/Makefile Thu May 21 13:16:47 1998 *************** *** 27,40 **** binary-dist: FORCE @if test -f configure && test -f octMakefile.in ; then \ ! ./configure --disable-shared --disable-dl --disable-shl ; \ else \ echo "" ; \ echo "*** You must run make binary-dist in the source directory." ; \ echo "" ; \ exit 1 ; \ fi ! $(MAKE) -f octMakefile CFLAGS=-O CXXFLAGS=-O LDFLAGS=-static all $(MAKE) -f octMakefile binary-dist # Maybe this message will prevent people from asking why the --- 27,40 ---- binary-dist: FORCE @if test -f configure && test -f octMakefile.in ; then \ ! ./configure --enable-shared --enable-lite-kernel ; \ else \ echo "" ; \ echo "*** You must run make binary-dist in the source directory." ; \ echo "" ; \ exit 1 ; \ fi ! $(MAKE) -f octMakefile CFLAGS=-O CXXFLAGS=-O all $(MAKE) -f octMakefile binary-dist # Maybe this message will prevent people from asking why the diff -cNr octave-2.0.12/Makefile.in octave-2.0.13/Makefile.in *** octave-2.0.12/Makefile.in Tue Apr 14 09:41:46 1998 --- octave-2.0.13/Makefile.in Thu May 14 21:44:55 1998 *************** *** 26,39 **** binary-dist: FORCE @if test -f configure && test -f octMakefile.in ; then \ ! ./configure --disable-shared --disable-dl --disable-shl ; \ else \ echo "" ; \ echo "*** You must run make binary-dist in the source directory." ; \ echo "" ; \ exit 1 ; \ fi ! $(MAKE) -f octMakefile CFLAGS=-O CXXFLAGS=-O LDFLAGS=-static all $(MAKE) -f octMakefile binary-dist # Maybe this message will prevent people from asking why the --- 26,39 ---- binary-dist: FORCE @if test -f configure && test -f octMakefile.in ; then \ ! ./configure --enable-shared --enable-lite-kernel ; \ else \ echo "" ; \ echo "*** You must run make binary-dist in the source directory." ; \ echo "" ; \ exit 1 ; \ fi ! $(MAKE) -f octMakefile CFLAGS=-O CXXFLAGS=-O all $(MAKE) -f octMakefile binary-dist # Maybe this message will prevent people from asking why the diff -cNr octave-2.0.12/NEWS octave-2.0.13/NEWS *** octave-2.0.12/NEWS Sun May 3 20:01:26 1998 --- octave-2.0.13/NEWS Thu May 21 13:12:05 1998 *************** *** 1,3 **** --- 1,8 ---- + Summary of changes for version 2.0.13: + ------------------------------------- + + This is a bug-fixing release. There are no new user-visible features. + Summary of changes for version 2.0.12: ------------------------------------- diff -cNr octave-2.0.12/PROJECTS octave-2.0.13/PROJECTS *** octave-2.0.12/PROJECTS Mon Apr 27 14:25:04 1998 --- octave-2.0.13/PROJECTS Tue May 19 23:14:21 1998 *************** *** 202,207 **** --- 202,211 ---- Input/Output: ------------ + * Allow binary output to work on stdout stream (requires modifying + the way that output is buffered so that NUL characters don't + terminate the output). + * Make fread and fwrite work for complex data. Iostreams based versions of these functions would also be nice, and if you are working on them, it would be good to support other size diff -cNr octave-2.0.12/README octave-2.0.13/README *** octave-2.0.12/README Fri Feb 6 02:23:41 1998 --- octave-2.0.13/README Thu May 21 13:12:57 1998 *************** *** 1,8 **** GNU Octave -- a high-level language for numerical computations. ! Copyright (C) 1996, 1997 John W. Eaton ! Last updated: Fri Feb 6 02:23:36 1998 Overview -------- --- 1,8 ---- GNU Octave -- a high-level language for numerical computations. ! Copyright (C) 1996, 1997, 1998 John W. Eaton ! Last updated: Thu May 21 13:12:45 1998 Overview -------- diff -cNr octave-2.0.12/README.MachTen octave-2.0.13/README.MachTen *** octave-2.0.12/README.MachTen Wed Dec 31 18:00:00 1969 --- octave-2.0.13/README.MachTen Thu May 14 16:26:30 1998 *************** *** 0 **** --- 1,121 ---- + The information in this file is from A. Scottedward Hodel + . + + I've installed and run Octave 2.0.12 on Power MachTen 4.1. This note + contains instructions on how to port octave to MT 4.1 and on further work + that remains to be done for dynamic linking. + + Contents: + (1) Definitions + (2) Future work + (3) Instructions for installation; this should be put in: + - octave-2.0.12 top level directory + - tenon ftp site + + Definitions: + ============ + Power MachTen: Unix that runs simultaneously with MacOS on Mac computers. + see http://tenon.com for more information. + + Octave: a Matlab-like programming language that is freely distributable + under the terms of the gnu copyright rules. Octave is NOT + (and will not) be a MATLAB(tm) clone; however, the functionality + of the program is similar. + + see: http://bevo.che.wisc.edu/octave for more information. + a control systems toolbox is available at + ftp://ftp.eng.auburn.edu/pub/hodel/OCST* + + Further work: + ============= + Both Octave and Power MachTen support dynamic linking, but I haven't yet + tried using dynamic linking. A cursory reading of the MT4.1 manual (pp. + 226-228, Sec 11.3) indicates that shared libraries need to be put in an + HFS (i.e., MacOS) directory due to required setting of resources by the + MacOS resource manager. Additionally, some flags need to be added to the + LDFLAGS variable in the configure script. I'll post those items when + I get there. + + To install Octave on MachTen: + Short instructions: MachTen automatically defines __MACHTEN_PPC__ on + power MachTen. The octave configure script sets most everything up properly. + Here's a few details that also need done: + + (1) Put libncurses into the Tenon Application Library Folder + (2) Replace the MT /usr/bin/sed with gnu sed (I used 2-0.5). + (3) Patch + (4) Set virtual memory to a huge number (I used 120Mb) + (5) make all; it will fail on toplev.cc due to a problem with src/oct-conf.h + (6) Fix src/oct-conf.h and make all again. + (7) make install + + That should do it. Dynamic linking is not done yet; I'm working on that. + + Here are the details for the above items: + + (1) Be sure that libncurses is in the Tenon Application Library in + the Extensions folder: + + (a) use resedit. + (b) Open the libncurses file in folder: + Extensions/Tenon Applications Library/disabled + (c) Open the cfrag resource. Scroll down a bit and you will find the + string libcurses. Change it to libncurses. Save. + (d) Change (File Menu/File Information) the file creator to MUMM. Save. + (e) now move libncurses out of the disabled folder to + Extensions/Tenon Applications Library + (f) Reboot. + + (2) Replace the MT /usr/bin/sed with gnu sed (I used 2-0.5). + This fixes a problem with the kpathsea/klibtool script. + + (3) Login as root and apply the following patch to /usr/include/sys/signal.h: + Otherwise src/sighandlers.cc will not compile properly. (The change + is consistent with headers on our sun network as well.) + + *** signal.h.old Thu May 7 13:16:11 1998 + --- signal.h Thu May 7 13:34:27 1998 + *************** + *** 253,260 **** + /* + * Signal vector "template" used in sigaction call. + */ + ! #struct sigaction { + void (*sa_handler)(); /* signal handler */ + sigset_t sa_mask; /* signal mask to apply */ + int sa_flags; /* see signal options below */ + }; + --- 253,264 ---- + /* + * Signal vector "template" used in sigaction call. + */ + ! struct sigaction { + ! #ifdef __cplusplus + ! void (*sa_handler)(int); /* signal handler */ + ! #else + void (*sa_handler)(); /* signal handler */ + + #endif + sigset_t sa_mask; /* signal mask to apply */ + int sa_flags; /* see signal options below */ + }; + + + (4) Set virtual memory to a huge number (I used 120Mb). Otherwise compiles + will fail. + + (5) make all; it will fail on toplev.cc due to a problem with src/oct-conf.h + The problem is that when DEFS is defined in building oct-conf.h, somehow + the quote strings areound SEPCHAR_STR are not escaped. + + (6) Fix src/oct-conf.h and make all again. + + You'll need to change the line + + #define DEFS "-DOCTAVE_SOURCE=1 -DSEPCHAR=':' -DSEPCHAR_STR=":" + to + #define DEFS "-DOCTAVE_SOURCE=1 -DSEPCHAR=':' -DSEPCHAR_STR=\":\" + + It should have been done automatically (take a look at UGLY_DEFS in + the toplevel Makeconf), but for some reason it doesn't go. + + (7) make install diff -cNr octave-2.0.12/README.Windows octave-2.0.13/README.Windows *** octave-2.0.12/README.Windows Sun May 3 20:05:59 1998 --- octave-2.0.13/README.Windows Sat May 16 00:10:07 1998 *************** *** 115,120 **** --- 115,135 ---- Then you can set your LOADPATH to include /D_DRIVE/subdir instead of //d/subdir. + * If you see error messages like the following: + + The heap has been split, CYGWIN can't fork this process. Increase + the heap_chunk_size in the registry and try again. + + you can increase the heap size by saving the follwoing text to a + file (delete the leading white space) and then double click on the + file. Try changing the value to something larger than 4 (MB). + + REGEDIT4 + + [HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0] + "heap_chunk_in_mb"=dword:00000004 + + If you know of solutions for any of the problems mentioned above, please contact bug-octave@bevo.che.wisc.edu. diff -cNr octave-2.0.12/aclocal.m4 octave-2.0.13/aclocal.m4 *** octave-2.0.12/aclocal.m4 Tue Apr 28 14:28:59 1998 --- octave-2.0.13/aclocal.m4 Thu May 14 18:31:20 1998 *************** *** 40,46 **** dnl dnl OCTAVE_SET_DEFAULT AC_DEFUN(OCTAVE_SET_DEFAULT, ! [ifelse($#, 2, [$1=$2 ])dnl AC_MSG_RESULT([defining $1 to be $$1]) AC_SUBST($1)]) --- 40,46 ---- dnl dnl OCTAVE_SET_DEFAULT AC_DEFUN(OCTAVE_SET_DEFAULT, ! [ifelse($#, 2, [: ${$1=$2} ])dnl AC_MSG_RESULT([defining $1 to be $$1]) AC_SUBST($1)]) *************** *** 80,87 **** [if $use_g77; then octave_cv_f77_is_g77=yes else ! f77_output=`$F77 -v 2>&1 | grep "GNU F77"` ! if test -n "$f77_output"; then octave_cv_f77_is_g77=yes else octave_cv_f77_is_g77=no --- 80,88 ---- [if $use_g77; then octave_cv_f77_is_g77=yes else ! echo " END" > conftest.f ! foutput=`${F77-f77} -v conftest.f 2>&1 | grep "GNU F77"` ! if test -n "$foutput"; then octave_cv_f77_is_g77=yes else octave_cv_f77_is_g77=no *************** *** 292,298 **** dnl dnl OCTAVE_F77_UPPERCASE_NAMES() AC_DEFUN(OCTAVE_F77_UPPERCASE_NAMES, ! [AC_MSG_CHECKING([whether $F77 uses uppercase external names]) AC_CACHE_VAL(octave_cv_f77_uppercase_names, [octave_cv_f77_uppercase_names=no cat > conftest.f < conftest.f < ftest.f < ftest.f <&6 ! man1ext='.1' echo "$ac_t""defining man1ext to be $man1ext" 1>&6 ! infofile='$(infodir)/octave.info' echo "$ac_t""defining infofile to be $infofile" 1>&6 ! octincludedir='$(includedir)/octave-$(version)' echo "$ac_t""defining octincludedir to be $octincludedir" 1>&6 ! fcnfiledir='$(datadir)/octave/$(version)/m' echo "$ac_t""defining fcnfiledir to be $fcnfiledir" 1>&6 ! localfcnfiledir='$(datadir)/octave/site/m' echo "$ac_t""defining localfcnfiledir to be $localfcnfiledir" 1>&6 ! localfcnfilepath='$(localfcnfiledir)//' echo "$ac_t""defining localfcnfilepath to be $localfcnfilepath" 1>&6 ! octlibdir='$(libdir)/octave-$(version)' echo "$ac_t""defining octlibdir to be $octlibdir" 1>&6 ! archlibdir='$(libexecdir)/octave/$(version)/exec/$(canonical_host_type)' echo "$ac_t""defining archlibdir to be $archlibdir" 1>&6 ! localarchlibdir='$(libexecdir)/octave/site/exec/$(canonical_host_type)' echo "$ac_t""defining localarchlibdir to be $localarchlibdir" 1>&6 ! octfiledir='$(libexecdir)/octave/$(version)/oct/$(canonical_host_type)' echo "$ac_t""defining octfiledir to be $octfiledir" 1>&6 ! localoctfiledir='$(libexecdir)/octave/site/oct/$(canonical_host_type)' echo "$ac_t""defining localoctfiledir to be $localoctfiledir" 1>&6 ! localoctfilepath='$(localoctfiledir)//' echo "$ac_t""defining localoctfilepath to be $localoctfilepath" 1>&6 ! fcnfilepath='.:$(localoctfilepath):$(localfcnfilepath):$(octfiledir)//:$(fcnfiledir)//' echo "$ac_t""defining fcnfilepath to be $fcnfilepath" 1>&6 ! imagedir='$(datadir)/octave/$(version)/imagelib' echo "$ac_t""defining imagedir to be $imagedir" 1>&6 ! imagepath='.:$(imagedir)//' echo "$ac_t""defining imagepath to be $imagepath" 1>&6 --- 628,679 ---- ### some defaults ! : ${man1dir='$(mandir)/man1'} echo "$ac_t""defining man1dir to be $man1dir" 1>&6 ! : ${man1ext='.1'} echo "$ac_t""defining man1ext to be $man1ext" 1>&6 ! : ${infofile='$(infodir)/octave.info'} echo "$ac_t""defining infofile to be $infofile" 1>&6 ! : ${octincludedir='$(includedir)/octave-$(version)'} echo "$ac_t""defining octincludedir to be $octincludedir" 1>&6 ! : ${fcnfiledir='$(datadir)/octave/$(version)/m'} echo "$ac_t""defining fcnfiledir to be $fcnfiledir" 1>&6 ! : ${localfcnfiledir='$(datadir)/octave/site/m'} echo "$ac_t""defining localfcnfiledir to be $localfcnfiledir" 1>&6 ! : ${localfcnfilepath='$(localfcnfiledir)//'} echo "$ac_t""defining localfcnfilepath to be $localfcnfilepath" 1>&6 ! : ${octlibdir='$(libdir)/octave-$(version)'} echo "$ac_t""defining octlibdir to be $octlibdir" 1>&6 ! : ${archlibdir='$(libexecdir)/octave/$(version)/exec/$(canonical_host_type)'} echo "$ac_t""defining archlibdir to be $archlibdir" 1>&6 ! : ${localarchlibdir='$(libexecdir)/octave/site/exec/$(canonical_host_type)'} echo "$ac_t""defining localarchlibdir to be $localarchlibdir" 1>&6 ! : ${octfiledir='$(libexecdir)/octave/$(version)/oct/$(canonical_host_type)'} echo "$ac_t""defining octfiledir to be $octfiledir" 1>&6 ! : ${localoctfiledir='$(libexecdir)/octave/site/oct/$(canonical_host_type)'} echo "$ac_t""defining localoctfiledir to be $localoctfiledir" 1>&6 ! : ${localoctfilepath='$(localoctfiledir)//'} echo "$ac_t""defining localoctfilepath to be $localoctfilepath" 1>&6 ! : ${fcnfilepath='.:$(localoctfilepath):$(localfcnfilepath):$(octfiledir)//:$(fcnfiledir)//'} echo "$ac_t""defining fcnfilepath to be $fcnfilepath" 1>&6 ! : ${imagedir='$(datadir)/octave/$(version)/imagelib'} echo "$ac_t""defining imagedir to be $imagedir" 1>&6 ! : ${imagepath='.:$(imagedir)//'} echo "$ac_t""defining imagepath to be $imagepath" 1>&6 *************** *** 1385,1390 **** --- 1385,1393 ---- ### get full support for IEEE floating point. ### ### On Alpha/OSF systems, we need -mieee. + ### + ### On AIX systems, we need to limit the amount of stuff that goes in + ### the TOC. ieee_fp_flag= case "$canonical_host_type" in *************** *** 1392,1398 **** ac_safe=`echo "-mieee-fp" | sed 'y%./+-%__p_%'` echo $ac_n "checking whether ${CC-cc} accepts -mieee-fp""... $ac_c" 1>&6 ! echo "configure:1396: checking whether ${CC-cc} accepts -mieee-fp" >&5 if eval "test \"`echo '$''{'octave_cv_cc_flag_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else --- 1395,1401 ---- ac_safe=`echo "-mieee-fp" | sed 'y%./+-%__p_%'` echo $ac_n "checking whether ${CC-cc} accepts -mieee-fp""... $ac_c" 1>&6 ! echo "configure:1399: checking whether ${CC-cc} accepts -mieee-fp" >&5 if eval "test \"`echo '$''{'octave_cv_cc_flag_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else *************** *** 1408,1421 **** XCFLAGS="$CFLAGS" CFLAGS="$CFLAGS -mieee-fp" 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 --- 1411,1424 ---- XCFLAGS="$CFLAGS" CFLAGS="$CFLAGS -mieee-fp" 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 *************** *** 1444,1450 **** ac_safe=`echo "-mieee-fp" | sed 'y%./+-%__p_%'` echo $ac_n "checking whether ${CXX-c++} accepts -mieee-fp""... $ac_c" 1>&6 ! echo "configure:1448: checking whether ${CXX-c++} accepts -mieee-fp" >&5 if eval "test \"`echo '$''{'octave_cv_cxx_flag_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else --- 1447,1453 ---- ac_safe=`echo "-mieee-fp" | sed 'y%./+-%__p_%'` echo $ac_n "checking whether ${CXX-c++} accepts -mieee-fp""... $ac_c" 1>&6 ! echo "configure:1451: checking whether ${CXX-c++} accepts -mieee-fp" >&5 if eval "test \"`echo '$''{'octave_cv_cxx_flag_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else *************** *** 1460,1473 **** XCXXFLAGS="$CXXFLAGS" CXXFLAGS="$CXXFLAGS -mieee-fp" 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 --- 1463,1476 ---- XCXXFLAGS="$CXXFLAGS" CXXFLAGS="$CXXFLAGS -mieee-fp" 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 *************** *** 1503,1509 **** ac_safe=`echo "-mieee-with-inexact" | sed 'y%./+-%__p_%'` echo $ac_n "checking whether ${CC-cc} accepts -mieee-with-inexact""... $ac_c" 1>&6 ! echo "configure:1507: checking whether ${CC-cc} accepts -mieee-with-inexact" >&5 if eval "test \"`echo '$''{'octave_cv_cc_flag_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else --- 1506,1512 ---- ac_safe=`echo "-mieee-with-inexact" | sed 'y%./+-%__p_%'` echo $ac_n "checking whether ${CC-cc} accepts -mieee-with-inexact""... $ac_c" 1>&6 ! echo "configure:1510: checking whether ${CC-cc} accepts -mieee-with-inexact" >&5 if eval "test \"`echo '$''{'octave_cv_cc_flag_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else *************** *** 1519,1532 **** XCFLAGS="$CFLAGS" CFLAGS="$CFLAGS -mieee-with-inexact" 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 --- 1522,1535 ---- XCFLAGS="$CFLAGS" CFLAGS="$CFLAGS -mieee-with-inexact" 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 *************** *** 1554,1560 **** ac_safe=`echo "-mieee-with-inexact" | sed 'y%./+-%__p_%'` echo $ac_n "checking whether ${CXX-c++} accepts -mieee-with-inexact""... $ac_c" 1>&6 ! echo "configure:1558: checking whether ${CXX-c++} accepts -mieee-with-inexact" >&5 if eval "test \"`echo '$''{'octave_cv_cxx_flag_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else --- 1557,1563 ---- ac_safe=`echo "-mieee-with-inexact" | sed 'y%./+-%__p_%'` echo $ac_n "checking whether ${CXX-c++} accepts -mieee-with-inexact""... $ac_c" 1>&6 ! echo "configure:1561: checking whether ${CXX-c++} accepts -mieee-with-inexact" >&5 if eval "test \"`echo '$''{'octave_cv_cxx_flag_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else *************** *** 1570,1583 **** XCXXFLAGS="$CXXFLAGS" CXXFLAGS="$CXXFLAGS -mieee-with-inexact" 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 --- 1573,1586 ---- XCXXFLAGS="$CXXFLAGS" CXXFLAGS="$CXXFLAGS -mieee-with-inexact" 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 *************** *** 1609,1614 **** --- 1612,1725 ---- fi ;; + *ibm-aix4*) + + ac_safe=`echo "-mno-fp-in-toc" | sed 'y%./+-%__p_%'` + echo $ac_n "checking whether ${CC-cc} accepts -mno-fp-in-toc""... $ac_c" 1>&6 + echo "configure:1620: checking whether ${CC-cc} accepts -mno-fp-in-toc" >&5 + if eval "test \"`echo '$''{'octave_cv_cc_flag_$ac_safe'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 + else + + + ac_ext=c + # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. + ac_cpp='$CPP $CPPFLAGS' + ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' + ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' + cross_compiling=$ac_cv_prog_cc_cross + + XCFLAGS="$CFLAGS" + CFLAGS="$CFLAGS -mno-fp-in-toc" + 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 + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "octave_cv_cc_flag_$ac_safe=no" + fi + rm -f conftest* + CFLAGS="$XCFLAGS" + + + fi + + if eval "test \"`echo '$octave_cv_cc_flag_'$ac_safe`\" = yes"; then + echo "$ac_t""yes" 1>&6 + + XTRA_CFLAGS="$XTRA_CFLAGS -mno-fp-in-toc" + else + echo "$ac_t""no" 1>&6 + + fi + + + ac_safe=`echo "-mno-fp-in-toc" | sed 'y%./+-%__p_%'` + echo $ac_n "checking whether ${CXX-c++} accepts -mno-fp-in-toc""... $ac_c" 1>&6 + echo "configure:1670: checking whether ${CXX-c++} accepts -mno-fp-in-toc" >&5 + if eval "test \"`echo '$''{'octave_cv_cxx_flag_$ac_safe'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 + else + + + ac_ext=C + # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. + ac_cpp='$CXXCPP $CPPFLAGS' + ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' + ac_link='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' + cross_compiling=$ac_cv_prog_cxx_cross + + XCXXFLAGS="$CXXFLAGS" + CXXFLAGS="$CXXFLAGS -mno-fp-in-toc" + 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 + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "octave_cv_cxx_flag_$ac_safe=no" + fi + rm -f conftest* + CXXFLAGS="$XCXXFLAGS" + ac_ext=c + # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. + ac_cpp='$CPP $CPPFLAGS' + ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' + ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' + cross_compiling=$ac_cv_prog_cc_cross + + + fi + + if eval "test \"`echo '$octave_cv_cxx_flag_'$ac_safe`\" = yes"; then + echo "$ac_t""yes" 1>&6 + + XTRA_CXXFLAGS="$XTRA_CXXFLAGS -mno-fp-in-toc" + else + echo "$ac_t""no" 1>&6 + + fi + + ;; esac ### Octave doesn't use exceptions yet, so disable them for somewhat *************** *** 1617,1623 **** ac_safe=`echo "-fno-rtti" | sed 'y%./+-%__p_%'` echo $ac_n "checking whether ${CXX-c++} accepts -fno-rtti""... $ac_c" 1>&6 ! echo "configure:1621: checking whether ${CXX-c++} accepts -fno-rtti" >&5 if eval "test \"`echo '$''{'octave_cv_cxx_flag_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else --- 1728,1734 ---- ac_safe=`echo "-fno-rtti" | sed 'y%./+-%__p_%'` echo $ac_n "checking whether ${CXX-c++} accepts -fno-rtti""... $ac_c" 1>&6 ! echo "configure:1732: checking whether ${CXX-c++} accepts -fno-rtti" >&5 if eval "test \"`echo '$''{'octave_cv_cxx_flag_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else *************** *** 1633,1646 **** XCXXFLAGS="$CXXFLAGS" CXXFLAGS="$CXXFLAGS -fno-rtti" 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 --- 1744,1757 ---- XCXXFLAGS="$CXXFLAGS" CXXFLAGS="$CXXFLAGS -fno-rtti" 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 *************** *** 1673,1679 **** ac_safe=`echo "-fno-exceptions" | sed 'y%./+-%__p_%'` echo $ac_n "checking whether ${CXX-c++} accepts -fno-exceptions""... $ac_c" 1>&6 ! echo "configure:1677: checking whether ${CXX-c++} accepts -fno-exceptions" >&5 if eval "test \"`echo '$''{'octave_cv_cxx_flag_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else --- 1784,1790 ---- ac_safe=`echo "-fno-exceptions" | sed 'y%./+-%__p_%'` echo $ac_n "checking whether ${CXX-c++} accepts -fno-exceptions""... $ac_c" 1>&6 ! echo "configure:1788: checking whether ${CXX-c++} accepts -fno-exceptions" >&5 if eval "test \"`echo '$''{'octave_cv_cxx_flag_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else *************** *** 1689,1702 **** XCXXFLAGS="$CXXFLAGS" CXXFLAGS="$CXXFLAGS -fno-exceptions" 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 --- 1800,1813 ---- XCXXFLAGS="$CXXFLAGS" CXXFLAGS="$CXXFLAGS -fno-exceptions" 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 *************** *** 1731,1737 **** ac_safe=`echo "-fno-implicit-templates" | sed 'y%./+-%__p_%'` echo $ac_n "checking whether ${CXX-c++} accepts -fno-implicit-templates""... $ac_c" 1>&6 ! echo "configure:1735: checking whether ${CXX-c++} accepts -fno-implicit-templates" >&5 if eval "test \"`echo '$''{'octave_cv_cxx_flag_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else --- 1842,1848 ---- ac_safe=`echo "-fno-implicit-templates" | sed 'y%./+-%__p_%'` echo $ac_n "checking whether ${CXX-c++} accepts -fno-implicit-templates""... $ac_c" 1>&6 ! echo "configure:1846: checking whether ${CXX-c++} accepts -fno-implicit-templates" >&5 if eval "test \"`echo '$''{'octave_cv_cxx_flag_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else *************** *** 1747,1760 **** XCXXFLAGS="$CXXFLAGS" CXXFLAGS="$CXXFLAGS -fno-implicit-templates" 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 --- 1858,1871 ---- XCXXFLAGS="$CXXFLAGS" CXXFLAGS="$CXXFLAGS -fno-implicit-templates" 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 *************** *** 1813,1819 **** # Extract the first word of "ranlib", so it can be a program name with args. set dummy ranlib; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 ! echo "configure:1817: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else --- 1924,1930 ---- # Extract the first word of "ranlib", so it can be a program name with args. set dummy ranlib; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 ! echo "configure:1928: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else *************** *** 1891,1897 **** # 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:1895: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_F77'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else --- 2002,2008 ---- # 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:2006: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_F77'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else *************** *** 1929,1935 **** else if test -n "$F77"; then echo $ac_n "checking for Fortran libraries""... $ac_c" 1>&6 ! echo "configure:1933: checking for Fortran libraries" >&5 if eval "test \"`echo '$''{'octave_cv_flibs'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 --- 2040,2046 ---- else if test -n "$F77"; then echo $ac_n "checking for Fortran libraries""... $ac_c" 1>&6 ! echo "configure:2044: checking for Fortran libraries" >&5 if eval "test \"`echo '$''{'octave_cv_flibs'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 *************** *** 2081,2088 **** FLIBS="$octave_cv_flibs" echo "$ac_t""$FLIBS" 1>&6 ! echo $ac_n "checking whether $F77 uses uppercase external names""... $ac_c" 1>&6 ! echo "configure:2086: checking whether $F77 uses uppercase external names" >&5 if eval "test \"`echo '$''{'octave_cv_f77_uppercase_names'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else --- 2192,2199 ---- FLIBS="$octave_cv_flibs" echo "$ac_t""$FLIBS" 1>&6 ! echo $ac_n "checking whether ${F77-f77} uses uppercase external names""... $ac_c" 1>&6 ! echo "configure:2197: checking whether ${F77-f77} uses uppercase external names" >&5 if eval "test \"`echo '$''{'octave_cv_f77_uppercase_names'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else *************** *** 2106,2113 **** EOF fi ! echo $ac_n "checking whether $F77 appends underscores to external names""... $ac_c" 1>&6 ! echo "configure:2111: checking whether $F77 appends underscores to external names" >&5 if eval "test \"`echo '$''{'octave_cv_f77_append_underscore'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 --- 2217,2224 ---- EOF fi ! echo $ac_n "checking whether ${F77-f77} appends underscores to external names""... $ac_c" 1>&6 ! echo "configure:2222: checking whether ${F77-f77} appends underscores to external names" >&5 if eval "test \"`echo '$''{'octave_cv_f77_append_underscore'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 *************** *** 2139,2153 **** fi echo $ac_n "checking whether ${F77-f77} is the GNU Fortran compiler""... $ac_c" 1>&6 ! echo "configure:2143: checking whether ${F77-f77} is the GNU Fortran compiler" >&5 if eval "test \"`echo '$''{'octave_cv_f77_is_g77'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else if $use_g77; then octave_cv_f77_is_g77=yes else ! f77_output=`$F77 -v 2>&1 | grep "GNU F77"` ! if test -n "$f77_output"; then octave_cv_f77_is_g77=yes else octave_cv_f77_is_g77=no --- 2250,2265 ---- fi echo $ac_n "checking whether ${F77-f77} is the GNU Fortran compiler""... $ac_c" 1>&6 ! echo "configure:2254: checking whether ${F77-f77} is the GNU Fortran compiler" >&5 if eval "test \"`echo '$''{'octave_cv_f77_is_g77'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else if $use_g77; then octave_cv_f77_is_g77=yes else ! echo " END" > conftest.f ! foutput=`${F77-f77} -v conftest.f 2>&1 | grep "GNU F77"` ! if test -n "$foutput"; then octave_cv_f77_is_g77=yes else octave_cv_f77_is_g77=no *************** *** 2168,2175 **** echo "configure: warning: assuming ${F77-f77} cross compiler is f2c compatible" 1>&2 fi else ! echo $ac_n "checking $F77/f2c compatibility""... $ac_c" 1>&6 ! echo "configure:2173: checking $F77/f2c compatibility" >&5 if eval "test \"`echo '$''{'octave_cv_f2c_f77_compat'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else --- 2280,2287 ---- echo "configure: warning: assuming ${F77-f77} cross compiler is f2c compatible" 1>&2 fi else ! echo $ac_n "checking ${F77-f77}/f2c compatibility""... $ac_c" 1>&6 ! echo "configure:2285: checking ${F77-f77}/f2c compatibility" >&5 if eval "test \"`echo '$''{'octave_cv_f2c_f77_compat'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else *************** *** 2258,2264 **** # Extract the first word of "f2c", so it can be a program name with args. set dummy f2c; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 ! echo "configure:2262: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_F2C'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else --- 2370,2376 ---- # Extract the first word of "f2c", so it can be a program name with args. set dummy f2c; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 ! echo "configure:2374: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_F2C'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else *************** *** 2322,2328 **** oct_conflib=libconflib.a oct_obj_ext=o ! if { (eval echo configure:2326: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then $AR $ARFLAGS $oct_conflib conftest.$oct_obj_ext 1>&5 if test -n "$RANLIB"; then $RANLIB $oct_conflib 1>&5 --- 2434,2440 ---- oct_conflib=libconflib.a oct_obj_ext=o ! if { (eval echo configure:2438: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then $AR $ARFLAGS $oct_conflib conftest.$oct_obj_ext 1>&5 if test -n "$RANLIB"; then $RANLIB $oct_conflib 1>&5 *************** *** 2330,2336 **** fi rm -f conftest* echo $ac_n "checking for f_open in -lf2c""... $ac_c" 1>&6 ! echo "configure:2334: checking for f_open in -lf2c" >&5 ac_lib_var=`echo f2c'_'f_open | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 --- 2442,2448 ---- fi rm -f conftest* echo $ac_n "checking for f_open in -lf2c""... $ac_c" 1>&6 ! echo "configure:2446: checking for f_open in -lf2c" >&5 ac_lib_var=`echo f2c'_'f_open | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 *************** *** 2338,2344 **** ac_save_LIBS="$LIBS" LIBS="-lf2c -L. -lconflib -lm $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 --- 2461,2467 ---- f_open() ; return 0; } EOF ! if { (eval echo configure:2465: \"$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 *************** *** 2374,2380 **** if test -z "$FLIBS"; then echo $ac_n "checking for d_sin in -lF77""... $ac_c" 1>&6 ! echo "configure:2378: checking for d_sin in -lF77" >&5 ac_lib_var=`echo F77'_'d_sin | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 --- 2486,2492 ---- if test -z "$FLIBS"; then echo $ac_n "checking for d_sin in -lF77""... $ac_c" 1>&6 ! echo "configure:2490: checking for d_sin in -lF77" >&5 ac_lib_var=`echo F77'_'d_sin | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 *************** *** 2382,2388 **** ac_save_LIBS="$LIBS" LIBS="-lF77 -lm $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 --- 2505,2511 ---- d_sin() ; return 0; } EOF ! if { (eval echo configure:2509: \"$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 *************** *** 2416,2422 **** if test -n "$FLIBS"; then echo $ac_n "checking for f_rew in -lI77""... $ac_c" 1>&6 ! echo "configure:2420: checking for f_rew in -lI77" >&5 ac_lib_var=`echo I77'_'f_rew | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 --- 2528,2534 ---- if test -n "$FLIBS"; then echo $ac_n "checking for f_rew in -lI77""... $ac_c" 1>&6 ! echo "configure:2532: checking for f_rew in -lI77" >&5 ac_lib_var=`echo I77'_'f_rew | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 *************** *** 2424,2430 **** ac_save_LIBS="$LIBS" LIBS="-lI77 -lF77 $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 --- 2547,2553 ---- f_rew() ; return 0; } EOF ! if { (eval echo configure:2551: \"$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 *************** *** 2680,2686 **** ### functions like gethostname and gettimeofday is in libsocket. echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&6 ! echo "configure:2684: checking for POSIXized ISC" >&5 if test -d /etc/conf/kconfig.d && grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1 then --- 2792,2798 ---- ### functions like gethostname and gettimeofday is in libsocket. echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&6 ! echo "configure:2796: checking for POSIXized ISC" >&5 if test -d /etc/conf/kconfig.d && grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1 then *************** *** 2702,2718 **** ac_safe=`echo "minix/config.h" | sed 'y%./+-%__p_%'` echo $ac_n "checking for minix/config.h""... $ac_c" 1>&6 ! echo "configure:2706: checking for minix/config.h" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" ! { (eval echo configure:2716: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then rm -rf conftest* --- 2814,2830 ---- ac_safe=`echo "minix/config.h" | sed 'y%./+-%__p_%'` echo $ac_n "checking for minix/config.h""... $ac_c" 1>&6 ! echo "configure:2818: checking for minix/config.h" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" ! { (eval echo configure:2828: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then rm -rf conftest* *************** *** 2750,2758 **** fi echo $ac_n "checking for AIX""... $ac_c" 1>&6 ! echo "configure:2754: checking for AIX" >&5 cat > conftest.$ac_ext <&6 ! echo "configure:2866: checking for AIX" >&5 cat > conftest.$ac_ext <&6 ! echo "configure:2778: checking for getpwnam in -lsun" >&5 ac_lib_var=`echo sun'_'getpwnam | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 --- 2886,2892 ---- echo $ac_n "checking for getpwnam in -lsun""... $ac_c" 1>&6 ! echo "configure:2890: checking for getpwnam in -lsun" >&5 ac_lib_var=`echo sun'_'getpwnam | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 *************** *** 2782,2788 **** ac_save_LIBS="$LIBS" LIBS="-lsun $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 --- 2905,2911 ---- getpwnam() ; return 0; } EOF ! if { (eval echo configure:2909: \"$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 *************** *** 2821,2827 **** fi echo $ac_n "checking for gethostname in -lsocket""... $ac_c" 1>&6 ! echo "configure:2825: checking for gethostname in -lsocket" >&5 ac_lib_var=`echo socket'_'gethostname | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 --- 2933,2939 ---- fi echo $ac_n "checking for gethostname in -lsocket""... $ac_c" 1>&6 ! echo "configure:2937: checking for gethostname in -lsocket" >&5 ac_lib_var=`echo socket'_'gethostname | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 *************** *** 2829,2835 **** ac_save_LIBS="$LIBS" LIBS="-lsocket $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 --- 2952,2958 ---- gethostname() ; return 0; } EOF ! if { (eval echo configure:2956: \"$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 *************** *** 2871,2877 **** case "$canonical_host_type" in alpha*-dec-osf*) echo $ac_n "checking for dgemm_ in -ldxml""... $ac_c" 1>&6 ! echo "configure:2875: checking for dgemm_ in -ldxml" >&5 ac_lib_var=`echo dxml'_'dgemm_ | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 --- 2983,2989 ---- case "$canonical_host_type" in alpha*-dec-osf*) echo $ac_n "checking for dgemm_ in -ldxml""... $ac_c" 1>&6 ! echo "configure:2987: checking for dgemm_ in -ldxml" >&5 ac_lib_var=`echo dxml'_'dgemm_ | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 *************** *** 2879,2885 **** ac_save_LIBS="$LIBS" LIBS="-ldxml $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 --- 3002,3008 ---- dgemm_() ; return 0; } EOF ! if { (eval echo configure:3006: \"$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 *************** *** 2918,2924 **** ### be eliminated in favor of run-time checks. echo $ac_n "checking size of short""... $ac_c" 1>&6 ! echo "configure:2922: checking size of short" >&5 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else --- 3030,3036 ---- ### be eliminated in favor of run-time checks. echo $ac_n "checking size of short""... $ac_c" 1>&6 ! echo "configure:3034: checking size of short" >&5 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else *************** *** 2926,2932 **** ac_cv_sizeof_short=2 else cat > conftest.$ac_ext < main() --- 3038,3044 ---- ac_cv_sizeof_short=2 else cat > conftest.$ac_ext < main() *************** *** 2937,2943 **** exit(0); } EOF ! if { (eval echo configure:2941: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null then ac_cv_sizeof_short=`cat conftestval` else --- 3049,3055 ---- exit(0); } EOF ! if { (eval echo configure:3053: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null then ac_cv_sizeof_short=`cat conftestval` else *************** *** 2957,2963 **** echo $ac_n "checking size of int""... $ac_c" 1>&6 ! echo "configure:2961: checking size of int" >&5 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else --- 3069,3075 ---- echo $ac_n "checking size of int""... $ac_c" 1>&6 ! echo "configure:3073: checking size of int" >&5 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else *************** *** 2965,2971 **** ac_cv_sizeof_int=4 else cat > conftest.$ac_ext < main() --- 3077,3083 ---- ac_cv_sizeof_int=4 else cat > conftest.$ac_ext < main() *************** *** 2976,2982 **** exit(0); } EOF ! if { (eval echo configure:2980: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null then ac_cv_sizeof_int=`cat conftestval` else --- 3088,3094 ---- exit(0); } EOF ! if { (eval echo configure:3092: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null then ac_cv_sizeof_int=`cat conftestval` else *************** *** 2996,3002 **** echo $ac_n "checking size of long""... $ac_c" 1>&6 ! echo "configure:3000: checking size of long" >&5 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else --- 3108,3114 ---- echo $ac_n "checking size of long""... $ac_c" 1>&6 ! echo "configure:3112: checking size of long" >&5 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else *************** *** 3004,3010 **** ac_cv_sizeof_long=4 else cat > conftest.$ac_ext < main() --- 3116,3122 ---- ac_cv_sizeof_long=4 else cat > conftest.$ac_ext < main() *************** *** 3015,3021 **** exit(0); } EOF ! if { (eval echo configure:3019: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null then ac_cv_sizeof_long=`cat conftestval` else --- 3127,3133 ---- exit(0); } EOF ! if { (eval echo configure:3131: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null then ac_cv_sizeof_long=`cat conftestval` else *************** *** 3040,3058 **** # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works # for constant arguments. Useless! echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 ! echo "configure:3044: checking for working alloca.h" >&5 if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < int main() { char *p = alloca(2 * sizeof(int)); ; return 0; } EOF ! if { (eval echo configure:3056: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* ac_cv_header_alloca_h=yes else --- 3152,3170 ---- # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works # for constant arguments. Useless! echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 ! echo "configure:3156: checking for working alloca.h" >&5 if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < int main() { char *p = alloca(2 * sizeof(int)); ; return 0; } EOF ! if { (eval echo configure:3168: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* ac_cv_header_alloca_h=yes else *************** *** 3073,3084 **** fi echo $ac_n "checking for alloca""... $ac_c" 1>&6 ! echo "configure:3077: checking for alloca" >&5 if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&6 ! echo "configure:3189: checking for alloca" >&5 if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+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* ac_cv_func_alloca_works=yes else --- 3213,3219 ---- char *p = (char *) alloca(1); ; return 0; } EOF ! if { (eval echo configure:3217: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* ac_cv_func_alloca_works=yes else *************** *** 3133,3144 **** echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 ! echo "configure:3137: checking whether alloca needs Cray hooks" >&5 if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&6 ! echo "configure:3249: checking whether alloca needs Cray hooks" >&5 if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&6 ! echo "configure:3167: 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:3279: 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 --- 3303,3309 ---- ; return 0; } EOF ! if { (eval echo configure:3307: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else *************** *** 3218,3224 **** fi echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 ! echo "configure:3222: checking stack direction for C alloca" >&5 if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else --- 3330,3336 ---- fi echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 ! echo "configure:3334: checking stack direction for C alloca" >&5 if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else *************** *** 3226,3232 **** ac_cv_c_stack_direction=0 else cat > conftest.$ac_ext < conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null then ac_cv_c_stack_direction=1 else --- 3357,3363 ---- exit (find_stack_direction() < 0); } EOF ! if { (eval echo configure:3361: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null then ac_cv_c_stack_direction=1 else *************** *** 3267,3278 **** fi echo $ac_n "checking for working const""... $ac_c" 1>&6 ! echo "configure:3271: checking for working const" >&5 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&6 ! echo "configure:3383: checking for working const" >&5 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_c_const=yes else --- 3433,3439 ---- ; return 0; } EOF ! if { (eval echo configure:3437: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_c_const=yes else *************** *** 3345,3351 **** ### See if we should define NPOS. echo $ac_n "checking whether including defines NPOS""... $ac_c" 1>&6 ! echo "configure:3349: checking whether including defines NPOS" >&5 if eval "test \"`echo '$''{'octave_cv_string_npos'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else --- 3457,3463 ---- ### See if we should define NPOS. echo $ac_n "checking whether including defines NPOS""... $ac_c" 1>&6 ! echo "configure:3461: checking whether including defines NPOS" >&5 if eval "test \"`echo '$''{'octave_cv_string_npos'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else *************** *** 3358,3371 **** cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext < int main() { size_t foo = NPOS ; return 0; } EOF ! if { (eval echo configure:3369: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* octave_cv_string_npos=yes else --- 3470,3483 ---- cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext < int main() { size_t foo = NPOS ; return 0; } EOF ! if { (eval echo configure:3481: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* octave_cv_string_npos=yes else *************** *** 3396,3407 **** ### Checks for header files. echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 ! echo "configure:3400: checking for ANSI C header files" >&5 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include --- 3508,3519 ---- ### Checks for header files. echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 ! echo "configure:3512: checking for ANSI C header files" >&5 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include *************** *** 3409,3415 **** #include EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" ! { (eval echo configure:3413: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then rm -rf conftest* --- 3521,3527 ---- #include EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" ! { (eval echo configure:3525: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then rm -rf conftest* *************** *** 3426,3432 **** if test $ac_cv_header_stdc = yes; then # SunOS 4.x string.h does not declare mem*, contrary to ANSI. cat > conftest.$ac_ext < EOF --- 3538,3544 ---- if test $ac_cv_header_stdc = yes; then # SunOS 4.x string.h does not declare mem*, contrary to ANSI. cat > conftest.$ac_ext < EOF *************** *** 3444,3450 **** if test $ac_cv_header_stdc = yes; then # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. cat > conftest.$ac_ext < EOF --- 3556,3562 ---- if test $ac_cv_header_stdc = yes; then # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. cat > conftest.$ac_ext < EOF *************** *** 3465,3471 **** : else cat > conftest.$ac_ext < #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') --- 3577,3583 ---- : else cat > conftest.$ac_ext < #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') *************** *** 3476,3482 **** exit (0); } EOF ! if { (eval echo configure:3480: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null then : else --- 3588,3594 ---- exit (0); } EOF ! if { (eval echo configure:3592: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null then : else *************** *** 3504,3515 **** do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6 ! echo "configure:3508: checking for $ac_hdr that defines DIR" >&5 if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include <$ac_hdr> --- 3616,3627 ---- do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6 ! echo "configure:3620: checking for $ac_hdr that defines DIR" >&5 if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include <$ac_hdr> *************** *** 3517,3523 **** DIR *dirp = 0; ; return 0; } EOF ! if { (eval echo configure:3521: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* eval "ac_cv_header_dirent_$ac_safe=yes" else --- 3629,3635 ---- DIR *dirp = 0; ; return 0; } EOF ! if { (eval echo configure:3633: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* eval "ac_cv_header_dirent_$ac_safe=yes" else *************** *** 3542,3548 **** # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. if test $ac_header_dirent = dirent.h; then echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6 ! echo "configure:3546: checking for opendir in -ldir" >&5 ac_lib_var=`echo dir'_'opendir | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 --- 3654,3660 ---- # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. if test $ac_header_dirent = dirent.h; then echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6 ! echo "configure:3658: checking for opendir in -ldir" >&5 ac_lib_var=`echo dir'_'opendir | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 *************** *** 3550,3556 **** ac_save_LIBS="$LIBS" LIBS="-ldir $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 --- 3673,3679 ---- opendir() ; return 0; } EOF ! if { (eval echo configure:3677: \"$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 *************** *** 3583,3589 **** else echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6 ! echo "configure:3587: checking for opendir in -lx" >&5 ac_lib_var=`echo x'_'opendir | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 --- 3695,3701 ---- else echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6 ! echo "configure:3699: checking for opendir in -lx" >&5 ac_lib_var=`echo x'_'opendir | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 *************** *** 3591,3597 **** ac_save_LIBS="$LIBS" LIBS="-lx $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 --- 3714,3720 ---- opendir() ; return 0; } EOF ! if { (eval echo configure:3718: \"$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 *************** *** 3625,3636 **** fi echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 ! echo "configure:3629: checking whether time.h and sys/time.h may both be included" >&5 if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include --- 3737,3748 ---- fi echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 ! echo "configure:3741: checking whether time.h and sys/time.h may both be included" >&5 if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include *************** *** 3639,3645 **** struct tm *tp; ; return 0; } EOF ! if { (eval echo configure:3643: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_header_time=yes else --- 3751,3757 ---- struct tm *tp; ; return 0; } EOF ! if { (eval echo configure:3755: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_header_time=yes else *************** *** 3660,3671 **** fi echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 ! echo "configure:3664: checking for sys/wait.h that is POSIX.1 compatible" >&5 if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include --- 3772,3783 ---- fi echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 ! echo "configure:3776: checking for sys/wait.h that is POSIX.1 compatible" >&5 if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include *************** *** 3681,3687 **** s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; ; return 0; } EOF ! if { (eval echo configure:3685: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_header_sys_wait_h=yes else --- 3793,3799 ---- s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; ; return 0; } EOF ! if { (eval echo configure:3797: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_header_sys_wait_h=yes else *************** *** 3711,3727 **** do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 ! echo "configure:3715: checking for $ac_hdr" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" ! { (eval echo configure:3725: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then rm -rf conftest* --- 3823,3839 ---- do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 ! echo "configure:3827: checking for $ac_hdr" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" ! { (eval echo configure:3837: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then rm -rf conftest* *************** *** 3763,3769 **** && test "$ac_cv_header_glob_h" = yes; then GLOB_DIR= echo $ac_n "checking for glob in -lglob""... $ac_c" 1>&6 ! echo "configure:3767: checking for glob in -lglob" >&5 ac_lib_var=`echo glob'_'glob | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 --- 3875,3881 ---- && test "$ac_cv_header_glob_h" = yes; then GLOB_DIR= echo $ac_n "checking for glob in -lglob""... $ac_c" 1>&6 ! echo "configure:3879: checking for glob in -lglob" >&5 ac_lib_var=`echo glob'_'glob | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 *************** *** 3771,3777 **** ac_save_LIBS="$LIBS" LIBS="-lglob $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 --- 3894,3900 ---- glob() ; return 0; } EOF ! if { (eval echo configure:3898: \"$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 *************** *** 3812,3823 **** for ac_func in fnmatch glob do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 ! echo "configure:3816: 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:3928: 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 --- 3952,3958 ---- ; return 0; } EOF ! if { (eval echo configure:3956: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else *************** *** 3880,3897 **** for ac_func in atexit bcopy bzero dup2 endgrent endpwent execvp fcntl \ fork getcwd getegid geteuid getgid getgrent getgrgid getgrnam \ gethostname getpgrp getpid getppid getpwent getpwnam getpwuid \ ! getuid getwd lstat memmove mkdir mkfifo on_exit pipe putenv rename \ ! rindex rmdir setgrent setpwent setvbuf sigaction sigpending sigprocmask \ ! sigsuspend stat strcasecmp strdup strerror stricmp strncasecmp \ ! strnicmp tempnam umask unlink usleep vfprintf vsprintf waitpid do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 ! echo "configure:3890: 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:4003: 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 --- 4027,4033 ---- ; return 0; } EOF ! if { (eval echo configure:4031: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else *************** *** 3940,3946 **** echo $ac_n "checking whether putenv uses malloc""... $ac_c" 1>&6 ! echo "configure:3944: checking whether putenv uses malloc" >&5 if eval "test \"`echo '$''{'octave_cv_func_putenv_malloc'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else --- 4053,4059 ---- echo $ac_n "checking whether putenv uses malloc""... $ac_c" 1>&6 ! echo "configure:4057: checking whether putenv uses malloc" >&5 if eval "test \"`echo '$''{'octave_cv_func_putenv_malloc'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else *************** *** 3948,3954 **** octave_cv_func_putenv_malloc=no else cat > conftest.$ac_ext < conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null then octave_cv_func_putenv_malloc=yes else --- 4114,4120 ---- exit (rstr1 == rstr2 ? 0 : 1); } EOF ! if { (eval echo configure:4118: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null then octave_cv_func_putenv_malloc=yes else *************** *** 4022,4040 **** fi echo $ac_n "checking whether program_invocation_name is predefined""... $ac_c" 1>&6 ! echo "configure:4026: checking whether program_invocation_name is predefined" >&5 if eval "test \"`echo '$''{'octave_cv_var_program_inv_name'+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* octave_cv_var_program_inv_name=yes else --- 4135,4153 ---- fi echo $ac_n "checking whether program_invocation_name is predefined""... $ac_c" 1>&6 ! echo "configure:4139: checking whether program_invocation_name is predefined" >&5 if eval "test \"`echo '$''{'octave_cv_var_program_inv_name'+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* octave_cv_var_program_inv_name=yes else *************** *** 4067,4073 **** ;; *) echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 ! echo "configure:4071: checking for dlopen in -ldl" >&5 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 --- 4180,4186 ---- ;; *) echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 ! echo "configure:4184: checking for dlopen in -ldl" >&5 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 *************** *** 4075,4081 **** ac_save_LIBS="$LIBS" LIBS="-ldl $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 --- 4199,4205 ---- dlopen() ; return 0; } EOF ! if { (eval echo configure:4203: \"$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 *************** *** 4116,4127 **** for ac_func in dlopen dlsym dlerror dlclose do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 ! echo "configure:4120: 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:4233: 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 --- 4257,4263 ---- ; return 0; } EOF ! if { (eval echo configure:4261: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else *************** *** 4196,4202 **** if test "$WITH_SHL" = yes || test "$WITH_SHL" = maybe; then echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 ! echo "configure:4200: checking for shl_load in -ldld" >&5 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 --- 4309,4315 ---- if test "$WITH_SHL" = yes || test "$WITH_SHL" = maybe; then echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 ! echo "configure:4313: checking for shl_load in -ldld" >&5 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 *************** *** 4204,4210 **** ac_save_LIBS="$LIBS" LIBS="-ldld $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 --- 4328,4334 ---- shl_load() ; return 0; } EOF ! if { (eval echo configure:4332: \"$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 *************** *** 4245,4256 **** for ac_func in shl_load shl_findsym do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 ! echo "configure:4249: 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:4362: 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 --- 4386,4392 ---- ; return 0; } EOF ! if { (eval echo configure:4390: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else *************** *** 4331,4346 **** fi ! ### There is more than one possible prototype for gettimeofday. See ! ### which one (if any) appears in sys/time.h. ! ! echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6 ! echo "configure:4339: checking for gettimeofday" >&5 if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&6 ! echo "configure:4452: checking for gettimeofday" >&5 if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+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_gettimeofday=yes" else --- 4476,4482 ---- ; return 0; } EOF ! if { (eval echo configure:4480: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_gettimeofday=yes" else *************** *** 4378,4391 **** if eval "test \"`echo '$ac_cv_func_'gettimeofday`\" = yes"; then echo "$ac_t""yes" 1>&6 cat > conftest.$ac_ext < int main() { gettimeofday ((struct timeval *) 0,(struct timezone *) 0); ; return 0; } EOF ! if { (eval echo configure:4389: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then : else echo "configure: failed program was:" >&5 --- 4491,4504 ---- if eval "test \"`echo '$ac_cv_func_'gettimeofday`\" = yes"; then echo "$ac_t""yes" 1>&6 cat > conftest.$ac_ext < int main() { gettimeofday ((struct timeval *) 0,(struct timezone *) 0); ; return 0; } EOF ! if { (eval echo configure:4502: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then : else echo "configure: failed program was:" >&5 *************** *** 4401,4406 **** --- 4514,4520 ---- echo "$ac_t""no" 1>&6 fi + fi ### Check to see if we have IEEE math functions, and if so, which ones. *************** *** 4410,4416 **** ### with functions from the BSD/NET2 math library. echo $ac_n "checking for quiet_nan in -lsunmath""... $ac_c" 1>&6 ! echo "configure:4414: 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 --- 4524,4530 ---- ### with functions from the BSD/NET2 math library. echo $ac_n "checking for quiet_nan in -lsunmath""... $ac_c" 1>&6 ! echo "configure:4528: 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 *************** *** 4418,4424 **** ac_save_LIBS="$LIBS" LIBS="-lsunmath -lm $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 --- 4543,4549 ---- quiet_nan() ; return 0; } EOF ! if { (eval echo configure:4547: \"$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 *************** *** 4461,4467 **** case "$canonical_host_type" in *-*-linux*) echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 ! echo "configure:4465: checking for sin in -lm" >&5 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 --- 4575,4581 ---- case "$canonical_host_type" in *-*-linux*) echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 ! echo "configure:4579: checking for sin in -lm" >&5 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 *************** *** 4469,4475 **** ac_save_LIBS="$LIBS" LIBS="-lm -lc $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 --- 4594,4600 ---- sin() ; return 0; } EOF ! if { (eval echo configure:4598: \"$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 *************** *** 4510,4516 **** ;; *) echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 ! echo "configure:4514: checking for sin in -lm" >&5 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 --- 4624,4630 ---- ;; *) echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 ! echo "configure:4628: checking for sin in -lm" >&5 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 *************** *** 4518,4524 **** ac_save_LIBS="$LIBS" LIBS="-lm $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 --- 4643,4649 ---- sin() ; return 0; } EOF ! if { (eval echo configure:4647: \"$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 *************** *** 4587,4598 **** for ac_func in finite isnan isinf infinity quiet_nan do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 ! echo "configure:4591: 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:4705: 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 --- 4729,4735 ---- ; return 0; } EOF ! if { (eval echo configure:4733: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else *************** *** 4647,4658 **** for ac_func in acosh asinh atanh erf erfc do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 ! echo "configure:4651: 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:4765: 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 --- 4789,4795 ---- ; return 0; } EOF ! if { (eval echo configure:4793: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else *************** *** 4703,4714 **** ### Checks for OS specific cruft. echo $ac_n "checking for st_blksize in struct stat""... $ac_c" 1>&6 ! echo "configure:4707: 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 --- 4817,4828 ---- ### Checks for OS specific cruft. echo $ac_n "checking for st_blksize in struct stat""... $ac_c" 1>&6 ! echo "configure:4821: 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 *************** *** 4716,4722 **** struct stat s; s.st_blksize; ; return 0; } EOF ! if { (eval echo configure:4720: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_struct_st_blksize=yes else --- 4830,4836 ---- struct stat s; s.st_blksize; ; return 0; } EOF ! if { (eval echo configure:4834: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_struct_st_blksize=yes else *************** *** 4737,4748 **** fi echo $ac_n "checking for st_blocks in struct stat""... $ac_c" 1>&6 ! echo "configure:4741: 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 --- 4851,4862 ---- fi echo $ac_n "checking for st_blocks in struct stat""... $ac_c" 1>&6 ! echo "configure:4855: 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 *************** *** 4750,4756 **** struct stat s; s.st_blocks; ; return 0; } EOF ! if { (eval echo configure:4754: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_struct_st_blocks=yes else --- 4864,4870 ---- struct stat s; s.st_blocks; ; return 0; } EOF ! if { (eval echo configure:4868: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_struct_st_blocks=yes else *************** *** 4773,4784 **** fi echo $ac_n "checking for st_rdev in struct stat""... $ac_c" 1>&6 ! echo "configure:4777: 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 --- 4887,4898 ---- fi echo $ac_n "checking for st_rdev in struct stat""... $ac_c" 1>&6 ! echo "configure:4891: 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 *************** *** 4786,4792 **** struct stat s; s.st_rdev; ; return 0; } EOF ! if { (eval echo configure:4790: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_struct_st_rdev=yes else --- 4900,4906 ---- struct stat s; s.st_rdev; ; return 0; } EOF ! if { (eval echo configure:4904: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_struct_st_rdev=yes else *************** *** 4807,4818 **** fi echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 ! echo "configure:4811: 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 --- 4921,4932 ---- fi echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 ! echo "configure:4925: 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 *************** *** 4820,4826 **** struct tm *tp; tp->tm_sec; ; return 0; } EOF ! if { (eval echo configure:4824: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_struct_tm=time.h else --- 4934,4940 ---- struct tm *tp; tp->tm_sec; ; return 0; } EOF ! if { (eval echo configure:4938: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_struct_tm=time.h else *************** *** 4841,4852 **** fi echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 ! echo "configure:4845: 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> --- 4955,4966 ---- fi echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 ! echo "configure:4959: 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> *************** *** 4854,4860 **** struct tm tm; tm.tm_zone; ; return 0; } EOF ! if { (eval echo configure:4858: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_struct_tm_zone=yes else --- 4968,4974 ---- struct tm tm; tm.tm_zone; ; return 0; } EOF ! if { (eval echo configure:4972: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_struct_tm_zone=yes else *************** *** 4874,4885 **** else echo $ac_n "checking for tzname""... $ac_c" 1>&6 ! echo "configure:4878: 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. */ --- 4988,4999 ---- else echo $ac_n "checking for tzname""... $ac_c" 1>&6 ! echo "configure:4992: 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. */ *************** *** 4889,4895 **** atoi(*tzname); ; return 0; } EOF ! if { (eval echo configure:4893: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* ac_cv_var_tzname=yes else --- 5003,5009 ---- atoi(*tzname); ; return 0; } EOF ! if { (eval echo configure:5007: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* ac_cv_var_tzname=yes else *************** *** 4911,4917 **** fi echo $ac_n "checking whether closedir returns void""... $ac_c" 1>&6 ! echo "configure:4915: 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 --- 5025,5031 ---- fi echo $ac_n "checking whether closedir returns void""... $ac_c" 1>&6 ! echo "configure:5029: 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 *************** *** 4919,4931 **** 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:4929: \"$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 --- 5033,5045 ---- 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:5043: \"$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 *************** *** 4949,4960 **** echo $ac_n "checking for gr_passwd in struct group""... $ac_c" 1>&6 ! echo "configure:4953: 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 --- 5063,5074 ---- echo $ac_n "checking for gr_passwd in struct group""... $ac_c" 1>&6 ! echo "configure:5067: 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 *************** *** 4962,4968 **** struct group s; s.gr_passwd; ; return 0; } EOF ! if { (eval echo configure:4966: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* octave_cv_struct_gr_passwd=yes else --- 5076,5082 ---- struct group s; s.gr_passwd; ; return 0; } EOF ! if { (eval echo configure:5080: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* octave_cv_struct_gr_passwd=yes else *************** *** 4986,4992 **** 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:4990: 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 --- 5100,5106 ---- 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:5104: 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 *************** *** 4994,5000 **** 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 --- 5119,5125 ---- tputs() ; return 0; } EOF ! if { (eval echo configure:5123: \"$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 *************** *** 5046,5061 **** fi echo $ac_n "checking for struct exception in math.h""... $ac_c" 1>&6 ! echo "configure:5050: 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:5059: \"$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 --- 5160,5175 ---- fi echo $ac_n "checking for struct exception in math.h""... $ac_c" 1>&6 ! echo "configure:5164: 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:5173: \"$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 *************** *** 5073,5084 **** ### Signal stuff. echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 ! echo "configure:5077: 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 --- 5187,5198 ---- ### Signal stuff. echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 ! echo "configure:5191: 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 *************** *** 5095,5101 **** int i; ; return 0; } EOF ! if { (eval echo configure:5099: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_type_signal=void else --- 5209,5215 ---- int i; ; return 0; } EOF ! if { (eval echo configure:5213: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_type_signal=void else *************** *** 5114,5125 **** echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 ! echo "configure:5118: 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 --- 5228,5239 ---- echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 ! echo "configure:5232: 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 *************** *** 5131,5137 **** char *msg = *(sys_siglist + 1); ; return 0; } EOF ! if { (eval echo configure:5135: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_decl_sys_siglist=yes else --- 5245,5251 ---- char *msg = *(sys_siglist + 1); ; return 0; } EOF ! if { (eval echo configure:5249: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_decl_sys_siglist=yes else *************** *** 5152,5167 **** fi echo $ac_n "checking for sys_siglist variable""... $ac_c" 1>&6 ! echo "configure:5156: 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:5165: \"$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 --- 5266,5281 ---- fi echo $ac_n "checking for sys_siglist variable""... $ac_c" 1>&6 ! echo "configure:5270: 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:5279: \"$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 *************** *** 5177,5189 **** rm -f conftest* echo $ac_n "checking for type of signal functions""... $ac_c" 1>&6 ! echo "configure:5181: 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() { --- 5291,5303 ---- rm -f conftest* echo $ac_n "checking for type of signal functions""... $ac_c" 1>&6 ! echo "configure:5295: 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() { *************** *** 5196,5202 **** ; return 0; } EOF ! if { (eval echo configure:5200: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* octave_cv_signal_vintage=posix else --- 5310,5316 ---- ; return 0; } EOF ! if { (eval echo configure:5314: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* octave_cv_signal_vintage=posix else *************** *** 5205,5211 **** rm -rf conftest* cat > conftest.$ac_ext < int main() { --- 5319,5325 ---- rm -rf conftest* cat > conftest.$ac_ext < int main() { *************** *** 5215,5221 **** ; return 0; } EOF ! if { (eval echo configure:5219: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* octave_cv_signal_vintage=4.2bsd else --- 5329,5335 ---- ; return 0; } EOF ! if { (eval echo configure:5333: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* octave_cv_signal_vintage=4.2bsd else *************** *** 5224,5230 **** rm -rf conftest* cat > conftest.$ac_ext < --- 5338,5344 ---- rm -rf conftest* cat > conftest.$ac_ext < *************** *** 5237,5243 **** ; return 0; } EOF ! if { (eval echo configure:5241: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* octave_cv_signal_vintage=svr3 else --- 5351,5357 ---- ; return 0; } EOF ! if { (eval echo configure:5355: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* octave_cv_signal_vintage=svr3 else *************** *** 5278,5284 **** echo $ac_n "checking if signal handlers must be reinstalled when invoked""... $ac_c" 1>&6 ! echo "configure:5282: 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 --- 5392,5398 ---- echo $ac_n "checking if signal handlers must be reinstalled when invoked""... $ac_c" 1>&6 ! echo "configure:5396: 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 *************** *** 5290,5296 **** fi else cat > conftest.$ac_ext < --- 5404,5410 ---- fi else cat > conftest.$ac_ext < *************** *** 5332,5338 **** } EOF ! if { (eval echo configure:5336: \"$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 --- 5446,5452 ---- } EOF ! if { (eval echo configure:5450: \"$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 *************** *** 5362,5373 **** ### Type stuff. echo $ac_n "checking for mode_t""... $ac_c" 1>&6 ! echo "configure:5366: 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 --- 5476,5487 ---- ### Type stuff. echo $ac_n "checking for mode_t""... $ac_c" 1>&6 ! echo "configure:5480: 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 *************** *** 5395,5406 **** fi echo $ac_n "checking for off_t""... $ac_c" 1>&6 ! echo "configure:5399: 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 --- 5509,5520 ---- fi echo $ac_n "checking for off_t""... $ac_c" 1>&6 ! echo "configure:5513: 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 *************** *** 5428,5439 **** fi echo $ac_n "checking for pid_t""... $ac_c" 1>&6 ! echo "configure:5432: 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 --- 5542,5553 ---- fi echo $ac_n "checking for pid_t""... $ac_c" 1>&6 ! echo "configure:5546: 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 *************** *** 5461,5472 **** fi echo $ac_n "checking for size_t""... $ac_c" 1>&6 ! echo "configure:5465: 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 --- 5575,5586 ---- fi echo $ac_n "checking for size_t""... $ac_c" 1>&6 ! echo "configure:5579: 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 *************** *** 5494,5505 **** fi echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 ! echo "configure:5498: 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 --- 5608,5619 ---- fi echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 ! echo "configure:5612: 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 *************** *** 5528,5539 **** fi echo $ac_n "checking for dev_t""... $ac_c" 1>&6 ! echo "configure:5532: 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 --- 5642,5653 ---- fi echo $ac_n "checking for dev_t""... $ac_c" 1>&6 ! echo "configure:5646: 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 *************** *** 5561,5572 **** fi echo $ac_n "checking for ino_t""... $ac_c" 1>&6 ! echo "configure:5565: 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 --- 5675,5686 ---- fi echo $ac_n "checking for ino_t""... $ac_c" 1>&6 ! echo "configure:5679: 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 *************** *** 5594,5605 **** fi echo $ac_n "checking for nlink_t""... $ac_c" 1>&6 ! echo "configure:5598: 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 --- 5708,5719 ---- fi echo $ac_n "checking for nlink_t""... $ac_c" 1>&6 ! echo "configure:5712: 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 *************** *** 5627,5638 **** fi echo $ac_n "checking for sigset_t""... $ac_c" 1>&6 ! echo "configure:5631: 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 --- 5741,5752 ---- fi echo $ac_n "checking for sigset_t""... $ac_c" 1>&6 ! echo "configure:5745: 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 *************** *** 5680,5691 **** for ac_func in getrusage times do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 ! echo "configure:5684: 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:5798: 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 --- 5822,5828 ---- ; return 0; } EOF ! if { (eval echo configure:5826: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else *************** *** 5779,5785 **** # 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:5783: 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 --- 5893,5899 ---- # 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:5897: 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 *************** *** 5812,5818 **** *) ac_lib=l ;; esac echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6 ! echo "configure:5816: 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 --- 5926,5932 ---- *) ac_lib=l ;; esac echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6 ! echo "configure:5930: 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 *************** *** 5820,5826 **** 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 --- 5945,5951 ---- yywrap() ; return 0; } EOF ! if { (eval echo configure:5949: \"$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 *************** *** 5873,5879 **** # 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:5877: 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 --- 5987,5993 ---- # 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:5991: 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 *************** *** 5912,5918 **** esac echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 ! echo "configure:5916: 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 --- 6026,6032 ---- esac echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 ! echo "configure:6030: 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 *************** *** 5941,5947 **** # 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:5945: 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 --- 6055,6061 ---- # 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:6059: 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 *************** *** 5985,5991 **** # 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:5989: 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 --- 6099,6105 ---- # 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:6103: 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 *************** *** 6055,6061 **** # 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:6059: 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 --- 6169,6175 ---- # 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:6173: 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 *************** *** 6082,6088 **** if test -n "$GNUPLOT_BINARY"; then echo $ac_n "checking to see if your gnuplot supports multiplot""... $ac_c" 1>&6 ! echo "configure:6086: 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 --- 6196,6202 ---- if test -n "$GNUPLOT_BINARY"; then echo $ac_n "checking to see if your gnuplot supports multiplot""... $ac_c" 1>&6 ! echo "configure:6200: 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 *************** *** 6094,6100 **** 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:6098: 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 --- 6208,6214 ---- 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:6212: 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 *************** *** 6140,6146 **** # 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:6144: 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 --- 6254,6260 ---- # 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:6258: 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 *************** *** 6211,6217 **** ac_safe=`echo "-Wall" | sed 'y%./+-%__p_%'` echo $ac_n "checking whether ${CC-cc} accepts -Wall""... $ac_c" 1>&6 ! echo "configure:6215: 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 --- 6325,6331 ---- ac_safe=`echo "-Wall" | sed 'y%./+-%__p_%'` echo $ac_n "checking whether ${CC-cc} accepts -Wall""... $ac_c" 1>&6 ! echo "configure:6329: 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 *************** *** 6227,6240 **** 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 --- 6341,6354 ---- 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 *************** *** 6265,6271 **** ac_safe=`echo "-Wall" | sed 'y%./+-%__p_%'` echo $ac_n "checking whether ${CXX-c++} accepts -Wall""... $ac_c" 1>&6 ! echo "configure:6269: 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 --- 6379,6385 ---- ac_safe=`echo "-Wall" | sed 'y%./+-%__p_%'` echo $ac_n "checking whether ${CXX-c++} accepts -Wall""... $ac_c" 1>&6 ! echo "configure:6383: 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 *************** *** 6281,6294 **** 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 --- 6395,6408 ---- 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 *************** *** 6340,6346 **** ac_safe=`echo "$flag" | sed 'y%./+-%__p_%'` echo $ac_n "checking whether ${CC-cc} accepts $flag""... $ac_c" 1>&6 ! echo "configure:6344: 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 --- 6454,6460 ---- ac_safe=`echo "$flag" | sed 'y%./+-%__p_%'` echo $ac_n "checking whether ${CC-cc} accepts $flag""... $ac_c" 1>&6 ! echo "configure:6458: 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 *************** *** 6356,6369 **** 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 --- 6470,6483 ---- 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 *************** *** 6395,6401 **** ac_safe=`echo "$flag" | sed 'y%./+-%__p_%'` echo $ac_n "checking whether ${CXX-c++} accepts $flag""... $ac_c" 1>&6 ! echo "configure:6399: 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 --- 6509,6515 ---- ac_safe=`echo "$flag" | sed 'y%./+-%__p_%'` echo $ac_n "checking whether ${CXX-c++} accepts $flag""... $ac_c" 1>&6 ! echo "configure:6513: 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 *************** *** 6411,6424 **** 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 --- 6525,6538 ---- 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 *************** *** 7030,7035 **** --- 7144,7151 ---- done fi + + chmod 755 install-octave ### Print a summary so that important information isn't missed. diff -cNr octave-2.0.12/configure.in octave-2.0.13/configure.in *** octave-2.0.12/configure.in Sat Apr 18 20:15:07 1998 --- octave-2.0.13/configure.in Fri May 15 00:37:57 1998 *************** *** 222,227 **** --- 222,230 ---- ### get full support for IEEE floating point. ### ### On Alpha/OSF systems, we need -mieee. + ### + ### On AIX systems, we need to limit the amount of stuff that goes in + ### the TOC. ieee_fp_flag= case "$canonical_host_type" in *************** *** 244,249 **** --- 247,258 ---- ieee_fp_flag=-mieee-with-inexact XTRA_CXXFLAGS="$XTRA_CXXFLAGS -mieee-with-inexact"]) ;; + *ibm-aix4*) + OCTAVE_CC_FLAG(-mno-fp-in-toc, [ + XTRA_CFLAGS="$XTRA_CFLAGS -mno-fp-in-toc"]) + OCTAVE_CXX_FLAG(-mno-fp-in-toc, [ + XTRA_CXXFLAGS="$XTRA_CXXFLAGS -mno-fp-in-toc"]) + ;; esac ### Octave doesn't use exceptions yet, so disable them for somewhat *************** *** 685,694 **** AC_CHECK_FUNCS(atexit bcopy bzero dup2 endgrent endpwent execvp fcntl \ fork getcwd getegid geteuid getgid getgrent getgrgid getgrnam \ gethostname getpgrp getpid getppid getpwent getpwnam getpwuid \ ! getuid getwd lstat memmove mkdir mkfifo on_exit pipe putenv rename \ ! rindex rmdir setgrent setpwent setvbuf sigaction sigpending sigprocmask \ ! sigsuspend stat strcasecmp strdup strerror stricmp strncasecmp \ ! strnicmp tempnam umask unlink usleep vfprintf vsprintf waitpid) OCTAVE_SMART_PUTENV OCTAVE_PROGRAM_INVOCATION_NAME --- 694,704 ---- AC_CHECK_FUNCS(atexit bcopy bzero dup2 endgrent endpwent execvp fcntl \ fork getcwd getegid geteuid getgid getgrent getgrgid getgrnam \ gethostname getpgrp getpid getppid getpwent getpwnam getpwuid \ ! gettimeofday getuid getwd lstat memmove mkdir mkfifo on_exit pipe \ ! putenv rename rindex rmdir setgrent setpwent setvbuf sigaction \ ! sigpending sigprocmask sigsuspend stat strcasecmp strdup strerror \ ! stricmp strncasecmp strnicmp tempnam umask unlink usleep vfprintf \ ! vsprintf waitpid) OCTAVE_SMART_PUTENV OCTAVE_PROGRAM_INVOCATION_NAME *************** *** 764,776 **** fi AC_SUBST(WITH_DYNAMIC_LINKING) ! ### There is more than one possible prototype for gettimeofday. See ! ### which one (if any) appears in sys/time.h. ! ! AC_CHECK_FUNC(gettimeofday, ! AC_TRY_COMPILE([#include ], ! [gettimeofday ((struct timeval *) 0,(struct timezone *) 0);], ! [], AC_DEFINE(GETTIMEOFDAY_NO_TZ))) dnl Would like to get rid of this cruft, and just have dnl --- 774,787 ---- fi AC_SUBST(WITH_DYNAMIC_LINKING) ! if test "$ac_cv_func_gettimeofday" = "yes"; then ! ### There is more than one possible prototype for gettimeofday. See ! ### which one (if any) appears in sys/time.h. ! AC_CHECK_FUNC(gettimeofday, ! AC_TRY_COMPILE([#include ], ! [gettimeofday ((struct timeval *) 0,(struct timezone *) 0);], ! [], AC_DEFINE(GETTIMEOFDAY_NO_TZ))) ! fi dnl Would like to get rid of this cruft, and just have dnl *************** *** 1062,1067 **** --- 1073,1080 ---- libcruft/quadpack/Makefile libcruft/ranlib/Makefile libcruft/specfun/Makefile libcruft/slatec-fn/Makefile libcruft/slatec-err/Makefile libcruft/villad/Makefile) + + chmod 755 install-octave ### Print a summary so that important information isn't missed. diff -cNr octave-2.0.12/doc/ChangeLog octave-2.0.13/doc/ChangeLog *** octave-2.0.12/doc/ChangeLog Sun May 3 19:59:52 1998 --- octave-2.0.13/doc/ChangeLog Thu May 21 13:15:49 1998 *************** *** 1,3 **** --- 1,12 ---- + Thu May 21 13:15:36 1998 John W. Eaton + + * Version 2.0.13 released. + + Thu May 14 21:04:40 1998 John W. Eaton + + * interpreter/Makefile.in (../../BUGS, ../../INSTALL): Add + --no-validate to makeinfo args. + Sun May 3 19:59:37 1998 John W. Eaton * Version 2.0.12 released. diff -cNr octave-2.0.12/doc/conf.texi octave-2.0.13/doc/conf.texi *** octave-2.0.12/doc/conf.texi Tue Feb 24 16:31:58 1998 --- octave-2.0.13/doc/conf.texi Thu May 21 13:10:55 1998 *************** *** 2,7 **** @c This is part of the Octave manual. @c For copying conditions, see the file gpl.texi. ! @set VERSION 2.0.11 @set OCTAVEHOME /usr/local @set TARGETHOSTTYPE i586-pc-linux-gnu --- 2,7 ---- @c This is part of the Octave manual. @c For copying conditions, see the file gpl.texi. ! @set VERSION 2.0.13 @set OCTAVEHOME /usr/local @set TARGETHOSTTYPE i586-pc-linux-gnu diff -cNr octave-2.0.12/doc/interpreter/Makefile.in octave-2.0.13/doc/interpreter/Makefile.in *** octave-2.0.12/doc/interpreter/Makefile.in Wed Jul 2 16:45:04 1997 --- octave-2.0.13/doc/interpreter/Makefile.in Thu May 14 21:05:48 1998 *************** *** 67,78 **** -dvips -o octave.ps octave.dvi ../../INSTALL.OCTAVE: install.texi ! -makeinfo -D INSTALLONLY --no-headers --no-split --output INSTALL \ -I$(srcdir) -I$(srcdir)/.. $(srcdir)/install.texi mv INSTALL ../../INSTALL.OCTAVE ../../BUGS: bugs.texi ! -makeinfo -D BUGSONLY --no-headers --no-split --output BUGS \ -I$(srcdir) -I$(srcdir)/.. $(srcdir)/bugs.texi mv BUGS ../../BUGS --- 67,80 ---- -dvips -o octave.ps octave.dvi ../../INSTALL.OCTAVE: install.texi ! -makeinfo -D INSTALLONLY \ ! --no-validate --no-headers --no-split --output INSTALL \ -I$(srcdir) -I$(srcdir)/.. $(srcdir)/install.texi mv INSTALL ../../INSTALL.OCTAVE ../../BUGS: bugs.texi ! -makeinfo -D BUGSONLY \ ! --no-validate --no-headers --no-split --output BUGS \ -I$(srcdir) -I$(srcdir)/.. $(srcdir)/bugs.texi mv BUGS ../../BUGS diff -cNr octave-2.0.12/doc/interpreter/install.texi octave-2.0.13/doc/interpreter/install.texi *** octave-2.0.12/doc/interpreter/install.texi Fri Feb 6 02:18:37 1998 --- octave-2.0.13/doc/interpreter/install.texi Thu May 14 21:03:01 1998 *************** *** 19,25 **** under the terms of the GNU General Public License as published by the Free Software Foundation. ! @node Installation, , Installation @chapter Installing Octave @end ifset --- 19,25 ---- under the terms of the GNU General Public License as published by the Free Software Foundation. ! @node Installation, , Installation @chapter Installing Octave @end ifset *************** *** 468,481 **** @email{bug-octave@@bevo.che.wisc.edu} if you are interested in helping make a binary distribution available for your system.) - Also, binary distributions are limited to static binaries that do not - support dynamic linking. For earlier versions of Octave, I tried - distributing dynamically linked binaries but that proved to be too much - trouble to support. If you want to have a copy of Octave that includes - all the features described in this manual, you will have to build it - from the sources yourself, or find someone else who is willing to do it - for you. - @menu * Installing Octave from a Binary Distribution:: * Creating a Binary Distribution:: --- 468,473 ---- *************** *** 595,600 **** @end example This will create a compressed tar file ready for distribution. ! It will contain statically linked binaries and have a name like @file{octave-@value{VERSION}-@value{TARGETHOSTTYPE}.tar.gz} @end itemize --- 587,592 ---- @end example This will create a compressed tar file ready for distribution. ! It will have a name like @file{octave-@value{VERSION}-@value{TARGETHOSTTYPE}.tar.gz} @end itemize diff -cNr octave-2.0.12/emacs/octave-mod.el octave-2.0.13/emacs/octave-mod.el *** octave-2.0.12/emacs/octave-mod.el Fri Oct 17 02:48:55 1997 --- octave-2.0.13/emacs/octave-mod.el Mon May 4 12:09:20 1998 *************** *** 513,518 **** --- 513,521 ---- (make-local-variable 'imenu-generic-expression) (setq imenu-generic-expression octave-mode-imenu-generic-expression) + (make-local-variable 'comment-multi-line) + (setq comment-multi-line nil) + (octave-add-octave-menu) (octave-initialize-completions) (run-hooks 'octave-mode-hook)) diff -cNr octave-2.0.12/install-octave.in octave-2.0.13/install-octave.in *** octave-2.0.12/install-octave.in Tue Apr 14 15:54:58 1998 --- octave-2.0.13/install-octave.in Fri May 15 00:34:37 1998 *************** *** 37,49 **** exit 1 fi - have_find=true - case "$canonical_host_type" in - *-*-cygwin32) - have_find=false - ;; - esac - distdir=`pwd` # Check whether to use -n or \c to keep echo from printing a newline --- 37,42 ---- *************** *** 246,282 **** done fi ! if $have_find; then ! oct_files=`find . -name '*.oct' -print` ! if test -n "$oct_files"; then ! echo "installing .oct files in $octfiledir" ! cd src ! for f in $oct_files do ! file=`basename $f` ! cp $f $octfiledir/$file ! chmod 755 $octfiledir/$file done - if test -f links-to-make; then - cat links-to-make | while read src dest - do - if test -n "$src" && test -n "$dest"; then - cd $octfiledir - ln $src $dest - fi - done - fi - cd $distdir fi fi echo "installing .m files in $fcnfiledir" cd scripts tar cf - . | ( cd $fcnfiledir ; tar xf - ) ! if $have_find; then ! find $fcnfiledir -type f -print | xargs chmod 0644 ! find $fcnfiledir -name '*.img' -print | xargs rm -f ! fi cd $distdir echo "installing image files in $imagedir" --- 239,270 ---- done fi ! oct_files=`find . -name '*.oct' -print` ! if test -n "$oct_files"; then ! echo "installing .oct files in $octfiledir" ! for f in $oct_files ! do ! file=`basename $f` ! cp $f $octfiledir/$file ! chmod 755 $octfiledir/$file ! done ! if test -f src/links-to-make; then ! cat src/links-to-make | while read src dest do ! if test -n "$src" && test -n "$dest"; then ! cd $octfiledir ! ln $src $dest ! fi done fi + cd $distdir fi echo "installing .m files in $fcnfiledir" cd scripts tar cf - . | ( cd $fcnfiledir ; tar xf - ) ! find $fcnfiledir -type f -print | xargs chmod 0644 ! find $fcnfiledir -name '*.img' -print | xargs rm -f cd $distdir echo "installing image files in $imagedir" diff -cNr octave-2.0.12/kpathsea/ChangeLog octave-2.0.13/kpathsea/ChangeLog *** octave-2.0.12/kpathsea/ChangeLog Thu Apr 23 23:41:57 1998 --- octave-2.0.13/kpathsea/ChangeLog Thu May 14 12:20:11 1998 *************** *** 1,3 **** --- 1,8 ---- + Thu May 14 12:19:47 1998 John W. Eaton + + * acklibtool.m4: For use with Octave, disable support for shared + libraries. + Thu Apr 23 15:08:40 1998 John W. Eaton * withenable.ac (texmfmain): Don't print warning if main temf diff -cNr octave-2.0.12/kpathsea/acklibtool.m4 octave-2.0.13/kpathsea/acklibtool.m4 *** octave-2.0.12/kpathsea/acklibtool.m4 Fri Apr 24 22:49:00 1998 --- octave-2.0.13/kpathsea/acklibtool.m4 Thu May 14 12:19:39 1998 *************** *** 20,33 **** exit 1 fi # ## Argument parsing: we support --enable-shared and --enable-static. ! AC_ARG_ENABLE(shared, ! [ --enable-shared build shared libraries [default=no]],, ! enable_shared=no) ! # ! AC_ARG_ENABLE(static, ! [ --enable-static build static libraries [default=yes]],, ! enable_static=yes) # # If they explicitly --enable-static, make that the link type. # More commonly, they will just --enable-shared; make that the link type. --- 20,37 ---- exit 1 fi # + ## For use with Octave, ignore these options and only build static libraries. + ## ## Argument parsing: we support --enable-shared and --enable-static. ! #AC_ARG_ENABLE(shared, ! #[ --enable-shared build shared libraries [default=no]],, ! # enable_shared=no) ! ## ! #AC_ARG_ENABLE(static, ! #[ --enable-static build static libraries [default=yes]],, ! # enable_static=yes) ! enable_shared=no ! enable_static=yes # # If they explicitly --enable-static, make that the link type. # More commonly, they will just --enable-shared; make that the link type. diff -cNr octave-2.0.12/kpathsea/configure octave-2.0.13/kpathsea/configure *** octave-2.0.12/kpathsea/configure Sun May 3 20:06:41 1998 --- octave-2.0.13/kpathsea/configure Thu May 21 13:16:30 1998 *************** *** 12,21 **** ac_default_prefix=/usr/local # Any additions from configure.in: ac_help="$ac_help - --enable-shared build shared libraries [default=no]" - ac_help="$ac_help - --enable-static build static libraries [default=yes]" - ac_help="$ac_help --without-mktexmf-default do not run mktexmf if MF source missing" ac_help="$ac_help --without-mktexpk-default do not run mktexpk if PK font missing" --- 12,17 ---- *************** *** 550,556 **** # Extract the first word of "gcc", so it can be a program name with args. set dummy gcc; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 ! echo "configure:554: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else --- 546,552 ---- # Extract the first word of "gcc", so it can be a program name with args. set dummy gcc; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 ! echo "configure:550: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else *************** *** 579,585 **** # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 ! echo "configure:583: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else --- 575,581 ---- # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 ! echo "configure:579: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else *************** *** 627,633 **** fi echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 ! echo "configure:631: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 ac_ext=c # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. --- 623,629 ---- fi echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 ! echo "configure:627: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 ac_ext=c # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. *************** *** 637,647 **** cross_compiling=$ac_cv_prog_cc_cross cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then ac_cv_prog_cc_works=yes # If we can't run a trivial program, we are probably using a cross compiler. if (./conftest; exit) 2>/dev/null; then --- 633,643 ---- cross_compiling=$ac_cv_prog_cc_cross cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then ac_cv_prog_cc_works=yes # If we can't run a trivial program, we are probably using a cross compiler. if (./conftest; exit) 2>/dev/null; then *************** *** 661,672 **** { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } fi echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 ! echo "configure:665: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 cross_compiling=$ac_cv_prog_cc_cross echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 ! echo "configure:670: checking whether we are using GNU C" >&5 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else --- 657,668 ---- { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } fi echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 ! echo "configure:661: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 cross_compiling=$ac_cv_prog_cc_cross echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 ! echo "configure:666: checking whether we are using GNU C" >&5 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else *************** *** 675,681 **** yes; #endif EOF ! if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:679: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then ac_cv_prog_gcc=yes else ac_cv_prog_gcc=no --- 671,677 ---- yes; #endif EOF ! if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:675: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then ac_cv_prog_gcc=yes else ac_cv_prog_gcc=no *************** *** 690,696 **** ac_save_CFLAGS="$CFLAGS" CFLAGS= echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 ! echo "configure:694: checking whether ${CC-cc} accepts -g" >&5 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else --- 686,692 ---- ac_save_CFLAGS="$CFLAGS" CFLAGS= echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 ! echo "configure:690: checking whether ${CC-cc} accepts -g" >&5 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else *************** *** 747,753 **** # 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:751: 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 --- 743,749 ---- # 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:747: 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 *************** *** 797,803 **** test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 ! echo "configure:801: 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 --- 793,799 ---- test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 ! echo "configure:797: 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 *************** *** 818,824 **** fi echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 ! echo "configure:822: checking whether ${MAKE-make} sets \${MAKE}" >&5 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 --- 814,820 ---- fi echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 ! echo "configure:818: checking whether ${MAKE-make} sets \${MAKE}" >&5 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 *************** *** 850,861 **** do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6 ! echo "configure:854: checking for $ac_hdr that defines DIR" >&5 if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include <$ac_hdr> --- 846,857 ---- do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6 ! echo "configure:850: checking for $ac_hdr that defines DIR" >&5 if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include <$ac_hdr> *************** *** 863,869 **** DIR *dirp = 0; ; return 0; } EOF ! if { (eval echo configure:867: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* eval "ac_cv_header_dirent_$ac_safe=yes" else --- 859,865 ---- DIR *dirp = 0; ; return 0; } EOF ! if { (eval echo configure:863: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* eval "ac_cv_header_dirent_$ac_safe=yes" else *************** *** 888,894 **** # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. if test $ac_header_dirent = dirent.h; then echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6 ! echo "configure:892: checking for opendir in -ldir" >&5 ac_lib_var=`echo dir'_'opendir | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 --- 884,890 ---- # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. if test $ac_header_dirent = dirent.h; then echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6 ! echo "configure:888: checking for opendir in -ldir" >&5 ac_lib_var=`echo dir'_'opendir | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 *************** *** 896,902 **** ac_save_LIBS="$LIBS" LIBS="-ldir $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 --- 903,909 ---- opendir() ; return 0; } EOF ! if { (eval echo configure:907: \"$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 *************** *** 929,935 **** else echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6 ! echo "configure:933: checking for opendir in -lx" >&5 ac_lib_var=`echo x'_'opendir | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 --- 925,931 ---- else echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6 ! echo "configure:929: checking for opendir in -lx" >&5 ac_lib_var=`echo x'_'opendir | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 *************** *** 937,943 **** ac_save_LIBS="$LIBS" LIBS="-lx $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 --- 944,950 ---- opendir() ; return 0; } EOF ! if { (eval echo configure:948: \"$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 *************** *** 971,977 **** fi echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 ! echo "configure:975: checking how to run the C preprocessor" >&5 # On Suns, sometimes $CPP names a directory. if test -n "$CPP" && test -d "$CPP"; then CPP= --- 967,973 ---- fi echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 ! echo "configure:971: checking how to run the C preprocessor" >&5 # On Suns, sometimes $CPP names a directory. if test -n "$CPP" && test -d "$CPP"; then CPP= *************** *** 986,998 **** # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. cat > conftest.$ac_ext < Syntax Error EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" ! { (eval echo configure:996: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then : --- 982,994 ---- # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. cat > conftest.$ac_ext < Syntax Error EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" ! { (eval echo configure:992: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then : *************** *** 1003,1015 **** rm -rf conftest* CPP="${CC-cc} -E -traditional-cpp" cat > conftest.$ac_ext < Syntax Error EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" ! { (eval echo configure:1013: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then : --- 999,1011 ---- rm -rf conftest* CPP="${CC-cc} -E -traditional-cpp" cat > conftest.$ac_ext < Syntax Error EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" ! { (eval echo configure:1009: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then : *************** *** 1032,1043 **** echo "$ac_t""$CPP" 1>&6 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 ! echo "configure:1036: checking for ANSI C header files" >&5 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include --- 1028,1039 ---- echo "$ac_t""$CPP" 1>&6 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 ! echo "configure:1032: checking for ANSI C header files" >&5 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include *************** *** 1045,1051 **** #include EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" ! { (eval echo configure:1049: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then rm -rf conftest* --- 1041,1047 ---- #include EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" ! { (eval echo configure:1045: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then rm -rf conftest* *************** *** 1062,1068 **** if test $ac_cv_header_stdc = yes; then # SunOS 4.x string.h does not declare mem*, contrary to ANSI. cat > conftest.$ac_ext < EOF --- 1058,1064 ---- if test $ac_cv_header_stdc = yes; then # SunOS 4.x string.h does not declare mem*, contrary to ANSI. cat > conftest.$ac_ext < EOF *************** *** 1080,1086 **** if test $ac_cv_header_stdc = yes; then # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. cat > conftest.$ac_ext < EOF --- 1076,1082 ---- if test $ac_cv_header_stdc = yes; then # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. cat > conftest.$ac_ext < EOF *************** *** 1101,1107 **** : else cat > conftest.$ac_ext < #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') --- 1097,1103 ---- : else cat > conftest.$ac_ext < #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') *************** *** 1112,1118 **** exit (0); } EOF ! if { (eval echo configure:1116: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null then : else --- 1108,1114 ---- exit (0); } EOF ! if { (eval echo configure:1112: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null then : else *************** *** 1136,1142 **** fi echo $ac_n "checking whether closedir returns void""... $ac_c" 1>&6 ! echo "configure:1140: 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 --- 1132,1138 ---- fi echo $ac_n "checking whether closedir returns void""... $ac_c" 1>&6 ! echo "configure:1136: 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 *************** *** 1144,1156 **** 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:1154: \"$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 --- 1140,1152 ---- 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:1150: \"$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 *************** *** 1177,1193 **** do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 ! echo "configure:1181: checking for $ac_hdr" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" ! { (eval echo configure:1191: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then rm -rf conftest* --- 1173,1189 ---- do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 ! echo "configure:1177: checking for $ac_hdr" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" ! { (eval echo configure:1187: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then rm -rf conftest* *************** *** 1219,1225 **** # Extract the first word of "ranlib", so it can be a program name with args. set dummy ranlib; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 ! echo "configure:1223: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else --- 1215,1221 ---- # Extract the first word of "ranlib", so it can be a program name with args. set dummy ranlib; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 ! echo "configure:1219: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else *************** *** 1252,1258 **** fi echo $ac_n "checking host system type""... $ac_c" 1>&6 ! echo "configure:1256: checking host system type" >&5 host_alias=$host case "$host_alias" in --- 1248,1254 ---- fi echo $ac_n "checking host system type""... $ac_c" 1>&6 ! echo "configure:1252: checking host system type" >&5 host_alias=$host case "$host_alias" in *************** *** 1276,1282 **** # echo $ac_n "checking for libtool object types""... $ac_c" 1>&6 ! echo "configure:1280: checking for libtool object types" >&5 # ## Check that the klibtool script is in ac_aux_dir. Don't bother to # scan PATH. For one thing, if we found it somewhere there, we couldn't --- 1272,1278 ---- # echo $ac_n "checking for libtool object types""... $ac_c" 1>&6 ! echo "configure:1276: checking for libtool object types" >&5 # ## Check that the klibtool script is in ac_aux_dir. Don't bother to # scan PATH. For one thing, if we found it somewhere there, we couldn't *************** *** 1289,1312 **** exit 1 fi # ## Argument parsing: we support --enable-shared and --enable-static. ! # Check whether --enable-shared or --disable-shared was given. ! if test "${enable_shared+set}" = set; then ! enableval="$enable_shared" ! : ! else ! enable_shared=no ! fi ! ! # ! # Check whether --enable-static or --disable-static was given. ! if test "${enable_static+set}" = set; then ! enableval="$enable_static" ! : ! else ! enable_static=yes ! fi ! # # If they explicitly --enable-static, make that the link type. # More commonly, they will just --enable-shared; make that the link type. --- 1285,1302 ---- exit 1 fi # + ## For use with Octave, ignore these options and only build static libraries. + ## ## Argument parsing: we support --enable-shared and --enable-static. ! #AC_ARG_ENABLE(shared, ! #[ --enable-shared build shared libraries [default=no]],, ! # enable_shared=no) ! ## ! #AC_ARG_ENABLE(static, ! #[ --enable-static build static libraries [default=yes]],, ! # enable_static=yes) ! enable_shared=no ! enable_static=yes # # If they explicitly --enable-static, make that the link type. # More commonly, they will just --enable-shared; make that the link type. *************** *** 1328,1339 **** for ac_func in basename putenv strcasecmp strtol strstr do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 ! echo "configure:1332: 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:1322: 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 --- 1346,1352 ---- ; return 0; } EOF ! if { (eval echo configure:1350: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else *************** *** 1386,1397 **** for ac_func in bcopy getcwd getwd do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 ! echo "configure:1390: 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:1380: 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 --- 1404,1410 ---- ; return 0; } EOF ! if { (eval echo configure:1408: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else *************** *** 1440,1451 **** echo $ac_n "checking for working const""... $ac_c" 1>&6 ! echo "configure:1444: checking for working const" >&5 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&6 ! echo "configure:1434: checking for working const" >&5 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_c_const=yes else --- 1484,1490 ---- ; return 0; } EOF ! if { (eval echo configure:1488: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_c_const=yes else *************** *** 1517,1535 **** # Check whether prototypes work. echo $ac_n "checking whether the compiler accepts prototypes""... $ac_c" 1>&6 ! echo "configure:1521: checking whether the compiler accepts prototypes" >&5 if eval "test \"`echo '$''{'kb_cv_c_prototypes'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < int main() { extern void foo(int i,...); ; return 0; } EOF ! if { (eval echo configure:1533: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* kb_cv_c_prototypes=yes else --- 1507,1525 ---- # Check whether prototypes work. echo $ac_n "checking whether the compiler accepts prototypes""... $ac_c" 1>&6 ! echo "configure:1511: checking whether the compiler accepts prototypes" >&5 if eval "test \"`echo '$''{'kb_cv_c_prototypes'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < int main() { extern void foo(int i,...); ; return 0; } EOF ! if { (eval echo configure:1523: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* kb_cv_c_prototypes=yes else *************** *** 1550,1568 **** # This is a GNU libc invention. echo $ac_n "checking whether program_invocation_name is predefined""... $ac_c" 1>&6 ! echo "configure:1554: checking whether program_invocation_name is predefined" >&5 if eval "test \"`echo '$''{'kb_cv_var_program_inv_name'+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* kb_cv_var_program_inv_name=yes else --- 1540,1558 ---- # This is a GNU libc invention. echo $ac_n "checking whether program_invocation_name is predefined""... $ac_c" 1>&6 ! echo "configure:1544: checking whether program_invocation_name is predefined" >&5 if eval "test \"`echo '$''{'kb_cv_var_program_inv_name'+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* kb_cv_var_program_inv_name=yes else *************** *** 1586,1592 **** # We don't actually need to run this if we don't have putenv, but it # doesn't hurt. echo $ac_n "checking whether putenv uses malloc""... $ac_c" 1>&6 ! echo "configure:1590: checking whether putenv uses malloc" >&5 if eval "test \"`echo '$''{'kb_cv_func_putenv_malloc'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else --- 1576,1582 ---- # We don't actually need to run this if we don't have putenv, but it # doesn't hurt. echo $ac_n "checking whether putenv uses malloc""... $ac_c" 1>&6 ! echo "configure:1580: checking whether putenv uses malloc" >&5 if eval "test \"`echo '$''{'kb_cv_func_putenv_malloc'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else *************** *** 1594,1600 **** kb_cv_func_putenv_malloc=no else cat > conftest.$ac_ext < conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null then kb_cv_func_putenv_malloc=yes else --- 1637,1643 ---- exit (rstr1 == rstr2 ? 0 : 1); } EOF ! if { (eval echo configure:1641: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null then kb_cv_func_putenv_malloc=yes else *************** *** 1671,1677 **** if test $ac_cv_func_getcwd = yes; then # We only need to run this if we have getcwd. echo $ac_n "checking whether getcwd uses fork or vfork""... $ac_c" 1>&6 ! echo "configure:1675: checking whether getcwd uses fork or vfork" >&5 if eval "test \"`echo '$''{'kb_cv_func_getcwd_forks'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else --- 1661,1667 ---- if test $ac_cv_func_getcwd = yes; then # We only need to run this if we have getcwd. echo $ac_n "checking whether getcwd uses fork or vfork""... $ac_c" 1>&6 ! echo "configure:1665: checking whether getcwd uses fork or vfork" >&5 if eval "test \"`echo '$''{'kb_cv_func_getcwd_forks'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else *************** *** 1679,1685 **** kb_cv_func_getcwd_forks=no else cat > conftest.$ac_ext < conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null then kb_cv_func_getcwd_forks=no else --- 1681,1687 ---- return 0; } EOF ! if { (eval echo configure:1685: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null then kb_cv_func_getcwd_forks=no else *************** *** 1793,1799 **** fi echo $ac_n "checking host system type""... $ac_c" 1>&6 ! echo "configure:1797: checking host system type" >&5 host_alias=$host case "$host_alias" in --- 1783,1789 ---- fi echo $ac_n "checking host system type""... $ac_c" 1>&6 ! echo "configure:1787: checking host system type" >&5 host_alias=$host case "$host_alias" in *************** *** 1825,1831 **** echo $ac_n "checking where the main texmf tree is located""... $ac_c" 1>&6 ! echo "configure:1829: checking where the main texmf tree is located" >&5 texmfmain= if test "x$datadir" != 'x${prefix}/share'; then # First case, datadir is defined... --- 1815,1821 ---- echo $ac_n "checking where the main texmf tree is located""... $ac_c" 1>&6 ! echo "configure:1819: checking where the main texmf tree is located" >&5 texmfmain= if test "x$datadir" != 'x${prefix}/share'; then # First case, datadir is defined... diff -cNr octave-2.0.12/kpathsea/stamp-auto octave-2.0.13/kpathsea/stamp-auto *** octave-2.0.12/kpathsea/stamp-auto Sun May 3 20:07:27 1998 --- octave-2.0.13/kpathsea/stamp-auto Thu May 21 13:17:06 1998 *************** *** 1 **** ! Sun May 3 20:07:27 CDT 1998 --- 1 ---- ! Thu May 21 13:17:06 CDT 1998 diff -cNr octave-2.0.12/libcruft/ChangeLog octave-2.0.13/libcruft/ChangeLog *** octave-2.0.12/libcruft/ChangeLog Sun May 3 19:59:58 1998 --- octave-2.0.13/libcruft/ChangeLog Thu May 21 13:15:59 1998 *************** *** 1,3 **** --- 1,13 ---- + Thu May 21 13:15:36 1998 John W. Eaton + + * Version 2.0.13 released. + + Mon May 11 12:33:42 1998 John W. Eaton + + * fftpack/passb3.f, fftpack/passb5.f, fftpack/passf3.f, + fftpack/passf5.f: Use double precision constants in data + statements. + Sun May 3 19:59:37 1998 John W. Eaton * Version 2.0.12 released. diff -cNr octave-2.0.12/libcruft/fftpack/passb3.f octave-2.0.13/libcruft/fftpack/passb3.f *** octave-2.0.12/libcruft/fftpack/passb3.f Thu Jul 18 20:29:15 1996 --- octave-2.0.13/libcruft/fftpack/passb3.f Mon May 11 12:03:13 1998 *************** *** 2,8 **** implicit double precision (a-h,o-z) dimension cc(ido,3,l1) ,ch(ido,l1,3) , 1 wa1(1) ,wa2(1) ! data taur,taui /-.5,.866025403784439/ if (ido .ne. 2) go to 102 do 101 k=1,l1 tr2 = cc(1,2,k)+cc(1,3,k) --- 2,8 ---- implicit double precision (a-h,o-z) dimension cc(ido,3,l1) ,ch(ido,l1,3) , 1 wa1(1) ,wa2(1) ! data taur,taui /-.5,.866025403784439d0/ if (ido .ne. 2) go to 102 do 101 k=1,l1 tr2 = cc(1,2,k)+cc(1,3,k) diff -cNr octave-2.0.12/libcruft/fftpack/passb5.f octave-2.0.13/libcruft/fftpack/passb5.f *** octave-2.0.12/libcruft/fftpack/passb5.f Thu Jul 18 20:29:15 1996 --- octave-2.0.13/libcruft/fftpack/passb5.f Mon May 11 12:03:13 1998 *************** *** 2,9 **** implicit double precision (a-h,o-z) dimension cc(ido,5,l1) ,ch(ido,l1,5) , 1 wa1(1) ,wa2(1) ,wa3(1) ,wa4(1) ! data tr11,ti11,tr12,ti12 /.309016994374947,.951056516295154, ! 1-.809016994374947,.587785252292473/ if (ido .ne. 2) go to 102 do 101 k=1,l1 ti5 = cc(2,2,k)-cc(2,5,k) --- 2,9 ---- implicit double precision (a-h,o-z) dimension cc(ido,5,l1) ,ch(ido,l1,5) , 1 wa1(1) ,wa2(1) ,wa3(1) ,wa4(1) ! data tr11,ti11,tr12,ti12 /.309016994374947d0,.951056516295154d0, ! 1-.809016994374947d0,.587785252292473d0/ if (ido .ne. 2) go to 102 do 101 k=1,l1 ti5 = cc(2,2,k)-cc(2,5,k) diff -cNr octave-2.0.12/libcruft/fftpack/passf3.f octave-2.0.13/libcruft/fftpack/passf3.f *** octave-2.0.12/libcruft/fftpack/passf3.f Thu Jul 18 20:29:15 1996 --- octave-2.0.13/libcruft/fftpack/passf3.f Mon May 11 12:03:13 1998 *************** *** 2,8 **** implicit double precision (a-h,o-z) dimension cc(ido,3,l1) ,ch(ido,l1,3) , 1 wa1(1) ,wa2(1) ! data taur,taui /-.5,-.866025403784439/ if (ido .ne. 2) go to 102 do 101 k=1,l1 tr2 = cc(1,2,k)+cc(1,3,k) --- 2,8 ---- implicit double precision (a-h,o-z) dimension cc(ido,3,l1) ,ch(ido,l1,3) , 1 wa1(1) ,wa2(1) ! data taur,taui /-.5d0,-.866025403784439d0/ if (ido .ne. 2) go to 102 do 101 k=1,l1 tr2 = cc(1,2,k)+cc(1,3,k) diff -cNr octave-2.0.12/libcruft/fftpack/passf5.f octave-2.0.13/libcruft/fftpack/passf5.f *** octave-2.0.12/libcruft/fftpack/passf5.f Thu Jul 18 20:29:15 1996 --- octave-2.0.13/libcruft/fftpack/passf5.f Mon May 11 12:03:13 1998 *************** *** 2,9 **** implicit double precision (a-h,o-z) dimension cc(ido,5,l1) ,ch(ido,l1,5) , 1 wa1(1) ,wa2(1) ,wa3(1) ,wa4(1) ! data tr11,ti11,tr12,ti12 /.309016994374947,-.951056516295154, ! 1-.809016994374947,-.587785252292473/ if (ido .ne. 2) go to 102 do 101 k=1,l1 ti5 = cc(2,2,k)-cc(2,5,k) --- 2,9 ---- implicit double precision (a-h,o-z) dimension cc(ido,5,l1) ,ch(ido,l1,5) , 1 wa1(1) ,wa2(1) ,wa3(1) ,wa4(1) ! data tr11,ti11,tr12,ti12 /.309016994374947d0,-.951056516295154d0, ! 1-.809016994374947d0,-.587785252292473d0/ if (ido .ne. 2) go to 102 do 101 k=1,l1 ti5 = cc(2,2,k)-cc(2,5,k) diff -cNr octave-2.0.12/liboctave/ChangeLog octave-2.0.13/liboctave/ChangeLog *** octave-2.0.12/liboctave/ChangeLog Sun May 3 19:59:57 1998 --- octave-2.0.13/liboctave/ChangeLog Thu May 21 13:15:58 1998 *************** *** 1,3 **** --- 1,7 ---- + Thu May 21 13:15:36 1998 John W. Eaton + + * Version 2.0.13 released. + Sun May 3 19:59:37 1998 John W. Eaton * Version 2.0.12 released. diff -cNr octave-2.0.12/octMakefile.in octave-2.0.13/octMakefile.in *** octave-2.0.12/octMakefile.in Tue Apr 14 10:17:01 1998 --- octave-2.0.13/octMakefile.in Mon May 18 16:28:35 1998 *************** *** 24,34 **** acconfig.h config.h.bot install-sh DISTFILES = $(CONF_DISTFILES) \ ! BUGS COPYING INSTALL INSTALL.OCTAVE NEWS NEWS.[0-9] \ ! PROJECTS README README.Linux README.Windows ROADMAP \ SENDING-PATCHES THANKS move-if-change octave-sh octave-bug.in \ ! install-octave.in mkinstalldirs mkoctfile.in texi2dvi INFO.PATCH \ ! MAKEINFO.PATCH ChangeLog ChangeLog.[0-9] # Complete directory trees to distribute. DISTDIRS = glob kpathsea readline # plplot --- 24,34 ---- acconfig.h config.h.bot install-sh DISTFILES = $(CONF_DISTFILES) \ ! BUGS COPYING INSTALL INSTALL.OCTAVE NEWS NEWS.[0-9] PROJECTS \ ! README README.Linux README.Windows README.MachTen ROADMAP \ SENDING-PATCHES THANKS move-if-change octave-sh octave-bug.in \ ! install-octave.in mkinstalldirs mkoctfile.in texi2dvi \ ! ChangeLog ChangeLog.[0-9] # Complete directory trees to distribute. DISTDIRS = glob kpathsea readline # plplot *************** *** 44,51 **** DISTSUBDIRS = libcruft liboctave dlfcn src scripts test doc emacs examples XBINDISTFILES = BUGS COPYING INSTALL INSTALL.OCTAVE NEWS NEWS.[0-9] \ ! PROJECTS README README.Linux README.Windows SENDING-PATCHES \ ! THANKS octave-sh install-octave mkinstalldirs \ ChangeLog ChangeLog.[0-9] BINDISTFILES = $(addprefix $(srcdir)/, $(XBINDISTFILES)) \ --- 44,51 ---- DISTSUBDIRS = libcruft liboctave dlfcn src scripts test doc emacs examples XBINDISTFILES = BUGS COPYING INSTALL INSTALL.OCTAVE NEWS NEWS.[0-9] \ ! PROJECTS README README.Linux README.Windows README.MachTen \ ! SENDING-PATCHES THANKS octave-sh install-octave mkinstalldirs \ ChangeLog ChangeLog.[0-9] BINDISTFILES = $(addprefix $(srcdir)/, $(XBINDISTFILES)) \ diff -cNr octave-2.0.12/scripts/ChangeLog octave-2.0.13/scripts/ChangeLog *** octave-2.0.12/scripts/ChangeLog Sun May 3 19:59:53 1998 --- octave-2.0.13/scripts/ChangeLog Thu May 21 13:15:51 1998 *************** *** 1,3 **** --- 1,26 ---- + Thu May 21 13:15:36 1998 John W. Eaton + + * Version 2.0.13 released. + + Mon May 18 11:42:36 1998 John W. Eaton + + * linear-algebra/dot.m: New function. + + * strings/lower.m, strings/upper.m: New functions, for Matlab + compatibility. + + Fri May 15 01:16:53 1998 John W. Eaton + + * plot/hist.m: Also allow just one output argument. + + Tue May 5 00:53:36 1998 John W. Eaton + + * plot/__plt2mv__.m: Delete calls to keyboard. + + Mon May 4 11:43:04 1998 John W. Eaton + + * plot/oneplot.m: Fix typo. + Sun May 3 19:59:37 1998 John W. Eaton * Version 2.0.12 released. diff -cNr octave-2.0.12/scripts/linear-algebra/dot.m octave-2.0.13/scripts/linear-algebra/dot.m *** octave-2.0.12/scripts/linear-algebra/dot.m Wed Dec 31 18:00:00 1969 --- octave-2.0.13/scripts/linear-algebra/dot.m Mon May 18 12:05:24 1998 *************** *** 0 **** --- 1,49 ---- + ## Copyright (C) 1998 John W. Eaton + ## + ## This program 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. + ## + ## This program 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 this file. If not, write to the Free Software Foundation, + ## 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + ## usage: dot (x, y) + ## + ## Computes the dot product of two vectors. + + ## Author: jwe + + function z = dot (x, y) + + if (nargin != 2) + usage ("dot (x, y)"); + endif + + if (is_vector (x) && is_vector (y) && length (x) == length (y)) + [x_nr, x_nc] = size (x); + [y_nr, y_nc] = size (y); + if (x_nr == 1) + if (y_nr == 1) + z = x * y'; + else + z = x * y; + endif + else + if (y_nr == 1) + z = y * x; + else + z = y' * x; + endif + endif + else + error ("dot: both arguments must be vectors of the same length"); + endif + + endfunction diff -cNr octave-2.0.12/scripts/plot/__plt2mv__.m octave-2.0.13/scripts/plot/__plt2mv__.m *** octave-2.0.12/scripts/plot/__plt2mv__.m Wed Apr 8 11:01:02 1998 --- octave-2.0.13/scripts/plot/__plt2mv__.m Tue May 5 00:52:43 1998 *************** *** 21,27 **** function __plt2mv__ (x, y, fmt) - keyboard if (nargin < 2 || nargin > 3) msg = sprintf ("__plt2mv__ (x, y)\n"); msg = sprintf ("%s __plt2mv__ (x, y, fmt)", msg); --- 21,26 ---- *************** *** 55,61 **** fmt_nr = rows (fmt); if (x_nc > 0) tmp = [x, y]; - keyboard cmd = sprintf ("gplot tmp(:,%d:%d:%d) %s", 1, x_nc, x_nc+1, deblank (fmt (k, :))); if (k < fmt_nr) --- 54,59 ---- diff -cNr octave-2.0.12/scripts/plot/hist.m octave-2.0.13/scripts/plot/hist.m *** octave-2.0.12/scripts/plot/hist.m Mon Jul 15 17:20:21 1996 --- octave-2.0.13/scripts/plot/hist.m Fri May 15 01:16:37 1998 *************** *** 90,96 **** endfor freq (n) = sum (y >= cutoff (n-1)); ! if (nargout == 2) nn = freq; xx = x; else --- 90,96 ---- endfor freq (n) = sum (y >= cutoff (n-1)); ! if (nargout > 0) nn = freq; xx = x; else diff -cNr octave-2.0.12/scripts/plot/oneplot.m octave-2.0.13/scripts/plot/oneplot.m *** octave-2.0.12/scripts/plot/oneplot.m Tue Mar 17 17:04:07 1998 --- octave-2.0.13/scripts/plot/oneplot.m Mon May 4 11:42:56 1998 *************** *** 40,46 **** gset size 1, 1; gset origin 0, 0; __multiplot_mode__ = 0; ! gnuplot_command_replot "rep"; clearplot; endif --- 40,46 ---- gset size 1, 1; gset origin 0, 0; __multiplot_mode__ = 0; ! gnuplot_command_replot = "rep"; clearplot; endif diff -cNr octave-2.0.12/scripts/strings/isletter.m octave-2.0.13/scripts/strings/isletter.m *** octave-2.0.12/scripts/strings/isletter.m Mon Apr 20 22:13:25 1998 --- octave-2.0.13/scripts/strings/isletter.m Mon May 18 11:41:54 1998 *************** *** 1,4 **** ! ## Copyright (C) 1996 John W. Eaton ## ## This file is part of Octave. ## --- 1,4 ---- ! ## Copyright (C) 1998 John W. Eaton ## ## This file is part of Octave. ## diff -cNr octave-2.0.12/scripts/strings/lower.m octave-2.0.13/scripts/strings/lower.m *** octave-2.0.12/scripts/strings/lower.m Wed Dec 31 18:00:00 1969 --- octave-2.0.13/scripts/strings/lower.m Mon May 18 11:42:13 1998 *************** *** 0 **** --- 1,34 ---- + ## Copyright (C) 1998 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: lower (s) + ## + ## See also: tolower + + ## Author: jwe + + function retval = lower (s) + + if (nargin != 1) + usage ("lower (s)"); + endif + + retval = tolower (s); + + endfunction diff -cNr octave-2.0.12/scripts/strings/upper.m octave-2.0.13/scripts/strings/upper.m *** octave-2.0.12/scripts/strings/upper.m Wed Dec 31 18:00:00 1969 --- octave-2.0.13/scripts/strings/upper.m Mon May 18 11:42:33 1998 *************** *** 0 **** --- 1,34 ---- + ## Copyright (C) 1998 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: upper (s) + ## + ## See also: toupper + + ## Author: jwe + + function retval = upper (s) + + if (nargin != 1) + usage ("upper (s)"); + endif + + retval = toupper (s); + + endfunction diff -cNr octave-2.0.12/src/ChangeLog octave-2.0.13/src/ChangeLog *** octave-2.0.12/src/ChangeLog Sun May 3 19:59:55 1998 --- octave-2.0.13/src/ChangeLog Thu May 21 13:15:52 1998 *************** *** 1,3 **** --- 1,40 ---- + Thu May 21 13:15:36 1998 John W. Eaton + + * Version 2.0.13 released. + + Fri May 15 21:48:07 1998 John W. Eaton + + * input.cc: Include systime.h. + + Thu May 14 16:23:15 1998 John W. Eaton + + * getrusage.cc: Include sys/types.h too. + + Wed May 13 22:49:04 1998 John W. Eaton + + * pt-fvc-base.h (tree_fvc::time_checked): Return double, not time_t. + * pt-fvc.h (tree_builtin::time_checked): Return double, not time_t. + (tree_builtin::t_checked): Now double, not time_t. + * pt-fcn.h (tree_function::time_checked): Return double, not time_t. + (tree_function::t_checked): Now double, not time_t. + * input.cc (octave_gets): If available, use gettimeofday. + * variables.cc (symbol_out_of_date): Likewise. + + Mon May 11 00:37:51 1998 John W. Eaton + + * pager.cc (Fdiary): Don't forget to set write_to_diary file if + just given a file name. + + * input.cc (octave_gets): Only send new line character to + octave_diary if current_input_line is empty or doesn't already end + with a new line character. + Don't send input from function files or scripts to octave_diary. + + Mon May 4 11:56:20 1998 John W. Eaton + + * symtab.cc (symbol_record_info_cmp): Use string::compare instead + of string::operator==. + Sun May 3 19:59:37 1998 John W. Eaton * Version 2.0.12 released. diff -cNr octave-2.0.12/src/getrusage.cc octave-2.0.13/src/getrusage.cc *** octave-2.0.12/src/getrusage.cc Sun Nov 3 02:22:48 1996 --- octave-2.0.13/src/getrusage.cc Thu May 14 14:48:48 1998 *************** *** 26,31 **** --- 26,35 ---- #include "systime.h" + #ifdef HAVE_SYS_TYPES_H + #include + #endif + #ifdef HAVE_SYS_RESOURCE_H #include #endif diff -cNr octave-2.0.12/src/input.cc octave-2.0.13/src/input.cc *** octave-2.0.12/src/input.cc Sun May 3 15:56:14 1998 --- octave-2.0.13/src/input.cc Fri May 15 21:48:07 1998 *************** *** 78,83 **** --- 78,84 ---- #include "sighandlers.h" #include "symtab.h" #include "sysdep.h" + #include "systime.h" #include "unwind-prot.h" #include "utils.h" #include "variables.h" *************** *** 92,98 **** string Vps4; // The time we last printed a prompt. ! time_t Vlast_prompt_time; // Character to append after successful command-line completion attempts. static char Vcompletion_append_char; --- 93,99 ---- string Vps4; // The time we last printed a prompt. ! double Vlast_prompt_time; // Character to append after successful command-line completion attempts. static char Vcompletion_append_char; *************** *** 498,504 **** { char *retval = 0; ! Vlast_prompt_time = time (0); if ((interactive || forced_interactive) && (! (reading_fcn_file || reading_script_file))) --- 499,515 ---- { char *retval = 0; ! #if defined (HAVE_GETTIMEOFDAY) ! struct timeval tp; ! #if defined (GETTIMEOFDAY_NO_TZ) ! gettimeofday (&tp); ! #else ! gettimeofday (&tp, 0); ! #endif ! Vlast_prompt_time = (double) tp.tv_sec + tp.tv_usec / 1e6; ! #else ! Vlast_prompt_time = (double) time (0); ! #endif if ((interactive || forced_interactive) && (! (reading_fcn_file || reading_script_file))) *************** *** 529,540 **** if (! input_from_startup_file) octave_command_history.add (current_input_line); ! octave_diary << current_input_line; do_input_echo (current_input_line); } ! ! octave_diary << "\n"; return retval; } --- 540,557 ---- if (! input_from_startup_file) octave_command_history.add (current_input_line); ! if (! (reading_fcn_file || reading_script_file)) ! { ! octave_diary << current_input_line; ! ! if (current_input_line[current_input_line.length () - 1] != '\n') ! octave_diary << "\n"; ! } do_input_echo (current_input_line); } ! else if (! (reading_fcn_file || reading_script_file)) ! octave_diary << "\n"; return retval; } diff -cNr octave-2.0.12/src/input.h octave-2.0.13/src/input.h *** octave-2.0.12/src/input.h Wed Apr 15 20:50:21 1998 --- octave-2.0.13/src/input.h Wed May 13 22:13:43 1998 *************** *** 26,32 **** #define octave_input_h 1 #include - #include #include --- 26,31 ---- *************** *** 75,81 **** extern string Vps4; ! extern time_t Vlast_prompt_time; extern void symbols_of_input (void); --- 74,80 ---- extern string Vps4; ! extern double Vlast_prompt_time; extern void symbols_of_input (void); diff -cNr octave-2.0.12/src/oct-procbuf.cc octave-2.0.13/src/oct-procbuf.cc *** octave-2.0.12/src/oct-procbuf.cc Tue Apr 28 14:06:15 1998 --- octave-2.0.13/src/oct-procbuf.cc Wed May 13 23:07:34 1998 *************** *** 203,209 **** return -1; } ! static void symbols_of_oct_procbuf (void) { DEFVAR (kluge_procbuf_delay, Vkluge_procbuf_delay, 0, kluge_procbuf_delay, --- 203,209 ---- return -1; } ! void symbols_of_oct_procbuf (void) { DEFVAR (kluge_procbuf_delay, Vkluge_procbuf_delay, 0, kluge_procbuf_delay, diff -cNr octave-2.0.12/src/pager.cc octave-2.0.13/src/pager.cc *** octave-2.0.12/src/pager.cc Sun May 3 14:14:42 1998 --- octave-2.0.13/src/pager.cc Mon May 11 00:43:00 1998 *************** *** 384,389 **** --- 384,390 ---- else { diary_file = arg; + write_to_diary_file = 1; open_diary_file (); } } diff -cNr octave-2.0.12/src/pt-fcn.h octave-2.0.13/src/pt-fcn.h *** octave-2.0.12/src/pt-fcn.h Wed Apr 15 20:42:27 1998 --- octave-2.0.13/src/pt-fcn.h Wed May 13 22:13:26 1998 *************** *** 71,77 **** void stash_fcn_file_name (void); ! void mark_fcn_file_up_to_date (time_t t) { t_checked = t; } void stash_fcn_file_time (time_t t) --- 71,77 ---- void stash_fcn_file_name (void); ! void mark_fcn_file_up_to_date (double t) { t_checked = t; } void stash_fcn_file_time (time_t t) *************** *** 86,92 **** time_t time_parsed (void) { return t_parsed; } ! time_t time_checked (void) { return t_checked; } void mark_as_system_fcn_file (void); --- 86,92 ---- time_t time_parsed (void) { return t_parsed; } ! double time_checked (void) { return t_checked; } void mark_as_system_fcn_file (void); *************** *** 155,161 **** // The time the file was last checked to see if it needs to be // parsed again. ! time_t t_checked; // True if this function came from a file that is considered to be a // system function. This affects whether we check the time stamp --- 155,161 ---- // The time the file was last checked to see if it needs to be // parsed again. ! double t_checked; // True if this function came from a file that is considered to be a // system function. This affects whether we check the time stamp diff -cNr octave-2.0.12/src/pt-fvc-base.cc octave-2.0.13/src/pt-fvc-base.cc *** octave-2.0.12/src/pt-fvc-base.cc Wed Apr 15 20:44:50 1998 --- octave-2.0.13/src/pt-fvc-base.cc Wed May 13 22:21:36 1998 *************** *** 60,66 **** } void ! tree_fvc::mark_fcn_file_up_to_date (time_t) { panic_impossible (); } --- 60,66 ---- } void ! tree_fvc::mark_fcn_file_up_to_date (double) { panic_impossible (); } *************** *** 72,78 **** return 0; } ! time_t tree_fvc::time_checked (void) { panic_impossible (); --- 72,78 ---- return 0; } ! double tree_fvc::time_checked (void) { panic_impossible (); diff -cNr octave-2.0.12/src/pt-fvc-base.h octave-2.0.13/src/pt-fvc-base.h *** octave-2.0.12/src/pt-fvc-base.h Wed Apr 15 20:44:30 1998 --- octave-2.0.13/src/pt-fvc-base.h Wed May 13 22:21:20 1998 *************** *** 63,73 **** virtual string fcn_file_name (void) { return string (); } ! virtual void mark_fcn_file_up_to_date (time_t); virtual time_t time_parsed (void); ! virtual time_t time_checked (void); virtual bool is_builtin (void) const { return false; } --- 63,73 ---- virtual string fcn_file_name (void) { return string (); } ! virtual void mark_fcn_file_up_to_date (double); virtual time_t time_parsed (void); ! virtual double time_checked (void); virtual bool is_builtin (void) const { return false; } diff -cNr octave-2.0.12/src/pt-fvc.h octave-2.0.13/src/pt-fvc.h *** octave-2.0.12/src/pt-fvc.h Wed Apr 15 20:48:59 1998 --- octave-2.0.13/src/pt-fvc.h Mon May 18 16:33:41 1998 *************** *** 246,258 **** string fcn_file_name (void) { return file_name; } ! void mark_fcn_file_up_to_date (time_t t) { t_checked = t; } time_t time_parsed (void) { return t_parsed; } ! time_t time_checked (void) { return t_checked; } void mark_as_system_fcn_file (void); --- 246,258 ---- string fcn_file_name (void) { return file_name; } ! void mark_fcn_file_up_to_date (double t) { t_checked = t; } time_t time_parsed (void) { return t_parsed; } ! double time_checked (void) { return t_checked; } void mark_as_system_fcn_file (void); *************** *** 294,300 **** // The time the file was last checked to see if it needs to be // parsed again. ! time_t t_checked; // True if this function came from a file that is considered to be a // system function. This affects whether we check the time stamp --- 294,300 ---- // The time the file was last checked to see if it needs to be // parsed again. ! double t_checked; // True if this function came from a file that is considered to be a // system function. This affects whether we check the time stamp diff -cNr octave-2.0.12/src/symtab.cc octave-2.0.13/src/symtab.cc *** octave-2.0.12/src/symtab.cc Tue Apr 7 15:40:17 1998 --- octave-2.0.13/src/symtab.cc Mon May 4 11:56:44 1998 *************** *** 1018,1024 **** static inline int symbol_record_info_cmp (symbol_record_info *a, symbol_record_info *b) { ! return (a->name () == b->name ()); } static int --- 1018,1026 ---- static inline int symbol_record_info_cmp (symbol_record_info *a, symbol_record_info *b) { ! string a_nm = a->name (); ! string b_nm = b->name (); ! return a_nm.compare (b_nm); } static int diff -cNr octave-2.0.12/src/variables.cc octave-2.0.13/src/variables.cc *** octave-2.0.12/src/variables.cc Tue Apr 28 14:08:27 1998 --- octave-2.0.13/src/variables.cc Wed May 13 22:49:15 1998 *************** *** 26,32 **** #include #include - #include #include #include --- 26,31 ---- *************** *** 81,86 **** --- 80,86 ---- #include "pt-plot.h" #include "pr-output.h" #include "syscalls.h" + #include "systime.h" #include "toplev.h" #include "unwind-prot.h" #include "utils.h" *************** *** 425,431 **** && ! (Vignore_function_time_stamp && ans->is_system_fcn_file ())) { ! if (ans->time_checked () < Vlast_prompt_time) { time_t tp = ans->time_parsed (); --- 425,431 ---- && ! (Vignore_function_time_stamp && ans->is_system_fcn_file ())) { ! if (Vlast_prompt_time >= ans->time_checked ()) { time_t tp = ans->time_parsed (); *************** *** 436,442 **** else fname = fcn_file_in_path (ff); ! ans->mark_fcn_file_up_to_date (time (0)); file_stat fs (fname); --- 436,453 ---- else fname = fcn_file_in_path (ff); ! #if defined (HAVE_GETTIMEOFDAY) ! struct timeval tv; ! #if defined (GETTIMEOFDAY_NO_TZ) ! gettimeofday (&tv); ! #else ! gettimeofday (&tv, 0); ! #endif ! double now = (double) tv.tv_sec + (double) tv.tv_usec / 1e6; ! #else ! double now = (double) time (0); ! #endif ! ans->mark_fcn_file_up_to_date (now); file_stat fs (fname); diff -cNr octave-2.0.12/src/version.h octave-2.0.13/src/version.h *** octave-2.0.12/src/version.h Sun May 3 19:58:47 1998 --- octave-2.0.13/src/version.h Thu May 21 13:09:56 1998 *************** *** 20,26 **** */ ! #define OCTAVE_VERSION "2.0.12" #define OCTAVE_COPYRIGHT \ "Copyright (C) 1996, 1997, 1998 John W. Eaton." --- 20,26 ---- */ ! #define OCTAVE_VERSION "2.0.13" #define OCTAVE_COPYRIGHT \ "Copyright (C) 1996, 1997, 1998 John W. Eaton." diff -cNr octave-2.0.12/test/ChangeLog octave-2.0.13/test/ChangeLog *** octave-2.0.12/test/ChangeLog Sun May 3 19:59:51 1998 --- octave-2.0.13/test/ChangeLog Thu May 21 13:15:47 1998 *************** *** 1,3 **** --- 1,7 ---- + Thu May 21 13:15:36 1998 John W. Eaton + + * Version 2.0.13 released. + Sun May 3 19:59:37 1998 John W. Eaton * Version 2.0.12 released. PATCH_EOF