summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgoodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac>2000-02-17 14:11:01 +0000
committergoodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac>2000-02-17 14:11:01 +0000
commit17cf0cf5aa90ada1dec9657606eef296b87bfa53 (patch)
tree7b5b4d46b313ae18e5d48b06578b94ab13a7e625
parent92c138c1a24fd7816890c974a8ef75b8c3c5f9d9 (diff)
Added recognition for NEC SX-5 .
Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1391 17b73243-c579-4c4c-a9d2-2d5706c11dac
-rwxr-xr-xlib/make/config.guess4
-rwxr-xr-xlib/make/config.sub8
2 files changed, 11 insertions, 1 deletions
diff --git a/lib/make/config.guess b/lib/make/config.guess
index e097c2e0..fdc92836 100755
--- a/lib/make/config.guess
+++ b/lib/make/config.guess
@@ -1,6 +1,7 @@
#! /bin/sh
# Modified on 29/1/1998 by Tom Goodale to add recognition of T3E
+# Modified on 17/2/2000 by Tom Goodale to add recognition of NEC SX-5
# Attempt to guess a canonical system name.
# Copyright (C) 1992, 93, 94, 95, 96, 97, 1998 Free Software Foundation, Inc.
@@ -145,6 +146,9 @@ EOF
SR2?01:HI-UX/MPP:*:*)
echo hppa1.1-hitachi-hiuxmpp
exit 0;;
+ SX-5:*:*:*)
+ echo sx5-nec-`echo ${UNAME_SYSTEM}|sed -e 's/[-]/_/g'``echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
+ exit 0 ;;
Pyramid*:OSx*:*:*|MIS*:OSx*:*:*|MIS*:SMP_DC-OSx*:*:*)
# akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE.
if test "`(/bin/universe) 2>/dev/null`" = att ; then
diff --git a/lib/make/config.sub b/lib/make/config.sub
index a2dd5b54..f75807f0 100755
--- a/lib/make/config.sub
+++ b/lib/make/config.sub
@@ -1,6 +1,7 @@
#! /bin/sh
# Modified on 29/1/1998 by Tom Goodale to add recognition of T3E
+# Modified on 17/2/2000 by Tom Goodale to add recognition of NEC SX-5
# Configuration validation subroutine script, version 1.1.
# Copyright (C) 1991, 92-97, 1998 Free Software Foundation, Inc.
@@ -572,6 +573,10 @@ case $basic_machine in
sun386 | sun386i | roadrunner)
basic_machine=i386-sun
;;
+ sx5-nec)
+ basic_machine=sx5-nec
+ os=-superux
+ ;;
symmetry)
basic_machine=i386-sequent
os=-dynix
@@ -721,7 +726,8 @@ case $os in
| -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
| -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
| -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
- | -mingw32* | -linux-gnu* | -uxpv* | -beos*)
+ | -mingw32* | -linux-gnu* | -uxpv* | -beos* \
+ | -superux*)
# Remember, each alternative MUST END IN *, to match a version number.
;;
-linux*)