-m4_divert_push([PREPARE_TESTS])
-supports_encodings () {
- case "$host" in
- *-*-linux* | *-*-*-gnu*)
- dnl GNU/Linux always has the encodings we want. We can't ask
- dnl config.charset about them because it has a special case here
- dnl too and won't tell us.
- return 0
- ;;
- *)
- for encoding in "$@"; do
- $SHELL $top_srcdir/gl/config.charset "$host" | grep '$2' || return 77
- done
- ;;
- esac
-}
-m4_divert_pop([PREPARE_TESTS])
-