diff options
author | rms <rms@138bc75d-0d04-0410-961f-82ee72b054a4> | 1994-08-26 00:27:53 +0000 |
---|---|---|
committer | rms <rms@138bc75d-0d04-0410-961f-82ee72b054a4> | 1994-08-26 00:27:53 +0000 |
commit | 4b90114823728cee7a3e870a6135f91545908080 (patch) | |
tree | 5d8549423c06681889dfcb620deb0289585b9ff1 | |
parent | 103ec2b64a8339ad2e885d0c4cb69ce627bd191c (diff) | |
download | ppe42-gcc-4b90114823728cee7a3e870a6135f91545908080.tar.gz ppe42-gcc-4b90114823728cee7a3e870a6135f91545908080.zip |
*** empty log message ***
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7986 138bc75d-0d04-0410-961f-82ee72b054a4
-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 665ced20bb6..a6bbecf6e39 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 ;; |