summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorUlf Möller <ulf@openssl.org>1999-06-16 22:26:46 +0200
committerUlf Möller <ulf@openssl.org>1999-06-16 22:26:46 +0200
commit9c789ad1885d9162500d452b41cecbb018f02ad3 (patch)
treedf372221706028270965d4708a6b6a05e9322090 /config
parentSome people don't have /dev/fd/0 on Solaris, so use - instead. (diff)
downloadopenssl-9c789ad1885d9162500d452b41cecbb018f02ad3.tar.xz
openssl-9c789ad1885d9162500d452b41cecbb018f02ad3.zip
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:*)