aboutsummaryrefslogtreecommitdiff
path: root/config.guess
diff options
context:
space:
mode:
authorPer Bothner <per@bothner.com>1994-06-04 00:48:21 +0000
committerPer Bothner <per@bothner.com>1994-06-04 00:48:21 +0000
commit96364ec4aa5d0a4ea945fb31072b45451a4b445d (patch)
tree1aa03bd12da46c1c85b001571c58fc8e57a3fb96 /config.guess
parent7e5e9619773276b2b160b2f7d0fa1dd28b738734 (diff)
downloadgdb-96364ec4aa5d0a4ea945fb31072b45451a4b445d.zip
gdb-96364ec4aa5d0a4ea945fb31072b45451a4b445d.tar.gz
gdb-96364ec4aa5d0a4ea945fb31072b45451a4b445d.tar.bz2
* config.guess (i386-unknown-bsdi): New system to guess.
* config.guess (i386-unknown-bsdi): No longer need to check #if defined(__bsdi__) && defined(__i386__).
Diffstat (limited to 'config.guess')
-rwxr-xr-xconfig.guess18
1 files changed, 14 insertions, 4 deletions
diff --git a/config.guess b/config.guess
index c51ee49..877a1ab 100755
--- a/config.guess
+++ b/config.guess
@@ -186,6 +186,9 @@ EOF
hp3[0-9][05]:NetBSD:*:*)
echo m68k-hp-netbsd${UNAME_RELEASE}
exit 0 ;;
+ i[34]86:BSD/386:*:*)
+ echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
+ exit 0 ;;
i[34]86:FreeBSD:*:*)
echo ${UNAME_MACHINE}-unknown-freebsd${UNAME_RELEASE}
exit 0 ;;
@@ -240,6 +243,17 @@ EOF
rs6000:LynxOS:2.2*:*)
echo rs6000-lynx-lynxos${UNAME_RELEASE}
exit 0 ;;
+ RM*:SINIX-*:*:*)
+ echo mips-sni-sysv4
+ exit 0 ;;
+ *:SINIX-*:*:*)
+ if uname -p 2>/dev/null >/dev/null ; then
+ UNAME_MACHINE=`(uname -p) 2>/dev/null`
+ echo ${UNAME_MACHINE}-sni-sysv4
+ else
+ echo ns32k-sni-sysv
+ fi
+ exit 0 ;;
esac
#echo '(No uname command or uname output not recognized.)' 1>&2
@@ -285,13 +299,9 @@ main()
#endif
#endif
-#if defined(__bsdi__) && defined(__i386__)
- printf("i386-unknown-bsd386\n"); exit(0);
-#else
#if defined(__386BSD__)
printf("i386-unknown-bsd\n"); exit(0);
#endif
-#endif
#if defined(sequent)
#if defined(i386)