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:*)