Add the hint-files synchronization with Transifex.
[midnight-commander.git] / m4.include / mc-i18n.m4
blob1825d8f2e7b5d3f609913009cb4b2a153498f115
1 dnl @synopsis MC_DOC_LINGUAS
2 dnl
3 dnl Check if environment is ready for get translations of docs from transifex
4 dnl
5 dnl @author Slava Zanko <slavazanko@gmail.com>
6 dnl @version 2011-02-10
7 dnl @license GPL
8 dnl @copyright Free Software Foundation, Inc.
10 AC_DEFUN([MC_I18N],[
12     if test "x$USE_INCLUDED_LIBINTL" = xyes; then
13         CPPFLAGS="$CPPFLAGS -I\$(top_builddir)/intl -I\$(top_srcdir)/intl"
14     fi
16     dnl User visible support for charset conversion.
17     AC_ARG_ENABLE([charset],
18         AS_HELP_STRING([--enable-charset], [Support for charset selection and conversion @<:@yes@:>@]))
19     have_charset=
20     charset_msg="no"
21     if test "x$enable_charset" != "xno"; then
22         AC_DEFINE(HAVE_CHARSET, 1, [Define to enable charset selection and conversion])
23         have_charset=yes
24         charset_msg="yes"
25     fi