Mercurial > emacs
changeset 9371:7cf000a42d38
Patch to handle old Convex systems (without uname).
author | Per Bothner <bothner@cygnus.com> |
---|---|
date | Fri, 07 Oct 1994 01:03:20 +0000 |
parents | eba41c493729 |
children | 89c023618d30 |
files | config.guess |
diffstat | 1 files changed, 26 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/config.guess Thu Oct 06 23:09:17 1994 +0000 +++ b/config.guess Fri Oct 07 01:03:20 1994 +0000 @@ -419,6 +419,32 @@ test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit 0; } +# Convex versions that predate uname can use getsysinfo(1) + +if [ -x /usr/convex/getsysinfo ] +then + case `getsysinfo -f cpu_type` in + c1*) + echo c1-convex-bsd + exit 0 ;; + c2*) + if getsysinfo -f scalar_acc + then echo c32-convex-bsd + else echo c2-convex-bsd + fi + exit 0 ;; + c34*) + echo c34-convex-bsd + exit 0 ;; + c38*) + echo c38-convex-bsd + exit 0 ;; + c4*) + echo c4-convex-bsd + exit 0 ;; + esac +fi + #echo '(Unable to guess system type)' 1>&2 exit 1