Ticket #3828: syntax: Apache Hive query language
[midnight-commander.git] / m4.include / mc-i18n.m4
blobdd10d000226974f573ff5884ad509b46418be610
1 dnl @synopsis mc_I18N
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