* Many files: Added gettext invocations around user-visible
authorTom Tromey <tromey@redhat.com>
Wed, 22 Apr 1998 06:10:03 +0000 (06:10 +0000)
committerTom Tromey <tromey@redhat.com>
Wed, 22 Apr 1998 06:10:03 +0000 (06:10 +0000)
commit48401fcf8c8440e57ed0dbc2ade4828b9416090c
tree044bb8b9e142bd18f50bfb0311ea9e47736aafc7
parent9d04d6183d792349aaab84ecb1338b9445c0981b
* Many files: Added gettext invocations around user-visible
strings.
* acconfig.h (ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_STPCPY,
HAVE_LC_MESSAGES): Define.
* dep-in.sed: Added asintl.h.
* po/Make-in: New file.
* gasp.c (main): Call setlocale, bindtextdomain, and textdomain.
Include "asintl.h".
* read.c (Z_): Renamed from `_'.
* Makefile.am (SUBDIRS): Added po.
(POTFILES): new macro.
(po/POTFILES.in): New target.
($(OBJS)): Added asintl.h.
(HFILES): Likewise.
(INCLUDES): Added -DLOCALEDIR, -I$(top_srcdir)/../intl.
(as_new_LDADD): Added $(INTLLIBS).
(as_new_DEPENDENCIES): Added $(INTLDEPS).
(gasp_new_LDADD): Added $(INTLLIBS).
(gasp_new_DEPENDENCIES): New macro.
* configure, aclocal.m4: Rebuilt.
* configure.in: Call CY_GNU_GETTEXT.  Generate po/Makefile.in and
po/Makefile.
(ALL_LINGUAS): Define.
* macro.c: Include "asintl.h".
* as.c (main): Call setlocale, bindtextdomain, and textdomain.
* as.h: Include "asintl.h".
* config/tc-i386.c (ordinal_names): Removed.
(md_assemble): Changed error text to avoid ordinal_names.
(i386_operand): Likewise.
(reloc): Added as_bad to avoid i18n problems.
(tc_gen_reloc): Likewise.
* config/tc-arm.c (bad_args): Now a #define.
(bad_pc): Likewise.
* config/obj-vms.c (VMS_stab_parse): Changed type of
`long_const_msg'.
(global_symbol_directory): Unified strings to avoid i18n
problems.
* config/tc-m68k.c (get_reloc_code): Added some as_bad calls to
avoid i18n problems.
* config/tc-ns32k.c (reloc): Added as_bad to avoid i18n problems.
* config/tc-ppc.c (md_apply_fix3): Added as_bad_where to avoid
i18n problems.
* config/tc-sh.c (md_convert_frag): Added as_bad to avoid i18n
problems.
start-sanitize-v850
* config/tc-v850.c (md_assemble): Changed C++ comment into C
comment.
end-sanitize-v850
* config/tc-vax.c (md_assemble): Added as_warn to avoid i18n
problems.
* as.c (print_version_id): Added an fprintf to avoid i18n
problems.
* cond.c (cond_finish_check): Added as_bad call to avoid i18n
problems.
* expr.c (expr): Added as_warn call to avoid i18n problems.
* messages.c (as_assert): Changed code to avoid i18n problems.
(as_abort): Likewise.
* read.c (pseudo_set): Added as_bad call to avoid i18n problems.
(s_space): Likewise.
* po/Make-in, po/POTFILES.in, po/gas.pot: New files.
40 files changed:
gas/ChangeLog
gas/Makefile.am
gas/Makefile.in
gas/acconfig.h
gas/as.c
gas/asintl.h [new file with mode: 0644]
gas/cgen.c
gas/config/atof-tahoe.c
gas/config/obj-bout.c
gas/config/obj-coff.c
gas/config/obj-ieee.c
gas/config/obj-vms.c
gas/config/tc-a29k.c
gas/config/tc-alpha.c
gas/config/tc-arm.c
gas/config/tc-d30v.c
gas/config/tc-h8500.c
gas/config/tc-hppa.c
gas/config/tc-i386.c
gas/config/tc-i960.c
gas/config/tc-m32r.c
gas/config/tc-m68k.c
gas/config/tc-m88k.c
gas/config/tc-m88k.h
gas/config/tc-mips.c
gas/config/tc-ppc.c
gas/config/tc-sh.c
gas/config/tc-sparc.c
gas/config/tc-sparc.h
gas/config/tc-tahoe.c
gas/config/tc-tic80.c
gas/config/tc-v850.c
gas/config/tc-w65.c
gas/configure
gas/configure.in
gas/ecoff.c
gas/gasp.c
gas/po/Make-in [new file with mode: 0644]
gas/po/POTFILES.in [new file with mode: 0644]
gas/read.c