#!/bin/sh

# try to guess the target type if not specified, assuming that the
# current machine is the target

# Currently, this is only a rough guess, and could be expanded to get
# information from /proc, etc...


arch=`uname -m`

case $arch in
	i386)	# 386sx or 386dx.. we'll assume it's a DX
		echo "pc-i386dx"
		;;

	i486)	# 486sx or 486dx.. better assume it's an SX (no math co)
		echo "pc-i486sx"
		;;

	*)	# something Pentium level or above... can probably
		# safely assume that it has a math coprocessor
		echo "pc-i586dx"
		;;
esac

