John Darrington <[email protected]> writes: > dnl Skip the test if this host doesn't know the source and target encodings > AT_CHECK( > [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. > ;; > *) > $SHELL $top_srcdir/gl/config.charset "$host" | grep '$2' || exit 77 > $SHELL $top_srcdir/gl/config.charset "$host" | grep '$3' || exit 77 > ;; > esac > ], [0], [ignore]) > > Can we not test this with > > iconv -l | grep '$2' || exit 77 > iconv -l | grep '$3' || exit 77
Maybe. But I know that config.charset is always available, because it's part of the PSPP source tree. I don't know how portable or reliable the 'iconv' program is. (Do you?) -- Ben Pfaff http://benpfaff.org _______________________________________________ pspp-dev mailing list [email protected] http://lists.gnu.org/mailman/listinfo/pspp-dev
