#!/bin/sh
#
# $NetBSD: configure,v 1.4 1998/08/07 11:08:56 agc Exp $
#

mach=`uname -m`

case $mach in
i386|sparc|amiga|atari|hp300|mac68k|mvme68k|sun3|sun3x|x68k)
	exetype=aout
	;;
pmax|alpha)
	exetype=elf
	;;
*)
	echo "Unrecognised machine type: $mach"
	exit 1
	;;
esac

ln -sf ${WRKSRC}/config/untested/$exetype-netbsd-cc ${WRKSRC}/config/system
ln -sf ${WRKSRC}/config/sites/$exetype-netbsd ${WRKSRC}/config/site

exit 0
