Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

PATCH: 3.1.5-pws-12: configuration changes



"Andrej Borsenkow" wrote:
> This works for me. Thanks.

Satisfied customer, as Basil Fawlty said.

> The only problem is, we have to set CLOBBERS_TYPEAHED. Last time I checked
> it was set for me :-), Ultrix and something else - but definitely not for
> Irix. So, either we have different problem on Irix, or Irix should set
> CLOBBERS_TYPEAHED.

Well, the following sets it for Irix.  I'm only using Irix 6.2 and only
(very) remotely, and I didn't see the bug, but I've reconfigured to check
this doesn't do anything obviously wrong.  Helmut, you'll probably need
this.

> Another approach is to simply always use FIONREAD if available. What is the
> point of setting magical CLOBBERS_TYPEAHEAD at all?

In my case, fear.  But given that the mechanism we have seems to work
seamlessly when it's required, there's certainly an argument for removing
the test.

I also rescued Reliant UNIX and Rhapsody (see 4594) from the old
config.guess.

--- config.guess.irix	Mon Mar 15 10:26:14 1999
+++ config.guess	Mon Mar 15 09:52:44 1999
@@ -767,6 +767,9 @@
     RM*:SINIX-*:*:*)
 	echo mips-sni-sysv4
 	exit 0 ;;
+    RM*:ReliantUNIX-*:*:*)
+       echo mips-sni-sysv4
+       exit 0 ;;
     *:SINIX-*:*:*)
 	if uname -p 2>/dev/null >/dev/null ; then
 		UNAME_MACHINE=`(uname -p) 2>/dev/null`
@@ -800,6 +803,12 @@
 	else
 	        echo mips-unknown-sysv${UNAME_RELEASE}
 	fi
+        exit 0 ;;
+    Power*:Rhapsody:*:*)
+        echo powerpc-apple-rhapsody${UNAME_RELEASE}
+        exit 0 ;;
+    *:Rhapsody:*:*)
+        echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE}
         exit 0 ;;
     BeBox:BeOS:*:*)	# BeOS running on hardware made by Be, PPC only.
 	echo powerpc-be-beos
--- configure.in.irix	Sat Mar 13 14:46:44 1999
+++ configure.in	Mon Mar 15 09:57:52 1999
@@ -893,7 +893,7 @@
 dnl The doubled square brackets are necessary because autoconf uses m4.
 AC_CACHE_CHECK(if typeahead needs FIONREAD, zsh_cv_sys_clobbers_typeahead,
 [case x-$host_vendor-$host_os in
-    x-*-ultrix* | x-*-dgux* | x-sni-sysv4*)
+    x-*-ultrix* | x-*-dgux* | x-sni-sysv4* | x-*-irix*)
 	zsh_cv_sys_clobbers_typeahead=yes;;
     *)
 	zsh_cv_sys_clobbers_typeahead=no;;

-- 
Peter Stephenson <pws@xxxxxxxxxxxxxxxxx>       Tel: +39 050 844536
WWW:  http://www.ifh.de/~pws/
Dipartimento di Fisica, Via Buonarroti 2, 56127 Pisa, Italy



Messages sorted by: Reverse Date, Date, Thread, Author