summaryrefslogtreecommitdiff
path: root/config.guess
diff options
context:
space:
mode:
authorPer Bothner <bothner@cygnus.com>1994-10-07 01:03:20 +0000
committerPer Bothner <bothner@cygnus.com>1994-10-07 01:03:20 +0000
commit4c24abc8fd2e7a41e3bef92b1563f31fa94b66ff (patch)
tree19f9947f8ade9c30862ce93f3b8c97cbc111c24b /config.guess
parent8d73eb830a954969ba8dac0c29f7fa2c2a0efc1b (diff)
downloademacs-4c24abc8fd2e7a41e3bef92b1563f31fa94b66ff.tar.gz
Patch to handle old Convex systems (without uname).
Diffstat (limited to 'config.guess')
-rwxr-xr-xconfig.guess26
1 files changed, 26 insertions, 0 deletions
diff --git a/config.guess b/config.guess
index 8358e6dd317..95819f11593 100755
--- a/config.guess
+++ b/config.guess
@@ -419,6 +419,32 @@ rm -f dummy.c dummy
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