summaryrefslogtreecommitdiff
path: root/gcc/config.guess
diff options
context:
space:
mode:
authorPer Bothner <bothner@gcc.gnu.org>1994-08-28 18:19:13 -0700
committerPer Bothner <bothner@gcc.gnu.org>1994-08-28 18:19:13 -0700
commitf529652cf970cb6b21cc04ad35692e441834d82a (patch)
tree786c2eb79a5b6ea347ada2d957290b1b3a895e52 /gcc/config.guess
parent91f0226f7c244dc65396fd1a6e61e2e7464c8da1 (diff)
downloadgcc-f529652cf970cb6b21cc04ad35692e441834d82a.tar.gz
Various fixes (freebsd, ncr, nextstep): See ChangeLog.
From-SVN: r7995
Diffstat (limited to 'gcc/config.guess')
-rwxr-xr-xgcc/config.guess11
1 files changed, 8 insertions, 3 deletions
diff --git a/gcc/config.guess b/gcc/config.guess
index ec93e20a094..be77c82eba6 100755
--- a/gcc/config.guess
+++ b/gcc/config.guess
@@ -16,6 +16,8 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
+# Written by Per Bothner <bothner@cygnus.com>.
+# The master version of this file is at the FSF in /home/gd/gnu/lib.
#
# This script attempts to guess a canonical system name similar to
# config.sub. If it succeeds, it prints the system name on stdout, and
@@ -237,7 +239,7 @@ EOF
echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
exit 0 ;;
*:FreeBSD:*:*)
- echo ${UNAME_MACHINE}-unknown-freebsd${UNAME_RELEASE}
+ echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/(.*//'`
exit 0 ;;
*:NetBSD:*:*)
echo ${UNAME_MACHINE}-unknown-netbsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
@@ -285,9 +287,12 @@ EOF
exit 0 ;;
M680[234]0:*:R3V[567]*:*)
test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;;
- 3[34]??:*:4.0:* | 3[34]??,3[34]??:*:4.0:*)
+ 3[34]??:*:4.0:*)
uname -p 2>/dev/null | grep 86 >/dev/null \
&& echo i486-ncr-sysv4 && exit 0 ;;
+ 33[56]0,3???:*:4.0:*)
+ uname -p 2>/dev/null | grep 86 >/dev/null \
+ && echo i486-ncr-sysv4.3 && exit 0 ;;
m680[234]0:LynxOS:2.2*:*)
echo m68k-lynx-lynxos${UNAME_RELEASE}
exit 0 ;;
@@ -346,7 +351,7 @@ main ()
#endif
int version;
version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`;
- printf ("%s-next-neststep%s\n", __ARCHITECTURE__, version==2 ? "2" : "3");
+ printf ("%s-next-nextstep%s\n", __ARCHITECTURE__, version==2 ? "2" : "3");
exit (0);
#endif