From: Ulf Möller Date: Wed, 16 Jun 1999 20:26:46 +0000 (+0000) Subject: Recognize CPU on BSD/OS. X-Git-Tag: OpenSSL_0_9_4~164 X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff_plain;h=9c789ad1885d9162500d452b41cecbb018f02ad3;hp=2eae23402370fb8c0c2803742731b4339a7a1117;ds=sidebyside Recognize CPU on BSD/OS. --- 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:*)