summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorUlf Möller <ulf@openssl.org>1999-06-16 20:26:46 +0000
committerUlf Möller <ulf@openssl.org>1999-06-16 20:26:46 +0000
commit9c789ad1885d9162500d452b41cecbb018f02ad3 (patch)
treedf372221706028270965d4708a6b6a05e9322090 /config
parent2eae23402370fb8c0c2803742731b4339a7a1117 (diff)
downloadopenssl-new-9c789ad1885d9162500d452b41cecbb018f02ad3.tar.gz
Recognize CPU on BSD/OS.
Diffstat (limited to 'config')
-rwxr-xr-xconfig9
1 files changed, 8 insertions, 1 deletions
diff --git a/config b/config
index b2f1584cb8..06c59f4bff 100755
--- a/config
+++ b/config
@@ -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:*)