diff options
author | bothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4> | 1996-06-08 01:25:20 +0000 |
---|---|---|
committer | bothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4> | 1996-06-08 01:25:20 +0000 |
commit | 46b265bf22b8bb3b1e7b27d5294c542ccad703ee (patch) | |
tree | 2a5094dcc5238d7d15209e128bb7f0c4d70ccdb4 /gcc/config.guess | |
parent | 8ac4521e3e1790a3be47764f8c046a1e4691fe0c (diff) | |
download | gcc-46b265bf22b8bb3b1e7b27d5294c542ccad703ee.tar.gz |
* config.guess (i?86-ncr-sysv*): Emit minor release numbers.
Recognize the NCR 4850 machine and NCR Pentium-based platforms.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12225 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config.guess')
-rwxr-xr-x | gcc/config.guess | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/gcc/config.guess b/gcc/config.guess index b9105a94c9f..925dab43498 100755 --- a/gcc/config.guess +++ b/gcc/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 ;; |