summaryrefslogtreecommitdiff
path: root/textproc/xerces-c2-devel/scripts/check-config-options
blob: 4c270157019434909e1c98414763be64adc60765 (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
#!/bin/sh
# $FreeBSD$

rc=0

if test -n "${WITH_NATIVE}"; then
	rc=$(expr $rc + 1)
fi
if test -n "${WITH_ICU}"; then
	rc=$(expr $rc + 1)
fi
if test -n "${WITH_ICONVFBSD}"; 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 transcoders." >&2
	exit 254
fi

exit 0

# end