mc-i18n.m4 825 B

1234567891011121314151617181920212223242526
  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.
  9. AC_DEFUN([MC_I18N],[
  10. if test "x$USE_INCLUDED_LIBINTL" = xyes; then
  11. CPPFLAGS="$CPPFLAGS -I\$(top_builddir)/intl -I\$(top_srcdir)/intl"
  12. fi
  13. dnl User visible support for charset conversion.
  14. AC_ARG_ENABLE([charset],
  15. AS_HELP_STRING([--enable-charset], [Support for charset selection and conversion @<:@yes@:>@]))
  16. have_charset=
  17. charset_msg="no"
  18. if test "x$enable_charset" != "xno"; then
  19. AC_DEFINE(HAVE_CHARSET, 1, [Define to enable charset selection and conversion])
  20. have_charset=yes
  21. charset_msg="yes"
  22. fi
  23. ])