diff options
author | bothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4> | 1997-07-26 19:01:01 +0000 |
---|---|---|
committer | bothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4> | 1997-07-26 19:01:01 +0000 |
commit | e7319b47c738cddaeea57bfdd16017e4b15f0f6a (patch) | |
tree | d7e891937887e91e7db568f32553b55c0f74564e /gcc/config.guess | |
parent | 0f9f118b1e27fb322e0614009c69d71732ca3a47 (diff) | |
download | gcc-e7319b47c738cddaeea57bfdd16017e4b15f0f6a.tar.gz |
Recognize SunOS 3.x.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14531 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config.guess')
-rwxr-xr-x | gcc/config.guess | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gcc/config.guess b/gcc/config.guess index a73a8d93c0c..81b905ac82a 100755 --- a/gcc/config.guess +++ b/gcc/config.guess @@ -157,6 +157,18 @@ EOF sun3*:SunOS:*:*) echo m68k-sun-sunos${UNAME_RELEASE} exit 0 ;; + sun*:*:4.2BSD:*) + UNAME_RELEASE=`(head -1 /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null` + test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3 + case "`/bin/arch" in + sun3) + echo m68k-sun-sunos${UNAME_RELEASE} + ;; + sun4) + echo sparc-sun-sunos${UNAME_RELEASE} + ;; + esac + exit 0 ;; aushp:SunOS:*:*) echo sparc-auspex-sunos${UNAME_RELEASE} exit 0 ;; |