pspp-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: i18n.at


From: Ben Pfaff
Subject: Re: i18n.at
Date: Sun, 14 Nov 2010 19:57:22 -0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

John Darrington <address@hidden> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]