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

?

-- 
PGP Public key ID: 1024D/2DE827B3 
fingerprint = 8797 A26D 0854 2EAB 0285  A290 8A67 719C 2DE8 27B3
See http://pgp.mit.edu or any PGP keyserver for public key.


Attachment: signature.asc
Description: Digital signature

_______________________________________________
pspp-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/pspp-dev

Reply via email to