Skip to content
This repository
Browse code

* config.guess (i?86-ncr-sysv*): Emit minor release numbers.

Recognize the NCR 4850 machine and NCR Pentium-based platforms.
  • Loading branch information...
commit 9b9ab1c1285db05de4596d0cea1803ad16361487 1 parent f1e6aa0
Per Bothner authored

Showing 1 changed file with 8 additions and 2 deletions. Show diff stats Hide diff stats

  1. +8 2 config.guess
10 config.guess
@@ -435,9 +435,15 @@ EOF
435 435 exit 0 ;;
436 436 M680[234]0:*:R3V[567]*:*)
437 437 test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;;
438   - 3[34]??:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0)
  438 + 3[34]??:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 4850:*:4.0:3.0)
  439 + UNAME_REL=4.3
  440 + if test -f /etc/.relid; then
  441 + UNAME_REL=4.3.`awk '{ print $3 }' /etc/.relid`
  442 + fi
439 443 uname -p 2>/dev/null | grep 86 >/dev/null \
440   - && echo i486-ncr-sysv4.3 && exit 0 ;;
  444 + && echo i486-ncr-sysv$UNAME_REL && exit 0
  445 + uname -p 2>/dev/null | /bin/grep entium >/dev/null \
  446 + && echo i586-ncr-sysv$UNAME_REL && exit 0 ;;
441 447 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
442 448 uname -p 2>/dev/null | grep 86 >/dev/null \
443 449 && echo i486-ncr-sysv4 && exit 0 ;;

0 comments on commit 9b9ab1c

Please sign in to comment.
Something went wrong with that request. Please try again.