#! /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. # # Diffs for updating the configure script are not included because # it can be recreated from configure.in using autoconf. # # 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 doc/conf.texi.in doc/interpreter/conf.texi doc/liboctave/conf.texi echo 'patching existing files' patch -p1 << \PATCH_EOF diff -cNr octave-2.0.3/ChangeLog octave-2.0.4/ChangeLog *** octave-2.0.3/ChangeLog Tue Feb 18 09:22:16 1997 --- octave-2.0.4/ChangeLog Thu Feb 20 02:58:18 1997 *************** *** 1,4 **** --- 1,14 ---- + Thu Feb 20 02:58:05 1997 John W. Eaton + + * Version 2.0.4 released. + + * configure.in (SH_LDFLAGS): Add -fPIC for HP-UX. + Tue Feb 18 09:22:04 1997 John W. Eaton + + * configure.in (SH_LDFLAGS): Fix typo in last change. + (RLD_FLAG): Don't forget to put -shared in SH_LDFLAGS for alpha + systems. * Version 2.0.3 released. diff -cNr octave-2.0.3/INSTALL.OCTAVE octave-2.0.4/INSTALL.OCTAVE *** octave-2.0.3/INSTALL.OCTAVE Tue Feb 18 09:39:34 1997 --- octave-2.0.4/INSTALL.OCTAVE Wed Feb 19 13:42:27 1997 *************** *** 69,81 **** `gnu' in gnuplot is a coincidence--it is not related to the GNU project or the FSF in any but the most peripheral sense. ! For version 2.0.3, you must have the GNU C++ compiler (`gcc') ! version 2.7.2 or later to compile Octave. You will also need ! version 2.7.1 or 2.7.2 of the GNU C++ class library (`libg++'). ! If you plan to modify the parser you will also need GNU `bison' ! and `flex'. If you modify the documentation, you will need GNU ! Texinfo, along with the patch for the `makeinfo' program that is ! distributed with Octave. GNU Make, `gcc', and `libg++', `gnuplot', `bison', `flex', and Texinfo are all available from many anonymous ftp archives. The --- 69,81 ---- `gnu' in gnuplot is a coincidence--it is not related to the GNU project or the FSF in any but the most peripheral sense. ! For version {No Value For "VERSION"}, you must have the GNU C++ ! compiler (`gcc') version 2.7.2 or later to compile Octave. You ! will also need version 2.7.1 or 2.7.2 of the GNU C++ class library ! (`libg++'). If you plan to modify the parser you will also need ! GNU `bison' and `flex'. If you modify the documentation, you will ! need GNU Texinfo, along with the patch for the `makeinfo' program ! that is distributed with Octave. GNU Make, `gcc', and `libg++', `gnuplot', `bison', `flex', and Texinfo are all available from many anonymous ftp archives. The *************** *** 325,331 **** time available to devote to making binaries, so binaries may not be immediately available for some platforms. (Please contact if you are interested in helping make a ! binary distributions 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 --- 325,331 ---- time available to devote to making binaries, so binaries may not be immediately available for some platforms. (Please contact 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 *************** *** 377,383 **** where VERSION stands for the current version number of the interpreter, and HOST_TYPE is the type of computer on which Octave is installed (for ! example, `i586-pc-linux-gnu'). If these directories don't exist, the script `install-octave' will create them for you. The installation script also creates the following --- 377,383 ---- where VERSION stands for the current version number of the interpreter, and HOST_TYPE is the type of computer on which Octave is installed (for ! example, `{No Value For "TARGETHOSTTYPE"}'). If these directories don't exist, the script `install-octave' will create them for you. The installation script also creates the following *************** *** 416,427 **** * Unpack the source distribution: ! gunzip -c octave-2.0.3.tar.gz | tar xf - * Change your current directory to the top-level directory of the source distribution: ! cd octave-2.0.3 * Make the binary distribution: --- 416,427 ---- * Unpack the source distribution: ! gunzip -c octave-{No Value For "VERSION"}.tar.gz | tar xf - * Change your current directory to the top-level directory of the source distribution: ! cd octave-{No Value For "VERSION"} * Make the binary distribution: *************** *** 429,433 **** This will create a compressed tar file ready for distribution. It will contain statically linked binaries and have a name like ! `octave-2.0.3-i586-pc-linux-gnu.tar.gz' --- 429,434 ---- This will create a compressed tar file ready for distribution. It will contain statically linked binaries and have a name like ! `octave-{No Value For "VERSION"}-{No Value For ! "TARGETHOSTTYPE"}.tar.gz' diff -cNr octave-2.0.3/NEWS octave-2.0.4/NEWS *** octave-2.0.3/NEWS Fri Feb 14 14:36:37 1997 --- octave-2.0.4/NEWS Wed Feb 19 13:36:26 1997 *************** *** 1,3 **** --- 1,15 ---- + Summary of changes for version 2.0.4: + ------------------------------------ + + * It is now possible to use commands like ls, save, and cd as simple + variable names. They still cannot be used as formal parameters + for functions, or as the names of structure variables. Failed + assignments leave them undefined (you can recover the orginal + function definition using clear). + + * Is is now possible to invoke commands like ls, save, and cd as + normal functions (for example, load ("foo", "x", "y", "z")). + Summary of changes for version 2.0.3: ------------------------------------ diff -cNr octave-2.0.3/PROJECTS octave-2.0.4/PROJECTS *** octave-2.0.3/PROJECTS Thu Jan 23 10:31:46 1997 --- octave-2.0.4/PROJECTS Wed Feb 19 13:21:40 1997 *************** *** 259,267 **** * Make it possible to get the names of the arguments that are passed to functions, at least if simple variables are passed. - * Fix name of text-style functions (or at least explain it in the - manual). - * Consider allowing an arbitrary property list to be attached to any variable. This could be a more general way to handle the help string that can currently be added with `document'. --- 259,264 ---- *************** *** 403,410 **** foo ("bar", "baz") This is pretty ugly and introduces some conflicts. - - * Make it possible to use text-style function names as variables. * Add a command that works like bash's `builtin' command. --- 400,405 ---- diff -cNr octave-2.0.3/configure octave-2.0.4/configure *** octave-2.0.3/configure Tue Feb 18 09:41:50 1997 --- octave-2.0.4/configure Thu Feb 20 03:00:15 1997 *************** *** 1,6 **** #! /bin/sh ! # From configure.in Revision: 1.255 --- 1,6 ---- #! /bin/sh ! # From configure.in Revision: 1.257 *************** *** 1434,1440 **** CPICFLAG= CXXPICFLAG= FPICFLAG= ! SH_LDFLAGS="-Xlinker -exepct_unresolved -Xlinker '*'" RLD_FLAG='-Xlinker -rpath -Xlinker $(libdir)' ;; i[3456789]86-*-linux*) --- 1434,1440 ---- CPICFLAG= CXXPICFLAG= FPICFLAG= ! SH_LDFLAGS="-shared -Xlinker -expect_unresolved -Xlinker '*'" RLD_FLAG='-Xlinker -rpath -Xlinker $(libdir)' ;; i[3456789]86-*-linux*) *************** *** 1453,1458 **** --- 1453,1459 ---- FPICFLAG=+Z fi SHLEXT=sl + SH_LDFLAGS="-shared -fPIC" RLD_FLAG='-Xlinker +b -Xlinker $(libdir)' ;; *-sgi-*) *************** *** 1528,1534 **** ### functions like gethostname and gettimeofday is in libsocket. echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&6 ! echo "configure:1532: 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 --- 1529,1535 ---- ### functions like gethostname and gettimeofday is in libsocket. echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&6 ! echo "configure:1533: 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 *************** *** 1550,1566 **** ac_safe=`echo "minix/config.h" | sed 'y%./+-%__p_%'` echo $ac_n "checking for minix/config.h""... $ac_c" 1>&6 ! echo "configure:1554: 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:1564: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then rm -rf conftest* --- 1551,1567 ---- ac_safe=`echo "minix/config.h" | sed 'y%./+-%__p_%'` echo $ac_n "checking for minix/config.h""... $ac_c" 1>&6 ! echo "configure:1555: 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:1565: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then rm -rf conftest* *************** *** 1598,1606 **** fi echo $ac_n "checking for AIX""... $ac_c" 1>&6 ! echo "configure:1602: checking for AIX" >&5 cat > conftest.$ac_ext <&6 ! echo "configure:1603: checking for AIX" >&5 cat > conftest.$ac_ext <&6 ! echo "configure:1626: 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 --- 1623,1629 ---- echo $ac_n "checking for getpwnam in -lsun""... $ac_c" 1>&6 ! echo "configure:1627: 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 *************** *** 1630,1636 **** 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 --- 1642,1648 ---- getpwnam() ; return 0; } EOF ! if { (eval echo configure:1646: \"$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 *************** *** 1669,1675 **** fi echo $ac_n "checking for gethostname in -lsocket""... $ac_c" 1>&6 ! echo "configure:1673: 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 --- 1670,1676 ---- fi echo $ac_n "checking for gethostname in -lsocket""... $ac_c" 1>&6 ! echo "configure:1674: 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 *************** *** 1677,1683 **** 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 --- 1689,1695 ---- gethostname() ; return 0; } EOF ! if { (eval echo configure:1693: \"$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 *************** *** 1720,1726 **** ### be eliminated in favor of run-time checks. echo $ac_n "checking size of short""... $ac_c" 1>&6 ! echo "configure:1724: 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 --- 1721,1727 ---- ### be eliminated in favor of run-time checks. echo $ac_n "checking size of short""... $ac_c" 1>&6 ! echo "configure:1725: 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 *************** *** 1728,1734 **** { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } else cat > conftest.$ac_ext < main() --- 1729,1735 ---- { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } else cat > conftest.$ac_ext < main() *************** *** 1739,1745 **** exit(0); } EOF ! if { (eval echo configure:1743: \"$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 --- 1740,1746 ---- exit(0); } EOF ! if { (eval echo configure:1744: \"$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 *************** *** 1759,1765 **** echo $ac_n "checking size of int""... $ac_c" 1>&6 ! echo "configure:1763: 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 --- 1760,1766 ---- echo $ac_n "checking size of int""... $ac_c" 1>&6 ! echo "configure:1764: 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 *************** *** 1767,1773 **** { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } else cat > conftest.$ac_ext < main() --- 1768,1774 ---- { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } else cat > conftest.$ac_ext < main() *************** *** 1778,1784 **** exit(0); } EOF ! if { (eval echo configure:1782: \"$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 --- 1779,1785 ---- exit(0); } EOF ! if { (eval echo configure:1783: \"$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 *************** *** 1798,1804 **** echo $ac_n "checking size of long""... $ac_c" 1>&6 ! echo "configure:1802: 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 --- 1799,1805 ---- echo $ac_n "checking size of long""... $ac_c" 1>&6 ! echo "configure:1803: 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 *************** *** 1806,1812 **** { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } else cat > conftest.$ac_ext < main() --- 1807,1813 ---- { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } else cat > conftest.$ac_ext < main() *************** *** 1817,1823 **** exit(0); } EOF ! if { (eval echo configure:1821: \"$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 --- 1818,1824 ---- exit(0); } EOF ! if { (eval echo configure:1822: \"$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 *************** *** 1842,1860 **** # 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:1846: 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:1858: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* ac_cv_header_alloca_h=yes else --- 1843,1861 ---- # 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:1847: 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:1859: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* ac_cv_header_alloca_h=yes else *************** *** 1875,1886 **** fi echo $ac_n "checking for alloca""... $ac_c" 1>&6 ! echo "configure:1879: 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:1880: 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 --- 1904,1910 ---- char *p = (char *) alloca(1); ; return 0; } EOF ! if { (eval echo configure:1908: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* ac_cv_func_alloca_works=yes else *************** *** 1935,1946 **** echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 ! echo "configure:1939: 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:1940: 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:1969: 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:1970: 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 --- 1994,2000 ---- ; return 0; } EOF ! if { (eval echo configure:1998: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else *************** *** 2020,2026 **** fi echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 ! echo "configure:2024: 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 --- 2021,2027 ---- fi echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 ! echo "configure:2025: 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 *************** *** 2028,2034 **** 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 --- 2048,2054 ---- exit (find_stack_direction() < 0); } EOF ! if { (eval echo configure:2052: \"$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 *************** *** 2069,2080 **** fi echo $ac_n "checking for working const""... $ac_c" 1>&6 ! echo "configure:2073: 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:2074: 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 --- 2124,2130 ---- ; return 0; } EOF ! if { (eval echo configure:2128: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_c_const=yes else *************** *** 2149,2155 **** echo $ac_n "checking for C++ libraries""... $ac_c" 1>&6 ! echo "configure:2153: checking for C++ libraries" >&5 if eval "test \"`echo '$''{'octave_cv_cxxlibs'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else --- 2150,2156 ---- echo $ac_n "checking for C++ libraries""... $ac_c" 1>&6 ! echo "configure:2154: checking for C++ libraries" >&5 if eval "test \"`echo '$''{'octave_cv_cxxlibs'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else *************** *** 2165,2178 **** CXXFLAGS="$XCXXFLAGS -v" export CXXFLAGS coutput=`( cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then : else echo "configure: failed program was:" >&5 --- 2166,2179 ---- CXXFLAGS="$XCXXFLAGS -v" export CXXFLAGS coutput=`( cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then : else echo "configure: failed program was:" >&5 *************** *** 2246,2252 **** ### See if we should define NPOS. echo $ac_n "checking whether including defines NPOS""... $ac_c" 1>&6 ! echo "configure:2250: 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 --- 2247,2253 ---- ### See if we should define NPOS. echo $ac_n "checking whether including defines NPOS""... $ac_c" 1>&6 ! echo "configure:2251: 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 *************** *** 2259,2272 **** cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext < int main() { size_t foo = NPOS ; return 0; } EOF ! if { (eval echo configure:2270: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* octave_cv_string_npos=yes else --- 2260,2273 ---- cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext < int main() { size_t foo = NPOS ; return 0; } EOF ! if { (eval echo configure:2271: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* octave_cv_string_npos=yes else *************** *** 2309,2315 **** # 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:2313: 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 --- 2310,2316 ---- # 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:2314: 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 *************** *** 2383,2389 **** # 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:2387: 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 --- 2384,2390 ---- # 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:2388: 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 *************** *** 2418,2424 **** if $use_g77; then echo $ac_n "checking for Fortran libraries""... $ac_c" 1>&6 ! echo "configure:2422: checking for Fortran libraries" >&5 if eval "test \"`echo '$''{'octave_cv_flibs'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else --- 2419,2425 ---- if $use_g77; then echo $ac_n "checking for Fortran libraries""... $ac_c" 1>&6 ! echo "configure:2423: checking for Fortran libraries" >&5 if eval "test \"`echo '$''{'octave_cv_flibs'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else *************** *** 2548,2554 **** else if test -n "$F77"; then echo $ac_n "checking for Fortran libraries""... $ac_c" 1>&6 ! echo "configure:2552: checking for Fortran libraries" >&5 if eval "test \"`echo '$''{'octave_cv_flibs'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else --- 2549,2555 ---- else if test -n "$F77"; then echo $ac_n "checking for Fortran libraries""... $ac_c" 1>&6 ! echo "configure:2553: checking for Fortran libraries" >&5 if eval "test \"`echo '$''{'octave_cv_flibs'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else *************** *** 2668,2674 **** 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:2672: 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 --- 2669,2675 ---- 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:2673: 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 *************** *** 2693,2699 **** fi echo $ac_n "checking whether $F77 appends underscores to external names""... $ac_c" 1>&6 ! echo "configure:2697: 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 --- 2694,2700 ---- fi echo $ac_n "checking whether $F77 appends underscores to external names""... $ac_c" 1>&6 ! echo "configure:2698: 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 *************** *** 2727,2733 **** echo $ac_n "checking $F77/f2c compatibility""... $ac_c" 1>&6 ! echo "configure:2731: 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 --- 2728,2734 ---- echo $ac_n "checking $F77/f2c compatibility""... $ac_c" 1>&6 ! echo "configure:2732: 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 *************** *** 2809,2815 **** # 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:2813: 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 --- 2810,2816 ---- # 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:2814: 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 *************** *** 2873,2879 **** oct_conflib=libconflib.a oct_obj_ext=o ! if { (eval echo configure:2877: \"$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 --- 2874,2880 ---- oct_conflib=libconflib.a oct_obj_ext=o ! if { (eval echo configure:2878: \"$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 *************** *** 2881,2887 **** fi rm -f conftest* echo $ac_n "checking for f_open in -lf2c""... $ac_c" 1>&6 ! echo "configure:2885: 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 --- 2882,2888 ---- fi rm -f conftest* echo $ac_n "checking for f_open in -lf2c""... $ac_c" 1>&6 ! echo "configure:2886: 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 *************** *** 2889,2895 **** 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 --- 2901,2907 ---- f_open() ; return 0; } EOF ! if { (eval echo configure:2905: \"$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 *************** *** 2925,2931 **** if test -z "$FLIBS"; then echo $ac_n "checking for d_sin in -lF77""... $ac_c" 1>&6 ! echo "configure:2929: 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 --- 2926,2932 ---- if test -z "$FLIBS"; then echo $ac_n "checking for d_sin in -lF77""... $ac_c" 1>&6 ! echo "configure:2930: 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 *************** *** 2933,2939 **** 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 --- 2945,2951 ---- d_sin() ; return 0; } EOF ! if { (eval echo configure:2949: \"$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 *************** *** 2967,2973 **** if test -n "$FLIBS"; then echo $ac_n "checking for f_rew in -lI77""... $ac_c" 1>&6 ! echo "configure:2971: 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 --- 2968,2974 ---- if test -n "$FLIBS"; then echo $ac_n "checking for f_rew in -lI77""... $ac_c" 1>&6 ! echo "configure:2972: 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 *************** *** 2975,2981 **** 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 --- 2987,2993 ---- f_rew() ; return 0; } EOF ! if { (eval echo configure:2991: \"$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 *************** *** 3051,3062 **** ### Checks for header files. echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 ! echo "configure:3055: 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 --- 3052,3063 ---- ### Checks for header files. echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 ! echo "configure:3056: 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 *************** *** 3064,3070 **** #include EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" ! { (eval echo configure:3068: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then rm -rf conftest* --- 3065,3071 ---- #include EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" ! { (eval echo configure:3069: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then rm -rf conftest* *************** *** 3081,3087 **** 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 --- 3082,3088 ---- 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 *************** *** 3099,3105 **** 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 --- 3100,3106 ---- 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 *************** *** 3120,3126 **** : else cat > conftest.$ac_ext < #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') --- 3121,3127 ---- : else cat > conftest.$ac_ext < #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') *************** *** 3131,3137 **** exit (0); } EOF ! if { (eval echo configure:3135: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null then : else --- 3132,3138 ---- exit (0); } EOF ! if { (eval echo configure:3136: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null then : else *************** *** 3159,3170 **** 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:3163: 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> --- 3160,3171 ---- 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:3164: 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> *************** *** 3172,3178 **** DIR *dirp = 0; ; return 0; } EOF ! if { (eval echo configure:3176: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* eval "ac_cv_header_dirent_$ac_safe=yes" else --- 3173,3179 ---- DIR *dirp = 0; ; return 0; } EOF ! if { (eval echo configure:3177: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* eval "ac_cv_header_dirent_$ac_safe=yes" else *************** *** 3197,3203 **** # 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:3201: 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 --- 3198,3204 ---- # 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:3202: 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 *************** *** 3205,3211 **** 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 --- 3217,3223 ---- opendir() ; return 0; } EOF ! if { (eval echo configure:3221: \"$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 *************** *** 3238,3244 **** else echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6 ! echo "configure:3242: 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 --- 3239,3245 ---- else echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6 ! echo "configure:3243: 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 *************** *** 3246,3252 **** 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 --- 3258,3264 ---- opendir() ; return 0; } EOF ! if { (eval echo configure:3262: \"$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 *************** *** 3280,3291 **** fi echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 ! echo "configure:3284: 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 --- 3281,3292 ---- fi echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 ! echo "configure:3285: 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 *************** *** 3294,3300 **** struct tm *tp; ; return 0; } EOF ! if { (eval echo configure:3298: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_header_time=yes else --- 3295,3301 ---- struct tm *tp; ; return 0; } EOF ! if { (eval echo configure:3299: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_header_time=yes else *************** *** 3315,3326 **** fi echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 ! echo "configure:3319: 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 --- 3316,3327 ---- fi echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 ! echo "configure:3320: 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 *************** *** 3336,3342 **** s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; ; return 0; } EOF ! if { (eval echo configure:3340: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_header_sys_wait_h=yes else --- 3337,3343 ---- s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; ; return 0; } EOF ! if { (eval echo configure:3341: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_header_sys_wait_h=yes else *************** *** 3365,3381 **** do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 ! echo "configure:3369: 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:3379: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then rm -rf conftest* --- 3366,3382 ---- do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 ! echo "configure:3370: 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:3380: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then rm -rf conftest* *************** *** 3413,3419 **** ### See if the optional nonlinear programming code is present. echo $ac_n "checking for npsol""... $ac_c" 1>&6 ! echo "configure:3417: checking for npsol" >&5 if test -f $srcdir/libcruft/npsol/npsol.f; then echo "$ac_t""yes" 1>&6 else --- 3414,3420 ---- ### See if the optional nonlinear programming code is present. echo $ac_n "checking for npsol""... $ac_c" 1>&6 ! echo "configure:3418: checking for npsol" >&5 if test -f $srcdir/libcruft/npsol/npsol.f; then echo "$ac_t""yes" 1>&6 else *************** *** 3425,3431 **** fi echo $ac_n "checking for qpsol""... $ac_c" 1>&6 ! echo "configure:3429: checking for qpsol" >&5 if test -f $srcdir/libcruft/qpsol/qpsol.f; then echo "$ac_t""yes" 1>&6 else --- 3426,3432 ---- fi echo $ac_n "checking for qpsol""... $ac_c" 1>&6 ! echo "configure:3430: checking for qpsol" >&5 if test -f $srcdir/libcruft/qpsol/qpsol.f; then echo "$ac_t""yes" 1>&6 else *************** *** 3437,3443 **** fi echo $ac_n "checking for fsqp""... $ac_c" 1>&6 ! echo "configure:3441: checking for fsqp" >&5 if test -f $srcdir/libcruft/fsqp/fsqpd.f; then echo "$ac_t""yes" 1>&6 else --- 3438,3444 ---- fi echo $ac_n "checking for fsqp""... $ac_c" 1>&6 ! echo "configure:3442: checking for fsqp" >&5 if test -f $srcdir/libcruft/fsqp/fsqpd.f; then echo "$ac_t""yes" 1>&6 else *************** *** 3459,3470 **** strnicmp tempnam umask unlink usleep vfprintf vsprintf waitpid do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 ! echo "configure:3463: 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:3464: 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 --- 3488,3494 ---- ; return 0; } EOF ! if { (eval echo configure:3492: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else *************** *** 3513,3519 **** echo $ac_n "checking whether putenv uses malloc""... $ac_c" 1>&6 ! echo "configure:3517: 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 --- 3514,3520 ---- echo $ac_n "checking whether putenv uses malloc""... $ac_c" 1>&6 ! echo "configure:3518: 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 *************** *** 3521,3527 **** 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 --- 3575,3581 ---- exit (rstr1 == rstr2 ? 0 : 1); } EOF ! if { (eval echo configure:3579: \"$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 *************** *** 3595,3613 **** fi echo $ac_n "checking whether program_invocation_name is predefined""... $ac_c" 1>&6 ! echo "configure:3599: 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 --- 3596,3614 ---- fi echo $ac_n "checking whether program_invocation_name is predefined""... $ac_c" 1>&6 ! echo "configure:3600: 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 *************** *** 3637,3643 **** ;; *) echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 ! echo "configure:3641: 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 --- 3638,3644 ---- ;; *) echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 ! echo "configure:3642: 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 *************** *** 3645,3651 **** 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 --- 3657,3663 ---- dlopen() ; return 0; } EOF ! if { (eval echo configure:3661: \"$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 *************** *** 3686,3697 **** for ac_func in dlopen dlsym dlerror dlclose do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 ! echo "configure:3690: 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:3691: 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 --- 3715,3721 ---- ; return 0; } EOF ! if { (eval echo configure:3719: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else *************** *** 3766,3772 **** 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:3770: 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 --- 3767,3773 ---- 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:3771: 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 *************** *** 3774,3780 **** 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 --- 3786,3792 ---- shl_load() ; return 0; } EOF ! if { (eval echo configure:3790: \"$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 *************** *** 3815,3826 **** for ac_func in shl_load shl_findsym do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 ! echo "configure:3819: 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:3820: 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 --- 3844,3850 ---- ; return 0; } EOF ! if { (eval echo configure:3848: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else *************** *** 3905,3916 **** ### which one (if any) appears in sys/time.h. echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6 ! echo "configure:3909: 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:3910: 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 --- 3934,3940 ---- ; return 0; } EOF ! if { (eval echo configure:3938: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_gettimeofday=yes" else *************** *** 3948,3961 **** 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:3959: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then : else echo "configure: failed program was:" >&5 --- 3949,3962 ---- 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:3960: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then : else echo "configure: failed program was:" >&5 *************** *** 3983,3989 **** ### with functions from the BSD/NET2 math library. echo $ac_n "checking for quiet_nan in -lsunmath""... $ac_c" 1>&6 ! echo "configure:3987: 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 --- 3984,3990 ---- ### with functions from the BSD/NET2 math library. echo $ac_n "checking for quiet_nan in -lsunmath""... $ac_c" 1>&6 ! echo "configure:3988: 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 *************** *** 3991,3997 **** 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 --- 4003,4009 ---- quiet_nan() ; return 0; } EOF ! if { (eval echo configure:4007: \"$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 *************** *** 4034,4040 **** case "$canonical_host_type" in *-*-linux*) echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 ! echo "configure:4038: 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 --- 4035,4041 ---- case "$canonical_host_type" in *-*-linux*) echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 ! echo "configure:4039: 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 *************** *** 4042,4048 **** 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 --- 4054,4060 ---- sin() ; return 0; } EOF ! if { (eval echo configure:4058: \"$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 *************** *** 4083,4089 **** ;; *) echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 ! echo "configure:4087: 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 --- 4084,4090 ---- ;; *) echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 ! echo "configure:4088: 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 *************** *** 4091,4097 **** 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 --- 4103,4109 ---- sin() ; return 0; } EOF ! if { (eval echo configure:4107: \"$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 *************** *** 4163,4174 **** for ac_func in finite isnan isinf infinity quiet_nan do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 ! echo "configure:4167: 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:4168: 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 --- 4192,4198 ---- ; return 0; } EOF ! if { (eval echo configure:4196: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else *************** *** 4223,4234 **** for ac_func in acosh asinh atanh erf erfc do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 ! echo "configure:4227: 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:4228: 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 --- 4252,4258 ---- ; return 0; } EOF ! if { (eval echo configure:4256: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else *************** *** 4281,4292 **** ### Checks for OS specific cruft. echo $ac_n "checking for st_blksize in struct stat""... $ac_c" 1>&6 ! echo "configure:4285: 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 --- 4282,4293 ---- ### Checks for OS specific cruft. echo $ac_n "checking for st_blksize in struct stat""... $ac_c" 1>&6 ! echo "configure:4286: 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 *************** *** 4294,4300 **** struct stat s; s.st_blksize; ; return 0; } EOF ! if { (eval echo configure:4298: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_struct_st_blksize=yes else --- 4295,4301 ---- struct stat s; s.st_blksize; ; return 0; } EOF ! if { (eval echo configure:4299: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_struct_st_blksize=yes else *************** *** 4315,4326 **** fi echo $ac_n "checking for st_blocks in struct stat""... $ac_c" 1>&6 ! echo "configure:4319: 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 --- 4316,4327 ---- fi echo $ac_n "checking for st_blocks in struct stat""... $ac_c" 1>&6 ! echo "configure:4320: 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 *************** *** 4328,4334 **** struct stat s; s.st_blocks; ; return 0; } EOF ! if { (eval echo configure:4332: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_struct_st_blocks=yes else --- 4329,4335 ---- struct stat s; s.st_blocks; ; return 0; } EOF ! if { (eval echo configure:4333: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_struct_st_blocks=yes else *************** *** 4351,4362 **** fi echo $ac_n "checking for st_rdev in struct stat""... $ac_c" 1>&6 ! echo "configure:4355: 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 --- 4352,4363 ---- fi echo $ac_n "checking for st_rdev in struct stat""... $ac_c" 1>&6 ! echo "configure:4356: 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 *************** *** 4364,4370 **** struct stat s; s.st_rdev; ; return 0; } EOF ! if { (eval echo configure:4368: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_struct_st_rdev=yes else --- 4365,4371 ---- struct stat s; s.st_rdev; ; return 0; } EOF ! if { (eval echo configure:4369: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_struct_st_rdev=yes else *************** *** 4385,4396 **** fi echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 ! echo "configure:4389: 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 --- 4386,4397 ---- fi echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 ! echo "configure:4390: 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 *************** *** 4398,4404 **** struct tm *tp; tp->tm_sec; ; return 0; } EOF ! if { (eval echo configure:4402: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_struct_tm=time.h else --- 4399,4405 ---- struct tm *tp; tp->tm_sec; ; return 0; } EOF ! if { (eval echo configure:4403: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_struct_tm=time.h else *************** *** 4419,4430 **** fi echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 ! echo "configure:4423: 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> --- 4420,4431 ---- fi echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 ! echo "configure:4424: 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> *************** *** 4432,4438 **** struct tm tm; tm.tm_zone; ; return 0; } EOF ! if { (eval echo configure:4436: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_struct_tm_zone=yes else --- 4433,4439 ---- struct tm tm; tm.tm_zone; ; return 0; } EOF ! if { (eval echo configure:4437: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_struct_tm_zone=yes else *************** *** 4452,4463 **** else echo $ac_n "checking for tzname""... $ac_c" 1>&6 ! echo "configure:4456: 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. */ --- 4453,4464 ---- else echo $ac_n "checking for tzname""... $ac_c" 1>&6 ! echo "configure:4457: 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. */ *************** *** 4467,4473 **** atoi(*tzname); ; return 0; } EOF ! if { (eval echo configure:4471: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* ac_cv_var_tzname=yes else --- 4468,4474 ---- atoi(*tzname); ; return 0; } EOF ! if { (eval echo configure:4472: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* ac_cv_var_tzname=yes else *************** *** 4489,4495 **** fi echo $ac_n "checking whether closedir returns void""... $ac_c" 1>&6 ! echo "configure:4493: 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 --- 4490,4496 ---- fi echo $ac_n "checking whether closedir returns void""... $ac_c" 1>&6 ! echo "configure:4494: 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 *************** *** 4497,4509 **** 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:4507: \"$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 --- 4498,4510 ---- 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:4508: \"$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 *************** *** 4527,4538 **** echo $ac_n "checking for gr_passwd in struct group""... $ac_c" 1>&6 ! echo "configure:4531: 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 --- 4528,4539 ---- echo $ac_n "checking for gr_passwd in struct group""... $ac_c" 1>&6 ! echo "configure:4532: 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 *************** *** 4540,4546 **** struct group s; s.gr_passwd; ; return 0; } EOF ! if { (eval echo configure:4544: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* octave_cv_struct_gr_passwd=yes else --- 4541,4547 ---- struct group s; s.gr_passwd; ; return 0; } EOF ! if { (eval echo configure:4545: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* octave_cv_struct_gr_passwd=yes else *************** *** 4564,4570 **** 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:4568: 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 --- 4565,4571 ---- 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:4569: 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 *************** *** 4572,4578 **** 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 --- 4584,4590 ---- tputs() ; return 0; } EOF ! if { (eval echo configure:4588: \"$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 *************** *** 4623,4638 **** fi echo $ac_n "checking for struct exception in math.h""... $ac_c" 1>&6 ! echo "configure:4627: 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:4636: \"$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 --- 4624,4639 ---- fi echo $ac_n "checking for struct exception in math.h""... $ac_c" 1>&6 ! echo "configure:4628: 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:4637: \"$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 *************** *** 4650,4661 **** ### Signal stuff. echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 ! echo "configure:4654: 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 --- 4651,4662 ---- ### Signal stuff. echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 ! echo "configure:4655: 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 *************** *** 4672,4678 **** int i; ; return 0; } EOF ! if { (eval echo configure:4676: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_type_signal=void else --- 4673,4679 ---- int i; ; return 0; } EOF ! if { (eval echo configure:4677: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_type_signal=void else *************** *** 4691,4702 **** echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 ! echo "configure:4695: 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 --- 4692,4703 ---- echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 ! echo "configure:4696: 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 *************** *** 4708,4714 **** char *msg = *(sys_siglist + 1); ; return 0; } EOF ! if { (eval echo configure:4712: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_decl_sys_siglist=yes else --- 4709,4715 ---- char *msg = *(sys_siglist + 1); ; return 0; } EOF ! if { (eval echo configure:4713: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_decl_sys_siglist=yes else *************** *** 4729,4744 **** fi echo $ac_n "checking for sys_siglist variable""... $ac_c" 1>&6 ! echo "configure:4733: 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:4742: \"$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 --- 4730,4745 ---- fi echo $ac_n "checking for sys_siglist variable""... $ac_c" 1>&6 ! echo "configure:4734: 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:4743: \"$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 *************** *** 4754,4766 **** rm -f conftest* echo $ac_n "checking for type of signal functions""... $ac_c" 1>&6 ! echo "configure:4758: 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() { --- 4755,4767 ---- rm -f conftest* echo $ac_n "checking for type of signal functions""... $ac_c" 1>&6 ! echo "configure:4759: 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() { *************** *** 4773,4779 **** ; return 0; } EOF ! if { (eval echo configure:4777: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* octave_cv_signal_vintage=posix else --- 4774,4780 ---- ; return 0; } EOF ! if { (eval echo configure:4778: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* octave_cv_signal_vintage=posix else *************** *** 4782,4788 **** rm -rf conftest* cat > conftest.$ac_ext < int main() { --- 4783,4789 ---- rm -rf conftest* cat > conftest.$ac_ext < int main() { *************** *** 4792,4798 **** ; return 0; } EOF ! if { (eval echo configure:4796: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* octave_cv_signal_vintage=4.2bsd else --- 4793,4799 ---- ; return 0; } EOF ! if { (eval echo configure:4797: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* octave_cv_signal_vintage=4.2bsd else *************** *** 4801,4807 **** rm -rf conftest* cat > conftest.$ac_ext < --- 4802,4808 ---- rm -rf conftest* cat > conftest.$ac_ext < *************** *** 4814,4820 **** ; return 0; } EOF ! if { (eval echo configure:4818: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* octave_cv_signal_vintage=svr3 else --- 4815,4821 ---- ; return 0; } EOF ! if { (eval echo configure:4819: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* octave_cv_signal_vintage=svr3 else *************** *** 4855,4861 **** echo $ac_n "checking if signal handlers must be reinstalled when invoked""... $ac_c" 1>&6 ! echo "configure:4859: 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 --- 4856,4862 ---- echo $ac_n "checking if signal handlers must be reinstalled when invoked""... $ac_c" 1>&6 ! echo "configure:4860: 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 *************** *** 4863,4869 **** { echo "configure: error: cannot check signal handling if cross compiling" 1>&2; exit 1; } else cat > conftest.$ac_ext < --- 4864,4870 ---- { echo "configure: error: cannot check signal handling if cross compiling" 1>&2; exit 1; } else cat > conftest.$ac_ext < *************** *** 4905,4911 **** } EOF ! if { (eval echo configure:4909: \"$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 --- 4906,4912 ---- } EOF ! if { (eval echo configure:4910: \"$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 *************** *** 4931,4942 **** ### Type stuff. echo $ac_n "checking for mode_t""... $ac_c" 1>&6 ! echo "configure:4935: 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 --- 4932,4943 ---- ### Type stuff. echo $ac_n "checking for mode_t""... $ac_c" 1>&6 ! echo "configure:4936: 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 *************** *** 4964,4975 **** fi echo $ac_n "checking for off_t""... $ac_c" 1>&6 ! echo "configure:4968: 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 --- 4965,4976 ---- fi echo $ac_n "checking for off_t""... $ac_c" 1>&6 ! echo "configure:4969: 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 *************** *** 4997,5008 **** fi echo $ac_n "checking for pid_t""... $ac_c" 1>&6 ! echo "configure:5001: 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 --- 4998,5009 ---- fi echo $ac_n "checking for pid_t""... $ac_c" 1>&6 ! echo "configure:5002: 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 *************** *** 5030,5041 **** fi echo $ac_n "checking for size_t""... $ac_c" 1>&6 ! echo "configure:5034: 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 --- 5031,5042 ---- fi echo $ac_n "checking for size_t""... $ac_c" 1>&6 ! echo "configure:5035: 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 *************** *** 5063,5074 **** fi echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 ! echo "configure:5067: 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 --- 5064,5075 ---- fi echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 ! echo "configure:5068: 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 *************** *** 5097,5108 **** fi echo $ac_n "checking for dev_t""... $ac_c" 1>&6 ! echo "configure:5101: 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 --- 5098,5109 ---- fi echo $ac_n "checking for dev_t""... $ac_c" 1>&6 ! echo "configure:5102: 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 *************** *** 5130,5141 **** fi echo $ac_n "checking for ino_t""... $ac_c" 1>&6 ! echo "configure:5134: 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 --- 5131,5142 ---- fi echo $ac_n "checking for ino_t""... $ac_c" 1>&6 ! echo "configure:5135: 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 *************** *** 5163,5174 **** fi echo $ac_n "checking for nlink_t""... $ac_c" 1>&6 ! echo "configure:5167: 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 --- 5164,5175 ---- fi echo $ac_n "checking for nlink_t""... $ac_c" 1>&6 ! echo "configure:5168: 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 *************** *** 5196,5207 **** fi echo $ac_n "checking for sigset_t""... $ac_c" 1>&6 ! echo "configure:5200: 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 --- 5197,5208 ---- fi echo $ac_n "checking for sigset_t""... $ac_c" 1>&6 ! echo "configure:5201: 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 *************** *** 5249,5260 **** for ac_func in getrusage times do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 ! echo "configure:5253: 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:5254: 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 --- 5278,5284 ---- ; return 0; } EOF ! if { (eval echo configure:5282: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else *************** *** 5348,5354 **** # 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:5352: 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 --- 5349,5355 ---- # 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:5353: 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 *************** *** 5381,5387 **** *) ac_lib=l ;; esac echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6 ! echo "configure:5385: 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 --- 5382,5388 ---- *) ac_lib=l ;; esac echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6 ! echo "configure:5386: 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 *************** *** 5389,5395 **** 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 --- 5401,5407 ---- yywrap() ; return 0; } EOF ! if { (eval echo configure:5405: \"$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 *************** *** 5442,5448 **** # 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:5446: 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 --- 5443,5449 ---- # 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:5447: 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 *************** *** 5481,5487 **** esac echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 ! echo "configure:5485: 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 --- 5482,5488 ---- esac echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 ! echo "configure:5486: 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 *************** *** 5505,5511 **** # 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:5509: 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 --- 5506,5512 ---- # 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:5510: 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 *************** *** 5533,5539 **** # Extract the first word of "expect", so it can be a program name with args. set dummy expect; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 ! echo "configure:5537: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_EXPECT'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else --- 5534,5540 ---- # Extract the first word of "expect", so it can be a program name with args. set dummy expect; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 ! echo "configure:5538: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_EXPECT'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else *************** *** 5574,5580 **** # 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:5578: 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 --- 5575,5581 ---- # 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:5579: 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 *************** *** 5637,5643 **** # 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:5641: 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 --- 5638,5644 ---- # 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:5642: 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 *************** *** 5664,5670 **** if test -n "$GNUPLOT_BINARY"; then echo $ac_n "checking to see if your gnuplot supports multiplot""... $ac_c" 1>&6 ! echo "configure:5668: 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 --- 5665,5671 ---- if test -n "$GNUPLOT_BINARY"; then echo $ac_n "checking to see if your gnuplot supports multiplot""... $ac_c" 1>&6 ! echo "configure:5669: 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 *************** *** 5676,5682 **** 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:5680: 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 --- 5677,5683 ---- 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:5681: 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 *************** *** 5711,5717 **** # 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:5715: 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 --- 5712,5718 ---- # 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:5716: 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 diff -cNr octave-2.0.3/configure.in octave-2.0.4/configure.in *** octave-2.0.3/configure.in Fri Feb 14 14:15:01 1997 --- octave-2.0.4/configure.in Thu Feb 20 02:43:18 1997 *************** *** 21,27 **** ### Software Foundation, 59 Temple Place - Suite 330, Boston, MA ### 02111-1307, USA. ! AC_REVISION($Revision: 1.255 $) AC_PREREQ(2.9) AC_INIT(src/octave.cc) AC_CONFIG_HEADER(config.h) --- 21,27 ---- ### Software Foundation, 59 Temple Place - Suite 330, Boston, MA ### 02111-1307, USA. ! AC_REVISION($Revision: 1.257 $) AC_PREREQ(2.9) AC_INIT(src/octave.cc) AC_CONFIG_HEADER(config.h) *************** *** 397,403 **** CPICFLAG= CXXPICFLAG= FPICFLAG= ! SH_LDFLAGS="-Xlinker -exepct_unresolved -Xlinker '*'" RLD_FLAG='-Xlinker -rpath -Xlinker $(libdir)' ;; changequote(,)dnl --- 397,403 ---- CPICFLAG= CXXPICFLAG= FPICFLAG= ! SH_LDFLAGS="-shared -Xlinker -expect_unresolved -Xlinker '*'" RLD_FLAG='-Xlinker -rpath -Xlinker $(libdir)' ;; changequote(,)dnl *************** *** 418,423 **** --- 418,424 ---- FPICFLAG=+Z fi SHLEXT=sl + SH_LDFLAGS="-shared -fPIC" RLD_FLAG='-Xlinker +b -Xlinker $(libdir)' ;; *-sgi-*) diff -cNr octave-2.0.3/doc/ChangeLog octave-2.0.4/doc/ChangeLog *** octave-2.0.3/doc/ChangeLog Tue Feb 18 09:22:43 1997 --- octave-2.0.4/doc/ChangeLog Thu Feb 20 02:58:57 1997 *************** *** 1,3 **** --- 1,17 ---- + Thu Feb 20 02:58:05 1997 John W. Eaton + + * Version 2.0.4 released. + + Wed Feb 19 10:30:14 1997 John W. Eaton + + * Makefile.in (DISTFILES): Distribute conf.texi, not conf.texi.in. + + * liboctave/Makefile.in: Don't make or distribute conf.texi. + (liboctave.info, liboctave.dvi): Depend on ../conf.texi, not conf.texi. + + * interpreter/Makefile.in: Don't create or distribute conf.texi. + (octave.info, octave.dvi): Depend on ../conf.texi, not conf.texi. + Tue Feb 18 09:22:04 1997 John W. Eaton * Version 2.0.3 released. diff -cNr octave-2.0.3/doc/Makefile.in octave-2.0.4/doc/Makefile.in *** octave-2.0.3/doc/Makefile.in Wed Jan 29 11:49:15 1997 --- octave-2.0.4/doc/Makefile.in Wed Feb 19 13:10:07 1997 *************** *** 20,26 **** SOURCES = ! DISTFILES = Makefile.in ChangeLog conf.texi.in texinfo.tex SUBDIRS = faq interpreter liboctave refcard --- 20,26 ---- SOURCES = ! DISTFILES = Makefile.in ChangeLog conf.texi texinfo.tex SUBDIRS = faq interpreter liboctave refcard diff -cNr octave-2.0.3/doc/conf.texi octave-2.0.4/doc/conf.texi *** octave-2.0.3/doc/conf.texi Wed Dec 31 18:00:00 1969 --- octave-2.0.4/doc/conf.texi Wed Feb 19 13:10:27 1997 *************** *** 0 **** --- 1,7 ---- + @c Copyright (C) 1996 John W. Eaton + @c This is part of the Octave manual. + @c For copying conditions, see the file gpl.texi. + + @set VERSION 2.0.4 + @set OCTAVEHOME /usr/local + @set TARGETHOSTTYPE i586-pc-linux-gnu diff -cNr octave-2.0.3/doc/interpreter/Makefile.in octave-2.0.4/doc/interpreter/Makefile.in *** octave-2.0.3/doc/interpreter/Makefile.in Tue Feb 18 12:03:14 1997 --- octave-2.0.4/doc/interpreter/Makefile.in Wed Feb 19 22:43:45 1997 *************** *** 32,38 **** FORMATTED = octave.dvi octave.ps octave.info octave.info-[0-9]* ! DISTFILES = Makefile.in dir octave.1 conf.texi $(TEXINFO) $(FORMATTED) ifeq ($(wildcard octave.info), ) BINDISTFILES = $(srcdir)/octave.1 $(srcdir)/octave.info \ --- 32,38 ---- FORMATTED = octave.dvi octave.ps octave.info octave.info-[0-9]* ! DISTFILES = Makefile.in dir octave.1 $(TEXINFO) $(FORMATTED) ifeq ($(wildcard octave.info), ) BINDISTFILES = $(srcdir)/octave.1 $(srcdir)/octave.info \ *************** *** 53,86 **** sed -e 's/@@/ at /g' -e 's/@[a-zA-Z]*//g' $< | spell > $@.tmp mv $@.tmp $@ ! all: conf.texi octave.info octave.dvi octave.ps .PHONY: all ! # This mess is supposed to prevent us from making info files ! # unnecessarily when building Octave in a subdirectory. ! conf.texi: $(srcdir)/../../src/version.h ../../Makeconf Makefile \ ! $(srcdir)/../conf.texi.in ! @echo "Making conf.texi from conf.texi.in..." ! sed < $(srcdir)/../conf.texi.in > conf.texi.tmp \ ! -e "s;%OCTAVE_VERSION%;${version};" \ ! -e "s;%TARGET_HOST_TYPE%;${target_host_type};" \ ! -e "s;%OCTAVE_HOME%;${prefix};" ! @if test "$(srcdir)" = "." ; then \ ! $(top_srcdir)/move-if-change conf.texi.tmp conf.texi; \ ! else \ ! if cmp conf.texi.tmp $(srcdir)/conf.texi > /dev/null; then \ ! echo conf.texi is unchanged; \ ! rm -f conf.texi.tmp; \ ! else \ ! mv -f conf.texi.tmp conf.texi; \ ! fi; \ ! fi ! ! octave.info: $(TEXINFO) conf.texi ! -makeinfo -I$(srcdir) $(srcdir)/octave.texi ! ! octave.dvi: $(TEXINFO) conf.texi -TEXINPUTS="$(srcdir):$(srcdir)/..:$(TEXINPUTS):" ; \ export TEXINPUTS ; \ $(TEXI2DVI) $(srcdir)/octave.texi --- 53,65 ---- sed -e 's/@@/ at /g' -e 's/@[a-zA-Z]*//g' $< | spell > $@.tmp mv $@.tmp $@ ! all: octave.info octave.dvi octave.ps .PHONY: all ! octave.info: $(TEXINFO) ../conf.texi ! -makeinfo -I$(srcdir) -I$(srcdir)/.. $(srcdir)/octave.texi ! octave.dvi: $(TEXINFO) ../conf.texi -TEXINPUTS="$(srcdir):$(srcdir)/..:$(TEXINPUTS):" ; \ export TEXINPUTS ; \ $(TEXI2DVI) $(srcdir)/octave.texi *************** *** 90,101 **** ../../INSTALL.OCTAVE: install.texi -makeinfo -D INSTALLONLY --no-headers --no-split --output INSTALL \ ! -I$(srcdir) $(srcdir)/install.texi mv INSTALL ../../INSTALL.OCTAVE ../../BUGS: bugs.texi -makeinfo -D BUGSONLY --no-headers --no-split --output BUGS \ ! -I$(srcdir) $(srcdir)/bugs.texi mv BUGS ../../BUGS check: all --- 69,80 ---- ../../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 check: all diff -cNr octave-2.0.3/doc/interpreter/basics.texi octave-2.0.4/doc/interpreter/basics.texi *** octave-2.0.3/doc/interpreter/basics.texi Sun Feb 16 22:48:26 1997 --- octave-2.0.4/doc/interpreter/basics.texi Wed Feb 19 13:07:18 1997 *************** *** 252,271 **** @cindex startup files @table @code ! @item OCTAVE_HOME/share/octave/site/m/startup/octaverc ! Where @code{OCTAVE_HOME} is the directory in which all of Octave is ! installed (the default is @file{/usr/local}). This file is provided so ! that changes to the default Octave environment can be made globally for ! all users at your site for all versions of Octave you have installed. ! Some care should be taken when making changes to this file, since all ! users of Octave at your site will be affected. ! ! @item OCTAVE_HOME/share/octave/VERSION/m/startup/octaverc ! Where @code{OCTAVE_HOME} is the directory in which all of Octave is ! installed (the default is @file{/usr/local}), and @code{VERSION} is the ! version number of Octave. This file is provided so that changes to the ! default Octave environment can be made globally for all users for a ! particular version of Octave. Some care should be taken when making changes to this file, since all users of Octave at your site will be affected. --- 252,271 ---- @cindex startup files @table @code ! @item @var{OCTAVE_HOME}/share/octave/site/m/startup/octaverc ! Where @var{OCTAVE_HOME} is the directory in which all of Octave is ! installed (the default is @file{@value{OCTAVEHOME}}). This file is ! provided so that changes to the default Octave environment can be made ! globally for all users at your site for all versions of Octave you have ! installed. Some care should be taken when making changes to this file, ! since all users of Octave at your site will be affected. ! ! @item @var{OCTAVE_HOME}/share/octave/@var{VERSION}/m/startup/octaverc ! Where @var{OCTAVE_HOME} is the directory in which all of Octave is ! installed (the default is @file{@value{OCTAVEHOME}}), and @var{VERSION} ! is the version number of Octave. This file is provided so that changes ! to the default Octave environment can be made globally for all users for ! a particular version of Octave. Some care should be taken when making changes to this file, since all users of Octave at your site will be affected. *************** *** 358,373 **** @defvr {Built-in Variable} INFO_FILE The variable @code{INFO_FILE} names the location of the Octave info file. ! The default value is @code{"@value{OCTAVEHOME}/info/octave.info"}. @end defvr @defvr {Built-in Variable} INFO_PROGRAM The variable @code{INFO_PROGRAM} names the info program to run. Its initial value is ! @code{@value{OCTAVEHOME}/libexec/octave/VERSION/exec/ARCH/info}, but ! that value can be overridden by the environment variable ! @code{OCTAVE_INFO_PROGRAM}, or the command line argument ! @code{--info-program NAME}, or by setting the value of @code{INFO_PROGRAM} in a startup script. @end defvr --- 358,376 ---- @defvr {Built-in Variable} INFO_FILE The variable @code{INFO_FILE} names the location of the Octave info file. ! The default value is @code{"@var{OCTAVE_HOME}/info/octave.info"}, where ! @var{OCTAVE_HOME} is the directory where all of Octave is installed. @end defvr @defvr {Built-in Variable} INFO_PROGRAM The variable @code{INFO_PROGRAM} names the info program to run. Its initial value is ! @code{"@var{OCTAVE_HOME}/libexec/octave/@var{VERSION}/exec/@var{ARCH}/info"}, ! where @var{OCTAVE_HOME} is the directory where all of Octave is ! installed, @var{VERSION} is the Octave version number, and @var{ARCH} is ! the machine type. The value of @code{INFO_PROGRAM} can be overridden by ! the environment variable @code{OCTAVE_INFO_PROGRAM}, or the command line ! argument @code{--info-program NAME}, or by setting the value of @code{INFO_PROGRAM} in a startup script. @end defvr *************** *** 1011,1025 **** @example @group ! #! @value{OCTAVEHOME}/bin/octave -qf # a sample Octave program printf ("Hello, world!\n"); @end group @end example @noindent ! After making this file executable (with the @code{chmod} command), you ! can simply type: @example hello --- 1014,1029 ---- @example @group ! #! /path/to/octave -qf # a sample Octave program printf ("Hello, world!\n"); @end group @end example @noindent ! (where @code{/path/to/octave} should be replaced with the full file name ! for your Octave binary). After making this file executable (with the ! @code{chmod} command), you can simply type: @example hello *************** *** 1058,1064 **** @example @group ! #! @value{OCTAVEHOME}/bin/octave -qf printf ("%s", program_name); for i = 1:nargin printf (" %s", argv(i,:)); --- 1062,1068 ---- @example @group ! #! /bin/octave -qf printf ("%s", program_name); for i = 1:nargin printf (" %s", argv(i,:)); diff -cNr octave-2.0.3/doc/interpreter/func.texi octave-2.0.4/doc/interpreter/func.texi *** octave-2.0.3/doc/interpreter/func.texi Tue Feb 18 01:49:27 1997 --- octave-2.0.4/doc/interpreter/func.texi Wed Feb 19 13:02:44 1997 *************** *** 611,618 **** To avoid degrading performance unnecessarily by checking the time stamps on functions that are not likely to change, Octave assumes that function files in the directory tree ! @file{@value{OCTAVEHOME}/share/octave/@value{VERSION}/m} will not ! change, so it doesn't have to check their time stamps every time the functions defined in those files are used. This is normally a very good assumption and provides a significant improvement in performance for the function files that are distributed with Octave. --- 611,618 ---- To avoid degrading performance unnecessarily by checking the time stamps on functions that are not likely to change, Octave assumes that function files in the directory tree ! @file{@var{OCTAVE_HOME}/share/octave/@var{VERSION}/m} ! will not change, so it doesn't have to check their time stamps every time the functions defined in those files are used. This is normally a very good assumption and provides a significant improvement in performance for the function files that are distributed with Octave. *************** *** 657,670 **** @code{stat} each time it looks up functions defined in function files. If @code{ignore_function_time_stamp} to @code{"system"}, Octave will not automatically recompile function files in subdirectories of ! @file{@value{OCTAVEHOME}/lib/@value{VERSION}} if they have changed since they were last compiled, but will recompile other function files in the @code{LOADPATH} if they change. If set to @code{"all"}, Octave will not recompile any function files unless their definitions are removed with @code{clear}. For any other value of @code{ignore_function_time_stamp}, Octave will always check to see if functions defined in function files ! need to recompiled. The default value of ! @code{ignore_function_time_stamp} is @code{"system"}. @end defvr @defvr {Built-in Variable} warn_function_name_clash --- 657,670 ---- @code{stat} each time it looks up functions defined in function files. If @code{ignore_function_time_stamp} to @code{"system"}, Octave will not automatically recompile function files in subdirectories of ! @file{@var{OCTAVE_HOME}/lib/@var{VERSION}} if they have changed since they were last compiled, but will recompile other function files in the @code{LOADPATH} if they change. If set to @code{"all"}, Octave will not recompile any function files unless their definitions are removed with @code{clear}. For any other value of @code{ignore_function_time_stamp}, Octave will always check to see if functions defined in function files ! need to recompiled. The default value of @code{ignore_function_time_stamp} is ! @code{"system"}. @end defvr @defvr {Built-in Variable} warn_function_name_clash *************** *** 984,991 **** Many of Octave's standard functions are distributed as function files. They are loosely organized by topic, in subdirectories of ! @file{OCTAVE_HOME/lib/octave/VERSION/m}, to make it easier to find ! them. The following is a list of all the function file subdirectories, and the types of functions you will find there. --- 984,991 ---- Many of Octave's standard functions are distributed as function files. They are loosely organized by topic, in subdirectories of ! @file{@var{OCTAVE_HOME}/lib/octave/@var{VERSION}/m}, to make it easier ! to find them. The following is a list of all the function file subdirectories, and the types of functions you will find there. diff -cNr octave-2.0.3/doc/interpreter/grammar.texi octave-2.0.4/doc/interpreter/grammar.texi *** octave-2.0.3/doc/interpreter/grammar.texi Sun Feb 16 22:48:25 1997 --- octave-2.0.4/doc/interpreter/grammar.texi Wed Feb 19 13:24:29 1997 *************** *** 38,45 **** @end group @end example ! The following command-like functions are also reserved, and may not be ! used as variable or function names: @example @group --- 38,48 ---- @end group @end example ! The following command-like functions are also speical. They may be used ! as simple variable names, but not as formal parameters for functions, or ! as the names of structure variables. Failed assignments leave them ! undefined (you can recover the orginal definition as a function using ! clear). @example @group diff -cNr octave-2.0.3/doc/interpreter/install.texi octave-2.0.4/doc/interpreter/install.texi *** octave-2.0.3/doc/interpreter/install.texi Tue Feb 18 01:46:23 1997 --- octave-2.0.4/doc/interpreter/install.texi Wed Feb 19 13:25:37 1997 *************** *** 404,410 **** available to devote to making binaries, so binaries may not be immediately available for some platforms. (Please contact @email{bug-octave@@bevo.che.wisc.edu} if you are interested in helping ! make a binary distributions 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 --- 404,410 ---- available to devote to making binaries, so binaries may not be immediately available for some platforms. (Please contact @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 diff -cNr octave-2.0.3/doc/interpreter/intro.texi octave-2.0.4/doc/interpreter/intro.texi *** octave-2.0.3/doc/interpreter/intro.texi Sun Feb 16 22:48:26 1997 --- octave-2.0.4/doc/interpreter/intro.texi Wed Feb 19 13:25:05 1997 *************** *** 564,570 **** Command descriptions have a format similar to function descriptions, except that the word `Function' is replaced by `Command. Commands are ! functions that are called without surrounding their arguments in parentheses. For example, here is the description for Octave's @code{cd} command: --- 564,570 ---- Command descriptions have a format similar to function descriptions, except that the word `Function' is replaced by `Command. Commands are ! functions that may called without surrounding their arguments in parentheses. For example, here is the description for Octave's @code{cd} command: diff -cNr octave-2.0.3/doc/interpreter/system.texi octave-2.0.4/doc/interpreter/system.texi *** octave-2.0.3/doc/interpreter/system.texi Tue Feb 18 01:48:10 1997 --- octave-2.0.4/doc/interpreter/system.texi Wed Feb 19 12:59:58 1997 *************** *** 794,810 **** @example @group ! OCTAVE_HOME/libexec/octave/site/exec/ARCH ! OCTAVE_HOME/libexec/octave/VERSION/exec/ARCH @end group @end example @noindent ! are prepended (appended) to @code{EXEC_PATH}, where @code{OCTAVE_HOME} is the top-level directory where all of Octave is installed ! (@file{/usr/local} by default). If you don't specify a value for ! @code{EXEC_PATH} explicitly, these special directories are prepended to ! your shell path. @end defvr In most cases, the following functions simply decode their arguments and --- 794,810 ---- @example @group ! @var{OCTAVE_HOME}/libexec/octave/site/exec/@var{ARCH} ! @var{OCTAVE_HOME}/libexec/octave/@var{VERSION}/exec/@var{ARCH} @end group @end example @noindent ! are prepended (appended) to @code{EXEC_PATH}, where @var{OCTAVE_HOME} is the top-level directory where all of Octave is installed ! (the default value is @file{@value{OCTAVEHOME}}). If you don't specify ! a value for @code{EXEC_PATH} explicitly, these special directories are ! prepended to your shell path. @end defvr In most cases, the following functions simply decode their arguments and diff -cNr octave-2.0.3/doc/interpreter/var.texi octave-2.0.4/doc/interpreter/var.texi *** octave-2.0.3/doc/interpreter/var.texi Sun Feb 16 22:48:26 1997 --- octave-2.0.4/doc/interpreter/var.texi Wed Feb 19 13:08:44 1997 *************** *** 282,291 **** Here is a summary of all of Octave's built-in variables along with cross references to additional information and their default values. In the following table @code{OCT_HOME} stands for the root directory where ! Octave is installed (for example, @file{@value{OCTAVEHOME}}, @code{VERSION} ! stands for the Octave version number (for example, @value{VERSION}, and ! @code{SYS} stands for the type of system for which Octave was compiled ! (for example, @code{@value{TARGETHOSTTYPE}}). @vtable @code @item EDITOR --- 282,291 ---- Here is a summary of all of Octave's built-in variables along with cross references to additional information and their default values. In the following table @code{OCT_HOME} stands for the root directory where ! all of Octave is installed (the default is @file{@value{OCTAVEHOME}}, ! @code{VERSION} stands for the Octave version number (for example, ! @value{VERSION}, and @code{SYS} stands for the type of system for which ! Octave was compiled (for example, @code{@value{TARGETHOSTTYPE}}). @vtable @code @item EDITOR diff -cNr octave-2.0.3/doc/liboctave/Makefile.in octave-2.0.4/doc/liboctave/Makefile.in *** octave-2.0.3/doc/liboctave/Makefile.in Sun Feb 2 21:25:18 1997 --- octave-2.0.4/doc/liboctave/Makefile.in Wed Feb 19 22:43:24 1997 *************** *** 27,33 **** FORMATTED = liboctave.dvi liboctave.ps liboctave.info liboctave.info-[0-9]* ! DISTFILES = Makefile.in conf.texi gpl.texi $(TEXINFO) $(FORMATTED) BINDISTFILES = --- 27,33 ---- FORMATTED = liboctave.dvi liboctave.ps liboctave.info liboctave.info-[0-9]* ! DISTFILES = Makefile.in gpl.texi $(TEXINFO) $(FORMATTED) BINDISTFILES = *************** *** 38,71 **** sed -e 's/@@/ at /g' -e 's/@[a-zA-Z]*//g' $< | spell > $@.tmp mv $@.tmp $@ ! all: conf.texi liboctave.info liboctave.dvi liboctave.ps .PHONY: all ! # This mess is supposed to prevent us from making info files ! # unnecessarily when building Octave in a subdirectory. ! conf.texi: $(srcdir)/../../src/version.h ../../Makeconf Makefile \ ! $(srcdir)/../conf.texi.in ! @echo "Making conf.texi from conf.texi.in..." ! @(version_val=${version}; \ ! sed < $(srcdir)/../conf.texi.in > conf.texi.tmp \ ! -e "s;%OCTAVE_VERSION%;$$version_val;" \ ! -e "s;%OCTAVE_HOME%;${prefix};") ! @if test "$(srcdir)" = "." ; then \ ! $(top_srcdir)/move-if-change conf.texi.tmp conf.texi; \ ! else \ ! if cmp conf.texi.tmp $(srcdir)/conf.texi > /dev/null; then \ ! echo conf.texi is unchanged; \ ! rm -f conf.texi.tmp; \ ! else \ ! mv -f conf.texi.tmp conf.texi; \ ! fi; \ ! fi ! ! liboctave.info: $(TEXINFO) conf.texi ! -makeinfo -I$(srcdir) $(srcdir)/liboctave.texi ! ! liboctave.dvi: $(TEXINFO) conf.texi -TEXINPUTS="$(srcdir):$(srcdir)/..:$(TEXINPUTS):" ; \ export TEXINPUTS ; \ $(TEXI2DVI) $(srcdir)/liboctave.texi --- 38,50 ---- sed -e 's/@@/ at /g' -e 's/@[a-zA-Z]*//g' $< | spell > $@.tmp mv $@.tmp $@ ! all: liboctave.info liboctave.dvi liboctave.ps .PHONY: all ! liboctave.info: $(TEXINFO) ../conf.texi ! -makeinfo -I$(srcdir) -I$(srcdir)/.. $(srcdir)/liboctave.texi ! liboctave.dvi: $(TEXINFO) ../conf.texi -TEXINPUTS="$(srcdir):$(srcdir)/..:$(TEXINPUTS):" ; \ export TEXINPUTS ; \ $(TEXI2DVI) $(srcdir)/liboctave.texi diff -cNr octave-2.0.3/doc/liboctave/liboctave.texi octave-2.0.4/doc/liboctave/liboctave.texi *** octave-2.0.3/doc/liboctave/liboctave.texi Sun Feb 2 21:27:07 1997 --- octave-2.0.4/doc/liboctave/liboctave.texi Wed Feb 19 22:44:24 1997 *************** *** 24,30 **** @defindex op ! @c @include conf.texi @settitle Octave C++ Classes --- 24,34 ---- @defindex op ! @c Things like the Octave version number are defined in conf.texi. ! @c This file doesn't include a chapter, so it must not be included ! @c if you want to run the Emacs function texinfo-multiple-files-update. ! ! @include conf.texi @settitle Octave C++ Classes diff -cNr octave-2.0.3/kpathsea/CVS/Entries octave-2.0.4/kpathsea/CVS/Entries *** octave-2.0.3/kpathsea/CVS/Entries Fri Feb 14 16:31:37 1997 --- octave-2.0.4/kpathsea/CVS/Entries Thu Feb 20 02:43:19 1997 *************** *** 119,124 **** /c-unistd.h/1.3/Sun Nov 3 21:36:44 1996// /config.guess/1.3/Tue Dec 3 17:48:21 1996// /config.sub/1.3/Fri Dec 6 00:58:45 1996// ! /configure.in/1.2/Fri Feb 14 03:13:37 1997// ! /ChangeLog/1.9/Fri Feb 14 03:36:46 1997// ! /Makefile.in/1.15/Fri Feb 14 22:22:16 1997// --- 119,124 ---- /c-unistd.h/1.3/Sun Nov 3 21:36:44 1996// /config.guess/1.3/Tue Dec 3 17:48:21 1996// /config.sub/1.3/Fri Dec 6 00:58:45 1996// ! /Makefile.in/1.16/Wed Feb 19 03:58:36 1997// ! /configure.in/1.4/Thu Feb 20 08:41:35 1997// ! /ChangeLog/1.11/Thu Feb 20 08:41:45 1997// diff -cNr octave-2.0.3/kpathsea/ChangeLog octave-2.0.4/kpathsea/ChangeLog *** octave-2.0.3/kpathsea/ChangeLog Thu Feb 13 21:36:46 1997 --- octave-2.0.4/kpathsea/ChangeLog Thu Feb 20 02:52:12 1997 *************** *** 1,3 **** --- 1,14 ---- + Thu Feb 20 02:41:36 1997 John W. Eaton + + * configure.in (SH_LDFLAGS): Add -fPIC for HP-UX. + (SH_LDFLAGS): Add -shared for alpha OSF/1. + + Tue Feb 18 17:36:03 1997 John W. Eaton + + * Makefile.in (pic/tex-file.o): Delete extra pic/ in commands. + + * configure.in (SH_LDFLAGS): Fix typo in last change. + Thu Feb 13 17:35:20 1997 John W. Eaton * configure.in: Update config for shared libraries. diff -cNr octave-2.0.3/kpathsea/Makefile octave-2.0.4/kpathsea/Makefile *** octave-2.0.3/kpathsea/Makefile Tue Feb 18 12:05:09 1997 --- octave-2.0.4/kpathsea/Makefile Thu Feb 20 03:02:13 1997 *************** *** 333,339 **** pic/tex-file.o: $(CC) $(CPPFLAGS) $(CPICFLAG) $(CFLAGS) \ -DDEFAULT_FONT_SIZES='"$(default_texsizes)"'\ ! -c $(srcdir)/tex-file.c -o pic/$@ # Need the -DHAVE_CONFIG_H. gmalloc.o: --- 333,339 ---- pic/tex-file.o: $(CC) $(CPPFLAGS) $(CPICFLAG) $(CFLAGS) \ -DDEFAULT_FONT_SIZES='"$(default_texsizes)"'\ ! -c $(srcdir)/tex-file.c -o $@ # Need the -DHAVE_CONFIG_H. gmalloc.o: diff -cNr octave-2.0.3/kpathsea/Makefile.in octave-2.0.4/kpathsea/Makefile.in *** octave-2.0.3/kpathsea/Makefile.in Fri Feb 14 16:22:16 1997 --- octave-2.0.4/kpathsea/Makefile.in Tue Feb 18 21:58:36 1997 *************** *** 145,151 **** pic/tex-file.o: $(CC) $(CPPFLAGS) $(CPICFLAG) $(CFLAGS) \ -DDEFAULT_FONT_SIZES='"$(default_texsizes)"'\ ! -c $(srcdir)/tex-file.c -o pic/$@ # Need the -DHAVE_CONFIG_H. gmalloc.o: --- 145,151 ---- pic/tex-file.o: $(CC) $(CPPFLAGS) $(CPICFLAG) $(CFLAGS) \ -DDEFAULT_FONT_SIZES='"$(default_texsizes)"'\ ! -c $(srcdir)/tex-file.c -o $@ # Need the -DHAVE_CONFIG_H. gmalloc.o: diff -cNr octave-2.0.3/kpathsea/configure octave-2.0.4/kpathsea/configure *** octave-2.0.3/kpathsea/configure Tue Feb 18 09:41:40 1997 --- octave-2.0.4/kpathsea/configure Thu Feb 20 03:00:01 1997 *************** *** 597,609 **** ;; alpha-dec-osf*) CPICFLAG= ! SH_LDFLAGS="-Xlinker -exepct_unresolved -Xlinker '*'" ;; rs6000-ibm-aix* | powerpc-ibm-aix*) CPICFLAG= ;; hppa*-hp-hpux*) SHLEXT=sl ;; esac echo "$ac_t""defining CPICFLAG to be $CPICFLAG" 1>&6 --- 597,610 ---- ;; alpha-dec-osf*) CPICFLAG= ! SH_LDFLAGS="-shared -Xlinker -expect_unresolved -Xlinker '*'" ;; rs6000-ibm-aix* | powerpc-ibm-aix*) CPICFLAG= ;; hppa*-hp-hpux*) SHLEXT=sl + SH_LDFLAGS="-shared -fPIC" ;; esac echo "$ac_t""defining CPICFLAG to be $CPICFLAG" 1>&6 *************** *** 619,625 **** echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 ! echo "configure:623: 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 --- 620,626 ---- echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 ! echo "configure:624: 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 *************** *** 649,655 **** # 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:653: 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 --- 650,656 ---- # 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:654: 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 *************** *** 678,684 **** # 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:682: 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 --- 679,685 ---- # 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:683: 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 *************** *** 726,732 **** fi echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 ! echo "configure:730: 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. --- 727,733 ---- fi echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 ! echo "configure:731: 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. *************** *** 736,746 **** 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 --- 737,747 ---- 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 *************** *** 760,771 **** { 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:764: 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:769: 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 --- 761,772 ---- { 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:765: 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:770: 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 *************** *** 774,780 **** yes; #endif EOF ! if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:778: \"$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 --- 775,781 ---- yes; #endif EOF ! if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:779: \"$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 *************** *** 789,795 **** ac_save_CFLAGS="$CFLAGS" CFLAGS= echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 ! echo "configure:793: 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 --- 790,796 ---- ac_save_CFLAGS="$CFLAGS" CFLAGS= echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 ! echo "configure:794: 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 *************** *** 827,833 **** # 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:831: 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 --- 828,834 ---- # 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:832: 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 *************** *** 879,885 **** # 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:883: 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 --- 880,886 ---- # 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:884: 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 *************** *** 907,913 **** echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&6 ! echo "configure:911: 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 --- 908,914 ---- echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&6 ! echo "configure:912: 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 *************** *** 933,944 **** 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:937: 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> --- 934,945 ---- 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:938: 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> *************** *** 946,952 **** DIR *dirp = 0; ; return 0; } EOF ! if { (eval echo configure:950: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* eval "ac_cv_header_dirent_$ac_safe=yes" else --- 947,953 ---- DIR *dirp = 0; ; return 0; } EOF ! if { (eval echo configure:951: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* eval "ac_cv_header_dirent_$ac_safe=yes" else *************** *** 971,977 **** # 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:975: 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 --- 972,978 ---- # 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:976: 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 *************** *** 979,985 **** 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 --- 991,997 ---- opendir() ; return 0; } EOF ! if { (eval echo configure:995: \"$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 *************** *** 1012,1018 **** else echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6 ! echo "configure:1016: 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 --- 1013,1019 ---- else echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6 ! echo "configure:1017: 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 *************** *** 1020,1026 **** 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 --- 1032,1038 ---- opendir() ; return 0; } EOF ! if { (eval echo configure:1036: \"$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 *************** *** 1054,1060 **** fi echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 ! echo "configure:1058: checking how to run the C preprocessor" >&5 # On Suns, sometimes $CPP names a directory. if test -n "$CPP" && test -d "$CPP"; then CPP= --- 1055,1061 ---- fi echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 ! echo "configure:1059: checking how to run the C preprocessor" >&5 # On Suns, sometimes $CPP names a directory. if test -n "$CPP" && test -d "$CPP"; then CPP= *************** *** 1069,1081 **** # 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:1079: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then : --- 1070,1082 ---- # 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:1080: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then : *************** *** 1086,1098 **** 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:1096: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then : --- 1087,1099 ---- 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:1097: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then : *************** *** 1115,1126 **** echo "$ac_t""$CPP" 1>&6 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 ! echo "configure:1119: 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 --- 1116,1127 ---- echo "$ac_t""$CPP" 1>&6 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 ! echo "configure:1120: 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 *************** *** 1128,1134 **** #include EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" ! { (eval echo configure:1132: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then rm -rf conftest* --- 1129,1135 ---- #include EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" ! { (eval echo configure:1133: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then rm -rf conftest* *************** *** 1145,1151 **** 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 --- 1146,1152 ---- 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 *************** *** 1163,1169 **** 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 --- 1164,1170 ---- 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 *************** *** 1184,1190 **** : else cat > conftest.$ac_ext < #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') --- 1185,1191 ---- : else cat > conftest.$ac_ext < #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') *************** *** 1195,1201 **** exit (0); } EOF ! if { (eval echo configure:1199: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null then : else --- 1196,1202 ---- exit (0); } EOF ! if { (eval echo configure:1200: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null then : else *************** *** 1219,1225 **** fi echo $ac_n "checking whether closedir returns void""... $ac_c" 1>&6 ! echo "configure:1223: 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 --- 1220,1226 ---- fi echo $ac_n "checking whether closedir returns void""... $ac_c" 1>&6 ! echo "configure:1224: 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 *************** *** 1227,1239 **** 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:1237: \"$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 --- 1228,1240 ---- 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:1238: \"$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 *************** *** 1260,1276 **** do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 ! echo "configure:1264: 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:1274: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then rm -rf conftest* --- 1261,1277 ---- do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 ! echo "configure:1265: 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:1275: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then rm -rf conftest* *************** *** 1300,1311 **** for ac_func in basename bcopy memmove putenv do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 ! echo "configure:1304: 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:1305: 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 --- 1329,1335 ---- ; return 0; } EOF ! if { (eval echo configure:1333: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else *************** *** 1354,1365 **** echo $ac_n "checking for working const""... $ac_c" 1>&6 ! echo "configure:1358: 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:1359: 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 --- 1409,1415 ---- ; return 0; } EOF ! if { (eval echo configure:1413: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_c_const=yes else *************** *** 1432,1450 **** # This is a GNU libc invention. echo $ac_n "checking whether program_invocation_name is predefined""... $ac_c" 1>&6 ! echo "configure:1436: 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 --- 1433,1451 ---- # This is a GNU libc invention. echo $ac_n "checking whether program_invocation_name is predefined""... $ac_c" 1>&6 ! echo "configure:1437: 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 *************** *** 1469,1475 **** # 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:1473: 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 --- 1470,1476 ---- # 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:1474: 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 *************** *** 1477,1483 **** 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 --- 1531,1537 ---- exit (rstr1 == rstr2 ? 0 : 1); } EOF ! if { (eval echo configure:1535: \"$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 diff -cNr octave-2.0.3/kpathsea/configure.in octave-2.0.4/kpathsea/configure.in *** octave-2.0.3/kpathsea/configure.in Thu Feb 13 21:13:37 1997 --- octave-2.0.4/kpathsea/configure.in Thu Feb 20 02:51:44 1997 *************** *** 28,40 **** ;; alpha-dec-osf*) CPICFLAG= ! SH_LDFLAGS="-Xlinker -exepct_unresolved -Xlinker '*'" ;; rs6000-ibm-aix* | powerpc-ibm-aix*) CPICFLAG= ;; hppa*-hp-hpux*) SHLEXT=sl ;; esac AC_MSG_RESULT([defining CPICFLAG to be $CPICFLAG]) --- 28,41 ---- ;; alpha-dec-osf*) CPICFLAG= ! SH_LDFLAGS="-shared -Xlinker -expect_unresolved -Xlinker '*'" ;; rs6000-ibm-aix* | powerpc-ibm-aix*) CPICFLAG= ;; hppa*-hp-hpux*) SHLEXT=sl + SH_LDFLAGS="-shared -fPIC" ;; esac AC_MSG_RESULT([defining CPICFLAG to be $CPICFLAG]) diff -cNr octave-2.0.3/libcruft/ChangeLog octave-2.0.4/libcruft/ChangeLog *** octave-2.0.3/libcruft/ChangeLog Tue Feb 18 09:22:36 1997 --- octave-2.0.4/libcruft/ChangeLog Thu Feb 20 02:58:51 1997 *************** *** 1,3 **** --- 1,7 ---- + Thu Feb 20 02:58:05 1997 John W. Eaton + + * Version 2.0.4 released. + Tue Feb 18 09:22:04 1997 John W. Eaton * Version 2.0.3 released. diff -cNr octave-2.0.3/liboctave/ChangeLog octave-2.0.4/liboctave/ChangeLog *** octave-2.0.3/liboctave/ChangeLog Tue Feb 18 09:22:33 1997 --- octave-2.0.4/liboctave/ChangeLog Thu Feb 20 02:58:48 1997 *************** *** 1,3 **** --- 1,11 ---- + Thu Feb 20 02:58:05 1997 John W. Eaton + + * Version 2.0.4 released. + + Wed Feb 19 09:42:30 1997 John W. Eaton + + * lo-ieee.cc: D'oh, it's `extern "C"', not `#extern "C"'. + Tue Feb 18 09:22:04 1997 John W. Eaton * Version 2.0.3 released. diff -cNr octave-2.0.3/liboctave/lo-ieee.cc octave-2.0.4/liboctave/lo-ieee.cc *** octave-2.0.3/liboctave/lo-ieee.cc Tue Feb 11 19:43:01 1997 --- octave-2.0.4/liboctave/lo-ieee.cc Wed Feb 19 09:42:30 1997 *************** *** 42,52 **** #endif #if defined (HAVE_INFINITY) ! #extern "C" double infinity (); #endif #if defined (HAVE_QUIET_NAN) ! #extern "C" double quiet_nan (long); #endif #include "lo-ieee.h" --- 42,52 ---- #endif #if defined (HAVE_INFINITY) ! extern "C" double infinity (); #endif #if defined (HAVE_QUIET_NAN) ! extern "C" double quiet_nan (long); #endif #include "lo-ieee.h" diff -cNr octave-2.0.3/readline/configure octave-2.0.4/readline/configure *** octave-2.0.3/readline/configure Tue Feb 18 09:41:44 1997 --- octave-2.0.4/readline/configure Thu Feb 20 03:00:07 1997 *************** *** 610,622 **** ;; alpha-dec-osf*) CPICFLAG= ! SH_LDFLAGS="-Xlinker -exepct_unresolved -Xlinker '*'" ;; rs6000-ibm-aix* | powerpc-ibm-aix*) CPICFLAG= ;; hppa*-hp-hpux*) SHLEXT=sl ;; esac echo "$ac_t""defining CPICFLAG to be $CPICFLAG" 1>&6 --- 610,623 ---- ;; alpha-dec-osf*) CPICFLAG= ! SH_LDFLAGS="-shared -Xlinker -expect_unresolved -Xlinker '*'" ;; rs6000-ibm-aix* | powerpc-ibm-aix*) CPICFLAG= ;; hppa*-hp-hpux*) SHLEXT=sl + SH_LDFLAGS="-shared -fPIC" ;; esac echo "$ac_t""defining CPICFLAG to be $CPICFLAG" 1>&6 *************** *** 633,639 **** # 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:637: 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 --- 634,640 ---- # 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:638: 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 *************** *** 662,668 **** # 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:666: 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 --- 663,669 ---- # 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:667: 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 *************** *** 710,716 **** fi echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 ! echo "configure:714: 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. --- 711,717 ---- fi echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 ! echo "configure:715: 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. *************** *** 720,730 **** 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 --- 721,731 ---- 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 *************** *** 744,755 **** { 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:748: 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:753: 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 --- 745,756 ---- { 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:749: 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:754: 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 *************** *** 758,764 **** yes; #endif EOF ! if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:762: \"$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 --- 759,765 ---- yes; #endif EOF ! if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:763: \"$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 *************** *** 773,779 **** ac_save_CFLAGS="$CFLAGS" CFLAGS= echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 ! echo "configure:777: 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 --- 774,780 ---- ac_save_CFLAGS="$CFLAGS" CFLAGS= echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 ! echo "configure:778: 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 *************** *** 801,807 **** fi echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 ! echo "configure:805: checking how to run the C preprocessor" >&5 # On Suns, sometimes $CPP names a directory. if test -n "$CPP" && test -d "$CPP"; then CPP= --- 802,808 ---- fi echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 ! echo "configure:806: checking how to run the C preprocessor" >&5 # On Suns, sometimes $CPP names a directory. if test -n "$CPP" && test -d "$CPP"; then CPP= *************** *** 816,828 **** # 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:826: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then : --- 817,829 ---- # 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:827: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then : *************** *** 833,845 **** 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:843: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then : --- 834,846 ---- 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:844: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then : *************** *** 863,875 **** if test $ac_cv_prog_gcc = yes; then echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6 ! echo "configure:867: checking whether ${CC-cc} needs -traditional" >&5 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_pattern="Autoconf.*'x'" cat > conftest.$ac_ext < Autoconf TIOCGETP --- 864,876 ---- if test $ac_cv_prog_gcc = yes; then echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6 ! echo "configure:868: checking whether ${CC-cc} needs -traditional" >&5 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_pattern="Autoconf.*'x'" cat > conftest.$ac_ext < Autoconf TIOCGETP *************** *** 887,893 **** if test $ac_cv_prog_gcc_traditional = no; then cat > conftest.$ac_ext < Autoconf TCGETA --- 888,894 ---- if test $ac_cv_prog_gcc_traditional = no; then cat > conftest.$ac_ext < Autoconf TCGETA *************** *** 919,925 **** # 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:923: 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 --- 920,926 ---- # 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:924: 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 *************** *** 971,977 **** # 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:975: 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 --- 972,978 ---- # 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:976: 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 *************** *** 1001,1007 **** 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:1005: 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 --- 1002,1008 ---- 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:1006: 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 *************** *** 1009,1015 **** 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 --- 1021,1027 ---- tputs() ; return 0; } EOF ! if { (eval echo configure:1025: \"$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 *************** *** 1064,1075 **** 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:1068: 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> --- 1065,1076 ---- 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:1069: 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> *************** *** 1077,1083 **** DIR *dirp = 0; ; return 0; } EOF ! if { (eval echo configure:1081: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* eval "ac_cv_header_dirent_$ac_safe=yes" else --- 1078,1084 ---- DIR *dirp = 0; ; return 0; } EOF ! if { (eval echo configure:1082: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* eval "ac_cv_header_dirent_$ac_safe=yes" else *************** *** 1102,1108 **** # 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:1106: 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 --- 1103,1109 ---- # 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:1107: 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 *************** *** 1110,1116 **** 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 --- 1122,1128 ---- opendir() ; return 0; } EOF ! if { (eval echo configure:1126: \"$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 *************** *** 1143,1149 **** else echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6 ! echo "configure:1147: 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 --- 1144,1150 ---- else echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6 ! echo "configure:1148: 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 *************** *** 1151,1157 **** 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 --- 1163,1169 ---- opendir() ; return 0; } EOF ! if { (eval echo configure:1167: \"$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 *************** *** 1185,1196 **** fi echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 ! echo "configure:1189: 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 --- 1186,1197 ---- fi echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 ! echo "configure:1190: 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 *************** *** 1198,1204 **** #include EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" ! { (eval echo configure:1202: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then rm -rf conftest* --- 1199,1205 ---- #include EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" ! { (eval echo configure:1203: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then rm -rf conftest* *************** *** 1215,1221 **** 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 --- 1216,1222 ---- 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 *************** *** 1233,1239 **** 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 --- 1234,1240 ---- 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 *************** *** 1254,1260 **** : else cat > conftest.$ac_ext < #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') --- 1255,1261 ---- : else cat > conftest.$ac_ext < #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') *************** *** 1265,1271 **** exit (0); } EOF ! if { (eval echo configure:1269: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null then : else --- 1266,1272 ---- exit (0); } EOF ! if { (eval echo configure:1270: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null then : else *************** *** 1289,1300 **** fi echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 ! echo "configure:1293: 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 --- 1290,1301 ---- fi echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 ! echo "configure:1294: 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 *************** *** 1303,1309 **** struct tm *tp; ; return 0; } EOF ! if { (eval echo configure:1307: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_header_time=yes else --- 1304,1310 ---- struct tm *tp; ; return 0; } EOF ! if { (eval echo configure:1308: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_header_time=yes else *************** *** 1327,1343 **** do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 ! echo "configure:1331: 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:1341: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then rm -rf conftest* --- 1328,1344 ---- do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 ! echo "configure:1332: 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:1342: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then rm -rf conftest* *************** *** 1367,1383 **** do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 ! echo "configure:1371: 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:1381: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then rm -rf conftest* --- 1368,1384 ---- do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 ! echo "configure:1372: 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:1382: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then rm -rf conftest* *************** *** 1407,1423 **** do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 ! echo "configure:1411: 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:1421: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then rm -rf conftest* --- 1408,1424 ---- do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 ! echo "configure:1412: 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:1422: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then rm -rf conftest* *************** *** 1447,1465 **** # 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:1451: 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:1463: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* ac_cv_header_alloca_h=yes else --- 1448,1466 ---- # 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:1452: 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:1464: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* ac_cv_header_alloca_h=yes else *************** *** 1480,1491 **** fi echo $ac_n "checking for alloca""... $ac_c" 1>&6 ! echo "configure:1484: 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:1485: 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 --- 1509,1515 ---- char *p = (char *) alloca(1); ; return 0; } EOF ! if { (eval echo configure:1513: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* ac_cv_func_alloca_works=yes else *************** *** 1540,1551 **** echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 ! echo "configure:1544: 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:1545: 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:1574: 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:1575: 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 --- 1599,1605 ---- ; return 0; } EOF ! if { (eval echo configure:1603: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else *************** *** 1625,1631 **** fi echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 ! echo "configure:1629: 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 --- 1626,1632 ---- fi echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 ! echo "configure:1630: 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 *************** *** 1633,1639 **** 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 --- 1653,1659 ---- exit (find_stack_direction() < 0); } EOF ! if { (eval echo configure:1657: \"$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 *************** *** 1674,1685 **** fi echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 ! echo "configure:1678: 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 --- 1675,1686 ---- fi echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 ! echo "configure:1679: 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 *************** *** 1696,1702 **** int i; ; return 0; } EOF ! if { (eval echo configure:1700: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_type_signal=void else --- 1697,1703 ---- int i; ; return 0; } EOF ! if { (eval echo configure:1701: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_type_signal=void else *************** *** 1715,1726 **** echo $ac_n "checking for vprintf""... $ac_c" 1>&6 ! echo "configure:1719: checking for vprintf" >&5 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&6 ! echo "configure:1720: checking for vprintf" >&5 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+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_vprintf=yes" else --- 1744,1750 ---- ; return 0; } EOF ! if { (eval echo configure:1748: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_vprintf=yes" else *************** *** 1767,1778 **** if test "$ac_cv_func_vprintf" != yes; then echo $ac_n "checking for _doprnt""... $ac_c" 1>&6 ! echo "configure:1771: checking for _doprnt" >&5 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&6 ! echo "configure:1772: checking for _doprnt" >&5 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+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__doprnt=yes" else --- 1796,1802 ---- ; return 0; } EOF ! if { (eval echo configure:1800: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func__doprnt=yes" else *************** *** 1822,1833 **** for ac_func in getwd select strerror strcasecmp strncasecmp do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 ! echo "configure:1826: 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:1827: 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 --- 1851,1857 ---- ; return 0; } EOF ! if { (eval echo configure:1855: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else diff -cNr octave-2.0.3/readline/configure.in octave-2.0.4/readline/configure.in *** octave-2.0.3/readline/configure.in Thu Feb 13 21:11:50 1997 --- octave-2.0.4/readline/configure.in Thu Feb 20 02:51:05 1997 *************** *** 40,52 **** ;; alpha-dec-osf*) CPICFLAG= ! SH_LDFLAGS="-Xlinker -exepct_unresolved -Xlinker '*'" ;; rs6000-ibm-aix* | powerpc-ibm-aix*) CPICFLAG= ;; hppa*-hp-hpux*) SHLEXT=sl ;; esac AC_MSG_RESULT([defining CPICFLAG to be $CPICFLAG]) --- 40,53 ---- ;; alpha-dec-osf*) CPICFLAG= ! SH_LDFLAGS="-shared -Xlinker -expect_unresolved -Xlinker '*'" ;; rs6000-ibm-aix* | powerpc-ibm-aix*) CPICFLAG= ;; hppa*-hp-hpux*) SHLEXT=sl + SH_LDFLAGS="-shared -fPIC" ;; esac AC_MSG_RESULT([defining CPICFLAG to be $CPICFLAG]) diff -cNr octave-2.0.3/scripts/ChangeLog octave-2.0.4/scripts/ChangeLog *** octave-2.0.3/scripts/ChangeLog Tue Feb 18 09:22:27 1997 --- octave-2.0.4/scripts/ChangeLog Thu Feb 20 02:58:45 1997 *************** *** 1,3 **** --- 1,11 ---- + Thu Feb 20 02:58:05 1997 John W. Eaton + + * Version 2.0.4 released. + + Wed Feb 19 10:30:14 1997 John W. Eaton + + * miscellaneous/paren.m: New file. + Tue Feb 18 09:22:04 1997 John W. Eaton * Version 2.0.3 released. diff -cNr octave-2.0.3/scripts/miscellaneous/paren.m octave-2.0.4/scripts/miscellaneous/paren.m *** octave-2.0.3/scripts/miscellaneous/paren.m Wed Dec 31 18:00:00 1969 --- octave-2.0.4/scripts/miscellaneous/paren.m Wed Feb 19 12:42:20 1997 *************** *** 0 **** --- 1,20 ---- + ## Copyright (C) 1996 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. + + ## Array index or function argument delimeter. diff -cNr octave-2.0.3/src/ChangeLog octave-2.0.4/src/ChangeLog *** octave-2.0.3/src/ChangeLog Tue Feb 18 09:22:22 1997 --- octave-2.0.4/src/ChangeLog Thu Feb 20 02:58:40 1997 *************** *** 1,4 **** --- 1,25 ---- + Thu Feb 20 02:58:05 1997 John W. Eaton + + * Version 2.0.4 released. + + Wed Feb 19 10:30:14 1997 John W. Eaton + + * sighandlers.cc (octave_ignore_interrupts, + octave_catch_interrupts, octave_set_interrupt_handler): + Return old value, not pointer to static data. Fix all uses. + + * sighandlers.h (octave_interrupt_handler): Move declaration here. + * sighandlers.cc: From here. + + * toplev.cc: Undo previous change. + + * lex.l (handle_identifier): Allow commands like ls, save, etc. to + also be used as simple variable names. Also make it possible to + use the normal function call syntax to invoke them. + Tue Feb 18 09:22:04 1997 John W. Eaton + + * Makefile.in (%.oct:%.o, %.oct:pic/%.o): Use $(SH_LDFLAGS) here. * Version 2.0.3 released. diff -cNr octave-2.0.3/src/Makefile.in octave-2.0.4/src/Makefile.in *** octave-2.0.3/src/Makefile.in Fri Feb 14 16:21:50 1997 --- octave-2.0.4/src/Makefile.in Tue Feb 18 19:10:35 1997 *************** *** 32,41 **** ifeq ($(OCTAVE_LITE), true) ifdef CXXPICFLAG %.oct : pic/%.o ! $(CXX) -shared -o $@ $< else %.oct : %.o ! $(CXX) -shared -o $@ $< endif endif --- 32,41 ---- ifeq ($(OCTAVE_LITE), true) ifdef CXXPICFLAG %.oct : pic/%.o ! $(CXX) $(SH_LDFLAGS) -o $@ $< else %.oct : %.o ! $(CXX) $(SH_LDFLAGS) -o $@ $< endif endif diff -cNr octave-2.0.3/src/help.cc octave-2.0.4/src/help.cc *** octave-2.0.3/src/help.cc Tue Feb 18 09:29:30 1997 --- octave-2.0.4/src/help.cc Wed Feb 19 22:18:16 1997 *************** *** 553,559 **** cmd_str = cmd_buf.str (); ! volatile octave_interrupt_handler *old_interrupt_handler = octave_ignore_interrupts (); status = system (cmd_str); --- 553,559 ---- cmd_str = cmd_buf.str (); ! volatile octave_interrupt_handler old_interrupt_handler = octave_ignore_interrupts (); status = system (cmd_str); diff -cNr octave-2.0.3/src/lex.l octave-2.0.4/src/lex.l *** octave-2.0.3/src/lex.l Fri Jan 24 10:02:30 1997 --- octave-2.0.4/src/lex.l Wed Feb 19 12:31:55 1997 *************** *** 1072,1077 **** --- 1072,1094 ---- return curr_sym_tab->lookup (name, 1, 0); } + static bool + is_variable (const string& name) + { + symbol_record *sr = curr_sym_tab->lookup (name, 0, 0); + + return sr && sr->is_variable (); + } + + static void + force_local_variable (const string& name) + { + symbol_record *sr = curr_sym_tab->lookup (name, 1, 0); + + if (sr) + sr->define (octave_value ()); + } + // Grab the help text from an function file. Always overwrites the // current contents of help_buf. *************** *** 1721,1742 **** TOK_RETURN (plot_option_kw); } - // If we are looking at a text style function, set up to gobble its - // arguments. These are also reserved words, but only because it - // would be very difficult to do anything intelligent with them if - // they were not reserved. - - if (is_text_function_name (tok)) - { - BEGIN TEXT_FCN; - - if (tok == "gset") - lexer_flags.doing_set = 1; - } - int c = yyinput (); yyunput (c, yytext); ! int next_tok_is_eq = (c == '='); // Make sure we put the return values of a function in the symbol // table that is local to the function. --- 1738,1747 ---- TOK_RETURN (plot_option_kw); } int c = yyinput (); yyunput (c, yytext); ! bool next_tok_is_eq = (c == '='); ! bool next_tok_is_paren = (c == '('); // Make sure we put the return values of a function in the symbol // table that is local to the function. *************** *** 1744,1749 **** --- 1749,1773 ---- if (next_tok_is_eq && lexer_flags.defining_func && lexer_flags.maybe_screwed) curr_sym_tab = tmp_local_sym_tab; + + // Kluge alert. + // + // If we are looking at a text style function, set up to gobble its + // arguments. If the following token is `=', force the symbol to be + // inserted as a variable in the current symbol table. + + if (is_text_function_name (tok) && ! is_variable (tok)) + { + if (next_tok_is_eq) + force_local_variable (tok); + else if (! next_tok_is_paren) + { + if (tok == "gset") + lexer_flags.doing_set = 1; + + BEGIN TEXT_FCN; + } + } // Find the token in the symbol table. diff -cNr octave-2.0.3/src/oct-hist.cc octave-2.0.4/src/oct-hist.cc *** octave-2.0.3/src/oct-hist.cc Wed Nov 20 18:31:13 1996 --- octave-2.0.4/src/oct-hist.cc Wed Feb 19 22:18:59 1997 *************** *** 427,433 **** // Ignore interrupts while we are off editing commands. Should we // maybe avoid using system()? ! volatile octave_interrupt_handler *old_interrupt_handler = octave_ignore_interrupts (); system (cmd.c_str ()); --- 427,433 ---- // Ignore interrupts while we are off editing commands. Should we // maybe avoid using system()? ! volatile octave_interrupt_handler old_interrupt_handler = octave_ignore_interrupts (); system (cmd.c_str ()); diff -cNr octave-2.0.3/src/pager.cc octave-2.0.4/src/pager.cc *** octave-2.0.3/src/pager.cc Fri Jan 31 13:55:09 1997 --- octave-2.0.4/src/pager.cc Wed Feb 19 22:28:22 1997 *************** *** 72,78 **** // through the pager. static bool Vpage_screen_output; ! static octave_interrupt_handler *saved_interrupt_handler = 0; static int really_flush_to_pager = 0; --- 72,81 ---- // through the pager. static bool Vpage_screen_output; ! // Only one pager can be active at once, so having these at file ! // scope should be ok. ! static octave_interrupt_handler saved_interrupt_handler; ! static bool interrupt_handler_saved = false; static int really_flush_to_pager = 0; *************** *** 88,97 **** delete external_pager; external_pager = 0; ! if (saved_interrupt_handler) { octave_set_interrupt_handler (saved_interrupt_handler); ! saved_interrupt_handler = 0; } } --- 91,100 ---- delete external_pager; external_pager = 0; ! if (interrupt_handler_saved) { octave_set_interrupt_handler (saved_interrupt_handler); ! interrupt_handler_saved = false; } } *************** *** 140,145 **** --- 143,149 ---- if (! pgr.empty ()) { saved_interrupt_handler = octave_ignore_interrupts (); + interrupt_handler_saved = true; external_pager = new oprocstream (pgr.c_str ()); diff -cNr octave-2.0.3/src/pt-plot.cc octave-2.0.4/src/pt-plot.cc *** octave-2.0.3/src/pt-plot.cc Mon Jan 20 14:51:45 1997 --- octave-2.0.4/src/pt-plot.cc Wed Feb 19 22:16:27 1997 *************** *** 173,179 **** sigaddset (&set, SIGINT); sigprocmask (SIG_BLOCK, &set, &oset); #else ! volatile octave_interrupt_handler *old_interrupt_handler = octave_ignore_interrupts (); #endif --- 173,179 ---- sigaddset (&set, SIGINT); sigprocmask (SIG_BLOCK, &set, &oset); #else ! volatile octave_interrupt_handler old_interrupt_handler = octave_ignore_interrupts (); #endif diff -cNr octave-2.0.3/src/sighandlers.cc octave-2.0.4/src/sighandlers.cc *** octave-2.0.3/src/sighandlers.cc Tue Feb 18 08:58:27 1997 --- octave-2.0.4/src/sighandlers.cc Wed Feb 19 22:35:36 1997 *************** *** 103,122 **** #endif } - struct - octave_interrupt_handler - { - #ifdef SIGINT - sig_handler *int_handler; - #endif - - #ifdef SIGBREAK - sig_handler *brk_handler; - #endif - }; - - static octave_interrupt_handler the_interrupt_handler; - static void my_friendly_exit (const char *sig_name, int sig_number) { --- 103,108 ---- *************** *** 189,195 **** static RETSIGTYPE sigchld_handler (int /* sig */) { ! volatile octave_interrupt_handler *saved_interrupt_handler = octave_ignore_interrupts (); // I wonder if this is really right, or if SIGCHLD should just be --- 175,181 ---- static RETSIGTYPE sigchld_handler (int /* sig */) { ! volatile octave_interrupt_handler saved_interrupt_handler = octave_ignore_interrupts (); // I wonder if this is really right, or if SIGCHLD should just be *************** *** 313,367 **** SIGHANDLER_RETURN (0); } ! void octave_catch_interrupts (void) { ! #ifdef SIGINT ! octave_set_signal_handler (SIGINT, sigint_handler); ! the_interrupt_handler.int_handler = sigint_handler; #endif #ifdef SIGBREAK ! octave_set_signal_handler (SIGBREAK, sigint_handler); ! ! the_interrupt_handler.brk_handler = sigint_handler; #endif } ! octave_interrupt_handler * octave_ignore_interrupts (void) { #ifdef SIGINT ! the_interrupt_handler.int_handler ! = octave_set_signal_handler (SIGINT, SIG_IGN); #endif #ifdef SIGBREAK ! the_interrupt_handler.int_handler ! = octave_set_signal_handler (SIGBREAK, SIG_IGN); #endif ! ! return &the_interrupt_handler; } ! octave_interrupt_handler * ! octave_set_interrupt_handler (const volatile octave_interrupt_handler *h) { ! if (h) ! { #ifdef SIGINT ! the_interrupt_handler.int_handler ! = octave_set_signal_handler (SIGINT, h->int_handler); #endif #ifdef SIGBREAK ! the_interrupt_handler.int_handler ! = octave_set_signal_handler (SIGBREAK, h->brk_handler); #endif ! } ! ! return &the_interrupt_handler; } // Install all the handlers for the signals we might care about. --- 299,350 ---- SIGHANDLER_RETURN (0); } ! octave_interrupt_handler octave_catch_interrupts (void) { ! octave_interrupt_handler retval; ! #ifdef SIGINT ! retval.int_handler = octave_set_signal_handler (SIGINT, sigint_handler); #endif #ifdef SIGBREAK ! retval.brk_handler = octave_set_signal_handler (SIGBREAK, sigint_handler); #endif + + return retval; } ! octave_interrupt_handler octave_ignore_interrupts (void) { + octave_interrupt_handler retval; + #ifdef SIGINT ! retval.int_handler = octave_set_signal_handler (SIGINT, SIG_IGN); #endif #ifdef SIGBREAK ! retval.brk_handler = octave_set_signal_handler (SIGBREAK, SIG_IGN); #endif ! ! return retval; } ! octave_interrupt_handler ! octave_set_interrupt_handler (const volatile octave_interrupt_handler& h) { ! octave_interrupt_handler retval; ! #ifdef SIGINT ! retval.int_handler = octave_set_signal_handler (SIGINT, h.int_handler); #endif #ifdef SIGBREAK ! retval.brk_handler = octave_set_signal_handler (SIGBREAK, h.brk_handler); #endif ! ! return retval; } // Install all the handlers for the signals we might care about. diff -cNr octave-2.0.3/src/sighandlers.h octave-2.0.4/src/sighandlers.h *** octave-2.0.3/src/sighandlers.h Tue Feb 18 08:58:39 1997 --- octave-2.0.4/src/sighandlers.h Wed Feb 19 22:22:32 1997 *************** *** 59,68 **** typedef RETSIGTYPE sig_handler (int); ! // All we need to do is declare pointers to this, so we don't need to ! // have the whole declaration here. ! struct octave_interrupt_handler; // Nonzero means we have already printed a message for this series of // SIGPIPES. We assume that the writer will eventually give up. --- 59,77 ---- typedef RETSIGTYPE sig_handler (int); ! // XXX FIXME XXX -- the data should probably be private... ! struct ! octave_interrupt_handler ! { ! #ifdef SIGINT ! sig_handler *int_handler; ! #endif ! ! #ifdef SIGBREAK ! sig_handler *brk_handler; ! #endif ! }; // Nonzero means we have already printed a message for this series of // SIGPIPES. We assume that the writer will eventually give up. *************** *** 75,86 **** extern void install_signal_handlers (void); ! extern void octave_catch_interrupts (void); ! extern octave_interrupt_handler *octave_ignore_interrupts (void); ! extern octave_interrupt_handler * ! octave_set_interrupt_handler (const volatile octave_interrupt_handler *); extern void octave_save_signal_mask (void); --- 84,95 ---- extern void install_signal_handlers (void); ! extern octave_interrupt_handler octave_catch_interrupts (void); ! extern octave_interrupt_handler octave_ignore_interrupts (void); ! extern octave_interrupt_handler ! octave_set_interrupt_handler (const volatile octave_interrupt_handler&); extern void octave_save_signal_mask (void); diff -cNr octave-2.0.3/src/toplev.cc octave-2.0.4/src/toplev.cc *** octave-2.0.3/src/toplev.cc Tue Feb 18 11:00:03 1997 --- octave-2.0.4/src/toplev.cc Wed Feb 19 22:35:28 1997 *************** *** 650,662 **** // Execute a shell command. - static sigset_t signal_set, old_signal_set; - static void cleanup_iprocstream (void *p) { - UNBLOCK_CHILD (old_signal_set); - delete (iprocstream *) p; } --- 650,658 ---- *************** *** 664,671 **** run_command_and_return_output (const string& cmd_str) { octave_value_list retval; - - BLOCK_CHILD (signal_set, old_signal_set); iprocstream *cmd = new iprocstream (cmd_str.c_str ()); --- 660,665 ---- diff -cNr octave-2.0.3/src/version.h octave-2.0.4/src/version.h *** octave-2.0.3/src/version.h Fri Feb 14 14:34:54 1997 --- octave-2.0.4/src/version.h Wed Feb 19 10:13:29 1997 *************** *** 20,26 **** */ ! #define OCTAVE_VERSION "2.0.3" #define OCTAVE_COPYRIGHT \ "Copyright (C) 1996 John W. Eaton." --- 20,26 ---- */ ! #define OCTAVE_VERSION "2.0.4" #define OCTAVE_COPYRIGHT \ "Copyright (C) 1996 John W. Eaton." diff -cNr octave-2.0.3/test/ChangeLog octave-2.0.4/test/ChangeLog *** octave-2.0.3/test/ChangeLog Tue Feb 18 09:22:10 1997 --- octave-2.0.4/test/ChangeLog Thu Feb 20 02:58:13 1997 *************** *** 1,3 **** --- 1,7 ---- + Thu Feb 20 02:58:05 1997 John W. Eaton + + * Version 2.0.4 released. + Tue Feb 18 09:22:04 1997 John W. Eaton * Version 2.0.3 released. PATCH_EOF