freebsd-ports/textproc/xalan-c/scripts/check-config-options

25 lines
354 B
Text
Raw Normal View History

#!/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