diff options
author | Richard Stallman <rms@gnu.org> | 1994-08-26 00:27:53 +0000 |
---|---|---|
committer | Richard Stallman <rms@gnu.org> | 1994-08-26 00:27:53 +0000 |
commit | d9b63ad47baef0e0d89ace9da4767ec9cebad30c (patch) | |
tree | 5d8549423c06681889dfcb620deb0289585b9ff1 /gcc | |
parent | 556a4cb2c9fb6366ade3edc4cebd907b336ed83e (diff) | |
download | gcc-d9b63ad47baef0e0d89ace9da4767ec9cebad30c.zip gcc-d9b63ad47baef0e0d89ace9da4767ec9cebad30c.tar.gz gcc-d9b63ad47baef0e0d89ace9da4767ec9cebad30c.tar.bz2 |
*** empty log message ***
From-SVN: r7986
Diffstat (limited to 'gcc')
-rwxr-xr-x | gcc/config.guess | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/gcc/config.guess b/gcc/config.guess index 665ced2..a6bbecf 100755 --- a/gcc/config.guess +++ b/gcc/config.guess @@ -28,6 +28,13 @@ # (but try to keep the structure clean). # +# This is needed to find uname on a Pyramid OSx when run in the BSD universe. +# Add the directory in our PATH last so BSD programs wont get overridden. +# (ghazi@noc.rutgers.edu 8/24/94.) +if (test -f /.attbin/uname) >/dev/null 2>&1 ; then + PATH=$PATH:/.attbin ; export PATH +fi + UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown @@ -52,6 +59,16 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) echo arm-acorn-riscix${UNAME_RELEASE} exit 0;; + Pyramid*:OSx*:*:*) + # We want to differentiate universes because most programs will + # only compile in one or the other. Programs which compile in + # both can case switch on pyramid-pyramid-* in configure. + if test "`(/bin/universe) 2>/dev/null`" = att ; then + echo pyramid-pyramid-sysv3 + else + echo pyramid-pyramid-bsd + fi + exit 0 ;; sun4*:SunOS:5.*:*) echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit 0 ;; |