* aclocal.m4 (AM_WITH_NLS): AC_DEFINE HAVE_LIBINTL_H and USE_INCLUDED_LIBINTL when appropriate. * configure, config.in: Regenerate. * Makefile.in (datadir): Set to @datadir@. (intl.o): Also depend on $(CONFIG_H) and system.h. * intl.c: Factor out common gettext initialization sequence. (gcc_init_libintl): New function. * intl.h: Include intl/libgnuintl.h if USE_INCLUDED_LIBINTL; otherwise include libintl.h if HAVE_LIBINTL_H; otherwise turn off NLS. Add multiple include guard. No need to #ifdef-guard an #undef. Prototype gcc_init_libintl here. * collect2.c (main), cppmain.c (general_init), gcc.c (main), gcov.c (main), protoize.c (main), toplev.c (toplev_main): Use gcc_init_libintl. intl: * Makefile.in: Don't copy libgnuintl.h anywhere. From-SVN: r46348
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
ChangeLog | Loading commit data... | |
Makefile.in | Loading commit data... | |
VERSION | Loading commit data... | |
bindtextdom.c | Loading commit data... | |
config.charset | Loading commit data... | |
dcgettext.c | Loading commit data... | |
dcigettext.c | Loading commit data... | |
dcngettext.c | Loading commit data... | |
dgettext.c | Loading commit data... | |
dngettext.c | Loading commit data... | |
explodename.c | Loading commit data... | |
finddomain.c | Loading commit data... | |
gettext.c | Loading commit data... | |
gettext.h | Loading commit data... | |
gettextP.h | Loading commit data... | |
hash-string.h | Loading commit data... | |
intl-compat.c | Loading commit data... | |
l10nflist.c | Loading commit data... | |
libgettext.h | Loading commit data... | |
libgnuintl.h | Loading commit data... | |
loadinfo.h | Loading commit data... | |
loadmsgcat.c | Loading commit data... | |
localcharset.c | Loading commit data... | |
locale.alias | Loading commit data... | |
localealias.c | Loading commit data... | |
ngettext.c | Loading commit data... | |
plural.c | Loading commit data... | |
plural.y | Loading commit data... | |
ref-add.sin | Loading commit data... | |
ref-del.sin | Loading commit data... | |
textdomain.c | Loading commit data... |