diff options
author | Nick Alcock <nick.alcock@oracle.com> | 2020-07-30 17:43:12 +0100 |
---|---|---|
committer | Nick Alcock <nick.alcock@oracle.com> | 2020-08-27 13:14:10 +0100 |
commit | 987cf30ad80c7c13f713aa8e4ca3e1dbf08e9d63 (patch) | |
tree | ccae55789b8106b42c0dd97d9635e1caa8f5709c /libctf/configure.ac | |
parent | 514b4e191d5f46de8e142fe216e677a35fa9c4bb (diff) | |
download | gdb-987cf30ad80c7c13f713aa8e4ca3e1dbf08e9d63.zip gdb-987cf30ad80c7c13f713aa8e4ca3e1dbf08e9d63.tar.gz gdb-987cf30ad80c7c13f713aa8e4ca3e1dbf08e9d63.tar.bz2 |
libctf, binutils: initial work towards libctf gettextization
We gettextize under our package name, which we change to a more
reasonable 'libctf'. Our internationalization support is mostly
provided by ctf-intl.h, which is a copy of opcodes/opintl.h with
the non-gettext_noop N_() expansion debracketed to avoid pedantic
compiler warnings.
The libctf error strings returned by ctf_errmsg are marked up for
internationalization.
(We also adjust binutils's Makefile a tiny bit to allow for the
fact that libctf now uses functions from libintl.)
binutils/ChangeLog
2020-08-27 Nick Alcock <nick.alcock@oracle.com>
* Makefile.am (readelf_LDADD): Move $(LIBINTL) after $(LIBCTF_NOBFD).
* Makefile.in: Regenerated.
libctf/ChangeLog
2020-08-27 Nick Alcock <nick.alcock@oracle.com>
* configure.ac: Adjust package name to simply 'libctf': arbitrarily
declare this to be version 1.2.0.
* Makefile.am (AM_CPPFLAGS): Add @INCINTL@.
* Makefile.in: Regenerated.
* configure: Regenerated.
* ctf-intl.h: New file, lightly modified from opcodes/opintl.h.
* ctf-impl.h: Include it.
* ctf-error.r (_ctf_errlist_t): Mark strings as noop-translatable.
(ctf_errmsg): Actually translate them.
Diffstat (limited to 'libctf/configure.ac')
-rw-r--r-- | libctf/configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libctf/configure.ac b/libctf/configure.ac index f5ed973..575da46 100644 --- a/libctf/configure.ac +++ b/libctf/configure.ac @@ -19,7 +19,7 @@ dnl <http://www.gnu.org/licenses/>. dnl AC_PREREQ(2.64) -AC_INIT([libctf library], 1.2.0-pre) +AC_INIT([libctf], 1.2.0) AC_CONFIG_SRCDIR(ctf-impl.h) AC_CONFIG_MACRO_DIR(../config) AC_CONFIG_MACRO_DIR(../bfd) |