OSDN Git Service

*** empty log message ***
authorrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 26 Aug 1994 00:27:53 +0000 (00:27 +0000)
committerrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 26 Aug 1994 00:27:53 +0000 (00:27 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7986 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/config.guess

index 665ced2..a6bbecf 100755 (executable)
 # (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 ;;