summaryrefslogtreecommitdiff
path: root/net/ncplib/scripts/configure
blob: fdd21f1454d599cfa4b2bc361345c8bf21b72baa (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/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