diff options
author | Ulf Möller <ulf@openssl.org> | 1999-06-16 20:26:46 +0000 |
---|---|---|
committer | Ulf Möller <ulf@openssl.org> | 1999-06-16 20:26:46 +0000 |
commit | 9c789ad1885d9162500d452b41cecbb018f02ad3 (patch) | |
tree | df372221706028270965d4708a6b6a05e9322090 /config | |
parent | 2eae23402370fb8c0c2803742731b4339a7a1117 (diff) | |
download | openssl-new-9c789ad1885d9162500d452b41cecbb018f02ad3.tar.gz |
Recognize CPU on BSD/OS.
Diffstat (limited to 'config')
-rwxr-xr-x | config | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -119,7 +119,14 @@ case "${SYSTEM}:${RELEASE}:${VERSION}:${MACHINE}" in ;; 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:*) |