-
- Downloads
aclocal.m4 (AM_WITH_NLS): AC_DEFINE HAVE_LIBINTL_H and USE_INCLUDED_LIBINTL when appropriate.
* 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
Showing
- gcc/ChangeLog 19 additions, 0 deletionsgcc/ChangeLog
- gcc/Makefile.in 2 additions, 3 deletionsgcc/Makefile.in
- gcc/aclocal.m4 10 additions, 1 deletiongcc/aclocal.m4
- gcc/collect2.c 1 addition, 12 deletionsgcc/collect2.c
- gcc/config.in 8 additions, 1 deletiongcc/config.in
- gcc/configure 54 additions, 44 deletionsgcc/configure
- gcc/cppmain.c 1 addition, 12 deletionsgcc/cppmain.c
- gcc/gcc.c 1 addition, 12 deletionsgcc/gcc.c
- gcc/gcov.c 1 addition, 12 deletionsgcc/gcov.c
- gcc/intl.c 43 additions, 3 deletionsgcc/intl.c
- gcc/intl.h 22 additions, 13 deletionsgcc/intl.h
- gcc/intl/ChangeLog 4 additions, 0 deletionsgcc/intl/ChangeLog
- gcc/intl/Makefile.in 5 additions, 3 deletionsgcc/intl/Makefile.in
- gcc/protoize.c 1 addition, 12 deletionsgcc/protoize.c
- gcc/toplev.c 1 addition, 12 deletionsgcc/toplev.c
Loading
Please register or sign in to comment