summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPer Bothner <per@bothner.com>1996-06-08 01:25:20 +0000
committerPer Bothner <per@bothner.com>1996-06-08 01:25:20 +0000
commite3ca0de5cbfc60e640687816dc790c18d40dddc7 (patch)
tree62db9f04d590e5b02c56cfd5bd93731569a1bc52
parent9646d934620f8cbb482664e2a783a02ed1496985 (diff)
* config.guess (i?86-ncr-sysv*): Emit minor release numbers. Recognize the NCR 4850 machine and NCR Pentium-based platforms.cvs/libc-960608
-rwxr-xr-xconfig.guess10
1 files changed, 8 insertions, 2 deletions
diff --git a/config.guess b/config.guess
index b9105a94c9..925dab4349 100755
--- a/config.guess
+++ b/config.guess
@@ -435,9 +435,15 @@ EOF
exit 0 ;;
M680[234]0:*:R3V[567]*:*)
test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;;
- 3[34]??:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0)
+ 3[34]??:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 4850:*:4.0:3.0)
+ UNAME_REL=4.3
+ if test -f /etc/.relid; then
+ UNAME_REL=4.3.`awk '{ print $3 }' /etc/.relid`
+ fi
uname -p 2>/dev/null | grep 86 >/dev/null \
- && echo i486-ncr-sysv4.3 && exit 0 ;;
+ && echo i486-ncr-sysv$UNAME_REL && exit 0
+ uname -p 2>/dev/null | /bin/grep entium >/dev/null \
+ && echo i586-ncr-sysv$UNAME_REL && exit 0 ;;
3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
uname -p 2>/dev/null | grep 86 >/dev/null \
&& echo i486-ncr-sysv4 && exit 0 ;;