From bug-octave-request at bevo dot che dot wisc dot edu Sun Dec 9 18:12:22 2001 Subject: Building cvs octave on Cygwin-1.3.3-2 - some patches From: "Billinghurst, David (CRTS)" To: "'bug-octave at bevo dot che dot wisc dot edu'" Date: Mon, 10 Dec 2001 00:04:54 -0000 Current cvs octave can be built using cygwin. As JWE said, the readline problem with 2.1.35 is fixed. The attached patches reflect the change in canonical host type - now ix86-pc-cygwin. Index: aclocal.m4 =================================================================== RCS file: /cvs/octave/aclocal.m4,v retrieving revision 1.57 diff -u -r1.57 aclocal.m4 --- aclocal.m4 2001/06/29 21:10:21 1.57 +++ aclocal.m4 2001/12/09 23:57:28 at @ -207,7 +207,7 @@ case "$arg" in -lkernel32) case "$canonical_host_type" in - *-*-cygwin32) + *-*-cygwin*) arg= ;; *) at @ -785,7 +785,7 @@ else octave_possible_pagers="less more page pg" case "$canonical_host_type" in - *-*-cygwin32) + *-*-cygwin*) octave_possible_pagers="$octave_possible_pagers more.com" ;; esac Index: configure.in =================================================================== RCS file: /cvs/octave/configure.in,v retrieving revision 1.351 diff -u -r1.351 configure.in --- configure.in 2001/11/07 05:36:34 1.351 +++ configure.in 2001/12/09 23:57:31 at @ -1240,7 +1240,7 @@ AC_CHECK_FUNCS(getrusage times) case "$canonical_host_type" in - *-*-cygwin32) + *-*-cygwi*) AC_DEFINE(RUSAGE_TIMES_ONLY, 1) ;; esac at @ -1292,7 +1292,7 @@ EXE= case "$canonical_host_type" in - *-*-cygwin32) + *-*-cygwi*) EXE=.exe ;; esac Index: install-octave.in =================================================================== RCS file: /cvs/octave/install-octave.in,v retrieving revision 1.9 diff -u -r1.9 install-octave.in --- install-octave.in 2001/07/26 02:11:05 1.9 +++ install-octave.in 2001/12/09 23:57:32 at @ -305,7 +305,7 @@ fi case "$canonical_host_type" in - *-*-cygwin32) + *-*-cygwin*) if $alt_dir; then echo "*** You have specified an installation directory different" echo "*** from the default. For Octave to run properly, you must" ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------