Signed-off-by: Pierre Habouzit <madcoder@debian.org>
# TODO {{{
# USE_SETGID
# DOTLOCK_{GROUP,PERMISSION}
-# ENABLE_NLS
-SET(ENABLE_NLS 1)
# }}}
INCLUDE(CMakeDetermineCCompiler)
res = buff2;
}
#endif
-#ifdef ENABLE_NLS
bind_textdomain_codeset(PACKAGE, res);
-#endif
return m_strdup(res);
}
#cmakedefine HAVE_RESIZETERM 1
/* libraries */
-#cmakedefine ENABLE_NLS 1
#cmakedefine HAVE_GDBM 1
#cmakedefine HAVE_GPGME 1
#cmakedefine HAVE_LIBIDN 1
"+USE_LIBESMTP "
#else
"-USE_LIBESMTP "
-#endif
- "\n "
- );
-
- puts (
-#ifdef ENABLE_NLS
- "+ENABLE_NLS "
-#else
- "-ENABLE_NLS "
#endif
#ifdef HAVE_LIBIDN
"+HAVE_LIBIDN "
exit (1);
}
-#ifdef ENABLE_NLS
- /* FIXME what about init.c:1439 ? */
setlocale (LC_ALL, "");
bindtextdomain (PACKAGE, MUTTLOCALEDIR);
textdomain (PACKAGE);
-#endif
-
setlocale (LC_CTYPE, "");
mutt_error = mutt_message = mutt_nocurses_error;