- if ! iconv -l | grep EBCDIC-US >/dev/null; then
- #### For unknown reasons, the parameter values checks
- #### fail on the FreeBSD10 buildbot. It doesn't
- #### support EBCDIC-US, which is used by the checks,
- #### so use that to detect whether to skip the check.
- skip_param_value_checks=1
- fi
+ #### The GNU iconv library normalises charset names by eliding '?', along
+ #### with some other characters. The iconv libraries used on FreeBSD/NetBSD
+ #### and Mac OS X don't.
+ printf x | iconv -f '?UTF-8' -t UTF-8 >/dev/null 2>&1 &&
+ iconv_elides_question_marks=1