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:
parent
11abc112af
commit
c2c36d38e2
5 changed files with 19 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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
5
gcc/configure
vendored
|
@ -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,
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
|
|
@ -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 = _("`");
|
||||
|
|
Loading…
Add table
Reference in a new issue