aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1993-05-26 14:43:25 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1993-05-26 14:43:25 +0000
commita6c508f19a06b157d448912d39972288c0eec4a6 (patch)
tree46710d853e2819cb7d371dd874159a2f003e7b32
parent466bdeb2665147c09f7bb8bdbad38f4f6222f0ed (diff)
downloadgdb-a6c508f19a06b157d448912d39972288c0eec4a6.zip
gdb-a6c508f19a06b157d448912d39972288c0eec4a6.tar.gz
gdb-a6c508f19a06b157d448912d39972288c0eec4a6.tar.bz2
* config.guess: Recognize SunOS6 as Solaris3.
-rw-r--r--ChangeLog4
-rwxr-xr-xconfig.guess6
2 files changed, 10 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 40b166a..e388969 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Wed May 26 09:40:18 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
+
+ * config.guess: Recognize SunOS6 as Solaris3.
+
Tue May 25 23:03:11 1993 Per Bothner (bothner@cygnus.com)
* config.guess: Fix typo. Avoid #elif (not in K&R 1).
diff --git a/config.guess b/config.guess
index a9d5b1f..c2641df 100755
--- a/config.guess
+++ b/config.guess
@@ -43,6 +43,12 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
sun4*:SunOS:5.*:*)
echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
exit 0 ;;
+ sun4*:SunOS:6*:*)
+ # According to config.sub, this is the proper way to canonicalize
+ # SunOS6. Hard to guess exactly what SunOS6 will be like, but
+ # it's likely to be more like Solaris than SunOS4.
+ echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
+ exit 0 ;;
sun4*:SunOS:*:*)
echo sparc-sun-sunos${UNAME_RELEASE}
exit 0 ;;