projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d105472
)
Recognize SunOS 3.x.
author
Per Bothner
<bothner@gcc.gnu.org>
Sat, 26 Jul 1997 19:01:01 +0000
(12:01 -0700)
committer
Per Bothner
<bothner@gcc.gnu.org>
Sat, 26 Jul 1997 19:01:01 +0000
(12:01 -0700)
From-SVN: r14531
gcc/config.guess
patch
|
blob
|
history
diff --git
a/gcc/config.guess
b/gcc/config.guess
index a73a8d93c0c0177b3d6b81392bbf4dbf6fed54be..81b905ac82a69b3f49a779b4582d39241f4152ab 100755
(executable)
--- 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 ;;