commit | 9c789ad1885d9162500d452b41cecbb018f02ad3 | [log] [tgz] |
---|---|---|
author | Ulf Möller <ulf@openssl.org> | Wed Jun 16 20:26:46 1999 +0000 |
committer | Ulf Möller <ulf@openssl.org> | Wed Jun 16 20:26:46 1999 +0000 |
tree | df372221706028270965d4708a6b6a05e9322090 | |
parent | 2eae23402370fb8c0c2803742731b4339a7a1117 [diff] [blame] |
Recognize CPU on BSD/OS.
diff --git a/config b/config index b2f1584..06c59f4 100755 --- a/config +++ b/config
@@ -119,7 +119,14 @@ ;; BSD/386:*:*:*486*|BSD/OS:*:*:*:*486*) - echo "i486-whatever-bsdi"; exit 0 + case `/sbin/sysctl -n hw.model` in + Pentium*) + echo "i586-whatever-bsd"; exit 0 + ;; + *) + echo "i386-whatever-bsd"; exit 0 + ;; + esac; ;; BSD/386:*|BSD/OS:*)