intl.c (gcc_init_libintl): Use PACKAGE for the text domain.

2004-07-23  Matthias Klose  <doko@debian.org>

        intl.c (gcc_init_libintl): Use PACKAGE for the text domain.
        configure.ac: Add AC_DEFINE_UNQUOTED for PACKAGE.
        config.h: Regenerate.
        configure: Likewise.

From-SVN: r85072
This commit is contained in:
Matthias Klose 2004-07-23 06:59:35 +00:00 committed by Matthias Klose
parent 11abc112af
commit c2c36d38e2
5 changed files with 19 additions and 2 deletions

View file

@ -1,3 +1,10 @@
2004-07-23 Matthias Klose <doko@debian.org>
intl.c (gcc_init_libintl): Use PACKAGE for the text domain.
configure.ac: Add AC_DEFINE_UNQUOTED for PACKAGE.
config.h: Regenerate.
configure: Likewise.
2004-07-22 Mark Mitchell <mark@codesourcery.com>
* dwarf2out.c (output_call_frame_info): Set SYMBOL_FLAG_LOCAL on

View file

@ -516,6 +516,9 @@
/* Define to 1 if your C compiler doesn't accept -c and -o together. */
#undef NO_MINUS_C_MINUS_O
/* The name of this program for internationalization purposes. */
#undef PACKAGE
/* Define to the address where bug reports for this package should be sent. */
#undef PACKAGE_BUGREPORT

5
gcc/configure vendored
View file

@ -9387,6 +9387,11 @@ EOF
PACKAGE=gcc
VERSION="$gcc_version"
cat >>confdefs.h <<_ACEOF
#define PACKAGE "$PACKAGE"
_ACEOF
# If we haven't got the data from the intl directory,

View file

@ -1392,6 +1392,8 @@ changequote([,])dnl
# Internationalization
PACKAGE=gcc
VERSION="$gcc_version"
AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE",
[The name of this program for internationalization purposes.])
AC_SUBST(PACKAGE)
AC_SUBST(VERSION)

View file

@ -51,8 +51,8 @@ gcc_init_libintl (void)
setlocale (LC_ALL, "");
#endif
(void) bindtextdomain ("gcc", LOCALEDIR);
(void) textdomain ("gcc");
(void) bindtextdomain (PACKAGE, LOCALEDIR);
(void) textdomain (PACKAGE);
/* Opening quotation mark. */
open_quote = _("`");