#!/bin/sh
# $FreeBSD: ports/textproc/xalan-c/scripts/check-config-options,v 1.1 2005/01/17 17:45:52 vs Exp $

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
