summaryrefslogblamecommitdiff
path: root/net/ncplib/scripts/configure
blob: fdd21f1454d599cfa4b2bc361345c8bf21b72baa (plain) (tree)
























                                                           
#!/bin/sh

CMK=${WRKSRC}/config.mk

read_yn() {
	read res                                        
	case "$res" in                                     
		y*) done=y ;;
		*)  res=n ;;
	esac
}


echo -n "Do you want to include 866 codepage support ? [n]"
read_yn
use866=$res

echo "SRCTREE=/usr/src" > $CMK
echo "PREFIX="$PREFIX >> $CMK
echo "BUILDKLD=yes" >> $CMK

if [ $use866 = y ]; then
	echo "NCP_NLS_KOI_866=" >> $CMK
	echo "NCP_NLS_DEFAULT=NCP_NLS_KOI_866" >> $CMK
fi