#!/bin/sh
# $FreeBSD: tags/RELEASE_10_1_0/textproc/xerces-c2-devel/scripts/check-config-options 340872 2014-01-24 00:14:07Z mat $

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
