X-Git-Url: https://git.openssl.org/?p=openssl.git;a=blobdiff_plain;f=config;h=306af22654bf382312c9cce81bbf1a3bc58c77cb;hp=90699f74f552407efcefdb3ebadcb1ea855c7881;hb=a111306bbce03363be353caafbb21d6e44c82692;hpb=47aae74e4a4faec99f0ec547269242e40cc1fb3b diff --git a/config b/config index 90699f74f5..306af22654 100755 --- a/config +++ b/config @@ -114,12 +114,19 @@ case "${SYSTEM}:${RELEASE}:${VERSION}:${MACHINE}" in echo "${MACHINE}-lynx-lynxos"; exit 0 ;; - BSD/OS:4.*) - echo "${MACHINE}-whatever-bsdi4"; exit 0 + BSD/OS:4.*) # BSD/OS always says 386 + echo "i486-whatever-bsdi4"; exit 0 ;; BSD/386:*:*:*486*|BSD/OS:*:*:*:*486*) - echo "i486-whatever-bsdi"; exit 0 + case `/sbin/sysctl -n hw.model` in + Pentium*) + echo "i586-whatever-bsdi"; exit 0 + ;; + *) + echo "i386-whatever-bsdi"; exit 0 + ;; + esac; ;; BSD/386:*|BSD/OS:*) @@ -243,6 +250,9 @@ fi # Now NeXT ISNEXT=`hostinfo 2>/dev/null` case "$ISNEXT" in + *'NeXT Mach 3.3'*) + echo "whatever-next-nextstep3.3"; exit 0 + ;; *NeXT*) echo "whatever-next-nextstep"; exit 0 ;;