3 dnl Check if environment is ready for get translations of docs from transifex
5 dnl @author Slava Zanko <slavazanko@gmail.com>
6 dnl @version 2011-02-10
8 dnl @copyright Free Software Foundation, Inc.
11 dnl User visible support for charset conversion.
12 AC_ARG_ENABLE([charset],
13 AS_HELP_STRING([--enable-charset], [Support for charset selection and conversion @<:@yes@:>@]))
16 if test "x$enable_charset" != "xno"; then
17 AC_DEFINE(HAVE_CHARSET, 1, [Define to enable charset selection and conversion])
21 AC_CHECK_HEADERS([gnu/libc-version.h])
23 dnl Solaris has different name of Windows 1251 encoding
26 ENCODING_CP1251="ANSI-1251"
29 ENCODING_CP1251="CP1251"
33 if test "x$ac_cv_header_gnu_libc_version_h" != "xno"; then
34 ENCODING_CP866="IBM866"
35 ENCODING_ISO8859="ISO-8859"
37 ENCODING_CP866="CP866"
38 ENCODING_ISO8859="ISO8859"
41 AC_SUBST(ENCODING_CP1251)
42 AC_SUBST(ENCODING_CP866)