From d9b63ad47baef0e0d89ace9da4767ec9cebad30c Mon Sep 17 00:00:00 2001 From: Richard Stallman Date: Fri, 26 Aug 1994 00:27:53 +0000 Subject: [PATCH] *** empty log message *** From-SVN: r7986 --- gcc/config.guess | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) 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 ;; -- 2.30.2