* Makefile.am (INCLUDES): Search intl dirs for headers; define
LOCALEDIR. * addr2line.c (main): Call setlocale, bindtextdomain, textdomain. * ar.c (main): Likewise. * coffdump.c (main): Likewise. * dlltool.c (main): Likewise. * nlmconv.c (main): Likewise. * nm.c (main): Likewise. * objcopy.c (main): Likewise. * objdump.c (main): Likewise. * size.c (main): Likewise. * srconv.c (main): Likewise. * strings.c (main): Likewise. * sysdump.c (main): Likewise. * windres.c (main): Likewise.
This commit is contained in:
parent
16a02269fc
commit
19ac4b08f0
|
@ -1,3 +1,21 @@
|
||||||
|
Wed Apr 22 00:33:56 1998 Tom Tromey <tromey@scribbles.cygnus.com>
|
||||||
|
|
||||||
|
* Makefile.am (INCLUDES): Search intl dirs for headers; define
|
||||||
|
LOCALEDIR.
|
||||||
|
* addr2line.c (main): Call setlocale, bindtextdomain, textdomain.
|
||||||
|
* ar.c (main): Likewise.
|
||||||
|
* coffdump.c (main): Likewise.
|
||||||
|
* dlltool.c (main): Likewise.
|
||||||
|
* nlmconv.c (main): Likewise.
|
||||||
|
* nm.c (main): Likewise.
|
||||||
|
* objcopy.c (main): Likewise.
|
||||||
|
* objdump.c (main): Likewise.
|
||||||
|
* size.c (main): Likewise.
|
||||||
|
* srconv.c (main): Likewise.
|
||||||
|
* strings.c (main): Likewise.
|
||||||
|
* sysdump.c (main): Likewise.
|
||||||
|
* windres.c (main): Likewise.
|
||||||
|
|
||||||
Tue Apr 21 22:13:08 1998 Tom Tromey <tromey@scribbles.cygnus.com>
|
Tue Apr 21 22:13:08 1998 Tom Tromey <tromey@scribbles.cygnus.com>
|
||||||
|
|
||||||
* Many files: Added gettext invocations around user-visible
|
* Many files: Added gettext invocations around user-visible
|
||||||
|
|
|
@ -1,5 +1,8 @@
|
||||||
## Process this file with automake to generate Makefile.in
|
## Process this file with automake to generate Makefile.in
|
||||||
|
|
||||||
|
## FIXME: Work around apparent bug in automake.
|
||||||
|
INTLLIBS = @INTLLIBS@
|
||||||
|
|
||||||
AUTOMAKE_OPTIONS = cygnus dejagnu
|
AUTOMAKE_OPTIONS = cygnus dejagnu
|
||||||
|
|
||||||
SUBDIRS = po
|
SUBDIRS = po
|
||||||
|
@ -64,7 +67,7 @@ INCDIR = $(BASEDIR)/include
|
||||||
|
|
||||||
DEP = mkdep
|
DEP = mkdep
|
||||||
|
|
||||||
INCLUDES = -D_GNU_SOURCE -I. -I$(srcdir) -I../bfd -I$(BFDDIR) -I$(INCDIR) @HDEFINES@
|
INCLUDES = -D_GNU_SOURCE -I. -I$(srcdir) -I../bfd -I$(BFDDIR) -I$(INCDIR) @HDEFINES@ -I$(srcdir)/../intl -I../intl -DLOCALEDIR="\"$(prefix)/share/locale\""
|
||||||
|
|
||||||
HFILES = arsup.h bucomm.h budbg.h coffgrok.h debug.h nlmconv.h dlltool.h \
|
HFILES = arsup.h bucomm.h budbg.h coffgrok.h debug.h nlmconv.h dlltool.h \
|
||||||
windres.h
|
windres.h
|
||||||
|
|
|
@ -77,6 +77,8 @@ NLMCONV_DEFS = @NLMCONV_DEFS@
|
||||||
RANLIB = @RANLIB@
|
RANLIB = @RANLIB@
|
||||||
UNDERSCORE = @UNDERSCORE@
|
UNDERSCORE = @UNDERSCORE@
|
||||||
|
|
||||||
|
INTLLIBS = @INTLLIBS@
|
||||||
|
|
||||||
AUTOMAKE_OPTIONS = cygnus dejagnu
|
AUTOMAKE_OPTIONS = cygnus dejagnu
|
||||||
|
|
||||||
SUBDIRS = po
|
SUBDIRS = po
|
||||||
|
@ -137,7 +139,7 @@ INCDIR = $(BASEDIR)/include
|
||||||
|
|
||||||
DEP = mkdep
|
DEP = mkdep
|
||||||
|
|
||||||
INCLUDES = -D_GNU_SOURCE -I. -I$(srcdir) -I../bfd -I$(BFDDIR) -I$(INCDIR) @HDEFINES@
|
INCLUDES = -D_GNU_SOURCE -I. -I$(srcdir) -I../bfd -I$(BFDDIR) -I$(INCDIR) @HDEFINES@ -I$(srcdir)/../intl -I../intl -DLOCALEDIR="\"$(prefix)/share/locale\""
|
||||||
|
|
||||||
HFILES = arsup.h bucomm.h budbg.h coffgrok.h debug.h nlmconv.h dlltool.h \
|
HFILES = arsup.h bucomm.h budbg.h coffgrok.h debug.h nlmconv.h dlltool.h \
|
||||||
windres.h
|
windres.h
|
||||||
|
|
|
@ -270,6 +270,10 @@ main (argc, argv)
|
||||||
char *target;
|
char *target;
|
||||||
int c;
|
int c;
|
||||||
|
|
||||||
|
setlocale (LC_MESSAGES, "");
|
||||||
|
bindtextdomain (PACKAGE, LOCALEDIR);
|
||||||
|
textdomain (PACKAGE);
|
||||||
|
|
||||||
program_name = *argv;
|
program_name = *argv;
|
||||||
xmalloc_set_program_name (program_name);
|
xmalloc_set_program_name (program_name);
|
||||||
|
|
||||||
|
|
|
@ -311,6 +311,10 @@ main (argc, argv)
|
||||||
char *inarch_filename;
|
char *inarch_filename;
|
||||||
int show_version;
|
int show_version;
|
||||||
|
|
||||||
|
setlocale (LC_MESSAGES, "");
|
||||||
|
bindtextdomain (PACKAGE, LOCALEDIR);
|
||||||
|
textdomain (PACKAGE);
|
||||||
|
|
||||||
program_name = argv[0];
|
program_name = argv[0];
|
||||||
xmalloc_set_program_name (program_name);
|
xmalloc_set_program_name (program_name);
|
||||||
|
|
||||||
|
|
|
@ -485,6 +485,10 @@ main (ac, av)
|
||||||
{ NULL, no_argument, 0, 0 }
|
{ NULL, no_argument, 0, 0 }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
setlocale (LC_MESSAGES, "");
|
||||||
|
bindtextdomain (PACKAGE, LOCALEDIR);
|
||||||
|
textdomain (PACKAGE);
|
||||||
|
|
||||||
program_name = av[0];
|
program_name = av[0];
|
||||||
xmalloc_set_program_name (program_name);
|
xmalloc_set_program_name (program_name);
|
||||||
|
|
||||||
|
|
|
@ -2304,6 +2304,10 @@ main (ac, av)
|
||||||
program_name = av[0];
|
program_name = av[0];
|
||||||
oav = av;
|
oav = av;
|
||||||
|
|
||||||
|
setlocale (LC_MESSAGES, "");
|
||||||
|
bindtextdomain (PACKAGE, LOCALEDIR);
|
||||||
|
textdomain (PACKAGE);
|
||||||
|
|
||||||
while ((c = getopt_long (ac, av, "xcz:S:R:A:puaD:l:e:nkvbUh?m:yd:", long_options, 0))
|
while ((c = getopt_long (ac, av, "xcz:S:R:A:puaD:l:e:nkvbUh?m:yd:", long_options, 0))
|
||||||
!= EOF)
|
!= EOF)
|
||||||
{
|
{
|
||||||
|
|
|
@ -210,6 +210,10 @@ main (argc, argv)
|
||||||
char *modname;
|
char *modname;
|
||||||
char **matching;
|
char **matching;
|
||||||
|
|
||||||
|
setlocale (LC_MESSAGES, "");
|
||||||
|
bindtextdomain (PACKAGE, LOCALEDIR);
|
||||||
|
textdomain (PACKAGE);
|
||||||
|
|
||||||
program_name = argv[0];
|
program_name = argv[0];
|
||||||
xmalloc_set_program_name (program_name);
|
xmalloc_set_program_name (program_name);
|
||||||
|
|
||||||
|
|
|
@ -372,6 +372,10 @@ main (argc, argv)
|
||||||
int c;
|
int c;
|
||||||
int retval;
|
int retval;
|
||||||
|
|
||||||
|
setlocale (LC_MESSAGES, "");
|
||||||
|
bindtextdomain (PACKAGE, LOCALEDIR);
|
||||||
|
textdomain (PACKAGE);
|
||||||
|
|
||||||
program_name = *argv;
|
program_name = *argv;
|
||||||
xmalloc_set_program_name (program_name);
|
xmalloc_set_program_name (program_name);
|
||||||
|
|
||||||
|
|
|
@ -2155,6 +2155,10 @@ main (argc, argv)
|
||||||
int argc;
|
int argc;
|
||||||
char *argv[];
|
char *argv[];
|
||||||
{
|
{
|
||||||
|
setlocale (LC_MESSAGES, "");
|
||||||
|
bindtextdomain (PACKAGE, LOCALEDIR);
|
||||||
|
textdomain (PACKAGE);
|
||||||
|
|
||||||
program_name = argv[0];
|
program_name = argv[0];
|
||||||
xmalloc_set_program_name (program_name);
|
xmalloc_set_program_name (program_name);
|
||||||
|
|
||||||
|
|
|
@ -2627,6 +2627,10 @@ main (argc, argv)
|
||||||
char *target = default_target;
|
char *target = default_target;
|
||||||
boolean seenflag = false;
|
boolean seenflag = false;
|
||||||
|
|
||||||
|
setlocale (LC_MESSAGES, "");
|
||||||
|
bindtextdomain (PACKAGE, LOCALEDIR);
|
||||||
|
textdomain (PACKAGE);
|
||||||
|
|
||||||
program_name = *argv;
|
program_name = *argv;
|
||||||
xmalloc_set_program_name (program_name);
|
xmalloc_set_program_name (program_name);
|
||||||
|
|
||||||
|
|
|
@ -107,6 +107,10 @@ main (argc, argv)
|
||||||
int temp;
|
int temp;
|
||||||
int c;
|
int c;
|
||||||
|
|
||||||
|
setlocale (LC_MESSAGES, "");
|
||||||
|
bindtextdomain (PACKAGE, LOCALEDIR);
|
||||||
|
textdomain (PACKAGE);
|
||||||
|
|
||||||
program_name = *argv;
|
program_name = *argv;
|
||||||
xmalloc_set_program_name (program_name);
|
xmalloc_set_program_name (program_name);
|
||||||
|
|
||||||
|
|
|
@ -1917,8 +1917,12 @@ main (ac, av)
|
||||||
};
|
};
|
||||||
char **matching;
|
char **matching;
|
||||||
char *input_file;
|
char *input_file;
|
||||||
|
|
||||||
char *output_file;
|
char *output_file;
|
||||||
|
|
||||||
|
setlocale (LC_MESSAGES, "");
|
||||||
|
bindtextdomain (PACKAGE, LOCALEDIR);
|
||||||
|
textdomain (PACKAGE);
|
||||||
|
|
||||||
program_name = av[0];
|
program_name = av[0];
|
||||||
xmalloc_set_program_name (program_name);
|
xmalloc_set_program_name (program_name);
|
||||||
|
|
||||||
|
|
|
@ -122,6 +122,10 @@ main (argc, argv)
|
||||||
int exit_status = 0;
|
int exit_status = 0;
|
||||||
boolean files_given = false;
|
boolean files_given = false;
|
||||||
|
|
||||||
|
setlocale (LC_MESSAGES, "");
|
||||||
|
bindtextdomain (PACKAGE, LOCALEDIR);
|
||||||
|
textdomain (PACKAGE);
|
||||||
|
|
||||||
program_name = argv[0];
|
program_name = argv[0];
|
||||||
xmalloc_set_program_name (program_name);
|
xmalloc_set_program_name (program_name);
|
||||||
string_min = -1;
|
string_min = -1;
|
||||||
|
|
|
@ -745,6 +745,10 @@ main (ac, av)
|
||||||
{NULL, no_argument, 0, 0}
|
{NULL, no_argument, 0, 0}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
setlocale (LC_MESSAGES, "");
|
||||||
|
bindtextdomain (PACKAGE, LOCALEDIR);
|
||||||
|
textdomain (PACKAGE);
|
||||||
|
|
||||||
program_name = av[0];
|
program_name = av[0];
|
||||||
xmalloc_set_program_name (program_name);
|
xmalloc_set_program_name (program_name);
|
||||||
|
|
||||||
|
|
|
@ -846,6 +846,10 @@ main (argc, argv)
|
||||||
int language;
|
int language;
|
||||||
struct res_directory *resources;
|
struct res_directory *resources;
|
||||||
|
|
||||||
|
setlocale (LC_MESSAGES, "");
|
||||||
|
bindtextdomain (PACKAGE, LOCALEDIR);
|
||||||
|
textdomain (PACKAGE);
|
||||||
|
|
||||||
program_name = argv[0];
|
program_name = argv[0];
|
||||||
xmalloc_set_program_name (program_name);
|
xmalloc_set_program_name (program_name);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue