summaryrefslogtreecommitdiff
path: root/textproc/xalan-c/scripts/check-config-options
blob: ec526e08d3340c03b8b3b9cfc7fd8014d410601b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/sh
# $FreeBSD$

rc=0

if test -n "${WITH_NLS}"; then
	rc=$(expr $rc + 1)
fi
if test -n "${WITH_ICU}"; then
	rc=$(expr $rc + 1)
fi
if test -n "${WITH_INMEM}"; then
	rc=$(expr $rc + 1)
fi

if test ${rc} -gt 1; then
	echo "ERROR: please re-run make config and" >&2
	echo "only select one of the three locale systems." >&2
	exit 254
fi

exit 0

# end