* config.guess: Recognize Sony news mips running newsos.

This commit is contained in:
Jim Kingdon 1993-11-11 18:07:50 +00:00
parent 835eaf4635
commit d0454ea862
2 changed files with 24 additions and 1 deletions

View File

@ -1,3 +1,7 @@
Thu Nov 11 12:03:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
* config.guess: Recognize Sony news mips running newsos.
Wed Nov 10 16:57:00 1993 Mark Eichin (eichin@cygnus.com)
* Makefile.in (all-cygnus, build-cygnus): "fi else" needs to be

21
config.guess vendored
View File

@ -44,6 +44,9 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
# 1.3 uses "V1.3" for uname -r.
echo alpha-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^V//'`
exit 0 ;;
arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
echo arm-acorn-riscix${UNAME_RELEASE}
exit 0;;
sun4*:SunOS:5.*:*)
echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
exit 0 ;;
@ -187,7 +190,7 @@ EOF
(/bin/uname -X|egrep i80486 >/dev/null) && UNAME_MACHINE=i486
echo ${UNAME_MACHINE}-unknown-sco$UNAME_REL
else
echo ${UNAME_MACHINE}-unknown-sysv3.2
echo ${UNAME_MACHINE}-unknown-sysv32
fi
exit 0 ;;
mini*:CTIX:SYS*5:*)
@ -199,6 +202,15 @@ EOF
3[34]??:*:4.0:*)
uname -p 2>/dev/null | grep 86 >/dev/null \
&& echo i486-ncr-sysv4 && exit 0 ;;
m680[234]0:LynxOS:2.2*:*)
echo m68k-lynx-lynxos${UNAME_RELEASE}
exit 0 ;;
i[34]86:LynxOS:2.2*:*)
echo i386-lynx-lynxos${UNAME_RELEASE}
exit 0 ;;
TSUNAMI:LynxOS:2.2*:*)
echo sparc-lynx-lynxos${UNAME_RELEASE}
exit 0 ;;
esac
#echo '(No uname command or uname output not recognized.)' 1>&2
@ -209,11 +221,18 @@ main()
{
#if defined (sony)
#if defined (MIPSEB)
/* BFD wants "bsd" instead of "newsos". Perhaps BFD should be changed,
I don't know.... */
printf ("mips-sony-bsd\n"); exit (0);
#else
printf("m68k-sony-newsos\n"); exit(0);
#endif
#endif
#if defined (__arm) && defined (__acorn) && defined (__unix)
printf("arm-acorn-riscix"); exit (0);
#endif
#if defined(hp300) && !defined(hpux)
printf("m68k-hp-bsd\n"); exit(0);
#endif